public class AmazonCodeDeployAsyncClient extends AmazonCodeDeployClient implements AmazonCodeDeployAsync
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 , which 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 work with applications by calling CreateApplication, DeleteApplication, GetApplication, ListApplications, BatchGetApplications, and UpdateApplication to create, delete, and get information about applications, and to change information about an application, respectively.
Deployment configurations , which are sets of deployment rules and deployment success and failure conditions that AWS CodeDeploy uses during deployments.
You can work with deployment configurations by calling CreateDeploymentConfig, DeleteDeploymentConfig, GetDeploymentConfig, and ListDeploymentConfigs to create, delete, and get information about deployment configurations, respectively.
Deployment groups , which represent groups of Amazon EC2 instances to which application revisions can be deployed.
You can work with deployment groups by calling CreateDeploymentGroup, DeleteDeploymentGroup, GetDeploymentGroup, ListDeploymentGroups, and UpdateDeploymentGroup to create, delete, and get information about single and multiple deployment groups, and to change information about a deployment group, respectively.
Deployment instances (also known simply as instances ), which represent Amazon EC2 instances to which application revisions are deployed. Deployment instances are identified by their Amazon EC2 tags or Auto Scaling group names. Deployment instances belong to deployment groups.
You can work with deployment instances by calling GetDeploymentInstance and ListDeploymentInstances to get information about single and multiple deployment instances, respectively.
Deployments , which represent the process of deploying revisions to deployment groups.
You can work with deployments by calling CreateDeployment, GetDeployment, ListDeployments, BatchGetDeployments, and StopDeployment to create and get information about deployments, and to stop a deployment, respectively.
Application revisions (also known simply as revisions ), which 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. Application revisions are deployed to deployment groups.
You can work with application revisions by calling GetApplicationRevision, ListApplicationRevisions, and RegisterApplicationRevision to get information about application revisions and to inform AWS CodeDeploy about an application revision, respectively.
jsonErrorUnmarshallersclient, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset| Constructor and Description |
|---|
AmazonCodeDeployAsyncClient()
Constructs a new asynchronous client to invoke service methods on
AmazonCodeDeploy.
|
AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on
AmazonCodeDeploy using the specified AWS account credentials.
|
AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonCodeDeploy 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
AmazonCodeDeploy using the specified AWS account credentials
and executor service.
|
AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on
AmazonCodeDeploy using the specified AWS account credentials provider.
|
AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AmazonCodeDeploy using the specified 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
AmazonCodeDeploy 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
AmazonCodeDeploy using the specified AWS account credentials provider
and executor service.
|
AmazonCodeDeployAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AmazonCodeDeploy.
|
batchGetApplications, batchGetApplications, batchGetDeployments, batchGetDeployments, createApplication, createDeployment, createDeploymentConfig, createDeploymentGroup, deleteApplication, deleteDeploymentConfig, deleteDeploymentGroup, getApplication, getApplicationRevision, getCachedResponseMetadata, getDeployment, getDeploymentConfig, getDeploymentGroup, getDeploymentInstance, listApplicationRevisions, listApplications, listApplications, listDeploymentConfigs, listDeploymentConfigs, listDeploymentGroups, listDeploymentInstances, listDeployments, listDeployments, registerApplicationRevision, setEndpoint, setEndpoint, stopDeployment, updateApplication, updateApplication, updateDeploymentGroupaddRequestHandler, addRequestHandler, configSigner, configSigner, convertToHttpRequest, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setConfiguration, setRegion, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchGetApplications, batchGetApplications, batchGetDeployments, batchGetDeployments, createApplication, createDeployment, createDeploymentConfig, createDeploymentGroup, deleteApplication, deleteDeploymentConfig, deleteDeploymentGroup, getApplication, getApplicationRevision, getCachedResponseMetadata, getDeployment, getDeploymentConfig, getDeploymentGroup, getDeploymentInstance, listApplicationRevisions, listApplications, listApplications, listDeploymentConfigs, listDeploymentConfigs, listDeploymentGroups, listDeploymentInstances, listDeployments, listDeployments, registerApplicationRevision, setEndpoint, setRegion, stopDeployment, updateApplication, updateApplication, updateDeploymentGrouppublic AmazonCodeDeployAsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChainpublic AmazonCodeDeployAsyncClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling how this
client connects to AmazonCodeDeploy
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChainpublic AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.executorService - The executor service by which all asynchronous requests will
be executed.public AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy
settings, etc).executorService - The executor service by which all asynchronous requests will
be executed.public AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.executorService - The executor service by which all asynchronous requests will
be executed.public AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy
settings, etc).public AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy
settings, etc).executorService - The executor service by which all asynchronous requests will
be executed.public ExecutorService getExecutorService()
public void shutdown()
shutdown in interface AmazonCodeDeployshutdown in class AmazonWebServiceClientpublic Future<GetDeploymentGroupResult> getDeploymentGroupAsync(GetDeploymentGroupRequest getDeploymentGroupRequest) throws AmazonServiceException, AmazonClientException
Gets information about a deployment group.
getDeploymentGroupAsync in interface AmazonCodeDeployAsyncgetDeploymentGroupRequest - Container for the necessary
parameters to execute the GetDeploymentGroup operation on
AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<GetDeploymentGroupResult> getDeploymentGroupAsync(GetDeploymentGroupRequest getDeploymentGroupRequest, AsyncHandler<GetDeploymentGroupRequest,GetDeploymentGroupResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about a deployment group.
getDeploymentGroupAsync in interface AmazonCodeDeployAsyncgetDeploymentGroupRequest - Container for the necessary
parameters to execute the GetDeploymentGroup operation on
AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<Void> updateApplicationAsync(UpdateApplicationRequest updateApplicationRequest) throws AmazonServiceException, AmazonClientException
Changes an existing application's name.
updateApplicationAsync in interface AmazonCodeDeployAsyncupdateApplicationRequest - Container for the necessary parameters
to execute the UpdateApplication operation on AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<Void> updateApplicationAsync(UpdateApplicationRequest updateApplicationRequest, AsyncHandler<UpdateApplicationRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Changes an existing application's name.
updateApplicationAsync in interface AmazonCodeDeployAsyncupdateApplicationRequest - Container for the necessary parameters
to execute the UpdateApplication operation on AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<CreateDeploymentConfigResult> createDeploymentConfigAsync(CreateDeploymentConfigRequest createDeploymentConfigRequest) throws AmazonServiceException, AmazonClientException
Creates a new deployment configuration.
createDeploymentConfigAsync in interface AmazonCodeDeployAsynccreateDeploymentConfigRequest - Container for the necessary
parameters to execute the CreateDeploymentConfig operation on
AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<CreateDeploymentConfigResult> createDeploymentConfigAsync(CreateDeploymentConfigRequest createDeploymentConfigRequest, AsyncHandler<CreateDeploymentConfigRequest,CreateDeploymentConfigResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new deployment configuration.
createDeploymentConfigAsync in interface AmazonCodeDeployAsynccreateDeploymentConfigRequest - Container for the necessary
parameters to execute the CreateDeploymentConfig operation on
AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<ListDeploymentInstancesResult> listDeploymentInstancesAsync(ListDeploymentInstancesRequest listDeploymentInstancesRequest) throws AmazonServiceException, AmazonClientException
Lists the Amazon EC2 instances for a deployment within the AWS user account.
listDeploymentInstancesAsync in interface AmazonCodeDeployAsynclistDeploymentInstancesRequest - Container for the necessary
parameters to execute the ListDeploymentInstances operation on
AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<ListDeploymentInstancesResult> listDeploymentInstancesAsync(ListDeploymentInstancesRequest listDeploymentInstancesRequest, AsyncHandler<ListDeploymentInstancesRequest,ListDeploymentInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the Amazon EC2 instances for a deployment within the AWS user account.
listDeploymentInstancesAsync in interface AmazonCodeDeployAsynclistDeploymentInstancesRequest - Container for the necessary
parameters to execute the ListDeploymentInstances operation on
AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest listApplicationsRequest) throws AmazonServiceException, AmazonClientException
Lists the applications registered within the AWS user account.
listApplicationsAsync in interface AmazonCodeDeployAsynclistApplicationsRequest - Container for the necessary parameters
to execute the ListApplications operation on AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest listApplicationsRequest, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the applications registered within the AWS user account.
listApplicationsAsync in interface AmazonCodeDeployAsynclistApplicationsRequest - Container for the necessary parameters
to execute the ListApplications operation on AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<Void> registerApplicationRevisionAsync(RegisterApplicationRevisionRequest registerApplicationRevisionRequest) throws AmazonServiceException, AmazonClientException
Registers with AWS CodeDeploy a revision for the specified application.
registerApplicationRevisionAsync in interface AmazonCodeDeployAsyncregisterApplicationRevisionRequest - Container for the necessary
parameters to execute the RegisterApplicationRevision operation on
AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<Void> registerApplicationRevisionAsync(RegisterApplicationRevisionRequest registerApplicationRevisionRequest, AsyncHandler<RegisterApplicationRevisionRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Registers with AWS CodeDeploy a revision for the specified application.
registerApplicationRevisionAsync in interface AmazonCodeDeployAsyncregisterApplicationRevisionRequest - Container for the necessary
parameters to execute the RegisterApplicationRevision operation on
AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<GetDeploymentConfigResult> getDeploymentConfigAsync(GetDeploymentConfigRequest getDeploymentConfigRequest) throws AmazonServiceException, AmazonClientException
Gets information about a deployment configuration.
getDeploymentConfigAsync in interface AmazonCodeDeployAsyncgetDeploymentConfigRequest - Container for the necessary
parameters to execute the GetDeploymentConfig operation on
AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<GetDeploymentConfigResult> getDeploymentConfigAsync(GetDeploymentConfigRequest getDeploymentConfigRequest, AsyncHandler<GetDeploymentConfigRequest,GetDeploymentConfigResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about a deployment configuration.
getDeploymentConfigAsync in interface AmazonCodeDeployAsyncgetDeploymentConfigRequest - Container for the necessary
parameters to execute the GetDeploymentConfig operation on
AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<ListDeploymentGroupsResult> listDeploymentGroupsAsync(ListDeploymentGroupsRequest listDeploymentGroupsRequest) throws AmazonServiceException, AmazonClientException
Lists the deployment groups for an application registered within the AWS user account.
listDeploymentGroupsAsync in interface AmazonCodeDeployAsynclistDeploymentGroupsRequest - Container for the necessary
parameters to execute the ListDeploymentGroups operation on
AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<ListDeploymentGroupsResult> listDeploymentGroupsAsync(ListDeploymentGroupsRequest listDeploymentGroupsRequest, AsyncHandler<ListDeploymentGroupsRequest,ListDeploymentGroupsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the deployment groups for an application registered within the AWS user account.
listDeploymentGroupsAsync in interface AmazonCodeDeployAsynclistDeploymentGroupsRequest - Container for the necessary
parameters to execute the ListDeploymentGroups operation on
AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<BatchGetApplicationsResult> batchGetApplicationsAsync(BatchGetApplicationsRequest batchGetApplicationsRequest) throws AmazonServiceException, AmazonClientException
Gets information about one or more applications.
batchGetApplicationsAsync in interface AmazonCodeDeployAsyncbatchGetApplicationsRequest - Container for the necessary
parameters to execute the BatchGetApplications operation on
AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<BatchGetApplicationsResult> batchGetApplicationsAsync(BatchGetApplicationsRequest batchGetApplicationsRequest, AsyncHandler<BatchGetApplicationsRequest,BatchGetApplicationsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about one or more applications.
batchGetApplicationsAsync in interface AmazonCodeDeployAsyncbatchGetApplicationsRequest - Container for the necessary
parameters to execute the BatchGetApplications operation on
AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteDeploymentGroupResult> deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest deleteDeploymentGroupRequest) throws AmazonServiceException, AmazonClientException
Deletes a deployment group.
deleteDeploymentGroupAsync in interface AmazonCodeDeployAsyncdeleteDeploymentGroupRequest - Container for the necessary
parameters to execute the DeleteDeploymentGroup operation on
AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteDeploymentGroupResult> deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest deleteDeploymentGroupRequest, AsyncHandler<DeleteDeploymentGroupRequest,DeleteDeploymentGroupResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a deployment group.
deleteDeploymentGroupAsync in interface AmazonCodeDeployAsyncdeleteDeploymentGroupRequest - Container for the necessary
parameters to execute the DeleteDeploymentGroup operation on
AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<ListApplicationRevisionsResult> listApplicationRevisionsAsync(ListApplicationRevisionsRequest listApplicationRevisionsRequest) throws AmazonServiceException, AmazonClientException
Lists information about revisions for an application.
listApplicationRevisionsAsync in interface AmazonCodeDeployAsynclistApplicationRevisionsRequest - Container for the necessary
parameters to execute the ListApplicationRevisions operation on
AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<ListApplicationRevisionsResult> listApplicationRevisionsAsync(ListApplicationRevisionsRequest listApplicationRevisionsRequest, AsyncHandler<ListApplicationRevisionsRequest,ListApplicationRevisionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists information about revisions for an application.
listApplicationRevisionsAsync in interface AmazonCodeDeployAsynclistApplicationRevisionsRequest - Container for the necessary
parameters to execute the ListApplicationRevisions operation on
AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateDeploymentGroupResult> updateDeploymentGroupAsync(UpdateDeploymentGroupRequest updateDeploymentGroupRequest) throws AmazonServiceException, AmazonClientException
Changes information about an existing deployment group.
updateDeploymentGroupAsync in interface AmazonCodeDeployAsyncupdateDeploymentGroupRequest - Container for the necessary
parameters to execute the UpdateDeploymentGroup operation on
AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateDeploymentGroupResult> updateDeploymentGroupAsync(UpdateDeploymentGroupRequest updateDeploymentGroupRequest, AsyncHandler<UpdateDeploymentGroupRequest,UpdateDeploymentGroupResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Changes information about an existing deployment group.
updateDeploymentGroupAsync in interface AmazonCodeDeployAsyncupdateDeploymentGroupRequest - Container for the necessary
parameters to execute the UpdateDeploymentGroup operation on
AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<ListDeploymentsResult> listDeploymentsAsync(ListDeploymentsRequest listDeploymentsRequest) throws AmazonServiceException, AmazonClientException
Lists the deployments under a deployment group for an application registered within the AWS user account.
listDeploymentsAsync in interface AmazonCodeDeployAsynclistDeploymentsRequest - Container for the necessary parameters
to execute the ListDeployments operation on AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<ListDeploymentsResult> listDeploymentsAsync(ListDeploymentsRequest listDeploymentsRequest, AsyncHandler<ListDeploymentsRequest,ListDeploymentsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the deployments under a deployment group for an application registered within the AWS user account.
listDeploymentsAsync in interface AmazonCodeDeployAsynclistDeploymentsRequest - Container for the necessary parameters
to execute the ListDeployments operation on AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest getApplicationRequest) throws AmazonServiceException, AmazonClientException
Gets information about an application.
getApplicationAsync in interface AmazonCodeDeployAsyncgetApplicationRequest - Container for the necessary parameters to
execute the GetApplication operation on AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest getApplicationRequest, AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about an application.
getApplicationAsync in interface AmazonCodeDeployAsyncgetApplicationRequest - Container for the necessary parameters to
execute the GetApplication operation on AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest createApplicationRequest) throws AmazonServiceException, AmazonClientException
Creates a new application.
createApplicationAsync in interface AmazonCodeDeployAsynccreateApplicationRequest - Container for the necessary parameters
to execute the CreateApplication operation on AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest createApplicationRequest, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new application.
createApplicationAsync in interface AmazonCodeDeployAsynccreateApplicationRequest - Container for the necessary parameters
to execute the CreateApplication operation on AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<StopDeploymentResult> stopDeploymentAsync(StopDeploymentRequest stopDeploymentRequest) throws AmazonServiceException, AmazonClientException
Attempts to stop an ongoing deployment.
stopDeploymentAsync in interface AmazonCodeDeployAsyncstopDeploymentRequest - Container for the necessary parameters to
execute the StopDeployment operation on AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<StopDeploymentResult> stopDeploymentAsync(StopDeploymentRequest stopDeploymentRequest, AsyncHandler<StopDeploymentRequest,StopDeploymentResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Attempts to stop an ongoing deployment.
stopDeploymentAsync in interface AmazonCodeDeployAsyncstopDeploymentRequest - Container for the necessary parameters to
execute the StopDeployment operation on AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<CreateDeploymentGroupResult> createDeploymentGroupAsync(CreateDeploymentGroupRequest createDeploymentGroupRequest) throws AmazonServiceException, AmazonClientException
Creates a new deployment group for application revisions to be deployed to.
createDeploymentGroupAsync in interface AmazonCodeDeployAsynccreateDeploymentGroupRequest - Container for the necessary
parameters to execute the CreateDeploymentGroup operation on
AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<CreateDeploymentGroupResult> createDeploymentGroupAsync(CreateDeploymentGroupRequest createDeploymentGroupRequest, AsyncHandler<CreateDeploymentGroupRequest,CreateDeploymentGroupResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new deployment group for application revisions to be deployed to.
createDeploymentGroupAsync in interface AmazonCodeDeployAsynccreateDeploymentGroupRequest - Container for the necessary
parameters to execute the CreateDeploymentGroup operation on
AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteApplicationAsync(DeleteApplicationRequest deleteApplicationRequest) throws AmazonServiceException, AmazonClientException
Deletes an application.
deleteApplicationAsync in interface AmazonCodeDeployAsyncdeleteApplicationRequest - Container for the necessary parameters
to execute the DeleteApplication operation on AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteApplicationAsync(DeleteApplicationRequest deleteApplicationRequest, AsyncHandler<DeleteApplicationRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes an application.
deleteApplicationAsync in interface AmazonCodeDeployAsyncdeleteApplicationRequest - Container for the necessary parameters
to execute the DeleteApplication operation on AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(BatchGetDeploymentsRequest batchGetDeploymentsRequest) throws AmazonServiceException, AmazonClientException
Gets information about one or more deployments.
batchGetDeploymentsAsync in interface AmazonCodeDeployAsyncbatchGetDeploymentsRequest - Container for the necessary
parameters to execute the BatchGetDeployments operation on
AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(BatchGetDeploymentsRequest batchGetDeploymentsRequest, AsyncHandler<BatchGetDeploymentsRequest,BatchGetDeploymentsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about one or more deployments.
batchGetDeploymentsAsync in interface AmazonCodeDeployAsyncbatchGetDeploymentsRequest - Container for the necessary
parameters to execute the BatchGetDeployments operation on
AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteDeploymentConfigAsync(DeleteDeploymentConfigRequest deleteDeploymentConfigRequest) throws AmazonServiceException, AmazonClientException
Deletes a deployment configuration.
NOTE:A deployment configuration cannot be deleted if it is currently in use. Also, predefined configurations cannot be deleted.
deleteDeploymentConfigAsync in interface AmazonCodeDeployAsyncdeleteDeploymentConfigRequest - Container for the necessary
parameters to execute the DeleteDeploymentConfig operation on
AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteDeploymentConfigAsync(DeleteDeploymentConfigRequest deleteDeploymentConfigRequest, AsyncHandler<DeleteDeploymentConfigRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a deployment configuration.
NOTE:A deployment configuration cannot be deleted if it is currently in use. Also, predefined configurations cannot be deleted.
deleteDeploymentConfigAsync in interface AmazonCodeDeployAsyncdeleteDeploymentConfigRequest - Container for the necessary
parameters to execute the DeleteDeploymentConfig operation on
AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest getDeploymentRequest) throws AmazonServiceException, AmazonClientException
Gets information about a deployment.
getDeploymentAsync in interface AmazonCodeDeployAsyncgetDeploymentRequest - Container for the necessary parameters to
execute the GetDeployment operation on AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest getDeploymentRequest, AsyncHandler<GetDeploymentRequest,GetDeploymentResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about a deployment.
getDeploymentAsync in interface AmazonCodeDeployAsyncgetDeploymentRequest - Container for the necessary parameters to
execute the GetDeployment operation on AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest) throws AmazonServiceException, AmazonClientException
Deploys an application revision to the specified deployment group.
createDeploymentAsync in interface AmazonCodeDeployAsynccreateDeploymentRequest - Container for the necessary parameters
to execute the CreateDeployment operation on AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest, AsyncHandler<CreateDeploymentRequest,CreateDeploymentResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deploys an application revision to the specified deployment group.
createDeploymentAsync in interface AmazonCodeDeployAsynccreateDeploymentRequest - Container for the necessary parameters
to execute the CreateDeployment operation on AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<GetDeploymentInstanceResult> getDeploymentInstanceAsync(GetDeploymentInstanceRequest getDeploymentInstanceRequest) throws AmazonServiceException, AmazonClientException
Gets information about an Amazon EC2 instance as part of a deployment.
getDeploymentInstanceAsync in interface AmazonCodeDeployAsyncgetDeploymentInstanceRequest - Container for the necessary
parameters to execute the GetDeploymentInstance operation on
AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<GetDeploymentInstanceResult> getDeploymentInstanceAsync(GetDeploymentInstanceRequest getDeploymentInstanceRequest, AsyncHandler<GetDeploymentInstanceRequest,GetDeploymentInstanceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about an Amazon EC2 instance as part of a deployment.
getDeploymentInstanceAsync in interface AmazonCodeDeployAsyncgetDeploymentInstanceRequest - Container for the necessary
parameters to execute the GetDeploymentInstance operation on
AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(ListDeploymentConfigsRequest listDeploymentConfigsRequest) throws AmazonServiceException, AmazonClientException
Lists the deployment configurations within the AWS user account.
listDeploymentConfigsAsync in interface AmazonCodeDeployAsynclistDeploymentConfigsRequest - Container for the necessary
parameters to execute the ListDeploymentConfigs operation on
AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(ListDeploymentConfigsRequest listDeploymentConfigsRequest, AsyncHandler<ListDeploymentConfigsRequest,ListDeploymentConfigsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the deployment configurations within the AWS user account.
listDeploymentConfigsAsync in interface AmazonCodeDeployAsynclistDeploymentConfigsRequest - Container for the necessary
parameters to execute the ListDeploymentConfigs operation on
AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<GetApplicationRevisionResult> getApplicationRevisionAsync(GetApplicationRevisionRequest getApplicationRevisionRequest) throws AmazonServiceException, AmazonClientException
Gets information about an application revision.
getApplicationRevisionAsync in interface AmazonCodeDeployAsyncgetApplicationRevisionRequest - Container for the necessary
parameters to execute the GetApplicationRevision operation on
AmazonCodeDeploy.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.public Future<GetApplicationRevisionResult> getApplicationRevisionAsync(GetApplicationRevisionRequest getApplicationRevisionRequest, AsyncHandler<GetApplicationRevisionRequest,GetApplicationRevisionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about an application revision.
getApplicationRevisionAsync in interface AmazonCodeDeployAsyncgetApplicationRevisionRequest - Container for the necessary
parameters to execute the GetApplicationRevision operation on
AmazonCodeDeploy.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCodeDeploy indicating
either a problem with the data in the request, or a server side issue.Copyright © 2015. All rights reserved.