Class AWSOpsWorksAsyncClient
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceClient
-
- com.amazonaws.services.opsworks.AWSOpsWorksClient
-
- com.amazonaws.services.opsworks.AWSOpsWorksAsyncClient
-
- All Implemented Interfaces:
AWSOpsWorks,AWSOpsWorksAsync
@ThreadSafe public class AWSOpsWorksAsyncClient extends AWSOpsWorksClient implements AWSOpsWorksAsync
Interface for accessing AWS OpsWorks asynchronously. Each asynchronous method will return a Java Future object representing the asynchronous operation; overloads which accept anAsyncHandlercan be used to receive notification when an asynchronous operation completes.AWS OpsWorks Welcome to the AWS OpsWorks API Reference. This guide provides descriptions, syntax, and usage examples about AWS OpsWorks actions and data types, including common parameters and error codes.
AWS OpsWorks is an application management service that provides an integrated experience for overseeing the complete application lifecycle. For information about this product, go to the AWS OpsWorks details page.
SDKs and CLI
The most common way to use the AWS OpsWorks API is by using the AWS Command Line Interface (CLI) or by using one of the AWS SDKs to implement applications in your preferred language. For more information, see:
- AWS CLI
- AWS SDK for Java
- AWS SDK for .NET
- AWS SDK for PHP 2
- AWS SDK for Ruby
- AWS SDK for Node.js
- AWS SDK for Python(Boto)
Endpoints
AWS OpsWorks supports only one endpoint, opsworks.us-east-1.amazonaws.com (HTTPS), so you must connect to that endpoint. You can then use the API to direct AWS OpsWorks to create stacks in any AWS Region.
Chef Versions
When you call CreateStack, CloneStack, or UpdateStack we recommend you use the
ConfigurationManagerparameter to specify the Chef version. The recommended value for Linux stacks is currently 12 (the default is 11.4). Windows stacks use Chef 12.2. For more information, see Chef Versions.You can specify Chef 12, 11.10, or 11.4 for your Linux stack. We recommend migrating your existing Linux stacks to Chef 12 as soon as possible.
-
-
Field Summary
-
Fields inherited from class com.amazonaws.services.opsworks.AWSOpsWorksClient
configFactory
-
Fields inherited from class com.amazonaws.AmazonWebServiceClient
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
-
-
Constructor Summary
Constructors Constructor Description AWSOpsWorksAsyncClient()Constructs a new asynchronous client to invoke service methods on AWS OpsWorks.AWSOpsWorksAsyncClient(AWSCredentials awsCredentials)Constructs a new asynchronous client to invoke service methods on AWS OpsWorks using the specified AWS account credentials.AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider)Constructs a new asynchronous client to invoke service methods on AWS OpsWorks using the specified AWS account credentials provider.AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)Constructs a new asynchronous client to invoke service methods on AWS OpsWorks using the provided AWS account credentials provider and client configuration options.AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on AWS OpsWorks using the specified AWS account credentials provider, executor service, and client configuration options.AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on AWS OpsWorks using the specified AWS account credentials provider and executor service.AWSOpsWorksAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on AWS OpsWorks using the specified AWS account credentials, executor service, and client configuration options.AWSOpsWorksAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on AWS OpsWorks using the specified AWS account credentials and executor service.AWSOpsWorksAsyncClient(ClientConfiguration clientConfiguration)Constructs a new asynchronous client to invoke service methods on AWS OpsWorks.
-
Method Summary
-
Methods inherited from class com.amazonaws.services.opsworks.AWSOpsWorksClient
assignInstance, assignVolume, associateElasticIp, attachElasticLoadBalancer, cloneStack, createApp, createDeployment, createInstance, createLayer, createStack, createUserProfile, deleteApp, deleteInstance, deleteLayer, deleteStack, deleteUserProfile, deregisterEcsCluster, deregisterElasticIp, deregisterInstance, deregisterRdsDbInstance, deregisterVolume, describeAgentVersions, describeApps, describeCommands, describeDeployments, describeEcsClusters, describeElasticIps, describeElasticLoadBalancers, describeInstances, describeLayers, describeLoadBasedAutoScaling, describeMyUserProfile, describePermissions, describeRaidArrays, describeRdsDbInstances, describeServiceErrors, describeStackProvisioningParameters, describeStacks, describeStackSummary, describeTimeBasedAutoScaling, describeUserProfiles, describeVolumes, detachElasticLoadBalancer, disassociateElasticIp, getCachedResponseMetadata, getHostnameSuggestion, grantAccess, rebootInstance, registerEcsCluster, registerElasticIp, registerInstance, registerRdsDbInstance, registerVolume, setLoadBasedAutoScaling, setPermission, setTimeBasedAutoScaling, startInstance, startStack, stopInstance, stopStack, unassignInstance, unassignVolume, updateApp, updateElasticIp, updateInstance, updateLayer, updateMyUserProfile, updateRdsDbInstance, updateStack, updateUserProfile, updateVolume
-
Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, addRequestHandler, beforeMarshalling, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.amazonaws.services.opsworks.AWSOpsWorks
assignInstance, assignVolume, associateElasticIp, attachElasticLoadBalancer, cloneStack, createApp, createDeployment, createInstance, createLayer, createStack, createUserProfile, deleteApp, deleteInstance, deleteLayer, deleteStack, deleteUserProfile, deregisterEcsCluster, deregisterElasticIp, deregisterInstance, deregisterRdsDbInstance, deregisterVolume, describeAgentVersions, describeApps, describeCommands, describeDeployments, describeEcsClusters, describeElasticIps, describeElasticLoadBalancers, describeInstances, describeLayers, describeLoadBasedAutoScaling, describeMyUserProfile, describePermissions, describeRaidArrays, describeRdsDbInstances, describeServiceErrors, describeStackProvisioningParameters, describeStacks, describeStackSummary, describeTimeBasedAutoScaling, describeUserProfiles, describeVolumes, detachElasticLoadBalancer, disassociateElasticIp, getCachedResponseMetadata, getHostnameSuggestion, grantAccess, rebootInstance, registerEcsCluster, registerElasticIp, registerInstance, registerRdsDbInstance, registerVolume, setEndpoint, setLoadBasedAutoScaling, setPermission, setRegion, setTimeBasedAutoScaling, startInstance, startStack, stopInstance, stopStack, unassignInstance, unassignVolume, updateApp, updateElasticIp, updateInstance, updateLayer, updateMyUserProfile, updateRdsDbInstance, updateStack, updateUserProfile, updateVolume
-
-
-
-
Constructor Detail
-
AWSOpsWorksAsyncClient
public AWSOpsWorksAsyncClient()
Constructs a new asynchronous client to invoke service methods on AWS OpsWorks. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
-
AWSOpsWorksAsyncClient
public AWSOpsWorksAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AWS OpsWorks. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the maximum number of concurrent connections configured via
ClientConfiguration.getMaxConnections().- Parameters:
clientConfiguration- The client configuration options controlling how this client connects to AWS OpsWorks (ex: proxy settings, retry counts, etc).- See Also:
DefaultAWSCredentialsProviderChain,Executors.newFixedThreadPool(int)
-
AWSOpsWorksAsyncClient
public AWSOpsWorksAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on AWS OpsWorks using the specified AWS account credentials.Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
- Parameters:
awsCredentials- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.- See Also:
Executors.newFixedThreadPool(int)
-
AWSOpsWorksAsyncClient
public AWSOpsWorksAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWS OpsWorks using the specified AWS account credentials and executor service. Default client settings will be used.- Parameters:
awsCredentials- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.executorService- The executor service by which all asynchronous requests will be executed.
-
AWSOpsWorksAsyncClient
public AWSOpsWorksAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWS OpsWorks using the specified AWS account credentials, executor service, and client configuration options.- Parameters:
awsCredentials- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration- Client configuration options (ex: max retry limit, proxy settings, etc).executorService- The executor service by which all asynchronous requests will be executed.
-
AWSOpsWorksAsyncClient
public AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on AWS OpsWorks using the specified AWS account credentials provider. Default client settings will be used.Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
- Parameters:
awsCredentialsProvider- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.- See Also:
Executors.newFixedThreadPool(int)
-
AWSOpsWorksAsyncClient
public AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AWS OpsWorks using the provided AWS account credentials provider and client configuration options.Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the maximum number of concurrent connections configured via
ClientConfiguration.getMaxConnections().- Parameters:
awsCredentialsProvider- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration- Client configuration options (ex: max retry limit, proxy settings, etc).- See Also:
DefaultAWSCredentialsProviderChain,Executors.newFixedThreadPool(int)
-
AWSOpsWorksAsyncClient
public AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWS OpsWorks using the specified AWS account credentials provider and executor service. Default client settings will be used.- Parameters:
awsCredentialsProvider- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.executorService- The executor service by which all asynchronous requests will be executed.
-
AWSOpsWorksAsyncClient
public AWSOpsWorksAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWS OpsWorks using the specified AWS account credentials provider, executor service, and client configuration options.- Parameters:
awsCredentialsProvider- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration- Client configuration options (ex: max retry limit, proxy settings, etc).executorService- The executor service by which all asynchronous requests will be executed.
-
-
Method Detail
-
getExecutorService
public ExecutorService getExecutorService()
Returns the executor service used by this client to execute async requests.- Returns:
- The executor service used by this client to execute async requests.
-
assignInstanceAsync
public Future<AssignInstanceResult> assignInstanceAsync(AssignInstanceRequest request)
Description copied from interface:AWSOpsWorksAsyncAssign a registered instance to a layer.
- You can assign registered on-premises instances to any layer type.
- You can assign registered Amazon EC2 instances only to custom layers.
- You cannot use this action with instances that were created with AWS OpsWorks.
Required Permissions: To use this action, an AWS Identity and Access Management (IAM) user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
assignInstanceAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the AssignInstance operation returned by the service.
-
assignInstanceAsync
public Future<AssignInstanceResult> assignInstanceAsync(AssignInstanceRequest request, AsyncHandler<AssignInstanceRequest,AssignInstanceResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncAssign a registered instance to a layer.
- You can assign registered on-premises instances to any layer type.
- You can assign registered Amazon EC2 instances only to custom layers.
- You cannot use this action with instances that were created with AWS OpsWorks.
Required Permissions: To use this action, an AWS Identity and Access Management (IAM) user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
assignInstanceAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the AssignInstance operation returned by the service.
-
assignVolumeAsync
public Future<AssignVolumeResult> assignVolumeAsync(AssignVolumeRequest request)
Description copied from interface:AWSOpsWorksAsyncAssigns one of the stack's registered Amazon EBS volumes to a specified instance. The volume must first be registered with the stack by calling RegisterVolume. After you register the volume, you must call UpdateVolume to specify a mount point before calling
AssignVolume. For more information, see Resource Management.Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
assignVolumeAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the AssignVolume operation returned by the service.
-
assignVolumeAsync
public Future<AssignVolumeResult> assignVolumeAsync(AssignVolumeRequest request, AsyncHandler<AssignVolumeRequest,AssignVolumeResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncAssigns one of the stack's registered Amazon EBS volumes to a specified instance. The volume must first be registered with the stack by calling RegisterVolume. After you register the volume, you must call UpdateVolume to specify a mount point before calling
AssignVolume. For more information, see Resource Management.Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
assignVolumeAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the AssignVolume operation returned by the service.
-
associateElasticIpAsync
public Future<AssociateElasticIpResult> associateElasticIpAsync(AssociateElasticIpRequest request)
Description copied from interface:AWSOpsWorksAsyncAssociates one of the stack's registered Elastic IP addresses with a specified instance. The address must first be registered with the stack by calling RegisterElasticIp. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
associateElasticIpAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the AssociateElasticIp operation returned by the service.
-
associateElasticIpAsync
public Future<AssociateElasticIpResult> associateElasticIpAsync(AssociateElasticIpRequest request, AsyncHandler<AssociateElasticIpRequest,AssociateElasticIpResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncAssociates one of the stack's registered Elastic IP addresses with a specified instance. The address must first be registered with the stack by calling RegisterElasticIp. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
associateElasticIpAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the AssociateElasticIp operation returned by the service.
-
attachElasticLoadBalancerAsync
public Future<AttachElasticLoadBalancerResult> attachElasticLoadBalancerAsync(AttachElasticLoadBalancerRequest request)
Description copied from interface:AWSOpsWorksAsyncAttaches an Elastic Load Balancing load balancer to a specified layer. For more information, see Elastic Load Balancing.
You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API, or CLI. For more information, see Elastic Load Balancing Developer Guide.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
attachElasticLoadBalancerAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the AttachElasticLoadBalancer operation returned by the service.
-
attachElasticLoadBalancerAsync
public Future<AttachElasticLoadBalancerResult> attachElasticLoadBalancerAsync(AttachElasticLoadBalancerRequest request, AsyncHandler<AttachElasticLoadBalancerRequest,AttachElasticLoadBalancerResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncAttaches an Elastic Load Balancing load balancer to a specified layer. For more information, see Elastic Load Balancing.
You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API, or CLI. For more information, see Elastic Load Balancing Developer Guide.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
attachElasticLoadBalancerAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the AttachElasticLoadBalancer operation returned by the service.
-
cloneStackAsync
public Future<CloneStackResult> cloneStackAsync(CloneStackRequest request)
Description copied from interface:AWSOpsWorksAsyncCreates a clone of a specified stack. For more information, see Clone a Stack. By default, all parameters are set to the values used by the parent stack.
Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
cloneStackAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the CloneStack operation returned by the service.
-
cloneStackAsync
public Future<CloneStackResult> cloneStackAsync(CloneStackRequest request, AsyncHandler<CloneStackRequest,CloneStackResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncCreates a clone of a specified stack. For more information, see Clone a Stack. By default, all parameters are set to the values used by the parent stack.
Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
cloneStackAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CloneStack operation returned by the service.
-
createAppAsync
public Future<CreateAppResult> createAppAsync(CreateAppRequest request)
Description copied from interface:AWSOpsWorksAsyncCreates an app for a specified stack. For more information, see Creating Apps.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
createAppAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the CreateApp operation returned by the service.
-
createAppAsync
public Future<CreateAppResult> createAppAsync(CreateAppRequest request, AsyncHandler<CreateAppRequest,CreateAppResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncCreates an app for a specified stack. For more information, see Creating Apps.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
createAppAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateApp operation returned by the service.
-
createDeploymentAsync
public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest request)
Description copied from interface:AWSOpsWorksAsyncRuns deployment or stack commands. For more information, see Deploying Apps and Run Stack Commands.
Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
createDeploymentAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the CreateDeployment operation returned by the service.
-
createDeploymentAsync
public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest request, AsyncHandler<CreateDeploymentRequest,CreateDeploymentResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncRuns deployment or stack commands. For more information, see Deploying Apps and Run Stack Commands.
Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
createDeploymentAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateDeployment operation returned by the service.
-
createInstanceAsync
public Future<CreateInstanceResult> createInstanceAsync(CreateInstanceRequest request)
Description copied from interface:AWSOpsWorksAsyncCreates an instance in a specified stack. For more information, see Adding an Instance to a Layer.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
createInstanceAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the CreateInstance operation returned by the service.
-
createInstanceAsync
public Future<CreateInstanceResult> createInstanceAsync(CreateInstanceRequest request, AsyncHandler<CreateInstanceRequest,CreateInstanceResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncCreates an instance in a specified stack. For more information, see Adding an Instance to a Layer.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
createInstanceAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateInstance operation returned by the service.
-
createLayerAsync
public Future<CreateLayerResult> createLayerAsync(CreateLayerRequest request)
Description copied from interface:AWSOpsWorksAsyncCreates a layer. For more information, see How to Create a Layer.
You should use CreateLayer for noncustom layer types such as PHP App Server only if the stack does not have an existing layer of that type. A stack can have at most one instance of each noncustom layer; if you attempt to create a second instance, CreateLayer fails. A stack can have an arbitrary number of custom layers, so you can call CreateLayer as many times as you like for that layer type.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
createLayerAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the CreateLayer operation returned by the service.
-
createLayerAsync
public Future<CreateLayerResult> createLayerAsync(CreateLayerRequest request, AsyncHandler<CreateLayerRequest,CreateLayerResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncCreates a layer. For more information, see How to Create a Layer.
You should use CreateLayer for noncustom layer types such as PHP App Server only if the stack does not have an existing layer of that type. A stack can have at most one instance of each noncustom layer; if you attempt to create a second instance, CreateLayer fails. A stack can have an arbitrary number of custom layers, so you can call CreateLayer as many times as you like for that layer type.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
createLayerAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateLayer operation returned by the service.
-
createStackAsync
public Future<CreateStackResult> createStackAsync(CreateStackRequest request)
Description copied from interface:AWSOpsWorksAsyncCreates a new stack. For more information, see Create a New Stack.
Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
createStackAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the CreateStack operation returned by the service.
-
createStackAsync
public Future<CreateStackResult> createStackAsync(CreateStackRequest request, AsyncHandler<CreateStackRequest,CreateStackResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncCreates a new stack. For more information, see Create a New Stack.
Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
createStackAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateStack operation returned by the service.
-
createUserProfileAsync
public Future<CreateUserProfileResult> createUserProfileAsync(CreateUserProfileRequest request)
Description copied from interface:AWSOpsWorksAsyncCreates a new user profile.
Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
createUserProfileAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the CreateUserProfile operation returned by the service.
-
createUserProfileAsync
public Future<CreateUserProfileResult> createUserProfileAsync(CreateUserProfileRequest request, AsyncHandler<CreateUserProfileRequest,CreateUserProfileResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncCreates a new user profile.
Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
createUserProfileAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateUserProfile operation returned by the service.
-
deleteAppAsync
public Future<DeleteAppResult> deleteAppAsync(DeleteAppRequest request)
Description copied from interface:AWSOpsWorksAsyncDeletes a specified app.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
deleteAppAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DeleteApp operation returned by the service.
-
deleteAppAsync
public Future<DeleteAppResult> deleteAppAsync(DeleteAppRequest request, AsyncHandler<DeleteAppRequest,DeleteAppResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDeletes a specified app.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
deleteAppAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteApp operation returned by the service.
-
deleteInstanceAsync
public Future<DeleteInstanceResult> deleteInstanceAsync(DeleteInstanceRequest request)
Description copied from interface:AWSOpsWorksAsyncDeletes a specified instance, which terminates the associated Amazon EC2 instance. You must stop an instance before you can delete it.
For more information, see Deleting Instances.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
deleteInstanceAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DeleteInstance operation returned by the service.
-
deleteInstanceAsync
public Future<DeleteInstanceResult> deleteInstanceAsync(DeleteInstanceRequest request, AsyncHandler<DeleteInstanceRequest,DeleteInstanceResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDeletes a specified instance, which terminates the associated Amazon EC2 instance. You must stop an instance before you can delete it.
For more information, see Deleting Instances.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
deleteInstanceAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteInstance operation returned by the service.
-
deleteLayerAsync
public Future<DeleteLayerResult> deleteLayerAsync(DeleteLayerRequest request)
Description copied from interface:AWSOpsWorksAsyncDeletes a specified layer. You must first stop and then delete all associated instances or unassign registered instances. For more information, see How to Delete a Layer.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
deleteLayerAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DeleteLayer operation returned by the service.
-
deleteLayerAsync
public Future<DeleteLayerResult> deleteLayerAsync(DeleteLayerRequest request, AsyncHandler<DeleteLayerRequest,DeleteLayerResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDeletes a specified layer. You must first stop and then delete all associated instances or unassign registered instances. For more information, see How to Delete a Layer.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
deleteLayerAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteLayer operation returned by the service.
-
deleteStackAsync
public Future<DeleteStackResult> deleteStackAsync(DeleteStackRequest request)
Description copied from interface:AWSOpsWorksAsyncDeletes a specified stack. You must first delete all instances, layers, and apps or deregister registered instances. For more information, see Shut Down a Stack.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
deleteStackAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DeleteStack operation returned by the service.
-
deleteStackAsync
public Future<DeleteStackResult> deleteStackAsync(DeleteStackRequest request, AsyncHandler<DeleteStackRequest,DeleteStackResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDeletes a specified stack. You must first delete all instances, layers, and apps or deregister registered instances. For more information, see Shut Down a Stack.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
deleteStackAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteStack operation returned by the service.
-
deleteUserProfileAsync
public Future<DeleteUserProfileResult> deleteUserProfileAsync(DeleteUserProfileRequest request)
Description copied from interface:AWSOpsWorksAsyncDeletes a user profile.
Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
deleteUserProfileAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DeleteUserProfile operation returned by the service.
-
deleteUserProfileAsync
public Future<DeleteUserProfileResult> deleteUserProfileAsync(DeleteUserProfileRequest request, AsyncHandler<DeleteUserProfileRequest,DeleteUserProfileResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDeletes a user profile.
Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
deleteUserProfileAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteUserProfile operation returned by the service.
-
deregisterEcsClusterAsync
public Future<DeregisterEcsClusterResult> deregisterEcsClusterAsync(DeregisterEcsClusterRequest request)
Description copied from interface:AWSOpsWorksAsyncDeregisters a specified Amazon ECS cluster from a stack. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see .
- Specified by:
deregisterEcsClusterAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DeregisterEcsCluster operation returned by the service.
-
deregisterEcsClusterAsync
public Future<DeregisterEcsClusterResult> deregisterEcsClusterAsync(DeregisterEcsClusterRequest request, AsyncHandler<DeregisterEcsClusterRequest,DeregisterEcsClusterResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDeregisters a specified Amazon ECS cluster from a stack. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see .
- Specified by:
deregisterEcsClusterAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeregisterEcsCluster operation returned by the service.
-
deregisterElasticIpAsync
public Future<DeregisterElasticIpResult> deregisterElasticIpAsync(DeregisterElasticIpRequest request)
Description copied from interface:AWSOpsWorksAsyncDeregisters a specified Elastic IP address. The address can then be registered by another stack. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
deregisterElasticIpAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DeregisterElasticIp operation returned by the service.
-
deregisterElasticIpAsync
public Future<DeregisterElasticIpResult> deregisterElasticIpAsync(DeregisterElasticIpRequest request, AsyncHandler<DeregisterElasticIpRequest,DeregisterElasticIpResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDeregisters a specified Elastic IP address. The address can then be registered by another stack. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
deregisterElasticIpAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeregisterElasticIp operation returned by the service.
-
deregisterInstanceAsync
public Future<DeregisterInstanceResult> deregisterInstanceAsync(DeregisterInstanceRequest request)
Description copied from interface:AWSOpsWorksAsyncDeregister a registered Amazon EC2 or on-premises instance. This action removes the instance from the stack and returns it to your control. This action can not be used with instances that were created with AWS OpsWorks.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
deregisterInstanceAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DeregisterInstance operation returned by the service.
-
deregisterInstanceAsync
public Future<DeregisterInstanceResult> deregisterInstanceAsync(DeregisterInstanceRequest request, AsyncHandler<DeregisterInstanceRequest,DeregisterInstanceResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDeregister a registered Amazon EC2 or on-premises instance. This action removes the instance from the stack and returns it to your control. This action can not be used with instances that were created with AWS OpsWorks.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
deregisterInstanceAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeregisterInstance operation returned by the service.
-
deregisterRdsDbInstanceAsync
public Future<DeregisterRdsDbInstanceResult> deregisterRdsDbInstanceAsync(DeregisterRdsDbInstanceRequest request)
Description copied from interface:AWSOpsWorksAsyncDeregisters an Amazon RDS instance.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
deregisterRdsDbInstanceAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DeregisterRdsDbInstance operation returned by the service.
-
deregisterRdsDbInstanceAsync
public Future<DeregisterRdsDbInstanceResult> deregisterRdsDbInstanceAsync(DeregisterRdsDbInstanceRequest request, AsyncHandler<DeregisterRdsDbInstanceRequest,DeregisterRdsDbInstanceResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDeregisters an Amazon RDS instance.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
deregisterRdsDbInstanceAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeregisterRdsDbInstance operation returned by the service.
-
deregisterVolumeAsync
public Future<DeregisterVolumeResult> deregisterVolumeAsync(DeregisterVolumeRequest request)
Description copied from interface:AWSOpsWorksAsyncDeregisters an Amazon EBS volume. The volume can then be registered by another stack. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
deregisterVolumeAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DeregisterVolume operation returned by the service.
-
deregisterVolumeAsync
public Future<DeregisterVolumeResult> deregisterVolumeAsync(DeregisterVolumeRequest request, AsyncHandler<DeregisterVolumeRequest,DeregisterVolumeResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDeregisters an Amazon EBS volume. The volume can then be registered by another stack. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
deregisterVolumeAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeregisterVolume operation returned by the service.
-
describeAgentVersionsAsync
public Future<DescribeAgentVersionsResult> describeAgentVersionsAsync(DescribeAgentVersionsRequest request)
Description copied from interface:AWSOpsWorksAsyncDescribes the available AWS OpsWorks agent versions. You must specify a stack ID or a configuration manager.
DescribeAgentVersionsreturns a list of available agent versions for the specified stack or configuration manager.- Specified by:
describeAgentVersionsAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeAgentVersions operation returned by the service.
-
describeAgentVersionsAsync
public Future<DescribeAgentVersionsResult> describeAgentVersionsAsync(DescribeAgentVersionsRequest request, AsyncHandler<DescribeAgentVersionsRequest,DescribeAgentVersionsResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDescribes the available AWS OpsWorks agent versions. You must specify a stack ID or a configuration manager.
DescribeAgentVersionsreturns a list of available agent versions for the specified stack or configuration manager.- Specified by:
describeAgentVersionsAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeAgentVersions operation returned by the service.
-
describeAppsAsync
public Future<DescribeAppsResult> describeAppsAsync(DescribeAppsRequest request)
Description copied from interface:AWSOpsWorksAsyncRequests a description of a specified set of apps.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeAppsAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeApps operation returned by the service.
-
describeAppsAsync
public Future<DescribeAppsResult> describeAppsAsync(DescribeAppsRequest request, AsyncHandler<DescribeAppsRequest,DescribeAppsResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncRequests a description of a specified set of apps.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeAppsAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeApps operation returned by the service.
-
describeCommandsAsync
public Future<DescribeCommandsResult> describeCommandsAsync(DescribeCommandsRequest request)
Description copied from interface:AWSOpsWorksAsyncDescribes the results of specified commands.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeCommandsAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeCommands operation returned by the service.
-
describeCommandsAsync
public Future<DescribeCommandsResult> describeCommandsAsync(DescribeCommandsRequest request, AsyncHandler<DescribeCommandsRequest,DescribeCommandsResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDescribes the results of specified commands.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeCommandsAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeCommands operation returned by the service.
-
describeDeploymentsAsync
public Future<DescribeDeploymentsResult> describeDeploymentsAsync(DescribeDeploymentsRequest request)
Description copied from interface:AWSOpsWorksAsyncRequests a description of a specified set of deployments.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeDeploymentsAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeDeployments operation returned by the service.
-
describeDeploymentsAsync
public Future<DescribeDeploymentsResult> describeDeploymentsAsync(DescribeDeploymentsRequest request, AsyncHandler<DescribeDeploymentsRequest,DescribeDeploymentsResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncRequests a description of a specified set of deployments.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeDeploymentsAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeDeployments operation returned by the service.
-
describeEcsClustersAsync
public Future<DescribeEcsClustersResult> describeEcsClustersAsync(DescribeEcsClustersRequest request)
Description copied from interface:AWSOpsWorksAsyncDescribes Amazon ECS clusters that are registered with a stack. If you specify only a stack ID, you can use the
MaxResultsandNextTokenparameters to paginate the response. However, AWS OpsWorks currently supports only one cluster per layer, so the result set has a maximum of one element.Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack or an attached policy that explicitly grants permission. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeEcsClustersAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeEcsClusters operation returned by the service.
-
describeEcsClustersAsync
public Future<DescribeEcsClustersResult> describeEcsClustersAsync(DescribeEcsClustersRequest request, AsyncHandler<DescribeEcsClustersRequest,DescribeEcsClustersResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDescribes Amazon ECS clusters that are registered with a stack. If you specify only a stack ID, you can use the
MaxResultsandNextTokenparameters to paginate the response. However, AWS OpsWorks currently supports only one cluster per layer, so the result set has a maximum of one element.Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack or an attached policy that explicitly grants permission. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeEcsClustersAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeEcsClusters operation returned by the service.
-
describeElasticIpsAsync
public Future<DescribeElasticIpsResult> describeElasticIpsAsync(DescribeElasticIpsRequest request)
Description copied from interface:AWSOpsWorksAsyncDescribes Elastic IP addresses.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeElasticIpsAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeElasticIps operation returned by the service.
-
describeElasticIpsAsync
public Future<DescribeElasticIpsResult> describeElasticIpsAsync(DescribeElasticIpsRequest request, AsyncHandler<DescribeElasticIpsRequest,DescribeElasticIpsResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDescribes Elastic IP addresses.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeElasticIpsAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeElasticIps operation returned by the service.
-
describeElasticLoadBalancersAsync
public Future<DescribeElasticLoadBalancersResult> describeElasticLoadBalancersAsync(DescribeElasticLoadBalancersRequest request)
Description copied from interface:AWSOpsWorksAsyncDescribes a stack's Elastic Load Balancing instances.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeElasticLoadBalancersAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeElasticLoadBalancers operation returned by the service.
-
describeElasticLoadBalancersAsync
public Future<DescribeElasticLoadBalancersResult> describeElasticLoadBalancersAsync(DescribeElasticLoadBalancersRequest request, AsyncHandler<DescribeElasticLoadBalancersRequest,DescribeElasticLoadBalancersResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDescribes a stack's Elastic Load Balancing instances.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeElasticLoadBalancersAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeElasticLoadBalancers operation returned by the service.
-
describeInstancesAsync
public Future<DescribeInstancesResult> describeInstancesAsync(DescribeInstancesRequest request)
Description copied from interface:AWSOpsWorksAsyncRequests a description of a set of instances.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeInstancesAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeInstances operation returned by the service.
-
describeInstancesAsync
public Future<DescribeInstancesResult> describeInstancesAsync(DescribeInstancesRequest request, AsyncHandler<DescribeInstancesRequest,DescribeInstancesResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncRequests a description of a set of instances.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeInstancesAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeInstances operation returned by the service.
-
describeLayersAsync
public Future<DescribeLayersResult> describeLayersAsync(DescribeLayersRequest request)
Description copied from interface:AWSOpsWorksAsyncRequests a description of one or more layers in a specified stack.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeLayersAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeLayers operation returned by the service.
-
describeLayersAsync
public Future<DescribeLayersResult> describeLayersAsync(DescribeLayersRequest request, AsyncHandler<DescribeLayersRequest,DescribeLayersResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncRequests a description of one or more layers in a specified stack.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeLayersAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeLayers operation returned by the service.
-
describeLoadBasedAutoScalingAsync
public Future<DescribeLoadBasedAutoScalingResult> describeLoadBasedAutoScalingAsync(DescribeLoadBasedAutoScalingRequest request)
Description copied from interface:AWSOpsWorksAsyncDescribes load-based auto scaling configurations for specified layers.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeLoadBasedAutoScalingAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeLoadBasedAutoScaling operation returned by the service.
-
describeLoadBasedAutoScalingAsync
public Future<DescribeLoadBasedAutoScalingResult> describeLoadBasedAutoScalingAsync(DescribeLoadBasedAutoScalingRequest request, AsyncHandler<DescribeLoadBasedAutoScalingRequest,DescribeLoadBasedAutoScalingResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDescribes load-based auto scaling configurations for specified layers.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeLoadBasedAutoScalingAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeLoadBasedAutoScaling operation returned by the service.
-
describeMyUserProfileAsync
public Future<DescribeMyUserProfileResult> describeMyUserProfileAsync(DescribeMyUserProfileRequest request)
Description copied from interface:AWSOpsWorksAsyncDescribes a user's SSH information.
Required Permissions: To use this action, an IAM user must have self-management enabled or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeMyUserProfileAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeMyUserProfile operation returned by the service.
-
describeMyUserProfileAsync
public Future<DescribeMyUserProfileResult> describeMyUserProfileAsync(DescribeMyUserProfileRequest request, AsyncHandler<DescribeMyUserProfileRequest,DescribeMyUserProfileResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDescribes a user's SSH information.
Required Permissions: To use this action, an IAM user must have self-management enabled or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeMyUserProfileAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeMyUserProfile operation returned by the service.
-
describePermissionsAsync
public Future<DescribePermissionsResult> describePermissionsAsync(DescribePermissionsRequest request)
Description copied from interface:AWSOpsWorksAsyncDescribes the permissions for a specified stack.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describePermissionsAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribePermissions operation returned by the service.
-
describePermissionsAsync
public Future<DescribePermissionsResult> describePermissionsAsync(DescribePermissionsRequest request, AsyncHandler<DescribePermissionsRequest,DescribePermissionsResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDescribes the permissions for a specified stack.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describePermissionsAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribePermissions operation returned by the service.
-
describeRaidArraysAsync
public Future<DescribeRaidArraysResult> describeRaidArraysAsync(DescribeRaidArraysRequest request)
Description copied from interface:AWSOpsWorksAsyncDescribe an instance's RAID arrays.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeRaidArraysAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeRaidArrays operation returned by the service.
-
describeRaidArraysAsync
public Future<DescribeRaidArraysResult> describeRaidArraysAsync(DescribeRaidArraysRequest request, AsyncHandler<DescribeRaidArraysRequest,DescribeRaidArraysResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDescribe an instance's RAID arrays.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeRaidArraysAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeRaidArrays operation returned by the service.
-
describeRdsDbInstancesAsync
public Future<DescribeRdsDbInstancesResult> describeRdsDbInstancesAsync(DescribeRdsDbInstancesRequest request)
Description copied from interface:AWSOpsWorksAsyncDescribes Amazon RDS instances.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeRdsDbInstancesAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeRdsDbInstances operation returned by the service.
-
describeRdsDbInstancesAsync
public Future<DescribeRdsDbInstancesResult> describeRdsDbInstancesAsync(DescribeRdsDbInstancesRequest request, AsyncHandler<DescribeRdsDbInstancesRequest,DescribeRdsDbInstancesResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDescribes Amazon RDS instances.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeRdsDbInstancesAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeRdsDbInstances operation returned by the service.
-
describeServiceErrorsAsync
public Future<DescribeServiceErrorsResult> describeServiceErrorsAsync(DescribeServiceErrorsRequest request)
Description copied from interface:AWSOpsWorksAsyncDescribes AWS OpsWorks service errors.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeServiceErrorsAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeServiceErrors operation returned by the service.
-
describeServiceErrorsAsync
public Future<DescribeServiceErrorsResult> describeServiceErrorsAsync(DescribeServiceErrorsRequest request, AsyncHandler<DescribeServiceErrorsRequest,DescribeServiceErrorsResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDescribes AWS OpsWorks service errors.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeServiceErrorsAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeServiceErrors operation returned by the service.
-
describeStackProvisioningParametersAsync
public Future<DescribeStackProvisioningParametersResult> describeStackProvisioningParametersAsync(DescribeStackProvisioningParametersRequest request)
Description copied from interface:AWSOpsWorksAsyncRequests a description of a stack's provisioning parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeStackProvisioningParametersAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeStackProvisioningParameters operation returned by the service.
-
describeStackProvisioningParametersAsync
public Future<DescribeStackProvisioningParametersResult> describeStackProvisioningParametersAsync(DescribeStackProvisioningParametersRequest request, AsyncHandler<DescribeStackProvisioningParametersRequest,DescribeStackProvisioningParametersResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncRequests a description of a stack's provisioning parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeStackProvisioningParametersAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeStackProvisioningParameters operation returned by the service.
-
describeStackSummaryAsync
public Future<DescribeStackSummaryResult> describeStackSummaryAsync(DescribeStackSummaryRequest request)
Description copied from interface:AWSOpsWorksAsyncDescribes the number of layers and apps in a specified stack, and the number of instances in each state, such as
running_setuporonline.Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeStackSummaryAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeStackSummary operation returned by the service.
-
describeStackSummaryAsync
public Future<DescribeStackSummaryResult> describeStackSummaryAsync(DescribeStackSummaryRequest request, AsyncHandler<DescribeStackSummaryRequest,DescribeStackSummaryResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDescribes the number of layers and apps in a specified stack, and the number of instances in each state, such as
running_setuporonline.Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeStackSummaryAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeStackSummary operation returned by the service.
-
describeStacksAsync
public Future<DescribeStacksResult> describeStacksAsync(DescribeStacksRequest request)
Description copied from interface:AWSOpsWorksAsyncRequests a description of one or more stacks.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeStacksAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeStacks operation returned by the service.
-
describeStacksAsync
public Future<DescribeStacksResult> describeStacksAsync(DescribeStacksRequest request, AsyncHandler<DescribeStacksRequest,DescribeStacksResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncRequests a description of one or more stacks.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeStacksAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeStacks operation returned by the service.
-
describeTimeBasedAutoScalingAsync
public Future<DescribeTimeBasedAutoScalingResult> describeTimeBasedAutoScalingAsync(DescribeTimeBasedAutoScalingRequest request)
Description copied from interface:AWSOpsWorksAsyncDescribes time-based auto scaling configurations for specified instances.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeTimeBasedAutoScalingAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeTimeBasedAutoScaling operation returned by the service.
-
describeTimeBasedAutoScalingAsync
public Future<DescribeTimeBasedAutoScalingResult> describeTimeBasedAutoScalingAsync(DescribeTimeBasedAutoScalingRequest request, AsyncHandler<DescribeTimeBasedAutoScalingRequest,DescribeTimeBasedAutoScalingResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDescribes time-based auto scaling configurations for specified instances.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeTimeBasedAutoScalingAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeTimeBasedAutoScaling operation returned by the service.
-
describeUserProfilesAsync
public Future<DescribeUserProfilesResult> describeUserProfilesAsync(DescribeUserProfilesRequest request)
Description copied from interface:AWSOpsWorksAsyncDescribe specified users.
Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeUserProfilesAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeUserProfiles operation returned by the service.
-
describeUserProfilesAsync
public Future<DescribeUserProfilesResult> describeUserProfilesAsync(DescribeUserProfilesRequest request, AsyncHandler<DescribeUserProfilesRequest,DescribeUserProfilesResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDescribe specified users.
Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeUserProfilesAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeUserProfiles operation returned by the service.
-
describeVolumesAsync
public Future<DescribeVolumesResult> describeVolumesAsync(DescribeVolumesRequest request)
Description copied from interface:AWSOpsWorksAsyncDescribes an instance's Amazon EBS volumes.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeVolumesAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DescribeVolumes operation returned by the service.
-
describeVolumesAsync
public Future<DescribeVolumesResult> describeVolumesAsync(DescribeVolumesRequest request, AsyncHandler<DescribeVolumesRequest,DescribeVolumesResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDescribes an instance's Amazon EBS volumes.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
describeVolumesAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeVolumes operation returned by the service.
-
detachElasticLoadBalancerAsync
public Future<DetachElasticLoadBalancerResult> detachElasticLoadBalancerAsync(DetachElasticLoadBalancerRequest request)
Description copied from interface:AWSOpsWorksAsyncDetaches a specified Elastic Load Balancing instance from its layer.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
detachElasticLoadBalancerAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DetachElasticLoadBalancer operation returned by the service.
-
detachElasticLoadBalancerAsync
public Future<DetachElasticLoadBalancerResult> detachElasticLoadBalancerAsync(DetachElasticLoadBalancerRequest request, AsyncHandler<DetachElasticLoadBalancerRequest,DetachElasticLoadBalancerResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDetaches a specified Elastic Load Balancing instance from its layer.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
detachElasticLoadBalancerAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DetachElasticLoadBalancer operation returned by the service.
-
disassociateElasticIpAsync
public Future<DisassociateElasticIpResult> disassociateElasticIpAsync(DisassociateElasticIpRequest request)
Description copied from interface:AWSOpsWorksAsyncDisassociates an Elastic IP address from its instance. The address remains registered with the stack. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
disassociateElasticIpAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the DisassociateElasticIp operation returned by the service.
-
disassociateElasticIpAsync
public Future<DisassociateElasticIpResult> disassociateElasticIpAsync(DisassociateElasticIpRequest request, AsyncHandler<DisassociateElasticIpRequest,DisassociateElasticIpResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncDisassociates an Elastic IP address from its instance. The address remains registered with the stack. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
disassociateElasticIpAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DisassociateElasticIp operation returned by the service.
-
getHostnameSuggestionAsync
public Future<GetHostnameSuggestionResult> getHostnameSuggestionAsync(GetHostnameSuggestionRequest request)
Description copied from interface:AWSOpsWorksAsyncGets a generated host name for the specified layer, based on the current host name theme.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
getHostnameSuggestionAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the GetHostnameSuggestion operation returned by the service.
-
getHostnameSuggestionAsync
public Future<GetHostnameSuggestionResult> getHostnameSuggestionAsync(GetHostnameSuggestionRequest request, AsyncHandler<GetHostnameSuggestionRequest,GetHostnameSuggestionResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncGets a generated host name for the specified layer, based on the current host name theme.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
getHostnameSuggestionAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetHostnameSuggestion operation returned by the service.
-
grantAccessAsync
public Future<GrantAccessResult> grantAccessAsync(GrantAccessRequest request)
Description copied from interface:AWSOpsWorksAsyncThis action can be used only with Windows stacks. Grants RDP access to a Windows instance for a specified time period.
- Specified by:
grantAccessAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the GrantAccess operation returned by the service.
-
grantAccessAsync
public Future<GrantAccessResult> grantAccessAsync(GrantAccessRequest request, AsyncHandler<GrantAccessRequest,GrantAccessResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncThis action can be used only with Windows stacks. Grants RDP access to a Windows instance for a specified time period.
- Specified by:
grantAccessAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GrantAccess operation returned by the service.
-
rebootInstanceAsync
public Future<RebootInstanceResult> rebootInstanceAsync(RebootInstanceRequest request)
Description copied from interface:AWSOpsWorksAsyncReboots a specified instance. For more information, see Starting, Stopping, and Rebooting Instances.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
rebootInstanceAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the RebootInstance operation returned by the service.
-
rebootInstanceAsync
public Future<RebootInstanceResult> rebootInstanceAsync(RebootInstanceRequest request, AsyncHandler<RebootInstanceRequest,RebootInstanceResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncReboots a specified instance. For more information, see Starting, Stopping, and Rebooting Instances.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
rebootInstanceAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the RebootInstance operation returned by the service.
-
registerEcsClusterAsync
public Future<RegisterEcsClusterResult> registerEcsClusterAsync(RegisterEcsClusterRequest request)
Description copied from interface:AWSOpsWorksAsyncRegisters a specified Amazon ECS cluster with a stack. You can register only one cluster with a stack. A cluster can be registered with only one stack. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
registerEcsClusterAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the RegisterEcsCluster operation returned by the service.
-
registerEcsClusterAsync
public Future<RegisterEcsClusterResult> registerEcsClusterAsync(RegisterEcsClusterRequest request, AsyncHandler<RegisterEcsClusterRequest,RegisterEcsClusterResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncRegisters a specified Amazon ECS cluster with a stack. You can register only one cluster with a stack. A cluster can be registered with only one stack. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
registerEcsClusterAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the RegisterEcsCluster operation returned by the service.
-
registerElasticIpAsync
public Future<RegisterElasticIpResult> registerElasticIpAsync(RegisterElasticIpRequest request)
Description copied from interface:AWSOpsWorksAsyncRegisters an Elastic IP address with a specified stack. An address can be registered with only one stack at a time. If the address is already registered, you must first deregister it by calling DeregisterElasticIp. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
registerElasticIpAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the RegisterElasticIp operation returned by the service.
-
registerElasticIpAsync
public Future<RegisterElasticIpResult> registerElasticIpAsync(RegisterElasticIpRequest request, AsyncHandler<RegisterElasticIpRequest,RegisterElasticIpResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncRegisters an Elastic IP address with a specified stack. An address can be registered with only one stack at a time. If the address is already registered, you must first deregister it by calling DeregisterElasticIp. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
registerElasticIpAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the RegisterElasticIp operation returned by the service.
-
registerInstanceAsync
public Future<RegisterInstanceResult> registerInstanceAsync(RegisterInstanceRequest request)
Description copied from interface:AWSOpsWorksAsyncRegisters instances with a specified stack that were created outside of AWS OpsWorks.
We do not recommend using this action to register instances. The complete registration operation has two primary steps, installing the AWS OpsWorks agent on the instance and registering the instance with the stack. RegisterInstancehandles only the second step. You should instead use the AWS CLIregistercommand, which performs the entire registration operation. For more information, see Registering an Instance with an AWS OpsWorks Stack.Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
registerInstanceAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the RegisterInstance operation returned by the service.
-
registerInstanceAsync
public Future<RegisterInstanceResult> registerInstanceAsync(RegisterInstanceRequest request, AsyncHandler<RegisterInstanceRequest,RegisterInstanceResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncRegisters instances with a specified stack that were created outside of AWS OpsWorks.
We do not recommend using this action to register instances. The complete registration operation has two primary steps, installing the AWS OpsWorks agent on the instance and registering the instance with the stack. RegisterInstancehandles only the second step. You should instead use the AWS CLIregistercommand, which performs the entire registration operation. For more information, see Registering an Instance with an AWS OpsWorks Stack.Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
registerInstanceAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the RegisterInstance operation returned by the service.
-
registerRdsDbInstanceAsync
public Future<RegisterRdsDbInstanceResult> registerRdsDbInstanceAsync(RegisterRdsDbInstanceRequest request)
Description copied from interface:AWSOpsWorksAsyncRegisters an Amazon RDS instance with a stack.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
registerRdsDbInstanceAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the RegisterRdsDbInstance operation returned by the service.
-
registerRdsDbInstanceAsync
public Future<RegisterRdsDbInstanceResult> registerRdsDbInstanceAsync(RegisterRdsDbInstanceRequest request, AsyncHandler<RegisterRdsDbInstanceRequest,RegisterRdsDbInstanceResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncRegisters an Amazon RDS instance with a stack.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
registerRdsDbInstanceAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the RegisterRdsDbInstance operation returned by the service.
-
registerVolumeAsync
public Future<RegisterVolumeResult> registerVolumeAsync(RegisterVolumeRequest request)
Description copied from interface:AWSOpsWorksAsyncRegisters an Amazon EBS volume with a specified stack. A volume can be registered with only one stack at a time. If the volume is already registered, you must first deregister it by calling DeregisterVolume. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
registerVolumeAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the RegisterVolume operation returned by the service.
-
registerVolumeAsync
public Future<RegisterVolumeResult> registerVolumeAsync(RegisterVolumeRequest request, AsyncHandler<RegisterVolumeRequest,RegisterVolumeResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncRegisters an Amazon EBS volume with a specified stack. A volume can be registered with only one stack at a time. If the volume is already registered, you must first deregister it by calling DeregisterVolume. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
registerVolumeAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the RegisterVolume operation returned by the service.
-
setLoadBasedAutoScalingAsync
public Future<SetLoadBasedAutoScalingResult> setLoadBasedAutoScalingAsync(SetLoadBasedAutoScalingRequest request)
Description copied from interface:AWSOpsWorksAsyncSpecify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with Time-based and Load-based Instances.
To use load-based auto scaling, you must create a set of load-based auto scaling instances. Load-based auto scaling operates only on the instances from that set, so you must ensure that you have created enough instances to handle the maximum anticipated load.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
setLoadBasedAutoScalingAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the SetLoadBasedAutoScaling operation returned by the service.
-
setLoadBasedAutoScalingAsync
public Future<SetLoadBasedAutoScalingResult> setLoadBasedAutoScalingAsync(SetLoadBasedAutoScalingRequest request, AsyncHandler<SetLoadBasedAutoScalingRequest,SetLoadBasedAutoScalingResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncSpecify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with Time-based and Load-based Instances.
To use load-based auto scaling, you must create a set of load-based auto scaling instances. Load-based auto scaling operates only on the instances from that set, so you must ensure that you have created enough instances to handle the maximum anticipated load.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
setLoadBasedAutoScalingAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SetLoadBasedAutoScaling operation returned by the service.
-
setPermissionAsync
public Future<SetPermissionResult> setPermissionAsync(SetPermissionRequest request)
Description copied from interface:AWSOpsWorksAsyncSpecifies a user's permissions. For more information, see Security and Permissions.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
setPermissionAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the SetPermission operation returned by the service.
-
setPermissionAsync
public Future<SetPermissionResult> setPermissionAsync(SetPermissionRequest request, AsyncHandler<SetPermissionRequest,SetPermissionResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncSpecifies a user's permissions. For more information, see Security and Permissions.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
setPermissionAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SetPermission operation returned by the service.
-
setTimeBasedAutoScalingAsync
public Future<SetTimeBasedAutoScalingResult> setTimeBasedAutoScalingAsync(SetTimeBasedAutoScalingRequest request)
Description copied from interface:AWSOpsWorksAsyncSpecify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with Time-based and Load-based Instances.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
setTimeBasedAutoScalingAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the SetTimeBasedAutoScaling operation returned by the service.
-
setTimeBasedAutoScalingAsync
public Future<SetTimeBasedAutoScalingResult> setTimeBasedAutoScalingAsync(SetTimeBasedAutoScalingRequest request, AsyncHandler<SetTimeBasedAutoScalingRequest,SetTimeBasedAutoScalingResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncSpecify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with Time-based and Load-based Instances.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
setTimeBasedAutoScalingAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SetTimeBasedAutoScaling operation returned by the service.
-
startInstanceAsync
public Future<StartInstanceResult> startInstanceAsync(StartInstanceRequest request)
Description copied from interface:AWSOpsWorksAsyncStarts a specified instance. For more information, see Starting, Stopping, and Rebooting Instances.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
startInstanceAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the StartInstance operation returned by the service.
-
startInstanceAsync
public Future<StartInstanceResult> startInstanceAsync(StartInstanceRequest request, AsyncHandler<StartInstanceRequest,StartInstanceResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncStarts a specified instance. For more information, see Starting, Stopping, and Rebooting Instances.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
startInstanceAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the StartInstance operation returned by the service.
-
startStackAsync
public Future<StartStackResult> startStackAsync(StartStackRequest request)
Description copied from interface:AWSOpsWorksAsyncStarts a stack's instances.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
startStackAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the StartStack operation returned by the service.
-
startStackAsync
public Future<StartStackResult> startStackAsync(StartStackRequest request, AsyncHandler<StartStackRequest,StartStackResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncStarts a stack's instances.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
startStackAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the StartStack operation returned by the service.
-
stopInstanceAsync
public Future<StopInstanceResult> stopInstanceAsync(StopInstanceRequest request)
Description copied from interface:AWSOpsWorksAsyncStops a specified instance. When you stop a standard instance, the data disappears and must be reinstalled when you restart the instance. You can stop an Amazon EBS-backed instance without losing data. For more information, see Starting, Stopping, and Rebooting Instances.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
stopInstanceAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the StopInstance operation returned by the service.
-
stopInstanceAsync
public Future<StopInstanceResult> stopInstanceAsync(StopInstanceRequest request, AsyncHandler<StopInstanceRequest,StopInstanceResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncStops a specified instance. When you stop a standard instance, the data disappears and must be reinstalled when you restart the instance. You can stop an Amazon EBS-backed instance without losing data. For more information, see Starting, Stopping, and Rebooting Instances.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
stopInstanceAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the StopInstance operation returned by the service.
-
stopStackAsync
public Future<StopStackResult> stopStackAsync(StopStackRequest request)
Description copied from interface:AWSOpsWorksAsyncStops a specified stack.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
stopStackAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the StopStack operation returned by the service.
-
stopStackAsync
public Future<StopStackResult> stopStackAsync(StopStackRequest request, AsyncHandler<StopStackRequest,StopStackResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncStops a specified stack.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
stopStackAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the StopStack operation returned by the service.
-
unassignInstanceAsync
public Future<UnassignInstanceResult> unassignInstanceAsync(UnassignInstanceRequest request)
Description copied from interface:AWSOpsWorksAsyncUnassigns a registered instance from all of it's layers. The instance remains in the stack as an unassigned instance and can be assigned to another layer, as needed. You cannot use this action with instances that were created with AWS OpsWorks.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
unassignInstanceAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the UnassignInstance operation returned by the service.
-
unassignInstanceAsync
public Future<UnassignInstanceResult> unassignInstanceAsync(UnassignInstanceRequest request, AsyncHandler<UnassignInstanceRequest,UnassignInstanceResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncUnassigns a registered instance from all of it's layers. The instance remains in the stack as an unassigned instance and can be assigned to another layer, as needed. You cannot use this action with instances that were created with AWS OpsWorks.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
unassignInstanceAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UnassignInstance operation returned by the service.
-
unassignVolumeAsync
public Future<UnassignVolumeResult> unassignVolumeAsync(UnassignVolumeRequest request)
Description copied from interface:AWSOpsWorksAsyncUnassigns an assigned Amazon EBS volume. The volume remains registered with the stack. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
unassignVolumeAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the UnassignVolume operation returned by the service.
-
unassignVolumeAsync
public Future<UnassignVolumeResult> unassignVolumeAsync(UnassignVolumeRequest request, AsyncHandler<UnassignVolumeRequest,UnassignVolumeResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncUnassigns an assigned Amazon EBS volume. The volume remains registered with the stack. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
unassignVolumeAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UnassignVolume operation returned by the service.
-
updateAppAsync
public Future<UpdateAppResult> updateAppAsync(UpdateAppRequest request)
Description copied from interface:AWSOpsWorksAsyncUpdates a specified app.
Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
updateAppAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the UpdateApp operation returned by the service.
-
updateAppAsync
public Future<UpdateAppResult> updateAppAsync(UpdateAppRequest request, AsyncHandler<UpdateAppRequest,UpdateAppResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncUpdates a specified app.
Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
updateAppAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateApp operation returned by the service.
-
updateElasticIpAsync
public Future<UpdateElasticIpResult> updateElasticIpAsync(UpdateElasticIpRequest request)
Description copied from interface:AWSOpsWorksAsyncUpdates a registered Elastic IP address's name. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
updateElasticIpAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the UpdateElasticIp operation returned by the service.
-
updateElasticIpAsync
public Future<UpdateElasticIpResult> updateElasticIpAsync(UpdateElasticIpRequest request, AsyncHandler<UpdateElasticIpRequest,UpdateElasticIpResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncUpdates a registered Elastic IP address's name. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
updateElasticIpAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateElasticIp operation returned by the service.
-
updateInstanceAsync
public Future<UpdateInstanceResult> updateInstanceAsync(UpdateInstanceRequest request)
Description copied from interface:AWSOpsWorksAsyncUpdates a specified instance.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
updateInstanceAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the UpdateInstance operation returned by the service.
-
updateInstanceAsync
public Future<UpdateInstanceResult> updateInstanceAsync(UpdateInstanceRequest request, AsyncHandler<UpdateInstanceRequest,UpdateInstanceResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncUpdates a specified instance.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
updateInstanceAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateInstance operation returned by the service.
-
updateLayerAsync
public Future<UpdateLayerResult> updateLayerAsync(UpdateLayerRequest request)
Description copied from interface:AWSOpsWorksAsyncUpdates a specified layer.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
updateLayerAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the UpdateLayer operation returned by the service.
-
updateLayerAsync
public Future<UpdateLayerResult> updateLayerAsync(UpdateLayerRequest request, AsyncHandler<UpdateLayerRequest,UpdateLayerResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncUpdates a specified layer.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
updateLayerAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateLayer operation returned by the service.
-
updateMyUserProfileAsync
public Future<UpdateMyUserProfileResult> updateMyUserProfileAsync(UpdateMyUserProfileRequest request)
Description copied from interface:AWSOpsWorksAsyncUpdates a user's SSH public key.
Required Permissions: To use this action, an IAM user must have self-management enabled or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
updateMyUserProfileAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the UpdateMyUserProfile operation returned by the service.
-
updateMyUserProfileAsync
public Future<UpdateMyUserProfileResult> updateMyUserProfileAsync(UpdateMyUserProfileRequest request, AsyncHandler<UpdateMyUserProfileRequest,UpdateMyUserProfileResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncUpdates a user's SSH public key.
Required Permissions: To use this action, an IAM user must have self-management enabled or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
updateMyUserProfileAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateMyUserProfile operation returned by the service.
-
updateRdsDbInstanceAsync
public Future<UpdateRdsDbInstanceResult> updateRdsDbInstanceAsync(UpdateRdsDbInstanceRequest request)
Description copied from interface:AWSOpsWorksAsyncUpdates an Amazon RDS instance.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
updateRdsDbInstanceAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the UpdateRdsDbInstance operation returned by the service.
-
updateRdsDbInstanceAsync
public Future<UpdateRdsDbInstanceResult> updateRdsDbInstanceAsync(UpdateRdsDbInstanceRequest request, AsyncHandler<UpdateRdsDbInstanceRequest,UpdateRdsDbInstanceResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncUpdates an Amazon RDS instance.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
updateRdsDbInstanceAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateRdsDbInstance operation returned by the service.
-
updateStackAsync
public Future<UpdateStackResult> updateStackAsync(UpdateStackRequest request)
Description copied from interface:AWSOpsWorksAsyncUpdates a specified stack.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
updateStackAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the UpdateStack operation returned by the service.
-
updateStackAsync
public Future<UpdateStackResult> updateStackAsync(UpdateStackRequest request, AsyncHandler<UpdateStackRequest,UpdateStackResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncUpdates a specified stack.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
updateStackAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateStack operation returned by the service.
-
updateUserProfileAsync
public Future<UpdateUserProfileResult> updateUserProfileAsync(UpdateUserProfileRequest request)
Description copied from interface:AWSOpsWorksAsyncUpdates a specified user profile.
Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
updateUserProfileAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the UpdateUserProfile operation returned by the service.
-
updateUserProfileAsync
public Future<UpdateUserProfileResult> updateUserProfileAsync(UpdateUserProfileRequest request, AsyncHandler<UpdateUserProfileRequest,UpdateUserProfileResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncUpdates a specified user profile.
Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
updateUserProfileAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateUserProfile operation returned by the service.
-
updateVolumeAsync
public Future<UpdateVolumeResult> updateVolumeAsync(UpdateVolumeRequest request)
Description copied from interface:AWSOpsWorksAsyncUpdates an Amazon EBS volume's name or mount point. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
updateVolumeAsyncin interfaceAWSOpsWorksAsync- Returns:
- A Java Future containing the result of the UpdateVolume operation returned by the service.
-
updateVolumeAsync
public Future<UpdateVolumeResult> updateVolumeAsync(UpdateVolumeRequest request, AsyncHandler<UpdateVolumeRequest,UpdateVolumeResult> asyncHandler)
Description copied from interface:AWSOpsWorksAsyncUpdates an Amazon EBS volume's name or mount point. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- Specified by:
updateVolumeAsyncin interfaceAWSOpsWorksAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateVolume operation returned by the service.
-
shutdown
public void shutdown()
Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should callgetExecutorService().shutdown()followed bygetExecutorService().awaitTermination()prior to calling this method.- Specified by:
shutdownin interfaceAWSOpsWorks- Overrides:
shutdownin classAmazonWebServiceClient
-
-