com.amazonaws.services.opsworks
Class AWSOpsWorksAsyncClient

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceClient
      extended by com.amazonaws.services.opsworks.AWSOpsWorksClient
          extended by com.amazonaws.services.opsworks.AWSOpsWorksAsyncClient
All Implemented Interfaces:
AWSOpsWorks, AWSOpsWorksAsync

public class AWSOpsWorksAsyncClient
extends AWSOpsWorksClient
implements AWSOpsWorksAsync

Asynchronous client for accessing AWSOpsWorks. All asynchronous calls made using this client are non-blocking. Callers could either process the result and handle the exceptions in the worker thread by providing a callback handler when making the call, or use the returned Future object to check the result of the call in the calling thread. AWS OpsWorks

Welcome to the AWS OpsWorks API Reference . This guide provides descriptions, syntax, and usage examples about AWS OpsWorks actions and data types, including common parameters and error codes.

AWS OpsWorks is an application management service that provides an integrated experience for overseeing the complete application lifecycle. For information about this product, go to the AWS OpsWorks details page.

SDKs and CLI

The most common way to use the AWS OpsWorks API is by using the AWS Command Line Interface (CLI) or by using one of the AWS SDKs to implement applications in your preferred language. For more information, see:

Endpoints

AWS OpsWorks supports only one endpoint, opsworks.us-east-1.amazonaws.com (HTTPS), so you must connect to that endpoint. You can then use the API to direct AWS OpsWorks to create stacks in any AWS Region.

Chef Version

When you call CreateStack, CloneStack, or UpdateStack we recommend you use the ConfigurationManager parameter to specify the Chef version, 0.9, 11.4, or 11.10. The default value is currently 11.4. For more information, see Chef Versions .


Field Summary
 
Fields inherited from class com.amazonaws.services.opsworks.AWSOpsWorksClient
jsonErrorUnmarshallers
 
Fields inherited from class com.amazonaws.AmazonWebServiceClient
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
 
Constructor Summary
AWSOpsWorksAsyncClient()
          Constructs a new asynchronous client to invoke service methods on AWSOpsWorks.
AWSOpsWorksAsyncClient(AWSCredentials awsCredentials)
          Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials.
AWSOpsWorksAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials, executor service, and client configuration options.
AWSOpsWorksAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials and executor service.
AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
          Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials provider.
AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
          Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials provider and client configuration options.
AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials provider, executor service, and client configuration options.
AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials provider and executor service.
AWSOpsWorksAsyncClient(ClientConfiguration clientConfiguration)
          Constructs a new asynchronous client to invoke service methods on AWSOpsWorks.
 
Method Summary
 Future<Void> assignVolumeAsync(AssignVolumeRequest assignVolumeRequest)
           Assigns one of the stack's registered Amazon EBS volumes to a specified instance.
 Future<Void> assignVolumeAsync(AssignVolumeRequest assignVolumeRequest, AsyncHandler<AssignVolumeRequest,Void> asyncHandler)
           Assigns one of the stack's registered Amazon EBS volumes to a specified instance.
 Future<Void> associateElasticIpAsync(AssociateElasticIpRequest associateElasticIpRequest)
           Associates one of the stack's registered Elastic IP addresses with a specified instance.
 Future<Void> associateElasticIpAsync(AssociateElasticIpRequest associateElasticIpRequest, AsyncHandler<AssociateElasticIpRequest,Void> asyncHandler)
           Associates one of the stack's registered Elastic IP addresses with a specified instance.
 Future<Void> attachElasticLoadBalancerAsync(AttachElasticLoadBalancerRequest attachElasticLoadBalancerRequest)
           Attaches an Elastic Load Balancing load balancer to a specified layer.
 Future<Void> attachElasticLoadBalancerAsync(AttachElasticLoadBalancerRequest attachElasticLoadBalancerRequest, AsyncHandler<AttachElasticLoadBalancerRequest,Void> asyncHandler)
           Attaches an Elastic Load Balancing load balancer to a specified layer.
 Future<CloneStackResult> cloneStackAsync(CloneStackRequest cloneStackRequest)
           Creates a clone of a specified stack.
 Future<CloneStackResult> cloneStackAsync(CloneStackRequest cloneStackRequest, AsyncHandler<CloneStackRequest,CloneStackResult> asyncHandler)
           Creates a clone of a specified stack.
 Future<CreateAppResult> createAppAsync(CreateAppRequest createAppRequest)
           Creates an app for a specified stack.
 Future<CreateAppResult> createAppAsync(CreateAppRequest createAppRequest, AsyncHandler<CreateAppRequest,CreateAppResult> asyncHandler)
           Creates an app for a specified stack.
 Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest)
           Deploys a stack or app.
 Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest, AsyncHandler<CreateDeploymentRequest,CreateDeploymentResult> asyncHandler)
           Deploys a stack or app.
 Future<CreateInstanceResult> createInstanceAsync(CreateInstanceRequest createInstanceRequest)
           Creates an instance in a specified stack.
 Future<CreateInstanceResult> createInstanceAsync(CreateInstanceRequest createInstanceRequest, AsyncHandler<CreateInstanceRequest,CreateInstanceResult> asyncHandler)
           Creates an instance in a specified stack.
 Future<CreateLayerResult> createLayerAsync(CreateLayerRequest createLayerRequest)
           Creates a layer.
 Future<CreateLayerResult> createLayerAsync(CreateLayerRequest createLayerRequest, AsyncHandler<CreateLayerRequest,CreateLayerResult> asyncHandler)
           Creates a layer.
 Future<CreateStackResult> createStackAsync(CreateStackRequest createStackRequest)
           Creates a new stack.
 Future<CreateStackResult> createStackAsync(CreateStackRequest createStackRequest, AsyncHandler<CreateStackRequest,CreateStackResult> asyncHandler)
           Creates a new stack.
 Future<CreateUserProfileResult> createUserProfileAsync(CreateUserProfileRequest createUserProfileRequest)
           Creates a new user profile.
 Future<CreateUserProfileResult> createUserProfileAsync(CreateUserProfileRequest createUserProfileRequest, AsyncHandler<CreateUserProfileRequest,CreateUserProfileResult> asyncHandler)
           Creates a new user profile.
 Future<Void> deleteAppAsync(DeleteAppRequest deleteAppRequest)
           Deletes a specified app.
 Future<Void> deleteAppAsync(DeleteAppRequest deleteAppRequest, AsyncHandler<DeleteAppRequest,Void> asyncHandler)
           Deletes a specified app.
 Future<Void> deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest)
           Deletes a specified instance.
 Future<Void> deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest, AsyncHandler<DeleteInstanceRequest,Void> asyncHandler)
           Deletes a specified instance.
 Future<Void> deleteLayerAsync(DeleteLayerRequest deleteLayerRequest)
           Deletes a specified layer.
 Future<Void> deleteLayerAsync(DeleteLayerRequest deleteLayerRequest, AsyncHandler<DeleteLayerRequest,Void> asyncHandler)
           Deletes a specified layer.
 Future<Void> deleteStackAsync(DeleteStackRequest deleteStackRequest)
           Deletes a specified stack.
 Future<Void> deleteStackAsync(DeleteStackRequest deleteStackRequest, AsyncHandler<DeleteStackRequest,Void> asyncHandler)
           Deletes a specified stack.
 Future<Void> deleteUserProfileAsync(DeleteUserProfileRequest deleteUserProfileRequest)
           Deletes a user profile.
 Future<Void> deleteUserProfileAsync(DeleteUserProfileRequest deleteUserProfileRequest, AsyncHandler<DeleteUserProfileRequest,Void> asyncHandler)
           Deletes a user profile.
 Future<Void> deregisterElasticIpAsync(DeregisterElasticIpRequest deregisterElasticIpRequest)
           Deregisters a specified Elastic IP address.
 Future<Void> deregisterElasticIpAsync(DeregisterElasticIpRequest deregisterElasticIpRequest, AsyncHandler<DeregisterElasticIpRequest,Void> asyncHandler)
           Deregisters a specified Elastic IP address.
 Future<Void> deregisterRdsDbInstanceAsync(DeregisterRdsDbInstanceRequest deregisterRdsDbInstanceRequest)
           Deregisters an Amazon RDS instance.
 Future<Void> deregisterRdsDbInstanceAsync(DeregisterRdsDbInstanceRequest deregisterRdsDbInstanceRequest, AsyncHandler<DeregisterRdsDbInstanceRequest,Void> asyncHandler)
           Deregisters an Amazon RDS instance.
 Future<Void> deregisterVolumeAsync(DeregisterVolumeRequest deregisterVolumeRequest)
           Deregisters an Amazon EBS volume.
 Future<Void> deregisterVolumeAsync(DeregisterVolumeRequest deregisterVolumeRequest, AsyncHandler<DeregisterVolumeRequest,Void> asyncHandler)
           Deregisters an Amazon EBS volume.
 Future<DescribeAppsResult> describeAppsAsync(DescribeAppsRequest describeAppsRequest)
           Requests a description of a specified set of apps.
 Future<DescribeAppsResult> describeAppsAsync(DescribeAppsRequest describeAppsRequest, AsyncHandler<DescribeAppsRequest,DescribeAppsResult> asyncHandler)
           Requests a description of a specified set of apps.
 Future<DescribeCommandsResult> describeCommandsAsync(DescribeCommandsRequest describeCommandsRequest)
           Describes the results of specified commands.
 Future<DescribeCommandsResult> describeCommandsAsync(DescribeCommandsRequest describeCommandsRequest, AsyncHandler<DescribeCommandsRequest,DescribeCommandsResult> asyncHandler)
           Describes the results of specified commands.
 Future<DescribeDeploymentsResult> describeDeploymentsAsync(DescribeDeploymentsRequest describeDeploymentsRequest)
           Requests a description of a specified set of deployments.
 Future<DescribeDeploymentsResult> describeDeploymentsAsync(DescribeDeploymentsRequest describeDeploymentsRequest, AsyncHandler<DescribeDeploymentsRequest,DescribeDeploymentsResult> asyncHandler)
           Requests a description of a specified set of deployments.
 Future<DescribeElasticIpsResult> describeElasticIpsAsync(DescribeElasticIpsRequest describeElasticIpsRequest)
           Describes Elastic IP addresses .
 Future<DescribeElasticIpsResult> describeElasticIpsAsync(DescribeElasticIpsRequest describeElasticIpsRequest, AsyncHandler<DescribeElasticIpsRequest,DescribeElasticIpsResult> asyncHandler)
           Describes Elastic IP addresses .
 Future<DescribeElasticLoadBalancersResult> describeElasticLoadBalancersAsync(DescribeElasticLoadBalancersRequest describeElasticLoadBalancersRequest)
           Describes a stack's Elastic Load Balancing instances.
 Future<DescribeElasticLoadBalancersResult> describeElasticLoadBalancersAsync(DescribeElasticLoadBalancersRequest describeElasticLoadBalancersRequest, AsyncHandler<DescribeElasticLoadBalancersRequest,DescribeElasticLoadBalancersResult> asyncHandler)
           Describes a stack's Elastic Load Balancing instances.
 Future<DescribeInstancesResult> describeInstancesAsync(DescribeInstancesRequest describeInstancesRequest)
           Requests a description of a set of instances.
 Future<DescribeInstancesResult> describeInstancesAsync(DescribeInstancesRequest describeInstancesRequest, AsyncHandler<DescribeInstancesRequest,DescribeInstancesResult> asyncHandler)
           Requests a description of a set of instances.
 Future<DescribeLayersResult> describeLayersAsync(DescribeLayersRequest describeLayersRequest)
           Requests a description of one or more layers in a specified stack.
 Future<DescribeLayersResult> describeLayersAsync(DescribeLayersRequest describeLayersRequest, AsyncHandler<DescribeLayersRequest,DescribeLayersResult> asyncHandler)
           Requests a description of one or more layers in a specified stack.
 Future<DescribeLoadBasedAutoScalingResult> describeLoadBasedAutoScalingAsync(DescribeLoadBasedAutoScalingRequest describeLoadBasedAutoScalingRequest)
           Describes load-based auto scaling configurations for specified layers.
 Future<DescribeLoadBasedAutoScalingResult> describeLoadBasedAutoScalingAsync(DescribeLoadBasedAutoScalingRequest describeLoadBasedAutoScalingRequest, AsyncHandler<DescribeLoadBasedAutoScalingRequest,DescribeLoadBasedAutoScalingResult> asyncHandler)
           Describes load-based auto scaling configurations for specified layers.
 Future<DescribeMyUserProfileResult> describeMyUserProfileAsync(DescribeMyUserProfileRequest describeMyUserProfileRequest)
           Describes a user's SSH information.
 Future<DescribeMyUserProfileResult> describeMyUserProfileAsync(DescribeMyUserProfileRequest describeMyUserProfileRequest, AsyncHandler<DescribeMyUserProfileRequest,DescribeMyUserProfileResult> asyncHandler)
           Describes a user's SSH information.
 Future<DescribePermissionsResult> describePermissionsAsync(DescribePermissionsRequest describePermissionsRequest)
           Describes the permissions for a specified stack.
 Future<DescribePermissionsResult> describePermissionsAsync(DescribePermissionsRequest describePermissionsRequest, AsyncHandler<DescribePermissionsRequest,DescribePermissionsResult> asyncHandler)
           Describes the permissions for a specified stack.
 Future<DescribeRaidArraysResult> describeRaidArraysAsync(DescribeRaidArraysRequest describeRaidArraysRequest)
           Describe an instance's RAID arrays.
 Future<DescribeRaidArraysResult> describeRaidArraysAsync(DescribeRaidArraysRequest describeRaidArraysRequest, AsyncHandler<DescribeRaidArraysRequest,DescribeRaidArraysResult> asyncHandler)
           Describe an instance's RAID arrays.
 Future<DescribeRdsDbInstancesResult> describeRdsDbInstancesAsync(DescribeRdsDbInstancesRequest describeRdsDbInstancesRequest)
           Describes Amazon RDS instances.
 Future<DescribeRdsDbInstancesResult> describeRdsDbInstancesAsync(DescribeRdsDbInstancesRequest describeRdsDbInstancesRequest, AsyncHandler<DescribeRdsDbInstancesRequest,DescribeRdsDbInstancesResult> asyncHandler)
           Describes Amazon RDS instances.
 Future<DescribeServiceErrorsResult> describeServiceErrorsAsync(DescribeServiceErrorsRequest describeServiceErrorsRequest)
           Describes AWS OpsWorks service errors.
 Future<DescribeServiceErrorsResult> describeServiceErrorsAsync(DescribeServiceErrorsRequest describeServiceErrorsRequest, AsyncHandler<DescribeServiceErrorsRequest,DescribeServiceErrorsResult> asyncHandler)
           Describes AWS OpsWorks service errors.
 Future<DescribeStacksResult> describeStacksAsync(DescribeStacksRequest describeStacksRequest)
           Requests a description of one or more stacks.
 Future<DescribeStacksResult> describeStacksAsync(DescribeStacksRequest describeStacksRequest, AsyncHandler<DescribeStacksRequest,DescribeStacksResult> asyncHandler)
           Requests a description of one or more stacks.
 Future<DescribeStackSummaryResult> describeStackSummaryAsync(DescribeStackSummaryRequest describeStackSummaryRequest)
           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 .
 Future<DescribeStackSummaryResult> describeStackSummaryAsync(DescribeStackSummaryRequest describeStackSummaryRequest, AsyncHandler<DescribeStackSummaryRequest,DescribeStackSummaryResult> asyncHandler)
           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 .
 Future<DescribeTimeBasedAutoScalingResult> describeTimeBasedAutoScalingAsync(DescribeTimeBasedAutoScalingRequest describeTimeBasedAutoScalingRequest)
           Describes time-based auto scaling configurations for specified instances.
 Future<DescribeTimeBasedAutoScalingResult> describeTimeBasedAutoScalingAsync(DescribeTimeBasedAutoScalingRequest describeTimeBasedAutoScalingRequest, AsyncHandler<DescribeTimeBasedAutoScalingRequest,DescribeTimeBasedAutoScalingResult> asyncHandler)
           Describes time-based auto scaling configurations for specified instances.
 Future<DescribeUserProfilesResult> describeUserProfilesAsync(DescribeUserProfilesRequest describeUserProfilesRequest)
           Describe specified users.
 Future<DescribeUserProfilesResult> describeUserProfilesAsync(DescribeUserProfilesRequest describeUserProfilesRequest, AsyncHandler<DescribeUserProfilesRequest,DescribeUserProfilesResult> asyncHandler)
           Describe specified users.
 Future<DescribeVolumesResult> describeVolumesAsync(DescribeVolumesRequest describeVolumesRequest)
           Describes an instance's Amazon EBS volumes.
 Future<DescribeVolumesResult> describeVolumesAsync(DescribeVolumesRequest describeVolumesRequest, AsyncHandler<DescribeVolumesRequest,DescribeVolumesResult> asyncHandler)
           Describes an instance's Amazon EBS volumes.
 Future<Void> detachElasticLoadBalancerAsync(DetachElasticLoadBalancerRequest detachElasticLoadBalancerRequest)
           Detaches a specified Elastic Load Balancing instance from its layer.
 Future<Void> detachElasticLoadBalancerAsync(DetachElasticLoadBalancerRequest detachElasticLoadBalancerRequest, AsyncHandler<DetachElasticLoadBalancerRequest,Void> asyncHandler)
           Detaches a specified Elastic Load Balancing instance from its layer.
 Future<Void> disassociateElasticIpAsync(DisassociateElasticIpRequest disassociateElasticIpRequest)
           Disassociates an Elastic IP address from its instance.
 Future<Void> disassociateElasticIpAsync(DisassociateElasticIpRequest disassociateElasticIpRequest, AsyncHandler<DisassociateElasticIpRequest,Void> asyncHandler)
           Disassociates an Elastic IP address from its instance.
 ExecutorService getExecutorService()
          Returns the executor service used by this async client to execute requests.
 Future<GetHostnameSuggestionResult> getHostnameSuggestionAsync(GetHostnameSuggestionRequest getHostnameSuggestionRequest)
           Gets a generated host name for the specified layer, based on the current host name theme.
 Future<GetHostnameSuggestionResult> getHostnameSuggestionAsync(GetHostnameSuggestionRequest getHostnameSuggestionRequest, AsyncHandler<GetHostnameSuggestionRequest,GetHostnameSuggestionResult> asyncHandler)
           Gets a generated host name for the specified layer, based on the current host name theme.
 Future<Void> rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest)
           Reboots a specified instance.
 Future<Void> rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest, AsyncHandler<RebootInstanceRequest,Void> asyncHandler)
           Reboots a specified instance.
 Future<RegisterElasticIpResult> registerElasticIpAsync(RegisterElasticIpRequest registerElasticIpRequest)
           Registers an Elastic IP address with a specified stack.
 Future<RegisterElasticIpResult> registerElasticIpAsync(RegisterElasticIpRequest registerElasticIpRequest, AsyncHandler<RegisterElasticIpRequest,RegisterElasticIpResult> asyncHandler)
           Registers an Elastic IP address with a specified stack.
 Future<Void> registerRdsDbInstanceAsync(RegisterRdsDbInstanceRequest registerRdsDbInstanceRequest)
           Registers an Amazon RDS instance with a stack.
 Future<Void> registerRdsDbInstanceAsync(RegisterRdsDbInstanceRequest registerRdsDbInstanceRequest, AsyncHandler<RegisterRdsDbInstanceRequest,Void> asyncHandler)
           Registers an Amazon RDS instance with a stack.
 Future<RegisterVolumeResult> registerVolumeAsync(RegisterVolumeRequest registerVolumeRequest)
           Registers an Amazon EBS volume with a specified stack.
 Future<RegisterVolumeResult> registerVolumeAsync(RegisterVolumeRequest registerVolumeRequest, AsyncHandler<RegisterVolumeRequest,RegisterVolumeResult> asyncHandler)
           Registers an Amazon EBS volume with a specified stack.
 Future<Void> setLoadBasedAutoScalingAsync(SetLoadBasedAutoScalingRequest setLoadBasedAutoScalingRequest)
           Specify the load-based auto scaling configuration for a specified layer.
 Future<Void> setLoadBasedAutoScalingAsync(SetLoadBasedAutoScalingRequest setLoadBasedAutoScalingRequest, AsyncHandler<SetLoadBasedAutoScalingRequest,Void> asyncHandler)
           Specify the load-based auto scaling configuration for a specified layer.
 Future<Void> setPermissionAsync(SetPermissionRequest setPermissionRequest)
           Specifies a user's permissions.
 Future<Void> setPermissionAsync(SetPermissionRequest setPermissionRequest, AsyncHandler<SetPermissionRequest,Void> asyncHandler)
           Specifies a user's permissions.
 Future<Void> setTimeBasedAutoScalingAsync(SetTimeBasedAutoScalingRequest setTimeBasedAutoScalingRequest)
           Specify the time-based auto scaling configuration for a specified instance.
 Future<Void> setTimeBasedAutoScalingAsync(SetTimeBasedAutoScalingRequest setTimeBasedAutoScalingRequest, AsyncHandler<SetTimeBasedAutoScalingRequest,Void> asyncHandler)
           Specify the time-based auto scaling configuration for a specified instance.
 void shutdown()
          Shuts down the client, releasing all managed resources.
 Future<Void> startInstanceAsync(StartInstanceRequest startInstanceRequest)
           Starts a specified instance.
 Future<Void> startInstanceAsync(StartInstanceRequest startInstanceRequest, AsyncHandler<StartInstanceRequest,Void> asyncHandler)
           Starts a specified instance.
 Future<Void> startStackAsync(StartStackRequest startStackRequest)
           Starts a stack's instances.
 Future<Void> startStackAsync(StartStackRequest startStackRequest, AsyncHandler<StartStackRequest,Void> asyncHandler)
           Starts a stack's instances.
 Future<Void> stopInstanceAsync(StopInstanceRequest stopInstanceRequest)
           Stops a specified instance.
 Future<Void> stopInstanceAsync(StopInstanceRequest stopInstanceRequest, AsyncHandler<StopInstanceRequest,Void> asyncHandler)
           Stops a specified instance.
 Future<Void> stopStackAsync(StopStackRequest stopStackRequest)
           Stops a specified stack.
 Future<Void> stopStackAsync(StopStackRequest stopStackRequest, AsyncHandler<StopStackRequest,Void> asyncHandler)
           Stops a specified stack.
 Future<Void> unassignVolumeAsync(UnassignVolumeRequest unassignVolumeRequest)
           Unassigns an assigned Amazon EBS volume.
 Future<Void> unassignVolumeAsync(UnassignVolumeRequest unassignVolumeRequest, AsyncHandler<UnassignVolumeRequest,Void> asyncHandler)
           Unassigns an assigned Amazon EBS volume.
 Future<Void> updateAppAsync(UpdateAppRequest updateAppRequest)
           Updates a specified app.
 Future<Void> updateAppAsync(UpdateAppRequest updateAppRequest, AsyncHandler<UpdateAppRequest,Void> asyncHandler)
           Updates a specified app.
 Future<Void> updateElasticIpAsync(UpdateElasticIpRequest updateElasticIpRequest)
           Updates a registered Elastic IP address's name.
 Future<Void> updateElasticIpAsync(UpdateElasticIpRequest updateElasticIpRequest, AsyncHandler<UpdateElasticIpRequest,Void> asyncHandler)
           Updates a registered Elastic IP address's name.
 Future<Void> updateInstanceAsync(UpdateInstanceRequest updateInstanceRequest)
           Updates a specified instance.
 Future<Void> updateInstanceAsync(UpdateInstanceRequest updateInstanceRequest, AsyncHandler<UpdateInstanceRequest,Void> asyncHandler)
           Updates a specified instance.
 Future<Void> updateLayerAsync(UpdateLayerRequest updateLayerRequest)
           Updates a specified layer.
 Future<Void> updateLayerAsync(UpdateLayerRequest updateLayerRequest, AsyncHandler<UpdateLayerRequest,Void> asyncHandler)
           Updates a specified layer.
 Future<Void> updateMyUserProfileAsync(UpdateMyUserProfileRequest updateMyUserProfileRequest)
           Updates a user's SSH public key.
 Future<Void> updateMyUserProfileAsync(UpdateMyUserProfileRequest updateMyUserProfileRequest, AsyncHandler<UpdateMyUserProfileRequest,Void> asyncHandler)
           Updates a user's SSH public key.
 Future<Void> updateRdsDbInstanceAsync(UpdateRdsDbInstanceRequest updateRdsDbInstanceRequest)
           Updates an Amazon RDS instance.
 Future<Void> updateRdsDbInstanceAsync(UpdateRdsDbInstanceRequest updateRdsDbInstanceRequest, AsyncHandler<UpdateRdsDbInstanceRequest,Void> asyncHandler)
           Updates an Amazon RDS instance.
 Future<Void> updateStackAsync(UpdateStackRequest updateStackRequest)
           Updates a specified stack.
 Future<Void> updateStackAsync(UpdateStackRequest updateStackRequest, AsyncHandler<UpdateStackRequest,Void> asyncHandler)
           Updates a specified stack.
 Future<Void> updateUserProfileAsync(UpdateUserProfileRequest updateUserProfileRequest)
           Updates a specified user profile.
 Future<Void> updateUserProfileAsync(UpdateUserProfileRequest updateUserProfileRequest, AsyncHandler<UpdateUserProfileRequest,Void> asyncHandler)
           Updates a specified user profile.
 Future<Void> updateVolumeAsync(UpdateVolumeRequest updateVolumeRequest)
           Updates an Amazon EBS volume's name or mount point.
 Future<Void> updateVolumeAsync(UpdateVolumeRequest updateVolumeRequest, AsyncHandler<UpdateVolumeRequest,Void> asyncHandler)
           Updates an Amazon EBS volume's name or mount point.
 
Methods inherited from class com.amazonaws.services.opsworks.AWSOpsWorksClient
assignVolume, associateElasticIp, attachElasticLoadBalancer, cloneStack, createApp, createDeployment, createInstance, createLayer, createStack, createUserProfile, deleteApp, deleteInstance, deleteLayer, deleteStack, deleteUserProfile, deregisterElasticIp, deregisterRdsDbInstance, deregisterVolume, describeApps, describeCommands, describeDeployments, describeElasticIps, describeElasticLoadBalancers, describeInstances, describeLayers, describeLoadBasedAutoScaling, describeMyUserProfile, describePermissions, describeRaidArrays, describeRdsDbInstances, describeServiceErrors, describeStacks, describeStackSummary, describeTimeBasedAutoScaling, describeUserProfiles, describeVolumes, detachElasticLoadBalancer, disassociateElasticIp, getCachedResponseMetadata, getHostnameSuggestion, rebootInstance, registerElasticIp, registerRdsDbInstance, registerVolume, setEndpoint, setEndpoint, setLoadBasedAutoScaling, setPermission, setTimeBasedAutoScaling, startInstance, startStack, stopInstance, stopStack, unassignVolume, updateApp, updateElasticIp, updateInstance, updateLayer, updateMyUserProfile, updateRdsDbInstance, updateStack, updateUserProfile, updateVolume
 
Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, addRequestHandler, configSigner, configSigner, convertToHttpRequest, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setConfiguration, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withTimeOffset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.amazonaws.services.opsworks.AWSOpsWorks
assignVolume, associateElasticIp, attachElasticLoadBalancer, cloneStack, createApp, createDeployment, createInstance, createLayer, createStack, createUserProfile, deleteApp, deleteInstance, deleteLayer, deleteStack, deleteUserProfile, deregisterElasticIp, deregisterRdsDbInstance, deregisterVolume, describeApps, describeCommands, describeDeployments, describeElasticIps, describeElasticLoadBalancers, describeInstances, describeLayers, describeLoadBasedAutoScaling, describeMyUserProfile, describePermissions, describeRaidArrays, describeRdsDbInstances, describeServiceErrors, describeStacks, describeStackSummary, describeTimeBasedAutoScaling, describeUserProfiles, describeVolumes, detachElasticLoadBalancer, disassociateElasticIp, getCachedResponseMetadata, getHostnameSuggestion, rebootInstance, registerElasticIp, registerRdsDbInstance, registerVolume, setEndpoint, setLoadBasedAutoScaling, setPermission, setRegion, setTimeBasedAutoScaling, startInstance, startStack, stopInstance, stopStack, unassignVolume, updateApp, updateElasticIp, updateInstance, updateLayer, updateMyUserProfile, updateRdsDbInstance, updateStack, updateUserProfile, updateVolume
 

Constructor Detail

AWSOpsWorksAsyncClient

public AWSOpsWorksAsyncClient()
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks. A credentials provider chain will be used that searches for credentials in this order:

All service calls made using this new client object are blocking, and will not return until the service call completes.

See Also:
DefaultAWSCredentialsProviderChain

AWSOpsWorksAsyncClient

public AWSOpsWorksAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks. A credentials provider chain will be used that searches for credentials in this order:

All service calls made using this new client object are blocking, and will not return until the service call completes.

Parameters:
clientConfiguration - The client configuration options controlling how this client connects to AWSOpsWorks (ex: proxy settings, retry counts, etc.).
See Also:
DefaultAWSCredentialsProviderChain

AWSOpsWorksAsyncClient

public AWSOpsWorksAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials. Default client settings will be used, and a fixed size thread pool will be created for executing the asynchronous tasks.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.

AWSOpsWorksAsyncClient

public AWSOpsWorksAsyncClient(AWSCredentials awsCredentials,
                              ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials and executor service. Default client settings will be used.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.
executorService - The executor service by which all asynchronous requests will be executed.

AWSOpsWorksAsyncClient

public AWSOpsWorksAsyncClient(AWSCredentials awsCredentials,
                              ClientConfiguration clientConfiguration,
                              ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials, executor service, and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.
clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).
executorService - The executor service by which all asynchronous requests will be executed.

AWSOpsWorksAsyncClient

public AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials provider. Default client settings will be used, and a fixed size thread pool will be created for executing the asynchronous tasks.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.

AWSOpsWorksAsyncClient

public AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                              ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials provider and executor service. Default client settings will be used.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
executorService - The executor service by which all asynchronous requests will be executed.

AWSOpsWorksAsyncClient

public AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                              ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials provider and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).

AWSOpsWorksAsyncClient

public AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                              ClientConfiguration clientConfiguration,
                              ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials provider, executor service, and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).
executorService - The executor service by which all asynchronous requests will be executed.
Method Detail

getExecutorService

public ExecutorService getExecutorService()
Returns the executor service used by this async client to execute requests.

Returns:
The executor service used by this async client to execute requests.

shutdown

public void shutdown()
Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should call getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to calling this method.

Specified by:
shutdown in interface AWSOpsWorks
Overrides:
shutdown in class AmazonWebServiceClient

deregisterRdsDbInstanceAsync

public Future<Void> deregisterRdsDbInstanceAsync(DeregisterRdsDbInstanceRequest deregisterRdsDbInstanceRequest)
                                          throws AmazonServiceException,
                                                 AmazonClientException

Deregisters an Amazon RDS instance.

Specified by:
deregisterRdsDbInstanceAsync in interface AWSOpsWorksAsync
Parameters:
deregisterRdsDbInstanceRequest - Container for the necessary parameters to execute the DeregisterRdsDbInstance operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DeregisterRdsDbInstance service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

deregisterRdsDbInstanceAsync

public Future<Void> deregisterRdsDbInstanceAsync(DeregisterRdsDbInstanceRequest deregisterRdsDbInstanceRequest,
                                                 AsyncHandler<DeregisterRdsDbInstanceRequest,Void> asyncHandler)
                                          throws AmazonServiceException,
                                                 AmazonClientException

Deregisters an Amazon RDS instance.

Specified by:
deregisterRdsDbInstanceAsync in interface AWSOpsWorksAsync
Parameters:
deregisterRdsDbInstanceRequest - Container for the necessary parameters to execute the DeregisterRdsDbInstance operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeregisterRdsDbInstance service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

registerRdsDbInstanceAsync

public Future<Void> registerRdsDbInstanceAsync(RegisterRdsDbInstanceRequest registerRdsDbInstanceRequest)
                                        throws AmazonServiceException,
                                               AmazonClientException

Registers an Amazon RDS instance with a stack.

Specified by:
registerRdsDbInstanceAsync in interface AWSOpsWorksAsync
Parameters:
registerRdsDbInstanceRequest - Container for the necessary parameters to execute the RegisterRdsDbInstance operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the RegisterRdsDbInstance service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

registerRdsDbInstanceAsync

public Future<Void> registerRdsDbInstanceAsync(RegisterRdsDbInstanceRequest registerRdsDbInstanceRequest,
                                               AsyncHandler<RegisterRdsDbInstanceRequest,Void> asyncHandler)
                                        throws AmazonServiceException,
                                               AmazonClientException

Registers an Amazon RDS instance with a stack.

Specified by:
registerRdsDbInstanceAsync in interface AWSOpsWorksAsync
Parameters:
registerRdsDbInstanceRequest - Container for the necessary parameters to execute the RegisterRdsDbInstance operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the RegisterRdsDbInstance service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

updateMyUserProfileAsync

public Future<Void> updateMyUserProfileAsync(UpdateMyUserProfileRequest updateMyUserProfileRequest)
                                      throws AmazonServiceException,
                                             AmazonClientException

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 on user permissions, see Managing User Permissions .

Specified by:
updateMyUserProfileAsync in interface AWSOpsWorksAsync
Parameters:
updateMyUserProfileRequest - Container for the necessary parameters to execute the UpdateMyUserProfile operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the UpdateMyUserProfile service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

updateMyUserProfileAsync

public Future<Void> updateMyUserProfileAsync(UpdateMyUserProfileRequest updateMyUserProfileRequest,
                                             AsyncHandler<UpdateMyUserProfileRequest,Void> asyncHandler)
                                      throws AmazonServiceException,
                                             AmazonClientException

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 on user permissions, see Managing User Permissions .

Specified by:
updateMyUserProfileAsync in interface AWSOpsWorksAsync
Parameters:
updateMyUserProfileRequest - Container for the necessary parameters to execute the UpdateMyUserProfile operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateMyUserProfile service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

deregisterVolumeAsync

public Future<Void> deregisterVolumeAsync(DeregisterVolumeRequest deregisterVolumeRequest)
                                   throws AmazonServiceException,
                                          AmazonClientException

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 .

Specified by:
deregisterVolumeAsync in interface AWSOpsWorksAsync
Parameters:
deregisterVolumeRequest - Container for the necessary parameters to execute the DeregisterVolume operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DeregisterVolume service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

deregisterVolumeAsync

public Future<Void> deregisterVolumeAsync(DeregisterVolumeRequest deregisterVolumeRequest,
                                          AsyncHandler<DeregisterVolumeRequest,Void> asyncHandler)
                                   throws AmazonServiceException,
                                          AmazonClientException

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 .

Specified by:
deregisterVolumeAsync in interface AWSOpsWorksAsync
Parameters:
deregisterVolumeRequest - Container for the necessary parameters to execute the DeregisterVolume operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeregisterVolume service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

setPermissionAsync

public Future<Void> setPermissionAsync(SetPermissionRequest setPermissionRequest)
                                throws AmazonServiceException,
                                       AmazonClientException

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 .

Specified by:
setPermissionAsync in interface AWSOpsWorksAsync
Parameters:
setPermissionRequest - Container for the necessary parameters to execute the SetPermission operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the SetPermission service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

setPermissionAsync

public Future<Void> setPermissionAsync(SetPermissionRequest setPermissionRequest,
                                       AsyncHandler<SetPermissionRequest,Void> asyncHandler)
                                throws AmazonServiceException,
                                       AmazonClientException

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 .

Specified by:
setPermissionAsync in interface AWSOpsWorksAsync
Parameters:
setPermissionRequest - Container for the necessary parameters to execute the SetPermission operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the SetPermission service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeInstancesAsync

public Future<DescribeInstancesResult> describeInstancesAsync(DescribeInstancesRequest describeInstancesRequest)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

Requests a description of a set of instances.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeInstancesAsync in interface AWSOpsWorksAsync
Parameters:
describeInstancesRequest - Container for the necessary parameters to execute the DescribeInstances operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DescribeInstances service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeInstancesAsync

public Future<DescribeInstancesResult> describeInstancesAsync(DescribeInstancesRequest describeInstancesRequest,
                                                              AsyncHandler<DescribeInstancesRequest,DescribeInstancesResult> asyncHandler)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

Requests a description of a set of instances.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeInstancesAsync in interface AWSOpsWorksAsync
Parameters:
describeInstancesRequest - Container for the necessary parameters to execute the DescribeInstances operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeInstances service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describePermissionsAsync

public Future<DescribePermissionsResult> describePermissionsAsync(DescribePermissionsRequest describePermissionsRequest)
                                                           throws AmazonServiceException,
                                                                  AmazonClientException

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 .

Specified by:
describePermissionsAsync in interface AWSOpsWorksAsync
Parameters:
describePermissionsRequest - Container for the necessary parameters to execute the DescribePermissions operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DescribePermissions service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describePermissionsAsync

public Future<DescribePermissionsResult> describePermissionsAsync(DescribePermissionsRequest describePermissionsRequest,
                                                                  AsyncHandler<DescribePermissionsRequest,DescribePermissionsResult> asyncHandler)
                                                           throws AmazonServiceException,
                                                                  AmazonClientException

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 .

Specified by:
describePermissionsAsync in interface AWSOpsWorksAsync
Parameters:
describePermissionsRequest - Container for the necessary parameters to execute the DescribePermissions operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribePermissions service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

deleteInstanceAsync

public Future<Void> deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest)
                                 throws AmazonServiceException,
                                        AmazonClientException

Deletes a specified 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 .

Specified by:
deleteInstanceAsync in interface AWSOpsWorksAsync
Parameters:
deleteInstanceRequest - Container for the necessary parameters to execute the DeleteInstance operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DeleteInstance service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

deleteInstanceAsync

public Future<Void> deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest,
                                        AsyncHandler<DeleteInstanceRequest,Void> asyncHandler)
                                 throws AmazonServiceException,
                                        AmazonClientException

Deletes a specified 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 .

Specified by:
deleteInstanceAsync in interface AWSOpsWorksAsync
Parameters:
deleteInstanceRequest - Container for the necessary parameters to execute the DeleteInstance operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteInstance service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

cloneStackAsync

public Future<CloneStackResult> cloneStackAsync(CloneStackRequest cloneStackRequest)
                                         throws AmazonServiceException,
                                                AmazonClientException

Creates a clone of a specified stack. For more information, see Clone a Stack .

Required Permissions : To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

Specified by:
cloneStackAsync in interface AWSOpsWorksAsync
Parameters:
cloneStackRequest - Container for the necessary parameters to execute the CloneStack operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the CloneStack service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

cloneStackAsync

public Future<CloneStackResult> cloneStackAsync(CloneStackRequest cloneStackRequest,
                                                AsyncHandler<CloneStackRequest,CloneStackResult> asyncHandler)
                                         throws AmazonServiceException,
                                                AmazonClientException

Creates a clone of a specified stack. For more information, see Clone a Stack .

Required Permissions : To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

Specified by:
cloneStackAsync in interface AWSOpsWorksAsync
Parameters:
cloneStackRequest - Container for the necessary parameters to execute the CloneStack operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CloneStack service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

detachElasticLoadBalancerAsync

public Future<Void> detachElasticLoadBalancerAsync(DetachElasticLoadBalancerRequest detachElasticLoadBalancerRequest)
                                            throws AmazonServiceException,
                                                   AmazonClientException

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 .

Specified by:
detachElasticLoadBalancerAsync in interface AWSOpsWorksAsync
Parameters:
detachElasticLoadBalancerRequest - Container for the necessary parameters to execute the DetachElasticLoadBalancer operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DetachElasticLoadBalancer service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

detachElasticLoadBalancerAsync

public Future<Void> detachElasticLoadBalancerAsync(DetachElasticLoadBalancerRequest detachElasticLoadBalancerRequest,
                                                   AsyncHandler<DetachElasticLoadBalancerRequest,Void> asyncHandler)
                                            throws AmazonServiceException,
                                                   AmazonClientException

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 .

Specified by:
detachElasticLoadBalancerAsync in interface AWSOpsWorksAsync
Parameters:
detachElasticLoadBalancerRequest - Container for the necessary parameters to execute the DetachElasticLoadBalancer operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DetachElasticLoadBalancer service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

stopInstanceAsync

public Future<Void> stopInstanceAsync(StopInstanceRequest stopInstanceRequest)
                               throws AmazonServiceException,
                                      AmazonClientException

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 .

Specified by:
stopInstanceAsync in interface AWSOpsWorksAsync
Parameters:
stopInstanceRequest - Container for the necessary parameters to execute the StopInstance operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the StopInstance service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

stopInstanceAsync

public Future<Void> stopInstanceAsync(StopInstanceRequest stopInstanceRequest,
                                      AsyncHandler<StopInstanceRequest,Void> asyncHandler)
                               throws AmazonServiceException,
                                      AmazonClientException

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 .

Specified by:
stopInstanceAsync in interface AWSOpsWorksAsync
Parameters:
stopInstanceRequest - Container for the necessary parameters to execute the StopInstance operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the StopInstance service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

updateAppAsync

public Future<Void> updateAppAsync(UpdateAppRequest updateAppRequest)
                            throws AmazonServiceException,
                                   AmazonClientException

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 .

Specified by:
updateAppAsync in interface AWSOpsWorksAsync
Parameters:
updateAppRequest - Container for the necessary parameters to execute the UpdateApp operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the UpdateApp service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

updateAppAsync

public Future<Void> updateAppAsync(UpdateAppRequest updateAppRequest,
                                   AsyncHandler<UpdateAppRequest,Void> asyncHandler)
                            throws AmazonServiceException,
                                   AmazonClientException

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 .

Specified by:
updateAppAsync in interface AWSOpsWorksAsync
Parameters:
updateAppRequest - Container for the necessary parameters to execute the UpdateApp operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateApp service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeRdsDbInstancesAsync

public Future<DescribeRdsDbInstancesResult> describeRdsDbInstancesAsync(DescribeRdsDbInstancesRequest describeRdsDbInstancesRequest)
                                                                 throws AmazonServiceException,
                                                                        AmazonClientException

Describes Amazon RDS instances.

Specified by:
describeRdsDbInstancesAsync in interface AWSOpsWorksAsync
Parameters:
describeRdsDbInstancesRequest - Container for the necessary parameters to execute the DescribeRdsDbInstances operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DescribeRdsDbInstances service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeRdsDbInstancesAsync

public Future<DescribeRdsDbInstancesResult> describeRdsDbInstancesAsync(DescribeRdsDbInstancesRequest describeRdsDbInstancesRequest,
                                                                        AsyncHandler<DescribeRdsDbInstancesRequest,DescribeRdsDbInstancesResult> asyncHandler)
                                                                 throws AmazonServiceException,
                                                                        AmazonClientException

Describes Amazon RDS instances.

Specified by:
describeRdsDbInstancesAsync in interface AWSOpsWorksAsync
Parameters:
describeRdsDbInstancesRequest - Container for the necessary parameters to execute the DescribeRdsDbInstances operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeRdsDbInstances service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeCommandsAsync

public Future<DescribeCommandsResult> describeCommandsAsync(DescribeCommandsRequest describeCommandsRequest)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Describes the results of specified commands.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeCommandsAsync in interface AWSOpsWorksAsync
Parameters:
describeCommandsRequest - Container for the necessary parameters to execute the DescribeCommands operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DescribeCommands service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeCommandsAsync

public Future<DescribeCommandsResult> describeCommandsAsync(DescribeCommandsRequest describeCommandsRequest,
                                                            AsyncHandler<DescribeCommandsRequest,DescribeCommandsResult> asyncHandler)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Describes the results of specified commands.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeCommandsAsync in interface AWSOpsWorksAsync
Parameters:
describeCommandsRequest - Container for the necessary parameters to execute the DescribeCommands operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeCommands service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

associateElasticIpAsync

public Future<Void> associateElasticIpAsync(AssociateElasticIpRequest associateElasticIpRequest)
                                     throws AmazonServiceException,
                                            AmazonClientException

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 .

Specified by:
associateElasticIpAsync in interface AWSOpsWorksAsync
Parameters:
associateElasticIpRequest - Container for the necessary parameters to execute the AssociateElasticIp operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the AssociateElasticIp service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

associateElasticIpAsync

public Future<Void> associateElasticIpAsync(AssociateElasticIpRequest associateElasticIpRequest,
                                            AsyncHandler<AssociateElasticIpRequest,Void> asyncHandler)
                                     throws AmazonServiceException,
                                            AmazonClientException

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 .

Specified by:
associateElasticIpAsync in interface AWSOpsWorksAsync
Parameters:
associateElasticIpRequest - Container for the necessary parameters to execute the AssociateElasticIp operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the AssociateElasticIp service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

unassignVolumeAsync

public Future<Void> unassignVolumeAsync(UnassignVolumeRequest unassignVolumeRequest)
                                 throws AmazonServiceException,
                                        AmazonClientException

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 .

Specified by:
unassignVolumeAsync in interface AWSOpsWorksAsync
Parameters:
unassignVolumeRequest - Container for the necessary parameters to execute the UnassignVolume operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the UnassignVolume service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

unassignVolumeAsync

public Future<Void> unassignVolumeAsync(UnassignVolumeRequest unassignVolumeRequest,
                                        AsyncHandler<UnassignVolumeRequest,Void> asyncHandler)
                                 throws AmazonServiceException,
                                        AmazonClientException

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 .

Specified by:
unassignVolumeAsync in interface AWSOpsWorksAsync
Parameters:
unassignVolumeRequest - Container for the necessary parameters to execute the UnassignVolume operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UnassignVolume service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeRaidArraysAsync

public Future<DescribeRaidArraysResult> describeRaidArraysAsync(DescribeRaidArraysRequest describeRaidArraysRequest)
                                                         throws AmazonServiceException,
                                                                AmazonClientException

Describe an instance's RAID arrays.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeRaidArraysAsync in interface AWSOpsWorksAsync
Parameters:
describeRaidArraysRequest - Container for the necessary parameters to execute the DescribeRaidArrays operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DescribeRaidArrays service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeRaidArraysAsync

public Future<DescribeRaidArraysResult> describeRaidArraysAsync(DescribeRaidArraysRequest describeRaidArraysRequest,
                                                                AsyncHandler<DescribeRaidArraysRequest,DescribeRaidArraysResult> asyncHandler)
                                                         throws AmazonServiceException,
                                                                AmazonClientException

Describe an instance's RAID arrays.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeRaidArraysAsync in interface AWSOpsWorksAsync
Parameters:
describeRaidArraysRequest - Container for the necessary parameters to execute the DescribeRaidArrays operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeRaidArrays service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

getHostnameSuggestionAsync

public Future<GetHostnameSuggestionResult> getHostnameSuggestionAsync(GetHostnameSuggestionRequest getHostnameSuggestionRequest)
                                                               throws AmazonServiceException,
                                                                      AmazonClientException

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 .

Specified by:
getHostnameSuggestionAsync in interface AWSOpsWorksAsync
Parameters:
getHostnameSuggestionRequest - Container for the necessary parameters to execute the GetHostnameSuggestion operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the GetHostnameSuggestion service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

getHostnameSuggestionAsync

public Future<GetHostnameSuggestionResult> getHostnameSuggestionAsync(GetHostnameSuggestionRequest getHostnameSuggestionRequest,
                                                                      AsyncHandler<GetHostnameSuggestionRequest,GetHostnameSuggestionResult> asyncHandler)
                                                               throws AmazonServiceException,
                                                                      AmazonClientException

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 .

Specified by:
getHostnameSuggestionAsync in interface AWSOpsWorksAsync
Parameters:
getHostnameSuggestionRequest - Container for the necessary parameters to execute the GetHostnameSuggestion operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetHostnameSuggestion service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

setLoadBasedAutoScalingAsync

public Future<Void> setLoadBasedAutoScalingAsync(SetLoadBasedAutoScalingRequest setLoadBasedAutoScalingRequest)
                                          throws AmazonServiceException,
                                                 AmazonClientException

Specify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with Time-based and Load-based Instances .

NOTE: 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 .

Specified by:
setLoadBasedAutoScalingAsync in interface AWSOpsWorksAsync
Parameters:
setLoadBasedAutoScalingRequest - Container for the necessary parameters to execute the SetLoadBasedAutoScaling operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the SetLoadBasedAutoScaling service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

setLoadBasedAutoScalingAsync

public Future<Void> setLoadBasedAutoScalingAsync(SetLoadBasedAutoScalingRequest setLoadBasedAutoScalingRequest,
                                                 AsyncHandler<SetLoadBasedAutoScalingRequest,Void> asyncHandler)
                                          throws AmazonServiceException,
                                                 AmazonClientException

Specify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with Time-based and Load-based Instances .

NOTE: 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 .

Specified by:
setLoadBasedAutoScalingAsync in interface AWSOpsWorksAsync
Parameters:
setLoadBasedAutoScalingRequest - Container for the necessary parameters to execute the SetLoadBasedAutoScaling operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the SetLoadBasedAutoScaling service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeVolumesAsync

public Future<DescribeVolumesResult> describeVolumesAsync(DescribeVolumesRequest describeVolumesRequest)
                                                   throws AmazonServiceException,
                                                          AmazonClientException

Describes an instance's Amazon EBS volumes.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeVolumesAsync in interface AWSOpsWorksAsync
Parameters:
describeVolumesRequest - Container for the necessary parameters to execute the DescribeVolumes operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DescribeVolumes service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeVolumesAsync

public Future<DescribeVolumesResult> describeVolumesAsync(DescribeVolumesRequest describeVolumesRequest,
                                                          AsyncHandler<DescribeVolumesRequest,DescribeVolumesResult> asyncHandler)
                                                   throws AmazonServiceException,
                                                          AmazonClientException

Describes an instance's Amazon EBS volumes.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeVolumesAsync in interface AWSOpsWorksAsync
Parameters:
describeVolumesRequest - Container for the necessary parameters to execute the DescribeVolumes operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeVolumes service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

assignVolumeAsync

public Future<Void> assignVolumeAsync(AssignVolumeRequest assignVolumeRequest)
                               throws AmazonServiceException,
                                      AmazonClientException

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. 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 .

Specified by:
assignVolumeAsync in interface AWSOpsWorksAsync
Parameters:
assignVolumeRequest - Container for the necessary parameters to execute the AssignVolume operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the AssignVolume service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

assignVolumeAsync

public Future<Void> assignVolumeAsync(AssignVolumeRequest assignVolumeRequest,
                                      AsyncHandler<AssignVolumeRequest,Void> asyncHandler)
                               throws AmazonServiceException,
                                      AmazonClientException

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. 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 .

Specified by:
assignVolumeAsync in interface AWSOpsWorksAsync
Parameters:
assignVolumeRequest - Container for the necessary parameters to execute the AssignVolume operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the AssignVolume service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeServiceErrorsAsync

public Future<DescribeServiceErrorsResult> describeServiceErrorsAsync(DescribeServiceErrorsRequest describeServiceErrorsRequest)
                                                               throws AmazonServiceException,
                                                                      AmazonClientException

Describes AWS OpsWorks 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 on user permissions, see Managing User Permissions .

Specified by:
describeServiceErrorsAsync in interface AWSOpsWorksAsync
Parameters:
describeServiceErrorsRequest - Container for the necessary parameters to execute the DescribeServiceErrors operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DescribeServiceErrors service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeServiceErrorsAsync

public Future<DescribeServiceErrorsResult> describeServiceErrorsAsync(DescribeServiceErrorsRequest describeServiceErrorsRequest,
                                                                      AsyncHandler<DescribeServiceErrorsRequest,DescribeServiceErrorsResult> asyncHandler)
                                                               throws AmazonServiceException,
                                                                      AmazonClientException

Describes AWS OpsWorks 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 on user permissions, see Managing User Permissions .

Specified by:
describeServiceErrorsAsync in interface AWSOpsWorksAsync
Parameters:
describeServiceErrorsRequest - Container for the necessary parameters to execute the DescribeServiceErrors operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeServiceErrors service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

updateLayerAsync

public Future<Void> updateLayerAsync(UpdateLayerRequest updateLayerRequest)
                              throws AmazonServiceException,
                                     AmazonClientException

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 .

Specified by:
updateLayerAsync in interface AWSOpsWorksAsync
Parameters:
updateLayerRequest - Container for the necessary parameters to execute the UpdateLayer operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the UpdateLayer service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

updateLayerAsync

public Future<Void> updateLayerAsync(UpdateLayerRequest updateLayerRequest,
                                     AsyncHandler<UpdateLayerRequest,Void> asyncHandler)
                              throws AmazonServiceException,
                                     AmazonClientException

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 .

Specified by:
updateLayerAsync in interface AWSOpsWorksAsync
Parameters:
updateLayerRequest - Container for the necessary parameters to execute the UpdateLayer operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateLayer service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

updateElasticIpAsync

public Future<Void> updateElasticIpAsync(UpdateElasticIpRequest updateElasticIpRequest)
                                  throws AmazonServiceException,
                                         AmazonClientException

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 .

Specified by:
updateElasticIpAsync in interface AWSOpsWorksAsync
Parameters:
updateElasticIpRequest - Container for the necessary parameters to execute the UpdateElasticIp operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the UpdateElasticIp service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

updateElasticIpAsync

public Future<Void> updateElasticIpAsync(UpdateElasticIpRequest updateElasticIpRequest,
                                         AsyncHandler<UpdateElasticIpRequest,Void> asyncHandler)
                                  throws AmazonServiceException,
                                         AmazonClientException

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 .

Specified by:
updateElasticIpAsync in interface AWSOpsWorksAsync
Parameters:
updateElasticIpRequest - Container for the necessary parameters to execute the UpdateElasticIp operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateElasticIp service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

startInstanceAsync

public Future<Void> startInstanceAsync(StartInstanceRequest startInstanceRequest)
                                throws AmazonServiceException,
                                       AmazonClientException

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 .

Specified by:
startInstanceAsync in interface AWSOpsWorksAsync
Parameters:
startInstanceRequest - Container for the necessary parameters to execute the StartInstance operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the StartInstance service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

startInstanceAsync

public Future<Void> startInstanceAsync(StartInstanceRequest startInstanceRequest,
                                       AsyncHandler<StartInstanceRequest,Void> asyncHandler)
                                throws AmazonServiceException,
                                       AmazonClientException

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 .

Specified by:
startInstanceAsync in interface AWSOpsWorksAsync
Parameters:
startInstanceRequest - Container for the necessary parameters to execute the StartInstance operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the StartInstance service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

createLayerAsync

public Future<CreateLayerResult> createLayerAsync(CreateLayerRequest createLayerRequest)
                                           throws AmazonServiceException,
                                                  AmazonClientException

Creates a layer. For more information, see How to Create a Layer .

NOTE: 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 .

Specified by:
createLayerAsync in interface AWSOpsWorksAsync
Parameters:
createLayerRequest - Container for the necessary parameters to execute the CreateLayer operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the CreateLayer service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

createLayerAsync

public Future<CreateLayerResult> createLayerAsync(CreateLayerRequest createLayerRequest,
                                                  AsyncHandler<CreateLayerRequest,CreateLayerResult> asyncHandler)
                                           throws AmazonServiceException,
                                                  AmazonClientException

Creates a layer. For more information, see How to Create a Layer .

NOTE: 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 .

Specified by:
createLayerAsync in interface AWSOpsWorksAsync
Parameters:
createLayerRequest - Container for the necessary parameters to execute the CreateLayer operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateLayer service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

disassociateElasticIpAsync

public Future<Void> disassociateElasticIpAsync(DisassociateElasticIpRequest disassociateElasticIpRequest)
                                        throws AmazonServiceException,
                                               AmazonClientException

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 .

Specified by:
disassociateElasticIpAsync in interface AWSOpsWorksAsync
Parameters:
disassociateElasticIpRequest - Container for the necessary parameters to execute the DisassociateElasticIp operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DisassociateElasticIp service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

disassociateElasticIpAsync

public Future<Void> disassociateElasticIpAsync(DisassociateElasticIpRequest disassociateElasticIpRequest,
                                               AsyncHandler<DisassociateElasticIpRequest,Void> asyncHandler)
                                        throws AmazonServiceException,
                                               AmazonClientException

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 .

Specified by:
disassociateElasticIpAsync in interface AWSOpsWorksAsync
Parameters:
disassociateElasticIpRequest - Container for the necessary parameters to execute the DisassociateElasticIp operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DisassociateElasticIp service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

deleteStackAsync

public Future<Void> deleteStackAsync(DeleteStackRequest deleteStackRequest)
                              throws AmazonServiceException,
                                     AmazonClientException

Deletes a specified stack. You must first delete all instances, layers, and apps. 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 .

Specified by:
deleteStackAsync in interface AWSOpsWorksAsync
Parameters:
deleteStackRequest - Container for the necessary parameters to execute the DeleteStack operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DeleteStack service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

deleteStackAsync

public Future<Void> deleteStackAsync(DeleteStackRequest deleteStackRequest,
                                     AsyncHandler<DeleteStackRequest,Void> asyncHandler)
                              throws AmazonServiceException,
                                     AmazonClientException

Deletes a specified stack. You must first delete all instances, layers, and apps. 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 .

Specified by:
deleteStackAsync in interface AWSOpsWorksAsync
Parameters:
deleteStackRequest - Container for the necessary parameters to execute the DeleteStack operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteStack service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

startStackAsync

public Future<Void> startStackAsync(StartStackRequest startStackRequest)
                             throws AmazonServiceException,
                                    AmazonClientException

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 .

Specified by:
startStackAsync in interface AWSOpsWorksAsync
Parameters:
startStackRequest - Container for the necessary parameters to execute the StartStack operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the StartStack service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

startStackAsync

public Future<Void> startStackAsync(StartStackRequest startStackRequest,
                                    AsyncHandler<StartStackRequest,Void> asyncHandler)
                             throws AmazonServiceException,
                                    AmazonClientException

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 .

Specified by:
startStackAsync in interface AWSOpsWorksAsync
Parameters:
startStackRequest - Container for the necessary parameters to execute the StartStack operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the StartStack service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

registerVolumeAsync

public Future<RegisterVolumeResult> registerVolumeAsync(RegisterVolumeRequest registerVolumeRequest)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

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 .

Specified by:
registerVolumeAsync in interface AWSOpsWorksAsync
Parameters:
registerVolumeRequest - Container for the necessary parameters to execute the RegisterVolume operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the RegisterVolume service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

registerVolumeAsync

public Future<RegisterVolumeResult> registerVolumeAsync(RegisterVolumeRequest registerVolumeRequest,
                                                        AsyncHandler<RegisterVolumeRequest,RegisterVolumeResult> asyncHandler)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

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 .

Specified by:
registerVolumeAsync in interface AWSOpsWorksAsync
Parameters:
registerVolumeRequest - Container for the necessary parameters to execute the RegisterVolume operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the RegisterVolume service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

updateRdsDbInstanceAsync

public Future<Void> updateRdsDbInstanceAsync(UpdateRdsDbInstanceRequest updateRdsDbInstanceRequest)
                                      throws AmazonServiceException,
                                             AmazonClientException

Updates an Amazon RDS instance.

Specified by:
updateRdsDbInstanceAsync in interface AWSOpsWorksAsync
Parameters:
updateRdsDbInstanceRequest - Container for the necessary parameters to execute the UpdateRdsDbInstance operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the UpdateRdsDbInstance service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

updateRdsDbInstanceAsync

public Future<Void> updateRdsDbInstanceAsync(UpdateRdsDbInstanceRequest updateRdsDbInstanceRequest,
                                             AsyncHandler<UpdateRdsDbInstanceRequest,Void> asyncHandler)
                                      throws AmazonServiceException,
                                             AmazonClientException

Updates an Amazon RDS instance.

Specified by:
updateRdsDbInstanceAsync in interface AWSOpsWorksAsync
Parameters:
updateRdsDbInstanceRequest - Container for the necessary parameters to execute the UpdateRdsDbInstance operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateRdsDbInstance service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

updateUserProfileAsync

public Future<Void> updateUserProfileAsync(UpdateUserProfileRequest updateUserProfileRequest)
                                    throws AmazonServiceException,
                                           AmazonClientException

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 on user permissions, see Managing User Permissions .

Specified by:
updateUserProfileAsync in interface AWSOpsWorksAsync
Parameters:
updateUserProfileRequest - Container for the necessary parameters to execute the UpdateUserProfile operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the UpdateUserProfile service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

updateUserProfileAsync

public Future<Void> updateUserProfileAsync(UpdateUserProfileRequest updateUserProfileRequest,
                                           AsyncHandler<UpdateUserProfileRequest,Void> asyncHandler)
                                    throws AmazonServiceException,
                                           AmazonClientException

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 on user permissions, see Managing User Permissions .

Specified by:
updateUserProfileAsync in interface AWSOpsWorksAsync
Parameters:
updateUserProfileRequest - Container for the necessary parameters to execute the UpdateUserProfile operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateUserProfile service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

rebootInstanceAsync

public Future<Void> rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest)
                                 throws AmazonServiceException,
                                        AmazonClientException

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 .

Specified by:
rebootInstanceAsync in interface AWSOpsWorksAsync
Parameters:
rebootInstanceRequest - Container for the necessary parameters to execute the RebootInstance operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the RebootInstance service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

rebootInstanceAsync

public Future<Void> rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest,
                                        AsyncHandler<RebootInstanceRequest,Void> asyncHandler)
                                 throws AmazonServiceException,
                                        AmazonClientException

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 .

Specified by:
rebootInstanceAsync in interface AWSOpsWorksAsync
Parameters:
rebootInstanceRequest - Container for the necessary parameters to execute the RebootInstance operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the RebootInstance service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

createStackAsync

public Future<CreateStackResult> createStackAsync(CreateStackRequest createStackRequest)
                                           throws AmazonServiceException,
                                                  AmazonClientException

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 on user permissions, see Managing User Permissions .

Specified by:
createStackAsync in interface AWSOpsWorksAsync
Parameters:
createStackRequest - Container for the necessary parameters to execute the CreateStack operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the CreateStack service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

createStackAsync

public Future<CreateStackResult> createStackAsync(CreateStackRequest createStackRequest,
                                                  AsyncHandler<CreateStackRequest,CreateStackResult> asyncHandler)
                                           throws AmazonServiceException,
                                                  AmazonClientException

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 on user permissions, see Managing User Permissions .

Specified by:
createStackAsync in interface AWSOpsWorksAsync
Parameters:
createStackRequest - Container for the necessary parameters to execute the CreateStack operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateStack service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

createInstanceAsync

public Future<CreateInstanceResult> createInstanceAsync(CreateInstanceRequest createInstanceRequest)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

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 .

Specified by:
createInstanceAsync in interface AWSOpsWorksAsync
Parameters:
createInstanceRequest - Container for the necessary parameters to execute the CreateInstance operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the CreateInstance service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

createInstanceAsync

public Future<CreateInstanceResult> createInstanceAsync(CreateInstanceRequest createInstanceRequest,
                                                        AsyncHandler<CreateInstanceRequest,CreateInstanceResult> asyncHandler)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

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 .

Specified by:
createInstanceAsync in interface AWSOpsWorksAsync
Parameters:
createInstanceRequest - Container for the necessary parameters to execute the CreateInstance operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateInstance service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

deleteAppAsync

public Future<Void> deleteAppAsync(DeleteAppRequest deleteAppRequest)
                            throws AmazonServiceException,
                                   AmazonClientException

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 .

Specified by:
deleteAppAsync in interface AWSOpsWorksAsync
Parameters:
deleteAppRequest - Container for the necessary parameters to execute the DeleteApp operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DeleteApp service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

deleteAppAsync

public Future<Void> deleteAppAsync(DeleteAppRequest deleteAppRequest,
                                   AsyncHandler<DeleteAppRequest,Void> asyncHandler)
                            throws AmazonServiceException,
                                   AmazonClientException

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 .

Specified by:
deleteAppAsync in interface AWSOpsWorksAsync
Parameters:
deleteAppRequest - Container for the necessary parameters to execute the DeleteApp operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteApp service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

deregisterElasticIpAsync

public Future<Void> deregisterElasticIpAsync(DeregisterElasticIpRequest deregisterElasticIpRequest)
                                      throws AmazonServiceException,
                                             AmazonClientException

Deregisters a specified Elastic IP address. The address 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 .

Specified by:
deregisterElasticIpAsync in interface AWSOpsWorksAsync
Parameters:
deregisterElasticIpRequest - Container for the necessary parameters to execute the DeregisterElasticIp operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DeregisterElasticIp service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

deregisterElasticIpAsync

public Future<Void> deregisterElasticIpAsync(DeregisterElasticIpRequest deregisterElasticIpRequest,
                                             AsyncHandler<DeregisterElasticIpRequest,Void> asyncHandler)
                                      throws AmazonServiceException,
                                             AmazonClientException

Deregisters a specified Elastic IP address. The address 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 .

Specified by:
deregisterElasticIpAsync in interface AWSOpsWorksAsync
Parameters:
deregisterElasticIpRequest - Container for the necessary parameters to execute the DeregisterElasticIp operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeregisterElasticIp service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

attachElasticLoadBalancerAsync

public Future<Void> attachElasticLoadBalancerAsync(AttachElasticLoadBalancerRequest attachElasticLoadBalancerRequest)
                                            throws AmazonServiceException,
                                                   AmazonClientException

Attaches an Elastic Load Balancing load balancer to a specified layer. For more information, see Elastic Load Balancing .

NOTE: You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API, or CLI. For more information, see 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 .

Specified by:
attachElasticLoadBalancerAsync in interface AWSOpsWorksAsync
Parameters:
attachElasticLoadBalancerRequest - Container for the necessary parameters to execute the AttachElasticLoadBalancer operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the AttachElasticLoadBalancer service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

attachElasticLoadBalancerAsync

public Future<Void> attachElasticLoadBalancerAsync(AttachElasticLoadBalancerRequest attachElasticLoadBalancerRequest,
                                                   AsyncHandler<AttachElasticLoadBalancerRequest,Void> asyncHandler)
                                            throws AmazonServiceException,
                                                   AmazonClientException

Attaches an Elastic Load Balancing load balancer to a specified layer. For more information, see Elastic Load Balancing .

NOTE: You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API, or CLI. For more information, see 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 .

Specified by:
attachElasticLoadBalancerAsync in interface AWSOpsWorksAsync
Parameters:
attachElasticLoadBalancerRequest - Container for the necessary parameters to execute the AttachElasticLoadBalancer operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the AttachElasticLoadBalancer service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

updateStackAsync

public Future<Void> updateStackAsync(UpdateStackRequest updateStackRequest)
                              throws AmazonServiceException,
                                     AmazonClientException

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 .

Specified by:
updateStackAsync in interface AWSOpsWorksAsync
Parameters:
updateStackRequest - Container for the necessary parameters to execute the UpdateStack operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the UpdateStack service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

updateStackAsync

public Future<Void> updateStackAsync(UpdateStackRequest updateStackRequest,
                                     AsyncHandler<UpdateStackRequest,Void> asyncHandler)
                              throws AmazonServiceException,
                                     AmazonClientException

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 .

Specified by:
updateStackAsync in interface AWSOpsWorksAsync
Parameters:
updateStackRequest - Container for the necessary parameters to execute the UpdateStack operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateStack service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

createUserProfileAsync

public Future<CreateUserProfileResult> createUserProfileAsync(CreateUserProfileRequest createUserProfileRequest)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

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 on user permissions, see Managing User Permissions .

Specified by:
createUserProfileAsync in interface AWSOpsWorksAsync
Parameters:
createUserProfileRequest - Container for the necessary parameters to execute the CreateUserProfile operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the CreateUserProfile service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

createUserProfileAsync

public Future<CreateUserProfileResult> createUserProfileAsync(CreateUserProfileRequest createUserProfileRequest,
                                                              AsyncHandler<CreateUserProfileRequest,CreateUserProfileResult> asyncHandler)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

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 on user permissions, see Managing User Permissions .

Specified by:
createUserProfileAsync in interface AWSOpsWorksAsync
Parameters:
createUserProfileRequest - Container for the necessary parameters to execute the CreateUserProfile operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateUserProfile service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeLayersAsync

public Future<DescribeLayersResult> describeLayersAsync(DescribeLayersRequest describeLayersRequest)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

Requests a description of one or more layers in a specified stack.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeLayersAsync in interface AWSOpsWorksAsync
Parameters:
describeLayersRequest - Container for the necessary parameters to execute the DescribeLayers operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DescribeLayers service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeLayersAsync

public Future<DescribeLayersResult> describeLayersAsync(DescribeLayersRequest describeLayersRequest,
                                                        AsyncHandler<DescribeLayersRequest,DescribeLayersResult> asyncHandler)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

Requests a description of one or more layers in a specified stack.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeLayersAsync in interface AWSOpsWorksAsync
Parameters:
describeLayersRequest - Container for the necessary parameters to execute the DescribeLayers operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeLayers service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeLoadBasedAutoScalingAsync

public Future<DescribeLoadBasedAutoScalingResult> describeLoadBasedAutoScalingAsync(DescribeLoadBasedAutoScalingRequest describeLoadBasedAutoScalingRequest)
                                                                             throws AmazonServiceException,
                                                                                    AmazonClientException

Describes load-based auto scaling configurations for specified layers.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeLoadBasedAutoScalingAsync in interface AWSOpsWorksAsync
Parameters:
describeLoadBasedAutoScalingRequest - Container for the necessary parameters to execute the DescribeLoadBasedAutoScaling operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DescribeLoadBasedAutoScaling service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeLoadBasedAutoScalingAsync

public Future<DescribeLoadBasedAutoScalingResult> describeLoadBasedAutoScalingAsync(DescribeLoadBasedAutoScalingRequest describeLoadBasedAutoScalingRequest,
                                                                                    AsyncHandler<DescribeLoadBasedAutoScalingRequest,DescribeLoadBasedAutoScalingResult> asyncHandler)
                                                                             throws AmazonServiceException,
                                                                                    AmazonClientException

Describes load-based auto scaling configurations for specified layers.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeLoadBasedAutoScalingAsync in interface AWSOpsWorksAsync
Parameters:
describeLoadBasedAutoScalingRequest - Container for the necessary parameters to execute the DescribeLoadBasedAutoScaling operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeLoadBasedAutoScaling service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeElasticLoadBalancersAsync

public Future<DescribeElasticLoadBalancersResult> describeElasticLoadBalancersAsync(DescribeElasticLoadBalancersRequest describeElasticLoadBalancersRequest)
                                                                             throws AmazonServiceException,
                                                                                    AmazonClientException

Describes a stack's Elastic Load Balancing instances.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeElasticLoadBalancersAsync in interface AWSOpsWorksAsync
Parameters:
describeElasticLoadBalancersRequest - Container for the necessary parameters to execute the DescribeElasticLoadBalancers operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DescribeElasticLoadBalancers service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeElasticLoadBalancersAsync

public Future<DescribeElasticLoadBalancersResult> describeElasticLoadBalancersAsync(DescribeElasticLoadBalancersRequest describeElasticLoadBalancersRequest,
                                                                                    AsyncHandler<DescribeElasticLoadBalancersRequest,DescribeElasticLoadBalancersResult> asyncHandler)
                                                                             throws AmazonServiceException,
                                                                                    AmazonClientException

Describes a stack's Elastic Load Balancing instances.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeElasticLoadBalancersAsync in interface AWSOpsWorksAsync
Parameters:
describeElasticLoadBalancersRequest - Container for the necessary parameters to execute the DescribeElasticLoadBalancers operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeElasticLoadBalancers service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

deleteLayerAsync

public Future<Void> deleteLayerAsync(DeleteLayerRequest deleteLayerRequest)
                              throws AmazonServiceException,
                                     AmazonClientException

Deletes a specified layer. You must first stop and then delete all associated 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 .

Specified by:
deleteLayerAsync in interface AWSOpsWorksAsync
Parameters:
deleteLayerRequest - Container for the necessary parameters to execute the DeleteLayer operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DeleteLayer service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

deleteLayerAsync

public Future<Void> deleteLayerAsync(DeleteLayerRequest deleteLayerRequest,
                                     AsyncHandler<DeleteLayerRequest,Void> asyncHandler)
                              throws AmazonServiceException,
                                     AmazonClientException

Deletes a specified layer. You must first stop and then delete all associated 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 .

Specified by:
deleteLayerAsync in interface AWSOpsWorksAsync
Parameters:
deleteLayerRequest - Container for the necessary parameters to execute the DeleteLayer operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteLayer service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeMyUserProfileAsync

public Future<DescribeMyUserProfileResult> describeMyUserProfileAsync(DescribeMyUserProfileRequest describeMyUserProfileRequest)
                                                               throws AmazonServiceException,
                                                                      AmazonClientException

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 on user permissions, see Managing User Permissions .

Specified by:
describeMyUserProfileAsync in interface AWSOpsWorksAsync
Parameters:
describeMyUserProfileRequest - Container for the necessary parameters to execute the DescribeMyUserProfile operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DescribeMyUserProfile service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeMyUserProfileAsync

public Future<DescribeMyUserProfileResult> describeMyUserProfileAsync(DescribeMyUserProfileRequest describeMyUserProfileRequest,
                                                                      AsyncHandler<DescribeMyUserProfileRequest,DescribeMyUserProfileResult> asyncHandler)
                                                               throws AmazonServiceException,
                                                                      AmazonClientException

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 on user permissions, see Managing User Permissions .

Specified by:
describeMyUserProfileAsync in interface AWSOpsWorksAsync
Parameters:
describeMyUserProfileRequest - Container for the necessary parameters to execute the DescribeMyUserProfile operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeMyUserProfile service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

setTimeBasedAutoScalingAsync

public Future<Void> setTimeBasedAutoScalingAsync(SetTimeBasedAutoScalingRequest setTimeBasedAutoScalingRequest)
                                          throws AmazonServiceException,
                                                 AmazonClientException

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 .

Specified by:
setTimeBasedAutoScalingAsync in interface AWSOpsWorksAsync
Parameters:
setTimeBasedAutoScalingRequest - Container for the necessary parameters to execute the SetTimeBasedAutoScaling operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the SetTimeBasedAutoScaling service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

setTimeBasedAutoScalingAsync

public Future<Void> setTimeBasedAutoScalingAsync(SetTimeBasedAutoScalingRequest setTimeBasedAutoScalingRequest,
                                                 AsyncHandler<SetTimeBasedAutoScalingRequest,Void> asyncHandler)
                                          throws AmazonServiceException,
                                                 AmazonClientException

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 .

Specified by:
setTimeBasedAutoScalingAsync in interface AWSOpsWorksAsync
Parameters:
setTimeBasedAutoScalingRequest - Container for the necessary parameters to execute the SetTimeBasedAutoScaling operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the SetTimeBasedAutoScaling service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

createAppAsync

public Future<CreateAppResult> createAppAsync(CreateAppRequest createAppRequest)
                                       throws AmazonServiceException,
                                              AmazonClientException

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 .

Specified by:
createAppAsync in interface AWSOpsWorksAsync
Parameters:
createAppRequest - Container for the necessary parameters to execute the CreateApp operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the CreateApp service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

createAppAsync

public Future<CreateAppResult> createAppAsync(CreateAppRequest createAppRequest,
                                              AsyncHandler<CreateAppRequest,CreateAppResult> asyncHandler)
                                       throws AmazonServiceException,
                                              AmazonClientException

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 .

Specified by:
createAppAsync in interface AWSOpsWorksAsync
Parameters:
createAppRequest - Container for the necessary parameters to execute the CreateApp operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateApp service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

updateVolumeAsync

public Future<Void> updateVolumeAsync(UpdateVolumeRequest updateVolumeRequest)
                               throws AmazonServiceException,
                                      AmazonClientException

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 .

Specified by:
updateVolumeAsync in interface AWSOpsWorksAsync
Parameters:
updateVolumeRequest - Container for the necessary parameters to execute the UpdateVolume operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the UpdateVolume service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

updateVolumeAsync

public Future<Void> updateVolumeAsync(UpdateVolumeRequest updateVolumeRequest,
                                      AsyncHandler<UpdateVolumeRequest,Void> asyncHandler)
                               throws AmazonServiceException,
                                      AmazonClientException

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 .

Specified by:
updateVolumeAsync in interface AWSOpsWorksAsync
Parameters:
updateVolumeRequest - Container for the necessary parameters to execute the UpdateVolume operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateVolume service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

deleteUserProfileAsync

public Future<Void> deleteUserProfileAsync(DeleteUserProfileRequest deleteUserProfileRequest)
                                    throws AmazonServiceException,
                                           AmazonClientException

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 on user permissions, see Managing User Permissions .

Specified by:
deleteUserProfileAsync in interface AWSOpsWorksAsync
Parameters:
deleteUserProfileRequest - Container for the necessary parameters to execute the DeleteUserProfile operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DeleteUserProfile service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

deleteUserProfileAsync

public Future<Void> deleteUserProfileAsync(DeleteUserProfileRequest deleteUserProfileRequest,
                                           AsyncHandler<DeleteUserProfileRequest,Void> asyncHandler)
                                    throws AmazonServiceException,
                                           AmazonClientException

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 on user permissions, see Managing User Permissions .

Specified by:
deleteUserProfileAsync in interface AWSOpsWorksAsync
Parameters:
deleteUserProfileRequest - Container for the necessary parameters to execute the DeleteUserProfile operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteUserProfile service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeTimeBasedAutoScalingAsync

public Future<DescribeTimeBasedAutoScalingResult> describeTimeBasedAutoScalingAsync(DescribeTimeBasedAutoScalingRequest describeTimeBasedAutoScalingRequest)
                                                                             throws AmazonServiceException,
                                                                                    AmazonClientException

Describes time-based auto scaling configurations for specified instances.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeTimeBasedAutoScalingAsync in interface AWSOpsWorksAsync
Parameters:
describeTimeBasedAutoScalingRequest - Container for the necessary parameters to execute the DescribeTimeBasedAutoScaling operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DescribeTimeBasedAutoScaling service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeTimeBasedAutoScalingAsync

public Future<DescribeTimeBasedAutoScalingResult> describeTimeBasedAutoScalingAsync(DescribeTimeBasedAutoScalingRequest describeTimeBasedAutoScalingRequest,
                                                                                    AsyncHandler<DescribeTimeBasedAutoScalingRequest,DescribeTimeBasedAutoScalingResult> asyncHandler)
                                                                             throws AmazonServiceException,
                                                                                    AmazonClientException

Describes time-based auto scaling configurations for specified instances.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeTimeBasedAutoScalingAsync in interface AWSOpsWorksAsync
Parameters:
describeTimeBasedAutoScalingRequest - Container for the necessary parameters to execute the DescribeTimeBasedAutoScaling operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeTimeBasedAutoScaling service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeUserProfilesAsync

public Future<DescribeUserProfilesResult> describeUserProfilesAsync(DescribeUserProfilesRequest describeUserProfilesRequest)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Describe specified users.

Required Permissions : To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

Specified by:
describeUserProfilesAsync in interface AWSOpsWorksAsync
Parameters:
describeUserProfilesRequest - Container for the necessary parameters to execute the DescribeUserProfiles operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DescribeUserProfiles service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeUserProfilesAsync

public Future<DescribeUserProfilesResult> describeUserProfilesAsync(DescribeUserProfilesRequest describeUserProfilesRequest,
                                                                    AsyncHandler<DescribeUserProfilesRequest,DescribeUserProfilesResult> asyncHandler)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Describe specified users.

Required Permissions : To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

Specified by:
describeUserProfilesAsync in interface AWSOpsWorksAsync
Parameters:
describeUserProfilesRequest - Container for the necessary parameters to execute the DescribeUserProfiles operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeUserProfiles service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

updateInstanceAsync

public Future<Void> updateInstanceAsync(UpdateInstanceRequest updateInstanceRequest)
                                 throws AmazonServiceException,
                                        AmazonClientException

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 .

Specified by:
updateInstanceAsync in interface AWSOpsWorksAsync
Parameters:
updateInstanceRequest - Container for the necessary parameters to execute the UpdateInstance operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the UpdateInstance service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

updateInstanceAsync

public Future<Void> updateInstanceAsync(UpdateInstanceRequest updateInstanceRequest,
                                        AsyncHandler<UpdateInstanceRequest,Void> asyncHandler)
                                 throws AmazonServiceException,
                                        AmazonClientException

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 .

Specified by:
updateInstanceAsync in interface AWSOpsWorksAsync
Parameters:
updateInstanceRequest - Container for the necessary parameters to execute the UpdateInstance operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateInstance service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeDeploymentsAsync

public Future<DescribeDeploymentsResult> describeDeploymentsAsync(DescribeDeploymentsRequest describeDeploymentsRequest)
                                                           throws AmazonServiceException,
                                                                  AmazonClientException

Requests a description of a specified set of deployments.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeDeploymentsAsync in interface AWSOpsWorksAsync
Parameters:
describeDeploymentsRequest - Container for the necessary parameters to execute the DescribeDeployments operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DescribeDeployments service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeDeploymentsAsync

public Future<DescribeDeploymentsResult> describeDeploymentsAsync(DescribeDeploymentsRequest describeDeploymentsRequest,
                                                                  AsyncHandler<DescribeDeploymentsRequest,DescribeDeploymentsResult> asyncHandler)
                                                           throws AmazonServiceException,
                                                                  AmazonClientException

Requests a description of a specified set of deployments.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeDeploymentsAsync in interface AWSOpsWorksAsync
Parameters:
describeDeploymentsRequest - Container for the necessary parameters to execute the DescribeDeployments operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeDeployments service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

registerElasticIpAsync

public Future<RegisterElasticIpResult> registerElasticIpAsync(RegisterElasticIpRequest registerElasticIpRequest)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

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 .

Specified by:
registerElasticIpAsync in interface AWSOpsWorksAsync
Parameters:
registerElasticIpRequest - Container for the necessary parameters to execute the RegisterElasticIp operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the RegisterElasticIp service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

registerElasticIpAsync

public Future<RegisterElasticIpResult> registerElasticIpAsync(RegisterElasticIpRequest registerElasticIpRequest,
                                                              AsyncHandler<RegisterElasticIpRequest,RegisterElasticIpResult> asyncHandler)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

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 .

Specified by:
registerElasticIpAsync in interface AWSOpsWorksAsync
Parameters:
registerElasticIpRequest - Container for the necessary parameters to execute the RegisterElasticIp operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the RegisterElasticIp service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeElasticIpsAsync

public Future<DescribeElasticIpsResult> describeElasticIpsAsync(DescribeElasticIpsRequest describeElasticIpsRequest)
                                                         throws AmazonServiceException,
                                                                AmazonClientException

Describes Elastic IP addresses .

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeElasticIpsAsync in interface AWSOpsWorksAsync
Parameters:
describeElasticIpsRequest - Container for the necessary parameters to execute the DescribeElasticIps operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DescribeElasticIps service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeElasticIpsAsync

public Future<DescribeElasticIpsResult> describeElasticIpsAsync(DescribeElasticIpsRequest describeElasticIpsRequest,
                                                                AsyncHandler<DescribeElasticIpsRequest,DescribeElasticIpsResult> asyncHandler)
                                                         throws AmazonServiceException,
                                                                AmazonClientException

Describes Elastic IP addresses .

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeElasticIpsAsync in interface AWSOpsWorksAsync
Parameters:
describeElasticIpsRequest - Container for the necessary parameters to execute the DescribeElasticIps operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeElasticIps service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeStacksAsync

public Future<DescribeStacksResult> describeStacksAsync(DescribeStacksRequest describeStacksRequest)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

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 on user permissions, see Managing User Permissions .

Specified by:
describeStacksAsync in interface AWSOpsWorksAsync
Parameters:
describeStacksRequest - Container for the necessary parameters to execute the DescribeStacks operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DescribeStacks service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeStacksAsync

public Future<DescribeStacksResult> describeStacksAsync(DescribeStacksRequest describeStacksRequest,
                                                        AsyncHandler<DescribeStacksRequest,DescribeStacksResult> asyncHandler)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

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 on user permissions, see Managing User Permissions .

Specified by:
describeStacksAsync in interface AWSOpsWorksAsync
Parameters:
describeStacksRequest - Container for the necessary parameters to execute the DescribeStacks operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeStacks service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeAppsAsync

public Future<DescribeAppsResult> describeAppsAsync(DescribeAppsRequest describeAppsRequest)
                                             throws AmazonServiceException,
                                                    AmazonClientException

Requests a description of a specified set of apps.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeAppsAsync in interface AWSOpsWorksAsync
Parameters:
describeAppsRequest - Container for the necessary parameters to execute the DescribeApps operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DescribeApps service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeAppsAsync

public Future<DescribeAppsResult> describeAppsAsync(DescribeAppsRequest describeAppsRequest,
                                                    AsyncHandler<DescribeAppsRequest,DescribeAppsResult> asyncHandler)
                                             throws AmazonServiceException,
                                                    AmazonClientException

Requests a description of a specified set of apps.

NOTE: 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 on user permissions, see Managing User Permissions .

Specified by:
describeAppsAsync in interface AWSOpsWorksAsync
Parameters:
describeAppsRequest - Container for the necessary parameters to execute the DescribeApps operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeApps service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeStackSummaryAsync

public Future<DescribeStackSummaryResult> describeStackSummaryAsync(DescribeStackSummaryRequest describeStackSummaryRequest)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

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 on user permissions, see Managing User Permissions .

Specified by:
describeStackSummaryAsync in interface AWSOpsWorksAsync
Parameters:
describeStackSummaryRequest - Container for the necessary parameters to execute the DescribeStackSummary operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the DescribeStackSummary service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

describeStackSummaryAsync

public Future<DescribeStackSummaryResult> describeStackSummaryAsync(DescribeStackSummaryRequest describeStackSummaryRequest,
                                                                    AsyncHandler<DescribeStackSummaryRequest,DescribeStackSummaryResult> asyncHandler)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

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 on user permissions, see Managing User Permissions .

Specified by:
describeStackSummaryAsync in interface AWSOpsWorksAsync
Parameters:
describeStackSummaryRequest - Container for the necessary parameters to execute the DescribeStackSummary operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeStackSummary service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

stopStackAsync

public Future<Void> stopStackAsync(StopStackRequest stopStackRequest)
                            throws AmazonServiceException,
                                   AmazonClientException

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 .

Specified by:
stopStackAsync in interface AWSOpsWorksAsync
Parameters:
stopStackRequest - Container for the necessary parameters to execute the StopStack operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the StopStack service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

stopStackAsync

public Future<Void> stopStackAsync(StopStackRequest stopStackRequest,
                                   AsyncHandler<StopStackRequest,Void> asyncHandler)
                            throws AmazonServiceException,
                                   AmazonClientException

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 .

Specified by:
stopStackAsync in interface AWSOpsWorksAsync
Parameters:
stopStackRequest - Container for the necessary parameters to execute the StopStack operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the StopStack service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

createDeploymentAsync

public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Deploys a stack or app.

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 .

Specified by:
createDeploymentAsync in interface AWSOpsWorksAsync
Parameters:
createDeploymentRequest - Container for the necessary parameters to execute the CreateDeployment operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the CreateDeployment service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.

createDeploymentAsync

public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest,
                                                            AsyncHandler<CreateDeploymentRequest,CreateDeploymentResult> asyncHandler)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Deploys a stack or app.

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 .

Specified by:
createDeploymentAsync in interface AWSOpsWorksAsync
Parameters:
createDeploymentRequest - Container for the necessary parameters to execute the CreateDeployment operation on AWSOpsWorks.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateDeployment service method, as returned by AWSOpsWorks.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.


Copyright © 2016. All rights reserved.