software.amazon.awssdk.services.opsworks.OpsWorksAsyncClient Maven / Gradle / Ivy
Show all versions of opsworks Show documentation
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package software.amazon.awssdk.services.opsworks;
import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.services.opsworks.model.AssignInstanceRequest;
import software.amazon.awssdk.services.opsworks.model.AssignInstanceResponse;
import software.amazon.awssdk.services.opsworks.model.AssignVolumeRequest;
import software.amazon.awssdk.services.opsworks.model.AssignVolumeResponse;
import software.amazon.awssdk.services.opsworks.model.AssociateElasticIpRequest;
import software.amazon.awssdk.services.opsworks.model.AssociateElasticIpResponse;
import software.amazon.awssdk.services.opsworks.model.AttachElasticLoadBalancerRequest;
import software.amazon.awssdk.services.opsworks.model.AttachElasticLoadBalancerResponse;
import software.amazon.awssdk.services.opsworks.model.CloneStackRequest;
import software.amazon.awssdk.services.opsworks.model.CloneStackResponse;
import software.amazon.awssdk.services.opsworks.model.CreateAppRequest;
import software.amazon.awssdk.services.opsworks.model.CreateAppResponse;
import software.amazon.awssdk.services.opsworks.model.CreateDeploymentRequest;
import software.amazon.awssdk.services.opsworks.model.CreateDeploymentResponse;
import software.amazon.awssdk.services.opsworks.model.CreateInstanceRequest;
import software.amazon.awssdk.services.opsworks.model.CreateInstanceResponse;
import software.amazon.awssdk.services.opsworks.model.CreateLayerRequest;
import software.amazon.awssdk.services.opsworks.model.CreateLayerResponse;
import software.amazon.awssdk.services.opsworks.model.CreateStackRequest;
import software.amazon.awssdk.services.opsworks.model.CreateStackResponse;
import software.amazon.awssdk.services.opsworks.model.CreateUserProfileRequest;
import software.amazon.awssdk.services.opsworks.model.CreateUserProfileResponse;
import software.amazon.awssdk.services.opsworks.model.DeleteAppRequest;
import software.amazon.awssdk.services.opsworks.model.DeleteAppResponse;
import software.amazon.awssdk.services.opsworks.model.DeleteInstanceRequest;
import software.amazon.awssdk.services.opsworks.model.DeleteInstanceResponse;
import software.amazon.awssdk.services.opsworks.model.DeleteLayerRequest;
import software.amazon.awssdk.services.opsworks.model.DeleteLayerResponse;
import software.amazon.awssdk.services.opsworks.model.DeleteStackRequest;
import software.amazon.awssdk.services.opsworks.model.DeleteStackResponse;
import software.amazon.awssdk.services.opsworks.model.DeleteUserProfileRequest;
import software.amazon.awssdk.services.opsworks.model.DeleteUserProfileResponse;
import software.amazon.awssdk.services.opsworks.model.DeregisterEcsClusterRequest;
import software.amazon.awssdk.services.opsworks.model.DeregisterEcsClusterResponse;
import software.amazon.awssdk.services.opsworks.model.DeregisterElasticIpRequest;
import software.amazon.awssdk.services.opsworks.model.DeregisterElasticIpResponse;
import software.amazon.awssdk.services.opsworks.model.DeregisterInstanceRequest;
import software.amazon.awssdk.services.opsworks.model.DeregisterInstanceResponse;
import software.amazon.awssdk.services.opsworks.model.DeregisterRdsDbInstanceRequest;
import software.amazon.awssdk.services.opsworks.model.DeregisterRdsDbInstanceResponse;
import software.amazon.awssdk.services.opsworks.model.DeregisterVolumeRequest;
import software.amazon.awssdk.services.opsworks.model.DeregisterVolumeResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeAgentVersionsRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeAgentVersionsResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeAppsRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeAppsResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeCommandsRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeCommandsResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeDeploymentsRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeDeploymentsResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeEcsClustersRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeEcsClustersResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeElasticIpsRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeElasticIpsResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeElasticLoadBalancersRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeElasticLoadBalancersResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeInstancesResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeLayersRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeLayersResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeLoadBasedAutoScalingRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeLoadBasedAutoScalingResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeMyUserProfileRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeMyUserProfileResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeOperatingSystemsRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeOperatingSystemsResponse;
import software.amazon.awssdk.services.opsworks.model.DescribePermissionsRequest;
import software.amazon.awssdk.services.opsworks.model.DescribePermissionsResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeRaidArraysRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeRaidArraysResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeRdsDbInstancesRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeRdsDbInstancesResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeServiceErrorsRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeServiceErrorsResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeStackProvisioningParametersRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeStackProvisioningParametersResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeStackSummaryRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeStackSummaryResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeStacksRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeStacksResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeTimeBasedAutoScalingRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeTimeBasedAutoScalingResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeUserProfilesRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeUserProfilesResponse;
import software.amazon.awssdk.services.opsworks.model.DescribeVolumesRequest;
import software.amazon.awssdk.services.opsworks.model.DescribeVolumesResponse;
import software.amazon.awssdk.services.opsworks.model.DetachElasticLoadBalancerRequest;
import software.amazon.awssdk.services.opsworks.model.DetachElasticLoadBalancerResponse;
import software.amazon.awssdk.services.opsworks.model.DisassociateElasticIpRequest;
import software.amazon.awssdk.services.opsworks.model.DisassociateElasticIpResponse;
import software.amazon.awssdk.services.opsworks.model.GetHostnameSuggestionRequest;
import software.amazon.awssdk.services.opsworks.model.GetHostnameSuggestionResponse;
import software.amazon.awssdk.services.opsworks.model.GrantAccessRequest;
import software.amazon.awssdk.services.opsworks.model.GrantAccessResponse;
import software.amazon.awssdk.services.opsworks.model.ListTagsRequest;
import software.amazon.awssdk.services.opsworks.model.ListTagsResponse;
import software.amazon.awssdk.services.opsworks.model.RebootInstanceRequest;
import software.amazon.awssdk.services.opsworks.model.RebootInstanceResponse;
import software.amazon.awssdk.services.opsworks.model.RegisterEcsClusterRequest;
import software.amazon.awssdk.services.opsworks.model.RegisterEcsClusterResponse;
import software.amazon.awssdk.services.opsworks.model.RegisterElasticIpRequest;
import software.amazon.awssdk.services.opsworks.model.RegisterElasticIpResponse;
import software.amazon.awssdk.services.opsworks.model.RegisterInstanceRequest;
import software.amazon.awssdk.services.opsworks.model.RegisterInstanceResponse;
import software.amazon.awssdk.services.opsworks.model.RegisterRdsDbInstanceRequest;
import software.amazon.awssdk.services.opsworks.model.RegisterRdsDbInstanceResponse;
import software.amazon.awssdk.services.opsworks.model.RegisterVolumeRequest;
import software.amazon.awssdk.services.opsworks.model.RegisterVolumeResponse;
import software.amazon.awssdk.services.opsworks.model.SetLoadBasedAutoScalingRequest;
import software.amazon.awssdk.services.opsworks.model.SetLoadBasedAutoScalingResponse;
import software.amazon.awssdk.services.opsworks.model.SetPermissionRequest;
import software.amazon.awssdk.services.opsworks.model.SetPermissionResponse;
import software.amazon.awssdk.services.opsworks.model.SetTimeBasedAutoScalingRequest;
import software.amazon.awssdk.services.opsworks.model.SetTimeBasedAutoScalingResponse;
import software.amazon.awssdk.services.opsworks.model.StartInstanceRequest;
import software.amazon.awssdk.services.opsworks.model.StartInstanceResponse;
import software.amazon.awssdk.services.opsworks.model.StartStackRequest;
import software.amazon.awssdk.services.opsworks.model.StartStackResponse;
import software.amazon.awssdk.services.opsworks.model.StopInstanceRequest;
import software.amazon.awssdk.services.opsworks.model.StopInstanceResponse;
import software.amazon.awssdk.services.opsworks.model.StopStackRequest;
import software.amazon.awssdk.services.opsworks.model.StopStackResponse;
import software.amazon.awssdk.services.opsworks.model.TagResourceRequest;
import software.amazon.awssdk.services.opsworks.model.TagResourceResponse;
import software.amazon.awssdk.services.opsworks.model.UnassignInstanceRequest;
import software.amazon.awssdk.services.opsworks.model.UnassignInstanceResponse;
import software.amazon.awssdk.services.opsworks.model.UnassignVolumeRequest;
import software.amazon.awssdk.services.opsworks.model.UnassignVolumeResponse;
import software.amazon.awssdk.services.opsworks.model.UntagResourceRequest;
import software.amazon.awssdk.services.opsworks.model.UntagResourceResponse;
import software.amazon.awssdk.services.opsworks.model.UpdateAppRequest;
import software.amazon.awssdk.services.opsworks.model.UpdateAppResponse;
import software.amazon.awssdk.services.opsworks.model.UpdateElasticIpRequest;
import software.amazon.awssdk.services.opsworks.model.UpdateElasticIpResponse;
import software.amazon.awssdk.services.opsworks.model.UpdateInstanceRequest;
import software.amazon.awssdk.services.opsworks.model.UpdateInstanceResponse;
import software.amazon.awssdk.services.opsworks.model.UpdateLayerRequest;
import software.amazon.awssdk.services.opsworks.model.UpdateLayerResponse;
import software.amazon.awssdk.services.opsworks.model.UpdateMyUserProfileRequest;
import software.amazon.awssdk.services.opsworks.model.UpdateMyUserProfileResponse;
import software.amazon.awssdk.services.opsworks.model.UpdateRdsDbInstanceRequest;
import software.amazon.awssdk.services.opsworks.model.UpdateRdsDbInstanceResponse;
import software.amazon.awssdk.services.opsworks.model.UpdateStackRequest;
import software.amazon.awssdk.services.opsworks.model.UpdateStackResponse;
import software.amazon.awssdk.services.opsworks.model.UpdateUserProfileRequest;
import software.amazon.awssdk.services.opsworks.model.UpdateUserProfileResponse;
import software.amazon.awssdk.services.opsworks.model.UpdateVolumeRequest;
import software.amazon.awssdk.services.opsworks.model.UpdateVolumeResponse;
import software.amazon.awssdk.services.opsworks.paginators.DescribeEcsClustersPublisher;
import software.amazon.awssdk.services.opsworks.waiters.OpsWorksAsyncWaiter;
/**
* Service client for accessing AWS OpsWorks asynchronously. This can be created using the static {@link #builder()}
* method.The asynchronous client performs non-blocking I/O when configured with any {@code SdkAsyncHttpClient}
* supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
* some cases such as credentials retrieval and endpoint discovery as part of the async API call.
*
* OpsWorks
*
* Welcome to the OpsWorks Stacks API Reference. This guide provides descriptions, syntax, and usage examples for
* OpsWorks Stacks actions and data types, including common parameters and error codes.
*
*
* OpsWorks Stacks is an application management service that provides an integrated experience for managing the complete
* application lifecycle. For information about OpsWorks, see the OpsWorks
* information page.
*
*
* SDKs and CLI
*
*
* Use the OpsWorks Stacks API by using the Command Line Interface (CLI) or by using one of the Amazon Web Services SDKs
* to implement applications in your preferred language. For more information, see:
*
*
* -
*
* CLI
*
*
* -
*
* SDK for Java
*
*
* -
*
* SDK for .NET
*
*
* -
*
* SDK for PHP
*
*
* -
*
* SDK for Ruby
*
*
* -
*
*
* -
*
*
*
*
* Endpoints
*
*
* OpsWorks Stacks supports the following endpoints, all HTTPS. You must connect to one of the following endpoints.
* Stacks can only be accessed or managed within the endpoint in which they are created.
*
*
* -
*
* opsworks.us-east-1.amazonaws.com
*
*
* -
*
* opsworks.us-east-2.amazonaws.com
*
*
* -
*
* opsworks.us-west-1.amazonaws.com
*
*
* -
*
* opsworks.us-west-2.amazonaws.com
*
*
* -
*
* opsworks.ca-central-1.amazonaws.com (API only; not available in the Amazon Web Services Management Console)
*
*
* -
*
* opsworks.eu-west-1.amazonaws.com
*
*
* -
*
* opsworks.eu-west-2.amazonaws.com
*
*
* -
*
* opsworks.eu-west-3.amazonaws.com
*
*
* -
*
* opsworks.eu-central-1.amazonaws.com
*
*
* -
*
* opsworks.ap-northeast-1.amazonaws.com
*
*
* -
*
* opsworks.ap-northeast-2.amazonaws.com
*
*
* -
*
* opsworks.ap-south-1.amazonaws.com
*
*
* -
*
* opsworks.ap-southeast-1.amazonaws.com
*
*
* -
*
* opsworks.ap-southeast-2.amazonaws.com
*
*
* -
*
* opsworks.sa-east-1.amazonaws.com
*
*
*
*
* Chef Versions
*
*
* When you call CreateStack, CloneStack, or UpdateStack we recommend you use the
* ConfigurationManager
parameter to specify the Chef version. The recommended and default value for Linux
* stacks is currently 12. Windows stacks use Chef 12.2. For more information, see Chef Versions.
*
*
*
* You can specify Chef 12, 11.10, or 11.4 for your Linux stack. We recommend migrating your existing Linux stacks to
* Chef 12 as soon as possible.
*
*
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface OpsWorksAsyncClient extends AwsClient {
String SERVICE_NAME = "opsworks";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "opsworks";
/**
*
* Assign a registered instance to a layer.
*
*
* -
*
* You can assign registered on-premises instances to any layer type.
*
*
* -
*
* You can assign registered Amazon EC2 instances only to custom layers.
*
*
* -
*
* You cannot use this action with instances that were created with OpsWorks Stacks.
*
*
*
*
* Required Permissions: To use this action, an Identity and Access Management (IAM) user must have a Manage
* permissions level for the stack or an attached policy that explicitly grants permissions. For more information on
* user permissions, see Managing User
* Permissions.
*
*
* @param assignInstanceRequest
* @return A Java Future containing the result of the AssignInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.AssignInstance
* @see AWS API
* Documentation
*/
default CompletableFuture assignInstance(AssignInstanceRequest assignInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Assign a registered instance to a layer.
*
*
* -
*
* You can assign registered on-premises instances to any layer type.
*
*
* -
*
* You can assign registered Amazon EC2 instances only to custom layers.
*
*
* -
*
* You cannot use this action with instances that were created with OpsWorks Stacks.
*
*
*
*
* Required Permissions: To use this action, an Identity and Access Management (IAM) user must have a Manage
* permissions level for the stack or an attached policy that explicitly grants permissions. For more information on
* user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link AssignInstanceRequest.Builder} avoiding the need to
* create one manually via {@link AssignInstanceRequest#builder()}
*
*
* @param assignInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.AssignInstanceRequest.Builder} to create a request.
* @return A Java Future containing the result of the AssignInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.AssignInstance
* @see AWS API
* Documentation
*/
default CompletableFuture assignInstance(Consumer assignInstanceRequest) {
return assignInstance(AssignInstanceRequest.builder().applyMutation(assignInstanceRequest).build());
}
/**
*
* Assigns one of the stack's registered Amazon EBS volumes to a specified instance. The volume must first be
* registered with the stack by calling RegisterVolume. After you register the volume, you must call
* UpdateVolume to specify a mount point before calling AssignVolume
. For more information, see
* Resource Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param assignVolumeRequest
* @return A Java Future containing the result of the AssignVolume operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.AssignVolume
* @see AWS API
* Documentation
*/
default CompletableFuture assignVolume(AssignVolumeRequest assignVolumeRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Assigns one of the stack's registered Amazon EBS volumes to a specified instance. The volume must first be
* registered with the stack by calling RegisterVolume. After you register the volume, you must call
* UpdateVolume to specify a mount point before calling AssignVolume
. For more information, see
* Resource Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link AssignVolumeRequest.Builder} avoiding the need to
* create one manually via {@link AssignVolumeRequest#builder()}
*
*
* @param assignVolumeRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.AssignVolumeRequest.Builder} to create a request.
* @return A Java Future containing the result of the AssignVolume operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.AssignVolume
* @see AWS API
* Documentation
*/
default CompletableFuture assignVolume(Consumer assignVolumeRequest) {
return assignVolume(AssignVolumeRequest.builder().applyMutation(assignVolumeRequest).build());
}
/**
*
* Associates one of the stack's registered Elastic IP addresses with a specified instance. The address must first
* be registered with the stack by calling RegisterElasticIp. For more information, see Resource Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param associateElasticIpRequest
* @return A Java Future containing the result of the AssociateElasticIp operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.AssociateElasticIp
* @see AWS
* API Documentation
*/
default CompletableFuture associateElasticIp(AssociateElasticIpRequest associateElasticIpRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Associates one of the stack's registered Elastic IP addresses with a specified instance. The address must first
* be registered with the stack by calling RegisterElasticIp. For more information, see Resource Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link AssociateElasticIpRequest.Builder} avoiding the
* need to create one manually via {@link AssociateElasticIpRequest#builder()}
*
*
* @param associateElasticIpRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.AssociateElasticIpRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the AssociateElasticIp operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.AssociateElasticIp
* @see AWS
* API Documentation
*/
default CompletableFuture associateElasticIp(
Consumer associateElasticIpRequest) {
return associateElasticIp(AssociateElasticIpRequest.builder().applyMutation(associateElasticIpRequest).build());
}
/**
*
* Attaches an Elastic Load Balancing load balancer to a specified layer. OpsWorks Stacks does not support
* Application Load Balancer. You can only use Classic Load Balancer with OpsWorks Stacks. For more information, see
* Elastic Load Balancing.
*
*
*
* You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API,
* or CLI. For more information, see the Elastic Load Balancing
* Developer Guide.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param attachElasticLoadBalancerRequest
* @return A Java Future containing the result of the AttachElasticLoadBalancer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.AttachElasticLoadBalancer
* @see AWS API Documentation
*/
default CompletableFuture attachElasticLoadBalancer(
AttachElasticLoadBalancerRequest attachElasticLoadBalancerRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Attaches an Elastic Load Balancing load balancer to a specified layer. OpsWorks Stacks does not support
* Application Load Balancer. You can only use Classic Load Balancer with OpsWorks Stacks. For more information, see
* Elastic Load Balancing.
*
*
*
* You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API,
* or CLI. For more information, see the Elastic Load Balancing
* Developer Guide.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link AttachElasticLoadBalancerRequest.Builder} avoiding
* the need to create one manually via {@link AttachElasticLoadBalancerRequest#builder()}
*
*
* @param attachElasticLoadBalancerRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.AttachElasticLoadBalancerRequest.Builder} to create
* a request.
* @return A Java Future containing the result of the AttachElasticLoadBalancer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.AttachElasticLoadBalancer
* @see AWS API Documentation
*/
default CompletableFuture attachElasticLoadBalancer(
Consumer attachElasticLoadBalancerRequest) {
return attachElasticLoadBalancer(AttachElasticLoadBalancerRequest.builder()
.applyMutation(attachElasticLoadBalancerRequest).build());
}
/**
*
* Creates a clone of a specified stack. For more information, see Clone a Stack. By
* default, all parameters are set to the values used by the parent stack.
*
*
* Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants
* permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
* @param cloneStackRequest
* @return A Java Future containing the result of the CloneStack operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.CloneStack
* @see AWS API
* Documentation
*/
default CompletableFuture cloneStack(CloneStackRequest cloneStackRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a clone of a specified stack. For more information, see Clone a Stack. By
* default, all parameters are set to the values used by the parent stack.
*
*
* Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants
* permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link CloneStackRequest.Builder} avoiding the need to
* create one manually via {@link CloneStackRequest#builder()}
*
*
* @param cloneStackRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.CloneStackRequest.Builder} to create a request.
* @return A Java Future containing the result of the CloneStack operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.CloneStack
* @see AWS API
* Documentation
*/
default CompletableFuture cloneStack(Consumer cloneStackRequest) {
return cloneStack(CloneStackRequest.builder().applyMutation(cloneStackRequest).build());
}
/**
*
* Creates an app for a specified stack. For more information, see Creating Apps.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param createAppRequest
* @return A Java Future containing the result of the CreateApp operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.CreateApp
* @see AWS API
* Documentation
*/
default CompletableFuture createApp(CreateAppRequest createAppRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates an app for a specified stack. For more information, see Creating Apps.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link CreateAppRequest.Builder} avoiding the need to
* create one manually via {@link CreateAppRequest#builder()}
*
*
* @param createAppRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.CreateAppRequest.Builder} to create a request.
* @return A Java Future containing the result of the CreateApp operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.CreateApp
* @see AWS API
* Documentation
*/
default CompletableFuture createApp(Consumer createAppRequest) {
return createApp(CreateAppRequest.builder().applyMutation(createAppRequest).build());
}
/**
*
* Runs deployment or stack commands. For more information, see Deploying Apps and Run Stack Commands.
*
*
* Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for
* the stack, or an attached policy that explicitly grants permissions. For more information on user permissions,
* see Managing User
* Permissions.
*
*
* @param createDeploymentRequest
* @return A Java Future containing the result of the CreateDeployment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.CreateDeployment
* @see AWS API
* Documentation
*/
default CompletableFuture createDeployment(CreateDeploymentRequest createDeploymentRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Runs deployment or stack commands. For more information, see Deploying Apps and Run Stack Commands.
*
*
* Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for
* the stack, or an attached policy that explicitly grants permissions. For more information on user permissions,
* see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link CreateDeploymentRequest.Builder} avoiding the need
* to create one manually via {@link CreateDeploymentRequest#builder()}
*
*
* @param createDeploymentRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.CreateDeploymentRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the CreateDeployment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.CreateDeployment
* @see AWS API
* Documentation
*/
default CompletableFuture createDeployment(
Consumer createDeploymentRequest) {
return createDeployment(CreateDeploymentRequest.builder().applyMutation(createDeploymentRequest).build());
}
/**
*
* Creates an instance in a specified stack. For more information, see Adding an Instance to a
* Layer.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param createInstanceRequest
* @return A Java Future containing the result of the CreateInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.CreateInstance
* @see AWS API
* Documentation
*/
default CompletableFuture createInstance(CreateInstanceRequest createInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates an instance in a specified stack. For more information, see Adding an Instance to a
* Layer.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link CreateInstanceRequest.Builder} avoiding the need to
* create one manually via {@link CreateInstanceRequest#builder()}
*
*
* @param createInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.CreateInstanceRequest.Builder} to create a request.
* @return A Java Future containing the result of the CreateInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.CreateInstance
* @see AWS API
* Documentation
*/
default CompletableFuture createInstance(Consumer createInstanceRequest) {
return createInstance(CreateInstanceRequest.builder().applyMutation(createInstanceRequest).build());
}
/**
*
* Creates a layer. For more information, see How to Create a
* Layer.
*
*
*
* You should use CreateLayer for noncustom layer types such as PHP App Server only if the stack does not
* have an existing layer of that type. A stack can have at most one instance of each noncustom layer; if you
* attempt to create a second instance, CreateLayer fails. A stack can have an arbitrary number of custom
* layers, so you can call CreateLayer as many times as you like for that layer type.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param createLayerRequest
* @return A Java Future containing the result of the CreateLayer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.CreateLayer
* @see AWS API
* Documentation
*/
default CompletableFuture createLayer(CreateLayerRequest createLayerRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a layer. For more information, see How to Create a
* Layer.
*
*
*
* You should use CreateLayer for noncustom layer types such as PHP App Server only if the stack does not
* have an existing layer of that type. A stack can have at most one instance of each noncustom layer; if you
* attempt to create a second instance, CreateLayer fails. A stack can have an arbitrary number of custom
* layers, so you can call CreateLayer as many times as you like for that layer type.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link CreateLayerRequest.Builder} avoiding the need to
* create one manually via {@link CreateLayerRequest#builder()}
*
*
* @param createLayerRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.CreateLayerRequest.Builder} to create a request.
* @return A Java Future containing the result of the CreateLayer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.CreateLayer
* @see AWS API
* Documentation
*/
default CompletableFuture createLayer(Consumer createLayerRequest) {
return createLayer(CreateLayerRequest.builder().applyMutation(createLayerRequest).build());
}
/**
*
* Creates a new stack. For more information, see Create a New Stack.
*
*
* Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants
* permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
* @param createStackRequest
* @return A Java Future containing the result of the CreateStack operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.CreateStack
* @see AWS API
* Documentation
*/
default CompletableFuture createStack(CreateStackRequest createStackRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new stack. For more information, see Create a New Stack.
*
*
* Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants
* permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link CreateStackRequest.Builder} avoiding the need to
* create one manually via {@link CreateStackRequest#builder()}
*
*
* @param createStackRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.CreateStackRequest.Builder} to create a request.
* @return A Java Future containing the result of the CreateStack operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.CreateStack
* @see AWS API
* Documentation
*/
default CompletableFuture createStack(Consumer createStackRequest) {
return createStack(CreateStackRequest.builder().applyMutation(createStackRequest).build());
}
/**
*
* Creates a new user profile.
*
*
* Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants
* permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
* @param createUserProfileRequest
* @return A Java Future containing the result of the CreateUserProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.CreateUserProfile
* @see AWS
* API Documentation
*/
default CompletableFuture createUserProfile(CreateUserProfileRequest createUserProfileRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new user profile.
*
*
* Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants
* permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link CreateUserProfileRequest.Builder} avoiding the need
* to create one manually via {@link CreateUserProfileRequest#builder()}
*
*
* @param createUserProfileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.CreateUserProfileRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the CreateUserProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.CreateUserProfile
* @see AWS
* API Documentation
*/
default CompletableFuture createUserProfile(
Consumer createUserProfileRequest) {
return createUserProfile(CreateUserProfileRequest.builder().applyMutation(createUserProfileRequest).build());
}
/**
*
* Deletes a specified app.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param deleteAppRequest
* @return A Java Future containing the result of the DeleteApp operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeleteApp
* @see AWS API
* Documentation
*/
default CompletableFuture deleteApp(DeleteAppRequest deleteAppRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a specified app.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteAppRequest.Builder} avoiding the need to
* create one manually via {@link DeleteAppRequest#builder()}
*
*
* @param deleteAppRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DeleteAppRequest.Builder} to create a request.
* @return A Java Future containing the result of the DeleteApp operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeleteApp
* @see AWS API
* Documentation
*/
default CompletableFuture deleteApp(Consumer deleteAppRequest) {
return deleteApp(DeleteAppRequest.builder().applyMutation(deleteAppRequest).build());
}
/**
*
* Deletes a specified instance, which terminates the associated Amazon EC2 instance. You must stop an instance
* before you can delete it.
*
*
* For more information, see Deleting Instances.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param deleteInstanceRequest
* @return A Java Future containing the result of the DeleteInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeleteInstance
* @see AWS API
* Documentation
*/
default CompletableFuture deleteInstance(DeleteInstanceRequest deleteInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a specified instance, which terminates the associated Amazon EC2 instance. You must stop an instance
* before you can delete it.
*
*
* For more information, see Deleting Instances.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteInstanceRequest.Builder} avoiding the need to
* create one manually via {@link DeleteInstanceRequest#builder()}
*
*
* @param deleteInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DeleteInstanceRequest.Builder} to create a request.
* @return A Java Future containing the result of the DeleteInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeleteInstance
* @see AWS API
* Documentation
*/
default CompletableFuture deleteInstance(Consumer deleteInstanceRequest) {
return deleteInstance(DeleteInstanceRequest.builder().applyMutation(deleteInstanceRequest).build());
}
/**
*
* Deletes a specified layer. You must first stop and then delete all associated instances or unassign registered
* instances. For more information, see How to Delete a
* Layer.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param deleteLayerRequest
* @return A Java Future containing the result of the DeleteLayer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeleteLayer
* @see AWS API
* Documentation
*/
default CompletableFuture deleteLayer(DeleteLayerRequest deleteLayerRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a specified layer. You must first stop and then delete all associated instances or unassign registered
* instances. For more information, see How to Delete a
* Layer.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteLayerRequest.Builder} avoiding the need to
* create one manually via {@link DeleteLayerRequest#builder()}
*
*
* @param deleteLayerRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DeleteLayerRequest.Builder} to create a request.
* @return A Java Future containing the result of the DeleteLayer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeleteLayer
* @see AWS API
* Documentation
*/
default CompletableFuture deleteLayer(Consumer deleteLayerRequest) {
return deleteLayer(DeleteLayerRequest.builder().applyMutation(deleteLayerRequest).build());
}
/**
*
* Deletes a specified stack. You must first delete all instances, layers, and apps or deregister registered
* instances. For more information, see Shut Down a Stack.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param deleteStackRequest
* @return A Java Future containing the result of the DeleteStack operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeleteStack
* @see AWS API
* Documentation
*/
default CompletableFuture deleteStack(DeleteStackRequest deleteStackRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a specified stack. You must first delete all instances, layers, and apps or deregister registered
* instances. For more information, see Shut Down a Stack.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteStackRequest.Builder} avoiding the need to
* create one manually via {@link DeleteStackRequest#builder()}
*
*
* @param deleteStackRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DeleteStackRequest.Builder} to create a request.
* @return A Java Future containing the result of the DeleteStack operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeleteStack
* @see AWS API
* Documentation
*/
default CompletableFuture deleteStack(Consumer deleteStackRequest) {
return deleteStack(DeleteStackRequest.builder().applyMutation(deleteStackRequest).build());
}
/**
*
* Deletes a user profile.
*
*
* Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants
* permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
* @param deleteUserProfileRequest
* @return A Java Future containing the result of the DeleteUserProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeleteUserProfile
* @see AWS
* API Documentation
*/
default CompletableFuture deleteUserProfile(DeleteUserProfileRequest deleteUserProfileRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a user profile.
*
*
* Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants
* permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteUserProfileRequest.Builder} avoiding the need
* to create one manually via {@link DeleteUserProfileRequest#builder()}
*
*
* @param deleteUserProfileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DeleteUserProfileRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DeleteUserProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeleteUserProfile
* @see AWS
* API Documentation
*/
default CompletableFuture deleteUserProfile(
Consumer deleteUserProfileRequest) {
return deleteUserProfile(DeleteUserProfileRequest.builder().applyMutation(deleteUserProfileRequest).build());
}
/**
*
* Deregisters a specified Amazon ECS cluster from a stack. For more information, see Resource Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack
* or an attached policy that explicitly grants permissions. For more information on user permissions, see https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html.
*
*
* @param deregisterEcsClusterRequest
* @return A Java Future containing the result of the DeregisterEcsCluster operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeregisterEcsCluster
* @see AWS
* API Documentation
*/
default CompletableFuture deregisterEcsCluster(
DeregisterEcsClusterRequest deregisterEcsClusterRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deregisters a specified Amazon ECS cluster from a stack. For more information, see Resource Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack
* or an attached policy that explicitly grants permissions. For more information on user permissions, see https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html.
*
*
*
* This is a convenience which creates an instance of the {@link DeregisterEcsClusterRequest.Builder} avoiding the
* need to create one manually via {@link DeregisterEcsClusterRequest#builder()}
*
*
* @param deregisterEcsClusterRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DeregisterEcsClusterRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DeregisterEcsCluster operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeregisterEcsCluster
* @see AWS
* API Documentation
*/
default CompletableFuture deregisterEcsCluster(
Consumer deregisterEcsClusterRequest) {
return deregisterEcsCluster(DeregisterEcsClusterRequest.builder().applyMutation(deregisterEcsClusterRequest).build());
}
/**
*
* Deregisters a specified Elastic IP address. The address can be registered by another stack after it is
* deregistered. For more information, see Resource Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param deregisterElasticIpRequest
* @return A Java Future containing the result of the DeregisterElasticIp operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeregisterElasticIp
* @see AWS
* API Documentation
*/
default CompletableFuture deregisterElasticIp(
DeregisterElasticIpRequest deregisterElasticIpRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deregisters a specified Elastic IP address. The address can be registered by another stack after it is
* deregistered. For more information, see Resource Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DeregisterElasticIpRequest.Builder} avoiding the
* need to create one manually via {@link DeregisterElasticIpRequest#builder()}
*
*
* @param deregisterElasticIpRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DeregisterElasticIpRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DeregisterElasticIp operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeregisterElasticIp
* @see AWS
* API Documentation
*/
default CompletableFuture deregisterElasticIp(
Consumer deregisterElasticIpRequest) {
return deregisterElasticIp(DeregisterElasticIpRequest.builder().applyMutation(deregisterElasticIpRequest).build());
}
/**
*
* Deregister an instance from OpsWorks Stacks. The instance can be a registered instance (Amazon EC2 or
* on-premises) or an instance created with OpsWorks. This action removes the instance from the stack and returns it
* to your control.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param deregisterInstanceRequest
* @return A Java Future containing the result of the DeregisterInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeregisterInstance
* @see AWS
* API Documentation
*/
default CompletableFuture deregisterInstance(DeregisterInstanceRequest deregisterInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deregister an instance from OpsWorks Stacks. The instance can be a registered instance (Amazon EC2 or
* on-premises) or an instance created with OpsWorks. This action removes the instance from the stack and returns it
* to your control.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DeregisterInstanceRequest.Builder} avoiding the
* need to create one manually via {@link DeregisterInstanceRequest#builder()}
*
*
* @param deregisterInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DeregisterInstanceRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DeregisterInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeregisterInstance
* @see AWS
* API Documentation
*/
default CompletableFuture deregisterInstance(
Consumer deregisterInstanceRequest) {
return deregisterInstance(DeregisterInstanceRequest.builder().applyMutation(deregisterInstanceRequest).build());
}
/**
*
* Deregisters an Amazon RDS instance.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param deregisterRdsDbInstanceRequest
* @return A Java Future containing the result of the DeregisterRdsDbInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeregisterRdsDbInstance
* @see AWS API Documentation
*/
default CompletableFuture deregisterRdsDbInstance(
DeregisterRdsDbInstanceRequest deregisterRdsDbInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deregisters an Amazon RDS instance.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DeregisterRdsDbInstanceRequest.Builder} avoiding
* the need to create one manually via {@link DeregisterRdsDbInstanceRequest#builder()}
*
*
* @param deregisterRdsDbInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DeregisterRdsDbInstanceRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DeregisterRdsDbInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeregisterRdsDbInstance
* @see AWS API Documentation
*/
default CompletableFuture deregisterRdsDbInstance(
Consumer deregisterRdsDbInstanceRequest) {
return deregisterRdsDbInstance(DeregisterRdsDbInstanceRequest.builder().applyMutation(deregisterRdsDbInstanceRequest)
.build());
}
/**
*
* Deregisters an Amazon EBS volume. The volume can then be registered by another stack. For more information, see
* Resource Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param deregisterVolumeRequest
* @return A Java Future containing the result of the DeregisterVolume operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeregisterVolume
* @see AWS API
* Documentation
*/
default CompletableFuture deregisterVolume(DeregisterVolumeRequest deregisterVolumeRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deregisters an Amazon EBS volume. The volume can then be registered by another stack. For more information, see
* Resource Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DeregisterVolumeRequest.Builder} avoiding the need
* to create one manually via {@link DeregisterVolumeRequest#builder()}
*
*
* @param deregisterVolumeRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DeregisterVolumeRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DeregisterVolume operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DeregisterVolume
* @see AWS API
* Documentation
*/
default CompletableFuture deregisterVolume(
Consumer deregisterVolumeRequest) {
return deregisterVolume(DeregisterVolumeRequest.builder().applyMutation(deregisterVolumeRequest).build());
}
/**
*
* Describes the available OpsWorks Stacks agent versions. You must specify a stack ID or a configuration manager.
* DescribeAgentVersions
returns a list of available agent versions for the specified stack or
* configuration manager.
*
*
* @param describeAgentVersionsRequest
* @return A Java Future containing the result of the DescribeAgentVersions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeAgentVersions
* @see AWS API Documentation
*/
default CompletableFuture describeAgentVersions(
DescribeAgentVersionsRequest describeAgentVersionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Describes the available OpsWorks Stacks agent versions. You must specify a stack ID or a configuration manager.
* DescribeAgentVersions
returns a list of available agent versions for the specified stack or
* configuration manager.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeAgentVersionsRequest.Builder} avoiding the
* need to create one manually via {@link DescribeAgentVersionsRequest#builder()}
*
*
* @param describeAgentVersionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeAgentVersionsRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DescribeAgentVersions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeAgentVersions
* @see AWS API Documentation
*/
default CompletableFuture describeAgentVersions(
Consumer describeAgentVersionsRequest) {
return describeAgentVersions(DescribeAgentVersionsRequest.builder().applyMutation(describeAgentVersionsRequest).build());
}
/**
*
* Requests a description of a specified set of apps.
*
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* @param describeAppsRequest
* @return A Java Future containing the result of the DescribeApps operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeApps
* @see AWS API
* Documentation
*/
default CompletableFuture describeApps(DescribeAppsRequest describeAppsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Requests a description of a specified set of apps.
*
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeAppsRequest.Builder} avoiding the need to
* create one manually via {@link DescribeAppsRequest#builder()}
*
*
* @param describeAppsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeAppsRequest.Builder} to create a request.
* @return A Java Future containing the result of the DescribeApps operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeApps
* @see AWS API
* Documentation
*/
default CompletableFuture describeApps(Consumer describeAppsRequest) {
return describeApps(DescribeAppsRequest.builder().applyMutation(describeAppsRequest).build());
}
/**
*
* Describes the results of specified commands.
*
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* @param describeCommandsRequest
* @return A Java Future containing the result of the DescribeCommands operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeCommands
* @see AWS API
* Documentation
*/
default CompletableFuture describeCommands(DescribeCommandsRequest describeCommandsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Describes the results of specified commands.
*
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeCommandsRequest.Builder} avoiding the need
* to create one manually via {@link DescribeCommandsRequest#builder()}
*
*
* @param describeCommandsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeCommandsRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DescribeCommands operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeCommands
* @see AWS API
* Documentation
*/
default CompletableFuture describeCommands(
Consumer describeCommandsRequest) {
return describeCommands(DescribeCommandsRequest.builder().applyMutation(describeCommandsRequest).build());
}
/**
*
* Requests a description of a specified set of deployments.
*
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* @param describeDeploymentsRequest
* @return A Java Future containing the result of the DescribeDeployments operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeDeployments
* @see AWS
* API Documentation
*/
default CompletableFuture describeDeployments(
DescribeDeploymentsRequest describeDeploymentsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Requests a description of a specified set of deployments.
*
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDeploymentsRequest.Builder} avoiding the
* need to create one manually via {@link DescribeDeploymentsRequest#builder()}
*
*
* @param describeDeploymentsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeDeploymentsRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DescribeDeployments operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeDeployments
* @see AWS
* API Documentation
*/
default CompletableFuture describeDeployments(
Consumer describeDeploymentsRequest) {
return describeDeployments(DescribeDeploymentsRequest.builder().applyMutation(describeDeploymentsRequest).build());
}
/**
*
* Describes Amazon ECS clusters that are registered with a stack. If you specify only a stack ID, you can use the
* MaxResults
and NextToken
parameters to paginate the response. However, OpsWorks Stacks
* currently supports only one cluster per layer, so the result set has a maximum of one element.
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack or an attached policy that explicitly grants permission. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* This call accepts only one resource-identifying parameter.
*
*
* @param describeEcsClustersRequest
* @return A Java Future containing the result of the DescribeEcsClusters operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeEcsClusters
* @see AWS
* API Documentation
*/
default CompletableFuture describeEcsClusters(
DescribeEcsClustersRequest describeEcsClustersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Describes Amazon ECS clusters that are registered with a stack. If you specify only a stack ID, you can use the
* MaxResults
and NextToken
parameters to paginate the response. However, OpsWorks Stacks
* currently supports only one cluster per layer, so the result set has a maximum of one element.
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack or an attached policy that explicitly grants permission. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeEcsClustersRequest.Builder} avoiding the
* need to create one manually via {@link DescribeEcsClustersRequest#builder()}
*
*
* @param describeEcsClustersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeEcsClustersRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DescribeEcsClusters operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeEcsClusters
* @see AWS
* API Documentation
*/
default CompletableFuture describeEcsClusters(
Consumer describeEcsClustersRequest) {
return describeEcsClusters(DescribeEcsClustersRequest.builder().applyMutation(describeEcsClustersRequest).build());
}
/**
*
* This is a variant of
* {@link #describeEcsClusters(software.amazon.awssdk.services.opsworks.model.DescribeEcsClustersRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.opsworks.paginators.DescribeEcsClustersPublisher publisher = client.describeEcsClustersPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.opsworks.paginators.DescribeEcsClustersPublisher publisher = client.describeEcsClustersPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.opsworks.model.DescribeEcsClustersResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeEcsClusters(software.amazon.awssdk.services.opsworks.model.DescribeEcsClustersRequest)}
* operation.
*
*
* @param describeEcsClustersRequest
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeEcsClusters
* @see AWS
* API Documentation
*/
default DescribeEcsClustersPublisher describeEcsClustersPaginator(DescribeEcsClustersRequest describeEcsClustersRequest) {
return new DescribeEcsClustersPublisher(this, describeEcsClustersRequest);
}
/**
*
* This is a variant of
* {@link #describeEcsClusters(software.amazon.awssdk.services.opsworks.model.DescribeEcsClustersRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.opsworks.paginators.DescribeEcsClustersPublisher publisher = client.describeEcsClustersPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.opsworks.paginators.DescribeEcsClustersPublisher publisher = client.describeEcsClustersPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.opsworks.model.DescribeEcsClustersResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeEcsClusters(software.amazon.awssdk.services.opsworks.model.DescribeEcsClustersRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeEcsClustersRequest.Builder} avoiding the
* need to create one manually via {@link DescribeEcsClustersRequest#builder()}
*
*
* @param describeEcsClustersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeEcsClustersRequest.Builder} to create a
* request.
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeEcsClusters
* @see AWS
* API Documentation
*/
default DescribeEcsClustersPublisher describeEcsClustersPaginator(
Consumer describeEcsClustersRequest) {
return describeEcsClustersPaginator(DescribeEcsClustersRequest.builder().applyMutation(describeEcsClustersRequest)
.build());
}
/**
*
* Describes Elastic IP
* addresses.
*
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* @param describeElasticIpsRequest
* @return A Java Future containing the result of the DescribeElasticIps operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeElasticIps
* @see AWS
* API Documentation
*/
default CompletableFuture describeElasticIps(DescribeElasticIpsRequest describeElasticIpsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Describes Elastic IP
* addresses.
*
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeElasticIpsRequest.Builder} avoiding the
* need to create one manually via {@link DescribeElasticIpsRequest#builder()}
*
*
* @param describeElasticIpsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeElasticIpsRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DescribeElasticIps operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeElasticIps
* @see AWS
* API Documentation
*/
default CompletableFuture describeElasticIps(
Consumer describeElasticIpsRequest) {
return describeElasticIps(DescribeElasticIpsRequest.builder().applyMutation(describeElasticIpsRequest).build());
}
/**
*
* Describes a stack's Elastic Load Balancing instances.
*
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* @param describeElasticLoadBalancersRequest
* @return A Java Future containing the result of the DescribeElasticLoadBalancers operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeElasticLoadBalancers
* @see AWS API Documentation
*/
default CompletableFuture describeElasticLoadBalancers(
DescribeElasticLoadBalancersRequest describeElasticLoadBalancersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Describes a stack's Elastic Load Balancing instances.
*
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeElasticLoadBalancersRequest.Builder}
* avoiding the need to create one manually via {@link DescribeElasticLoadBalancersRequest#builder()}
*
*
* @param describeElasticLoadBalancersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeElasticLoadBalancersRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the DescribeElasticLoadBalancers operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeElasticLoadBalancers
* @see AWS API Documentation
*/
default CompletableFuture describeElasticLoadBalancers(
Consumer describeElasticLoadBalancersRequest) {
return describeElasticLoadBalancers(DescribeElasticLoadBalancersRequest.builder()
.applyMutation(describeElasticLoadBalancersRequest).build());
}
/**
*
* Requests a description of a set of instances.
*
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* @param describeInstancesRequest
* @return A Java Future containing the result of the DescribeInstances operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeInstances
* @see AWS
* API Documentation
*/
default CompletableFuture describeInstances(DescribeInstancesRequest describeInstancesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Requests a description of a set of instances.
*
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeInstancesRequest.Builder} avoiding the need
* to create one manually via {@link DescribeInstancesRequest#builder()}
*
*
* @param describeInstancesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DescribeInstances operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeInstances
* @see AWS
* API Documentation
*/
default CompletableFuture describeInstances(
Consumer describeInstancesRequest) {
return describeInstances(DescribeInstancesRequest.builder().applyMutation(describeInstancesRequest).build());
}
/**
*
* Requests a description of one or more layers in a specified stack.
*
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* @param describeLayersRequest
* @return A Java Future containing the result of the DescribeLayers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeLayers
* @see AWS API
* Documentation
*/
default CompletableFuture describeLayers(DescribeLayersRequest describeLayersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Requests a description of one or more layers in a specified stack.
*
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeLayersRequest.Builder} avoiding the need to
* create one manually via {@link DescribeLayersRequest#builder()}
*
*
* @param describeLayersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeLayersRequest.Builder} to create a request.
* @return A Java Future containing the result of the DescribeLayers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeLayers
* @see AWS API
* Documentation
*/
default CompletableFuture describeLayers(Consumer describeLayersRequest) {
return describeLayers(DescribeLayersRequest.builder().applyMutation(describeLayersRequest).build());
}
/**
*
* Describes load-based auto scaling configurations for specified layers.
*
*
*
* You must specify at least one of the parameters.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* @param describeLoadBasedAutoScalingRequest
* @return A Java Future containing the result of the DescribeLoadBasedAutoScaling operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeLoadBasedAutoScaling
* @see AWS API Documentation
*/
default CompletableFuture describeLoadBasedAutoScaling(
DescribeLoadBasedAutoScalingRequest describeLoadBasedAutoScalingRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Describes load-based auto scaling configurations for specified layers.
*
*
*
* You must specify at least one of the parameters.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeLoadBasedAutoScalingRequest.Builder}
* avoiding the need to create one manually via {@link DescribeLoadBasedAutoScalingRequest#builder()}
*
*
* @param describeLoadBasedAutoScalingRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeLoadBasedAutoScalingRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the DescribeLoadBasedAutoScaling operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeLoadBasedAutoScaling
* @see AWS API Documentation
*/
default CompletableFuture describeLoadBasedAutoScaling(
Consumer describeLoadBasedAutoScalingRequest) {
return describeLoadBasedAutoScaling(DescribeLoadBasedAutoScalingRequest.builder()
.applyMutation(describeLoadBasedAutoScalingRequest).build());
}
/**
*
* Describes a user's SSH information.
*
*
* Required Permissions: To use this action, an IAM user must have self-management enabled or an attached
* policy that explicitly grants permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
* @param describeMyUserProfileRequest
* @return A Java Future containing the result of the DescribeMyUserProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeMyUserProfile
* @see AWS API Documentation
*/
default CompletableFuture describeMyUserProfile(
DescribeMyUserProfileRequest describeMyUserProfileRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Describes a user's SSH information.
*
*
* Required Permissions: To use this action, an IAM user must have self-management enabled or an attached
* policy that explicitly grants permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeMyUserProfileRequest.Builder} avoiding the
* need to create one manually via {@link DescribeMyUserProfileRequest#builder()}
*
*
* @param describeMyUserProfileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeMyUserProfileRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DescribeMyUserProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeMyUserProfile
* @see AWS API Documentation
*/
default CompletableFuture describeMyUserProfile(
Consumer describeMyUserProfileRequest) {
return describeMyUserProfile(DescribeMyUserProfileRequest.builder().applyMutation(describeMyUserProfileRequest).build());
}
/**
*
* Describes a user's SSH information.
*
*
* Required Permissions: To use this action, an IAM user must have self-management enabled or an attached
* policy that explicitly grants permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
* @return A Java Future containing the result of the DescribeMyUserProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeMyUserProfile
* @see AWS API Documentation
*/
default CompletableFuture describeMyUserProfile() {
return describeMyUserProfile(DescribeMyUserProfileRequest.builder().build());
}
/**
*
* Describes the operating systems that are supported by OpsWorks Stacks.
*
*
* @param describeOperatingSystemsRequest
* @return A Java Future containing the result of the DescribeOperatingSystems operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeOperatingSystems
* @see AWS API Documentation
*/
default CompletableFuture describeOperatingSystems(
DescribeOperatingSystemsRequest describeOperatingSystemsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Describes the operating systems that are supported by OpsWorks Stacks.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeOperatingSystemsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeOperatingSystemsRequest#builder()}
*
*
* @param describeOperatingSystemsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeOperatingSystemsRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DescribeOperatingSystems operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeOperatingSystems
* @see AWS API Documentation
*/
default CompletableFuture describeOperatingSystems(
Consumer describeOperatingSystemsRequest) {
return describeOperatingSystems(DescribeOperatingSystemsRequest.builder().applyMutation(describeOperatingSystemsRequest)
.build());
}
/**
*
* Describes the operating systems that are supported by OpsWorks Stacks.
*
*
* @return A Java Future containing the result of the DescribeOperatingSystems operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeOperatingSystems
* @see AWS API Documentation
*/
default CompletableFuture describeOperatingSystems() {
return describeOperatingSystems(DescribeOperatingSystemsRequest.builder().build());
}
/**
*
* Describes the permissions for a specified stack.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param describePermissionsRequest
* @return A Java Future containing the result of the DescribePermissions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribePermissions
* @see AWS
* API Documentation
*/
default CompletableFuture describePermissions(
DescribePermissionsRequest describePermissionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Describes the permissions for a specified stack.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribePermissionsRequest.Builder} avoiding the
* need to create one manually via {@link DescribePermissionsRequest#builder()}
*
*
* @param describePermissionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribePermissionsRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DescribePermissions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribePermissions
* @see AWS
* API Documentation
*/
default CompletableFuture describePermissions(
Consumer describePermissionsRequest) {
return describePermissions(DescribePermissionsRequest.builder().applyMutation(describePermissionsRequest).build());
}
/**
*
* Describe an instance's RAID arrays.
*
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* @param describeRaidArraysRequest
* @return A Java Future containing the result of the DescribeRaidArrays operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeRaidArrays
* @see AWS
* API Documentation
*/
default CompletableFuture describeRaidArrays(DescribeRaidArraysRequest describeRaidArraysRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Describe an instance's RAID arrays.
*
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeRaidArraysRequest.Builder} avoiding the
* need to create one manually via {@link DescribeRaidArraysRequest#builder()}
*
*
* @param describeRaidArraysRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeRaidArraysRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DescribeRaidArrays operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeRaidArrays
* @see AWS
* API Documentation
*/
default CompletableFuture describeRaidArrays(
Consumer describeRaidArraysRequest) {
return describeRaidArrays(DescribeRaidArraysRequest.builder().applyMutation(describeRaidArraysRequest).build());
}
/**
*
* Describes Amazon RDS instances.
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* This call accepts only one resource-identifying parameter.
*
*
* @param describeRdsDbInstancesRequest
* @return A Java Future containing the result of the DescribeRdsDbInstances operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeRdsDbInstances
* @see AWS API Documentation
*/
default CompletableFuture describeRdsDbInstances(
DescribeRdsDbInstancesRequest describeRdsDbInstancesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Describes Amazon RDS instances.
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeRdsDbInstancesRequest.Builder} avoiding the
* need to create one manually via {@link DescribeRdsDbInstancesRequest#builder()}
*
*
* @param describeRdsDbInstancesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeRdsDbInstancesRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DescribeRdsDbInstances operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeRdsDbInstances
* @see AWS API Documentation
*/
default CompletableFuture describeRdsDbInstances(
Consumer describeRdsDbInstancesRequest) {
return describeRdsDbInstances(DescribeRdsDbInstancesRequest.builder().applyMutation(describeRdsDbInstancesRequest)
.build());
}
/**
*
* Describes OpsWorks Stacks service errors.
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* This call accepts only one resource-identifying parameter.
*
*
* @param describeServiceErrorsRequest
* @return A Java Future containing the result of the DescribeServiceErrors operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeServiceErrors
* @see AWS API Documentation
*/
default CompletableFuture describeServiceErrors(
DescribeServiceErrorsRequest describeServiceErrorsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Describes OpsWorks Stacks service errors.
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeServiceErrorsRequest.Builder} avoiding the
* need to create one manually via {@link DescribeServiceErrorsRequest#builder()}
*
*
* @param describeServiceErrorsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeServiceErrorsRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DescribeServiceErrors operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeServiceErrors
* @see AWS API Documentation
*/
default CompletableFuture describeServiceErrors(
Consumer describeServiceErrorsRequest) {
return describeServiceErrors(DescribeServiceErrorsRequest.builder().applyMutation(describeServiceErrorsRequest).build());
}
/**
*
* Describes OpsWorks Stacks service errors.
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* This call accepts only one resource-identifying parameter.
*
*
* @return A Java Future containing the result of the DescribeServiceErrors operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeServiceErrors
* @see AWS API Documentation
*/
default CompletableFuture describeServiceErrors() {
return describeServiceErrors(DescribeServiceErrorsRequest.builder().build());
}
/**
*
* Requests a description of a stack's provisioning parameters.
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* @param describeStackProvisioningParametersRequest
* @return A Java Future containing the result of the DescribeStackProvisioningParameters operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeStackProvisioningParameters
* @see AWS API Documentation
*/
default CompletableFuture describeStackProvisioningParameters(
DescribeStackProvisioningParametersRequest describeStackProvisioningParametersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Requests a description of a stack's provisioning parameters.
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeStackProvisioningParametersRequest.Builder}
* avoiding the need to create one manually via {@link DescribeStackProvisioningParametersRequest#builder()}
*
*
* @param describeStackProvisioningParametersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeStackProvisioningParametersRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the DescribeStackProvisioningParameters operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeStackProvisioningParameters
* @see AWS API Documentation
*/
default CompletableFuture describeStackProvisioningParameters(
Consumer describeStackProvisioningParametersRequest) {
return describeStackProvisioningParameters(DescribeStackProvisioningParametersRequest.builder()
.applyMutation(describeStackProvisioningParametersRequest).build());
}
/**
*
* Describes the number of layers and apps in a specified stack, and the number of instances in each state, such as
* running_setup
or online
.
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* @param describeStackSummaryRequest
* @return A Java Future containing the result of the DescribeStackSummary operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeStackSummary
* @see AWS
* API Documentation
*/
default CompletableFuture describeStackSummary(
DescribeStackSummaryRequest describeStackSummaryRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Describes the number of layers and apps in a specified stack, and the number of instances in each state, such as
* running_setup
or online
.
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeStackSummaryRequest.Builder} avoiding the
* need to create one manually via {@link DescribeStackSummaryRequest#builder()}
*
*
* @param describeStackSummaryRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeStackSummaryRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DescribeStackSummary operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeStackSummary
* @see AWS
* API Documentation
*/
default CompletableFuture describeStackSummary(
Consumer describeStackSummaryRequest) {
return describeStackSummary(DescribeStackSummaryRequest.builder().applyMutation(describeStackSummaryRequest).build());
}
/**
*
* Requests a description of one or more stacks.
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* @param describeStacksRequest
* @return A Java Future containing the result of the DescribeStacks operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeStacks
* @see AWS API
* Documentation
*/
default CompletableFuture describeStacks(DescribeStacksRequest describeStacksRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Requests a description of one or more stacks.
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeStacksRequest.Builder} avoiding the need to
* create one manually via {@link DescribeStacksRequest#builder()}
*
*
* @param describeStacksRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeStacksRequest.Builder} to create a request.
* @return A Java Future containing the result of the DescribeStacks operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeStacks
* @see AWS API
* Documentation
*/
default CompletableFuture describeStacks(Consumer describeStacksRequest) {
return describeStacks(DescribeStacksRequest.builder().applyMutation(describeStacksRequest).build());
}
/**
*
* Requests a description of one or more stacks.
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* @return A Java Future containing the result of the DescribeStacks operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeStacks
* @see AWS API
* Documentation
*/
default CompletableFuture describeStacks() {
return describeStacks(DescribeStacksRequest.builder().build());
}
/**
*
* Describes time-based auto scaling configurations for specified instances.
*
*
*
* You must specify at least one of the parameters.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* @param describeTimeBasedAutoScalingRequest
* @return A Java Future containing the result of the DescribeTimeBasedAutoScaling operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeTimeBasedAutoScaling
* @see AWS API Documentation
*/
default CompletableFuture describeTimeBasedAutoScaling(
DescribeTimeBasedAutoScalingRequest describeTimeBasedAutoScalingRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Describes time-based auto scaling configurations for specified instances.
*
*
*
* You must specify at least one of the parameters.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeTimeBasedAutoScalingRequest.Builder}
* avoiding the need to create one manually via {@link DescribeTimeBasedAutoScalingRequest#builder()}
*
*
* @param describeTimeBasedAutoScalingRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeTimeBasedAutoScalingRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the DescribeTimeBasedAutoScaling operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeTimeBasedAutoScaling
* @see AWS API Documentation
*/
default CompletableFuture describeTimeBasedAutoScaling(
Consumer describeTimeBasedAutoScalingRequest) {
return describeTimeBasedAutoScaling(DescribeTimeBasedAutoScalingRequest.builder()
.applyMutation(describeTimeBasedAutoScalingRequest).build());
}
/**
*
* Describe specified users.
*
*
* Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants
* permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
* @param describeUserProfilesRequest
* @return A Java Future containing the result of the DescribeUserProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeUserProfiles
* @see AWS
* API Documentation
*/
default CompletableFuture describeUserProfiles(
DescribeUserProfilesRequest describeUserProfilesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Describe specified users.
*
*
* Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants
* permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeUserProfilesRequest.Builder} avoiding the
* need to create one manually via {@link DescribeUserProfilesRequest#builder()}
*
*
* @param describeUserProfilesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeUserProfilesRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DescribeUserProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeUserProfiles
* @see AWS
* API Documentation
*/
default CompletableFuture describeUserProfiles(
Consumer describeUserProfilesRequest) {
return describeUserProfiles(DescribeUserProfilesRequest.builder().applyMutation(describeUserProfilesRequest).build());
}
/**
*
* Describe specified users.
*
*
* Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants
* permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
* @return A Java Future containing the result of the DescribeUserProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeUserProfiles
* @see AWS
* API Documentation
*/
default CompletableFuture describeUserProfiles() {
return describeUserProfiles(DescribeUserProfilesRequest.builder().build());
}
/**
*
* Describes an instance's Amazon EBS volumes.
*
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
* @param describeVolumesRequest
* @return A Java Future containing the result of the DescribeVolumes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeVolumes
* @see AWS API
* Documentation
*/
default CompletableFuture describeVolumes(DescribeVolumesRequest describeVolumesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Describes an instance's Amazon EBS volumes.
*
*
*
* This call accepts only one resource-identifying parameter.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions
* level for the stack, or an attached policy that explicitly grants permissions. For more information about user
* permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeVolumesRequest.Builder} avoiding the need
* to create one manually via {@link DescribeVolumesRequest#builder()}
*
*
* @param describeVolumesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DescribeVolumesRequest.Builder} to create a request.
* @return A Java Future containing the result of the DescribeVolumes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DescribeVolumes
* @see AWS API
* Documentation
*/
default CompletableFuture describeVolumes(
Consumer describeVolumesRequest) {
return describeVolumes(DescribeVolumesRequest.builder().applyMutation(describeVolumesRequest).build());
}
/**
*
* Detaches a specified Elastic Load Balancing instance from its layer.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param detachElasticLoadBalancerRequest
* @return A Java Future containing the result of the DetachElasticLoadBalancer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DetachElasticLoadBalancer
* @see AWS API Documentation
*/
default CompletableFuture detachElasticLoadBalancer(
DetachElasticLoadBalancerRequest detachElasticLoadBalancerRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Detaches a specified Elastic Load Balancing instance from its layer.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DetachElasticLoadBalancerRequest.Builder} avoiding
* the need to create one manually via {@link DetachElasticLoadBalancerRequest#builder()}
*
*
* @param detachElasticLoadBalancerRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DetachElasticLoadBalancerRequest.Builder} to create
* a request.
* @return A Java Future containing the result of the DetachElasticLoadBalancer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DetachElasticLoadBalancer
* @see AWS API Documentation
*/
default CompletableFuture detachElasticLoadBalancer(
Consumer detachElasticLoadBalancerRequest) {
return detachElasticLoadBalancer(DetachElasticLoadBalancerRequest.builder()
.applyMutation(detachElasticLoadBalancerRequest).build());
}
/**
*
* Disassociates an Elastic IP address from its instance. The address remains registered with the stack. For more
* information, see Resource
* Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param disassociateElasticIpRequest
* @return A Java Future containing the result of the DisassociateElasticIp operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DisassociateElasticIp
* @see AWS API Documentation
*/
default CompletableFuture disassociateElasticIp(
DisassociateElasticIpRequest disassociateElasticIpRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Disassociates an Elastic IP address from its instance. The address remains registered with the stack. For more
* information, see Resource
* Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DisassociateElasticIpRequest.Builder} avoiding the
* need to create one manually via {@link DisassociateElasticIpRequest#builder()}
*
*
* @param disassociateElasticIpRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.DisassociateElasticIpRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DisassociateElasticIp operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.DisassociateElasticIp
* @see AWS API Documentation
*/
default CompletableFuture disassociateElasticIp(
Consumer disassociateElasticIpRequest) {
return disassociateElasticIp(DisassociateElasticIpRequest.builder().applyMutation(disassociateElasticIpRequest).build());
}
/**
*
* Gets a generated host name for the specified layer, based on the current host name theme.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param getHostnameSuggestionRequest
* @return A Java Future containing the result of the GetHostnameSuggestion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.GetHostnameSuggestion
* @see AWS API Documentation
*/
default CompletableFuture getHostnameSuggestion(
GetHostnameSuggestionRequest getHostnameSuggestionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets a generated host name for the specified layer, based on the current host name theme.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link GetHostnameSuggestionRequest.Builder} avoiding the
* need to create one manually via {@link GetHostnameSuggestionRequest#builder()}
*
*
* @param getHostnameSuggestionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.GetHostnameSuggestionRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetHostnameSuggestion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.GetHostnameSuggestion
* @see AWS API Documentation
*/
default CompletableFuture getHostnameSuggestion(
Consumer getHostnameSuggestionRequest) {
return getHostnameSuggestion(GetHostnameSuggestionRequest.builder().applyMutation(getHostnameSuggestionRequest).build());
}
/**
*
*
* This action can be used only with Windows stacks.
*
*
*
* Grants RDP access to a Windows instance for a specified time period.
*
*
* @param grantAccessRequest
* @return A Java Future containing the result of the GrantAccess operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.GrantAccess
* @see AWS API
* Documentation
*/
default CompletableFuture grantAccess(GrantAccessRequest grantAccessRequest) {
throw new UnsupportedOperationException();
}
/**
*
*
* This action can be used only with Windows stacks.
*
*
*
* Grants RDP access to a Windows instance for a specified time period.
*
*
*
* This is a convenience which creates an instance of the {@link GrantAccessRequest.Builder} avoiding the need to
* create one manually via {@link GrantAccessRequest#builder()}
*
*
* @param grantAccessRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.GrantAccessRequest.Builder} to create a request.
* @return A Java Future containing the result of the GrantAccess operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.GrantAccess
* @see AWS API
* Documentation
*/
default CompletableFuture grantAccess(Consumer grantAccessRequest) {
return grantAccess(GrantAccessRequest.builder().applyMutation(grantAccessRequest).build());
}
/**
*
* Returns a list of tags that are applied to the specified stack or layer.
*
*
* @param listTagsRequest
* @return A Java Future containing the result of the ListTags operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.ListTags
* @see AWS API
* Documentation
*/
default CompletableFuture listTags(ListTagsRequest listTagsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of tags that are applied to the specified stack or layer.
*
*
*
* This is a convenience which creates an instance of the {@link ListTagsRequest.Builder} avoiding the need to
* create one manually via {@link ListTagsRequest#builder()}
*
*
* @param listTagsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.ListTagsRequest.Builder} to create a request.
* @return A Java Future containing the result of the ListTags operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.ListTags
* @see AWS API
* Documentation
*/
default CompletableFuture listTags(Consumer listTagsRequest) {
return listTags(ListTagsRequest.builder().applyMutation(listTagsRequest).build());
}
/**
*
* Reboots a specified instance. For more information, see Starting, Stopping,
* and Rebooting Instances.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param rebootInstanceRequest
* @return A Java Future containing the result of the RebootInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.RebootInstance
* @see AWS API
* Documentation
*/
default CompletableFuture rebootInstance(RebootInstanceRequest rebootInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Reboots a specified instance. For more information, see Starting, Stopping,
* and Rebooting Instances.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link RebootInstanceRequest.Builder} avoiding the need to
* create one manually via {@link RebootInstanceRequest#builder()}
*
*
* @param rebootInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.RebootInstanceRequest.Builder} to create a request.
* @return A Java Future containing the result of the RebootInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.RebootInstance
* @see AWS API
* Documentation
*/
default CompletableFuture rebootInstance(Consumer rebootInstanceRequest) {
return rebootInstance(RebootInstanceRequest.builder().applyMutation(rebootInstanceRequest).build());
}
/**
*
* Registers a specified Amazon ECS cluster with a stack. You can register only one cluster with a stack. A cluster
* can be registered with only one stack. For more information, see Resource
* Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param registerEcsClusterRequest
* @return A Java Future containing the result of the RegisterEcsCluster operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.RegisterEcsCluster
* @see AWS
* API Documentation
*/
default CompletableFuture registerEcsCluster(RegisterEcsClusterRequest registerEcsClusterRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Registers a specified Amazon ECS cluster with a stack. You can register only one cluster with a stack. A cluster
* can be registered with only one stack. For more information, see Resource
* Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link RegisterEcsClusterRequest.Builder} avoiding the
* need to create one manually via {@link RegisterEcsClusterRequest#builder()}
*
*
* @param registerEcsClusterRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.RegisterEcsClusterRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the RegisterEcsCluster operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.RegisterEcsCluster
* @see AWS
* API Documentation
*/
default CompletableFuture registerEcsCluster(
Consumer registerEcsClusterRequest) {
return registerEcsCluster(RegisterEcsClusterRequest.builder().applyMutation(registerEcsClusterRequest).build());
}
/**
*
* Registers an Elastic IP address with a specified stack. An address can be registered with only one stack at a
* time. If the address is already registered, you must first deregister it by calling DeregisterElasticIp.
* For more information, see Resource
* Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param registerElasticIpRequest
* @return A Java Future containing the result of the RegisterElasticIp operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.RegisterElasticIp
* @see AWS
* API Documentation
*/
default CompletableFuture registerElasticIp(RegisterElasticIpRequest registerElasticIpRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Registers an Elastic IP address with a specified stack. An address can be registered with only one stack at a
* time. If the address is already registered, you must first deregister it by calling DeregisterElasticIp.
* For more information, see Resource
* Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link RegisterElasticIpRequest.Builder} avoiding the need
* to create one manually via {@link RegisterElasticIpRequest#builder()}
*
*
* @param registerElasticIpRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.RegisterElasticIpRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the RegisterElasticIp operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.RegisterElasticIp
* @see AWS
* API Documentation
*/
default CompletableFuture registerElasticIp(
Consumer registerElasticIpRequest) {
return registerElasticIp(RegisterElasticIpRequest.builder().applyMutation(registerElasticIpRequest).build());
}
/**
*
* Registers instances that were created outside of OpsWorks Stacks with a specified stack.
*
*
*
* We do not recommend using this action to register instances. The complete registration operation includes two
* tasks: installing the OpsWorks Stacks agent on the instance, and registering the instance with the stack.
* RegisterInstance
handles only the second step. You should instead use the CLI register
* command, which performs the entire registration operation. For more information, see Registering an
* Instance with an OpsWorks Stacks Stack.
*
*
*
* Registered instances have the same requirements as instances that are created by using the CreateInstance
* API. For example, registered instances must be running a supported Linux-based operating system, and they must
* have a supported instance type. For more information about requirements for instances that you want to register,
* see
* Preparing the Instance.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param registerInstanceRequest
* @return A Java Future containing the result of the RegisterInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.RegisterInstance
* @see AWS API
* Documentation
*/
default CompletableFuture registerInstance(RegisterInstanceRequest registerInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Registers instances that were created outside of OpsWorks Stacks with a specified stack.
*
*
*
* We do not recommend using this action to register instances. The complete registration operation includes two
* tasks: installing the OpsWorks Stacks agent on the instance, and registering the instance with the stack.
* RegisterInstance
handles only the second step. You should instead use the CLI register
* command, which performs the entire registration operation. For more information, see Registering an
* Instance with an OpsWorks Stacks Stack.
*
*
*
* Registered instances have the same requirements as instances that are created by using the CreateInstance
* API. For example, registered instances must be running a supported Linux-based operating system, and they must
* have a supported instance type. For more information about requirements for instances that you want to register,
* see
* Preparing the Instance.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link RegisterInstanceRequest.Builder} avoiding the need
* to create one manually via {@link RegisterInstanceRequest#builder()}
*
*
* @param registerInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.RegisterInstanceRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the RegisterInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.RegisterInstance
* @see AWS API
* Documentation
*/
default CompletableFuture registerInstance(
Consumer registerInstanceRequest) {
return registerInstance(RegisterInstanceRequest.builder().applyMutation(registerInstanceRequest).build());
}
/**
*
* Registers an Amazon RDS instance with a stack.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param registerRdsDbInstanceRequest
* @return A Java Future containing the result of the RegisterRdsDbInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.RegisterRdsDbInstance
* @see AWS API Documentation
*/
default CompletableFuture registerRdsDbInstance(
RegisterRdsDbInstanceRequest registerRdsDbInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Registers an Amazon RDS instance with a stack.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link RegisterRdsDbInstanceRequest.Builder} avoiding the
* need to create one manually via {@link RegisterRdsDbInstanceRequest#builder()}
*
*
* @param registerRdsDbInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.RegisterRdsDbInstanceRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the RegisterRdsDbInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.RegisterRdsDbInstance
* @see AWS API Documentation
*/
default CompletableFuture registerRdsDbInstance(
Consumer registerRdsDbInstanceRequest) {
return registerRdsDbInstance(RegisterRdsDbInstanceRequest.builder().applyMutation(registerRdsDbInstanceRequest).build());
}
/**
*
* Registers an Amazon EBS volume with a specified stack. A volume can be registered with only one stack at a time.
* If the volume is already registered, you must first deregister it by calling DeregisterVolume. For more
* information, see Resource
* Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param registerVolumeRequest
* @return A Java Future containing the result of the RegisterVolume operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.RegisterVolume
* @see AWS API
* Documentation
*/
default CompletableFuture registerVolume(RegisterVolumeRequest registerVolumeRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Registers an Amazon EBS volume with a specified stack. A volume can be registered with only one stack at a time.
* If the volume is already registered, you must first deregister it by calling DeregisterVolume. For more
* information, see Resource
* Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link RegisterVolumeRequest.Builder} avoiding the need to
* create one manually via {@link RegisterVolumeRequest#builder()}
*
*
* @param registerVolumeRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.RegisterVolumeRequest.Builder} to create a request.
* @return A Java Future containing the result of the RegisterVolume operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.RegisterVolume
* @see AWS API
* Documentation
*/
default CompletableFuture registerVolume(Consumer registerVolumeRequest) {
return registerVolume(RegisterVolumeRequest.builder().applyMutation(registerVolumeRequest).build());
}
/**
*
* Specify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with
* Time-based and Load-based Instances.
*
*
*
* To use load-based auto scaling, you must create a set of load-based auto scaling instances. Load-based auto
* scaling operates only on the instances from that set, so you must ensure that you have created enough instances
* to handle the maximum anticipated load.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param setLoadBasedAutoScalingRequest
* @return A Java Future containing the result of the SetLoadBasedAutoScaling operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.SetLoadBasedAutoScaling
* @see AWS API Documentation
*/
default CompletableFuture setLoadBasedAutoScaling(
SetLoadBasedAutoScalingRequest setLoadBasedAutoScalingRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Specify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with
* Time-based and Load-based Instances.
*
*
*
* To use load-based auto scaling, you must create a set of load-based auto scaling instances. Load-based auto
* scaling operates only on the instances from that set, so you must ensure that you have created enough instances
* to handle the maximum anticipated load.
*
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link SetLoadBasedAutoScalingRequest.Builder} avoiding
* the need to create one manually via {@link SetLoadBasedAutoScalingRequest#builder()}
*
*
* @param setLoadBasedAutoScalingRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.SetLoadBasedAutoScalingRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the SetLoadBasedAutoScaling operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.SetLoadBasedAutoScaling
* @see AWS API Documentation
*/
default CompletableFuture setLoadBasedAutoScaling(
Consumer setLoadBasedAutoScalingRequest) {
return setLoadBasedAutoScaling(SetLoadBasedAutoScalingRequest.builder().applyMutation(setLoadBasedAutoScalingRequest)
.build());
}
/**
*
* Specifies a user's permissions. For more information, see Security and Permissions.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param setPermissionRequest
* @return A Java Future containing the result of the SetPermission operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.SetPermission
* @see AWS API
* Documentation
*/
default CompletableFuture setPermission(SetPermissionRequest setPermissionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Specifies a user's permissions. For more information, see Security and Permissions.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link SetPermissionRequest.Builder} avoiding the need to
* create one manually via {@link SetPermissionRequest#builder()}
*
*
* @param setPermissionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.SetPermissionRequest.Builder} to create a request.
* @return A Java Future containing the result of the SetPermission operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.SetPermission
* @see AWS API
* Documentation
*/
default CompletableFuture setPermission(Consumer setPermissionRequest) {
return setPermission(SetPermissionRequest.builder().applyMutation(setPermissionRequest).build());
}
/**
*
* Specify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with
* Time-based and Load-based Instances.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param setTimeBasedAutoScalingRequest
* @return A Java Future containing the result of the SetTimeBasedAutoScaling operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.SetTimeBasedAutoScaling
* @see AWS API Documentation
*/
default CompletableFuture setTimeBasedAutoScaling(
SetTimeBasedAutoScalingRequest setTimeBasedAutoScalingRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Specify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with
* Time-based and Load-based Instances.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link SetTimeBasedAutoScalingRequest.Builder} avoiding
* the need to create one manually via {@link SetTimeBasedAutoScalingRequest#builder()}
*
*
* @param setTimeBasedAutoScalingRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.SetTimeBasedAutoScalingRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the SetTimeBasedAutoScaling operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.SetTimeBasedAutoScaling
* @see AWS API Documentation
*/
default CompletableFuture setTimeBasedAutoScaling(
Consumer setTimeBasedAutoScalingRequest) {
return setTimeBasedAutoScaling(SetTimeBasedAutoScalingRequest.builder().applyMutation(setTimeBasedAutoScalingRequest)
.build());
}
/**
*
* Starts a specified instance. For more information, see Starting, Stopping,
* and Rebooting Instances.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param startInstanceRequest
* @return A Java Future containing the result of the StartInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.StartInstance
* @see AWS API
* Documentation
*/
default CompletableFuture startInstance(StartInstanceRequest startInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Starts a specified instance. For more information, see Starting, Stopping,
* and Rebooting Instances.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link StartInstanceRequest.Builder} avoiding the need to
* create one manually via {@link StartInstanceRequest#builder()}
*
*
* @param startInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.StartInstanceRequest.Builder} to create a request.
* @return A Java Future containing the result of the StartInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.StartInstance
* @see AWS API
* Documentation
*/
default CompletableFuture startInstance(Consumer startInstanceRequest) {
return startInstance(StartInstanceRequest.builder().applyMutation(startInstanceRequest).build());
}
/**
*
* Starts a stack's instances.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param startStackRequest
* @return A Java Future containing the result of the StartStack operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.StartStack
* @see AWS API
* Documentation
*/
default CompletableFuture startStack(StartStackRequest startStackRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Starts a stack's instances.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link StartStackRequest.Builder} avoiding the need to
* create one manually via {@link StartStackRequest#builder()}
*
*
* @param startStackRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.StartStackRequest.Builder} to create a request.
* @return A Java Future containing the result of the StartStack operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.StartStack
* @see AWS API
* Documentation
*/
default CompletableFuture startStack(Consumer startStackRequest) {
return startStack(StartStackRequest.builder().applyMutation(startStackRequest).build());
}
/**
*
* Stops a specified instance. When you stop a standard instance, the data disappears and must be reinstalled when
* you restart the instance. You can stop an Amazon EBS-backed instance without losing data. For more information,
* see Starting,
* Stopping, and Rebooting Instances.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param stopInstanceRequest
* @return A Java Future containing the result of the StopInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.StopInstance
* @see AWS API
* Documentation
*/
default CompletableFuture stopInstance(StopInstanceRequest stopInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Stops a specified instance. When you stop a standard instance, the data disappears and must be reinstalled when
* you restart the instance. You can stop an Amazon EBS-backed instance without losing data. For more information,
* see Starting,
* Stopping, and Rebooting Instances.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link StopInstanceRequest.Builder} avoiding the need to
* create one manually via {@link StopInstanceRequest#builder()}
*
*
* @param stopInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.StopInstanceRequest.Builder} to create a request.
* @return A Java Future containing the result of the StopInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.StopInstance
* @see AWS API
* Documentation
*/
default CompletableFuture stopInstance(Consumer stopInstanceRequest) {
return stopInstance(StopInstanceRequest.builder().applyMutation(stopInstanceRequest).build());
}
/**
*
* Stops a specified stack.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param stopStackRequest
* @return A Java Future containing the result of the StopStack operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.StopStack
* @see AWS API
* Documentation
*/
default CompletableFuture stopStack(StopStackRequest stopStackRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Stops a specified stack.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link StopStackRequest.Builder} avoiding the need to
* create one manually via {@link StopStackRequest#builder()}
*
*
* @param stopStackRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.StopStackRequest.Builder} to create a request.
* @return A Java Future containing the result of the StopStack operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.StopStack
* @see AWS API
* Documentation
*/
default CompletableFuture stopStack(Consumer stopStackRequest) {
return stopStack(StopStackRequest.builder().applyMutation(stopStackRequest).build());
}
/**
*
* Apply cost-allocation tags to a specified stack or layer in OpsWorks Stacks. For more information about how
* tagging works, see Tags in the
* OpsWorks User Guide.
*
*
* @param tagResourceRequest
* @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.TagResource
* @see AWS API
* Documentation
*/
default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Apply cost-allocation tags to a specified stack or layer in OpsWorks Stacks. For more information about how
* tagging works, see Tags in the
* OpsWorks User Guide.
*
*
*
* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to
* create one manually via {@link TagResourceRequest#builder()}
*
*
* @param tagResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.TagResourceRequest.Builder} to create a request.
* @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.TagResource
* @see AWS API
* Documentation
*/
default CompletableFuture tagResource(Consumer tagResourceRequest) {
return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build());
}
/**
*
* Unassigns a registered instance from all layers that are using the instance. The instance remains in the stack as
* an unassigned instance, and can be assigned to another layer as needed. You cannot use this action with instances
* that were created with OpsWorks Stacks.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack
* or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
* @param unassignInstanceRequest
* @return A Java Future containing the result of the UnassignInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UnassignInstance
* @see AWS API
* Documentation
*/
default CompletableFuture unassignInstance(UnassignInstanceRequest unassignInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Unassigns a registered instance from all layers that are using the instance. The instance remains in the stack as
* an unassigned instance, and can be assigned to another layer as needed. You cannot use this action with instances
* that were created with OpsWorks Stacks.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack
* or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link UnassignInstanceRequest.Builder} avoiding the need
* to create one manually via {@link UnassignInstanceRequest#builder()}
*
*
* @param unassignInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.UnassignInstanceRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UnassignInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UnassignInstance
* @see AWS API
* Documentation
*/
default CompletableFuture unassignInstance(
Consumer unassignInstanceRequest) {
return unassignInstance(UnassignInstanceRequest.builder().applyMutation(unassignInstanceRequest).build());
}
/**
*
* Unassigns an assigned Amazon EBS volume. The volume remains registered with the stack. For more information, see
* Resource Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param unassignVolumeRequest
* @return A Java Future containing the result of the UnassignVolume operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UnassignVolume
* @see AWS API
* Documentation
*/
default CompletableFuture unassignVolume(UnassignVolumeRequest unassignVolumeRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Unassigns an assigned Amazon EBS volume. The volume remains registered with the stack. For more information, see
* Resource Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link UnassignVolumeRequest.Builder} avoiding the need to
* create one manually via {@link UnassignVolumeRequest#builder()}
*
*
* @param unassignVolumeRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.UnassignVolumeRequest.Builder} to create a request.
* @return A Java Future containing the result of the UnassignVolume operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UnassignVolume
* @see AWS API
* Documentation
*/
default CompletableFuture unassignVolume(Consumer unassignVolumeRequest) {
return unassignVolume(UnassignVolumeRequest.builder().applyMutation(unassignVolumeRequest).build());
}
/**
*
* Removes tags from a specified stack or layer.
*
*
* @param untagResourceRequest
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UntagResource
* @see AWS API
* Documentation
*/
default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Removes tags from a specified stack or layer.
*
*
*
* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to
* create one manually via {@link UntagResourceRequest#builder()}
*
*
* @param untagResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.UntagResourceRequest.Builder} to create a request.
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UntagResource
* @see AWS API
* Documentation
*/
default CompletableFuture untagResource(Consumer untagResourceRequest) {
return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build());
}
/**
*
* Updates a specified app.
*
*
* Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for
* the stack, or an attached policy that explicitly grants permissions. For more information on user permissions,
* see Managing User
* Permissions.
*
*
* @param updateAppRequest
* @return A Java Future containing the result of the UpdateApp operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UpdateApp
* @see AWS API
* Documentation
*/
default CompletableFuture updateApp(UpdateAppRequest updateAppRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates a specified app.
*
*
* Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for
* the stack, or an attached policy that explicitly grants permissions. For more information on user permissions,
* see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateAppRequest.Builder} avoiding the need to
* create one manually via {@link UpdateAppRequest#builder()}
*
*
* @param updateAppRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.UpdateAppRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateApp operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UpdateApp
* @see AWS API
* Documentation
*/
default CompletableFuture updateApp(Consumer updateAppRequest) {
return updateApp(UpdateAppRequest.builder().applyMutation(updateAppRequest).build());
}
/**
*
* Updates a registered Elastic IP address's name. For more information, see Resource Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param updateElasticIpRequest
* @return A Java Future containing the result of the UpdateElasticIp operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UpdateElasticIp
* @see AWS API
* Documentation
*/
default CompletableFuture updateElasticIp(UpdateElasticIpRequest updateElasticIpRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates a registered Elastic IP address's name. For more information, see Resource Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateElasticIpRequest.Builder} avoiding the need
* to create one manually via {@link UpdateElasticIpRequest#builder()}
*
*
* @param updateElasticIpRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.UpdateElasticIpRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateElasticIp operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UpdateElasticIp
* @see AWS API
* Documentation
*/
default CompletableFuture updateElasticIp(
Consumer updateElasticIpRequest) {
return updateElasticIp(UpdateElasticIpRequest.builder().applyMutation(updateElasticIpRequest).build());
}
/**
*
* Updates a specified instance.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param updateInstanceRequest
* @return A Java Future containing the result of the UpdateInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UpdateInstance
* @see AWS API
* Documentation
*/
default CompletableFuture updateInstance(UpdateInstanceRequest updateInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates a specified instance.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateInstanceRequest.Builder} avoiding the need to
* create one manually via {@link UpdateInstanceRequest#builder()}
*
*
* @param updateInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.UpdateInstanceRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UpdateInstance
* @see AWS API
* Documentation
*/
default CompletableFuture updateInstance(Consumer updateInstanceRequest) {
return updateInstance(UpdateInstanceRequest.builder().applyMutation(updateInstanceRequest).build());
}
/**
*
* Updates a specified layer.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param updateLayerRequest
* @return A Java Future containing the result of the UpdateLayer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UpdateLayer
* @see AWS API
* Documentation
*/
default CompletableFuture updateLayer(UpdateLayerRequest updateLayerRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates a specified layer.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateLayerRequest.Builder} avoiding the need to
* create one manually via {@link UpdateLayerRequest#builder()}
*
*
* @param updateLayerRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.UpdateLayerRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateLayer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UpdateLayer
* @see AWS API
* Documentation
*/
default CompletableFuture updateLayer(Consumer updateLayerRequest) {
return updateLayer(UpdateLayerRequest.builder().applyMutation(updateLayerRequest).build());
}
/**
*
* Updates a user's SSH public key.
*
*
* Required Permissions: To use this action, an IAM user must have self-management enabled or an attached
* policy that explicitly grants permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
* @param updateMyUserProfileRequest
* @return A Java Future containing the result of the UpdateMyUserProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UpdateMyUserProfile
* @see AWS
* API Documentation
*/
default CompletableFuture updateMyUserProfile(
UpdateMyUserProfileRequest updateMyUserProfileRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates a user's SSH public key.
*
*
* Required Permissions: To use this action, an IAM user must have self-management enabled or an attached
* policy that explicitly grants permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateMyUserProfileRequest.Builder} avoiding the
* need to create one manually via {@link UpdateMyUserProfileRequest#builder()}
*
*
* @param updateMyUserProfileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.UpdateMyUserProfileRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateMyUserProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UpdateMyUserProfile
* @see AWS
* API Documentation
*/
default CompletableFuture updateMyUserProfile(
Consumer updateMyUserProfileRequest) {
return updateMyUserProfile(UpdateMyUserProfileRequest.builder().applyMutation(updateMyUserProfileRequest).build());
}
/**
*
* Updates an Amazon RDS instance.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param updateRdsDbInstanceRequest
* @return A Java Future containing the result of the UpdateRdsDbInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UpdateRdsDbInstance
* @see AWS
* API Documentation
*/
default CompletableFuture updateRdsDbInstance(
UpdateRdsDbInstanceRequest updateRdsDbInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates an Amazon RDS instance.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateRdsDbInstanceRequest.Builder} avoiding the
* need to create one manually via {@link UpdateRdsDbInstanceRequest#builder()}
*
*
* @param updateRdsDbInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.UpdateRdsDbInstanceRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateRdsDbInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UpdateRdsDbInstance
* @see AWS
* API Documentation
*/
default CompletableFuture updateRdsDbInstance(
Consumer updateRdsDbInstanceRequest) {
return updateRdsDbInstance(UpdateRdsDbInstanceRequest.builder().applyMutation(updateRdsDbInstanceRequest).build());
}
/**
*
* Updates a specified stack.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param updateStackRequest
* @return A Java Future containing the result of the UpdateStack operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UpdateStack
* @see AWS API
* Documentation
*/
default CompletableFuture updateStack(UpdateStackRequest updateStackRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates a specified stack.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateStackRequest.Builder} avoiding the need to
* create one manually via {@link UpdateStackRequest#builder()}
*
*
* @param updateStackRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.UpdateStackRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateStack operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UpdateStack
* @see AWS API
* Documentation
*/
default CompletableFuture updateStack(Consumer updateStackRequest) {
return updateStack(UpdateStackRequest.builder().applyMutation(updateStackRequest).build());
}
/**
*
* Updates a specified user profile.
*
*
* Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants
* permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
* @param updateUserProfileRequest
* @return A Java Future containing the result of the UpdateUserProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UpdateUserProfile
* @see AWS
* API Documentation
*/
default CompletableFuture updateUserProfile(UpdateUserProfileRequest updateUserProfileRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates a specified user profile.
*
*
* Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants
* permissions. For more information about user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateUserProfileRequest.Builder} avoiding the need
* to create one manually via {@link UpdateUserProfileRequest#builder()}
*
*
* @param updateUserProfileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.UpdateUserProfileRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateUserProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UpdateUserProfile
* @see AWS
* API Documentation
*/
default CompletableFuture updateUserProfile(
Consumer updateUserProfileRequest) {
return updateUserProfile(UpdateUserProfileRequest.builder().applyMutation(updateUserProfileRequest).build());
}
/**
*
* Updates an Amazon EBS volume's name or mount point. For more information, see Resource Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
* @param updateVolumeRequest
* @return A Java Future containing the result of the UpdateVolume operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UpdateVolume
* @see AWS API
* Documentation
*/
default CompletableFuture updateVolume(UpdateVolumeRequest updateVolumeRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates an Amazon EBS volume's name or mount point. For more information, see Resource Management.
*
*
* Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack,
* or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User
* Permissions.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateVolumeRequest.Builder} avoiding the need to
* create one manually via {@link UpdateVolumeRequest#builder()}
*
*
* @param updateVolumeRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.opsworks.model.UpdateVolumeRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateVolume operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ValidationException Indicates that a request was not valid.
* - ResourceNotFoundException Indicates that a resource was not found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - OpsWorksException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample OpsWorksAsyncClient.UpdateVolume
* @see AWS API
* Documentation
*/
default CompletableFuture updateVolume(Consumer updateVolumeRequest) {
return updateVolume(UpdateVolumeRequest.builder().applyMutation(updateVolumeRequest).build());
}
/**
* Create an instance of {@link OpsWorksAsyncWaiter} using this client.
*
* Waiters created via this method are managed by the SDK and resources will be released when the service client is
* closed.
*
* @return an instance of {@link OpsWorksAsyncWaiter}
*/
default OpsWorksAsyncWaiter waiter() {
throw new UnsupportedOperationException();
}
@Override
default OpsWorksServiceClientConfiguration serviceClientConfiguration() {
throw new UnsupportedOperationException();
}
/**
* Create a {@link OpsWorksAsyncClient} with the region loaded from the
* {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the
* {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}.
*/
static OpsWorksAsyncClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link OpsWorksAsyncClient}.
*/
static OpsWorksAsyncClientBuilder builder() {
return new DefaultOpsWorksAsyncClientBuilder();
}
}