@ThreadSafe public class AmazonCodeDeployAsyncClient extends AmazonCodeDeployClient implements AmazonCodeDeployAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Overview
This reference guide provides descriptions of the AWS CodeDeploy APIs. For more information about AWS CodeDeploy, see the AWS CodeDeploy User Guide.
Using the APIs
You 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.) For 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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Constructor and 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(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(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(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on CodeDeploy.
|
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, waiters
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, waiters
public AmazonCodeDeployAsyncClient()
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).
public AmazonCodeDeployAsyncClient(ClientConfiguration clientConfiguration)
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()
.
clientConfiguration
- The client configuration options controlling how this client connects to CodeDeploy (ex: proxy settings,
retry counts, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials)
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).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)
public AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.public AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.public AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
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).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.Executors.newFixedThreadPool(int)
public AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
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()
.
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).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.public AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.public ExecutorService getExecutorService()
public Future<AddTagsToOnPremisesInstancesResult> addTagsToOnPremisesInstancesAsync(AddTagsToOnPremisesInstancesRequest request)
AmazonCodeDeployAsync
Adds tags to on-premises instances.
addTagsToOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of, and adds tags to, an on-premises instance operation.public Future<AddTagsToOnPremisesInstancesResult> addTagsToOnPremisesInstancesAsync(AddTagsToOnPremisesInstancesRequest request, AsyncHandler<AddTagsToOnPremisesInstancesRequest,AddTagsToOnPremisesInstancesResult> asyncHandler)
AmazonCodeDeployAsync
Adds tags to on-premises instances.
addTagsToOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
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.public Future<BatchGetApplicationRevisionsResult> batchGetApplicationRevisionsAsync(BatchGetApplicationRevisionsRequest request)
AmazonCodeDeployAsync
Gets information about one or more application revisions.
batchGetApplicationRevisionsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a batch get application revisions operation.public Future<BatchGetApplicationRevisionsResult> batchGetApplicationRevisionsAsync(BatchGetApplicationRevisionsRequest request, AsyncHandler<BatchGetApplicationRevisionsRequest,BatchGetApplicationRevisionsResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about one or more application revisions.
batchGetApplicationRevisionsAsync
in interface AmazonCodeDeployAsync
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.public Future<BatchGetApplicationsResult> batchGetApplicationsAsync(BatchGetApplicationsRequest request)
AmazonCodeDeployAsync
Gets information about one or more applications.
batchGetApplicationsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a batch get applications operation.public Future<BatchGetApplicationsResult> batchGetApplicationsAsync(BatchGetApplicationsRequest request, AsyncHandler<BatchGetApplicationsRequest,BatchGetApplicationsResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about one or more applications.
batchGetApplicationsAsync
in interface AmazonCodeDeployAsync
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.public Future<BatchGetApplicationsResult> batchGetApplicationsAsync()
batchGetApplicationsAsync
in interface AmazonCodeDeployAsync
batchGetApplicationsAsync(BatchGetApplicationsRequest)
public Future<BatchGetApplicationsResult> batchGetApplicationsAsync(AsyncHandler<BatchGetApplicationsRequest,BatchGetApplicationsResult> asyncHandler)
batchGetApplicationsAsync
in interface AmazonCodeDeployAsync
batchGetApplicationsAsync(BatchGetApplicationsRequest, com.amazonaws.handlers.AsyncHandler)
public Future<BatchGetDeploymentGroupsResult> batchGetDeploymentGroupsAsync(BatchGetDeploymentGroupsRequest request)
AmazonCodeDeployAsync
Get information about one or more deployment groups.
batchGetDeploymentGroupsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a batch get deployment groups operation.public Future<BatchGetDeploymentGroupsResult> batchGetDeploymentGroupsAsync(BatchGetDeploymentGroupsRequest request, AsyncHandler<BatchGetDeploymentGroupsRequest,BatchGetDeploymentGroupsResult> asyncHandler)
AmazonCodeDeployAsync
Get information about one or more deployment groups.
batchGetDeploymentGroupsAsync
in interface AmazonCodeDeployAsync
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.public Future<BatchGetDeploymentInstancesResult> batchGetDeploymentInstancesAsync(BatchGetDeploymentInstancesRequest request)
AmazonCodeDeployAsync
Gets information about one or more instance that are part of a deployment group.
batchGetDeploymentInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a batch get deployment instances operation.public Future<BatchGetDeploymentInstancesResult> batchGetDeploymentInstancesAsync(BatchGetDeploymentInstancesRequest request, AsyncHandler<BatchGetDeploymentInstancesRequest,BatchGetDeploymentInstancesResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about one or more instance that are part of a deployment group.
batchGetDeploymentInstancesAsync
in interface AmazonCodeDeployAsync
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.public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(BatchGetDeploymentsRequest request)
AmazonCodeDeployAsync
Gets information about one or more deployments.
batchGetDeploymentsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a batch get deployments operation.public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(BatchGetDeploymentsRequest request, AsyncHandler<BatchGetDeploymentsRequest,BatchGetDeploymentsResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about one or more deployments.
batchGetDeploymentsAsync
in interface AmazonCodeDeployAsync
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.public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync()
batchGetDeploymentsAsync
in interface AmazonCodeDeployAsync
batchGetDeploymentsAsync(BatchGetDeploymentsRequest)
public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(AsyncHandler<BatchGetDeploymentsRequest,BatchGetDeploymentsResult> asyncHandler)
batchGetDeploymentsAsync
in interface AmazonCodeDeployAsync
batchGetDeploymentsAsync(BatchGetDeploymentsRequest, com.amazonaws.handlers.AsyncHandler)
public Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest request)
AmazonCodeDeployAsync
Gets information about one or more on-premises instances.
batchGetOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a batch get on-premises instances operation.public Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest request, AsyncHandler<BatchGetOnPremisesInstancesRequest,BatchGetOnPremisesInstancesResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about one or more on-premises instances.
batchGetOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
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.public Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync()
batchGetOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest)
public Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(AsyncHandler<BatchGetOnPremisesInstancesRequest,BatchGetOnPremisesInstancesResult> asyncHandler)
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request)
AmazonCodeDeployAsync
Creates an application.
createApplicationAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a create application operation.public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
AmazonCodeDeployAsync
Creates an application.
createApplicationAsync
in interface AmazonCodeDeployAsync
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.public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest request)
AmazonCodeDeployAsync
Deploys an application revision through the specified deployment group.
createDeploymentAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a create deployment operation.public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest request, AsyncHandler<CreateDeploymentRequest,CreateDeploymentResult> asyncHandler)
AmazonCodeDeployAsync
Deploys an application revision through the specified deployment group.
createDeploymentAsync
in interface AmazonCodeDeployAsync
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.public Future<CreateDeploymentConfigResult> createDeploymentConfigAsync(CreateDeploymentConfigRequest request)
AmazonCodeDeployAsync
Creates a deployment configuration.
createDeploymentConfigAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a create deployment configuration operation.public Future<CreateDeploymentConfigResult> createDeploymentConfigAsync(CreateDeploymentConfigRequest request, AsyncHandler<CreateDeploymentConfigRequest,CreateDeploymentConfigResult> asyncHandler)
AmazonCodeDeployAsync
Creates a deployment configuration.
createDeploymentConfigAsync
in interface AmazonCodeDeployAsync
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.public Future<CreateDeploymentGroupResult> createDeploymentGroupAsync(CreateDeploymentGroupRequest request)
AmazonCodeDeployAsync
Creates a deployment group to which application revisions will be deployed.
createDeploymentGroupAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a create deployment group operation.public Future<CreateDeploymentGroupResult> createDeploymentGroupAsync(CreateDeploymentGroupRequest request, AsyncHandler<CreateDeploymentGroupRequest,CreateDeploymentGroupResult> asyncHandler)
AmazonCodeDeployAsync
Creates a deployment group to which application revisions will be deployed.
createDeploymentGroupAsync
in interface AmazonCodeDeployAsync
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.public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request)
AmazonCodeDeployAsync
Deletes an application.
deleteApplicationAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a delete application operation.public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
AmazonCodeDeployAsync
Deletes an application.
deleteApplicationAsync
in interface AmazonCodeDeployAsync
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.public Future<DeleteDeploymentConfigResult> deleteDeploymentConfigAsync(DeleteDeploymentConfigRequest request)
AmazonCodeDeployAsync
Deletes a deployment configuration.
A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted.
deleteDeploymentConfigAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a delete deployment configuration operation.public Future<DeleteDeploymentConfigResult> deleteDeploymentConfigAsync(DeleteDeploymentConfigRequest request, AsyncHandler<DeleteDeploymentConfigRequest,DeleteDeploymentConfigResult> asyncHandler)
AmazonCodeDeployAsync
Deletes a deployment configuration.
A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted.
deleteDeploymentConfigAsync
in interface AmazonCodeDeployAsync
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.public Future<DeleteDeploymentGroupResult> deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest request)
AmazonCodeDeployAsync
Deletes a deployment group.
deleteDeploymentGroupAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a delete deployment group operation.public Future<DeleteDeploymentGroupResult> deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest request, AsyncHandler<DeleteDeploymentGroupRequest,DeleteDeploymentGroupResult> asyncHandler)
AmazonCodeDeployAsync
Deletes a deployment group.
deleteDeploymentGroupAsync
in interface AmazonCodeDeployAsync
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.public Future<DeregisterOnPremisesInstanceResult> deregisterOnPremisesInstanceAsync(DeregisterOnPremisesInstanceRequest request)
AmazonCodeDeployAsync
Deregisters an on-premises instance.
deregisterOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a deregister on-premises instance operation.public Future<DeregisterOnPremisesInstanceResult> deregisterOnPremisesInstanceAsync(DeregisterOnPremisesInstanceRequest request, AsyncHandler<DeregisterOnPremisesInstanceRequest,DeregisterOnPremisesInstanceResult> asyncHandler)
AmazonCodeDeployAsync
Deregisters an on-premises instance.
deregisterOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
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.public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request)
AmazonCodeDeployAsync
Gets information about an application.
getApplicationAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a get application operation.public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request, AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about an application.
getApplicationAsync
in interface AmazonCodeDeployAsync
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.public Future<GetApplicationRevisionResult> getApplicationRevisionAsync(GetApplicationRevisionRequest request)
AmazonCodeDeployAsync
Gets information about an application revision.
getApplicationRevisionAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a get application revision operation.public Future<GetApplicationRevisionResult> getApplicationRevisionAsync(GetApplicationRevisionRequest request, AsyncHandler<GetApplicationRevisionRequest,GetApplicationRevisionResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about an application revision.
getApplicationRevisionAsync
in interface AmazonCodeDeployAsync
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.public Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest request)
AmazonCodeDeployAsync
Gets information about a deployment.
getDeploymentAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a get deployment operation.public Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest request, AsyncHandler<GetDeploymentRequest,GetDeploymentResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about a deployment.
getDeploymentAsync
in interface AmazonCodeDeployAsync
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.public Future<GetDeploymentConfigResult> getDeploymentConfigAsync(GetDeploymentConfigRequest request)
AmazonCodeDeployAsync
Gets information about a deployment configuration.
getDeploymentConfigAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a get deployment configuration operation.public Future<GetDeploymentConfigResult> getDeploymentConfigAsync(GetDeploymentConfigRequest request, AsyncHandler<GetDeploymentConfigRequest,GetDeploymentConfigResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about a deployment configuration.
getDeploymentConfigAsync
in interface AmazonCodeDeployAsync
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.public Future<GetDeploymentGroupResult> getDeploymentGroupAsync(GetDeploymentGroupRequest request)
AmazonCodeDeployAsync
Gets information about a deployment group.
getDeploymentGroupAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a get deployment group operation.public Future<GetDeploymentGroupResult> getDeploymentGroupAsync(GetDeploymentGroupRequest request, AsyncHandler<GetDeploymentGroupRequest,GetDeploymentGroupResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about a deployment group.
getDeploymentGroupAsync
in interface AmazonCodeDeployAsync
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.public Future<GetDeploymentInstanceResult> getDeploymentInstanceAsync(GetDeploymentInstanceRequest request)
AmazonCodeDeployAsync
Gets information about an instance as part of a deployment.
getDeploymentInstanceAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a get deployment instance operation.public Future<GetDeploymentInstanceResult> getDeploymentInstanceAsync(GetDeploymentInstanceRequest request, AsyncHandler<GetDeploymentInstanceRequest,GetDeploymentInstanceResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about an instance as part of a deployment.
getDeploymentInstanceAsync
in interface AmazonCodeDeployAsync
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.public Future<GetOnPremisesInstanceResult> getOnPremisesInstanceAsync(GetOnPremisesInstanceRequest request)
AmazonCodeDeployAsync
Gets information about an on-premises instance.
getOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a get on-premises instance operation.public Future<GetOnPremisesInstanceResult> getOnPremisesInstanceAsync(GetOnPremisesInstanceRequest request, AsyncHandler<GetOnPremisesInstanceRequest,GetOnPremisesInstanceResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about an on-premises instance.
getOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
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.public Future<ListApplicationRevisionsResult> listApplicationRevisionsAsync(ListApplicationRevisionsRequest request)
AmazonCodeDeployAsync
Lists information about revisions for an application.
listApplicationRevisionsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a list application revisions operation.public Future<ListApplicationRevisionsResult> listApplicationRevisionsAsync(ListApplicationRevisionsRequest request, AsyncHandler<ListApplicationRevisionsRequest,ListApplicationRevisionsResult> asyncHandler)
AmazonCodeDeployAsync
Lists information about revisions for an application.
listApplicationRevisionsAsync
in interface AmazonCodeDeployAsync
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.public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request)
AmazonCodeDeployAsync
Lists the applications registered with the applicable IAM user or AWS account.
listApplicationsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a list applications operation.public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
AmazonCodeDeployAsync
Lists the applications registered with the applicable IAM user or AWS account.
listApplicationsAsync
in interface AmazonCodeDeployAsync
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.public Future<ListApplicationsResult> listApplicationsAsync()
listApplicationsAsync
in interface AmazonCodeDeployAsync
listApplicationsAsync(ListApplicationsRequest)
public Future<ListApplicationsResult> listApplicationsAsync(AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
listApplicationsAsync
in interface AmazonCodeDeployAsync
listApplicationsAsync(ListApplicationsRequest, com.amazonaws.handlers.AsyncHandler)
public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(ListDeploymentConfigsRequest request)
AmazonCodeDeployAsync
Lists the deployment configurations with the applicable IAM user or AWS account.
listDeploymentConfigsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a list deployment configurations operation.public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(ListDeploymentConfigsRequest request, AsyncHandler<ListDeploymentConfigsRequest,ListDeploymentConfigsResult> asyncHandler)
AmazonCodeDeployAsync
Lists the deployment configurations with the applicable IAM user or AWS account.
listDeploymentConfigsAsync
in interface AmazonCodeDeployAsync
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.public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync()
listDeploymentConfigsAsync
in interface AmazonCodeDeployAsync
listDeploymentConfigsAsync(ListDeploymentConfigsRequest)
public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(AsyncHandler<ListDeploymentConfigsRequest,ListDeploymentConfigsResult> asyncHandler)
listDeploymentConfigsAsync
in interface AmazonCodeDeployAsync
listDeploymentConfigsAsync(ListDeploymentConfigsRequest, com.amazonaws.handlers.AsyncHandler)
public Future<ListDeploymentGroupsResult> listDeploymentGroupsAsync(ListDeploymentGroupsRequest request)
AmazonCodeDeployAsync
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
listDeploymentGroupsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a list deployment groups operation.public Future<ListDeploymentGroupsResult> listDeploymentGroupsAsync(ListDeploymentGroupsRequest request, AsyncHandler<ListDeploymentGroupsRequest,ListDeploymentGroupsResult> asyncHandler)
AmazonCodeDeployAsync
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
listDeploymentGroupsAsync
in interface AmazonCodeDeployAsync
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.public Future<ListDeploymentInstancesResult> listDeploymentInstancesAsync(ListDeploymentInstancesRequest request)
AmazonCodeDeployAsync
Lists the instance for a deployment associated with the applicable IAM user or AWS account.
listDeploymentInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a list deployment instances operation.public Future<ListDeploymentInstancesResult> listDeploymentInstancesAsync(ListDeploymentInstancesRequest request, AsyncHandler<ListDeploymentInstancesRequest,ListDeploymentInstancesResult> asyncHandler)
AmazonCodeDeployAsync
Lists the instance for a deployment associated with the applicable IAM user or AWS account.
listDeploymentInstancesAsync
in interface AmazonCodeDeployAsync
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.public Future<ListDeploymentsResult> listDeploymentsAsync(ListDeploymentsRequest request)
AmazonCodeDeployAsync
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.
listDeploymentsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a list deployments operation.public Future<ListDeploymentsResult> listDeploymentsAsync(ListDeploymentsRequest request, AsyncHandler<ListDeploymentsRequest,ListDeploymentsResult> asyncHandler)
AmazonCodeDeployAsync
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.
listDeploymentsAsync
in interface AmazonCodeDeployAsync
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.public Future<ListDeploymentsResult> listDeploymentsAsync()
listDeploymentsAsync
in interface AmazonCodeDeployAsync
listDeploymentsAsync(ListDeploymentsRequest)
public Future<ListDeploymentsResult> listDeploymentsAsync(AsyncHandler<ListDeploymentsRequest,ListDeploymentsResult> asyncHandler)
listDeploymentsAsync
in interface AmazonCodeDeployAsync
listDeploymentsAsync(ListDeploymentsRequest, com.amazonaws.handlers.AsyncHandler)
public Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest request)
AmazonCodeDeployAsync
Gets 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.
listOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a list on-premises instances operation.public Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest request, AsyncHandler<ListOnPremisesInstancesRequest,ListOnPremisesInstancesResult> asyncHandler)
AmazonCodeDeployAsync
Gets 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.
listOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
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.public Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync()
listOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest)
public Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(AsyncHandler<ListOnPremisesInstancesRequest,ListOnPremisesInstancesResult> asyncHandler)
listOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest, com.amazonaws.handlers.AsyncHandler)
public Future<RegisterApplicationRevisionResult> registerApplicationRevisionAsync(RegisterApplicationRevisionRequest request)
AmazonCodeDeployAsync
Registers with AWS CodeDeploy a revision for the specified application.
registerApplicationRevisionAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a register application revision operation.public Future<RegisterApplicationRevisionResult> registerApplicationRevisionAsync(RegisterApplicationRevisionRequest request, AsyncHandler<RegisterApplicationRevisionRequest,RegisterApplicationRevisionResult> asyncHandler)
AmazonCodeDeployAsync
Registers with AWS CodeDeploy a revision for the specified application.
registerApplicationRevisionAsync
in interface AmazonCodeDeployAsync
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.public Future<RegisterOnPremisesInstanceResult> registerOnPremisesInstanceAsync(RegisterOnPremisesInstanceRequest request)
AmazonCodeDeployAsync
Registers an on-premises instance.
registerOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of the register on-premises instance operation.public Future<RegisterOnPremisesInstanceResult> registerOnPremisesInstanceAsync(RegisterOnPremisesInstanceRequest request, AsyncHandler<RegisterOnPremisesInstanceRequest,RegisterOnPremisesInstanceResult> asyncHandler)
AmazonCodeDeployAsync
Registers an on-premises instance.
registerOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
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.public Future<RemoveTagsFromOnPremisesInstancesResult> removeTagsFromOnPremisesInstancesAsync(RemoveTagsFromOnPremisesInstancesRequest request)
AmazonCodeDeployAsync
Removes one or more tags from one or more on-premises instances.
removeTagsFromOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a remove tags from on-premises instances operation.public Future<RemoveTagsFromOnPremisesInstancesResult> removeTagsFromOnPremisesInstancesAsync(RemoveTagsFromOnPremisesInstancesRequest request, AsyncHandler<RemoveTagsFromOnPremisesInstancesRequest,RemoveTagsFromOnPremisesInstancesResult> asyncHandler)
AmazonCodeDeployAsync
Removes one or more tags from one or more on-premises instances.
removeTagsFromOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
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.public Future<StopDeploymentResult> stopDeploymentAsync(StopDeploymentRequest request)
AmazonCodeDeployAsync
Attempts to stop an ongoing deployment.
stopDeploymentAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a stop deployment operation.public Future<StopDeploymentResult> stopDeploymentAsync(StopDeploymentRequest request, AsyncHandler<StopDeploymentRequest,StopDeploymentResult> asyncHandler)
AmazonCodeDeployAsync
Attempts to stop an ongoing deployment.
stopDeploymentAsync
in interface AmazonCodeDeployAsync
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.public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request)
AmazonCodeDeployAsync
Changes the name of an application.
updateApplicationAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of an update application operation.public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
AmazonCodeDeployAsync
Changes the name of an application.
updateApplicationAsync
in interface AmazonCodeDeployAsync
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.public Future<UpdateApplicationResult> updateApplicationAsync()
updateApplicationAsync
in interface AmazonCodeDeployAsync
updateApplicationAsync(UpdateApplicationRequest)
public Future<UpdateApplicationResult> updateApplicationAsync(AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
updateApplicationAsync
in interface AmazonCodeDeployAsync
updateApplicationAsync(UpdateApplicationRequest, com.amazonaws.handlers.AsyncHandler)
public Future<UpdateDeploymentGroupResult> updateDeploymentGroupAsync(UpdateDeploymentGroupRequest request)
AmazonCodeDeployAsync
Changes information about a deployment group.
updateDeploymentGroupAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of an update deployment group operation.public Future<UpdateDeploymentGroupResult> updateDeploymentGroupAsync(UpdateDeploymentGroupRequest request, AsyncHandler<UpdateDeploymentGroupRequest,UpdateDeploymentGroupResult> asyncHandler)
AmazonCodeDeployAsync
Changes information about a deployment group.
updateDeploymentGroupAsync
in interface AmazonCodeDeployAsync
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.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonCodeDeploy
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.