public class AmazonCodeDeployAsyncClient extends AmazonCodeDeployClient implements AmazonCodeDeployAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
This reference guide provides descriptions of the AWS CodeDeploy APIs. For more information about AWS CodeDeploy, see the AWS CodeDeploy User Guide.
Using the APIsYou can use the AWS CodeDeploy APIs to work with the following:
Applications are unique identifiers used by AWS CodeDeploy to ensure 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 success and failure conditions used by AWS CodeDeploy 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 instance.
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 stored in Amazon S3 buckets or GitHub repositories. These revisions contain source content (such as source code, web pages, executable files, and deployment scripts) along with an application specification (AppSpec) file. (The AppSpec file is unique to AWS CodeDeploy; it defines the deployment actions you want AWS CodeDeploy to execute.) Ffor application revisions stored in Amazon S3 buckets, an application revision is uniquely identified by its Amazon S3 object key and its ETag, version, or both. For application revisions stored in GitHub repositories, an application revision is uniquely identified by its repository name and commit ID. Application revisions are deployed through deployment groups.
You can use the AWS CodeDeploy APIs to get, list, and register application revisions.
Modifier and Type | Field and Description |
---|---|
private static int |
DEFAULT_THREAD_POOL_SIZE |
private java.util.concurrent.ExecutorService |
executorService |
configFactory
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
Constructor and Description |
---|
AmazonCodeDeployAsyncClient()
Constructs a new asynchronous client to invoke service methods on
CodeDeploy.
|
AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on
CodeDeploy using the specified AWS account credentials.
|
AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
CodeDeploy using the specified AWS account credentials, executor service,
and client configuration options.
|
AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
CodeDeploy using the specified AWS account credentials and executor
service.
|
AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on
CodeDeploy using the specified AWS account credentials provider.
|
AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
CodeDeploy using the provided AWS account credentials provider and client
configuration options.
|
AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
CodeDeploy using the specified AWS account credentials provider, executor
service, and client configuration options.
|
AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
CodeDeploy using the specified AWS account credentials provider and
executor service.
|
AmazonCodeDeployAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
CodeDeploy.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<AddTagsToOnPremisesInstancesResult> |
addTagsToOnPremisesInstancesAsync(AddTagsToOnPremisesInstancesRequest request)
Adds tags to on-premises instances.
|
java.util.concurrent.Future<AddTagsToOnPremisesInstancesResult> |
addTagsToOnPremisesInstancesAsync(AddTagsToOnPremisesInstancesRequest request,
AsyncHandler<AddTagsToOnPremisesInstancesRequest,AddTagsToOnPremisesInstancesResult> asyncHandler)
Adds tags to on-premises instances.
|
java.util.concurrent.Future<BatchGetApplicationRevisionsResult> |
batchGetApplicationRevisionsAsync(BatchGetApplicationRevisionsRequest request)
Gets information about one or more application revisions.
|
java.util.concurrent.Future<BatchGetApplicationRevisionsResult> |
batchGetApplicationRevisionsAsync(BatchGetApplicationRevisionsRequest request,
AsyncHandler<BatchGetApplicationRevisionsRequest,BatchGetApplicationRevisionsResult> asyncHandler)
Gets information about one or more application revisions.
|
java.util.concurrent.Future<BatchGetApplicationsResult> |
batchGetApplicationsAsync()
Simplified method form for invoking the BatchGetApplications operation.
|
java.util.concurrent.Future<BatchGetApplicationsResult> |
batchGetApplicationsAsync(AsyncHandler<BatchGetApplicationsRequest,BatchGetApplicationsResult> asyncHandler)
Simplified method form for invoking the BatchGetApplications operation
with an AsyncHandler.
|
java.util.concurrent.Future<BatchGetApplicationsResult> |
batchGetApplicationsAsync(BatchGetApplicationsRequest request)
Gets information about one or more applications.
|
java.util.concurrent.Future<BatchGetApplicationsResult> |
batchGetApplicationsAsync(BatchGetApplicationsRequest request,
AsyncHandler<BatchGetApplicationsRequest,BatchGetApplicationsResult> asyncHandler)
Gets information about one or more applications.
|
java.util.concurrent.Future<BatchGetDeploymentGroupsResult> |
batchGetDeploymentGroupsAsync(BatchGetDeploymentGroupsRequest request)
Get information about one or more deployment groups.
|
java.util.concurrent.Future<BatchGetDeploymentGroupsResult> |
batchGetDeploymentGroupsAsync(BatchGetDeploymentGroupsRequest request,
AsyncHandler<BatchGetDeploymentGroupsRequest,BatchGetDeploymentGroupsResult> asyncHandler)
Get information about one or more deployment groups.
|
java.util.concurrent.Future<BatchGetDeploymentInstancesResult> |
batchGetDeploymentInstancesAsync(BatchGetDeploymentInstancesRequest request)
Gets information about one or more instance that are part of a deployment
group.
|
java.util.concurrent.Future<BatchGetDeploymentInstancesResult> |
batchGetDeploymentInstancesAsync(BatchGetDeploymentInstancesRequest request,
AsyncHandler<BatchGetDeploymentInstancesRequest,BatchGetDeploymentInstancesResult> asyncHandler)
Gets information about one or more instance that are part of a deployment
group.
|
java.util.concurrent.Future<BatchGetDeploymentsResult> |
batchGetDeploymentsAsync()
Simplified method form for invoking the BatchGetDeployments operation.
|
java.util.concurrent.Future<BatchGetDeploymentsResult> |
batchGetDeploymentsAsync(AsyncHandler<BatchGetDeploymentsRequest,BatchGetDeploymentsResult> asyncHandler)
Simplified method form for invoking the BatchGetDeployments operation
with an AsyncHandler.
|
java.util.concurrent.Future<BatchGetDeploymentsResult> |
batchGetDeploymentsAsync(BatchGetDeploymentsRequest request)
Gets information about one or more deployments.
|
java.util.concurrent.Future<BatchGetDeploymentsResult> |
batchGetDeploymentsAsync(BatchGetDeploymentsRequest request,
AsyncHandler<BatchGetDeploymentsRequest,BatchGetDeploymentsResult> asyncHandler)
Gets information about one or more deployments.
|
java.util.concurrent.Future<BatchGetOnPremisesInstancesResult> |
batchGetOnPremisesInstancesAsync()
Simplified method form for invoking the BatchGetOnPremisesInstances
operation.
|
java.util.concurrent.Future<BatchGetOnPremisesInstancesResult> |
batchGetOnPremisesInstancesAsync(AsyncHandler<BatchGetOnPremisesInstancesRequest,BatchGetOnPremisesInstancesResult> asyncHandler)
Simplified method form for invoking the BatchGetOnPremisesInstances
operation with an AsyncHandler.
|
java.util.concurrent.Future<BatchGetOnPremisesInstancesResult> |
batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest request)
Gets information about one or more on-premises instances.
|
java.util.concurrent.Future<BatchGetOnPremisesInstancesResult> |
batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest request,
AsyncHandler<BatchGetOnPremisesInstancesRequest,BatchGetOnPremisesInstancesResult> asyncHandler)
Gets information about one or more on-premises instances.
|
java.util.concurrent.Future<CreateApplicationResult> |
createApplicationAsync(CreateApplicationRequest request)
Creates an application.
|
java.util.concurrent.Future<CreateApplicationResult> |
createApplicationAsync(CreateApplicationRequest request,
AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
Creates an application.
|
java.util.concurrent.Future<CreateDeploymentResult> |
createDeploymentAsync(CreateDeploymentRequest request)
Deploys an application revision through the specified deployment group.
|
java.util.concurrent.Future<CreateDeploymentResult> |
createDeploymentAsync(CreateDeploymentRequest request,
AsyncHandler<CreateDeploymentRequest,CreateDeploymentResult> asyncHandler)
Deploys an application revision through the specified deployment group.
|
java.util.concurrent.Future<CreateDeploymentConfigResult> |
createDeploymentConfigAsync(CreateDeploymentConfigRequest request)
Creates a deployment configuration.
|
java.util.concurrent.Future<CreateDeploymentConfigResult> |
createDeploymentConfigAsync(CreateDeploymentConfigRequest request,
AsyncHandler<CreateDeploymentConfigRequest,CreateDeploymentConfigResult> asyncHandler)
Creates a deployment configuration.
|
java.util.concurrent.Future<CreateDeploymentGroupResult> |
createDeploymentGroupAsync(CreateDeploymentGroupRequest request)
Creates a deployment group to which application revisions will be
deployed.
|
java.util.concurrent.Future<CreateDeploymentGroupResult> |
createDeploymentGroupAsync(CreateDeploymentGroupRequest request,
AsyncHandler<CreateDeploymentGroupRequest,CreateDeploymentGroupResult> asyncHandler)
Creates a deployment group to which application revisions will be
deployed.
|
java.util.concurrent.Future<DeleteApplicationResult> |
deleteApplicationAsync(DeleteApplicationRequest request)
Deletes an application.
|
java.util.concurrent.Future<DeleteApplicationResult> |
deleteApplicationAsync(DeleteApplicationRequest request,
AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
Deletes an application.
|
java.util.concurrent.Future<DeleteDeploymentConfigResult> |
deleteDeploymentConfigAsync(DeleteDeploymentConfigRequest request)
Deletes a deployment configuration.
|
java.util.concurrent.Future<DeleteDeploymentConfigResult> |
deleteDeploymentConfigAsync(DeleteDeploymentConfigRequest request,
AsyncHandler<DeleteDeploymentConfigRequest,DeleteDeploymentConfigResult> asyncHandler)
Deletes a deployment configuration.
|
java.util.concurrent.Future<DeleteDeploymentGroupResult> |
deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest request)
Deletes a deployment group.
|
java.util.concurrent.Future<DeleteDeploymentGroupResult> |
deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest request,
AsyncHandler<DeleteDeploymentGroupRequest,DeleteDeploymentGroupResult> asyncHandler)
Deletes a deployment group.
|
java.util.concurrent.Future<DeregisterOnPremisesInstanceResult> |
deregisterOnPremisesInstanceAsync(DeregisterOnPremisesInstanceRequest request)
Deregisters an on-premises instance.
|
java.util.concurrent.Future<DeregisterOnPremisesInstanceResult> |
deregisterOnPremisesInstanceAsync(DeregisterOnPremisesInstanceRequest request,
AsyncHandler<DeregisterOnPremisesInstanceRequest,DeregisterOnPremisesInstanceResult> asyncHandler)
Deregisters an on-premises instance.
|
java.util.concurrent.Future<GetApplicationResult> |
getApplicationAsync(GetApplicationRequest request)
Gets information about an application.
|
java.util.concurrent.Future<GetApplicationResult> |
getApplicationAsync(GetApplicationRequest request,
AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler)
Gets information about an application.
|
java.util.concurrent.Future<GetApplicationRevisionResult> |
getApplicationRevisionAsync(GetApplicationRevisionRequest request)
Gets information about an application revision.
|
java.util.concurrent.Future<GetApplicationRevisionResult> |
getApplicationRevisionAsync(GetApplicationRevisionRequest request,
AsyncHandler<GetApplicationRevisionRequest,GetApplicationRevisionResult> asyncHandler)
Gets information about an application revision.
|
java.util.concurrent.Future<GetDeploymentResult> |
getDeploymentAsync(GetDeploymentRequest request)
Gets information about a deployment.
|
java.util.concurrent.Future<GetDeploymentResult> |
getDeploymentAsync(GetDeploymentRequest request,
AsyncHandler<GetDeploymentRequest,GetDeploymentResult> asyncHandler)
Gets information about a deployment.
|
java.util.concurrent.Future<GetDeploymentConfigResult> |
getDeploymentConfigAsync(GetDeploymentConfigRequest request)
Gets information about a deployment configuration.
|
java.util.concurrent.Future<GetDeploymentConfigResult> |
getDeploymentConfigAsync(GetDeploymentConfigRequest request,
AsyncHandler<GetDeploymentConfigRequest,GetDeploymentConfigResult> asyncHandler)
Gets information about a deployment configuration.
|
java.util.concurrent.Future<GetDeploymentGroupResult> |
getDeploymentGroupAsync(GetDeploymentGroupRequest request)
Gets information about a deployment group.
|
java.util.concurrent.Future<GetDeploymentGroupResult> |
getDeploymentGroupAsync(GetDeploymentGroupRequest request,
AsyncHandler<GetDeploymentGroupRequest,GetDeploymentGroupResult> asyncHandler)
Gets information about a deployment group.
|
java.util.concurrent.Future<GetDeploymentInstanceResult> |
getDeploymentInstanceAsync(GetDeploymentInstanceRequest request)
Gets information about an instance as part of a deployment.
|
java.util.concurrent.Future<GetDeploymentInstanceResult> |
getDeploymentInstanceAsync(GetDeploymentInstanceRequest request,
AsyncHandler<GetDeploymentInstanceRequest,GetDeploymentInstanceResult> asyncHandler)
Gets information about an instance as part of a deployment.
|
java.util.concurrent.ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async
requests.
|
java.util.concurrent.Future<GetOnPremisesInstanceResult> |
getOnPremisesInstanceAsync(GetOnPremisesInstanceRequest request)
Gets information about an on-premises instance.
|
java.util.concurrent.Future<GetOnPremisesInstanceResult> |
getOnPremisesInstanceAsync(GetOnPremisesInstanceRequest request,
AsyncHandler<GetOnPremisesInstanceRequest,GetOnPremisesInstanceResult> asyncHandler)
Gets information about an on-premises instance.
|
java.util.concurrent.Future<ListApplicationRevisionsResult> |
listApplicationRevisionsAsync(ListApplicationRevisionsRequest request)
Lists information about revisions for an application.
|
java.util.concurrent.Future<ListApplicationRevisionsResult> |
listApplicationRevisionsAsync(ListApplicationRevisionsRequest request,
AsyncHandler<ListApplicationRevisionsRequest,ListApplicationRevisionsResult> asyncHandler)
Lists information about revisions for an application.
|
java.util.concurrent.Future<ListApplicationsResult> |
listApplicationsAsync()
Simplified method form for invoking the ListApplications operation.
|
java.util.concurrent.Future<ListApplicationsResult> |
listApplicationsAsync(AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
Simplified method form for invoking the ListApplications operation with
an AsyncHandler.
|
java.util.concurrent.Future<ListApplicationsResult> |
listApplicationsAsync(ListApplicationsRequest request)
Lists the applications registered with the applicable IAM user or AWS
account.
|
java.util.concurrent.Future<ListApplicationsResult> |
listApplicationsAsync(ListApplicationsRequest request,
AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
Lists the applications registered with the applicable IAM user or AWS
account.
|
java.util.concurrent.Future<ListDeploymentConfigsResult> |
listDeploymentConfigsAsync()
Simplified method form for invoking the ListDeploymentConfigs operation.
|
java.util.concurrent.Future<ListDeploymentConfigsResult> |
listDeploymentConfigsAsync(AsyncHandler<ListDeploymentConfigsRequest,ListDeploymentConfigsResult> asyncHandler)
Simplified method form for invoking the ListDeploymentConfigs operation
with an AsyncHandler.
|
java.util.concurrent.Future<ListDeploymentConfigsResult> |
listDeploymentConfigsAsync(ListDeploymentConfigsRequest request)
Lists the deployment configurations with the applicable IAM user or AWS
account.
|
java.util.concurrent.Future<ListDeploymentConfigsResult> |
listDeploymentConfigsAsync(ListDeploymentConfigsRequest request,
AsyncHandler<ListDeploymentConfigsRequest,ListDeploymentConfigsResult> asyncHandler)
Lists the deployment configurations with the applicable IAM user or AWS
account.
|
java.util.concurrent.Future<ListDeploymentGroupsResult> |
listDeploymentGroupsAsync(ListDeploymentGroupsRequest request)
Lists the deployment groups for an application registered with the
applicable IAM user or AWS account.
|
java.util.concurrent.Future<ListDeploymentGroupsResult> |
listDeploymentGroupsAsync(ListDeploymentGroupsRequest request,
AsyncHandler<ListDeploymentGroupsRequest,ListDeploymentGroupsResult> asyncHandler)
Lists the deployment groups for an application registered with the
applicable IAM user or AWS account.
|
java.util.concurrent.Future<ListDeploymentInstancesResult> |
listDeploymentInstancesAsync(ListDeploymentInstancesRequest request)
Lists the instance for a deployment associated with the applicable IAM
user or AWS account.
|
java.util.concurrent.Future<ListDeploymentInstancesResult> |
listDeploymentInstancesAsync(ListDeploymentInstancesRequest request,
AsyncHandler<ListDeploymentInstancesRequest,ListDeploymentInstancesResult> asyncHandler)
Lists the instance for a deployment associated with the applicable IAM
user or AWS account.
|
java.util.concurrent.Future<ListDeploymentsResult> |
listDeploymentsAsync()
Simplified method form for invoking the ListDeployments operation.
|
java.util.concurrent.Future<ListDeploymentsResult> |
listDeploymentsAsync(AsyncHandler<ListDeploymentsRequest,ListDeploymentsResult> asyncHandler)
Simplified method form for invoking the ListDeployments operation with an
AsyncHandler.
|
java.util.concurrent.Future<ListDeploymentsResult> |
listDeploymentsAsync(ListDeploymentsRequest request)
Lists the deployments in a deployment group for an application registered
with the applicable IAM user or AWS account.
|
java.util.concurrent.Future<ListDeploymentsResult> |
listDeploymentsAsync(ListDeploymentsRequest request,
AsyncHandler<ListDeploymentsRequest,ListDeploymentsResult> asyncHandler)
Lists the deployments in a deployment group for an application registered
with the applicable IAM user or AWS account.
|
java.util.concurrent.Future<ListOnPremisesInstancesResult> |
listOnPremisesInstancesAsync()
Simplified method form for invoking the ListOnPremisesInstances
operation.
|
java.util.concurrent.Future<ListOnPremisesInstancesResult> |
listOnPremisesInstancesAsync(AsyncHandler<ListOnPremisesInstancesRequest,ListOnPremisesInstancesResult> asyncHandler)
Simplified method form for invoking the ListOnPremisesInstances operation
with an AsyncHandler.
|
java.util.concurrent.Future<ListOnPremisesInstancesResult> |
listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest request)
Gets a list of names for one or more on-premises instances.
|
java.util.concurrent.Future<ListOnPremisesInstancesResult> |
listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest request,
AsyncHandler<ListOnPremisesInstancesRequest,ListOnPremisesInstancesResult> asyncHandler)
Gets a list of names for one or more on-premises instances.
|
java.util.concurrent.Future<RegisterApplicationRevisionResult> |
registerApplicationRevisionAsync(RegisterApplicationRevisionRequest request)
Registers with AWS CodeDeploy a revision for the specified application.
|
java.util.concurrent.Future<RegisterApplicationRevisionResult> |
registerApplicationRevisionAsync(RegisterApplicationRevisionRequest request,
AsyncHandler<RegisterApplicationRevisionRequest,RegisterApplicationRevisionResult> asyncHandler)
Registers with AWS CodeDeploy a revision for the specified application.
|
java.util.concurrent.Future<RegisterOnPremisesInstanceResult> |
registerOnPremisesInstanceAsync(RegisterOnPremisesInstanceRequest request)
Registers an on-premises instance.
|
java.util.concurrent.Future<RegisterOnPremisesInstanceResult> |
registerOnPremisesInstanceAsync(RegisterOnPremisesInstanceRequest request,
AsyncHandler<RegisterOnPremisesInstanceRequest,RegisterOnPremisesInstanceResult> asyncHandler)
Registers an on-premises instance.
|
java.util.concurrent.Future<RemoveTagsFromOnPremisesInstancesResult> |
removeTagsFromOnPremisesInstancesAsync(RemoveTagsFromOnPremisesInstancesRequest request)
Removes one or more tags from one or more on-premises instances.
|
java.util.concurrent.Future<RemoveTagsFromOnPremisesInstancesResult> |
removeTagsFromOnPremisesInstancesAsync(RemoveTagsFromOnPremisesInstancesRequest request,
AsyncHandler<RemoveTagsFromOnPremisesInstancesRequest,RemoveTagsFromOnPremisesInstancesResult> asyncHandler)
Removes one or more tags from one or more on-premises instances.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
java.util.concurrent.Future<StopDeploymentResult> |
stopDeploymentAsync(StopDeploymentRequest request)
Attempts to stop an ongoing deployment.
|
java.util.concurrent.Future<StopDeploymentResult> |
stopDeploymentAsync(StopDeploymentRequest request,
AsyncHandler<StopDeploymentRequest,StopDeploymentResult> asyncHandler)
Attempts to stop an ongoing deployment.
|
java.util.concurrent.Future<UpdateApplicationResult> |
updateApplicationAsync()
Simplified method form for invoking the UpdateApplication operation.
|
java.util.concurrent.Future<UpdateApplicationResult> |
updateApplicationAsync(AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
Simplified method form for invoking the UpdateApplication operation with
an AsyncHandler.
|
java.util.concurrent.Future<UpdateApplicationResult> |
updateApplicationAsync(UpdateApplicationRequest request)
Changes the name of an application.
|
java.util.concurrent.Future<UpdateApplicationResult> |
updateApplicationAsync(UpdateApplicationRequest request,
AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
Changes the name of an application.
|
java.util.concurrent.Future<UpdateDeploymentGroupResult> |
updateDeploymentGroupAsync(UpdateDeploymentGroupRequest request)
Changes information about a deployment group.
|
java.util.concurrent.Future<UpdateDeploymentGroupResult> |
updateDeploymentGroupAsync(UpdateDeploymentGroupRequest request,
AsyncHandler<UpdateDeploymentGroupRequest,UpdateDeploymentGroupResult> asyncHandler)
Changes information about a deployment group.
|
addTagsToOnPremisesInstances, batchGetApplicationRevisions, batchGetApplications, batchGetApplications, batchGetDeploymentGroups, batchGetDeploymentInstances, batchGetDeployments, batchGetDeployments, batchGetOnPremisesInstances, batchGetOnPremisesInstances, createApplication, createDeployment, createDeploymentConfig, createDeploymentGroup, deleteApplication, deleteDeploymentConfig, deleteDeploymentGroup, deregisterOnPremisesInstance, getApplication, getApplicationRevision, getCachedResponseMetadata, getDeployment, getDeploymentConfig, getDeploymentGroup, getDeploymentInstance, getOnPremisesInstance, listApplicationRevisions, listApplications, listApplications, listDeploymentConfigs, listDeploymentConfigs, listDeploymentGroups, listDeploymentInstances, listDeployments, listDeployments, listOnPremisesInstances, listOnPremisesInstances, registerApplicationRevision, registerOnPremisesInstance, removeTagsFromOnPremisesInstances, stopDeployment, updateApplication, updateApplication, updateDeploymentGroup
addRequestHandler, addRequestHandler, beforeMarshalling, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTagsToOnPremisesInstances, batchGetApplicationRevisions, batchGetApplications, batchGetApplications, batchGetDeploymentGroups, batchGetDeploymentInstances, 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
private static final int DEFAULT_THREAD_POOL_SIZE
private final java.util.concurrent.ExecutorService executorService
public AmazonCodeDeployAsyncClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AmazonCodeDeployAsyncClient(ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client
connects to CodeDeploy (ex: proxy settings, retry counts, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.Executors.newFixedThreadPool(int)
public AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials, java.util.concurrent.ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be
executed.public AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).executorService
- The executor service by which all asynchronous requests will be
executed.public AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.Executors.newFixedThreadPool(int)
public AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider, java.util.concurrent.ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be
executed.public AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).executorService
- The executor service by which all asynchronous requests will be
executed.public java.util.concurrent.ExecutorService getExecutorService()
public java.util.concurrent.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 java.util.concurrent.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 java.util.concurrent.Future<BatchGetApplicationRevisionsResult> batchGetApplicationRevisionsAsync(BatchGetApplicationRevisionsRequest request)
AmazonCodeDeployAsync
Gets information about one or more application revisions.
batchGetApplicationRevisionsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a batch get application revisions
operation.public java.util.concurrent.Future<BatchGetApplicationRevisionsResult> batchGetApplicationRevisionsAsync(BatchGetApplicationRevisionsRequest request, AsyncHandler<BatchGetApplicationRevisionsRequest,BatchGetApplicationRevisionsResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about one or more application revisions.
batchGetApplicationRevisionsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a batch get application revisions
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<BatchGetApplicationsResult> batchGetApplicationsAsync(BatchGetApplicationsRequest request)
AmazonCodeDeployAsync
Gets information about one or more applications.
batchGetApplicationsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a batch get applications operation.public java.util.concurrent.Future<BatchGetApplicationsResult> batchGetApplicationsAsync(BatchGetApplicationsRequest request, AsyncHandler<BatchGetApplicationsRequest,BatchGetApplicationsResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about one or more applications.
batchGetApplicationsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a batch get applications operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<BatchGetApplicationsResult> batchGetApplicationsAsync()
batchGetApplicationsAsync
in interface AmazonCodeDeployAsync
batchGetApplicationsAsync(BatchGetApplicationsRequest)
public java.util.concurrent.Future<BatchGetApplicationsResult> batchGetApplicationsAsync(AsyncHandler<BatchGetApplicationsRequest,BatchGetApplicationsResult> asyncHandler)
batchGetApplicationsAsync
in interface AmazonCodeDeployAsync
batchGetApplicationsAsync(BatchGetApplicationsRequest,
com.amazonaws.handlers.AsyncHandler)
public java.util.concurrent.Future<BatchGetDeploymentGroupsResult> batchGetDeploymentGroupsAsync(BatchGetDeploymentGroupsRequest request)
AmazonCodeDeployAsync
Get information about one or more deployment groups.
batchGetDeploymentGroupsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a batch get deployment groups operation.public java.util.concurrent.Future<BatchGetDeploymentGroupsResult> batchGetDeploymentGroupsAsync(BatchGetDeploymentGroupsRequest request, AsyncHandler<BatchGetDeploymentGroupsRequest,BatchGetDeploymentGroupsResult> asyncHandler)
AmazonCodeDeployAsync
Get information about one or more deployment groups.
batchGetDeploymentGroupsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a batch get deployment groups operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<BatchGetDeploymentInstancesResult> batchGetDeploymentInstancesAsync(BatchGetDeploymentInstancesRequest request)
AmazonCodeDeployAsync
Gets information about one or more instance that are part of a deployment group.
batchGetDeploymentInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a batch get deployment instances
operation.public java.util.concurrent.Future<BatchGetDeploymentInstancesResult> batchGetDeploymentInstancesAsync(BatchGetDeploymentInstancesRequest request, AsyncHandler<BatchGetDeploymentInstancesRequest,BatchGetDeploymentInstancesResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about one or more instance that are part of a deployment group.
batchGetDeploymentInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a batch get deployment instances
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(BatchGetDeploymentsRequest request)
AmazonCodeDeployAsync
Gets information about one or more deployments.
batchGetDeploymentsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a batch get deployments operation.public java.util.concurrent.Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(BatchGetDeploymentsRequest request, AsyncHandler<BatchGetDeploymentsRequest,BatchGetDeploymentsResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about one or more deployments.
batchGetDeploymentsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a batch get deployments operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync()
batchGetDeploymentsAsync
in interface AmazonCodeDeployAsync
batchGetDeploymentsAsync(BatchGetDeploymentsRequest)
public java.util.concurrent.Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(AsyncHandler<BatchGetDeploymentsRequest,BatchGetDeploymentsResult> asyncHandler)
batchGetDeploymentsAsync
in interface AmazonCodeDeployAsync
batchGetDeploymentsAsync(BatchGetDeploymentsRequest,
com.amazonaws.handlers.AsyncHandler)
public java.util.concurrent.Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest request)
AmazonCodeDeployAsync
Gets information about one or more on-premises instances.
batchGetOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a batch get on-premises instances
operation.public java.util.concurrent.Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest request, AsyncHandler<BatchGetOnPremisesInstancesRequest,BatchGetOnPremisesInstancesResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about one or more on-premises instances.
batchGetOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a batch get on-premises instances
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync()
batchGetOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest)
public java.util.concurrent.Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(AsyncHandler<BatchGetOnPremisesInstancesRequest,BatchGetOnPremisesInstancesResult> asyncHandler)
public java.util.concurrent.Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request)
AmazonCodeDeployAsync
Creates an application.
createApplicationAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a create application operation.public java.util.concurrent.Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
AmazonCodeDeployAsync
Creates an application.
createApplicationAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a create application operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.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 create deployment operation.public java.util.concurrent.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 create deployment operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<CreateDeploymentConfigResult> createDeploymentConfigAsync(CreateDeploymentConfigRequest request)
AmazonCodeDeployAsync
Creates a deployment configuration.
createDeploymentConfigAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a create deployment configuration
operation.public java.util.concurrent.Future<CreateDeploymentConfigResult> createDeploymentConfigAsync(CreateDeploymentConfigRequest request, AsyncHandler<CreateDeploymentConfigRequest,CreateDeploymentConfigResult> asyncHandler)
AmazonCodeDeployAsync
Creates a deployment configuration.
createDeploymentConfigAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a create deployment configuration
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<CreateDeploymentGroupResult> createDeploymentGroupAsync(CreateDeploymentGroupRequest request)
AmazonCodeDeployAsync
Creates a deployment group to which application revisions will be deployed.
createDeploymentGroupAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a create deployment group operation.public java.util.concurrent.Future<CreateDeploymentGroupResult> createDeploymentGroupAsync(CreateDeploymentGroupRequest request, AsyncHandler<CreateDeploymentGroupRequest,CreateDeploymentGroupResult> asyncHandler)
AmazonCodeDeployAsync
Creates a deployment group to which application revisions will be deployed.
createDeploymentGroupAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a create deployment group operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request)
AmazonCodeDeployAsync
Deletes an application.
deleteApplicationAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a delete application operation.public java.util.concurrent.Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
AmazonCodeDeployAsync
Deletes an application.
deleteApplicationAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a delete application operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteDeploymentConfigResult> deleteDeploymentConfigAsync(DeleteDeploymentConfigRequest request)
AmazonCodeDeployAsync
Deletes a deployment configuration.
deleteDeploymentConfigAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a delete deployment configuration
operation.public java.util.concurrent.Future<DeleteDeploymentConfigResult> deleteDeploymentConfigAsync(DeleteDeploymentConfigRequest request, AsyncHandler<DeleteDeploymentConfigRequest,DeleteDeploymentConfigResult> asyncHandler)
AmazonCodeDeployAsync
Deletes a deployment configuration.
deleteDeploymentConfigAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a delete deployment configuration
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteDeploymentGroupResult> deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest request)
AmazonCodeDeployAsync
Deletes a deployment group.
deleteDeploymentGroupAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a delete deployment group operation.public java.util.concurrent.Future<DeleteDeploymentGroupResult> deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest request, AsyncHandler<DeleteDeploymentGroupRequest,DeleteDeploymentGroupResult> asyncHandler)
AmazonCodeDeployAsync
Deletes a deployment group.
deleteDeploymentGroupAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a delete deployment group operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeregisterOnPremisesInstanceResult> deregisterOnPremisesInstanceAsync(DeregisterOnPremisesInstanceRequest request)
AmazonCodeDeployAsync
Deregisters an on-premises instance.
deregisterOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a deregister on-premises instance
operation.public java.util.concurrent.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 deregister on-premises instance
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request)
AmazonCodeDeployAsync
Gets information about an application.
getApplicationAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a get application operation.public java.util.concurrent.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 get application operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetApplicationRevisionResult> getApplicationRevisionAsync(GetApplicationRevisionRequest request)
AmazonCodeDeployAsync
Gets information about an application revision.
getApplicationRevisionAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a get application revision operation.public java.util.concurrent.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 get application revision operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest request)
AmazonCodeDeployAsync
Gets information about a deployment.
getDeploymentAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a get deployment operation.public java.util.concurrent.Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest request, AsyncHandler<GetDeploymentRequest,GetDeploymentResult> asyncHandler)
AmazonCodeDeployAsync
Gets information about a deployment.
getDeploymentAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a get deployment operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetDeploymentConfigResult> getDeploymentConfigAsync(GetDeploymentConfigRequest request)
AmazonCodeDeployAsync
Gets information about a deployment configuration.
getDeploymentConfigAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a get deployment configuration operation.public java.util.concurrent.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 get deployment configuration operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetDeploymentGroupResult> getDeploymentGroupAsync(GetDeploymentGroupRequest request)
AmazonCodeDeployAsync
Gets information about a deployment group.
getDeploymentGroupAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a get deployment group operation.public java.util.concurrent.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 get deployment group operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.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 get deployment instance operation.public java.util.concurrent.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 get deployment instance operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetOnPremisesInstanceResult> getOnPremisesInstanceAsync(GetOnPremisesInstanceRequest request)
AmazonCodeDeployAsync
Gets information about an on-premises instance.
getOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a get on-premises instance operation.public java.util.concurrent.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 get on-premises instance operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListApplicationRevisionsResult> listApplicationRevisionsAsync(ListApplicationRevisionsRequest request)
AmazonCodeDeployAsync
Lists information about revisions for an application.
listApplicationRevisionsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a list application revisions operation.public java.util.concurrent.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 list application revisions operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request)
AmazonCodeDeployAsync
Lists the applications registered with the applicable IAM user or AWS account.
listApplicationsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a list applications operation.public java.util.concurrent.Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
AmazonCodeDeployAsync
Lists the applications registered with the applicable IAM user or AWS account.
listApplicationsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a list applications operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListApplicationsResult> listApplicationsAsync()
listApplicationsAsync
in interface AmazonCodeDeployAsync
listApplicationsAsync(ListApplicationsRequest)
public java.util.concurrent.Future<ListApplicationsResult> listApplicationsAsync(AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
listApplicationsAsync
in interface AmazonCodeDeployAsync
listApplicationsAsync(ListApplicationsRequest,
com.amazonaws.handlers.AsyncHandler)
public java.util.concurrent.Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(ListDeploymentConfigsRequest request)
AmazonCodeDeployAsync
Lists the deployment configurations with the applicable IAM user or AWS account.
listDeploymentConfigsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a list deployment configurations
operation.public java.util.concurrent.Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(ListDeploymentConfigsRequest request, AsyncHandler<ListDeploymentConfigsRequest,ListDeploymentConfigsResult> asyncHandler)
AmazonCodeDeployAsync
Lists the deployment configurations with the applicable IAM user or AWS account.
listDeploymentConfigsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a list deployment configurations
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync()
listDeploymentConfigsAsync
in interface AmazonCodeDeployAsync
listDeploymentConfigsAsync(ListDeploymentConfigsRequest)
public java.util.concurrent.Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(AsyncHandler<ListDeploymentConfigsRequest,ListDeploymentConfigsResult> asyncHandler)
listDeploymentConfigsAsync
in interface AmazonCodeDeployAsync
listDeploymentConfigsAsync(ListDeploymentConfigsRequest,
com.amazonaws.handlers.AsyncHandler)
public java.util.concurrent.Future<ListDeploymentGroupsResult> listDeploymentGroupsAsync(ListDeploymentGroupsRequest request)
AmazonCodeDeployAsync
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
listDeploymentGroupsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a list deployment groups operation.public java.util.concurrent.Future<ListDeploymentGroupsResult> listDeploymentGroupsAsync(ListDeploymentGroupsRequest request, AsyncHandler<ListDeploymentGroupsRequest,ListDeploymentGroupsResult> asyncHandler)
AmazonCodeDeployAsync
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
listDeploymentGroupsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a list deployment groups operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListDeploymentInstancesResult> listDeploymentInstancesAsync(ListDeploymentInstancesRequest request)
AmazonCodeDeployAsync
Lists the instance for a deployment associated with the applicable IAM user or AWS account.
listDeploymentInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a list deployment instances operation.public java.util.concurrent.Future<ListDeploymentInstancesResult> listDeploymentInstancesAsync(ListDeploymentInstancesRequest request, AsyncHandler<ListDeploymentInstancesRequest,ListDeploymentInstancesResult> asyncHandler)
AmazonCodeDeployAsync
Lists the instance for a deployment associated with the applicable IAM user or AWS account.
listDeploymentInstancesAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a list deployment instances operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListDeploymentsResult> listDeploymentsAsync(ListDeploymentsRequest request)
AmazonCodeDeployAsync
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.
listDeploymentsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a list deployments operation.public java.util.concurrent.Future<ListDeploymentsResult> listDeploymentsAsync(ListDeploymentsRequest request, AsyncHandler<ListDeploymentsRequest,ListDeploymentsResult> asyncHandler)
AmazonCodeDeployAsync
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.
listDeploymentsAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a list deployments operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListDeploymentsResult> listDeploymentsAsync()
listDeploymentsAsync
in interface AmazonCodeDeployAsync
listDeploymentsAsync(ListDeploymentsRequest)
public java.util.concurrent.Future<ListDeploymentsResult> listDeploymentsAsync(AsyncHandler<ListDeploymentsRequest,ListDeploymentsResult> asyncHandler)
listDeploymentsAsync
in interface AmazonCodeDeployAsync
listDeploymentsAsync(ListDeploymentsRequest,
com.amazonaws.handlers.AsyncHandler)
public java.util.concurrent.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 will be 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 list on-premises instances operation.public java.util.concurrent.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 will be 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 list on-premises instances operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync()
listOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest)
public java.util.concurrent.Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(AsyncHandler<ListOnPremisesInstancesRequest,ListOnPremisesInstancesResult> asyncHandler)
listOnPremisesInstancesAsync
in interface AmazonCodeDeployAsync
listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest,
com.amazonaws.handlers.AsyncHandler)
public java.util.concurrent.Future<RegisterApplicationRevisionResult> registerApplicationRevisionAsync(RegisterApplicationRevisionRequest request)
AmazonCodeDeployAsync
Registers with AWS CodeDeploy a revision for the specified application.
registerApplicationRevisionAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a register application revision operation.public java.util.concurrent.Future<RegisterApplicationRevisionResult> registerApplicationRevisionAsync(RegisterApplicationRevisionRequest request, AsyncHandler<RegisterApplicationRevisionRequest,RegisterApplicationRevisionResult> asyncHandler)
AmazonCodeDeployAsync
Registers with AWS CodeDeploy a revision for the specified application.
registerApplicationRevisionAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a register application revision operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<RegisterOnPremisesInstanceResult> registerOnPremisesInstanceAsync(RegisterOnPremisesInstanceRequest request)
AmazonCodeDeployAsync
Registers an on-premises instance.
registerOnPremisesInstanceAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of the register on-premises instance
operation.public java.util.concurrent.Future<RegisterOnPremisesInstanceResult> registerOnPremisesInstanceAsync(RegisterOnPremisesInstanceRequest request, AsyncHandler<RegisterOnPremisesInstanceRequest,RegisterOnPremisesInstanceResult> asyncHandler)
AmazonCodeDeployAsync
Registers an on-premises instance.
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 java.util.concurrent.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 remove tags from on-premises instances
operation.public java.util.concurrent.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 remove tags from on-premises instances
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<StopDeploymentResult> stopDeploymentAsync(StopDeploymentRequest request)
AmazonCodeDeployAsync
Attempts to stop an ongoing deployment.
stopDeploymentAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of a stop deployment operation.public java.util.concurrent.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 stop deployment operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request)
AmazonCodeDeployAsync
Changes the name of an application.
updateApplicationAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of an update application operation.public java.util.concurrent.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 update application operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateApplicationResult> updateApplicationAsync()
updateApplicationAsync
in interface AmazonCodeDeployAsync
updateApplicationAsync(UpdateApplicationRequest)
public java.util.concurrent.Future<UpdateApplicationResult> updateApplicationAsync(AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
updateApplicationAsync
in interface AmazonCodeDeployAsync
updateApplicationAsync(UpdateApplicationRequest,
com.amazonaws.handlers.AsyncHandler)
public java.util.concurrent.Future<UpdateDeploymentGroupResult> updateDeploymentGroupAsync(UpdateDeploymentGroupRequest request)
AmazonCodeDeployAsync
Changes information about a deployment group.
updateDeploymentGroupAsync
in interface AmazonCodeDeployAsync
request
- Represents the input of an update deployment group operation.public java.util.concurrent.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 update deployment group operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by
getExecutorService().awaitTermination()
prior to calling this
method.shutdown
in interface AmazonCodeDeploy
shutdown
in class AmazonWebServiceClient