@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonCodeDeployAsync extends AbstractAmazonCodeDeploy implements AmazonCodeDeployAsync
AmazonCodeDeployAsync
. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
addTagsToOnPremisesInstances, batchGetApplicationRevisions, batchGetApplications, batchGetApplications, batchGetDeploymentGroups, batchGetDeploymentInstances, batchGetDeployments, batchGetDeployments, batchGetDeploymentTargets, batchGetOnPremisesInstances, batchGetOnPremisesInstances, continueDeployment, createApplication, createDeployment, createDeploymentConfig, createDeploymentGroup, deleteApplication, deleteDeploymentConfig, deleteDeploymentGroup, deleteGitHubAccountToken, deleteResourcesByExternalId, deregisterOnPremisesInstance, getApplication, getApplicationRevision, getCachedResponseMetadata, getDeployment, getDeploymentConfig, getDeploymentGroup, getDeploymentInstance, getDeploymentTarget, getOnPremisesInstance, listApplicationRevisions, listApplications, listApplications, listDeploymentConfigs, listDeploymentConfigs, listDeploymentGroups, listDeploymentInstances, listDeployments, listDeployments, listDeploymentTargets, listGitHubAccountTokenNames, listOnPremisesInstances, listOnPremisesInstances, listTagsForResource, putLifecycleEventHookExecutionStatus, registerApplicationRevision, registerOnPremisesInstance, removeTagsFromOnPremisesInstances, setEndpoint, setRegion, shutdown, skipWaitTimeForInstanceTermination, stopDeployment, tagResource, untagResource, updateApplication, updateApplication, updateDeploymentGroup, waiters
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTagsToOnPremisesInstances, batchGetApplicationRevisions, batchGetApplications, batchGetApplications, batchGetDeploymentGroups, batchGetDeploymentInstances, batchGetDeployments, batchGetDeployments, batchGetDeploymentTargets, batchGetOnPremisesInstances, batchGetOnPremisesInstances, continueDeployment, createApplication, createDeployment, createDeploymentConfig, createDeploymentGroup, deleteApplication, deleteDeploymentConfig, deleteDeploymentGroup, deleteGitHubAccountToken, deleteResourcesByExternalId, deregisterOnPremisesInstance, getApplication, getApplicationRevision, getCachedResponseMetadata, getDeployment, getDeploymentConfig, getDeploymentGroup, getDeploymentInstance, getDeploymentTarget, getOnPremisesInstance, listApplicationRevisions, listApplications, listApplications, listDeploymentConfigs, listDeploymentConfigs, listDeploymentGroups, listDeploymentInstances, listDeployments, listDeployments, listDeploymentTargets, listGitHubAccountTokenNames, listOnPremisesInstances, listOnPremisesInstances, listTagsForResource, putLifecycleEventHookExecutionStatus, registerApplicationRevision, registerOnPremisesInstance, removeTagsFromOnPremisesInstances, setEndpoint, setRegion, shutdown, skipWaitTimeForInstanceTermination, stopDeployment, tagResource, untagResource, updateApplication, updateApplication, updateDeploymentGroup, waiters
public Future<AddTagsToOnPremisesInstancesResult> addTagsToOnPremisesInstancesAsync(AddTagsToOnPremisesInstancesRequest request)
AmazonCodeDeployAsync
Adds tags to on-premises instances.
addTagsToOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of, and adds tags to, an on-premises instance operation.public Future<AddTagsToOnPremisesInstancesResult> addTagsToOnPremisesInstancesAsync(AddTagsToOnPremisesInstancesRequest request, AsyncHandler<AddTagsToOnPremisesInstancesRequest,AddTagsToOnPremisesInstancesResult> asyncHandler)
AmazonCodeDeployAsync
Adds tags to on-premises instances.
addTagsToOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of, and adds tags to, an on-premises instance operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchGetApplicationRevisionsResult> batchGetApplicationRevisionsAsync(BatchGetApplicationRevisionsRequest request)
AmazonCodeDeployAsync
Gets information about one or more application revisions. The maximum number of application revisions that can be returned is 25.
batchGetApplicationRevisionsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a BatchGetApplicationRevisions
operation.public Future<BatchGetApplicationRevisionsResult> batchGetApplicationRevisionsAsync(BatchGetApplicationRevisionsRequest request, AsyncHandler<BatchGetApplicationRevisionsRequest,BatchGetApplicationRevisionsResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about one or more application revisions. The maximum number of application revisions that can be returned is 25.
batchGetApplicationRevisionsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a BatchGetApplicationRevisions
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchGetApplicationsResult> batchGetApplicationsAsync(BatchGetApplicationsRequest request)
AmazonCodeDeployAsync
Gets information about one or more applications. The maximum number of applications that can be returned is 100.
batchGetApplicationsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a BatchGetApplications
operation.public Future<BatchGetApplicationsResult> batchGetApplicationsAsync(BatchGetApplicationsRequest request, AsyncHandler<BatchGetApplicationsRequest,BatchGetApplicationsResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about one or more applications. The maximum number of applications that can be returned is 100.
batchGetApplicationsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a BatchGetApplications
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchGetApplicationsResult> batchGetApplicationsAsync()
batchGetApplicationsAsync
in interface AmazonCodeDeployAsync
batchGetApplicationsAsync(BatchGetApplicationsRequest)
public Future<BatchGetApplicationsResult> batchGetApplicationsAsync(AsyncHandler<BatchGetApplicationsRequest,BatchGetApplicationsResult> asyncHandler)
batchGetApplicationsAsync
in interface AmazonCodeDeployAsync
batchGetApplicationsAsync(BatchGetApplicationsRequest, com.amazonaws.handlers.AsyncHandler)
public Future<BatchGetDeploymentGroupsResult> batchGetDeploymentGroupsAsync(BatchGetDeploymentGroupsRequest request)
AmazonCodeDeployAsync
Gets information about one or more deployment groups.
batchGetDeploymentGroupsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a BatchGetDeploymentGroups
operation.public Future<BatchGetDeploymentGroupsResult> batchGetDeploymentGroupsAsync(BatchGetDeploymentGroupsRequest request, AsyncHandler<BatchGetDeploymentGroupsRequest,BatchGetDeploymentGroupsResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about one or more deployment groups.
batchGetDeploymentGroupsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a BatchGetDeploymentGroups
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<BatchGetDeploymentInstancesResult> batchGetDeploymentInstancesAsync(BatchGetDeploymentInstancesRequest request)
AmazonCodeDeployAsync
This method works, but is deprecated. Use BatchGetDeploymentTargets
instead.
Returns an array of one or more instances associated with a deployment. This method works with EC2/On-premises
and Lambda compute platforms. The newer BatchGetDeploymentTargets
works with all compute platforms.
The maximum number of instances that can be returned is 25.
batchGetDeploymentInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a BatchGetDeploymentInstances
operation.@Deprecated public Future<BatchGetDeploymentInstancesResult> batchGetDeploymentInstancesAsync(BatchGetDeploymentInstancesRequest request, AsyncHandler<BatchGetDeploymentInstancesRequest,BatchGetDeploymentInstancesResult> asyncHandler)
AmazonCodeDeployAsync
This method works, but is deprecated. Use BatchGetDeploymentTargets
instead.
Returns an array of one or more instances associated with a deployment. This method works with EC2/On-premises
and Lambda compute platforms. The newer BatchGetDeploymentTargets
works with all compute platforms.
The maximum number of instances that can be returned is 25.
batchGetDeploymentInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a BatchGetDeploymentInstances
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchGetDeploymentTargetsResult> batchGetDeploymentTargetsAsync(BatchGetDeploymentTargetsRequest request)
AmazonCodeDeployAsync
Returns an array of one or more targets associated with a deployment. This method works with all compute types
and should be used instead of the deprecated BatchGetDeploymentInstances
. The maximum number of
targets that can be returned is 25.
The type of targets returned depends on the deployment's compute platform or deployment method:
EC2/On-premises: Information about Amazon EC2 instance targets.
Lambda: Information about Lambda functions targets.
Amazon ECS: Information about Amazon ECS service targets.
CloudFormation: Information about targets of blue/green deployments initiated by a CloudFormation stack update.
batchGetDeploymentTargetsAsync
in interface AmazonCodeDeployAsync
public Future<BatchGetDeploymentTargetsResult> batchGetDeploymentTargetsAsync(BatchGetDeploymentTargetsRequest request, AsyncHandler<BatchGetDeploymentTargetsRequest,BatchGetDeploymentTargetsResult> asyncHandler)
AmazonCodeDeployAsync
Returns an array of one or more targets associated with a deployment. This method works with all compute types
and should be used instead of the deprecated BatchGetDeploymentInstances
. The maximum number of
targets that can be returned is 25.
The type of targets returned depends on the deployment's compute platform or deployment method:
EC2/On-premises: Information about Amazon EC2 instance targets.
Lambda: Information about Lambda functions targets.
Amazon ECS: Information about Amazon ECS service targets.
CloudFormation: Information about targets of blue/green deployments initiated by a CloudFormation stack update.
batchGetDeploymentTargetsAsync
in interface AmazonCodeDeployAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(BatchGetDeploymentsRequest request)
AmazonCodeDeployAsync
Gets information about one or more deployments. The maximum number of deployments that can be returned is 25.
batchGetDeploymentsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a BatchGetDeployments
operation.public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(BatchGetDeploymentsRequest request, AsyncHandler<BatchGetDeploymentsRequest,BatchGetDeploymentsResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about one or more deployments. The maximum number of deployments that can be returned is 25.
batchGetDeploymentsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a BatchGetDeployments
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync()
batchGetDeploymentsAsync
in interface AmazonCodeDeployAsync
batchGetDeploymentsAsync(BatchGetDeploymentsRequest)
public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(AsyncHandler<BatchGetDeploymentsRequest,BatchGetDeploymentsResult> asyncHandler)
batchGetDeploymentsAsync
in interface AmazonCodeDeployAsync
batchGetDeploymentsAsync(BatchGetDeploymentsRequest, com.amazonaws.handlers.AsyncHandler)
public Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest request)
AmazonCodeDeployAsync
Gets information about one or more on-premises instances. The maximum number of on-premises instances that can be returned is 25.
batchGetOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a BatchGetOnPremisesInstances
operation.public Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest request, AsyncHandler<BatchGetOnPremisesInstancesRequest,BatchGetOnPremisesInstancesResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about one or more on-premises instances. The maximum number of on-premises instances that can be returned is 25.
batchGetOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a BatchGetOnPremisesInstances
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync()
batchGetOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest)
public Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(AsyncHandler<BatchGetOnPremisesInstancesRequest,BatchGetOnPremisesInstancesResult> asyncHandler)
public Future<ContinueDeploymentResult> continueDeploymentAsync(ContinueDeploymentRequest request)
AmazonCodeDeployAsync
For a blue/green deployment, starts the process of rerouting traffic from instances in the original environment to instances in the replacement environment without waiting for a specified wait time to elapse. (Traffic rerouting, which is achieved by registering instances in the replacement environment with the load balancer, can start as soon as all instances have a status of Ready.)
continueDeploymentAsync
in interface AmazonCodeDeployAsync
public Future<ContinueDeploymentResult> continueDeploymentAsync(ContinueDeploymentRequest request, AsyncHandler<ContinueDeploymentRequest,ContinueDeploymentResult> asyncHandler)
AmazonCodeDeployAsync
For a blue/green deployment, starts the process of rerouting traffic from instances in the original environment to instances in the replacement environment without waiting for a specified wait time to elapse. (Traffic rerouting, which is achieved by registering instances in the replacement environment with the load balancer, can start as soon as all instances have a status of Ready.)
continueDeploymentAsync
in interface AmazonCodeDeployAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request)
AmazonCodeDeployAsync
Creates an application.
createApplicationAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a CreateApplication
operation.public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
AmazonCodeDeployAsync
Creates an application.
createApplicationAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a CreateApplication
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest request)
AmazonCodeDeployAsync
Deploys an application revision through the specified deployment group.
createDeploymentAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a CreateDeployment
operation.public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest request, AsyncHandler<CreateDeploymentRequest,CreateDeploymentResult> asyncHandler)
AmazonCodeDeployAsync
Deploys an application revision through the specified deployment group.
createDeploymentAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a CreateDeployment
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDeploymentConfigResult> createDeploymentConfigAsync(CreateDeploymentConfigRequest request)
AmazonCodeDeployAsync
Creates a deployment configuration.
createDeploymentConfigAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a CreateDeploymentConfig
operation.public Future<CreateDeploymentConfigResult> createDeploymentConfigAsync(CreateDeploymentConfigRequest request, AsyncHandler<CreateDeploymentConfigRequest,CreateDeploymentConfigResult> asyncHandler)
AmazonCodeDeployAsync
Creates a deployment configuration.
createDeploymentConfigAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a CreateDeploymentConfig
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDeploymentGroupResult> createDeploymentGroupAsync(CreateDeploymentGroupRequest request)
AmazonCodeDeployAsync
Creates a deployment group to which application revisions are deployed.
createDeploymentGroupAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a CreateDeploymentGroup
operation.public Future<CreateDeploymentGroupResult> createDeploymentGroupAsync(CreateDeploymentGroupRequest request, AsyncHandler<CreateDeploymentGroupRequest,CreateDeploymentGroupResult> asyncHandler)
AmazonCodeDeployAsync
Creates a deployment group to which application revisions are deployed.
createDeploymentGroupAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a CreateDeploymentGroup
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request)
AmazonCodeDeployAsync
Deletes an application.
deleteApplicationAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a DeleteApplication
operation.public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
AmazonCodeDeployAsync
Deletes an application.
deleteApplicationAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a DeleteApplication
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteDeploymentConfigResult> deleteDeploymentConfigAsync(DeleteDeploymentConfigRequest request)
AmazonCodeDeployAsync
Deletes a deployment configuration.
A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted.
deleteDeploymentConfigAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a DeleteDeploymentConfig
operation.public Future<DeleteDeploymentConfigResult> deleteDeploymentConfigAsync(DeleteDeploymentConfigRequest request, AsyncHandler<DeleteDeploymentConfigRequest,DeleteDeploymentConfigResult> asyncHandler)
AmazonCodeDeployAsync
Deletes a deployment configuration.
A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted.
deleteDeploymentConfigAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a DeleteDeploymentConfig
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteDeploymentGroupResult> deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest request)
AmazonCodeDeployAsync
Deletes a deployment group.
deleteDeploymentGroupAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a DeleteDeploymentGroup
operation.public Future<DeleteDeploymentGroupResult> deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest request, AsyncHandler<DeleteDeploymentGroupRequest,DeleteDeploymentGroupResult> asyncHandler)
AmazonCodeDeployAsync
Deletes a deployment group.
deleteDeploymentGroupAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a DeleteDeploymentGroup
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteGitHubAccountTokenResult> deleteGitHubAccountTokenAsync(DeleteGitHubAccountTokenRequest request)
AmazonCodeDeployAsync
Deletes a GitHub account connection.
deleteGitHubAccountTokenAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a DeleteGitHubAccount
operation.public Future<DeleteGitHubAccountTokenResult> deleteGitHubAccountTokenAsync(DeleteGitHubAccountTokenRequest request, AsyncHandler<DeleteGitHubAccountTokenRequest,DeleteGitHubAccountTokenResult> asyncHandler)
AmazonCodeDeployAsync
Deletes a GitHub account connection.
deleteGitHubAccountTokenAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a DeleteGitHubAccount
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteResourcesByExternalIdResult> deleteResourcesByExternalIdAsync(DeleteResourcesByExternalIdRequest request)
AmazonCodeDeployAsync
Deletes resources linked to an external ID. This action only applies if you have configured blue/green deployments through CloudFormation.
It is not necessary to call this action directly. CloudFormation calls it on your behalf when it needs to delete stack resources. This action is offered publicly in case you need to delete resources to comply with General Data Protection Regulation (GDPR) requirements.
deleteResourcesByExternalIdAsync
in interface AmazonCodeDeployAsync
public Future<DeleteResourcesByExternalIdResult> deleteResourcesByExternalIdAsync(DeleteResourcesByExternalIdRequest request, AsyncHandler<DeleteResourcesByExternalIdRequest,DeleteResourcesByExternalIdResult> asyncHandler)
AmazonCodeDeployAsync
Deletes resources linked to an external ID. This action only applies if you have configured blue/green deployments through CloudFormation.
It is not necessary to call this action directly. CloudFormation calls it on your behalf when it needs to delete stack resources. This action is offered publicly in case you need to delete resources to comply with General Data Protection Regulation (GDPR) requirements.
deleteResourcesByExternalIdAsync
in interface AmazonCodeDeployAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeregisterOnPremisesInstanceResult> deregisterOnPremisesInstanceAsync(DeregisterOnPremisesInstanceRequest request)
AmazonCodeDeployAsync
Deregisters an on-premises instance.
deregisterOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a DeregisterOnPremisesInstance
operation.public Future<DeregisterOnPremisesInstanceResult> deregisterOnPremisesInstanceAsync(DeregisterOnPremisesInstanceRequest request, AsyncHandler<DeregisterOnPremisesInstanceRequest,DeregisterOnPremisesInstanceResult> asyncHandler)
AmazonCodeDeployAsync
Deregisters an on-premises instance.
deregisterOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a DeregisterOnPremisesInstance
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request)
AmazonCodeDeployAsync
Gets information about an application.
getApplicationAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a GetApplication
operation.public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request, AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about an application.
getApplicationAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a GetApplication
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetApplicationRevisionResult> getApplicationRevisionAsync(GetApplicationRevisionRequest request)
AmazonCodeDeployAsync
Gets information about an application revision.
getApplicationRevisionAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a GetApplicationRevision
operation.public Future<GetApplicationRevisionResult> getApplicationRevisionAsync(GetApplicationRevisionRequest request, AsyncHandler<GetApplicationRevisionRequest,GetApplicationRevisionResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about an application revision.
getApplicationRevisionAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a GetApplicationRevision
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest request)
AmazonCodeDeployAsync
Gets information about a deployment.
The content
property of the appSpecContent
object in the returned revision is always
null. Use GetApplicationRevision
and the sha256
property of the returned
appSpecContent
object to get the content of the deployment’s AppSpec file.
getDeploymentAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a GetDeployment
operation.public Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest request, AsyncHandler<GetDeploymentRequest,GetDeploymentResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about a deployment.
The content
property of the appSpecContent
object in the returned revision is always
null. Use GetApplicationRevision
and the sha256
property of the returned
appSpecContent
object to get the content of the deployment’s AppSpec file.
getDeploymentAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a GetDeployment
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDeploymentConfigResult> getDeploymentConfigAsync(GetDeploymentConfigRequest request)
AmazonCodeDeployAsync
Gets information about a deployment configuration.
getDeploymentConfigAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a GetDeploymentConfig
operation.public Future<GetDeploymentConfigResult> getDeploymentConfigAsync(GetDeploymentConfigRequest request, AsyncHandler<GetDeploymentConfigRequest,GetDeploymentConfigResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about a deployment configuration.
getDeploymentConfigAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a GetDeploymentConfig
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDeploymentGroupResult> getDeploymentGroupAsync(GetDeploymentGroupRequest request)
AmazonCodeDeployAsync
Gets information about a deployment group.
getDeploymentGroupAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a GetDeploymentGroup
operation.public Future<GetDeploymentGroupResult> getDeploymentGroupAsync(GetDeploymentGroupRequest request, AsyncHandler<GetDeploymentGroupRequest,GetDeploymentGroupResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about a deployment group.
getDeploymentGroupAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a GetDeploymentGroup
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<GetDeploymentInstanceResult> getDeploymentInstanceAsync(GetDeploymentInstanceRequest request)
AmazonCodeDeployAsync
Gets information about an instance as part of a deployment.
getDeploymentInstanceAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a GetDeploymentInstance
operation.@Deprecated public Future<GetDeploymentInstanceResult> getDeploymentInstanceAsync(GetDeploymentInstanceRequest request, AsyncHandler<GetDeploymentInstanceRequest,GetDeploymentInstanceResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about an instance as part of a deployment.
getDeploymentInstanceAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a GetDeploymentInstance
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDeploymentTargetResult> getDeploymentTargetAsync(GetDeploymentTargetRequest request)
AmazonCodeDeployAsync
Returns information about a deployment target.
getDeploymentTargetAsync
in interface AmazonCodeDeployAsync
public Future<GetDeploymentTargetResult> getDeploymentTargetAsync(GetDeploymentTargetRequest request, AsyncHandler<GetDeploymentTargetRequest,GetDeploymentTargetResult> asyncHandler)
AmazonCodeDeployAsync
Returns information about a deployment target.
getDeploymentTargetAsync
in interface AmazonCodeDeployAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetOnPremisesInstanceResult> getOnPremisesInstanceAsync(GetOnPremisesInstanceRequest request)
AmazonCodeDeployAsync
Gets information about an on-premises instance.
getOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a GetOnPremisesInstance
operation.public Future<GetOnPremisesInstanceResult> getOnPremisesInstanceAsync(GetOnPremisesInstanceRequest request, AsyncHandler<GetOnPremisesInstanceRequest,GetOnPremisesInstanceResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about an on-premises instance.
getOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a GetOnPremisesInstance
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListApplicationRevisionsResult> listApplicationRevisionsAsync(ListApplicationRevisionsRequest request)
AmazonCodeDeployAsync
Lists information about revisions for an application.
listApplicationRevisionsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a ListApplicationRevisions
operation.public Future<ListApplicationRevisionsResult> listApplicationRevisionsAsync(ListApplicationRevisionsRequest request, AsyncHandler<ListApplicationRevisionsRequest,ListApplicationRevisionsResult> asyncHandler)
AmazonCodeDeployAsync
Lists information about revisions for an application.
listApplicationRevisionsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a ListApplicationRevisions
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request)
AmazonCodeDeployAsync
Lists the applications registered with the user or Amazon Web Services account.
listApplicationsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a ListApplications
operation.public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
AmazonCodeDeployAsync
Lists the applications registered with the user or Amazon Web Services account.
listApplicationsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a ListApplications
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListApplicationsResult> listApplicationsAsync()
listApplicationsAsync
in interface AmazonCodeDeployAsync
listApplicationsAsync(ListApplicationsRequest)
public Future<ListApplicationsResult> listApplicationsAsync(AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
listApplicationsAsync
in interface AmazonCodeDeployAsync
listApplicationsAsync(ListApplicationsRequest, com.amazonaws.handlers.AsyncHandler)
public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(ListDeploymentConfigsRequest request)
AmazonCodeDeployAsync
Lists the deployment configurations with the user or Amazon Web Services account.
listDeploymentConfigsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a ListDeploymentConfigs
operation.public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(ListDeploymentConfigsRequest request, AsyncHandler<ListDeploymentConfigsRequest,ListDeploymentConfigsResult> asyncHandler)
AmazonCodeDeployAsync
Lists the deployment configurations with the user or Amazon Web Services account.
listDeploymentConfigsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a ListDeploymentConfigs
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync()
listDeploymentConfigsAsync
in interface AmazonCodeDeployAsync
listDeploymentConfigsAsync(ListDeploymentConfigsRequest)
public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(AsyncHandler<ListDeploymentConfigsRequest,ListDeploymentConfigsResult> asyncHandler)
listDeploymentConfigsAsync
in interface AmazonCodeDeployAsync
listDeploymentConfigsAsync(ListDeploymentConfigsRequest, com.amazonaws.handlers.AsyncHandler)
public Future<ListDeploymentGroupsResult> listDeploymentGroupsAsync(ListDeploymentGroupsRequest request)
AmazonCodeDeployAsync
Lists the deployment groups for an application registered with the Amazon Web Services user or Amazon Web Services account.
listDeploymentGroupsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a ListDeploymentGroups
operation.public Future<ListDeploymentGroupsResult> listDeploymentGroupsAsync(ListDeploymentGroupsRequest request, AsyncHandler<ListDeploymentGroupsRequest,ListDeploymentGroupsResult> asyncHandler)
AmazonCodeDeployAsync
Lists the deployment groups for an application registered with the Amazon Web Services user or Amazon Web Services account.
listDeploymentGroupsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a ListDeploymentGroups
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<ListDeploymentInstancesResult> listDeploymentInstancesAsync(ListDeploymentInstancesRequest request)
AmazonCodeDeployAsync
The newer BatchGetDeploymentTargets
should be used instead because it works with all compute types.
ListDeploymentInstances
throws an exception if it is used with a compute platform other than
EC2/On-premises or Lambda.
Lists the instance for a deployment associated with the user or Amazon Web Services account.
listDeploymentInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a ListDeploymentInstances
operation.@Deprecated public Future<ListDeploymentInstancesResult> listDeploymentInstancesAsync(ListDeploymentInstancesRequest request, AsyncHandler<ListDeploymentInstancesRequest,ListDeploymentInstancesResult> asyncHandler)
AmazonCodeDeployAsync
The newer BatchGetDeploymentTargets
should be used instead because it works with all compute types.
ListDeploymentInstances
throws an exception if it is used with a compute platform other than
EC2/On-premises or Lambda.
Lists the instance for a deployment associated with the user or Amazon Web Services account.
listDeploymentInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a ListDeploymentInstances
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDeploymentTargetsResult> listDeploymentTargetsAsync(ListDeploymentTargetsRequest request)
AmazonCodeDeployAsync
Returns an array of target IDs that are associated a deployment.
listDeploymentTargetsAsync
in interface AmazonCodeDeployAsync
public Future<ListDeploymentTargetsResult> listDeploymentTargetsAsync(ListDeploymentTargetsRequest request, AsyncHandler<ListDeploymentTargetsRequest,ListDeploymentTargetsResult> asyncHandler)
AmazonCodeDeployAsync
Returns an array of target IDs that are associated a deployment.
listDeploymentTargetsAsync
in interface AmazonCodeDeployAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDeploymentsResult> listDeploymentsAsync(ListDeploymentsRequest request)
AmazonCodeDeployAsync
Lists the deployments in a deployment group for an application registered with the user or Amazon Web Services account.
listDeploymentsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a ListDeployments
operation.public Future<ListDeploymentsResult> listDeploymentsAsync(ListDeploymentsRequest request, AsyncHandler<ListDeploymentsRequest,ListDeploymentsResult> asyncHandler)
AmazonCodeDeployAsync
Lists the deployments in a deployment group for an application registered with the user or Amazon Web Services account.
listDeploymentsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a ListDeployments
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDeploymentsResult> listDeploymentsAsync()
listDeploymentsAsync
in interface AmazonCodeDeployAsync
listDeploymentsAsync(ListDeploymentsRequest)
public Future<ListDeploymentsResult> listDeploymentsAsync(AsyncHandler<ListDeploymentsRequest,ListDeploymentsResult> asyncHandler)
listDeploymentsAsync
in interface AmazonCodeDeployAsync
listDeploymentsAsync(ListDeploymentsRequest, com.amazonaws.handlers.AsyncHandler)
public Future<ListGitHubAccountTokenNamesResult> listGitHubAccountTokenNamesAsync(ListGitHubAccountTokenNamesRequest request)
AmazonCodeDeployAsync
Lists the names of stored connections to GitHub accounts.
listGitHubAccountTokenNamesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a ListGitHubAccountTokenNames
operation.public Future<ListGitHubAccountTokenNamesResult> listGitHubAccountTokenNamesAsync(ListGitHubAccountTokenNamesRequest request, AsyncHandler<ListGitHubAccountTokenNamesRequest,ListGitHubAccountTokenNamesResult> asyncHandler)
AmazonCodeDeployAsync
Lists the names of stored connections to GitHub accounts.
listGitHubAccountTokenNamesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a ListGitHubAccountTokenNames
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest request)
AmazonCodeDeployAsync
Gets a list of names for one or more on-premises instances.
Unless otherwise specified, both registered and deregistered on-premises instance names are listed. To list only registered or deregistered on-premises instance names, use the registration status parameter.
listOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a ListOnPremisesInstances
operation.public Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest request, AsyncHandler<ListOnPremisesInstancesRequest,ListOnPremisesInstancesResult> asyncHandler)
AmazonCodeDeployAsync
Gets a list of names for one or more on-premises instances.
Unless otherwise specified, both registered and deregistered on-premises instance names are listed. To list only registered or deregistered on-premises instance names, use the registration status parameter.
listOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a ListOnPremisesInstances
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync()
listOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest)
public Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(AsyncHandler<ListOnPremisesInstancesRequest,ListOnPremisesInstancesResult> asyncHandler)
listOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest, com.amazonaws.handlers.AsyncHandler)
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonCodeDeployAsync
Returns a list of tags for the resource identified by a specified Amazon Resource Name (ARN). Tags are used to organize and categorize your CodeDeploy resources.
listTagsForResourceAsync
in interface AmazonCodeDeployAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonCodeDeployAsync
Returns a list of tags for the resource identified by a specified Amazon Resource Name (ARN). Tags are used to organize and categorize your CodeDeploy resources.
listTagsForResourceAsync
in interface AmazonCodeDeployAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutLifecycleEventHookExecutionStatusResult> putLifecycleEventHookExecutionStatusAsync(PutLifecycleEventHookExecutionStatusRequest request)
AmazonCodeDeployAsync
Sets the result of a Lambda validation function. The function validates lifecycle hooks during a deployment that
uses the Lambda or Amazon ECS compute platform. For Lambda deployments, the available lifecycle hooks are
BeforeAllowTraffic
and AfterAllowTraffic
. For Amazon ECS deployments, the available
lifecycle hooks are BeforeInstall
, AfterInstall
, AfterAllowTestTraffic
,
BeforeAllowTraffic
, and AfterAllowTraffic
. Lambda validation functions return
Succeeded
or Failed
. For more information, see AppSpec 'hooks' Section for an Lambda Deployment and AppSpec 'hooks' Section for an Amazon ECS Deployment.
putLifecycleEventHookExecutionStatusAsync
in interface AmazonCodeDeployAsync
public Future<PutLifecycleEventHookExecutionStatusResult> putLifecycleEventHookExecutionStatusAsync(PutLifecycleEventHookExecutionStatusRequest request, AsyncHandler<PutLifecycleEventHookExecutionStatusRequest,PutLifecycleEventHookExecutionStatusResult> asyncHandler)
AmazonCodeDeployAsync
Sets the result of a Lambda validation function. The function validates lifecycle hooks during a deployment that
uses the Lambda or Amazon ECS compute platform. For Lambda deployments, the available lifecycle hooks are
BeforeAllowTraffic
and AfterAllowTraffic
. For Amazon ECS deployments, the available
lifecycle hooks are BeforeInstall
, AfterInstall
, AfterAllowTestTraffic
,
BeforeAllowTraffic
, and AfterAllowTraffic
. Lambda validation functions return
Succeeded
or Failed
. For more information, see AppSpec 'hooks' Section for an Lambda Deployment and AppSpec 'hooks' Section for an Amazon ECS Deployment.
putLifecycleEventHookExecutionStatusAsync
in interface AmazonCodeDeployAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RegisterApplicationRevisionResult> registerApplicationRevisionAsync(RegisterApplicationRevisionRequest request)
AmazonCodeDeployAsync
Registers with CodeDeploy a revision for the specified application.
registerApplicationRevisionAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a RegisterApplicationRevision operation.public Future<RegisterApplicationRevisionResult> registerApplicationRevisionAsync(RegisterApplicationRevisionRequest request, AsyncHandler<RegisterApplicationRevisionRequest,RegisterApplicationRevisionResult> asyncHandler)
AmazonCodeDeployAsync
Registers with CodeDeploy a revision for the specified application.
registerApplicationRevisionAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a RegisterApplicationRevision operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RegisterOnPremisesInstanceResult> registerOnPremisesInstanceAsync(RegisterOnPremisesInstanceRequest request)
AmazonCodeDeployAsync
Registers an on-premises instance.
Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both.
registerOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of the register on-premises instance operation.public Future<RegisterOnPremisesInstanceResult> registerOnPremisesInstanceAsync(RegisterOnPremisesInstanceRequest request, AsyncHandler<RegisterOnPremisesInstanceRequest,RegisterOnPremisesInstanceResult> asyncHandler)
AmazonCodeDeployAsync
Registers an on-premises instance.
Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both.
registerOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of the register on-premises instance operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RemoveTagsFromOnPremisesInstancesResult> removeTagsFromOnPremisesInstancesAsync(RemoveTagsFromOnPremisesInstancesRequest request)
AmazonCodeDeployAsync
Removes one or more tags from one or more on-premises instances.
removeTagsFromOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a RemoveTagsFromOnPremisesInstances
operation.public Future<RemoveTagsFromOnPremisesInstancesResult> removeTagsFromOnPremisesInstancesAsync(RemoveTagsFromOnPremisesInstancesRequest request, AsyncHandler<RemoveTagsFromOnPremisesInstancesRequest,RemoveTagsFromOnPremisesInstancesResult> asyncHandler)
AmazonCodeDeployAsync
Removes one or more tags from one or more on-premises instances.
removeTagsFromOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a RemoveTagsFromOnPremisesInstances
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<SkipWaitTimeForInstanceTerminationResult> skipWaitTimeForInstanceTerminationAsync(SkipWaitTimeForInstanceTerminationRequest request)
AmazonCodeDeployAsync
In a blue/green deployment, overrides any specified wait time and starts terminating instances immediately after the traffic routing is complete.
skipWaitTimeForInstanceTerminationAsync
in interface AmazonCodeDeployAsync
@Deprecated public Future<SkipWaitTimeForInstanceTerminationResult> skipWaitTimeForInstanceTerminationAsync(SkipWaitTimeForInstanceTerminationRequest request, AsyncHandler<SkipWaitTimeForInstanceTerminationRequest,SkipWaitTimeForInstanceTerminationResult> asyncHandler)
AmazonCodeDeployAsync
In a blue/green deployment, overrides any specified wait time and starts terminating instances immediately after the traffic routing is complete.
skipWaitTimeForInstanceTerminationAsync
in interface AmazonCodeDeployAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopDeploymentResult> stopDeploymentAsync(StopDeploymentRequest request)
AmazonCodeDeployAsync
Attempts to stop an ongoing deployment.
stopDeploymentAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a StopDeployment
operation.public Future<StopDeploymentResult> stopDeploymentAsync(StopDeploymentRequest request, AsyncHandler<StopDeploymentRequest,StopDeploymentResult> asyncHandler)
AmazonCodeDeployAsync
Attempts to stop an ongoing deployment.
stopDeploymentAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a StopDeployment
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonCodeDeployAsync
Associates the list of tags in the input Tags
parameter with the resource identified by the
ResourceArn
input parameter.
tagResourceAsync
in interface AmazonCodeDeployAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonCodeDeployAsync
Associates the list of tags in the input Tags
parameter with the resource identified by the
ResourceArn
input parameter.
tagResourceAsync
in interface AmazonCodeDeployAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonCodeDeployAsync
Disassociates a resource from a list of tags. The resource is identified by the ResourceArn
input
parameter. The tags are identified by the list of keys in the TagKeys
input parameter.
untagResourceAsync
in interface AmazonCodeDeployAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonCodeDeployAsync
Disassociates a resource from a list of tags. The resource is identified by the ResourceArn
input
parameter. The tags are identified by the list of keys in the TagKeys
input parameter.
untagResourceAsync
in interface AmazonCodeDeployAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request)
AmazonCodeDeployAsync
Changes the name of an application.
updateApplicationAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of an UpdateApplication
operation.public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
AmazonCodeDeployAsync
Changes the name of an application.
updateApplicationAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of an UpdateApplication
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateApplicationResult> updateApplicationAsync()
updateApplicationAsync
in interface AmazonCodeDeployAsync
updateApplicationAsync(UpdateApplicationRequest)
public Future<UpdateApplicationResult> updateApplicationAsync(AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
updateApplicationAsync
in interface AmazonCodeDeployAsync
updateApplicationAsync(UpdateApplicationRequest, com.amazonaws.handlers.AsyncHandler)
public Future<UpdateDeploymentGroupResult> updateDeploymentGroupAsync(UpdateDeploymentGroupRequest request)
AmazonCodeDeployAsync
Changes information about a deployment group.
updateDeploymentGroupAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of an UpdateDeploymentGroup
operation.public Future<UpdateDeploymentGroupResult> updateDeploymentGroupAsync(UpdateDeploymentGroupRequest request, AsyncHandler<UpdateDeploymentGroupRequest,UpdateDeploymentGroupResult> asyncHandler)
AmazonCodeDeployAsync
Changes information about a deployment group.
updateDeploymentGroupAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of an UpdateDeploymentGroup
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.