Class AmazonCodeDeployAsyncClient
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceClient
-
- com.amazonaws.services.codedeploy.AmazonCodeDeployClient
-
- com.amazonaws.services.codedeploy.AmazonCodeDeployAsyncClient
-
- All Implemented Interfaces:
AmazonCodeDeploy,AmazonCodeDeployAsync
public class AmazonCodeDeployAsyncClient extends AmazonCodeDeployClient implements AmazonCodeDeployAsync
Interface for accessing CodeDeploy 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 CodeDeploy OverviewThis reference guide provides descriptions of the AWS CodeDeploy APIs. For more information about AWS CodeDeploy, see the AWS CodeDeploy User Guide.
Using the APIsYou can use the AWS CodeDeploy APIs to work with the following:
-
Applications are unique identifiers used by AWS CodeDeploy to ensure the correct combinations of revisions, deployment configurations, and deployment groups are being referenced during deployments.
You can use the AWS CodeDeploy APIs to create, delete, get, list, and update applications.
-
Deployment configurations are sets of deployment rules and success and failure conditions used by AWS CodeDeploy during deployments.
You can use the AWS CodeDeploy APIs to create, delete, get, and list deployment configurations.
-
Deployment groups are groups of instances to which application revisions can be deployed.
You can use the AWS CodeDeploy APIs to create, delete, get, list, and update deployment groups.
-
Instances represent Amazon EC2 instances to which application revisions are deployed. Instances are identified by their Amazon EC2 tags or Auto Scaling group names. Instances belong to deployment groups.
You can use the AWS CodeDeploy APIs to get and list instance.
-
Deployments represent the process of deploying revisions to instances.
You can use the AWS CodeDeploy APIs to create, get, list, and stop deployments.
-
Application revisions are archive files stored in Amazon S3 buckets or GitHub repositories. These revisions contain source content (such as source code, web pages, executable files, and deployment scripts) along with an application specification (AppSpec) file. (The AppSpec file is unique to AWS CodeDeploy; it defines the deployment actions you want AWS CodeDeploy to execute.) Ffor application revisions stored in Amazon S3 buckets, an application revision is uniquely identified by its Amazon S3 object key and its ETag, version, or both. For application revisions stored in GitHub repositories, an application revision is uniquely identified by its repository name and commit ID. Application revisions are deployed through deployment groups.
You can use the AWS CodeDeploy APIs to get, list, and register application revisions.
-
-
Field Summary
-
Fields inherited from class com.amazonaws.services.codedeploy.AmazonCodeDeployClient
configFactory
-
Fields inherited from class com.amazonaws.AmazonWebServiceClient
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
-
-
Constructor Summary
Constructors Constructor Description AmazonCodeDeployAsyncClient()Constructs a new asynchronous client to invoke service methods on CodeDeploy.AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials)Constructs a new asynchronous client to invoke service methods on CodeDeploy using the specified AWS account credentials.AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider)Constructs a new asynchronous client to invoke service methods on CodeDeploy using the specified AWS account credentials provider.AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)Constructs a new asynchronous client to invoke service methods on CodeDeploy using the provided AWS account credentials provider and client configuration options.AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on CodeDeploy using the specified AWS account credentials provider, executor service, and client configuration options.AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on CodeDeploy using the specified AWS account credentials provider and executor service.AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on CodeDeploy using the specified AWS account credentials, executor service, and client configuration options.AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on CodeDeploy using the specified AWS account credentials and executor service.AmazonCodeDeployAsyncClient(ClientConfiguration clientConfiguration)Constructs a new asynchronous client to invoke service methods on CodeDeploy.
-
Method Summary
-
Methods inherited from class com.amazonaws.services.codedeploy.AmazonCodeDeployClient
addTagsToOnPremisesInstances, batchGetApplicationRevisions, batchGetApplications, batchGetApplications, batchGetDeploymentGroups, batchGetDeploymentInstances, batchGetDeployments, batchGetDeployments, batchGetOnPremisesInstances, batchGetOnPremisesInstances, createApplication, createDeployment, createDeploymentConfig, createDeploymentGroup, deleteApplication, deleteDeploymentConfig, deleteDeploymentGroup, deregisterOnPremisesInstance, getApplication, getApplicationRevision, getCachedResponseMetadata, getDeployment, getDeploymentConfig, getDeploymentGroup, getDeploymentInstance, getOnPremisesInstance, listApplicationRevisions, listApplications, listApplications, listDeploymentConfigs, listDeploymentConfigs, listDeploymentGroups, listDeploymentInstances, listDeployments, listDeployments, listOnPremisesInstances, listOnPremisesInstances, registerApplicationRevision, registerOnPremisesInstance, removeTagsFromOnPremisesInstances, stopDeployment, updateApplication, updateApplication, updateDeploymentGroup
-
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.codedeploy.AmazonCodeDeploy
addTagsToOnPremisesInstances, batchGetApplicationRevisions, batchGetApplications, batchGetApplications, batchGetDeploymentGroups, batchGetDeploymentInstances, batchGetDeployments, batchGetDeployments, batchGetOnPremisesInstances, batchGetOnPremisesInstances, createApplication, createDeployment, createDeploymentConfig, createDeploymentGroup, deleteApplication, deleteDeploymentConfig, deleteDeploymentGroup, deregisterOnPremisesInstance, getApplication, getApplicationRevision, getCachedResponseMetadata, getDeployment, getDeploymentConfig, getDeploymentGroup, getDeploymentInstance, getOnPremisesInstance, listApplicationRevisions, listApplications, listApplications, listDeploymentConfigs, listDeploymentConfigs, listDeploymentGroups, listDeploymentInstances, listDeployments, listDeployments, listOnPremisesInstances, listOnPremisesInstances, registerApplicationRevision, registerOnPremisesInstance, removeTagsFromOnPremisesInstances, setEndpoint, setRegion, stopDeployment, updateApplication, updateApplication, updateDeploymentGroup
-
-
-
-
Constructor Detail
-
AmazonCodeDeployAsyncClient
public AmazonCodeDeployAsyncClient()
Constructs a new asynchronous client to invoke service methods on CodeDeploy. 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).
-
AmazonCodeDeployAsyncClient
public AmazonCodeDeployAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on CodeDeploy. 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 CodeDeploy (ex: proxy settings, retry counts, etc).- See Also:
DefaultAWSCredentialsProviderChain,Executors.newFixedThreadPool(int)
-
AmazonCodeDeployAsyncClient
public AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on CodeDeploy 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)
-
AmazonCodeDeployAsyncClient
public AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on CodeDeploy 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.
-
AmazonCodeDeployAsyncClient
public AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on CodeDeploy 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.
-
AmazonCodeDeployAsyncClient
public AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on CodeDeploy 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)
-
AmazonCodeDeployAsyncClient
public AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on CodeDeploy 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)
-
AmazonCodeDeployAsyncClient
public AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on CodeDeploy 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.
-
AmazonCodeDeployAsyncClient
public AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on CodeDeploy 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.
-
addTagsToOnPremisesInstancesAsync
public Future<AddTagsToOnPremisesInstancesResult> addTagsToOnPremisesInstancesAsync(AddTagsToOnPremisesInstancesRequest request)
Description copied from interface:AmazonCodeDeployAsyncAdds tags to on-premises instances.
- Specified by:
addTagsToOnPremisesInstancesAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of, and adds tags to, an on-premises instance operation.- Returns:
- A Java Future containing the result of the AddTagsToOnPremisesInstances operation returned by the service.
-
addTagsToOnPremisesInstancesAsync
public Future<AddTagsToOnPremisesInstancesResult> addTagsToOnPremisesInstancesAsync(AddTagsToOnPremisesInstancesRequest request, AsyncHandler<AddTagsToOnPremisesInstancesRequest,AddTagsToOnPremisesInstancesResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncAdds tags to on-premises instances.
- Specified by:
addTagsToOnPremisesInstancesAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of, and adds tags to, an on-premises instance operation.asyncHandler- 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 AddTagsToOnPremisesInstances operation returned by the service.
-
batchGetApplicationRevisionsAsync
public Future<BatchGetApplicationRevisionsResult> batchGetApplicationRevisionsAsync(BatchGetApplicationRevisionsRequest request)
Description copied from interface:AmazonCodeDeployAsyncGets information about one or more application revisions.
- Specified by:
batchGetApplicationRevisionsAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a batch get application revisions operation.- Returns:
- A Java Future containing the result of the BatchGetApplicationRevisions operation returned by the service.
-
batchGetApplicationRevisionsAsync
public Future<BatchGetApplicationRevisionsResult> batchGetApplicationRevisionsAsync(BatchGetApplicationRevisionsRequest request, AsyncHandler<BatchGetApplicationRevisionsRequest,BatchGetApplicationRevisionsResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncGets information about one or more application revisions.
- Specified by:
batchGetApplicationRevisionsAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a batch get application revisions operation.asyncHandler- 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 BatchGetApplicationRevisions operation returned by the service.
-
batchGetApplicationsAsync
public Future<BatchGetApplicationsResult> batchGetApplicationsAsync(BatchGetApplicationsRequest request)
Description copied from interface:AmazonCodeDeployAsyncGets information about one or more applications.
- Specified by:
batchGetApplicationsAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a batch get applications operation.- Returns:
- A Java Future containing the result of the BatchGetApplications operation returned by the service.
-
batchGetApplicationsAsync
public Future<BatchGetApplicationsResult> batchGetApplicationsAsync(BatchGetApplicationsRequest request, AsyncHandler<BatchGetApplicationsRequest,BatchGetApplicationsResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncGets information about one or more applications.
- Specified by:
batchGetApplicationsAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a batch get applications operation.asyncHandler- 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 BatchGetApplications operation returned by the service.
-
batchGetApplicationsAsync
public Future<BatchGetApplicationsResult> batchGetApplicationsAsync()
Simplified method form for invoking the BatchGetApplications operation.- Specified by:
batchGetApplicationsAsyncin interfaceAmazonCodeDeployAsync- See Also:
batchGetApplicationsAsync(BatchGetApplicationsRequest)
-
batchGetApplicationsAsync
public Future<BatchGetApplicationsResult> batchGetApplicationsAsync(AsyncHandler<BatchGetApplicationsRequest,BatchGetApplicationsResult> asyncHandler)
Simplified method form for invoking the BatchGetApplications operation with an AsyncHandler.- Specified by:
batchGetApplicationsAsyncin interfaceAmazonCodeDeployAsync- See Also:
batchGetApplicationsAsync(BatchGetApplicationsRequest, com.amazonaws.handlers.AsyncHandler)
-
batchGetDeploymentGroupsAsync
public Future<BatchGetDeploymentGroupsResult> batchGetDeploymentGroupsAsync(BatchGetDeploymentGroupsRequest request)
Description copied from interface:AmazonCodeDeployAsyncGet information about one or more deployment groups.
- Specified by:
batchGetDeploymentGroupsAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a batch get deployment groups operation.- Returns:
- A Java Future containing the result of the BatchGetDeploymentGroups operation returned by the service.
-
batchGetDeploymentGroupsAsync
public Future<BatchGetDeploymentGroupsResult> batchGetDeploymentGroupsAsync(BatchGetDeploymentGroupsRequest request, AsyncHandler<BatchGetDeploymentGroupsRequest,BatchGetDeploymentGroupsResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncGet information about one or more deployment groups.
- Specified by:
batchGetDeploymentGroupsAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a batch get deployment groups operation.asyncHandler- 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 BatchGetDeploymentGroups operation returned by the service.
-
batchGetDeploymentInstancesAsync
public Future<BatchGetDeploymentInstancesResult> batchGetDeploymentInstancesAsync(BatchGetDeploymentInstancesRequest request)
Description copied from interface:AmazonCodeDeployAsyncGets information about one or more instance that are part of a deployment group.
- Specified by:
batchGetDeploymentInstancesAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a batch get deployment instances operation.- Returns:
- A Java Future containing the result of the BatchGetDeploymentInstances operation returned by the service.
-
batchGetDeploymentInstancesAsync
public Future<BatchGetDeploymentInstancesResult> batchGetDeploymentInstancesAsync(BatchGetDeploymentInstancesRequest request, AsyncHandler<BatchGetDeploymentInstancesRequest,BatchGetDeploymentInstancesResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncGets information about one or more instance that are part of a deployment group.
- Specified by:
batchGetDeploymentInstancesAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a batch get deployment instances operation.asyncHandler- 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 BatchGetDeploymentInstances operation returned by the service.
-
batchGetDeploymentsAsync
public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(BatchGetDeploymentsRequest request)
Description copied from interface:AmazonCodeDeployAsyncGets information about one or more deployments.
- Specified by:
batchGetDeploymentsAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a batch get deployments operation.- Returns:
- A Java Future containing the result of the BatchGetDeployments operation returned by the service.
-
batchGetDeploymentsAsync
public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(BatchGetDeploymentsRequest request, AsyncHandler<BatchGetDeploymentsRequest,BatchGetDeploymentsResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncGets information about one or more deployments.
- Specified by:
batchGetDeploymentsAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a batch get deployments operation.asyncHandler- 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 BatchGetDeployments operation returned by the service.
-
batchGetDeploymentsAsync
public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync()
Simplified method form for invoking the BatchGetDeployments operation.- Specified by:
batchGetDeploymentsAsyncin interfaceAmazonCodeDeployAsync- See Also:
batchGetDeploymentsAsync(BatchGetDeploymentsRequest)
-
batchGetDeploymentsAsync
public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(AsyncHandler<BatchGetDeploymentsRequest,BatchGetDeploymentsResult> asyncHandler)
Simplified method form for invoking the BatchGetDeployments operation with an AsyncHandler.- Specified by:
batchGetDeploymentsAsyncin interfaceAmazonCodeDeployAsync- See Also:
batchGetDeploymentsAsync(BatchGetDeploymentsRequest, com.amazonaws.handlers.AsyncHandler)
-
batchGetOnPremisesInstancesAsync
public Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest request)
Description copied from interface:AmazonCodeDeployAsyncGets information about one or more on-premises instances.
- Specified by:
batchGetOnPremisesInstancesAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a batch get on-premises instances operation.- Returns:
- A Java Future containing the result of the BatchGetOnPremisesInstances operation returned by the service.
-
batchGetOnPremisesInstancesAsync
public Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest request, AsyncHandler<BatchGetOnPremisesInstancesRequest,BatchGetOnPremisesInstancesResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncGets information about one or more on-premises instances.
- Specified by:
batchGetOnPremisesInstancesAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a batch get on-premises instances operation.asyncHandler- 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 BatchGetOnPremisesInstances operation returned by the service.
-
batchGetOnPremisesInstancesAsync
public Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync()
Simplified method form for invoking the BatchGetOnPremisesInstances operation.- Specified by:
batchGetOnPremisesInstancesAsyncin interfaceAmazonCodeDeployAsync- See Also:
batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest)
-
batchGetOnPremisesInstancesAsync
public Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(AsyncHandler<BatchGetOnPremisesInstancesRequest,BatchGetOnPremisesInstancesResult> asyncHandler)
Simplified method form for invoking the BatchGetOnPremisesInstances operation with an AsyncHandler.
-
createApplicationAsync
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request)
Description copied from interface:AmazonCodeDeployAsyncCreates an application.
- Specified by:
createApplicationAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a create application operation.- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
-
createApplicationAsync
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncCreates an application.
- Specified by:
createApplicationAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a create application operation.asyncHandler- 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 CreateApplication operation returned by the service.
-
createDeploymentAsync
public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest request)
Description copied from interface:AmazonCodeDeployAsyncDeploys an application revision through the specified deployment group.
- Specified by:
createDeploymentAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a create deployment operation.- 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:AmazonCodeDeployAsyncDeploys an application revision through the specified deployment group.
- Specified by:
createDeploymentAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a create deployment operation.asyncHandler- 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.
-
createDeploymentConfigAsync
public Future<CreateDeploymentConfigResult> createDeploymentConfigAsync(CreateDeploymentConfigRequest request)
Description copied from interface:AmazonCodeDeployAsyncCreates a deployment configuration.
- Specified by:
createDeploymentConfigAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a create deployment configuration operation.- Returns:
- A Java Future containing the result of the CreateDeploymentConfig operation returned by the service.
-
createDeploymentConfigAsync
public Future<CreateDeploymentConfigResult> createDeploymentConfigAsync(CreateDeploymentConfigRequest request, AsyncHandler<CreateDeploymentConfigRequest,CreateDeploymentConfigResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncCreates a deployment configuration.
- Specified by:
createDeploymentConfigAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a create deployment configuration operation.asyncHandler- 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 CreateDeploymentConfig operation returned by the service.
-
createDeploymentGroupAsync
public Future<CreateDeploymentGroupResult> createDeploymentGroupAsync(CreateDeploymentGroupRequest request)
Description copied from interface:AmazonCodeDeployAsyncCreates a deployment group to which application revisions will be deployed.
- Specified by:
createDeploymentGroupAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a create deployment group operation.- Returns:
- A Java Future containing the result of the CreateDeploymentGroup operation returned by the service.
-
createDeploymentGroupAsync
public Future<CreateDeploymentGroupResult> createDeploymentGroupAsync(CreateDeploymentGroupRequest request, AsyncHandler<CreateDeploymentGroupRequest,CreateDeploymentGroupResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncCreates a deployment group to which application revisions will be deployed.
- Specified by:
createDeploymentGroupAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a create deployment group operation.asyncHandler- 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 CreateDeploymentGroup operation returned by the service.
-
deleteApplicationAsync
public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request)
Description copied from interface:AmazonCodeDeployAsyncDeletes an application.
- Specified by:
deleteApplicationAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a delete application operation.- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
-
deleteApplicationAsync
public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncDeletes an application.
- Specified by:
deleteApplicationAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a delete application operation.asyncHandler- 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 DeleteApplication operation returned by the service.
-
deleteDeploymentConfigAsync
public Future<DeleteDeploymentConfigResult> deleteDeploymentConfigAsync(DeleteDeploymentConfigRequest request)
Description copied from interface:AmazonCodeDeployAsyncDeletes a deployment configuration.
A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted. - Specified by:
deleteDeploymentConfigAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a delete deployment configuration operation.- Returns:
- A Java Future containing the result of the DeleteDeploymentConfig operation returned by the service.
-
deleteDeploymentConfigAsync
public Future<DeleteDeploymentConfigResult> deleteDeploymentConfigAsync(DeleteDeploymentConfigRequest request, AsyncHandler<DeleteDeploymentConfigRequest,DeleteDeploymentConfigResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncDeletes a deployment configuration.
A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted. - Specified by:
deleteDeploymentConfigAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a delete deployment configuration operation.asyncHandler- 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 DeleteDeploymentConfig operation returned by the service.
-
deleteDeploymentGroupAsync
public Future<DeleteDeploymentGroupResult> deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest request)
Description copied from interface:AmazonCodeDeployAsyncDeletes a deployment group.
- Specified by:
deleteDeploymentGroupAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a delete deployment group operation.- Returns:
- A Java Future containing the result of the DeleteDeploymentGroup operation returned by the service.
-
deleteDeploymentGroupAsync
public Future<DeleteDeploymentGroupResult> deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest request, AsyncHandler<DeleteDeploymentGroupRequest,DeleteDeploymentGroupResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncDeletes a deployment group.
- Specified by:
deleteDeploymentGroupAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a delete deployment group operation.asyncHandler- 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 DeleteDeploymentGroup operation returned by the service.
-
deregisterOnPremisesInstanceAsync
public Future<DeregisterOnPremisesInstanceResult> deregisterOnPremisesInstanceAsync(DeregisterOnPremisesInstanceRequest request)
Description copied from interface:AmazonCodeDeployAsyncDeregisters an on-premises instance.
- Specified by:
deregisterOnPremisesInstanceAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a deregister on-premises instance operation.- Returns:
- A Java Future containing the result of the DeregisterOnPremisesInstance operation returned by the service.
-
deregisterOnPremisesInstanceAsync
public Future<DeregisterOnPremisesInstanceResult> deregisterOnPremisesInstanceAsync(DeregisterOnPremisesInstanceRequest request, AsyncHandler<DeregisterOnPremisesInstanceRequest,DeregisterOnPremisesInstanceResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncDeregisters an on-premises instance.
- Specified by:
deregisterOnPremisesInstanceAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a deregister on-premises instance operation.asyncHandler- 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 DeregisterOnPremisesInstance operation returned by the service.
-
getApplicationAsync
public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request)
Description copied from interface:AmazonCodeDeployAsyncGets information about an application.
- Specified by:
getApplicationAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a get application operation.- Returns:
- A Java Future containing the result of the GetApplication operation returned by the service.
-
getApplicationAsync
public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request, AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncGets information about an application.
- Specified by:
getApplicationAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a get application operation.asyncHandler- 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 GetApplication operation returned by the service.
-
getApplicationRevisionAsync
public Future<GetApplicationRevisionResult> getApplicationRevisionAsync(GetApplicationRevisionRequest request)
Description copied from interface:AmazonCodeDeployAsyncGets information about an application revision.
- Specified by:
getApplicationRevisionAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a get application revision operation.- Returns:
- A Java Future containing the result of the GetApplicationRevision operation returned by the service.
-
getApplicationRevisionAsync
public Future<GetApplicationRevisionResult> getApplicationRevisionAsync(GetApplicationRevisionRequest request, AsyncHandler<GetApplicationRevisionRequest,GetApplicationRevisionResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncGets information about an application revision.
- Specified by:
getApplicationRevisionAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a get application revision operation.asyncHandler- 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 GetApplicationRevision operation returned by the service.
-
getDeploymentAsync
public Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest request)
Description copied from interface:AmazonCodeDeployAsyncGets information about a deployment.
- Specified by:
getDeploymentAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a get deployment operation.- Returns:
- A Java Future containing the result of the GetDeployment operation returned by the service.
-
getDeploymentAsync
public Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest request, AsyncHandler<GetDeploymentRequest,GetDeploymentResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncGets information about a deployment.
- Specified by:
getDeploymentAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a get deployment operation.asyncHandler- 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 GetDeployment operation returned by the service.
-
getDeploymentConfigAsync
public Future<GetDeploymentConfigResult> getDeploymentConfigAsync(GetDeploymentConfigRequest request)
Description copied from interface:AmazonCodeDeployAsyncGets information about a deployment configuration.
- Specified by:
getDeploymentConfigAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a get deployment configuration operation.- Returns:
- A Java Future containing the result of the GetDeploymentConfig operation returned by the service.
-
getDeploymentConfigAsync
public Future<GetDeploymentConfigResult> getDeploymentConfigAsync(GetDeploymentConfigRequest request, AsyncHandler<GetDeploymentConfigRequest,GetDeploymentConfigResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncGets information about a deployment configuration.
- Specified by:
getDeploymentConfigAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a get deployment configuration operation.asyncHandler- 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 GetDeploymentConfig operation returned by the service.
-
getDeploymentGroupAsync
public Future<GetDeploymentGroupResult> getDeploymentGroupAsync(GetDeploymentGroupRequest request)
Description copied from interface:AmazonCodeDeployAsyncGets information about a deployment group.
- Specified by:
getDeploymentGroupAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a get deployment group operation.- Returns:
- A Java Future containing the result of the GetDeploymentGroup operation returned by the service.
-
getDeploymentGroupAsync
public Future<GetDeploymentGroupResult> getDeploymentGroupAsync(GetDeploymentGroupRequest request, AsyncHandler<GetDeploymentGroupRequest,GetDeploymentGroupResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncGets information about a deployment group.
- Specified by:
getDeploymentGroupAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a get deployment group operation.asyncHandler- 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 GetDeploymentGroup operation returned by the service.
-
getDeploymentInstanceAsync
public Future<GetDeploymentInstanceResult> getDeploymentInstanceAsync(GetDeploymentInstanceRequest request)
Description copied from interface:AmazonCodeDeployAsyncGets information about an instance as part of a deployment.
- Specified by:
getDeploymentInstanceAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a get deployment instance operation.- Returns:
- A Java Future containing the result of the GetDeploymentInstance operation returned by the service.
-
getDeploymentInstanceAsync
public Future<GetDeploymentInstanceResult> getDeploymentInstanceAsync(GetDeploymentInstanceRequest request, AsyncHandler<GetDeploymentInstanceRequest,GetDeploymentInstanceResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncGets information about an instance as part of a deployment.
- Specified by:
getDeploymentInstanceAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a get deployment instance operation.asyncHandler- 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 GetDeploymentInstance operation returned by the service.
-
getOnPremisesInstanceAsync
public Future<GetOnPremisesInstanceResult> getOnPremisesInstanceAsync(GetOnPremisesInstanceRequest request)
Description copied from interface:AmazonCodeDeployAsyncGets information about an on-premises instance.
- Specified by:
getOnPremisesInstanceAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a get on-premises instance operation.- Returns:
- A Java Future containing the result of the GetOnPremisesInstance operation returned by the service.
-
getOnPremisesInstanceAsync
public Future<GetOnPremisesInstanceResult> getOnPremisesInstanceAsync(GetOnPremisesInstanceRequest request, AsyncHandler<GetOnPremisesInstanceRequest,GetOnPremisesInstanceResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncGets information about an on-premises instance.
- Specified by:
getOnPremisesInstanceAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a get on-premises instance operation.asyncHandler- 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 GetOnPremisesInstance operation returned by the service.
-
listApplicationRevisionsAsync
public Future<ListApplicationRevisionsResult> listApplicationRevisionsAsync(ListApplicationRevisionsRequest request)
Description copied from interface:AmazonCodeDeployAsyncLists information about revisions for an application.
- Specified by:
listApplicationRevisionsAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a list application revisions operation.- Returns:
- A Java Future containing the result of the ListApplicationRevisions operation returned by the service.
-
listApplicationRevisionsAsync
public Future<ListApplicationRevisionsResult> listApplicationRevisionsAsync(ListApplicationRevisionsRequest request, AsyncHandler<ListApplicationRevisionsRequest,ListApplicationRevisionsResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncLists information about revisions for an application.
- Specified by:
listApplicationRevisionsAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a list application revisions operation.asyncHandler- 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 ListApplicationRevisions operation returned by the service.
-
listApplicationsAsync
public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request)
Description copied from interface:AmazonCodeDeployAsyncLists the applications registered with the applicable IAM user or AWS account.
- Specified by:
listApplicationsAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a list applications operation.- Returns:
- A Java Future containing the result of the ListApplications operation returned by the service.
-
listApplicationsAsync
public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncLists the applications registered with the applicable IAM user or AWS account.
- Specified by:
listApplicationsAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a list applications operation.asyncHandler- 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 ListApplications operation returned by the service.
-
listApplicationsAsync
public Future<ListApplicationsResult> listApplicationsAsync()
Simplified method form for invoking the ListApplications operation.- Specified by:
listApplicationsAsyncin interfaceAmazonCodeDeployAsync- See Also:
listApplicationsAsync(ListApplicationsRequest)
-
listApplicationsAsync
public Future<ListApplicationsResult> listApplicationsAsync(AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
Simplified method form for invoking the ListApplications operation with an AsyncHandler.- Specified by:
listApplicationsAsyncin interfaceAmazonCodeDeployAsync- See Also:
listApplicationsAsync(ListApplicationsRequest, com.amazonaws.handlers.AsyncHandler)
-
listDeploymentConfigsAsync
public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(ListDeploymentConfigsRequest request)
Description copied from interface:AmazonCodeDeployAsyncLists the deployment configurations with the applicable IAM user or AWS account.
- Specified by:
listDeploymentConfigsAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a list deployment configurations operation.- Returns:
- A Java Future containing the result of the ListDeploymentConfigs operation returned by the service.
-
listDeploymentConfigsAsync
public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(ListDeploymentConfigsRequest request, AsyncHandler<ListDeploymentConfigsRequest,ListDeploymentConfigsResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncLists the deployment configurations with the applicable IAM user or AWS account.
- Specified by:
listDeploymentConfigsAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a list deployment configurations operation.asyncHandler- 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 ListDeploymentConfigs operation returned by the service.
-
listDeploymentConfigsAsync
public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync()
Simplified method form for invoking the ListDeploymentConfigs operation.- Specified by:
listDeploymentConfigsAsyncin interfaceAmazonCodeDeployAsync- See Also:
listDeploymentConfigsAsync(ListDeploymentConfigsRequest)
-
listDeploymentConfigsAsync
public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(AsyncHandler<ListDeploymentConfigsRequest,ListDeploymentConfigsResult> asyncHandler)
Simplified method form for invoking the ListDeploymentConfigs operation with an AsyncHandler.- Specified by:
listDeploymentConfigsAsyncin interfaceAmazonCodeDeployAsync- See Also:
listDeploymentConfigsAsync(ListDeploymentConfigsRequest, com.amazonaws.handlers.AsyncHandler)
-
listDeploymentGroupsAsync
public Future<ListDeploymentGroupsResult> listDeploymentGroupsAsync(ListDeploymentGroupsRequest request)
Description copied from interface:AmazonCodeDeployAsyncLists the deployment groups for an application registered with the applicable IAM user or AWS account.
- Specified by:
listDeploymentGroupsAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a list deployment groups operation.- Returns:
- A Java Future containing the result of the ListDeploymentGroups operation returned by the service.
-
listDeploymentGroupsAsync
public Future<ListDeploymentGroupsResult> listDeploymentGroupsAsync(ListDeploymentGroupsRequest request, AsyncHandler<ListDeploymentGroupsRequest,ListDeploymentGroupsResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncLists the deployment groups for an application registered with the applicable IAM user or AWS account.
- Specified by:
listDeploymentGroupsAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a list deployment groups operation.asyncHandler- 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 ListDeploymentGroups operation returned by the service.
-
listDeploymentInstancesAsync
public Future<ListDeploymentInstancesResult> listDeploymentInstancesAsync(ListDeploymentInstancesRequest request)
Description copied from interface:AmazonCodeDeployAsyncLists the instance for a deployment associated with the applicable IAM user or AWS account.
- Specified by:
listDeploymentInstancesAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a list deployment instances operation.- Returns:
- A Java Future containing the result of the ListDeploymentInstances operation returned by the service.
-
listDeploymentInstancesAsync
public Future<ListDeploymentInstancesResult> listDeploymentInstancesAsync(ListDeploymentInstancesRequest request, AsyncHandler<ListDeploymentInstancesRequest,ListDeploymentInstancesResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncLists the instance for a deployment associated with the applicable IAM user or AWS account.
- Specified by:
listDeploymentInstancesAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a list deployment instances operation.asyncHandler- 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 ListDeploymentInstances operation returned by the service.
-
listDeploymentsAsync
public Future<ListDeploymentsResult> listDeploymentsAsync(ListDeploymentsRequest request)
Description copied from interface:AmazonCodeDeployAsyncLists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.
- Specified by:
listDeploymentsAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a list deployments operation.- Returns:
- A Java Future containing the result of the ListDeployments operation returned by the service.
-
listDeploymentsAsync
public Future<ListDeploymentsResult> listDeploymentsAsync(ListDeploymentsRequest request, AsyncHandler<ListDeploymentsRequest,ListDeploymentsResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncLists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.
- Specified by:
listDeploymentsAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a list deployments operation.asyncHandler- 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 ListDeployments operation returned by the service.
-
listDeploymentsAsync
public Future<ListDeploymentsResult> listDeploymentsAsync()
Simplified method form for invoking the ListDeployments operation.- Specified by:
listDeploymentsAsyncin interfaceAmazonCodeDeployAsync- See Also:
listDeploymentsAsync(ListDeploymentsRequest)
-
listDeploymentsAsync
public Future<ListDeploymentsResult> listDeploymentsAsync(AsyncHandler<ListDeploymentsRequest,ListDeploymentsResult> asyncHandler)
Simplified method form for invoking the ListDeployments operation with an AsyncHandler.- Specified by:
listDeploymentsAsyncin interfaceAmazonCodeDeployAsync- See Also:
listDeploymentsAsync(ListDeploymentsRequest, com.amazonaws.handlers.AsyncHandler)
-
listOnPremisesInstancesAsync
public Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest request)
Description copied from interface:AmazonCodeDeployAsyncGets a list of names for one or more on-premises instances.
Unless otherwise specified, both registered and deregistered on-premises instance names will be listed. To list only registered or deregistered on-premises instance names, use the registration status parameter.
- Specified by:
listOnPremisesInstancesAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a list on-premises instances operation.- Returns:
- A Java Future containing the result of the ListOnPremisesInstances operation returned by the service.
-
listOnPremisesInstancesAsync
public Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest request, AsyncHandler<ListOnPremisesInstancesRequest,ListOnPremisesInstancesResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncGets a list of names for one or more on-premises instances.
Unless otherwise specified, both registered and deregistered on-premises instance names will be listed. To list only registered or deregistered on-premises instance names, use the registration status parameter.
- Specified by:
listOnPremisesInstancesAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a list on-premises instances operation.asyncHandler- 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 ListOnPremisesInstances operation returned by the service.
-
listOnPremisesInstancesAsync
public Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync()
Simplified method form for invoking the ListOnPremisesInstances operation.- Specified by:
listOnPremisesInstancesAsyncin interfaceAmazonCodeDeployAsync- See Also:
listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest)
-
listOnPremisesInstancesAsync
public Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(AsyncHandler<ListOnPremisesInstancesRequest,ListOnPremisesInstancesResult> asyncHandler)
Simplified method form for invoking the ListOnPremisesInstances operation with an AsyncHandler.- Specified by:
listOnPremisesInstancesAsyncin interfaceAmazonCodeDeployAsync- See Also:
listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest, com.amazonaws.handlers.AsyncHandler)
-
registerApplicationRevisionAsync
public Future<RegisterApplicationRevisionResult> registerApplicationRevisionAsync(RegisterApplicationRevisionRequest request)
Description copied from interface:AmazonCodeDeployAsyncRegisters with AWS CodeDeploy a revision for the specified application.
- Specified by:
registerApplicationRevisionAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a register application revision operation.- Returns:
- A Java Future containing the result of the RegisterApplicationRevision operation returned by the service.
-
registerApplicationRevisionAsync
public Future<RegisterApplicationRevisionResult> registerApplicationRevisionAsync(RegisterApplicationRevisionRequest request, AsyncHandler<RegisterApplicationRevisionRequest,RegisterApplicationRevisionResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncRegisters with AWS CodeDeploy a revision for the specified application.
- Specified by:
registerApplicationRevisionAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a register application revision operation.asyncHandler- 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 RegisterApplicationRevision operation returned by the service.
-
registerOnPremisesInstanceAsync
public Future<RegisterOnPremisesInstanceResult> registerOnPremisesInstanceAsync(RegisterOnPremisesInstanceRequest request)
Description copied from interface:AmazonCodeDeployAsyncRegisters an on-premises instance.
- Specified by:
registerOnPremisesInstanceAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of the register on-premises instance operation.- Returns:
- A Java Future containing the result of the RegisterOnPremisesInstance operation returned by the service.
-
registerOnPremisesInstanceAsync
public Future<RegisterOnPremisesInstanceResult> registerOnPremisesInstanceAsync(RegisterOnPremisesInstanceRequest request, AsyncHandler<RegisterOnPremisesInstanceRequest,RegisterOnPremisesInstanceResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncRegisters an on-premises instance.
- Specified by:
registerOnPremisesInstanceAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of the register on-premises instance operation.asyncHandler- 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 RegisterOnPremisesInstance operation returned by the service.
-
removeTagsFromOnPremisesInstancesAsync
public Future<RemoveTagsFromOnPremisesInstancesResult> removeTagsFromOnPremisesInstancesAsync(RemoveTagsFromOnPremisesInstancesRequest request)
Description copied from interface:AmazonCodeDeployAsyncRemoves one or more tags from one or more on-premises instances.
- Specified by:
removeTagsFromOnPremisesInstancesAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a remove tags from on-premises instances operation.- Returns:
- A Java Future containing the result of the RemoveTagsFromOnPremisesInstances operation returned by the service.
-
removeTagsFromOnPremisesInstancesAsync
public Future<RemoveTagsFromOnPremisesInstancesResult> removeTagsFromOnPremisesInstancesAsync(RemoveTagsFromOnPremisesInstancesRequest request, AsyncHandler<RemoveTagsFromOnPremisesInstancesRequest,RemoveTagsFromOnPremisesInstancesResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncRemoves one or more tags from one or more on-premises instances.
- Specified by:
removeTagsFromOnPremisesInstancesAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a remove tags from on-premises instances operation.asyncHandler- 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 RemoveTagsFromOnPremisesInstances operation returned by the service.
-
stopDeploymentAsync
public Future<StopDeploymentResult> stopDeploymentAsync(StopDeploymentRequest request)
Description copied from interface:AmazonCodeDeployAsyncAttempts to stop an ongoing deployment.
- Specified by:
stopDeploymentAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a stop deployment operation.- Returns:
- A Java Future containing the result of the StopDeployment operation returned by the service.
-
stopDeploymentAsync
public Future<StopDeploymentResult> stopDeploymentAsync(StopDeploymentRequest request, AsyncHandler<StopDeploymentRequest,StopDeploymentResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncAttempts to stop an ongoing deployment.
- Specified by:
stopDeploymentAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of a stop deployment operation.asyncHandler- 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 StopDeployment operation returned by the service.
-
updateApplicationAsync
public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request)
Description copied from interface:AmazonCodeDeployAsyncChanges the name of an application.
- Specified by:
updateApplicationAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of an update application operation.- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
-
updateApplicationAsync
public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncChanges the name of an application.
- Specified by:
updateApplicationAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of an update application operation.asyncHandler- 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 UpdateApplication operation returned by the service.
-
updateApplicationAsync
public Future<UpdateApplicationResult> updateApplicationAsync()
Simplified method form for invoking the UpdateApplication operation.- Specified by:
updateApplicationAsyncin interfaceAmazonCodeDeployAsync- See Also:
updateApplicationAsync(UpdateApplicationRequest)
-
updateApplicationAsync
public Future<UpdateApplicationResult> updateApplicationAsync(AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
Simplified method form for invoking the UpdateApplication operation with an AsyncHandler.- Specified by:
updateApplicationAsyncin interfaceAmazonCodeDeployAsync- See Also:
updateApplicationAsync(UpdateApplicationRequest, com.amazonaws.handlers.AsyncHandler)
-
updateDeploymentGroupAsync
public Future<UpdateDeploymentGroupResult> updateDeploymentGroupAsync(UpdateDeploymentGroupRequest request)
Description copied from interface:AmazonCodeDeployAsyncChanges information about a deployment group.
- Specified by:
updateDeploymentGroupAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of an update deployment group operation.- Returns:
- A Java Future containing the result of the UpdateDeploymentGroup operation returned by the service.
-
updateDeploymentGroupAsync
public Future<UpdateDeploymentGroupResult> updateDeploymentGroupAsync(UpdateDeploymentGroupRequest request, AsyncHandler<UpdateDeploymentGroupRequest,UpdateDeploymentGroupResult> asyncHandler)
Description copied from interface:AmazonCodeDeployAsyncChanges information about a deployment group.
- Specified by:
updateDeploymentGroupAsyncin interfaceAmazonCodeDeployAsync- Parameters:
request- Represents the input of an update deployment group operation.asyncHandler- 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 UpdateDeploymentGroup 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 interfaceAmazonCodeDeploy- Overrides:
shutdownin classAmazonWebServiceClient
-
-