public class AmazonCodeDeployAsyncClient extends AmazonCodeDeployClient implements AmazonCodeDeployAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
This is the AWS CodeDeploy API Reference. This guide provides descriptions of the AWS CodeDeploy APIs. For additional information, see the AWS CodeDeploy User Guide.
Using the APIsYou can use the AWS CodeDeploy APIs to work with the following items:
Applications are unique identifiers that AWS CodeDeploy uses to ensure that 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 deployment success and failure conditions that AWS CodeDeploy uses 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 instances.
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 that are stored in Amazon S3 buckets or GitHub repositories. These revisions contain source content (such as source code, web pages, executable files, any deployment scripts, and similar) along with an Application Specification file (AppSpec file). (The AppSpec file is unique to AWS CodeDeploy; it defines a series of deployment actions that you want AWS CodeDeploy to execute.) An application revision is uniquely identified by its Amazon S3 object key and its ETag, version, or both (for application revisions that are stored in Amazon S3 buckets) or by its repository name and commit ID (for applications revisions that are stored in GitHub repositories). Application revisions are deployed through deployment groups.
You can use the AWS CodeDeploy APIs to get, list, and register application revisions.
jsonErrorUnmarshallers
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
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, batchGetApplications, batchGetApplications, 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
addRequestHandler, addRequestHandler, beforeMarshalling, configSigner, configSigner, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTagsToOnPremisesInstances, batchGetApplications, batchGetApplications, 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
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 void shutdown()
getExecutorService().shutdown()
followed by
getExecutorService().awaitTermination()
prior to calling this
method.shutdown
in interface AmazonCodeDeploy
shutdown
in class AmazonWebServiceClient
public Future<Void> addTagsToOnPremisesInstancesAsync(AddTagsToOnPremisesInstancesRequest addTagsToOnPremisesInstancesRequest)
AmazonCodeDeployAsync
Adds a tag to an on-premises instance.
addTagsToOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
addTagsToOnPremisesInstancesRequest
- Represents the input of an adds tags to on-premises instance
operation.public Future<Void> addTagsToOnPremisesInstancesAsync(AddTagsToOnPremisesInstancesRequest addTagsToOnPremisesInstancesRequest, AsyncHandler<AddTagsToOnPremisesInstancesRequest,Void> asyncHandler)
AmazonCodeDeployAsync
Adds a tag to an on-premises instance.
addTagsToOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
addTagsToOnPremisesInstancesRequest
- Represents the input of an adds tags to 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<BatchGetApplicationsResult> batchGetApplicationsAsync(BatchGetApplicationsRequest batchGetApplicationsRequest)
AmazonCodeDeployAsync
Gets information about one or more applications.
batchGetApplicationsAsync
in interface AmazonCodeDeployAsync
batchGetApplicationsRequest
- Represents the input of a batch get applications operation.public Future<BatchGetApplicationsResult> batchGetApplicationsAsync(BatchGetApplicationsRequest batchGetApplicationsRequest, AsyncHandler<BatchGetApplicationsRequest,BatchGetApplicationsResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about one or more applications.
batchGetApplicationsAsync
in interface AmazonCodeDeployAsync
batchGetApplicationsRequest
- 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()
AmazonCodeDeployAsync
batchGetApplicationsAsync
in interface AmazonCodeDeployAsync
AmazonCodeDeployAsync.batchGetApplicationsAsync(BatchGetApplicationsRequest)
public Future<BatchGetApplicationsResult> batchGetApplicationsAsync(AsyncHandler<BatchGetApplicationsRequest,BatchGetApplicationsResult> asyncHandler)
batchGetApplicationsAsync
in interface AmazonCodeDeployAsync
batchGetApplicationsAsync(BatchGetApplicationsRequest,
com.amazonaws.handlers.AsyncHandler)
public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(BatchGetDeploymentsRequest batchGetDeploymentsRequest)
AmazonCodeDeployAsync
Gets information about one or more deployments.
batchGetDeploymentsAsync
in interface AmazonCodeDeployAsync
batchGetDeploymentsRequest
- Represents the input of a batch get deployments operation.public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(BatchGetDeploymentsRequest batchGetDeploymentsRequest, AsyncHandler<BatchGetDeploymentsRequest,BatchGetDeploymentsResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about one or more deployments.
batchGetDeploymentsAsync
in interface AmazonCodeDeployAsync
batchGetDeploymentsRequest
- 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()
AmazonCodeDeployAsync
batchGetDeploymentsAsync
in interface AmazonCodeDeployAsync
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 batchGetOnPremisesInstancesRequest)
AmazonCodeDeployAsync
Gets information about one or more on-premises instances.
batchGetOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
batchGetOnPremisesInstancesRequest
- Represents the input of a batch get on-premises instances
operation.public Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest batchGetOnPremisesInstancesRequest, AsyncHandler<BatchGetOnPremisesInstancesRequest,BatchGetOnPremisesInstancesResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about one or more on-premises instances.
batchGetOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
batchGetOnPremisesInstancesRequest
- 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()
AmazonCodeDeployAsync
batchGetOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
AmazonCodeDeployAsync.batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest)
public Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(AsyncHandler<BatchGetOnPremisesInstancesRequest,BatchGetOnPremisesInstancesResult> asyncHandler)
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest createApplicationRequest)
AmazonCodeDeployAsync
Creates a new application.
createApplicationAsync
in interface AmazonCodeDeployAsync
createApplicationRequest
- Represents the input of a create application operation.public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest createApplicationRequest, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
AmazonCodeDeployAsync
Creates a new application.
createApplicationAsync
in interface AmazonCodeDeployAsync
createApplicationRequest
- 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 createDeploymentRequest)
AmazonCodeDeployAsync
Deploys an application revision through the specified deployment group.
createDeploymentAsync
in interface AmazonCodeDeployAsync
createDeploymentRequest
- Represents the input of a create deployment operation.public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest, AsyncHandler<CreateDeploymentRequest,CreateDeploymentResult> asyncHandler)
AmazonCodeDeployAsync
Deploys an application revision through the specified deployment group.
createDeploymentAsync
in interface AmazonCodeDeployAsync
createDeploymentRequest
- 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 createDeploymentConfigRequest)
AmazonCodeDeployAsync
Creates a new deployment configuration.
createDeploymentConfigAsync
in interface AmazonCodeDeployAsync
createDeploymentConfigRequest
- Represents the input of a create deployment configuration
operation.public Future<CreateDeploymentConfigResult> createDeploymentConfigAsync(CreateDeploymentConfigRequest createDeploymentConfigRequest, AsyncHandler<CreateDeploymentConfigRequest,CreateDeploymentConfigResult> asyncHandler)
AmazonCodeDeployAsync
Creates a new deployment configuration.
createDeploymentConfigAsync
in interface AmazonCodeDeployAsync
createDeploymentConfigRequest
- 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 createDeploymentGroupRequest)
AmazonCodeDeployAsync
Creates a new deployment group for application revisions to be deployed to.
createDeploymentGroupAsync
in interface AmazonCodeDeployAsync
createDeploymentGroupRequest
- Represents the input of a create deployment group operation.public Future<CreateDeploymentGroupResult> createDeploymentGroupAsync(CreateDeploymentGroupRequest createDeploymentGroupRequest, AsyncHandler<CreateDeploymentGroupRequest,CreateDeploymentGroupResult> asyncHandler)
AmazonCodeDeployAsync
Creates a new deployment group for application revisions to be deployed to.
createDeploymentGroupAsync
in interface AmazonCodeDeployAsync
createDeploymentGroupRequest
- 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<Void> deleteApplicationAsync(DeleteApplicationRequest deleteApplicationRequest)
AmazonCodeDeployAsync
Deletes an application.
deleteApplicationAsync
in interface AmazonCodeDeployAsync
deleteApplicationRequest
- Represents the input of a delete application operation.public Future<Void> deleteApplicationAsync(DeleteApplicationRequest deleteApplicationRequest, AsyncHandler<DeleteApplicationRequest,Void> asyncHandler)
AmazonCodeDeployAsync
Deletes an application.
deleteApplicationAsync
in interface AmazonCodeDeployAsync
deleteApplicationRequest
- 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<Void> deleteDeploymentConfigAsync(DeleteDeploymentConfigRequest deleteDeploymentConfigRequest)
AmazonCodeDeployAsync
Deletes a deployment configuration.
deleteDeploymentConfigAsync
in interface AmazonCodeDeployAsync
deleteDeploymentConfigRequest
- Represents the input of a delete deployment configuration
operation.public Future<Void> deleteDeploymentConfigAsync(DeleteDeploymentConfigRequest deleteDeploymentConfigRequest, AsyncHandler<DeleteDeploymentConfigRequest,Void> asyncHandler)
AmazonCodeDeployAsync
Deletes a deployment configuration.
deleteDeploymentConfigAsync
in interface AmazonCodeDeployAsync
deleteDeploymentConfigRequest
- 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 deleteDeploymentGroupRequest)
AmazonCodeDeployAsync
Deletes a deployment group.
deleteDeploymentGroupAsync
in interface AmazonCodeDeployAsync
deleteDeploymentGroupRequest
- Represents the input of a delete deployment group operation.public Future<DeleteDeploymentGroupResult> deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest deleteDeploymentGroupRequest, AsyncHandler<DeleteDeploymentGroupRequest,DeleteDeploymentGroupResult> asyncHandler)
AmazonCodeDeployAsync
Deletes a deployment group.
deleteDeploymentGroupAsync
in interface AmazonCodeDeployAsync
deleteDeploymentGroupRequest
- 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<Void> deregisterOnPremisesInstanceAsync(DeregisterOnPremisesInstanceRequest deregisterOnPremisesInstanceRequest)
AmazonCodeDeployAsync
Deregisters an on-premises instance.
deregisterOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
deregisterOnPremisesInstanceRequest
- Represents the input of a deregister on-premises instance
operation.public Future<Void> deregisterOnPremisesInstanceAsync(DeregisterOnPremisesInstanceRequest deregisterOnPremisesInstanceRequest, AsyncHandler<DeregisterOnPremisesInstanceRequest,Void> asyncHandler)
AmazonCodeDeployAsync
Deregisters an on-premises instance.
deregisterOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
deregisterOnPremisesInstanceRequest
- 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 getApplicationRequest)
AmazonCodeDeployAsync
Gets information about an application.
getApplicationAsync
in interface AmazonCodeDeployAsync
getApplicationRequest
- Represents the input of a get application operation.public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest getApplicationRequest, AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about an application.
getApplicationAsync
in interface AmazonCodeDeployAsync
getApplicationRequest
- 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 getApplicationRevisionRequest)
AmazonCodeDeployAsync
Gets information about an application revision.
getApplicationRevisionAsync
in interface AmazonCodeDeployAsync
getApplicationRevisionRequest
- Represents the input of a get application revision operation.public Future<GetApplicationRevisionResult> getApplicationRevisionAsync(GetApplicationRevisionRequest getApplicationRevisionRequest, AsyncHandler<GetApplicationRevisionRequest,GetApplicationRevisionResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about an application revision.
getApplicationRevisionAsync
in interface AmazonCodeDeployAsync
getApplicationRevisionRequest
- 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 getDeploymentRequest)
AmazonCodeDeployAsync
Gets information about a deployment.
getDeploymentAsync
in interface AmazonCodeDeployAsync
getDeploymentRequest
- Represents the input of a get deployment operation.public Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest getDeploymentRequest, AsyncHandler<GetDeploymentRequest,GetDeploymentResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about a deployment.
getDeploymentAsync
in interface AmazonCodeDeployAsync
getDeploymentRequest
- 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 getDeploymentConfigRequest)
AmazonCodeDeployAsync
Gets information about a deployment configuration.
getDeploymentConfigAsync
in interface AmazonCodeDeployAsync
getDeploymentConfigRequest
- Represents the input of a get deployment configuration operation.public Future<GetDeploymentConfigResult> getDeploymentConfigAsync(GetDeploymentConfigRequest getDeploymentConfigRequest, AsyncHandler<GetDeploymentConfigRequest,GetDeploymentConfigResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about a deployment configuration.
getDeploymentConfigAsync
in interface AmazonCodeDeployAsync
getDeploymentConfigRequest
- 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 getDeploymentGroupRequest)
AmazonCodeDeployAsync
Gets information about a deployment group.
getDeploymentGroupAsync
in interface AmazonCodeDeployAsync
getDeploymentGroupRequest
- Represents the input of a get deployment group operation.public Future<GetDeploymentGroupResult> getDeploymentGroupAsync(GetDeploymentGroupRequest getDeploymentGroupRequest, AsyncHandler<GetDeploymentGroupRequest,GetDeploymentGroupResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about a deployment group.
getDeploymentGroupAsync
in interface AmazonCodeDeployAsync
getDeploymentGroupRequest
- 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 getDeploymentInstanceRequest)
AmazonCodeDeployAsync
Gets information about an instance as part of a deployment.
getDeploymentInstanceAsync
in interface AmazonCodeDeployAsync
getDeploymentInstanceRequest
- Represents the input of a get deployment instance operation.public Future<GetDeploymentInstanceResult> getDeploymentInstanceAsync(GetDeploymentInstanceRequest getDeploymentInstanceRequest, AsyncHandler<GetDeploymentInstanceRequest,GetDeploymentInstanceResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about an instance as part of a deployment.
getDeploymentInstanceAsync
in interface AmazonCodeDeployAsync
getDeploymentInstanceRequest
- 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 getOnPremisesInstanceRequest)
AmazonCodeDeployAsync
Gets information about an on-premises instance.
getOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
getOnPremisesInstanceRequest
- Represents the input of a get on-premises instance operation.public Future<GetOnPremisesInstanceResult> getOnPremisesInstanceAsync(GetOnPremisesInstanceRequest getOnPremisesInstanceRequest, AsyncHandler<GetOnPremisesInstanceRequest,GetOnPremisesInstanceResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about an on-premises instance.
getOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
getOnPremisesInstanceRequest
- 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 listApplicationRevisionsRequest)
AmazonCodeDeployAsync
Lists information about revisions for an application.
listApplicationRevisionsAsync
in interface AmazonCodeDeployAsync
listApplicationRevisionsRequest
- Represents the input of a list application revisions operation.public Future<ListApplicationRevisionsResult> listApplicationRevisionsAsync(ListApplicationRevisionsRequest listApplicationRevisionsRequest, AsyncHandler<ListApplicationRevisionsRequest,ListApplicationRevisionsResult> asyncHandler)
AmazonCodeDeployAsync
Lists information about revisions for an application.
listApplicationRevisionsAsync
in interface AmazonCodeDeployAsync
listApplicationRevisionsRequest
- 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 listApplicationsRequest)
AmazonCodeDeployAsync
Lists the applications registered with the applicable IAM user or AWS account.
listApplicationsAsync
in interface AmazonCodeDeployAsync
listApplicationsRequest
- Represents the input of a list applications operation.public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest listApplicationsRequest, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
AmazonCodeDeployAsync
Lists the applications registered with the applicable IAM user or AWS account.
listApplicationsAsync
in interface AmazonCodeDeployAsync
listApplicationsRequest
- 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()
AmazonCodeDeployAsync
listApplicationsAsync
in interface AmazonCodeDeployAsync
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 listDeploymentConfigsRequest)
AmazonCodeDeployAsync
Lists the deployment configurations with the applicable IAM user or AWS account.
listDeploymentConfigsAsync
in interface AmazonCodeDeployAsync
listDeploymentConfigsRequest
- Represents the input of a list deployment configurations
operation.public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(ListDeploymentConfigsRequest listDeploymentConfigsRequest, AsyncHandler<ListDeploymentConfigsRequest,ListDeploymentConfigsResult> asyncHandler)
AmazonCodeDeployAsync
Lists the deployment configurations with the applicable IAM user or AWS account.
listDeploymentConfigsAsync
in interface AmazonCodeDeployAsync
listDeploymentConfigsRequest
- 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()
AmazonCodeDeployAsync
listDeploymentConfigsAsync
in interface AmazonCodeDeployAsync
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 listDeploymentGroupsRequest)
AmazonCodeDeployAsync
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
listDeploymentGroupsAsync
in interface AmazonCodeDeployAsync
listDeploymentGroupsRequest
- Represents the input of a list deployment groups operation.public Future<ListDeploymentGroupsResult> listDeploymentGroupsAsync(ListDeploymentGroupsRequest listDeploymentGroupsRequest, 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
listDeploymentGroupsRequest
- 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 listDeploymentInstancesRequest)
AmazonCodeDeployAsync
Lists the instances for a deployment associated with the applicable IAM user or AWS account.
listDeploymentInstancesAsync
in interface AmazonCodeDeployAsync
listDeploymentInstancesRequest
- Represents the input of a list deployment instances operation.public Future<ListDeploymentInstancesResult> listDeploymentInstancesAsync(ListDeploymentInstancesRequest listDeploymentInstancesRequest, AsyncHandler<ListDeploymentInstancesRequest,ListDeploymentInstancesResult> asyncHandler)
AmazonCodeDeployAsync
Lists the instances for a deployment associated with the applicable IAM user or AWS account.
listDeploymentInstancesAsync
in interface AmazonCodeDeployAsync
listDeploymentInstancesRequest
- 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 listDeploymentsRequest)
AmazonCodeDeployAsync
Lists the deployments within a deployment group for an application registered with the applicable IAM user or AWS account.
listDeploymentsAsync
in interface AmazonCodeDeployAsync
listDeploymentsRequest
- Represents the input of a list deployments operation.public Future<ListDeploymentsResult> listDeploymentsAsync(ListDeploymentsRequest listDeploymentsRequest, AsyncHandler<ListDeploymentsRequest,ListDeploymentsResult> asyncHandler)
AmazonCodeDeployAsync
Lists the deployments within a deployment group for an application registered with the applicable IAM user or AWS account.
listDeploymentsAsync
in interface AmazonCodeDeployAsync
listDeploymentsRequest
- 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()
AmazonCodeDeployAsync
listDeploymentsAsync
in interface AmazonCodeDeployAsync
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 listOnPremisesInstancesRequest)
AmazonCodeDeployAsync
Gets a list of one or more on-premises instance names.
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
listOnPremisesInstancesRequest
- Represents the input of a list on-premises instances operation.public Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest listOnPremisesInstancesRequest, AsyncHandler<ListOnPremisesInstancesRequest,ListOnPremisesInstancesResult> asyncHandler)
AmazonCodeDeployAsync
Gets a list of one or more on-premises instance names.
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
listOnPremisesInstancesRequest
- 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()
AmazonCodeDeployAsync
listOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
AmazonCodeDeployAsync.listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest)
public Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(AsyncHandler<ListOnPremisesInstancesRequest,ListOnPremisesInstancesResult> asyncHandler)
listOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest,
com.amazonaws.handlers.AsyncHandler)
public Future<Void> registerApplicationRevisionAsync(RegisterApplicationRevisionRequest registerApplicationRevisionRequest)
AmazonCodeDeployAsync
Registers with AWS CodeDeploy a revision for the specified application.
registerApplicationRevisionAsync
in interface AmazonCodeDeployAsync
registerApplicationRevisionRequest
- Represents the input of a register application revision operation.public Future<Void> registerApplicationRevisionAsync(RegisterApplicationRevisionRequest registerApplicationRevisionRequest, AsyncHandler<RegisterApplicationRevisionRequest,Void> asyncHandler)
AmazonCodeDeployAsync
Registers with AWS CodeDeploy a revision for the specified application.
registerApplicationRevisionAsync
in interface AmazonCodeDeployAsync
registerApplicationRevisionRequest
- 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<Void> registerOnPremisesInstanceAsync(RegisterOnPremisesInstanceRequest registerOnPremisesInstanceRequest)
AmazonCodeDeployAsync
Registers an on-premises instance.
registerOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
registerOnPremisesInstanceRequest
- Represents the input of register on-premises instance operation.public Future<Void> registerOnPremisesInstanceAsync(RegisterOnPremisesInstanceRequest registerOnPremisesInstanceRequest, AsyncHandler<RegisterOnPremisesInstanceRequest,Void> asyncHandler)
AmazonCodeDeployAsync
Registers an on-premises instance.
registerOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
registerOnPremisesInstanceRequest
- Represents the input of 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<Void> removeTagsFromOnPremisesInstancesAsync(RemoveTagsFromOnPremisesInstancesRequest removeTagsFromOnPremisesInstancesRequest)
AmazonCodeDeployAsync
Removes one or more tags from one or more on-premises instances.
removeTagsFromOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
removeTagsFromOnPremisesInstancesRequest
- Represents the input of a remove tags from on-premises instances
operation.public Future<Void> removeTagsFromOnPremisesInstancesAsync(RemoveTagsFromOnPremisesInstancesRequest removeTagsFromOnPremisesInstancesRequest, AsyncHandler<RemoveTagsFromOnPremisesInstancesRequest,Void> asyncHandler)
AmazonCodeDeployAsync
Removes one or more tags from one or more on-premises instances.
removeTagsFromOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
removeTagsFromOnPremisesInstancesRequest
- 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 stopDeploymentRequest)
AmazonCodeDeployAsync
Attempts to stop an ongoing deployment.
stopDeploymentAsync
in interface AmazonCodeDeployAsync
stopDeploymentRequest
- Represents the input of a stop deployment operation.public Future<StopDeploymentResult> stopDeploymentAsync(StopDeploymentRequest stopDeploymentRequest, AsyncHandler<StopDeploymentRequest,StopDeploymentResult> asyncHandler)
AmazonCodeDeployAsync
Attempts to stop an ongoing deployment.
stopDeploymentAsync
in interface AmazonCodeDeployAsync
stopDeploymentRequest
- 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<Void> updateApplicationAsync(UpdateApplicationRequest updateApplicationRequest)
AmazonCodeDeployAsync
Changes an existing application's name.
updateApplicationAsync
in interface AmazonCodeDeployAsync
updateApplicationRequest
- Represents the input of an update application operation.public Future<Void> updateApplicationAsync(UpdateApplicationRequest updateApplicationRequest, AsyncHandler<UpdateApplicationRequest,Void> asyncHandler)
AmazonCodeDeployAsync
Changes an existing application's name.
updateApplicationAsync
in interface AmazonCodeDeployAsync
updateApplicationRequest
- 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<Void> updateApplicationAsync()
AmazonCodeDeployAsync
updateApplicationAsync
in interface AmazonCodeDeployAsync
AmazonCodeDeployAsync.updateApplicationAsync(UpdateApplicationRequest)
public Future<Void> updateApplicationAsync(AsyncHandler<UpdateApplicationRequest,Void> asyncHandler)
updateApplicationAsync
in interface AmazonCodeDeployAsync
updateApplicationAsync(UpdateApplicationRequest,
com.amazonaws.handlers.AsyncHandler)
public Future<UpdateDeploymentGroupResult> updateDeploymentGroupAsync(UpdateDeploymentGroupRequest updateDeploymentGroupRequest)
AmazonCodeDeployAsync
Changes information about an existing deployment group.
updateDeploymentGroupAsync
in interface AmazonCodeDeployAsync
updateDeploymentGroupRequest
- Represents the input of an update deployment group operation.public Future<UpdateDeploymentGroupResult> updateDeploymentGroupAsync(UpdateDeploymentGroupRequest updateDeploymentGroupRequest, AsyncHandler<UpdateDeploymentGroupRequest,UpdateDeploymentGroupResult> asyncHandler)
AmazonCodeDeployAsync
Changes information about an existing deployment group.
updateDeploymentGroupAsync
in interface AmazonCodeDeployAsync
updateDeploymentGroupRequest
- 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.Copyright © 2015. All rights reserved.