Class AmazonCodeDeployAsyncClient
- All Implemented Interfaces:
AmazonCodeDeploy
,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.
-
Field Summary
Fields inherited from class com.amazonaws.services.codedeploy.AmazonCodeDeployClient
configFactory
Fields inherited from class com.amazonaws.AmazonWebServiceClient
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs 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
(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, 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, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on CodeDeploy using the specified AWS account credentials provider and executor service.AmazonCodeDeployAsyncClient
(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, 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, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on CodeDeploy using the specified AWS account credentials and executor service.AmazonCodeDeployAsyncClient
(ClientConfiguration clientConfiguration) Constructs a new asynchronous client to invoke service methods on CodeDeploy. -
Method Summary
Modifier and TypeMethodDescriptionAdds tags to on-premises instances.addTagsToOnPremisesInstancesAsync
(AddTagsToOnPremisesInstancesRequest request, AsyncHandler<AddTagsToOnPremisesInstancesRequest, AddTagsToOnPremisesInstancesResult> asyncHandler) Adds tags to on-premises instances.Gets information about one or more application revisions.batchGetApplicationRevisionsAsync
(BatchGetApplicationRevisionsRequest request, AsyncHandler<BatchGetApplicationRevisionsRequest, BatchGetApplicationRevisionsResult> asyncHandler) Gets information about one or more application revisions.Simplified method form for invoking the BatchGetApplications operation.batchGetApplicationsAsync
(AsyncHandler<BatchGetApplicationsRequest, BatchGetApplicationsResult> asyncHandler) Simplified method form for invoking the BatchGetApplications operation with an AsyncHandler.Gets information about one or more applications.batchGetApplicationsAsync
(BatchGetApplicationsRequest request, AsyncHandler<BatchGetApplicationsRequest, BatchGetApplicationsResult> asyncHandler) Gets information about one or more applications.Get information about one or more deployment groups.batchGetDeploymentGroupsAsync
(BatchGetDeploymentGroupsRequest request, AsyncHandler<BatchGetDeploymentGroupsRequest, BatchGetDeploymentGroupsResult> asyncHandler) Get information about one or more deployment groups.Gets information about one or more instance that are part of a deployment group.batchGetDeploymentInstancesAsync
(BatchGetDeploymentInstancesRequest request, AsyncHandler<BatchGetDeploymentInstancesRequest, BatchGetDeploymentInstancesResult> asyncHandler) Gets information about one or more instance that are part of a deployment group.Simplified method form for invoking the BatchGetDeployments operation.batchGetDeploymentsAsync
(AsyncHandler<BatchGetDeploymentsRequest, BatchGetDeploymentsResult> asyncHandler) Simplified method form for invoking the BatchGetDeployments operation with an AsyncHandler.Gets information about one or more deployments.batchGetDeploymentsAsync
(BatchGetDeploymentsRequest request, AsyncHandler<BatchGetDeploymentsRequest, BatchGetDeploymentsResult> asyncHandler) Gets information about one or more deployments.Simplified method form for invoking the BatchGetOnPremisesInstances operation.batchGetOnPremisesInstancesAsync
(AsyncHandler<BatchGetOnPremisesInstancesRequest, BatchGetOnPremisesInstancesResult> asyncHandler) Simplified method form for invoking the BatchGetOnPremisesInstances operation with an AsyncHandler.Gets information about one or more on-premises instances.batchGetOnPremisesInstancesAsync
(BatchGetOnPremisesInstancesRequest request, AsyncHandler<BatchGetOnPremisesInstancesRequest, BatchGetOnPremisesInstancesResult> asyncHandler) Gets information about one or more on-premises instances.Creates an application.createApplicationAsync
(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest, CreateApplicationResult> asyncHandler) Creates an application.Deploys an application revision through the specified deployment group.createDeploymentAsync
(CreateDeploymentRequest request, AsyncHandler<CreateDeploymentRequest, CreateDeploymentResult> asyncHandler) Deploys an application revision through the specified deployment group.Creates a deployment configuration.createDeploymentConfigAsync
(CreateDeploymentConfigRequest request, AsyncHandler<CreateDeploymentConfigRequest, CreateDeploymentConfigResult> asyncHandler) Creates a deployment configuration.Creates a deployment group to which application revisions will be deployed.createDeploymentGroupAsync
(CreateDeploymentGroupRequest request, AsyncHandler<CreateDeploymentGroupRequest, CreateDeploymentGroupResult> asyncHandler) Creates a deployment group to which application revisions will be deployed.Deletes an application.deleteApplicationAsync
(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest, DeleteApplicationResult> asyncHandler) Deletes an application.Deletes a deployment configuration.deleteDeploymentConfigAsync
(DeleteDeploymentConfigRequest request, AsyncHandler<DeleteDeploymentConfigRequest, DeleteDeploymentConfigResult> asyncHandler) Deletes a deployment configuration.Deletes a deployment group.deleteDeploymentGroupAsync
(DeleteDeploymentGroupRequest request, AsyncHandler<DeleteDeploymentGroupRequest, DeleteDeploymentGroupResult> asyncHandler) Deletes a deployment group.Deregisters an on-premises instance.deregisterOnPremisesInstanceAsync
(DeregisterOnPremisesInstanceRequest request, AsyncHandler<DeregisterOnPremisesInstanceRequest, DeregisterOnPremisesInstanceResult> asyncHandler) Deregisters an on-premises instance.getApplicationAsync
(GetApplicationRequest request) Gets information about an application.getApplicationAsync
(GetApplicationRequest request, AsyncHandler<GetApplicationRequest, GetApplicationResult> asyncHandler) Gets information about an application.Gets information about an application revision.getApplicationRevisionAsync
(GetApplicationRevisionRequest request, AsyncHandler<GetApplicationRevisionRequest, GetApplicationRevisionResult> asyncHandler) Gets information about an application revision.getDeploymentAsync
(GetDeploymentRequest request) Gets information about a deployment.getDeploymentAsync
(GetDeploymentRequest request, AsyncHandler<GetDeploymentRequest, GetDeploymentResult> asyncHandler) Gets information about a deployment.Gets information about a deployment configuration.getDeploymentConfigAsync
(GetDeploymentConfigRequest request, AsyncHandler<GetDeploymentConfigRequest, GetDeploymentConfigResult> asyncHandler) Gets information about a deployment configuration.Gets information about a deployment group.getDeploymentGroupAsync
(GetDeploymentGroupRequest request, AsyncHandler<GetDeploymentGroupRequest, GetDeploymentGroupResult> asyncHandler) Gets information about a deployment group.Gets information about an instance as part of a deployment.getDeploymentInstanceAsync
(GetDeploymentInstanceRequest request, AsyncHandler<GetDeploymentInstanceRequest, GetDeploymentInstanceResult> asyncHandler) Gets information about an instance as part of a deployment.Returns the executor service used by this client to execute async requests.Gets information about an on-premises instance.getOnPremisesInstanceAsync
(GetOnPremisesInstanceRequest request, AsyncHandler<GetOnPremisesInstanceRequest, GetOnPremisesInstanceResult> asyncHandler) Gets information about an on-premises instance.Lists information about revisions for an application.listApplicationRevisionsAsync
(ListApplicationRevisionsRequest request, AsyncHandler<ListApplicationRevisionsRequest, ListApplicationRevisionsResult> asyncHandler) Lists information about revisions for an application.Simplified method form for invoking the ListApplications operation.Simplified method form for invoking the ListApplications operation with an AsyncHandler.Lists the applications registered with the applicable IAM user or AWS account.listApplicationsAsync
(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest, ListApplicationsResult> asyncHandler) Lists the applications registered with the applicable IAM user or AWS account.Simplified method form for invoking the ListDeploymentConfigs operation.listDeploymentConfigsAsync
(AsyncHandler<ListDeploymentConfigsRequest, ListDeploymentConfigsResult> asyncHandler) Simplified method form for invoking the ListDeploymentConfigs operation with an AsyncHandler.Lists the deployment configurations with the applicable IAM user or AWS account.listDeploymentConfigsAsync
(ListDeploymentConfigsRequest request, AsyncHandler<ListDeploymentConfigsRequest, ListDeploymentConfigsResult> asyncHandler) Lists the deployment configurations with the applicable IAM user or AWS account.Lists the deployment groups for an application registered with the applicable IAM user or AWS account.listDeploymentGroupsAsync
(ListDeploymentGroupsRequest request, AsyncHandler<ListDeploymentGroupsRequest, ListDeploymentGroupsResult> asyncHandler) Lists the deployment groups for an application registered with the applicable IAM user or AWS account.Lists the instance for a deployment associated with the applicable IAM user or AWS account.listDeploymentInstancesAsync
(ListDeploymentInstancesRequest request, AsyncHandler<ListDeploymentInstancesRequest, ListDeploymentInstancesResult> asyncHandler) Lists the instance for a deployment associated with the applicable IAM user or AWS account.Simplified method form for invoking the ListDeployments operation.Simplified method form for invoking the ListDeployments operation with an AsyncHandler.Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.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.Simplified method form for invoking the ListOnPremisesInstances operation.listOnPremisesInstancesAsync
(AsyncHandler<ListOnPremisesInstancesRequest, ListOnPremisesInstancesResult> asyncHandler) Simplified method form for invoking the ListOnPremisesInstances operation with an AsyncHandler.Gets a list of names for one or more on-premises instances.listOnPremisesInstancesAsync
(ListOnPremisesInstancesRequest request, AsyncHandler<ListOnPremisesInstancesRequest, ListOnPremisesInstancesResult> asyncHandler) Gets a list of names for one or more on-premises instances.Registers with AWS CodeDeploy a revision for the specified application.registerApplicationRevisionAsync
(RegisterApplicationRevisionRequest request, AsyncHandler<RegisterApplicationRevisionRequest, RegisterApplicationRevisionResult> asyncHandler) Registers with AWS CodeDeploy a revision for the specified application.Registers an on-premises instance.registerOnPremisesInstanceAsync
(RegisterOnPremisesInstanceRequest request, AsyncHandler<RegisterOnPremisesInstanceRequest, RegisterOnPremisesInstanceResult> asyncHandler) Registers an on-premises instance.Removes one or more tags from one or more on-premises instances.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.stopDeploymentAsync
(StopDeploymentRequest request) Attempts to stop an ongoing deployment.stopDeploymentAsync
(StopDeploymentRequest request, AsyncHandler<StopDeploymentRequest, StopDeploymentResult> asyncHandler) Attempts to stop an ongoing deployment.Simplified method form for invoking the UpdateApplication operation.Simplified method form for invoking the UpdateApplication operation with an AsyncHandler.Changes the name of an application.updateApplicationAsync
(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest, UpdateApplicationResult> asyncHandler) Changes the name of an application.Changes information about a deployment group.updateDeploymentGroupAsync
(UpdateDeploymentGroupRequest request, AsyncHandler<UpdateDeploymentGroupRequest, UpdateDeploymentGroupResult> asyncHandler) Changes information about a deployment group.Methods inherited from class com.amazonaws.services.codedeploy.AmazonCodeDeployClient
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
Methods inherited from class com.amazonaws.AmazonWebServiceClient
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.amazonaws.services.codedeploy.AmazonCodeDeploy
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
-
Constructor Details
-
AmazonCodeDeployAsyncClient
public AmazonCodeDeployAsyncClient()Constructs a new asynchronous client to invoke service methods on CodeDeploy. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
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).
-
AmazonCodeDeployAsyncClient
Constructs a new asynchronous client to invoke service methods on CodeDeploy. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
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()
.- Parameters:
clientConfiguration
- The client configuration options controlling how this client connects to CodeDeploy (ex: proxy settings, retry counts, etc).- See Also:
-
AmazonCodeDeployAsyncClient
Constructs a new asynchronous client to invoke service methods on CodeDeploy using the specified AWS account credentials.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).
- Parameters:
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.- See Also:
-
AmazonCodeDeployAsyncClient
Constructs a new asynchronous client to invoke service methods on CodeDeploy using the specified AWS account credentials and executor service. Default client settings will be used.- Parameters:
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.
-
AmazonCodeDeployAsyncClient
public AmazonCodeDeployAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, 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.- Parameters:
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.
-
AmazonCodeDeployAsyncClient
Constructs a new asynchronous client to invoke service methods on CodeDeploy using the specified AWS account credentials provider. Default client settings will be used.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).
- Parameters:
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.- See Also:
-
AmazonCodeDeployAsyncClient
public 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.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()
.- Parameters:
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).- See Also:
-
AmazonCodeDeployAsyncClient
public AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on CodeDeploy using the specified AWS account credentials provider and executor service. Default client settings will be used.- Parameters:
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.
-
AmazonCodeDeployAsyncClient
public AmazonCodeDeployAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, 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.- Parameters:
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.
-
-
Method Details
-
getExecutorService
Returns the executor service used by this client to execute async requests.- Returns:
- The executor service used by this client to execute async requests.
-
addTagsToOnPremisesInstancesAsync
public Future<AddTagsToOnPremisesInstancesResult> addTagsToOnPremisesInstancesAsync(AddTagsToOnPremisesInstancesRequest request) Description copied from interface:AmazonCodeDeployAsync
Adds tags to on-premises instances.
- Specified by:
addTagsToOnPremisesInstancesAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of, and adds tags to, an on-premises instance operation.- Returns:
- A Java Future containing the result of the AddTagsToOnPremisesInstances operation returned by the service.
-
addTagsToOnPremisesInstancesAsync
public Future<AddTagsToOnPremisesInstancesResult> addTagsToOnPremisesInstancesAsync(AddTagsToOnPremisesInstancesRequest request, AsyncHandler<AddTagsToOnPremisesInstancesRequest, AddTagsToOnPremisesInstancesResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Adds tags to on-premises instances.
- Specified by:
addTagsToOnPremisesInstancesAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the AddTagsToOnPremisesInstances operation returned by the service.
-
batchGetApplicationRevisionsAsync
public Future<BatchGetApplicationRevisionsResult> batchGetApplicationRevisionsAsync(BatchGetApplicationRevisionsRequest request) Description copied from interface:AmazonCodeDeployAsync
Gets information about one or more application revisions.
- Specified by:
batchGetApplicationRevisionsAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a batch get application revisions operation.- Returns:
- A Java Future containing the result of the BatchGetApplicationRevisions operation returned by the service.
-
batchGetApplicationRevisionsAsync
public Future<BatchGetApplicationRevisionsResult> batchGetApplicationRevisionsAsync(BatchGetApplicationRevisionsRequest request, AsyncHandler<BatchGetApplicationRevisionsRequest, BatchGetApplicationRevisionsResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Gets information about one or more application revisions.
- Specified by:
batchGetApplicationRevisionsAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the BatchGetApplicationRevisions operation returned by the service.
-
batchGetApplicationsAsync
public Future<BatchGetApplicationsResult> batchGetApplicationsAsync(BatchGetApplicationsRequest request) Description copied from interface:AmazonCodeDeployAsync
Gets information about one or more applications.
- Specified by:
batchGetApplicationsAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a batch get applications operation.- Returns:
- A Java Future containing the result of the BatchGetApplications operation returned by the service.
-
batchGetApplicationsAsync
public Future<BatchGetApplicationsResult> batchGetApplicationsAsync(BatchGetApplicationsRequest request, AsyncHandler<BatchGetApplicationsRequest, BatchGetApplicationsResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Gets information about one or more applications.
- Specified by:
batchGetApplicationsAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the BatchGetApplications operation returned by the service.
-
batchGetApplicationsAsync
Simplified method form for invoking the BatchGetApplications operation.- Specified by:
batchGetApplicationsAsync
in interfaceAmazonCodeDeployAsync
- See Also:
-
batchGetApplicationsAsync
public Future<BatchGetApplicationsResult> batchGetApplicationsAsync(AsyncHandler<BatchGetApplicationsRequest, BatchGetApplicationsResult> asyncHandler) Simplified method form for invoking the BatchGetApplications operation with an AsyncHandler.- Specified by:
batchGetApplicationsAsync
in interfaceAmazonCodeDeployAsync
- See Also:
-
batchGetDeploymentGroupsAsync
public Future<BatchGetDeploymentGroupsResult> batchGetDeploymentGroupsAsync(BatchGetDeploymentGroupsRequest request) Description copied from interface:AmazonCodeDeployAsync
Get information about one or more deployment groups.
- Specified by:
batchGetDeploymentGroupsAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a batch get deployment groups operation.- Returns:
- A Java Future containing the result of the BatchGetDeploymentGroups operation returned by the service.
-
batchGetDeploymentGroupsAsync
public Future<BatchGetDeploymentGroupsResult> batchGetDeploymentGroupsAsync(BatchGetDeploymentGroupsRequest request, AsyncHandler<BatchGetDeploymentGroupsRequest, BatchGetDeploymentGroupsResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Get information about one or more deployment groups.
- Specified by:
batchGetDeploymentGroupsAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the BatchGetDeploymentGroups operation returned by the service.
-
batchGetDeploymentInstancesAsync
public Future<BatchGetDeploymentInstancesResult> batchGetDeploymentInstancesAsync(BatchGetDeploymentInstancesRequest request) Description copied from interface:AmazonCodeDeployAsync
Gets information about one or more instance that are part of a deployment group.
- Specified by:
batchGetDeploymentInstancesAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a batch get deployment instances operation.- Returns:
- A Java Future containing the result of the BatchGetDeploymentInstances operation returned by the service.
-
batchGetDeploymentInstancesAsync
public Future<BatchGetDeploymentInstancesResult> batchGetDeploymentInstancesAsync(BatchGetDeploymentInstancesRequest request, AsyncHandler<BatchGetDeploymentInstancesRequest, BatchGetDeploymentInstancesResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Gets information about one or more instance that are part of a deployment group.
- Specified by:
batchGetDeploymentInstancesAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the BatchGetDeploymentInstances operation returned by the service.
-
batchGetDeploymentsAsync
public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(BatchGetDeploymentsRequest request) Description copied from interface:AmazonCodeDeployAsync
Gets information about one or more deployments.
- Specified by:
batchGetDeploymentsAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a batch get deployments operation.- Returns:
- A Java Future containing the result of the BatchGetDeployments operation returned by the service.
-
batchGetDeploymentsAsync
public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(BatchGetDeploymentsRequest request, AsyncHandler<BatchGetDeploymentsRequest, BatchGetDeploymentsResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Gets information about one or more deployments.
- Specified by:
batchGetDeploymentsAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the BatchGetDeployments operation returned by the service.
-
batchGetDeploymentsAsync
Simplified method form for invoking the BatchGetDeployments operation.- Specified by:
batchGetDeploymentsAsync
in interfaceAmazonCodeDeployAsync
- See Also:
-
batchGetDeploymentsAsync
public Future<BatchGetDeploymentsResult> batchGetDeploymentsAsync(AsyncHandler<BatchGetDeploymentsRequest, BatchGetDeploymentsResult> asyncHandler) Simplified method form for invoking the BatchGetDeployments operation with an AsyncHandler.- Specified by:
batchGetDeploymentsAsync
in interfaceAmazonCodeDeployAsync
- See Also:
-
batchGetOnPremisesInstancesAsync
public Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest request) Description copied from interface:AmazonCodeDeployAsync
Gets information about one or more on-premises instances.
- Specified by:
batchGetOnPremisesInstancesAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a batch get on-premises instances operation.- Returns:
- A Java Future containing the result of the BatchGetOnPremisesInstances operation returned by the service.
-
batchGetOnPremisesInstancesAsync
public Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest request, AsyncHandler<BatchGetOnPremisesInstancesRequest, BatchGetOnPremisesInstancesResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Gets information about one or more on-premises instances.
- Specified by:
batchGetOnPremisesInstancesAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the BatchGetOnPremisesInstances operation returned by the service.
-
batchGetOnPremisesInstancesAsync
Simplified method form for invoking the BatchGetOnPremisesInstances operation.- Specified by:
batchGetOnPremisesInstancesAsync
in interfaceAmazonCodeDeployAsync
- See Also:
-
batchGetOnPremisesInstancesAsync
public Future<BatchGetOnPremisesInstancesResult> batchGetOnPremisesInstancesAsync(AsyncHandler<BatchGetOnPremisesInstancesRequest, BatchGetOnPremisesInstancesResult> asyncHandler) Simplified method form for invoking the BatchGetOnPremisesInstances operation with an AsyncHandler. -
createApplicationAsync
Description copied from interface:AmazonCodeDeployAsync
Creates an application.
- Specified by:
createApplicationAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a create application operation.- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
-
createApplicationAsync
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest, CreateApplicationResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Creates an application.
- Specified by:
createApplicationAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
-
createDeploymentAsync
Description copied from interface:AmazonCodeDeployAsync
Deploys an application revision through the specified deployment group.
- Specified by:
createDeploymentAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a create deployment operation.- Returns:
- A Java Future containing the result of the CreateDeployment operation returned by the service.
-
createDeploymentAsync
public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest request, AsyncHandler<CreateDeploymentRequest, CreateDeploymentResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Deploys an application revision through the specified deployment group.
- Specified by:
createDeploymentAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateDeployment operation returned by the service.
-
createDeploymentConfigAsync
public Future<CreateDeploymentConfigResult> createDeploymentConfigAsync(CreateDeploymentConfigRequest request) Description copied from interface:AmazonCodeDeployAsync
Creates a deployment configuration.
- Specified by:
createDeploymentConfigAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a create deployment configuration operation.- Returns:
- A Java Future containing the result of the CreateDeploymentConfig operation returned by the service.
-
createDeploymentConfigAsync
public Future<CreateDeploymentConfigResult> createDeploymentConfigAsync(CreateDeploymentConfigRequest request, AsyncHandler<CreateDeploymentConfigRequest, CreateDeploymentConfigResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Creates a deployment configuration.
- Specified by:
createDeploymentConfigAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateDeploymentConfig operation returned by the service.
-
createDeploymentGroupAsync
public Future<CreateDeploymentGroupResult> createDeploymentGroupAsync(CreateDeploymentGroupRequest request) Description copied from interface:AmazonCodeDeployAsync
Creates a deployment group to which application revisions will be deployed.
- Specified by:
createDeploymentGroupAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a create deployment group operation.- Returns:
- A Java Future containing the result of the CreateDeploymentGroup operation returned by the service.
-
createDeploymentGroupAsync
public Future<CreateDeploymentGroupResult> createDeploymentGroupAsync(CreateDeploymentGroupRequest request, AsyncHandler<CreateDeploymentGroupRequest, CreateDeploymentGroupResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Creates a deployment group to which application revisions will be deployed.
- Specified by:
createDeploymentGroupAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateDeploymentGroup operation returned by the service.
-
deleteApplicationAsync
Description copied from interface:AmazonCodeDeployAsync
Deletes an application.
- Specified by:
deleteApplicationAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a delete application operation.- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
-
deleteApplicationAsync
public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest, DeleteApplicationResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Deletes an application.
- Specified by:
deleteApplicationAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
-
deleteDeploymentConfigAsync
public Future<DeleteDeploymentConfigResult> deleteDeploymentConfigAsync(DeleteDeploymentConfigRequest request) Description copied from interface:AmazonCodeDeployAsync
Deletes a deployment configuration.
A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted. - Specified by:
deleteDeploymentConfigAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a delete deployment configuration operation.- Returns:
- A Java Future containing the result of the DeleteDeploymentConfig operation returned by the service.
-
deleteDeploymentConfigAsync
public Future<DeleteDeploymentConfigResult> deleteDeploymentConfigAsync(DeleteDeploymentConfigRequest request, AsyncHandler<DeleteDeploymentConfigRequest, DeleteDeploymentConfigResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Deletes a deployment configuration.
A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted. - Specified by:
deleteDeploymentConfigAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteDeploymentConfig operation returned by the service.
-
deleteDeploymentGroupAsync
public Future<DeleteDeploymentGroupResult> deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest request) Description copied from interface:AmazonCodeDeployAsync
Deletes a deployment group.
- Specified by:
deleteDeploymentGroupAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a delete deployment group operation.- Returns:
- A Java Future containing the result of the DeleteDeploymentGroup operation returned by the service.
-
deleteDeploymentGroupAsync
public Future<DeleteDeploymentGroupResult> deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest request, AsyncHandler<DeleteDeploymentGroupRequest, DeleteDeploymentGroupResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Deletes a deployment group.
- Specified by:
deleteDeploymentGroupAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteDeploymentGroup operation returned by the service.
-
deregisterOnPremisesInstanceAsync
public Future<DeregisterOnPremisesInstanceResult> deregisterOnPremisesInstanceAsync(DeregisterOnPremisesInstanceRequest request) Description copied from interface:AmazonCodeDeployAsync
Deregisters an on-premises instance.
- Specified by:
deregisterOnPremisesInstanceAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a deregister on-premises instance operation.- Returns:
- A Java Future containing the result of the DeregisterOnPremisesInstance operation returned by the service.
-
deregisterOnPremisesInstanceAsync
public Future<DeregisterOnPremisesInstanceResult> deregisterOnPremisesInstanceAsync(DeregisterOnPremisesInstanceRequest request, AsyncHandler<DeregisterOnPremisesInstanceRequest, DeregisterOnPremisesInstanceResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Deregisters an on-premises instance.
- Specified by:
deregisterOnPremisesInstanceAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeregisterOnPremisesInstance operation returned by the service.
-
getApplicationAsync
Description copied from interface:AmazonCodeDeployAsync
Gets information about an application.
- Specified by:
getApplicationAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a get application operation.- Returns:
- A Java Future containing the result of the GetApplication operation returned by the service.
-
getApplicationAsync
public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request, AsyncHandler<GetApplicationRequest, GetApplicationResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Gets information about an application.
- Specified by:
getApplicationAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetApplication operation returned by the service.
-
getApplicationRevisionAsync
public Future<GetApplicationRevisionResult> getApplicationRevisionAsync(GetApplicationRevisionRequest request) Description copied from interface:AmazonCodeDeployAsync
Gets information about an application revision.
- Specified by:
getApplicationRevisionAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a get application revision operation.- Returns:
- A Java Future containing the result of the GetApplicationRevision operation returned by the service.
-
getApplicationRevisionAsync
public Future<GetApplicationRevisionResult> getApplicationRevisionAsync(GetApplicationRevisionRequest request, AsyncHandler<GetApplicationRevisionRequest, GetApplicationRevisionResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Gets information about an application revision.
- Specified by:
getApplicationRevisionAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetApplicationRevision operation returned by the service.
-
getDeploymentAsync
Description copied from interface:AmazonCodeDeployAsync
Gets information about a deployment.
- Specified by:
getDeploymentAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a get deployment operation.- Returns:
- A Java Future containing the result of the GetDeployment operation returned by the service.
-
getDeploymentAsync
public Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest request, AsyncHandler<GetDeploymentRequest, GetDeploymentResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Gets information about a deployment.
- Specified by:
getDeploymentAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetDeployment operation returned by the service.
-
getDeploymentConfigAsync
public Future<GetDeploymentConfigResult> getDeploymentConfigAsync(GetDeploymentConfigRequest request) Description copied from interface:AmazonCodeDeployAsync
Gets information about a deployment configuration.
- Specified by:
getDeploymentConfigAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a get deployment configuration operation.- Returns:
- A Java Future containing the result of the GetDeploymentConfig operation returned by the service.
-
getDeploymentConfigAsync
public Future<GetDeploymentConfigResult> getDeploymentConfigAsync(GetDeploymentConfigRequest request, AsyncHandler<GetDeploymentConfigRequest, GetDeploymentConfigResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Gets information about a deployment configuration.
- Specified by:
getDeploymentConfigAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetDeploymentConfig operation returned by the service.
-
getDeploymentGroupAsync
Description copied from interface:AmazonCodeDeployAsync
Gets information about a deployment group.
- Specified by:
getDeploymentGroupAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a get deployment group operation.- Returns:
- A Java Future containing the result of the GetDeploymentGroup operation returned by the service.
-
getDeploymentGroupAsync
public Future<GetDeploymentGroupResult> getDeploymentGroupAsync(GetDeploymentGroupRequest request, AsyncHandler<GetDeploymentGroupRequest, GetDeploymentGroupResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Gets information about a deployment group.
- Specified by:
getDeploymentGroupAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetDeploymentGroup operation returned by the service.
-
getDeploymentInstanceAsync
public Future<GetDeploymentInstanceResult> getDeploymentInstanceAsync(GetDeploymentInstanceRequest request) Description copied from interface:AmazonCodeDeployAsync
Gets information about an instance as part of a deployment.
- Specified by:
getDeploymentInstanceAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a get deployment instance operation.- Returns:
- A Java Future containing the result of the GetDeploymentInstance operation returned by the service.
-
getDeploymentInstanceAsync
public Future<GetDeploymentInstanceResult> getDeploymentInstanceAsync(GetDeploymentInstanceRequest request, AsyncHandler<GetDeploymentInstanceRequest, GetDeploymentInstanceResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Gets information about an instance as part of a deployment.
- Specified by:
getDeploymentInstanceAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetDeploymentInstance operation returned by the service.
-
getOnPremisesInstanceAsync
public Future<GetOnPremisesInstanceResult> getOnPremisesInstanceAsync(GetOnPremisesInstanceRequest request) Description copied from interface:AmazonCodeDeployAsync
Gets information about an on-premises instance.
- Specified by:
getOnPremisesInstanceAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a get on-premises instance operation.- Returns:
- A Java Future containing the result of the GetOnPremisesInstance operation returned by the service.
-
getOnPremisesInstanceAsync
public Future<GetOnPremisesInstanceResult> getOnPremisesInstanceAsync(GetOnPremisesInstanceRequest request, AsyncHandler<GetOnPremisesInstanceRequest, GetOnPremisesInstanceResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Gets information about an on-premises instance.
- Specified by:
getOnPremisesInstanceAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetOnPremisesInstance operation returned by the service.
-
listApplicationRevisionsAsync
public Future<ListApplicationRevisionsResult> listApplicationRevisionsAsync(ListApplicationRevisionsRequest request) Description copied from interface:AmazonCodeDeployAsync
Lists information about revisions for an application.
- Specified by:
listApplicationRevisionsAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a list application revisions operation.- Returns:
- A Java Future containing the result of the ListApplicationRevisions operation returned by the service.
-
listApplicationRevisionsAsync
public Future<ListApplicationRevisionsResult> listApplicationRevisionsAsync(ListApplicationRevisionsRequest request, AsyncHandler<ListApplicationRevisionsRequest, ListApplicationRevisionsResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Lists information about revisions for an application.
- Specified by:
listApplicationRevisionsAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the ListApplicationRevisions operation returned by the service.
-
listApplicationsAsync
Description copied from interface:AmazonCodeDeployAsync
Lists the applications registered with the applicable IAM user or AWS account.
- Specified by:
listApplicationsAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a list applications operation.- Returns:
- A Java Future containing the result of the ListApplications operation returned by the service.
-
listApplicationsAsync
public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest, ListApplicationsResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Lists the applications registered with the applicable IAM user or AWS account.
- Specified by:
listApplicationsAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the ListApplications operation returned by the service.
-
listApplicationsAsync
Simplified method form for invoking the ListApplications operation.- Specified by:
listApplicationsAsync
in interfaceAmazonCodeDeployAsync
- See Also:
-
listApplicationsAsync
public Future<ListApplicationsResult> listApplicationsAsync(AsyncHandler<ListApplicationsRequest, ListApplicationsResult> asyncHandler) Simplified method form for invoking the ListApplications operation with an AsyncHandler.- Specified by:
listApplicationsAsync
in interfaceAmazonCodeDeployAsync
- See Also:
-
listDeploymentConfigsAsync
public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(ListDeploymentConfigsRequest request) Description copied from interface:AmazonCodeDeployAsync
Lists the deployment configurations with the applicable IAM user or AWS account.
- Specified by:
listDeploymentConfigsAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a list deployment configurations operation.- Returns:
- A Java Future containing the result of the ListDeploymentConfigs operation returned by the service.
-
listDeploymentConfigsAsync
public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(ListDeploymentConfigsRequest request, AsyncHandler<ListDeploymentConfigsRequest, ListDeploymentConfigsResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Lists the deployment configurations with the applicable IAM user or AWS account.
- Specified by:
listDeploymentConfigsAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the ListDeploymentConfigs operation returned by the service.
-
listDeploymentConfigsAsync
Simplified method form for invoking the ListDeploymentConfigs operation.- Specified by:
listDeploymentConfigsAsync
in interfaceAmazonCodeDeployAsync
- See Also:
-
listDeploymentConfigsAsync
public Future<ListDeploymentConfigsResult> listDeploymentConfigsAsync(AsyncHandler<ListDeploymentConfigsRequest, ListDeploymentConfigsResult> asyncHandler) Simplified method form for invoking the ListDeploymentConfigs operation with an AsyncHandler.- Specified by:
listDeploymentConfigsAsync
in interfaceAmazonCodeDeployAsync
- See Also:
-
listDeploymentGroupsAsync
public Future<ListDeploymentGroupsResult> listDeploymentGroupsAsync(ListDeploymentGroupsRequest request) Description copied from interface:AmazonCodeDeployAsync
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
- Specified by:
listDeploymentGroupsAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a list deployment groups operation.- Returns:
- A Java Future containing the result of the ListDeploymentGroups operation returned by the service.
-
listDeploymentGroupsAsync
public Future<ListDeploymentGroupsResult> listDeploymentGroupsAsync(ListDeploymentGroupsRequest request, AsyncHandler<ListDeploymentGroupsRequest, ListDeploymentGroupsResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
- Specified by:
listDeploymentGroupsAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the ListDeploymentGroups operation returned by the service.
-
listDeploymentInstancesAsync
public Future<ListDeploymentInstancesResult> listDeploymentInstancesAsync(ListDeploymentInstancesRequest request) Description copied from interface:AmazonCodeDeployAsync
Lists the instance for a deployment associated with the applicable IAM user or AWS account.
- Specified by:
listDeploymentInstancesAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a list deployment instances operation.- Returns:
- A Java Future containing the result of the ListDeploymentInstances operation returned by the service.
-
listDeploymentInstancesAsync
public Future<ListDeploymentInstancesResult> listDeploymentInstancesAsync(ListDeploymentInstancesRequest request, AsyncHandler<ListDeploymentInstancesRequest, ListDeploymentInstancesResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Lists the instance for a deployment associated with the applicable IAM user or AWS account.
- Specified by:
listDeploymentInstancesAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the ListDeploymentInstances operation returned by the service.
-
listDeploymentsAsync
Description copied from interface:AmazonCodeDeployAsync
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.
- Specified by:
listDeploymentsAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a list deployments operation.- Returns:
- A Java Future containing the result of the ListDeployments operation returned by the service.
-
listDeploymentsAsync
public Future<ListDeploymentsResult> listDeploymentsAsync(ListDeploymentsRequest request, AsyncHandler<ListDeploymentsRequest, ListDeploymentsResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.
- Specified by:
listDeploymentsAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the ListDeployments operation returned by the service.
-
listDeploymentsAsync
Simplified method form for invoking the ListDeployments operation.- Specified by:
listDeploymentsAsync
in interfaceAmazonCodeDeployAsync
- See Also:
-
listDeploymentsAsync
public Future<ListDeploymentsResult> listDeploymentsAsync(AsyncHandler<ListDeploymentsRequest, ListDeploymentsResult> asyncHandler) Simplified method form for invoking the ListDeployments operation with an AsyncHandler.- Specified by:
listDeploymentsAsync
in interfaceAmazonCodeDeployAsync
- See Also:
-
listOnPremisesInstancesAsync
public Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest request) Description copied from interface: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.
- Specified by:
listOnPremisesInstancesAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a list on-premises instances operation.- Returns:
- A Java Future containing the result of the ListOnPremisesInstances operation returned by the service.
-
listOnPremisesInstancesAsync
public Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest request, AsyncHandler<ListOnPremisesInstancesRequest, ListOnPremisesInstancesResult> asyncHandler) Description copied from interface: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.
- Specified by:
listOnPremisesInstancesAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the ListOnPremisesInstances operation returned by the service.
-
listOnPremisesInstancesAsync
Simplified method form for invoking the ListOnPremisesInstances operation.- Specified by:
listOnPremisesInstancesAsync
in interfaceAmazonCodeDeployAsync
- See Also:
-
listOnPremisesInstancesAsync
public Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(AsyncHandler<ListOnPremisesInstancesRequest, ListOnPremisesInstancesResult> asyncHandler) Simplified method form for invoking the ListOnPremisesInstances operation with an AsyncHandler.- Specified by:
listOnPremisesInstancesAsync
in interfaceAmazonCodeDeployAsync
- See Also:
-
registerApplicationRevisionAsync
public Future<RegisterApplicationRevisionResult> registerApplicationRevisionAsync(RegisterApplicationRevisionRequest request) Description copied from interface:AmazonCodeDeployAsync
Registers with AWS CodeDeploy a revision for the specified application.
- Specified by:
registerApplicationRevisionAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a register application revision operation.- Returns:
- A Java Future containing the result of the RegisterApplicationRevision operation returned by the service.
-
registerApplicationRevisionAsync
public Future<RegisterApplicationRevisionResult> registerApplicationRevisionAsync(RegisterApplicationRevisionRequest request, AsyncHandler<RegisterApplicationRevisionRequest, RegisterApplicationRevisionResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Registers with AWS CodeDeploy a revision for the specified application.
- Specified by:
registerApplicationRevisionAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the RegisterApplicationRevision operation returned by the service.
-
registerOnPremisesInstanceAsync
public Future<RegisterOnPremisesInstanceResult> registerOnPremisesInstanceAsync(RegisterOnPremisesInstanceRequest request) Description copied from interface:AmazonCodeDeployAsync
Registers an on-premises instance.
- Specified by:
registerOnPremisesInstanceAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of the register on-premises instance operation.- Returns:
- A Java Future containing the result of the RegisterOnPremisesInstance operation returned by the service.
-
registerOnPremisesInstanceAsync
public Future<RegisterOnPremisesInstanceResult> registerOnPremisesInstanceAsync(RegisterOnPremisesInstanceRequest request, AsyncHandler<RegisterOnPremisesInstanceRequest, RegisterOnPremisesInstanceResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Registers an on-premises instance.
- Specified by:
registerOnPremisesInstanceAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the RegisterOnPremisesInstance operation returned by the service.
-
removeTagsFromOnPremisesInstancesAsync
public Future<RemoveTagsFromOnPremisesInstancesResult> removeTagsFromOnPremisesInstancesAsync(RemoveTagsFromOnPremisesInstancesRequest request) Description copied from interface:AmazonCodeDeployAsync
Removes one or more tags from one or more on-premises instances.
- Specified by:
removeTagsFromOnPremisesInstancesAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a remove tags from on-premises instances operation.- Returns:
- A Java Future containing the result of the RemoveTagsFromOnPremisesInstances operation returned by the service.
-
removeTagsFromOnPremisesInstancesAsync
public Future<RemoveTagsFromOnPremisesInstancesResult> removeTagsFromOnPremisesInstancesAsync(RemoveTagsFromOnPremisesInstancesRequest request, AsyncHandler<RemoveTagsFromOnPremisesInstancesRequest, RemoveTagsFromOnPremisesInstancesResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Removes one or more tags from one or more on-premises instances.
- Specified by:
removeTagsFromOnPremisesInstancesAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the RemoveTagsFromOnPremisesInstances operation returned by the service.
-
stopDeploymentAsync
Description copied from interface:AmazonCodeDeployAsync
Attempts to stop an ongoing deployment.
- Specified by:
stopDeploymentAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of a stop deployment operation.- Returns:
- A Java Future containing the result of the StopDeployment operation returned by the service.
-
stopDeploymentAsync
public Future<StopDeploymentResult> stopDeploymentAsync(StopDeploymentRequest request, AsyncHandler<StopDeploymentRequest, StopDeploymentResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Attempts to stop an ongoing deployment.
- Specified by:
stopDeploymentAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the StopDeployment operation returned by the service.
-
updateApplicationAsync
Description copied from interface:AmazonCodeDeployAsync
Changes the name of an application.
- Specified by:
updateApplicationAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of an update application operation.- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
-
updateApplicationAsync
public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest, UpdateApplicationResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Changes the name of an application.
- Specified by:
updateApplicationAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
-
updateApplicationAsync
Simplified method form for invoking the UpdateApplication operation.- Specified by:
updateApplicationAsync
in interfaceAmazonCodeDeployAsync
- See Also:
-
updateApplicationAsync
public Future<UpdateApplicationResult> updateApplicationAsync(AsyncHandler<UpdateApplicationRequest, UpdateApplicationResult> asyncHandler) Simplified method form for invoking the UpdateApplication operation with an AsyncHandler.- Specified by:
updateApplicationAsync
in interfaceAmazonCodeDeployAsync
- See Also:
-
updateDeploymentGroupAsync
public Future<UpdateDeploymentGroupResult> updateDeploymentGroupAsync(UpdateDeploymentGroupRequest request) Description copied from interface:AmazonCodeDeployAsync
Changes information about a deployment group.
- Specified by:
updateDeploymentGroupAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
request
- Represents the input of an update deployment group operation.- Returns:
- A Java Future containing the result of the UpdateDeploymentGroup operation returned by the service.
-
updateDeploymentGroupAsync
public Future<UpdateDeploymentGroupResult> updateDeploymentGroupAsync(UpdateDeploymentGroupRequest request, AsyncHandler<UpdateDeploymentGroupRequest, UpdateDeploymentGroupResult> asyncHandler) Description copied from interface:AmazonCodeDeployAsync
Changes information about a deployment group.
- Specified by:
updateDeploymentGroupAsync
in interfaceAmazonCodeDeployAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the UpdateDeploymentGroup operation returned by the service.
-
shutdown
public void shutdown()Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should callgetExecutorService().shutdown()
followed bygetExecutorService().awaitTermination()
prior to calling this method.- Specified by:
shutdown
in interfaceAmazonCodeDeploy
- Overrides:
shutdown
in classAmazonWebServiceClient
-