|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceClient
com.amazonaws.services.opsworks.AWSOpsWorksClient
com.amazonaws.services.opsworks.AWSOpsWorksAsyncClient
public class AWSOpsWorksAsyncClient
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
Constructor Summary | |
---|---|
AWSOpsWorksAsyncClient()
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks. |
|
AWSOpsWorksAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials. |
|
AWSOpsWorksAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials, executor service, and client configuration options. |
|
AWSOpsWorksAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials and executor service. |
|
AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials provider. |
|
AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials provider and client configuration options. |
|
AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials provider, executor service, and client configuration options. |
|
AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials provider and executor service. |
|
AWSOpsWorksAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks. |
Methods inherited from class com.amazonaws.AmazonWebServiceClient |
---|
addRequestHandler, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setRegion, setTimeOffset, withTimeOffset |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AWSOpsWorksAsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProvider
public AWSOpsWorksAsyncClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration
- The client configuration options controlling how this
client connects to AWSOpsWorks
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProvider
public AWSOpsWorksAsyncClient(AWSCredentials awsCredentials)
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.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AWSOpsWorksAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
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.
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 awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
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.
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(AWSCredentialsProvider awsCredentialsProvider)
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.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
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.
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 awsCredentialsProvider, ClientConfiguration clientConfiguration)
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.
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, ExecutorService executorService)
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.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).executorService
- The executor service by which all asynchronous requests will
be executed.Method Detail |
---|
public ExecutorService getExecutorService()
public void shutdown()
shutdown
in interface AWSOpsWorks
shutdown
in class AmazonWebServiceClient
public Future<Void> updateUserProfileAsync(UpdateUserProfileRequest updateUserProfileRequest) throws AmazonServiceException, AmazonClientException
Updates a specified user profile.
updateUserProfileAsync
in interface AWSOpsWorksAsync
updateUserProfileRequest
- Container for the necessary parameters
to execute the UpdateUserProfile operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> updateUserProfileAsync(UpdateUserProfileRequest updateUserProfileRequest, AsyncHandler<UpdateUserProfileRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Updates a specified user profile.
updateUserProfileAsync
in interface AWSOpsWorksAsync
updateUserProfileRequest
- Container for the necessary parameters
to execute the UpdateUserProfile operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<CreateStackResult> createStackAsync(CreateStackRequest createStackRequest) throws AmazonServiceException, AmazonClientException
Creates a new stack. For more information, see Create a New Stack .
createStackAsync
in interface AWSOpsWorksAsync
createStackRequest
- Container for the necessary parameters to
execute the CreateStack operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<CreateStackResult> createStackAsync(CreateStackRequest createStackRequest, AsyncHandler<CreateStackRequest,CreateStackResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new stack. For more information, see Create a New Stack .
createStackAsync
in interface AWSOpsWorksAsync
createStackRequest
- Container for the necessary parameters to
execute the CreateStack operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest) throws AmazonServiceException, AmazonClientException
Reboots a specified instance. For more information, see Starting, Stopping, and Rebooting Instances .
rebootInstanceAsync
in interface AWSOpsWorksAsync
rebootInstanceRequest
- Container for the necessary parameters to
execute the RebootInstance operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest, AsyncHandler<RebootInstanceRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Reboots a specified instance. For more information, see Starting, Stopping, and Rebooting Instances .
rebootInstanceAsync
in interface AWSOpsWorksAsync
rebootInstanceRequest
- Container for the necessary parameters to
execute the RebootInstance operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> setPermissionAsync(SetPermissionRequest setPermissionRequest) throws AmazonServiceException, AmazonClientException
Specifies a stack's permissions. For more information, see Security and Permissions .
setPermissionAsync
in interface AWSOpsWorksAsync
setPermissionRequest
- Container for the necessary parameters to
execute the SetPermission operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> setPermissionAsync(SetPermissionRequest setPermissionRequest, AsyncHandler<SetPermissionRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Specifies a stack's permissions. For more information, see Security and Permissions .
setPermissionAsync
in interface AWSOpsWorksAsync
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.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeInstancesResult> describeInstancesAsync(DescribeInstancesRequest describeInstancesRequest) throws AmazonServiceException, AmazonClientException
Requests a description of a set of instances associated with a specified ID or IDs.
describeInstancesAsync
in interface AWSOpsWorksAsync
describeInstancesRequest
- Container for the necessary parameters
to execute the DescribeInstances operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeInstancesResult> describeInstancesAsync(DescribeInstancesRequest describeInstancesRequest, AsyncHandler<DescribeInstancesRequest,DescribeInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Requests a description of a set of instances associated with a specified ID or IDs.
describeInstancesAsync
in interface AWSOpsWorksAsync
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.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribePermissionsResult> describePermissionsAsync(DescribePermissionsRequest describePermissionsRequest) throws AmazonServiceException, AmazonClientException
Describes the permissions for a specified stack.
describePermissionsAsync
in interface AWSOpsWorksAsync
describePermissionsRequest
- Container for the necessary
parameters to execute the DescribePermissions operation on
AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribePermissionsResult> describePermissionsAsync(DescribePermissionsRequest describePermissionsRequest, AsyncHandler<DescribePermissionsRequest,DescribePermissionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the permissions for a specified stack.
describePermissionsAsync
in interface AWSOpsWorksAsync
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.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest) throws AmazonServiceException, AmazonClientException
Deletes a specified instance. You must stop an instance before you can delete it. For more information, see Deleting Instances .
deleteInstanceAsync
in interface AWSOpsWorksAsync
deleteInstanceRequest
- Container for the necessary parameters to
execute the DeleteInstance operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest, AsyncHandler<DeleteInstanceRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a specified instance. You must stop an instance before you can delete it. For more information, see Deleting Instances .
deleteInstanceAsync
in interface AWSOpsWorksAsync
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.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<CloneStackResult> cloneStackAsync(CloneStackRequest cloneStackRequest) throws AmazonServiceException, AmazonClientException
Creates a clone of a specified stack. For more information, see Clone a Stack .
cloneStackAsync
in interface AWSOpsWorksAsync
cloneStackRequest
- Container for the necessary parameters to
execute the CloneStack operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<CloneStackResult> cloneStackAsync(CloneStackRequest cloneStackRequest, AsyncHandler<CloneStackRequest,CloneStackResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a clone of a specified stack. For more information, see Clone a Stack .
cloneStackAsync
in interface AWSOpsWorksAsync
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.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<CreateInstanceResult> createInstanceAsync(CreateInstanceRequest createInstanceRequest) throws AmazonServiceException, AmazonClientException
Creates an instance in a specified stack. For more information, see Adding an Instance to a Layer .
createInstanceAsync
in interface AWSOpsWorksAsync
createInstanceRequest
- Container for the necessary parameters to
execute the CreateInstance operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<CreateInstanceResult> createInstanceAsync(CreateInstanceRequest createInstanceRequest, AsyncHandler<CreateInstanceRequest,CreateInstanceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates an instance in a specified stack. For more information, see Adding an Instance to a Layer .
createInstanceAsync
in interface AWSOpsWorksAsync
createInstanceRequest
- Container for the necessary parameters to
execute the CreateInstance operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> stopInstanceAsync(StopInstanceRequest stopInstanceRequest) throws AmazonServiceException, AmazonClientException
Stops a specified instance. When you stop a standard instance, the data disappears and must be reinstalled when you restart the instance. You can stop an Amazon EBS-backed instance without losing data. For more information, see Starting, Stopping, and Rebooting Instances .
stopInstanceAsync
in interface AWSOpsWorksAsync
stopInstanceRequest
- Container for the necessary parameters to
execute the StopInstance operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> stopInstanceAsync(StopInstanceRequest stopInstanceRequest, AsyncHandler<StopInstanceRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Stops a specified instance. When you stop a standard instance, the data disappears and must be reinstalled when you restart the instance. You can stop an Amazon EBS-backed instance without losing data. For more information, see Starting, Stopping, and Rebooting Instances .
stopInstanceAsync
in interface AWSOpsWorksAsync
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.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> detachElasticLoadBalancerAsync(DetachElasticLoadBalancerRequest detachElasticLoadBalancerRequest) throws AmazonServiceException, AmazonClientException
Detaches a specified Elastic Load Balancing instance from it's layer.
detachElasticLoadBalancerAsync
in interface AWSOpsWorksAsync
detachElasticLoadBalancerRequest
- Container for the necessary
parameters to execute the DetachElasticLoadBalancer operation on
AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> detachElasticLoadBalancerAsync(DetachElasticLoadBalancerRequest detachElasticLoadBalancerRequest, AsyncHandler<DetachElasticLoadBalancerRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Detaches a specified Elastic Load Balancing instance from it's layer.
detachElasticLoadBalancerAsync
in interface AWSOpsWorksAsync
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.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> updateAppAsync(UpdateAppRequest updateAppRequest) throws AmazonServiceException, AmazonClientException
Updates a specified app.
updateAppAsync
in interface AWSOpsWorksAsync
updateAppRequest
- Container for the necessary parameters to
execute the UpdateApp operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> updateAppAsync(UpdateAppRequest updateAppRequest, AsyncHandler<UpdateAppRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Updates a specified app.
updateAppAsync
in interface AWSOpsWorksAsync
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.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteAppAsync(DeleteAppRequest deleteAppRequest) throws AmazonServiceException, AmazonClientException
Deletes a specified app.
deleteAppAsync
in interface AWSOpsWorksAsync
deleteAppRequest
- Container for the necessary parameters to
execute the DeleteApp operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteAppAsync(DeleteAppRequest deleteAppRequest, AsyncHandler<DeleteAppRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a specified app.
deleteAppAsync
in interface AWSOpsWorksAsync
deleteAppRequest
- Container for the necessary parameters to
execute the DeleteApp operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> attachElasticLoadBalancerAsync(AttachElasticLoadBalancerRequest attachElasticLoadBalancerRequest) throws AmazonServiceException, AmazonClientException
Attaches an Elastic Load Balancing instance to a specified layer.
NOTE:You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API, or CLI. For more information, see Elastic Load Balancing Developer Guide.
attachElasticLoadBalancerAsync
in interface AWSOpsWorksAsync
attachElasticLoadBalancerRequest
- Container for the necessary
parameters to execute the AttachElasticLoadBalancer operation on
AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> attachElasticLoadBalancerAsync(AttachElasticLoadBalancerRequest attachElasticLoadBalancerRequest, AsyncHandler<AttachElasticLoadBalancerRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Attaches an Elastic Load Balancing instance to a specified layer.
NOTE:You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API, or CLI. For more information, see Elastic Load Balancing Developer Guide.
attachElasticLoadBalancerAsync
in interface AWSOpsWorksAsync
attachElasticLoadBalancerRequest
- Container for the necessary
parameters to execute the AttachElasticLoadBalancer operation on
AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeCommandsResult> describeCommandsAsync(DescribeCommandsRequest describeCommandsRequest) throws AmazonServiceException, AmazonClientException
Describes the results of specified commands.
describeCommandsAsync
in interface AWSOpsWorksAsync
describeCommandsRequest
- Container for the necessary parameters
to execute the DescribeCommands operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeCommandsResult> describeCommandsAsync(DescribeCommandsRequest describeCommandsRequest, AsyncHandler<DescribeCommandsRequest,DescribeCommandsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the results of specified commands.
describeCommandsAsync
in interface AWSOpsWorksAsync
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.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> updateStackAsync(UpdateStackRequest updateStackRequest) throws AmazonServiceException, AmazonClientException
Updates a specified stack.
updateStackAsync
in interface AWSOpsWorksAsync
updateStackRequest
- Container for the necessary parameters to
execute the UpdateStack operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> updateStackAsync(UpdateStackRequest updateStackRequest, AsyncHandler<UpdateStackRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Updates a specified stack.
updateStackAsync
in interface AWSOpsWorksAsync
updateStackRequest
- Container for the necessary parameters to
execute the UpdateStack operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<CreateUserProfileResult> createUserProfileAsync(CreateUserProfileRequest createUserProfileRequest) throws AmazonServiceException, AmazonClientException
Creates a new user profile.
createUserProfileAsync
in interface AWSOpsWorksAsync
createUserProfileRequest
- Container for the necessary parameters
to execute the CreateUserProfile operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<CreateUserProfileResult> createUserProfileAsync(CreateUserProfileRequest createUserProfileRequest, AsyncHandler<CreateUserProfileRequest,CreateUserProfileResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new user profile.
createUserProfileAsync
in interface AWSOpsWorksAsync
createUserProfileRequest
- Container for the necessary parameters
to execute the CreateUserProfile operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<GetHostnameSuggestionResult> getHostnameSuggestionAsync(GetHostnameSuggestionRequest getHostnameSuggestionRequest) throws AmazonServiceException, AmazonClientException
Gets a generated hostname for the specified layer, based on the current hostname theme.
getHostnameSuggestionAsync
in interface AWSOpsWorksAsync
getHostnameSuggestionRequest
- Container for the necessary
parameters to execute the GetHostnameSuggestion operation on
AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<GetHostnameSuggestionResult> getHostnameSuggestionAsync(GetHostnameSuggestionRequest getHostnameSuggestionRequest, AsyncHandler<GetHostnameSuggestionRequest,GetHostnameSuggestionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets a generated hostname for the specified layer, based on the current hostname theme.
getHostnameSuggestionAsync
in interface AWSOpsWorksAsync
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.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeRaidArraysResult> describeRaidArraysAsync(DescribeRaidArraysRequest describeRaidArraysRequest) throws AmazonServiceException, AmazonClientException
Describe an instance's RAID arrays.
describeRaidArraysAsync
in interface AWSOpsWorksAsync
describeRaidArraysRequest
- Container for the necessary
parameters to execute the DescribeRaidArrays operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeRaidArraysResult> describeRaidArraysAsync(DescribeRaidArraysRequest describeRaidArraysRequest, AsyncHandler<DescribeRaidArraysRequest,DescribeRaidArraysResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describe an instance's RAID arrays.
describeRaidArraysAsync
in interface AWSOpsWorksAsync
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.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeLayersResult> describeLayersAsync(DescribeLayersRequest describeLayersRequest) throws AmazonServiceException, AmazonClientException
Requests a description of one or more layers in a specified stack.
describeLayersAsync
in interface AWSOpsWorksAsync
describeLayersRequest
- Container for the necessary parameters to
execute the DescribeLayers operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeLayersResult> describeLayersAsync(DescribeLayersRequest describeLayersRequest, AsyncHandler<DescribeLayersRequest,DescribeLayersResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Requests a description of one or more layers in a specified stack.
describeLayersAsync
in interface AWSOpsWorksAsync
describeLayersRequest
- Container for the necessary parameters to
execute the DescribeLayers operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeLoadBasedAutoScalingResult> describeLoadBasedAutoScalingAsync(DescribeLoadBasedAutoScalingRequest describeLoadBasedAutoScalingRequest) throws AmazonServiceException, AmazonClientException
Describes load-based auto scaling configurations for specified layers.
describeLoadBasedAutoScalingAsync
in interface AWSOpsWorksAsync
describeLoadBasedAutoScalingRequest
- Container for the necessary
parameters to execute the DescribeLoadBasedAutoScaling operation on
AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeLoadBasedAutoScalingResult> describeLoadBasedAutoScalingAsync(DescribeLoadBasedAutoScalingRequest describeLoadBasedAutoScalingRequest, AsyncHandler<DescribeLoadBasedAutoScalingRequest,DescribeLoadBasedAutoScalingResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes load-based auto scaling configurations for specified layers.
describeLoadBasedAutoScalingAsync
in interface AWSOpsWorksAsync
describeLoadBasedAutoScalingRequest
- Container for the necessary
parameters to execute the DescribeLoadBasedAutoScaling operation on
AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> setLoadBasedAutoScalingAsync(SetLoadBasedAutoScalingRequest setLoadBasedAutoScalingRequest) throws AmazonServiceException, AmazonClientException
Specify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with Time-based and Load-based Instances .
NOTE:To use load-based auto scaling, you must create a set of load-based auto scaling instances. Load-based auto scaling operates only on the instances from that set, so you must ensure that you have created enough instances to handle the maximum anticipated load.
setLoadBasedAutoScalingAsync
in interface AWSOpsWorksAsync
setLoadBasedAutoScalingRequest
- Container for the necessary
parameters to execute the SetLoadBasedAutoScaling operation on
AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> setLoadBasedAutoScalingAsync(SetLoadBasedAutoScalingRequest setLoadBasedAutoScalingRequest, AsyncHandler<SetLoadBasedAutoScalingRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Specify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with Time-based and Load-based Instances .
NOTE:To use load-based auto scaling, you must create a set of load-based auto scaling instances. Load-based auto scaling operates only on the instances from that set, so you must ensure that you have created enough instances to handle the maximum anticipated load.
setLoadBasedAutoScalingAsync
in interface AWSOpsWorksAsync
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.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeElasticLoadBalancersResult> describeElasticLoadBalancersAsync(DescribeElasticLoadBalancersRequest describeElasticLoadBalancersRequest) throws AmazonServiceException, AmazonClientException
Describes a stack's Elastic Load Balancing instances.
describeElasticLoadBalancersAsync
in interface AWSOpsWorksAsync
describeElasticLoadBalancersRequest
- Container for the necessary
parameters to execute the DescribeElasticLoadBalancers operation on
AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeElasticLoadBalancersResult> describeElasticLoadBalancersAsync(DescribeElasticLoadBalancersRequest describeElasticLoadBalancersRequest, AsyncHandler<DescribeElasticLoadBalancersRequest,DescribeElasticLoadBalancersResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes a stack's Elastic Load Balancing instances.
describeElasticLoadBalancersAsync
in interface AWSOpsWorksAsync
describeElasticLoadBalancersRequest
- Container for the necessary
parameters to execute the DescribeElasticLoadBalancers operation on
AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteLayerAsync(DeleteLayerRequest deleteLayerRequest) throws AmazonServiceException, AmazonClientException
Deletes a specified layer. You must first stop and then delete all associated instances. For more information, see How to Delete a Layer .
deleteLayerAsync
in interface AWSOpsWorksAsync
deleteLayerRequest
- Container for the necessary parameters to
execute the DeleteLayer operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteLayerAsync(DeleteLayerRequest deleteLayerRequest, AsyncHandler<DeleteLayerRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a specified layer. You must first stop and then delete all associated instances. For more information, see How to Delete a Layer .
deleteLayerAsync
in interface AWSOpsWorksAsync
deleteLayerRequest
- Container for the necessary parameters to
execute the DeleteLayer operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> setTimeBasedAutoScalingAsync(SetTimeBasedAutoScalingRequest setTimeBasedAutoScalingRequest) throws AmazonServiceException, AmazonClientException
Specify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with Time-based and Load-based Instances .
setTimeBasedAutoScalingAsync
in interface AWSOpsWorksAsync
setTimeBasedAutoScalingRequest
- Container for the necessary
parameters to execute the SetTimeBasedAutoScaling operation on
AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> setTimeBasedAutoScalingAsync(SetTimeBasedAutoScalingRequest setTimeBasedAutoScalingRequest, AsyncHandler<SetTimeBasedAutoScalingRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Specify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with Time-based and Load-based Instances .
setTimeBasedAutoScalingAsync
in interface AWSOpsWorksAsync
setTimeBasedAutoScalingRequest
- Container for the necessary
parameters to execute the SetTimeBasedAutoScaling operation on
AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeVolumesResult> describeVolumesAsync(DescribeVolumesRequest describeVolumesRequest) throws AmazonServiceException, AmazonClientException
Describes an instance's Amazon EBS volumes.
describeVolumesAsync
in interface AWSOpsWorksAsync
describeVolumesRequest
- Container for the necessary parameters
to execute the DescribeVolumes operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeVolumesResult> describeVolumesAsync(DescribeVolumesRequest describeVolumesRequest, AsyncHandler<DescribeVolumesRequest,DescribeVolumesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes an instance's Amazon EBS volumes.
describeVolumesAsync
in interface AWSOpsWorksAsync
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.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<CreateAppResult> createAppAsync(CreateAppRequest createAppRequest) throws AmazonServiceException, AmazonClientException
Creates an app for a specified stack. For more information, see Creating Apps .
createAppAsync
in interface AWSOpsWorksAsync
createAppRequest
- Container for the necessary parameters to
execute the CreateApp operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<CreateAppResult> createAppAsync(CreateAppRequest createAppRequest, AsyncHandler<CreateAppRequest,CreateAppResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates an app for a specified stack. For more information, see Creating Apps .
createAppAsync
in interface AWSOpsWorksAsync
createAppRequest
- Container for the necessary parameters to
execute the CreateApp operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeTimeBasedAutoScalingResult> describeTimeBasedAutoScalingAsync(DescribeTimeBasedAutoScalingRequest describeTimeBasedAutoScalingRequest) throws AmazonServiceException, AmazonClientException
Describes time-based auto scaling configurations for specified instances.
describeTimeBasedAutoScalingAsync
in interface AWSOpsWorksAsync
describeTimeBasedAutoScalingRequest
- Container for the necessary
parameters to execute the DescribeTimeBasedAutoScaling operation on
AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeTimeBasedAutoScalingResult> describeTimeBasedAutoScalingAsync(DescribeTimeBasedAutoScalingRequest describeTimeBasedAutoScalingRequest, AsyncHandler<DescribeTimeBasedAutoScalingRequest,DescribeTimeBasedAutoScalingResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes time-based auto scaling configurations for specified instances.
describeTimeBasedAutoScalingAsync
in interface AWSOpsWorksAsync
describeTimeBasedAutoScalingRequest
- Container for the necessary
parameters to execute the DescribeTimeBasedAutoScaling operation on
AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteUserProfileAsync(DeleteUserProfileRequest deleteUserProfileRequest) throws AmazonServiceException, AmazonClientException
Deletes a user profile.
deleteUserProfileAsync
in interface AWSOpsWorksAsync
deleteUserProfileRequest
- Container for the necessary parameters
to execute the DeleteUserProfile operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteUserProfileAsync(DeleteUserProfileRequest deleteUserProfileRequest, AsyncHandler<DeleteUserProfileRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a user profile.
deleteUserProfileAsync
in interface AWSOpsWorksAsync
deleteUserProfileRequest
- Container for the necessary parameters
to execute the DeleteUserProfile operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeUserProfilesResult> describeUserProfilesAsync(DescribeUserProfilesRequest describeUserProfilesRequest) throws AmazonServiceException, AmazonClientException
Describe specified users.
describeUserProfilesAsync
in interface AWSOpsWorksAsync
describeUserProfilesRequest
- Container for the necessary
parameters to execute the DescribeUserProfiles operation on
AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeUserProfilesResult> describeUserProfilesAsync(DescribeUserProfilesRequest describeUserProfilesRequest, AsyncHandler<DescribeUserProfilesRequest,DescribeUserProfilesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describe specified users.
describeUserProfilesAsync
in interface AWSOpsWorksAsync
describeUserProfilesRequest
- Container for the necessary
parameters to execute the DescribeUserProfiles operation on
AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> updateInstanceAsync(UpdateInstanceRequest updateInstanceRequest) throws AmazonServiceException, AmazonClientException
Updates a specified instance.
updateInstanceAsync
in interface AWSOpsWorksAsync
updateInstanceRequest
- Container for the necessary parameters to
execute the UpdateInstance operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> updateInstanceAsync(UpdateInstanceRequest updateInstanceRequest, AsyncHandler<UpdateInstanceRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Updates a specified instance.
updateInstanceAsync
in interface AWSOpsWorksAsync
updateInstanceRequest
- Container for the necessary parameters to
execute the UpdateInstance operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeServiceErrorsResult> describeServiceErrorsAsync(DescribeServiceErrorsRequest describeServiceErrorsRequest) throws AmazonServiceException, AmazonClientException
Describes OpsWorks service errors.
describeServiceErrorsAsync
in interface AWSOpsWorksAsync
describeServiceErrorsRequest
- Container for the necessary
parameters to execute the DescribeServiceErrors operation on
AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeServiceErrorsResult> describeServiceErrorsAsync(DescribeServiceErrorsRequest describeServiceErrorsRequest, AsyncHandler<DescribeServiceErrorsRequest,DescribeServiceErrorsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes OpsWorks service errors.
describeServiceErrorsAsync
in interface AWSOpsWorksAsync
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.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeDeploymentsResult> describeDeploymentsAsync(DescribeDeploymentsRequest describeDeploymentsRequest) throws AmazonServiceException, AmazonClientException
Requests a description of a specified set of deployments.
describeDeploymentsAsync
in interface AWSOpsWorksAsync
describeDeploymentsRequest
- Container for the necessary
parameters to execute the DescribeDeployments operation on
AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeDeploymentsResult> describeDeploymentsAsync(DescribeDeploymentsRequest describeDeploymentsRequest, AsyncHandler<DescribeDeploymentsRequest,DescribeDeploymentsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Requests a description of a specified set of deployments.
describeDeploymentsAsync
in interface AWSOpsWorksAsync
describeDeploymentsRequest
- Container for the necessary
parameters to execute the DescribeDeployments operation on
AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> updateLayerAsync(UpdateLayerRequest updateLayerRequest) throws AmazonServiceException, AmazonClientException
Updates a specified layer.
updateLayerAsync
in interface AWSOpsWorksAsync
updateLayerRequest
- Container for the necessary parameters to
execute the UpdateLayer operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> updateLayerAsync(UpdateLayerRequest updateLayerRequest, AsyncHandler<UpdateLayerRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Updates a specified layer.
updateLayerAsync
in interface AWSOpsWorksAsync
updateLayerRequest
- Container for the necessary parameters to
execute the UpdateLayer operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> startInstanceAsync(StartInstanceRequest startInstanceRequest) throws AmazonServiceException, AmazonClientException
Starts a specified instance. For more information, see Starting, Stopping, and Rebooting Instances .
startInstanceAsync
in interface AWSOpsWorksAsync
startInstanceRequest
- Container for the necessary parameters to
execute the StartInstance operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> startInstanceAsync(StartInstanceRequest startInstanceRequest, AsyncHandler<StartInstanceRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Starts a specified instance. For more information, see Starting, Stopping, and Rebooting Instances .
startInstanceAsync
in interface AWSOpsWorksAsync
startInstanceRequest
- Container for the necessary parameters to
execute the StartInstance operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeElasticIpsResult> describeElasticIpsAsync(DescribeElasticIpsRequest describeElasticIpsRequest) throws AmazonServiceException, AmazonClientException
Describes an instance's Elastic IP addresses .
describeElasticIpsAsync
in interface AWSOpsWorksAsync
describeElasticIpsRequest
- Container for the necessary
parameters to execute the DescribeElasticIps operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeElasticIpsResult> describeElasticIpsAsync(DescribeElasticIpsRequest describeElasticIpsRequest, AsyncHandler<DescribeElasticIpsRequest,DescribeElasticIpsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes an instance's Elastic IP addresses .
describeElasticIpsAsync
in interface AWSOpsWorksAsync
describeElasticIpsRequest
- Container for the necessary
parameters to execute the DescribeElasticIps operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeStacksResult> describeStacksAsync(DescribeStacksRequest describeStacksRequest) throws AmazonServiceException, AmazonClientException
Requests a description of one or more stacks.
describeStacksAsync
in interface AWSOpsWorksAsync
describeStacksRequest
- Container for the necessary parameters to
execute the DescribeStacks operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeStacksResult> describeStacksAsync(DescribeStacksRequest describeStacksRequest, AsyncHandler<DescribeStacksRequest,DescribeStacksResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Requests a description of one or more stacks.
describeStacksAsync
in interface AWSOpsWorksAsync
describeStacksRequest
- Container for the necessary parameters to
execute the DescribeStacks operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAppsResult> describeAppsAsync(DescribeAppsRequest describeAppsRequest) throws AmazonServiceException, AmazonClientException
Requests a description of a specified set of apps.
describeAppsAsync
in interface AWSOpsWorksAsync
describeAppsRequest
- Container for the necessary parameters to
execute the DescribeApps operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAppsResult> describeAppsAsync(DescribeAppsRequest describeAppsRequest, AsyncHandler<DescribeAppsRequest,DescribeAppsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Requests a description of a specified set of apps.
describeAppsAsync
in interface AWSOpsWorksAsync
describeAppsRequest
- Container for the necessary parameters to
execute the DescribeApps operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<CreateLayerResult> createLayerAsync(CreateLayerRequest createLayerRequest) throws AmazonServiceException, AmazonClientException
Creates a layer. For more information, see How to Create a Layer .
NOTE:You should use CreateLayer for non-custom layer types such as PHP App Server only if the stack does not have an existing layer of that type. A stack can have at most one instance of each non-custom layer; if you attempt to create a second instance, CreateLayer fails. A stack can have an arbitrary number of custom layers, so you can call CreateLayer as many times as you like for that layer type.
createLayerAsync
in interface AWSOpsWorksAsync
createLayerRequest
- Container for the necessary parameters to
execute the CreateLayer operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<CreateLayerResult> createLayerAsync(CreateLayerRequest createLayerRequest, AsyncHandler<CreateLayerRequest,CreateLayerResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a layer. For more information, see How to Create a Layer .
NOTE:You should use CreateLayer for non-custom layer types such as PHP App Server only if the stack does not have an existing layer of that type. A stack can have at most one instance of each non-custom layer; if you attempt to create a second instance, CreateLayer fails. A stack can have an arbitrary number of custom layers, so you can call CreateLayer as many times as you like for that layer type.
createLayerAsync
in interface AWSOpsWorksAsync
createLayerRequest
- Container for the necessary parameters to
execute the CreateLayer operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteStackAsync(DeleteStackRequest deleteStackRequest) throws AmazonServiceException, AmazonClientException
Deletes a specified stack. You must first delete all instances, layers, and apps. For more information, see Shut Down a Stack .
deleteStackAsync
in interface AWSOpsWorksAsync
deleteStackRequest
- Container for the necessary parameters to
execute the DeleteStack operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteStackAsync(DeleteStackRequest deleteStackRequest, AsyncHandler<DeleteStackRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a specified stack. You must first delete all instances, layers, and apps. For more information, see Shut Down a Stack .
deleteStackAsync
in interface AWSOpsWorksAsync
deleteStackRequest
- Container for the necessary parameters to
execute the DeleteStack operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> startStackAsync(StartStackRequest startStackRequest) throws AmazonServiceException, AmazonClientException
Starts stack's instances.
startStackAsync
in interface AWSOpsWorksAsync
startStackRequest
- Container for the necessary parameters to
execute the StartStack operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> startStackAsync(StartStackRequest startStackRequest, AsyncHandler<StartStackRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Starts stack's instances.
startStackAsync
in interface AWSOpsWorksAsync
startStackRequest
- Container for the necessary parameters to
execute the StartStack operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> stopStackAsync(StopStackRequest stopStackRequest) throws AmazonServiceException, AmazonClientException
Stops a specified stack.
stopStackAsync
in interface AWSOpsWorksAsync
stopStackRequest
- Container for the necessary parameters to
execute the StopStack operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<Void> stopStackAsync(StopStackRequest stopStackRequest, AsyncHandler<StopStackRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Stops a specified stack.
stopStackAsync
in interface AWSOpsWorksAsync
stopStackRequest
- Container for the necessary parameters to
execute the StopStack operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest) throws AmazonServiceException, AmazonClientException
Deploys a stack or app.
deploy
event, which runs
the associated recipes and passes them a JSON stack configuration
object that includes information about the app. deploy
recipes but does
not raise an event.For more information, see Deploying Apps and Run Stack Commands .
createDeploymentAsync
in interface AWSOpsWorksAsync
createDeploymentRequest
- Container for the necessary parameters
to execute the CreateDeployment operation on AWSOpsWorks.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest, AsyncHandler<CreateDeploymentRequest,CreateDeploymentResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deploys a stack or app.
deploy
event, which runs
the associated recipes and passes them a JSON stack configuration
object that includes information about the app. deploy
recipes but does
not raise an event.For more information, see Deploying Apps and Run Stack Commands .
createDeploymentAsync
in interface AWSOpsWorksAsync
createDeploymentRequest
- Container for the necessary parameters
to execute the CreateDeployment operation on AWSOpsWorks.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |