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 are unique identifiers that AWS CodeDeploy uses to ensure that the correct combinations of revisions, deployment configurations, and deployment groups are being referenced during deployments.
You can use the AWS CodeDeploy APIs to create, delete, get, list, and update applications.
Deployment configurations are sets of deployment rules and deployment success and failure conditions that AWS CodeDeploy uses during deployments.
You can use the AWS CodeDeploy APIs to create, delete, get, and list deployment configurations.
Deployment groups are groups of instances to which application revisions can be deployed.
You can use the AWS CodeDeploy APIs to create, delete, get, list, and update deployment groups.
Instances represent Amazon EC2 instances to which application revisions are deployed. Instances are identified by their Amazon EC2 tags or Auto Scaling group names. Instances belong to deployment groups.
You can use the AWS CodeDeploy APIs to get and list instances.
Deployments represent the process of deploying revisions to instances.
You can use the AWS CodeDeploy APIs to create, get, list, and stop deployments.
Application revisions are archive files that are stored in Amazon S3 buckets or GitHub repositories. These revisions contain source content (such as source code, web pages, executable files, any deployment scripts, and similar) along with an Application Specification file (AppSpec file). (The AppSpec file is unique to AWS CodeDeploy; it defines a series of deployment actions that you want AWS CodeDeploy to execute.) An application revision is uniquely identified by its Amazon S3 object key and its ETag, version, or both (for application revisions that are stored in Amazon S3 buckets) or by its repository name and commit ID (for applications revisions that are stored in GitHub repositories). Application revisions are deployed through deployment groups.
You can use the AWS CodeDeploy APIs to get, list, and register application revisions.
jsonErrorUnmarshallers
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
Constructor and Description |
---|
AmazonCodeDeployAsyncClient()
Constructs a new asynchronous client to invoke service methods on
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.
|
addTagsToOnPremisesInstances, batchGetApplications, batchGetApplications, batchGetDeployments, batchGetDeployments, batchGetOnPremisesInstances, batchGetOnPremisesInstances, createApplication, createDeployment, createDeploymentConfig, createDeploymentGroup, deleteApplication, deleteDeploymentConfig, deleteDeploymentGroup, deregisterOnPremisesInstance, getApplication, getApplicationRevision, getCachedResponseMetadata, getDeployment, getDeploymentConfig, getDeploymentGroup, getDeploymentInstance, getOnPremisesInstance, listApplicationRevisions, listApplications, listApplications, listDeploymentConfigs, listDeploymentConfigs, listDeploymentGroups, listDeploymentInstances, listDeployments, listDeployments, listOnPremisesInstances, listOnPremisesInstances, registerApplicationRevision, registerOnPremisesInstance, removeTagsFromOnPremisesInstances, setEndpoint, setEndpoint, stopDeployment, updateApplication, updateApplication, updateDeploymentGroup
addRequestHandler, addRequestHandler, beforeMarshalling, configSigner, configSigner, configureRegion, 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, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTagsToOnPremisesInstances, batchGetApplications, batchGetApplications, batchGetDeployments, batchGetDeployments, batchGetOnPremisesInstances, batchGetOnPremisesInstances, createApplication, createDeployment, createDeploymentConfig, createDeploymentGroup, deleteApplication, deleteDeploymentConfig, deleteDeploymentGroup, deregisterOnPremisesInstance, getApplication, getApplicationRevision, getCachedResponseMetadata, getDeployment, getDeploymentConfig, getDeploymentGroup, getDeploymentInstance, getOnPremisesInstance, listApplicationRevisions, listApplications, listApplications, listDeploymentConfigs, listDeploymentConfigs, listDeploymentGroups, listDeploymentInstances, listDeployments, listDeployments, listOnPremisesInstances, listOnPremisesInstances, registerApplicationRevision, registerOnPremisesInstance, removeTagsFromOnPremisesInstances, setEndpoint, setRegion, stopDeployment, updateApplication, updateApplication, updateDeploymentGroup
public AmazonCodeDeployAsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
public 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.).DefaultAWSCredentialsProviderChain
public 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 AmazonCodeDeploy
shutdown
in class AmazonWebServiceClient
public Future<Void> deregisterOnPremisesInstanceAsync(DeregisterOnPremisesInstanceRequest deregisterOnPremisesInstanceRequest) throws AmazonServiceException, AmazonClientException
Deregisters an on-premises instance.
deregisterOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
deregisterOnPremisesInstanceRequest
- Container for the necessary
parameters to execute the DeregisterOnPremisesInstance 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> deregisterOnPremisesInstanceAsync(DeregisterOnPremisesInstanceRequest deregisterOnPremisesInstanceRequest, AsyncHandler<DeregisterOnPremisesInstanceRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deregisters an on-premises instance.
deregisterOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
deregisterOnPremisesInstanceRequest
- Container for the necessary
parameters to execute the DeregisterOnPremisesInstance 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 AmazonCodeDeployAsync
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.public Future<Void> updateApplicationAsync(UpdateApplicationRequest updateApplicationRequest, AsyncHandler<UpdateApplicationRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Changes an existing application's name.
updateApplicationAsync
in interface AmazonCodeDeployAsync
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.public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest listApplicationsRequest) throws AmazonServiceException, AmazonClientException
Lists the applications registered with the applicable IAM user or AWS account.
listApplicationsAsync
in interface AmazonCodeDeployAsync
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.public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest listApplicationsRequest, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the applications registered with the applicable IAM user or AWS account.
listApplicationsAsync
in interface AmazonCodeDeployAsync
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.public Future<DeleteDeploymentGroupResult> deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest deleteDeploymentGroupRequest) throws AmazonServiceException, AmazonClientException
Deletes a deployment group.
deleteDeploymentGroupAsync
in interface AmazonCodeDeployAsync
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.public Future<DeleteDeploymentGroupResult> deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest deleteDeploymentGroupRequest, AsyncHandler<DeleteDeploymentGroupRequest,DeleteDeploymentGroupResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a deployment group.
deleteDeploymentGroupAsync
in interface AmazonCodeDeployAsync
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.public Future<Void> addTagsToOnPremisesInstancesAsync(AddTagsToOnPremisesInstancesRequest addTagsToOnPremisesInstancesRequest) throws AmazonServiceException, AmazonClientException
Adds a tag to an on-premises instance.
addTagsToOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
addTagsToOnPremisesInstancesRequest
- Container for the necessary
parameters to execute the AddTagsToOnPremisesInstances 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> addTagsToOnPremisesInstancesAsync(AddTagsToOnPremisesInstancesRequest addTagsToOnPremisesInstancesRequest, AsyncHandler<AddTagsToOnPremisesInstancesRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Adds a tag to an on-premises instance.
addTagsToOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
addTagsToOnPremisesInstancesRequest
- Container for the necessary
parameters to execute the AddTagsToOnPremisesInstances 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 within a deployment group for an application registered with the applicable IAM user or AWS account.
listDeploymentsAsync
in interface AmazonCodeDeployAsync
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.public Future<ListDeploymentsResult> listDeploymentsAsync(ListDeploymentsRequest listDeploymentsRequest, AsyncHandler<ListDeploymentsRequest,ListDeploymentsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the deployments within a deployment group for an application registered with the applicable IAM user or AWS account.
listDeploymentsAsync
in interface AmazonCodeDeployAsync
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.public Future<StopDeploymentResult> stopDeploymentAsync(StopDeploymentRequest stopDeploymentRequest) throws AmazonServiceException, AmazonClientException
Attempts to stop an ongoing deployment.
stopDeploymentAsync
in interface AmazonCodeDeployAsync
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.public Future<StopDeploymentResult> stopDeploymentAsync(StopDeploymentRequest stopDeploymentRequest, AsyncHandler<StopDeploymentRequest,StopDeploymentResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Attempts to stop an ongoing deployment.
stopDeploymentAsync
in interface AmazonCodeDeployAsync
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.public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest createApplicationRequest) throws AmazonServiceException, AmazonClientException
Creates a new application.
createApplicationAsync
in interface AmazonCodeDeployAsync
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.public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest createApplicationRequest, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new application.
createApplicationAsync
in interface AmazonCodeDeployAsync
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.public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest getApplicationRequest) throws AmazonServiceException, AmazonClientException
Gets information about an application.
getApplicationAsync
in interface AmazonCodeDeployAsync
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.public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest getApplicationRequest, AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about an application.
getApplicationAsync
in interface AmazonCodeDeployAsync
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.public Future<CreateDeploymentGroupResult> createDeploymentGroupAsync(CreateDeploymentGroupRequest createDeploymentGroupRequest) throws AmazonServiceException, AmazonClientException
Creates a new deployment group for application revisions to be deployed to.
createDeploymentGroupAsync
in interface AmazonCodeDeployAsync
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.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 AmazonCodeDeployAsync
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.public Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest batchGetOnPremisesInstancesRequest) throws AmazonServiceException, AmazonClientException
Gets information about one or more on-premises instances.
batchGetOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
batchGetOnPremisesInstancesRequest
- Container for the necessary
parameters to execute the BatchGetOnPremisesInstances 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<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest batchGetOnPremisesInstancesRequest, AsyncHandler<BatchGetOnPremisesInstancesRequest,BatchGetOnPremisesInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about one or more on-premises instances.
batchGetOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
batchGetOnPremisesInstancesRequest
- Container for the necessary
parameters to execute the BatchGetOnPremisesInstances 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 AmazonCodeDeployAsync
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.public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(BatchGetDeploymentsRequest batchGetDeploymentsRequest, AsyncHandler<BatchGetDeploymentsRequest,BatchGetDeploymentsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about one or more deployments.
batchGetDeploymentsAsync
in interface AmazonCodeDeployAsync
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.public Future<GetDeploymentInstanceResult> getDeploymentInstanceAsync(GetDeploymentInstanceRequest getDeploymentInstanceRequest) throws AmazonServiceException, AmazonClientException
Gets information about an instance as part of a deployment.
getDeploymentInstanceAsync
in interface AmazonCodeDeployAsync
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.public Future<GetDeploymentInstanceResult> getDeploymentInstanceAsync(GetDeploymentInstanceRequest getDeploymentInstanceRequest, AsyncHandler<GetDeploymentInstanceRequest,GetDeploymentInstanceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about an instance as part of a deployment.
getDeploymentInstanceAsync
in interface AmazonCodeDeployAsync
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.public Future<GetApplicationRevisionResult> getApplicationRevisionAsync(GetApplicationRevisionRequest getApplicationRevisionRequest) throws AmazonServiceException, AmazonClientException
Gets information about an application revision.
getApplicationRevisionAsync
in interface AmazonCodeDeployAsync
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.public Future<GetApplicationRevisionResult> getApplicationRevisionAsync(GetApplicationRevisionRequest getApplicationRevisionRequest, AsyncHandler<GetApplicationRevisionRequest,GetApplicationRevisionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about an application revision.
getApplicationRevisionAsync
in interface AmazonCodeDeployAsync
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.public Future<Void> registerOnPremisesInstanceAsync(RegisterOnPremisesInstanceRequest registerOnPremisesInstanceRequest) throws AmazonServiceException, AmazonClientException
Registers an on-premises instance.
registerOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
registerOnPremisesInstanceRequest
- Container for the necessary
parameters to execute the RegisterOnPremisesInstance 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> registerOnPremisesInstanceAsync(RegisterOnPremisesInstanceRequest registerOnPremisesInstanceRequest, AsyncHandler<RegisterOnPremisesInstanceRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Registers an on-premises instance.
registerOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
registerOnPremisesInstanceRequest
- Container for the necessary
parameters to execute the RegisterOnPremisesInstance 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<GetDeploymentGroupResult> getDeploymentGroupAsync(GetDeploymentGroupRequest getDeploymentGroupRequest) throws AmazonServiceException, AmazonClientException
Gets information about a deployment group.
getDeploymentGroupAsync
in interface AmazonCodeDeployAsync
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.public Future<GetDeploymentGroupResult> getDeploymentGroupAsync(GetDeploymentGroupRequest getDeploymentGroupRequest, AsyncHandler<GetDeploymentGroupRequest,GetDeploymentGroupResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about a deployment group.
getDeploymentGroupAsync
in interface AmazonCodeDeployAsync
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.public Future<CreateDeploymentConfigResult> createDeploymentConfigAsync(CreateDeploymentConfigRequest createDeploymentConfigRequest) throws AmazonServiceException, AmazonClientException
Creates a new deployment configuration.
createDeploymentConfigAsync
in interface AmazonCodeDeployAsync
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.public Future<CreateDeploymentConfigResult> createDeploymentConfigAsync(CreateDeploymentConfigRequest createDeploymentConfigRequest, AsyncHandler<CreateDeploymentConfigRequest,CreateDeploymentConfigResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new deployment configuration.
createDeploymentConfigAsync
in interface AmazonCodeDeployAsync
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.public Future<ListDeploymentInstancesResult> listDeploymentInstancesAsync(ListDeploymentInstancesRequest listDeploymentInstancesRequest) throws AmazonServiceException, AmazonClientException
Lists the instances for a deployment associated with the applicable IAM user or AWS account.
listDeploymentInstancesAsync
in interface AmazonCodeDeployAsync
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.public Future<ListDeploymentInstancesResult> listDeploymentInstancesAsync(ListDeploymentInstancesRequest listDeploymentInstancesRequest, AsyncHandler<ListDeploymentInstancesRequest,ListDeploymentInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the instances for a deployment associated with the applicable IAM user or AWS account.
listDeploymentInstancesAsync
in interface AmazonCodeDeployAsync
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.public Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest listOnPremisesInstancesRequest) throws AmazonServiceException, AmazonClientException
Gets a list of one or more on-premises instance names.
Unless otherwise specified, both registered and deregistered on-premises instance names will be listed. To list only registered or deregistered on-premises instance names, use the registration status parameter.
listOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
listOnPremisesInstancesRequest
- Container for the necessary
parameters to execute the ListOnPremisesInstances 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<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest listOnPremisesInstancesRequest, AsyncHandler<ListOnPremisesInstancesRequest,ListOnPremisesInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets a list of one or more on-premises instance names.
Unless otherwise specified, both registered and deregistered on-premises instance names will be listed. To list only registered or deregistered on-premises instance names, use the registration status parameter.
listOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
listOnPremisesInstancesRequest
- Container for the necessary
parameters to execute the ListOnPremisesInstances 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 with the applicable IAM user or AWS account.
listDeploymentGroupsAsync
in interface AmazonCodeDeployAsync
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.public Future<ListDeploymentGroupsResult> listDeploymentGroupsAsync(ListDeploymentGroupsRequest listDeploymentGroupsRequest, AsyncHandler<ListDeploymentGroupsRequest,ListDeploymentGroupsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
listDeploymentGroupsAsync
in interface AmazonCodeDeployAsync
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.public Future<GetDeploymentConfigResult> getDeploymentConfigAsync(GetDeploymentConfigRequest getDeploymentConfigRequest) throws AmazonServiceException, AmazonClientException
Gets information about a deployment configuration.
getDeploymentConfigAsync
in interface AmazonCodeDeployAsync
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.public Future<GetDeploymentConfigResult> getDeploymentConfigAsync(GetDeploymentConfigRequest getDeploymentConfigRequest, AsyncHandler<GetDeploymentConfigRequest,GetDeploymentConfigResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about a deployment configuration.
getDeploymentConfigAsync
in interface AmazonCodeDeployAsync
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.public Future<Void> registerApplicationRevisionAsync(RegisterApplicationRevisionRequest registerApplicationRevisionRequest) throws AmazonServiceException, AmazonClientException
Registers with AWS CodeDeploy a revision for the specified application.
registerApplicationRevisionAsync
in interface AmazonCodeDeployAsync
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.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 AmazonCodeDeployAsync
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.public Future<BatchGetApplicationsResult> batchGetApplicationsAsync(BatchGetApplicationsRequest batchGetApplicationsRequest) throws AmazonServiceException, AmazonClientException
Gets information about one or more applications.
batchGetApplicationsAsync
in interface AmazonCodeDeployAsync
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.public Future<BatchGetApplicationsResult> batchGetApplicationsAsync(BatchGetApplicationsRequest batchGetApplicationsRequest, AsyncHandler<BatchGetApplicationsRequest,BatchGetApplicationsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about one or more applications.
batchGetApplicationsAsync
in interface AmazonCodeDeployAsync
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.public Future<GetOnPremisesInstanceResult> getOnPremisesInstanceAsync(GetOnPremisesInstanceRequest getOnPremisesInstanceRequest) throws AmazonServiceException, AmazonClientException
Gets information about an on-premises instance.
getOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
getOnPremisesInstanceRequest
- Container for the necessary
parameters to execute the GetOnPremisesInstance 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<GetOnPremisesInstanceResult> getOnPremisesInstanceAsync(GetOnPremisesInstanceRequest getOnPremisesInstanceRequest, AsyncHandler<GetOnPremisesInstanceRequest,GetOnPremisesInstanceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about an on-premises instance.
getOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
getOnPremisesInstanceRequest
- Container for the necessary
parameters to execute the GetOnPremisesInstance 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 AmazonCodeDeployAsync
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.public Future<ListApplicationRevisionsResult> listApplicationRevisionsAsync(ListApplicationRevisionsRequest listApplicationRevisionsRequest, AsyncHandler<ListApplicationRevisionsRequest,ListApplicationRevisionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists information about revisions for an application.
listApplicationRevisionsAsync
in interface AmazonCodeDeployAsync
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.public Future<UpdateDeploymentGroupResult> updateDeploymentGroupAsync(UpdateDeploymentGroupRequest updateDeploymentGroupRequest) throws AmazonServiceException, AmazonClientException
Changes information about an existing deployment group.
updateDeploymentGroupAsync
in interface AmazonCodeDeployAsync
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.public Future<UpdateDeploymentGroupResult> updateDeploymentGroupAsync(UpdateDeploymentGroupRequest updateDeploymentGroupRequest, AsyncHandler<UpdateDeploymentGroupRequest,UpdateDeploymentGroupResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Changes information about an existing deployment group.
updateDeploymentGroupAsync
in interface AmazonCodeDeployAsync
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.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 AmazonCodeDeployAsync
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.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 AmazonCodeDeployAsync
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.public Future<Void> deleteApplicationAsync(DeleteApplicationRequest deleteApplicationRequest) throws AmazonServiceException, AmazonClientException
Deletes an application.
deleteApplicationAsync
in interface AmazonCodeDeployAsync
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.public Future<Void> deleteApplicationAsync(DeleteApplicationRequest deleteApplicationRequest, AsyncHandler<DeleteApplicationRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes an application.
deleteApplicationAsync
in interface AmazonCodeDeployAsync
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.public Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest getDeploymentRequest) throws AmazonServiceException, AmazonClientException
Gets information about a deployment.
getDeploymentAsync
in interface AmazonCodeDeployAsync
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.public Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest getDeploymentRequest, AsyncHandler<GetDeploymentRequest,GetDeploymentResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about a deployment.
getDeploymentAsync
in interface AmazonCodeDeployAsync
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.public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest) throws AmazonServiceException, AmazonClientException
Deploys an application revision through the specified deployment group.
createDeploymentAsync
in interface AmazonCodeDeployAsync
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.public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest, AsyncHandler<CreateDeploymentRequest,CreateDeploymentResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deploys an application revision through the specified deployment group.
createDeploymentAsync
in interface AmazonCodeDeployAsync
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.public Future<Void> removeTagsFromOnPremisesInstancesAsync(RemoveTagsFromOnPremisesInstancesRequest removeTagsFromOnPremisesInstancesRequest) throws AmazonServiceException, AmazonClientException
Removes one or more tags from one or more on-premises instances.
removeTagsFromOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
removeTagsFromOnPremisesInstancesRequest
- Container for the
necessary parameters to execute the RemoveTagsFromOnPremisesInstances
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> removeTagsFromOnPremisesInstancesAsync(RemoveTagsFromOnPremisesInstancesRequest removeTagsFromOnPremisesInstancesRequest, AsyncHandler<RemoveTagsFromOnPremisesInstancesRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Removes one or more tags from one or more on-premises instances.
removeTagsFromOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
removeTagsFromOnPremisesInstancesRequest
- Container for the
necessary parameters to execute the RemoveTagsFromOnPremisesInstances
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 with the applicable IAM user or AWS account.
listDeploymentConfigsAsync
in interface AmazonCodeDeployAsync
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.public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(ListDeploymentConfigsRequest listDeploymentConfigsRequest, AsyncHandler<ListDeploymentConfigsRequest,ListDeploymentConfigsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the deployment configurations with the applicable IAM user or AWS account.
listDeploymentConfigsAsync
in interface AmazonCodeDeployAsync
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.Copyright © 2015. All rights reserved.