|
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,
java.util.concurrent.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,
java.util.concurrent.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,
java.util.concurrent.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,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks using the specified AWS account credentials provider and executor service. |
|
AWSOpsWorksAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AWSOpsWorks. |
Method Summary | |
---|---|
java.util.concurrent.Future<java.lang.Void> |
attachElasticLoadBalancerAsync(AttachElasticLoadBalancerRequest attachElasticLoadBalancerRequest)
Attaches an Elastic Load Balancing instance to a specified layer. |
java.util.concurrent.Future<java.lang.Void> |
attachElasticLoadBalancerAsync(AttachElasticLoadBalancerRequest attachElasticLoadBalancerRequest,
AsyncHandler<AttachElasticLoadBalancerRequest,java.lang.Void> asyncHandler)
Attaches an Elastic Load Balancing instance to a specified layer. |
java.util.concurrent.Future<CloneStackResult> |
cloneStackAsync(CloneStackRequest cloneStackRequest)
Creates a clone of a specified stack. |
java.util.concurrent.Future<CloneStackResult> |
cloneStackAsync(CloneStackRequest cloneStackRequest,
AsyncHandler<CloneStackRequest,CloneStackResult> asyncHandler)
Creates a clone of a specified stack. |
java.util.concurrent.Future<CreateAppResult> |
createAppAsync(CreateAppRequest createAppRequest)
Creates an app for a specified stack. |
java.util.concurrent.Future<CreateAppResult> |
createAppAsync(CreateAppRequest createAppRequest,
AsyncHandler<CreateAppRequest,CreateAppResult> asyncHandler)
Creates an app for a specified stack. |
java.util.concurrent.Future<CreateDeploymentResult> |
createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest)
Deploys a stack or app. |
java.util.concurrent.Future<CreateDeploymentResult> |
createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest,
AsyncHandler<CreateDeploymentRequest,CreateDeploymentResult> asyncHandler)
Deploys a stack or app. |
java.util.concurrent.Future<CreateInstanceResult> |
createInstanceAsync(CreateInstanceRequest createInstanceRequest)
Creates an instance in a specified stack. |
java.util.concurrent.Future<CreateInstanceResult> |
createInstanceAsync(CreateInstanceRequest createInstanceRequest,
AsyncHandler<CreateInstanceRequest,CreateInstanceResult> asyncHandler)
Creates an instance in a specified stack. |
java.util.concurrent.Future<CreateLayerResult> |
createLayerAsync(CreateLayerRequest createLayerRequest)
Creates a layer. |
java.util.concurrent.Future<CreateLayerResult> |
createLayerAsync(CreateLayerRequest createLayerRequest,
AsyncHandler<CreateLayerRequest,CreateLayerResult> asyncHandler)
Creates a layer. |
java.util.concurrent.Future<CreateStackResult> |
createStackAsync(CreateStackRequest createStackRequest)
Creates a new stack. |
java.util.concurrent.Future<CreateStackResult> |
createStackAsync(CreateStackRequest createStackRequest,
AsyncHandler<CreateStackRequest,CreateStackResult> asyncHandler)
Creates a new stack. |
java.util.concurrent.Future<CreateUserProfileResult> |
createUserProfileAsync(CreateUserProfileRequest createUserProfileRequest)
Creates a new user profile. |
java.util.concurrent.Future<CreateUserProfileResult> |
createUserProfileAsync(CreateUserProfileRequest createUserProfileRequest,
AsyncHandler<CreateUserProfileRequest,CreateUserProfileResult> asyncHandler)
Creates a new user profile. |
java.util.concurrent.Future<java.lang.Void> |
deleteAppAsync(DeleteAppRequest deleteAppRequest)
Deletes a specified app. |
java.util.concurrent.Future<java.lang.Void> |
deleteAppAsync(DeleteAppRequest deleteAppRequest,
AsyncHandler<DeleteAppRequest,java.lang.Void> asyncHandler)
Deletes a specified app. |
java.util.concurrent.Future<java.lang.Void> |
deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest)
Deletes a specified instance. |
java.util.concurrent.Future<java.lang.Void> |
deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest,
AsyncHandler<DeleteInstanceRequest,java.lang.Void> asyncHandler)
Deletes a specified instance. |
java.util.concurrent.Future<java.lang.Void> |
deleteLayerAsync(DeleteLayerRequest deleteLayerRequest)
Deletes a specified layer. |
java.util.concurrent.Future<java.lang.Void> |
deleteLayerAsync(DeleteLayerRequest deleteLayerRequest,
AsyncHandler<DeleteLayerRequest,java.lang.Void> asyncHandler)
Deletes a specified layer. |
java.util.concurrent.Future<java.lang.Void> |
deleteStackAsync(DeleteStackRequest deleteStackRequest)
Deletes a specified stack. |
java.util.concurrent.Future<java.lang.Void> |
deleteStackAsync(DeleteStackRequest deleteStackRequest,
AsyncHandler<DeleteStackRequest,java.lang.Void> asyncHandler)
Deletes a specified stack. |
java.util.concurrent.Future<java.lang.Void> |
deleteUserProfileAsync(DeleteUserProfileRequest deleteUserProfileRequest)
Deletes a user profile. |
java.util.concurrent.Future<java.lang.Void> |
deleteUserProfileAsync(DeleteUserProfileRequest deleteUserProfileRequest,
AsyncHandler<DeleteUserProfileRequest,java.lang.Void> asyncHandler)
Deletes a user profile. |
java.util.concurrent.Future<DescribeAppsResult> |
describeAppsAsync(DescribeAppsRequest describeAppsRequest)
Requests a description of a specified set of apps. |
java.util.concurrent.Future<DescribeAppsResult> |
describeAppsAsync(DescribeAppsRequest describeAppsRequest,
AsyncHandler<DescribeAppsRequest,DescribeAppsResult> asyncHandler)
Requests a description of a specified set of apps. |
java.util.concurrent.Future<DescribeCommandsResult> |
describeCommandsAsync(DescribeCommandsRequest describeCommandsRequest)
Describes the results of specified commands. |
java.util.concurrent.Future<DescribeCommandsResult> |
describeCommandsAsync(DescribeCommandsRequest describeCommandsRequest,
AsyncHandler<DescribeCommandsRequest,DescribeCommandsResult> asyncHandler)
Describes the results of specified commands. |
java.util.concurrent.Future<DescribeDeploymentsResult> |
describeDeploymentsAsync(DescribeDeploymentsRequest describeDeploymentsRequest)
Requests a description of a specified set of deployments. |
java.util.concurrent.Future<DescribeDeploymentsResult> |
describeDeploymentsAsync(DescribeDeploymentsRequest describeDeploymentsRequest,
AsyncHandler<DescribeDeploymentsRequest,DescribeDeploymentsResult> asyncHandler)
Requests a description of a specified set of deployments. |
java.util.concurrent.Future<DescribeElasticIpsResult> |
describeElasticIpsAsync(DescribeElasticIpsRequest describeElasticIpsRequest)
Describes an instance's Elastic IP addresses . |
java.util.concurrent.Future<DescribeElasticIpsResult> |
describeElasticIpsAsync(DescribeElasticIpsRequest describeElasticIpsRequest,
AsyncHandler<DescribeElasticIpsRequest,DescribeElasticIpsResult> asyncHandler)
Describes an instance's Elastic IP addresses . |
java.util.concurrent.Future<DescribeElasticLoadBalancersResult> |
describeElasticLoadBalancersAsync(DescribeElasticLoadBalancersRequest describeElasticLoadBalancersRequest)
Describes a stack's Elastic Load Balancing instances. |
java.util.concurrent.Future<DescribeElasticLoadBalancersResult> |
describeElasticLoadBalancersAsync(DescribeElasticLoadBalancersRequest describeElasticLoadBalancersRequest,
AsyncHandler<DescribeElasticLoadBalancersRequest,DescribeElasticLoadBalancersResult> asyncHandler)
Describes a stack's Elastic Load Balancing instances. |
java.util.concurrent.Future<DescribeInstancesResult> |
describeInstancesAsync(DescribeInstancesRequest describeInstancesRequest)
Requests a description of a set of instances associated with a specified ID or IDs. |
java.util.concurrent.Future<DescribeInstancesResult> |
describeInstancesAsync(DescribeInstancesRequest describeInstancesRequest,
AsyncHandler<DescribeInstancesRequest,DescribeInstancesResult> asyncHandler)
Requests a description of a set of instances associated with a specified ID or IDs. |
java.util.concurrent.Future<DescribeLayersResult> |
describeLayersAsync(DescribeLayersRequest describeLayersRequest)
Requests a description of one or more layers in a specified stack. |
java.util.concurrent.Future<DescribeLayersResult> |
describeLayersAsync(DescribeLayersRequest describeLayersRequest,
AsyncHandler<DescribeLayersRequest,DescribeLayersResult> asyncHandler)
Requests a description of one or more layers in a specified stack. |
java.util.concurrent.Future<DescribeLoadBasedAutoScalingResult> |
describeLoadBasedAutoScalingAsync(DescribeLoadBasedAutoScalingRequest describeLoadBasedAutoScalingRequest)
Describes load-based auto scaling configurations for specified layers. |
java.util.concurrent.Future<DescribeLoadBasedAutoScalingResult> |
describeLoadBasedAutoScalingAsync(DescribeLoadBasedAutoScalingRequest describeLoadBasedAutoScalingRequest,
AsyncHandler<DescribeLoadBasedAutoScalingRequest,DescribeLoadBasedAutoScalingResult> asyncHandler)
Describes load-based auto scaling configurations for specified layers. |
java.util.concurrent.Future<DescribePermissionsResult> |
describePermissionsAsync(DescribePermissionsRequest describePermissionsRequest)
Describes the permissions for a specified stack. |
java.util.concurrent.Future<DescribePermissionsResult> |
describePermissionsAsync(DescribePermissionsRequest describePermissionsRequest,
AsyncHandler<DescribePermissionsRequest,DescribePermissionsResult> asyncHandler)
Describes the permissions for a specified stack. |
java.util.concurrent.Future<DescribeRaidArraysResult> |
describeRaidArraysAsync(DescribeRaidArraysRequest describeRaidArraysRequest)
Describe an instance's RAID arrays. |
java.util.concurrent.Future<DescribeRaidArraysResult> |
describeRaidArraysAsync(DescribeRaidArraysRequest describeRaidArraysRequest,
AsyncHandler<DescribeRaidArraysRequest,DescribeRaidArraysResult> asyncHandler)
Describe an instance's RAID arrays. |
java.util.concurrent.Future<DescribeServiceErrorsResult> |
describeServiceErrorsAsync(DescribeServiceErrorsRequest describeServiceErrorsRequest)
Describes OpsWorks service errors. |
java.util.concurrent.Future<DescribeServiceErrorsResult> |
describeServiceErrorsAsync(DescribeServiceErrorsRequest describeServiceErrorsRequest,
AsyncHandler<DescribeServiceErrorsRequest,DescribeServiceErrorsResult> asyncHandler)
Describes OpsWorks service errors. |
java.util.concurrent.Future<DescribeStacksResult> |
describeStacksAsync(DescribeStacksRequest describeStacksRequest)
Requests a description of one or more stacks. |
java.util.concurrent.Future<DescribeStacksResult> |
describeStacksAsync(DescribeStacksRequest describeStacksRequest,
AsyncHandler<DescribeStacksRequest,DescribeStacksResult> asyncHandler)
Requests a description of one or more stacks. |
java.util.concurrent.Future<DescribeTimeBasedAutoScalingResult> |
describeTimeBasedAutoScalingAsync(DescribeTimeBasedAutoScalingRequest describeTimeBasedAutoScalingRequest)
Describes time-based auto scaling configurations for specified instances. |
java.util.concurrent.Future<DescribeTimeBasedAutoScalingResult> |
describeTimeBasedAutoScalingAsync(DescribeTimeBasedAutoScalingRequest describeTimeBasedAutoScalingRequest,
AsyncHandler<DescribeTimeBasedAutoScalingRequest,DescribeTimeBasedAutoScalingResult> asyncHandler)
Describes time-based auto scaling configurations for specified instances. |
java.util.concurrent.Future<DescribeUserProfilesResult> |
describeUserProfilesAsync(DescribeUserProfilesRequest describeUserProfilesRequest)
Describe specified users. |
java.util.concurrent.Future<DescribeUserProfilesResult> |
describeUserProfilesAsync(DescribeUserProfilesRequest describeUserProfilesRequest,
AsyncHandler<DescribeUserProfilesRequest,DescribeUserProfilesResult> asyncHandler)
Describe specified users. |
java.util.concurrent.Future<DescribeVolumesResult> |
describeVolumesAsync(DescribeVolumesRequest describeVolumesRequest)
Describes an instance's Amazon EBS volumes. |
java.util.concurrent.Future<DescribeVolumesResult> |
describeVolumesAsync(DescribeVolumesRequest describeVolumesRequest,
AsyncHandler<DescribeVolumesRequest,DescribeVolumesResult> asyncHandler)
Describes an instance's Amazon EBS volumes. |
java.util.concurrent.Future<java.lang.Void> |
detachElasticLoadBalancerAsync(DetachElasticLoadBalancerRequest detachElasticLoadBalancerRequest)
Detaches a specified Elastic Load Balancing instance from it's layer. |
java.util.concurrent.Future<java.lang.Void> |
detachElasticLoadBalancerAsync(DetachElasticLoadBalancerRequest detachElasticLoadBalancerRequest,
AsyncHandler<DetachElasticLoadBalancerRequest,java.lang.Void> asyncHandler)
Detaches a specified Elastic Load Balancing instance from it's layer. |
java.util.concurrent.ExecutorService |
getExecutorService()
Returns the executor service used by this async client to execute requests. |
java.util.concurrent.Future<GetHostnameSuggestionResult> |
getHostnameSuggestionAsync(GetHostnameSuggestionRequest getHostnameSuggestionRequest)
Gets a generated hostname for the specified layer, based on the current hostname theme. |
java.util.concurrent.Future<GetHostnameSuggestionResult> |
getHostnameSuggestionAsync(GetHostnameSuggestionRequest getHostnameSuggestionRequest,
AsyncHandler<GetHostnameSuggestionRequest,GetHostnameSuggestionResult> asyncHandler)
Gets a generated hostname for the specified layer, based on the current hostname theme. |
java.util.concurrent.Future<java.lang.Void> |
rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest)
Reboots a specified instance. |
java.util.concurrent.Future<java.lang.Void> |
rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest,
AsyncHandler<RebootInstanceRequest,java.lang.Void> asyncHandler)
Reboots a specified instance. |
java.util.concurrent.Future<java.lang.Void> |
setLoadBasedAutoScalingAsync(SetLoadBasedAutoScalingRequest setLoadBasedAutoScalingRequest)
Specify the load-based auto scaling configuration for a specified layer. |
java.util.concurrent.Future<java.lang.Void> |
setLoadBasedAutoScalingAsync(SetLoadBasedAutoScalingRequest setLoadBasedAutoScalingRequest,
AsyncHandler<SetLoadBasedAutoScalingRequest,java.lang.Void> asyncHandler)
Specify the load-based auto scaling configuration for a specified layer. |
java.util.concurrent.Future<java.lang.Void> |
setPermissionAsync(SetPermissionRequest setPermissionRequest)
Specifies a stack's permissions. |
java.util.concurrent.Future<java.lang.Void> |
setPermissionAsync(SetPermissionRequest setPermissionRequest,
AsyncHandler<SetPermissionRequest,java.lang.Void> asyncHandler)
Specifies a stack's permissions. |
java.util.concurrent.Future<java.lang.Void> |
setTimeBasedAutoScalingAsync(SetTimeBasedAutoScalingRequest setTimeBasedAutoScalingRequest)
Specify the time-based auto scaling configuration for a specified instance. |
java.util.concurrent.Future<java.lang.Void> |
setTimeBasedAutoScalingAsync(SetTimeBasedAutoScalingRequest setTimeBasedAutoScalingRequest,
AsyncHandler<SetTimeBasedAutoScalingRequest,java.lang.Void> asyncHandler)
Specify the time-based auto scaling configuration for a specified instance. |
void |
shutdown()
Shuts down the client, releasing all managed resources. |
java.util.concurrent.Future<java.lang.Void> |
startInstanceAsync(StartInstanceRequest startInstanceRequest)
Starts a specified instance. |
java.util.concurrent.Future<java.lang.Void> |
startInstanceAsync(StartInstanceRequest startInstanceRequest,
AsyncHandler<StartInstanceRequest,java.lang.Void> asyncHandler)
Starts a specified instance. |
java.util.concurrent.Future<java.lang.Void> |
startStackAsync(StartStackRequest startStackRequest)
Starts stack's instances. |
java.util.concurrent.Future<java.lang.Void> |
startStackAsync(StartStackRequest startStackRequest,
AsyncHandler<StartStackRequest,java.lang.Void> asyncHandler)
Starts stack's instances. |
java.util.concurrent.Future<java.lang.Void> |
stopInstanceAsync(StopInstanceRequest stopInstanceRequest)
Stops a specified instance. |
java.util.concurrent.Future<java.lang.Void> |
stopInstanceAsync(StopInstanceRequest stopInstanceRequest,
AsyncHandler<StopInstanceRequest,java.lang.Void> asyncHandler)
Stops a specified instance. |
java.util.concurrent.Future<java.lang.Void> |
stopStackAsync(StopStackRequest stopStackRequest)
Stops a specified stack. |
java.util.concurrent.Future<java.lang.Void> |
stopStackAsync(StopStackRequest stopStackRequest,
AsyncHandler<StopStackRequest,java.lang.Void> asyncHandler)
Stops a specified stack. |
java.util.concurrent.Future<java.lang.Void> |
updateAppAsync(UpdateAppRequest updateAppRequest)
Updates a specified app. |
java.util.concurrent.Future<java.lang.Void> |
updateAppAsync(UpdateAppRequest updateAppRequest,
AsyncHandler<UpdateAppRequest,java.lang.Void> asyncHandler)
Updates a specified app. |
java.util.concurrent.Future<java.lang.Void> |
updateInstanceAsync(UpdateInstanceRequest updateInstanceRequest)
Updates a specified instance. |
java.util.concurrent.Future<java.lang.Void> |
updateInstanceAsync(UpdateInstanceRequest updateInstanceRequest,
AsyncHandler<UpdateInstanceRequest,java.lang.Void> asyncHandler)
Updates a specified instance. |
java.util.concurrent.Future<java.lang.Void> |
updateLayerAsync(UpdateLayerRequest updateLayerRequest)
Updates a specified layer. |
java.util.concurrent.Future<java.lang.Void> |
updateLayerAsync(UpdateLayerRequest updateLayerRequest,
AsyncHandler<UpdateLayerRequest,java.lang.Void> asyncHandler)
Updates a specified layer. |
java.util.concurrent.Future<java.lang.Void> |
updateStackAsync(UpdateStackRequest updateStackRequest)
Updates a specified stack. |
java.util.concurrent.Future<java.lang.Void> |
updateStackAsync(UpdateStackRequest updateStackRequest,
AsyncHandler<UpdateStackRequest,java.lang.Void> asyncHandler)
Updates a specified stack. |
java.util.concurrent.Future<java.lang.Void> |
updateUserProfileAsync(UpdateUserProfileRequest updateUserProfileRequest)
Updates a specified user profile. |
java.util.concurrent.Future<java.lang.Void> |
updateUserProfileAsync(UpdateUserProfileRequest updateUserProfileRequest,
AsyncHandler<UpdateUserProfileRequest,java.lang.Void> asyncHandler)
Updates a specified user profile. |
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, java.util.concurrent.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, java.util.concurrent.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, java.util.concurrent.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, java.util.concurrent.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 java.util.concurrent.ExecutorService getExecutorService()
public void shutdown()
shutdown
in interface AWSOpsWorks
shutdown
in class AmazonWebServiceClient
public java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> updateUserProfileAsync(UpdateUserProfileRequest updateUserProfileRequest, AsyncHandler<UpdateUserProfileRequest,java.lang.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest, AsyncHandler<RebootInstanceRequest,java.lang.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> setPermissionAsync(SetPermissionRequest setPermissionRequest, AsyncHandler<SetPermissionRequest,java.lang.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest, AsyncHandler<DeleteInstanceRequest,java.lang.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> stopInstanceAsync(StopInstanceRequest stopInstanceRequest, AsyncHandler<StopInstanceRequest,java.lang.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> detachElasticLoadBalancerAsync(DetachElasticLoadBalancerRequest detachElasticLoadBalancerRequest, AsyncHandler<DetachElasticLoadBalancerRequest,java.lang.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> updateAppAsync(UpdateAppRequest updateAppRequest, AsyncHandler<UpdateAppRequest,java.lang.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> deleteAppAsync(DeleteAppRequest deleteAppRequest, AsyncHandler<DeleteAppRequest,java.lang.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> attachElasticLoadBalancerAsync(AttachElasticLoadBalancerRequest attachElasticLoadBalancerRequest, AsyncHandler<AttachElasticLoadBalancerRequest,java.lang.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> updateStackAsync(UpdateStackRequest updateStackRequest, AsyncHandler<UpdateStackRequest,java.lang.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> setLoadBasedAutoScalingAsync(SetLoadBasedAutoScalingRequest setLoadBasedAutoScalingRequest, AsyncHandler<SetLoadBasedAutoScalingRequest,java.lang.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> deleteLayerAsync(DeleteLayerRequest deleteLayerRequest, AsyncHandler<DeleteLayerRequest,java.lang.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> setTimeBasedAutoScalingAsync(SetTimeBasedAutoScalingRequest setTimeBasedAutoScalingRequest, AsyncHandler<SetTimeBasedAutoScalingRequest,java.lang.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> deleteUserProfileAsync(DeleteUserProfileRequest deleteUserProfileRequest, AsyncHandler<DeleteUserProfileRequest,java.lang.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> updateInstanceAsync(UpdateInstanceRequest updateInstanceRequest, AsyncHandler<UpdateInstanceRequest,java.lang.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> updateLayerAsync(UpdateLayerRequest updateLayerRequest, AsyncHandler<UpdateLayerRequest,java.lang.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> startInstanceAsync(StartInstanceRequest startInstanceRequest, AsyncHandler<StartInstanceRequest,java.lang.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> deleteStackAsync(DeleteStackRequest deleteStackRequest, AsyncHandler<DeleteStackRequest,java.lang.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> startStackAsync(StartStackRequest startStackRequest, AsyncHandler<StartStackRequest,java.lang.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 java.util.concurrent.Future<java.lang.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 java.util.concurrent.Future<java.lang.Void> stopStackAsync(StopStackRequest stopStackRequest, AsyncHandler<StopStackRequest,java.lang.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 java.util.concurrent.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 java.util.concurrent.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 |