public interface AmazonCodeDeployAsync extends AmazonCodeDeploy
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.
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, setRegion, shutdown, stopDeployment, updateApplication, updateApplication, updateDeploymentGroup
Future<GetDeploymentGroupResult> getDeploymentGroupAsync(GetDeploymentGroupRequest getDeploymentGroupRequest) throws AmazonServiceException, AmazonClientException
Gets information about a deployment group.
getDeploymentGroupRequest
- 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.Future<GetDeploymentGroupResult> getDeploymentGroupAsync(GetDeploymentGroupRequest getDeploymentGroupRequest, AsyncHandler<GetDeploymentGroupRequest,GetDeploymentGroupResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about a deployment group.
getDeploymentGroupRequest
- 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.Future<Void> updateApplicationAsync(UpdateApplicationRequest updateApplicationRequest) throws AmazonServiceException, AmazonClientException
Changes an existing application's name.
updateApplicationRequest
- 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.Future<Void> updateApplicationAsync(UpdateApplicationRequest updateApplicationRequest, AsyncHandler<UpdateApplicationRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Changes an existing application's name.
updateApplicationRequest
- 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.Future<CreateDeploymentConfigResult> createDeploymentConfigAsync(CreateDeploymentConfigRequest createDeploymentConfigRequest) throws AmazonServiceException, AmazonClientException
Creates a new deployment configuration.
createDeploymentConfigRequest
- 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.Future<CreateDeploymentConfigResult> createDeploymentConfigAsync(CreateDeploymentConfigRequest createDeploymentConfigRequest, AsyncHandler<CreateDeploymentConfigRequest,CreateDeploymentConfigResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new deployment configuration.
createDeploymentConfigRequest
- 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.Future<ListDeploymentInstancesResult> listDeploymentInstancesAsync(ListDeploymentInstancesRequest listDeploymentInstancesRequest) throws AmazonServiceException, AmazonClientException
Lists the Amazon EC2 instances for a deployment within the AWS user account.
listDeploymentInstancesRequest
- 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.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.
listDeploymentInstancesRequest
- 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.Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest listApplicationsRequest) throws AmazonServiceException, AmazonClientException
Lists the applications registered within the AWS user account.
listApplicationsRequest
- 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.Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest listApplicationsRequest, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the applications registered within the AWS user account.
listApplicationsRequest
- 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.Future<Void> registerApplicationRevisionAsync(RegisterApplicationRevisionRequest registerApplicationRevisionRequest) throws AmazonServiceException, AmazonClientException
Registers with AWS CodeDeploy a revision for the specified application.
registerApplicationRevisionRequest
- 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.Future<Void> registerApplicationRevisionAsync(RegisterApplicationRevisionRequest registerApplicationRevisionRequest, AsyncHandler<RegisterApplicationRevisionRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Registers with AWS CodeDeploy a revision for the specified application.
registerApplicationRevisionRequest
- 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.Future<GetDeploymentConfigResult> getDeploymentConfigAsync(GetDeploymentConfigRequest getDeploymentConfigRequest) throws AmazonServiceException, AmazonClientException
Gets information about a deployment configuration.
getDeploymentConfigRequest
- 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.Future<GetDeploymentConfigResult> getDeploymentConfigAsync(GetDeploymentConfigRequest getDeploymentConfigRequest, AsyncHandler<GetDeploymentConfigRequest,GetDeploymentConfigResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about a deployment configuration.
getDeploymentConfigRequest
- 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.Future<ListDeploymentGroupsResult> listDeploymentGroupsAsync(ListDeploymentGroupsRequest listDeploymentGroupsRequest) throws AmazonServiceException, AmazonClientException
Lists the deployment groups for an application registered within the AWS user account.
listDeploymentGroupsRequest
- 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.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.
listDeploymentGroupsRequest
- 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.Future<BatchGetApplicationsResult> batchGetApplicationsAsync(BatchGetApplicationsRequest batchGetApplicationsRequest) throws AmazonServiceException, AmazonClientException
Gets information about one or more applications.
batchGetApplicationsRequest
- 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.Future<BatchGetApplicationsResult> batchGetApplicationsAsync(BatchGetApplicationsRequest batchGetApplicationsRequest, AsyncHandler<BatchGetApplicationsRequest,BatchGetApplicationsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about one or more applications.
batchGetApplicationsRequest
- 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.Future<DeleteDeploymentGroupResult> deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest deleteDeploymentGroupRequest) throws AmazonServiceException, AmazonClientException
Deletes a deployment group.
deleteDeploymentGroupRequest
- 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.Future<DeleteDeploymentGroupResult> deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest deleteDeploymentGroupRequest, AsyncHandler<DeleteDeploymentGroupRequest,DeleteDeploymentGroupResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a deployment group.
deleteDeploymentGroupRequest
- 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.Future<ListApplicationRevisionsResult> listApplicationRevisionsAsync(ListApplicationRevisionsRequest listApplicationRevisionsRequest) throws AmazonServiceException, AmazonClientException
Lists information about revisions for an application.
listApplicationRevisionsRequest
- 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.Future<ListApplicationRevisionsResult> listApplicationRevisionsAsync(ListApplicationRevisionsRequest listApplicationRevisionsRequest, AsyncHandler<ListApplicationRevisionsRequest,ListApplicationRevisionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists information about revisions for an application.
listApplicationRevisionsRequest
- 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.Future<UpdateDeploymentGroupResult> updateDeploymentGroupAsync(UpdateDeploymentGroupRequest updateDeploymentGroupRequest) throws AmazonServiceException, AmazonClientException
Changes information about an existing deployment group.
updateDeploymentGroupRequest
- 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.Future<UpdateDeploymentGroupResult> updateDeploymentGroupAsync(UpdateDeploymentGroupRequest updateDeploymentGroupRequest, AsyncHandler<UpdateDeploymentGroupRequest,UpdateDeploymentGroupResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Changes information about an existing deployment group.
updateDeploymentGroupRequest
- 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.Future<ListDeploymentsResult> listDeploymentsAsync(ListDeploymentsRequest listDeploymentsRequest) throws AmazonServiceException, AmazonClientException
Lists the deployments under a deployment group for an application registered within the AWS user account.
listDeploymentsRequest
- 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.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.
listDeploymentsRequest
- 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.Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest getApplicationRequest) throws AmazonServiceException, AmazonClientException
Gets information about an application.
getApplicationRequest
- 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.Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest getApplicationRequest, AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about an application.
getApplicationRequest
- 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.Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest createApplicationRequest) throws AmazonServiceException, AmazonClientException
Creates a new application.
createApplicationRequest
- 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.Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest createApplicationRequest, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new application.
createApplicationRequest
- 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.Future<StopDeploymentResult> stopDeploymentAsync(StopDeploymentRequest stopDeploymentRequest) throws AmazonServiceException, AmazonClientException
Attempts to stop an ongoing deployment.
stopDeploymentRequest
- 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.Future<StopDeploymentResult> stopDeploymentAsync(StopDeploymentRequest stopDeploymentRequest, AsyncHandler<StopDeploymentRequest,StopDeploymentResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Attempts to stop an ongoing deployment.
stopDeploymentRequest
- 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.Future<CreateDeploymentGroupResult> createDeploymentGroupAsync(CreateDeploymentGroupRequest createDeploymentGroupRequest) throws AmazonServiceException, AmazonClientException
Creates a new deployment group for application revisions to be deployed to.
createDeploymentGroupRequest
- 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.Future<CreateDeploymentGroupResult> createDeploymentGroupAsync(CreateDeploymentGroupRequest createDeploymentGroupRequest, AsyncHandler<CreateDeploymentGroupRequest,CreateDeploymentGroupResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new deployment group for application revisions to be deployed to.
createDeploymentGroupRequest
- 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.Future<Void> deleteApplicationAsync(DeleteApplicationRequest deleteApplicationRequest) throws AmazonServiceException, AmazonClientException
Deletes an application.
deleteApplicationRequest
- 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.Future<Void> deleteApplicationAsync(DeleteApplicationRequest deleteApplicationRequest, AsyncHandler<DeleteApplicationRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes an application.
deleteApplicationRequest
- 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.Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(BatchGetDeploymentsRequest batchGetDeploymentsRequest) throws AmazonServiceException, AmazonClientException
Gets information about one or more deployments.
batchGetDeploymentsRequest
- 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.Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(BatchGetDeploymentsRequest batchGetDeploymentsRequest, AsyncHandler<BatchGetDeploymentsRequest,BatchGetDeploymentsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about one or more deployments.
batchGetDeploymentsRequest
- 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.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.
deleteDeploymentConfigRequest
- 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.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.
deleteDeploymentConfigRequest
- 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.Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest getDeploymentRequest) throws AmazonServiceException, AmazonClientException
Gets information about a deployment.
getDeploymentRequest
- 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.Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest getDeploymentRequest, AsyncHandler<GetDeploymentRequest,GetDeploymentResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about a deployment.
getDeploymentRequest
- 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.Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest) throws AmazonServiceException, AmazonClientException
Deploys an application revision to the specified deployment group.
createDeploymentRequest
- 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.Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest, AsyncHandler<CreateDeploymentRequest,CreateDeploymentResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deploys an application revision to the specified deployment group.
createDeploymentRequest
- 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.Future<GetDeploymentInstanceResult> getDeploymentInstanceAsync(GetDeploymentInstanceRequest getDeploymentInstanceRequest) throws AmazonServiceException, AmazonClientException
Gets information about an Amazon EC2 instance as part of a deployment.
getDeploymentInstanceRequest
- 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.Future<GetDeploymentInstanceResult> getDeploymentInstanceAsync(GetDeploymentInstanceRequest getDeploymentInstanceRequest, AsyncHandler<GetDeploymentInstanceRequest,GetDeploymentInstanceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about an Amazon EC2 instance as part of a deployment.
getDeploymentInstanceRequest
- 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.Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(ListDeploymentConfigsRequest listDeploymentConfigsRequest) throws AmazonServiceException, AmazonClientException
Lists the deployment configurations within the AWS user account.
listDeploymentConfigsRequest
- 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.Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(ListDeploymentConfigsRequest listDeploymentConfigsRequest, AsyncHandler<ListDeploymentConfigsRequest,ListDeploymentConfigsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the deployment configurations within the AWS user account.
listDeploymentConfigsRequest
- 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.Future<GetApplicationRevisionResult> getApplicationRevisionAsync(GetApplicationRevisionRequest getApplicationRevisionRequest) throws AmazonServiceException, AmazonClientException
Gets information about an application revision.
getApplicationRevisionRequest
- 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.Future<GetApplicationRevisionResult> getApplicationRevisionAsync(GetApplicationRevisionRequest getApplicationRevisionRequest, AsyncHandler<GetApplicationRevisionRequest,GetApplicationRevisionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about an application revision.
getApplicationRevisionRequest
- 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.