Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   /*
    * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
    * 
    * Licensed under the Apache License, Version 2.0 (the "License").
    * You may not use this file except in compliance with the License.
    * A copy of the License is located at
    * 
    *  http://aws.amazon.com/apache2.0
    * 
   * or in the "license" file accompanying this file. This file is distributed
   * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
   * express or implied. See the License for the specific language governing
   * permissions and limitations under the License.
   */
  package com.amazonaws.services.opsworks;
  
  
  
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:

  • AWS CLI
  • AWS SDK for Java
  • AWS SDK for .NET
  • AWS SDK for PHP 2
  • AWS SDK for Ruby
  • AWS SDK for Node.js
  • AWS SDK for Python(Boto)

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 Versions

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.10. For more information, see Chef Versions .

NOTE:You can still specify Chef 0.9 for your stack, but new features are not available for Chef 0.9 stacks, and support is scheduled to end on July 24, 2014. We do not recommend using Chef 0.9 for new stacks, and we recommend migrating your existing Chef 0.9 stacks to Chef 11.10 as soon as possible.

 
 public class AWSOpsWorksAsyncClient extends AWSOpsWorksClient
         implements AWSOpsWorksAsync {

    
Executor service for executing asynchronous requests.
 
     private ExecutorService executorService;
 
     private static final int DEFAULT_THREAD_POOL_SIZE = 50;

    
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:
  • Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
  • Java System Properties - aws.accessKeyId and aws.secretKey
  • Instance profile credentials delivered through the Amazon EC2 metadata service

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

 
     public AWSOpsWorksAsyncClient() {
         this(new DefaultAWSCredentialsProviderChain());
     }

    
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:
  • Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
  • Java System Properties - aws.accessKeyId and aws.secretKey
  • Instance profile credentials delivered through the Amazon EC2 metadata service

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:
com.amazonaws.auth.DefaultAWSCredentialsProviderChain
 
     public AWSOpsWorksAsyncClient(ClientConfiguration clientConfiguration) {
         this(new DefaultAWSCredentialsProviderChain(), clientConfiguration, Executors.newFixedThreadPool(clientConfiguration.getMaxConnections()));
     }

    
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.
 
     public AWSOpsWorksAsyncClient(AWSCredentials awsCredentials) {
         this(awsCredentials, Executors.newFixedThreadPool());
     }

    
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.
 
     public AWSOpsWorksAsyncClient(AWSCredentials awsCredentialsExecutorService executorService) {
         super(awsCredentials);
         this. = 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.
 
     public AWSOpsWorksAsyncClient(AWSCredentials awsCredentials,
                 ClientConfiguration clientConfigurationExecutorService executorService) {
         super(awsCredentialsclientConfiguration);
         this. = executorService;
     }

    
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.
 
     public AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider) {
         this(awsCredentialsProvider, Executors.newFixedThreadPool());
     }

    
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.
 
     public AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProviderExecutorService executorService) {
         this(awsCredentialsProvidernew ClientConfiguration(), executorService);
     }

    
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).
 
     public AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                 ClientConfiguration clientConfiguration) {
         this(awsCredentialsProviderclientConfiguration, Executors.newFixedThreadPool(clientConfiguration.getMaxConnections()));
     }

    
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.
 
     public AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                 ClientConfiguration clientConfigurationExecutorService executorService) {
         super(awsCredentialsProviderclientConfiguration);
         this. = executorService;
     }

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

Returns:
The executor service used by this async client to execute requests.
 
     public ExecutorService getExecutorService() {
         return ;
     }

    
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.
 
     @Override
     public void shutdown() {
         super.shutdown();
         .shutdownNow();
     }
            
    

Deregisters an Amazon RDS instance.

Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
 
     public Future<VoidderegisterRdsDbInstanceAsync(final DeregisterRdsDbInstanceRequest deregisterRdsDbInstanceRequest
             throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<Void>() {
             public Void call() throws Exception {
                 deregisterRdsDbInstance(deregisterRdsDbInstanceRequest);
                 return null;
         }
     });
     }

    

Deregisters an Amazon RDS instance.

Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
 
             final DeregisterRdsDbInstanceRequest deregisterRdsDbInstanceRequest,
             final AsyncHandler<DeregisterRdsDbInstanceRequestVoidasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<Void>() {
             public Void call() throws Exception {
               try {
                 deregisterRdsDbInstance(deregisterRdsDbInstanceRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(deregisterRdsDbInstanceRequestnull);
                  return null;
         }
     });
     }
    
    

Registers an Amazon RDS instance with a stack.

Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
 
     public Future<VoidregisterRdsDbInstanceAsync(final RegisterRdsDbInstanceRequest registerRdsDbInstanceRequest
             throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<Void>() {
             public Void call() throws Exception {
                 registerRdsDbInstance(registerRdsDbInstanceRequest);
                 return null;
         }
     });
     }

    

Registers an Amazon RDS instance with a stack.

Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
 
             final RegisterRdsDbInstanceRequest registerRdsDbInstanceRequest,
             final AsyncHandler<RegisterRdsDbInstanceRequestVoidasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<Void>() {
             public Void call() throws Exception {
               try {
                 registerRdsDbInstance(registerRdsDbInstanceRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(registerRdsDbInstanceRequestnull);
                  return null;
         }
     });
     }
    
    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
 
     public Future<VoidupdateMyUserProfileAsync(final UpdateMyUserProfileRequest updateMyUserProfileRequest
             throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<Void>() {
             public Void call() throws Exception {
                 updateMyUserProfile(updateMyUserProfileRequest);
                 return null;
         }
     });
     }

    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
 
             final UpdateMyUserProfileRequest updateMyUserProfileRequest,
             final AsyncHandler<UpdateMyUserProfileRequestVoidasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<Void>() {
             public Void call() throws Exception {
               try {
                 updateMyUserProfile(updateMyUserProfileRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(updateMyUserProfileRequestnull);
                  return null;
         }
     });
     }
    
    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
 
     public Future<VoidderegisterVolumeAsync(final DeregisterVolumeRequest deregisterVolumeRequest
             throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<Void>() {
             public Void call() throws Exception {
                 deregisterVolume(deregisterVolumeRequest);
                 return null;
         }
     });
     }

    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
 
     public Future<VoidderegisterVolumeAsync(
             final DeregisterVolumeRequest deregisterVolumeRequest,
             final AsyncHandler<DeregisterVolumeRequestVoidasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<Void>() {
             public Void call() throws Exception {
               try {
                 deregisterVolume(deregisterVolumeRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(deregisterVolumeRequestnull);
                  return null;
         }
     });
     }
    
    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
 
     public Future<VoidsetPermissionAsync(final SetPermissionRequest setPermissionRequest
             throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<Void>() {
             public Void call() throws Exception {
                 setPermission(setPermissionRequest);
                 return null;
         }
     });
     }

    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
 
     public Future<VoidsetPermissionAsync(
             final SetPermissionRequest setPermissionRequest,
             final AsyncHandler<SetPermissionRequestVoidasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<Void>() {
             public Void call() throws Exception {
               try {
                 setPermission(setPermissionRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(setPermissionRequestnull);
                  return null;
         }
     });
     }
    
    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
 
     public Future<DescribeInstancesResultdescribeInstancesAsync(final DescribeInstancesRequest describeInstancesRequest
             throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<DescribeInstancesResult>() {
             public DescribeInstancesResult call() throws Exception {
                 return describeInstances(describeInstancesRequest);
         }
     });
     }

    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
 
             final DescribeInstancesRequest describeInstancesRequest,
             final AsyncHandler<DescribeInstancesRequestDescribeInstancesResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<DescribeInstancesResult>() {
             public DescribeInstancesResult call() throws Exception {
               DescribeInstancesResult result;
                 try {
                 result = describeInstances(describeInstancesRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(describeInstancesRequestresult);
                  return result;
         }
     });
     }
    
    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
 
     public Future<DescribePermissionsResultdescribePermissionsAsync(final DescribePermissionsRequest describePermissionsRequest
             throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<DescribePermissionsResult>() {
             public DescribePermissionsResult call() throws Exception {
                 return describePermissions(describePermissionsRequest);
         }
     });
     }

    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
 
             final DescribePermissionsRequest describePermissionsRequest,
             final AsyncHandler<DescribePermissionsRequestDescribePermissionsResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<DescribePermissionsResult>() {
             public DescribePermissionsResult call() throws Exception {
               DescribePermissionsResult result;
                 try {
                 result = describePermissions(describePermissionsRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(describePermissionsRequestresult);
                  return result;
         }
     });
     }
    
    

Deletes a specified instance, which terminates the associated Amazon EC2 instance. You must stop an instance before you can delete it.

For more information, see Deleting Instances .

Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<VoiddeleteInstanceAsync(final DeleteInstanceRequest deleteInstanceRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
                deleteInstance(deleteInstanceRequest);
                return null;
        }
    });
    }

    

Deletes a specified instance, which terminates the associated Amazon EC2 instance. You must stop an instance before you can delete it.

For more information, see Deleting Instances .

Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
            final DeleteInstanceRequest deleteInstanceRequest,
            final AsyncHandler<DeleteInstanceRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
              try {
                deleteInstance(deleteInstanceRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(deleteInstanceRequestnull);
                 return null;
        }
    });
    }
    
    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<CloneStackResultcloneStackAsync(final CloneStackRequest cloneStackRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<CloneStackResult>() {
            public CloneStackResult call() throws Exception {
                return cloneStack(cloneStackRequest);
        }
    });
    }

    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
            final CloneStackRequest cloneStackRequest,
            final AsyncHandler<CloneStackRequestCloneStackResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<CloneStackResult>() {
            public CloneStackResult call() throws Exception {
              CloneStackResult result;
                try {
                result = cloneStack(cloneStackRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(cloneStackRequestresult);
                 return result;
        }
    });
    }
    
    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<VoiddetachElasticLoadBalancerAsync(final DetachElasticLoadBalancerRequest detachElasticLoadBalancerRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
                detachElasticLoadBalancer(detachElasticLoadBalancerRequest);
                return null;
        }
    });
    }

    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
            final DetachElasticLoadBalancerRequest detachElasticLoadBalancerRequest,
            final AsyncHandler<DetachElasticLoadBalancerRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
              try {
                detachElasticLoadBalancer(detachElasticLoadBalancerRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(detachElasticLoadBalancerRequestnull);
                 return null;
        }
    });
    }
    
    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidstopInstanceAsync(final StopInstanceRequest stopInstanceRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
                stopInstance(stopInstanceRequest);
                return null;
        }
    });
    }

    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidstopInstanceAsync(
            final StopInstanceRequest stopInstanceRequest,
            final AsyncHandler<StopInstanceRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
              try {
                stopInstance(stopInstanceRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(stopInstanceRequestnull);
                 return null;
        }
    });
    }
    
    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidupdateAppAsync(final UpdateAppRequest updateAppRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
                updateApp(updateAppRequest);
                return null;
        }
    });
    }

    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidupdateAppAsync(
            final UpdateAppRequest updateAppRequest,
            final AsyncHandler<UpdateAppRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
              try {
                updateApp(updateAppRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(updateAppRequestnull);
                 return null;
        }
    });
    }
    
    

Describes Amazon RDS instances.

Required Permissions : To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException {
            public DescribeRdsDbInstancesResult call() throws Exception {
                return describeRdsDbInstances(describeRdsDbInstancesRequest);
        }
    });
    }

    

Describes Amazon RDS instances.

Required Permissions : To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
            final DescribeRdsDbInstancesRequest describeRdsDbInstancesRequest,
            final AsyncHandler<DescribeRdsDbInstancesRequestDescribeRdsDbInstancesResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
            public DescribeRdsDbInstancesResult call() throws Exception {
              DescribeRdsDbInstancesResult result;
                try {
                result = describeRdsDbInstances(describeRdsDbInstancesRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(describeRdsDbInstancesRequestresult);
                 return result;
        }
    });
    }
    
    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<DescribeCommandsResultdescribeCommandsAsync(final DescribeCommandsRequest describeCommandsRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<DescribeCommandsResult>() {
            public DescribeCommandsResult call() throws Exception {
                return describeCommands(describeCommandsRequest);
        }
    });
    }

    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
            final DescribeCommandsRequest describeCommandsRequest,
            final AsyncHandler<DescribeCommandsRequestDescribeCommandsResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<DescribeCommandsResult>() {
            public DescribeCommandsResult call() throws Exception {
              DescribeCommandsResult result;
                try {
                result = describeCommands(describeCommandsRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(describeCommandsRequestresult);
                 return result;
        }
    });
    }
    
    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidassociateElasticIpAsync(final AssociateElasticIpRequest associateElasticIpRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
                associateElasticIp(associateElasticIpRequest);
                return null;
        }
    });
    }

    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
            final AssociateElasticIpRequest associateElasticIpRequest,
            final AsyncHandler<AssociateElasticIpRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
              try {
                associateElasticIp(associateElasticIpRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(associateElasticIpRequestnull);
                 return null;
        }
    });
    }
    
    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidunassignVolumeAsync(final UnassignVolumeRequest unassignVolumeRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
                unassignVolume(unassignVolumeRequest);
                return null;
        }
    });
    }

    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
            final UnassignVolumeRequest unassignVolumeRequest,
            final AsyncHandler<UnassignVolumeRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
              try {
                unassignVolume(unassignVolumeRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(unassignVolumeRequestnull);
                 return null;
        }
    });
    }
    
    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<DescribeRaidArraysResultdescribeRaidArraysAsync(final DescribeRaidArraysRequest describeRaidArraysRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<DescribeRaidArraysResult>() {
            public DescribeRaidArraysResult call() throws Exception {
                return describeRaidArrays(describeRaidArraysRequest);
        }
    });
    }

    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
            final DescribeRaidArraysRequest describeRaidArraysRequest,
            final AsyncHandler<DescribeRaidArraysRequestDescribeRaidArraysResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<DescribeRaidArraysResult>() {
            public DescribeRaidArraysResult call() throws Exception {
              DescribeRaidArraysResult result;
                try {
                result = describeRaidArrays(describeRaidArraysRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(describeRaidArraysRequestresult);
                 return result;
        }
    });
    }
    
    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<GetHostnameSuggestionResultgetHostnameSuggestionAsync(final GetHostnameSuggestionRequest getHostnameSuggestionRequest
            throws AmazonServiceExceptionAmazonClientException {
            public GetHostnameSuggestionResult call() throws Exception {
                return getHostnameSuggestion(getHostnameSuggestionRequest);
        }
    });
    }

    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
            final GetHostnameSuggestionRequest getHostnameSuggestionRequest,
            final AsyncHandler<GetHostnameSuggestionRequestGetHostnameSuggestionResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
            public GetHostnameSuggestionResult call() throws Exception {
              GetHostnameSuggestionResult result;
                try {
                result = getHostnameSuggestion(getHostnameSuggestionRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(getHostnameSuggestionRequestresult);
                 return result;
        }
    });
    }
    
    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidsetLoadBasedAutoScalingAsync(final SetLoadBasedAutoScalingRequest setLoadBasedAutoScalingRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
                setLoadBasedAutoScaling(setLoadBasedAutoScalingRequest);
                return null;
        }
    });
    }

    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
            final SetLoadBasedAutoScalingRequest setLoadBasedAutoScalingRequest,
            final AsyncHandler<SetLoadBasedAutoScalingRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
              try {
                setLoadBasedAutoScaling(setLoadBasedAutoScalingRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(setLoadBasedAutoScalingRequestnull);
                 return null;
        }
    });
    }
    
    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<DescribeVolumesResultdescribeVolumesAsync(final DescribeVolumesRequest describeVolumesRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<DescribeVolumesResult>() {
            public DescribeVolumesResult call() throws Exception {
                return describeVolumes(describeVolumesRequest);
        }
    });
    }

    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
            final DescribeVolumesRequest describeVolumesRequest,
            final AsyncHandler<DescribeVolumesRequestDescribeVolumesResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<DescribeVolumesResult>() {
            public DescribeVolumesResult call() throws Exception {
              DescribeVolumesResult result;
                try {
                result = describeVolumes(describeVolumesRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(describeVolumesRequestresult);
                 return result;
        }
    });
    }
    
    

Assigns one of the stack's registered Amazon EBS volumes to a specified instance. The volume must first be registered with the stack by calling RegisterVolume. After you register the volume, you must call UpdateVolume to specify a mount point before calling AssignVolume . For more information, see Resource Management .

Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidassignVolumeAsync(final AssignVolumeRequest assignVolumeRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
                assignVolume(assignVolumeRequest);
                return null;
        }
    });
    }

    

Assigns one of the stack's registered Amazon EBS volumes to a specified instance. The volume must first be registered with the stack by calling RegisterVolume. After you register the volume, you must call UpdateVolume to specify a mount point before calling AssignVolume . For more information, see Resource Management .

Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidassignVolumeAsync(
            final AssignVolumeRequest assignVolumeRequest,
            final AsyncHandler<AssignVolumeRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
              try {
                assignVolume(assignVolumeRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(assignVolumeRequestnull);
                 return null;
        }
    });
    }
    
    

Unassigns a registered instance from all of it's layers. The instance remains in the stack as an unassigned instance and can be assigned to another layer, as needed. You cannot use this action with instances that were created with AWS OpsWorks.

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 .

Parameters:
unassignInstanceRequest Container for the necessary parameters to execute the UnassignInstance operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the UnassignInstance service method, as returned by AWSOpsWorks.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidunassignInstanceAsync(final UnassignInstanceRequest unassignInstanceRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
                unassignInstance(unassignInstanceRequest);
                return null;
        }
    });
    }

    

Unassigns a registered instance from all of it's layers. The instance remains in the stack as an unassigned instance and can be assigned to another layer, as needed. You cannot use this action with instances that were created with AWS OpsWorks.

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 .

Parameters:
unassignInstanceRequest Container for the necessary parameters to execute the UnassignInstance 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 UnassignInstance service method, as returned by AWSOpsWorks.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
            final UnassignInstanceRequest unassignInstanceRequest,
            final AsyncHandler<UnassignInstanceRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
              try {
                unassignInstance(unassignInstanceRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(unassignInstanceRequestnull);
                 return null;
        }
    });
    }
    
    

NOTE:This API can be used only with Windows stacks.

Grants RDP access to a Windows instance for a specified time period.

Parameters:
grantAccessRequest Container for the necessary parameters to execute the GrantAccess operation on AWSOpsWorks.
Returns:
A Java Future object containing the response from the GrantAccess service method, as returned by AWSOpsWorks.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<GrantAccessResultgrantAccessAsync(final GrantAccessRequest grantAccessRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<GrantAccessResult>() {
            public GrantAccessResult call() throws Exception {
                return grantAccess(grantAccessRequest);
        }
    });
    }

    

NOTE:This API can be used only with Windows stacks.

Grants RDP access to a Windows instance for a specified time period.

Parameters:
grantAccessRequest Container for the necessary parameters to execute the GrantAccess 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 GrantAccess service method, as returned by AWSOpsWorks.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
            final GrantAccessRequest grantAccessRequest,
            final AsyncHandler<GrantAccessRequestGrantAccessResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<GrantAccessResult>() {
            public GrantAccessResult call() throws Exception {
              GrantAccessResult result;
                try {
                result = grantAccess(grantAccessRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(grantAccessRequestresult);
                 return result;
        }
    });
    }
    
    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<DescribeServiceErrorsResultdescribeServiceErrorsAsync(final DescribeServiceErrorsRequest describeServiceErrorsRequest
            throws AmazonServiceExceptionAmazonClientException {
            public DescribeServiceErrorsResult call() throws Exception {
                return describeServiceErrors(describeServiceErrorsRequest);
        }
    });
    }

    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
            final DescribeServiceErrorsRequest describeServiceErrorsRequest,
            final AsyncHandler<DescribeServiceErrorsRequestDescribeServiceErrorsResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
            public DescribeServiceErrorsResult call() throws Exception {
              DescribeServiceErrorsResult result;
                try {
                result = describeServiceErrors(describeServiceErrorsRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(describeServiceErrorsRequestresult);
                 return result;
        }
    });
    }
    
    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidupdateElasticIpAsync(final UpdateElasticIpRequest updateElasticIpRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
                updateElasticIp(updateElasticIpRequest);
                return null;
        }
    });
    }

    

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 .

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:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSOpsWorks indicating either a problem with the data in the request, or a server side issue.
            final UpdateElasticIpRequest updateElasticIpRequest,
            final AsyncHandler<UpdateElasticIpRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public