@Generated(value="software.amazon.awssdk:codegen") public interface CodeDeployAsyncClient extends SdkClient
builder()
method.
AWS CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances or on-premises instances running in your own facility.
You can deploy a nearly unlimited variety of application content, such as code, web and configuration files, executables, packages, scripts, multimedia files, and so on. AWS CodeDeploy can deploy application content stored in Amazon S3 buckets, GitHub repositories, or Bitbucket repositories. You do not need to make changes to your existing code before you can use AWS CodeDeploy.
AWS CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during application deployment, and handles the complexity of updating your applications, without many of the risks associated with error-prone manual deployments.
AWS CodeDeploy Components
Use the information in this guide to help you work with the following AWS CodeDeploy components:
Application: A name that uniquely identifies the application you want to deploy. AWS CodeDeploy uses this name, which functions as a container, to ensure the correct combination of revision, deployment configuration, and deployment group are referenced during a deployment.
Deployment group: A set of individual instances. A deployment group contains individually tagged instances, Amazon EC2 instances in Auto Scaling groups, or both.
Deployment configuration: A set of deployment rules and deployment success and failure conditions used by AWS CodeDeploy during a deployment.
Deployment: The process, and the components involved in the process, of installing content on one or more instances.
Application revisions: An archive file containing source content—source code, web pages, executable files, and deployment scripts—along with an application specification file (AppSpec file). Revisions are stored in Amazon S3 buckets or GitHub repositories. For Amazon S3, a revision is uniquely identified by its Amazon S3 object key and its ETag, version, or both. For GitHub, a revision is uniquely identified by its commit ID.
This guide also contains information to help you get details about the instances in your deployments and to make on-premises instances available for AWS CodeDeploy deployments.
AWS CodeDeploy Information Resources
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
default CompletableFuture<AddTagsToOnPremisesInstancesResponse> |
addTagsToOnPremisesInstances(AddTagsToOnPremisesInstancesRequest addTagsToOnPremisesInstancesRequest)
Adds tags to on-premises instances.
|
default CompletableFuture<AddTagsToOnPremisesInstancesResponse> |
addTagsToOnPremisesInstances(Consumer<AddTagsToOnPremisesInstancesRequest.Builder> addTagsToOnPremisesInstancesRequest)
Adds tags to on-premises instances.
|
default CompletableFuture<BatchGetApplicationRevisionsResponse> |
batchGetApplicationRevisions(BatchGetApplicationRevisionsRequest batchGetApplicationRevisionsRequest)
Gets information about one or more application revisions.
|
default CompletableFuture<BatchGetApplicationRevisionsResponse> |
batchGetApplicationRevisions(Consumer<BatchGetApplicationRevisionsRequest.Builder> batchGetApplicationRevisionsRequest)
Gets information about one or more application revisions.
|
default CompletableFuture<BatchGetApplicationsResponse> |
batchGetApplications(BatchGetApplicationsRequest batchGetApplicationsRequest)
Gets information about one or more applications.
|
default CompletableFuture<BatchGetApplicationsResponse> |
batchGetApplications(Consumer<BatchGetApplicationsRequest.Builder> batchGetApplicationsRequest)
Gets information about one or more applications.
|
default CompletableFuture<BatchGetDeploymentGroupsResponse> |
batchGetDeploymentGroups(BatchGetDeploymentGroupsRequest batchGetDeploymentGroupsRequest)
Gets information about one or more deployment groups.
|
default CompletableFuture<BatchGetDeploymentGroupsResponse> |
batchGetDeploymentGroups(Consumer<BatchGetDeploymentGroupsRequest.Builder> batchGetDeploymentGroupsRequest)
Gets information about one or more deployment groups.
|
default CompletableFuture<BatchGetDeploymentInstancesResponse> |
batchGetDeploymentInstances(BatchGetDeploymentInstancesRequest batchGetDeploymentInstancesRequest)
Gets information about one or more instance that are part of a deployment group.
|
default CompletableFuture<BatchGetDeploymentInstancesResponse> |
batchGetDeploymentInstances(Consumer<BatchGetDeploymentInstancesRequest.Builder> batchGetDeploymentInstancesRequest)
Gets information about one or more instance that are part of a deployment group.
|
default CompletableFuture<BatchGetDeploymentsResponse> |
batchGetDeployments(BatchGetDeploymentsRequest batchGetDeploymentsRequest)
Gets information about one or more deployments.
|
default CompletableFuture<BatchGetDeploymentsResponse> |
batchGetDeployments(Consumer<BatchGetDeploymentsRequest.Builder> batchGetDeploymentsRequest)
Gets information about one or more deployments.
|
default CompletableFuture<BatchGetOnPremisesInstancesResponse> |
batchGetOnPremisesInstances(BatchGetOnPremisesInstancesRequest batchGetOnPremisesInstancesRequest)
Gets information about one or more on-premises instances.
|
default CompletableFuture<BatchGetOnPremisesInstancesResponse> |
batchGetOnPremisesInstances(Consumer<BatchGetOnPremisesInstancesRequest.Builder> batchGetOnPremisesInstancesRequest)
Gets information about one or more on-premises instances.
|
static CodeDeployAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
CodeDeployAsyncClient . |
default CompletableFuture<ContinueDeploymentResponse> |
continueDeployment(Consumer<ContinueDeploymentRequest.Builder> continueDeploymentRequest)
For a blue/green deployment, starts the process of rerouting traffic from instances in the original environment
to instances in the replacement environment without waiting for a specified wait time to elapse.
|
default CompletableFuture<ContinueDeploymentResponse> |
continueDeployment(ContinueDeploymentRequest continueDeploymentRequest)
For a blue/green deployment, starts the process of rerouting traffic from instances in the original environment
to instances in the replacement environment without waiting for a specified wait time to elapse.
|
static CodeDeployAsyncClient |
create()
Create a
CodeDeployAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<CreateApplicationResponse> |
createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)
Creates an application.
|
default CompletableFuture<CreateApplicationResponse> |
createApplication(CreateApplicationRequest createApplicationRequest)
Creates an application.
|
default CompletableFuture<CreateDeploymentResponse> |
createDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest)
Deploys an application revision through the specified deployment group.
|
default CompletableFuture<CreateDeploymentResponse> |
createDeployment(CreateDeploymentRequest createDeploymentRequest)
Deploys an application revision through the specified deployment group.
|
default CompletableFuture<CreateDeploymentConfigResponse> |
createDeploymentConfig(Consumer<CreateDeploymentConfigRequest.Builder> createDeploymentConfigRequest)
Creates a deployment configuration.
|
default CompletableFuture<CreateDeploymentConfigResponse> |
createDeploymentConfig(CreateDeploymentConfigRequest createDeploymentConfigRequest)
Creates a deployment configuration.
|
default CompletableFuture<CreateDeploymentGroupResponse> |
createDeploymentGroup(Consumer<CreateDeploymentGroupRequest.Builder> createDeploymentGroupRequest)
Creates a deployment group to which application revisions will be deployed.
|
default CompletableFuture<CreateDeploymentGroupResponse> |
createDeploymentGroup(CreateDeploymentGroupRequest createDeploymentGroupRequest)
Creates a deployment group to which application revisions will be deployed.
|
default CompletableFuture<DeleteApplicationResponse> |
deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest)
Deletes an application.
|
default CompletableFuture<DeleteApplicationResponse> |
deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Deletes an application.
|
default CompletableFuture<DeleteDeploymentConfigResponse> |
deleteDeploymentConfig(Consumer<DeleteDeploymentConfigRequest.Builder> deleteDeploymentConfigRequest)
Deletes a deployment configuration.
|
default CompletableFuture<DeleteDeploymentConfigResponse> |
deleteDeploymentConfig(DeleteDeploymentConfigRequest deleteDeploymentConfigRequest)
Deletes a deployment configuration.
|
default CompletableFuture<DeleteDeploymentGroupResponse> |
deleteDeploymentGroup(Consumer<DeleteDeploymentGroupRequest.Builder> deleteDeploymentGroupRequest)
Deletes a deployment group.
|
default CompletableFuture<DeleteDeploymentGroupResponse> |
deleteDeploymentGroup(DeleteDeploymentGroupRequest deleteDeploymentGroupRequest)
Deletes a deployment group.
|
default CompletableFuture<DeregisterOnPremisesInstanceResponse> |
deregisterOnPremisesInstance(Consumer<DeregisterOnPremisesInstanceRequest.Builder> deregisterOnPremisesInstanceRequest)
Deregisters an on-premises instance.
|
default CompletableFuture<DeregisterOnPremisesInstanceResponse> |
deregisterOnPremisesInstance(DeregisterOnPremisesInstanceRequest deregisterOnPremisesInstanceRequest)
Deregisters an on-premises instance.
|
default CompletableFuture<GetApplicationResponse> |
getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest)
Gets information about an application.
|
default CompletableFuture<GetApplicationResponse> |
getApplication(GetApplicationRequest getApplicationRequest)
Gets information about an application.
|
default CompletableFuture<GetApplicationRevisionResponse> |
getApplicationRevision(Consumer<GetApplicationRevisionRequest.Builder> getApplicationRevisionRequest)
Gets information about an application revision.
|
default CompletableFuture<GetApplicationRevisionResponse> |
getApplicationRevision(GetApplicationRevisionRequest getApplicationRevisionRequest)
Gets information about an application revision.
|
default CompletableFuture<GetDeploymentResponse> |
getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest)
Gets information about a deployment.
|
default CompletableFuture<GetDeploymentResponse> |
getDeployment(GetDeploymentRequest getDeploymentRequest)
Gets information about a deployment.
|
default CompletableFuture<GetDeploymentConfigResponse> |
getDeploymentConfig(Consumer<GetDeploymentConfigRequest.Builder> getDeploymentConfigRequest)
Gets information about a deployment configuration.
|
default CompletableFuture<GetDeploymentConfigResponse> |
getDeploymentConfig(GetDeploymentConfigRequest getDeploymentConfigRequest)
Gets information about a deployment configuration.
|
default CompletableFuture<GetDeploymentGroupResponse> |
getDeploymentGroup(Consumer<GetDeploymentGroupRequest.Builder> getDeploymentGroupRequest)
Gets information about a deployment group.
|
default CompletableFuture<GetDeploymentGroupResponse> |
getDeploymentGroup(GetDeploymentGroupRequest getDeploymentGroupRequest)
Gets information about a deployment group.
|
default CompletableFuture<GetDeploymentInstanceResponse> |
getDeploymentInstance(Consumer<GetDeploymentInstanceRequest.Builder> getDeploymentInstanceRequest)
Gets information about an instance as part of a deployment.
|
default CompletableFuture<GetDeploymentInstanceResponse> |
getDeploymentInstance(GetDeploymentInstanceRequest getDeploymentInstanceRequest)
Gets information about an instance as part of a deployment.
|
default CompletableFuture<GetOnPremisesInstanceResponse> |
getOnPremisesInstance(Consumer<GetOnPremisesInstanceRequest.Builder> getOnPremisesInstanceRequest)
Gets information about an on-premises instance.
|
default CompletableFuture<GetOnPremisesInstanceResponse> |
getOnPremisesInstance(GetOnPremisesInstanceRequest getOnPremisesInstanceRequest)
Gets information about an on-premises instance.
|
default CompletableFuture<ListApplicationRevisionsResponse> |
listApplicationRevisions(Consumer<ListApplicationRevisionsRequest.Builder> listApplicationRevisionsRequest)
Lists information about revisions for an application.
|
default CompletableFuture<ListApplicationRevisionsResponse> |
listApplicationRevisions(ListApplicationRevisionsRequest listApplicationRevisionsRequest)
Lists information about revisions for an application.
|
default ListApplicationRevisionsPublisher |
listApplicationRevisionsPaginator(Consumer<ListApplicationRevisionsRequest.Builder> listApplicationRevisionsRequest)
Lists information about revisions for an application.
|
default ListApplicationRevisionsPublisher |
listApplicationRevisionsPaginator(ListApplicationRevisionsRequest listApplicationRevisionsRequest)
Lists information about revisions for an application.
|
default CompletableFuture<ListApplicationsResponse> |
listApplications()
Lists the applications registered with the applicable IAM user or AWS account.
|
default CompletableFuture<ListApplicationsResponse> |
listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists the applications registered with the applicable IAM user or AWS account.
|
default CompletableFuture<ListApplicationsResponse> |
listApplications(ListApplicationsRequest listApplicationsRequest)
Lists the applications registered with the applicable IAM user or AWS account.
|
default ListApplicationsPublisher |
listApplicationsPaginator()
Lists the applications registered with the applicable IAM user or AWS account.
|
default ListApplicationsPublisher |
listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists the applications registered with the applicable IAM user or AWS account.
|
default ListApplicationsPublisher |
listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest)
Lists the applications registered with the applicable IAM user or AWS account.
|
default CompletableFuture<ListDeploymentConfigsResponse> |
listDeploymentConfigs()
Lists the deployment configurations with the applicable IAM user or AWS account.
|
default CompletableFuture<ListDeploymentConfigsResponse> |
listDeploymentConfigs(Consumer<ListDeploymentConfigsRequest.Builder> listDeploymentConfigsRequest)
Lists the deployment configurations with the applicable IAM user or AWS account.
|
default CompletableFuture<ListDeploymentConfigsResponse> |
listDeploymentConfigs(ListDeploymentConfigsRequest listDeploymentConfigsRequest)
Lists the deployment configurations with the applicable IAM user or AWS account.
|
default ListDeploymentConfigsPublisher |
listDeploymentConfigsPaginator()
Lists the deployment configurations with the applicable IAM user or AWS account.
|
default ListDeploymentConfigsPublisher |
listDeploymentConfigsPaginator(Consumer<ListDeploymentConfigsRequest.Builder> listDeploymentConfigsRequest)
Lists the deployment configurations with the applicable IAM user or AWS account.
|
default ListDeploymentConfigsPublisher |
listDeploymentConfigsPaginator(ListDeploymentConfigsRequest listDeploymentConfigsRequest)
Lists the deployment configurations with the applicable IAM user or AWS account.
|
default CompletableFuture<ListDeploymentGroupsResponse> |
listDeploymentGroups(Consumer<ListDeploymentGroupsRequest.Builder> listDeploymentGroupsRequest)
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
|
default CompletableFuture<ListDeploymentGroupsResponse> |
listDeploymentGroups(ListDeploymentGroupsRequest listDeploymentGroupsRequest)
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
|
default ListDeploymentGroupsPublisher |
listDeploymentGroupsPaginator(Consumer<ListDeploymentGroupsRequest.Builder> listDeploymentGroupsRequest)
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
|
default ListDeploymentGroupsPublisher |
listDeploymentGroupsPaginator(ListDeploymentGroupsRequest listDeploymentGroupsRequest)
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
|
default CompletableFuture<ListDeploymentInstancesResponse> |
listDeploymentInstances(Consumer<ListDeploymentInstancesRequest.Builder> listDeploymentInstancesRequest)
Lists the instance for a deployment associated with the applicable IAM user or AWS account.
|
default CompletableFuture<ListDeploymentInstancesResponse> |
listDeploymentInstances(ListDeploymentInstancesRequest listDeploymentInstancesRequest)
Lists the instance for a deployment associated with the applicable IAM user or AWS account.
|
default ListDeploymentInstancesPublisher |
listDeploymentInstancesPaginator(Consumer<ListDeploymentInstancesRequest.Builder> listDeploymentInstancesRequest)
Lists the instance for a deployment associated with the applicable IAM user or AWS account.
|
default ListDeploymentInstancesPublisher |
listDeploymentInstancesPaginator(ListDeploymentInstancesRequest listDeploymentInstancesRequest)
Lists the instance for a deployment associated with the applicable IAM user or AWS account.
|
default CompletableFuture<ListDeploymentsResponse> |
listDeployments()
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS
account.
|
default CompletableFuture<ListDeploymentsResponse> |
listDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest)
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS
account.
|
default CompletableFuture<ListDeploymentsResponse> |
listDeployments(ListDeploymentsRequest listDeploymentsRequest)
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS
account.
|
default ListDeploymentsPublisher |
listDeploymentsPaginator()
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS
account.
|
default ListDeploymentsPublisher |
listDeploymentsPaginator(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest)
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS
account.
|
default ListDeploymentsPublisher |
listDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest)
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS
account.
|
default CompletableFuture<ListGitHubAccountTokenNamesResponse> |
listGitHubAccountTokenNames()
Lists the names of stored connections to GitHub accounts.
|
default CompletableFuture<ListGitHubAccountTokenNamesResponse> |
listGitHubAccountTokenNames(Consumer<ListGitHubAccountTokenNamesRequest.Builder> listGitHubAccountTokenNamesRequest)
Lists the names of stored connections to GitHub accounts.
|
default CompletableFuture<ListGitHubAccountTokenNamesResponse> |
listGitHubAccountTokenNames(ListGitHubAccountTokenNamesRequest listGitHubAccountTokenNamesRequest)
Lists the names of stored connections to GitHub accounts.
|
default CompletableFuture<ListOnPremisesInstancesResponse> |
listOnPremisesInstances()
Gets a list of names for one or more on-premises instances.
|
default CompletableFuture<ListOnPremisesInstancesResponse> |
listOnPremisesInstances(Consumer<ListOnPremisesInstancesRequest.Builder> listOnPremisesInstancesRequest)
Gets a list of names for one or more on-premises instances.
|
default CompletableFuture<ListOnPremisesInstancesResponse> |
listOnPremisesInstances(ListOnPremisesInstancesRequest listOnPremisesInstancesRequest)
Gets a list of names for one or more on-premises instances.
|
default CompletableFuture<RegisterApplicationRevisionResponse> |
registerApplicationRevision(Consumer<RegisterApplicationRevisionRequest.Builder> registerApplicationRevisionRequest)
Registers with AWS CodeDeploy a revision for the specified application.
|
default CompletableFuture<RegisterApplicationRevisionResponse> |
registerApplicationRevision(RegisterApplicationRevisionRequest registerApplicationRevisionRequest)
Registers with AWS CodeDeploy a revision for the specified application.
|
default CompletableFuture<RegisterOnPremisesInstanceResponse> |
registerOnPremisesInstance(Consumer<RegisterOnPremisesInstanceRequest.Builder> registerOnPremisesInstanceRequest)
Registers an on-premises instance.
|
default CompletableFuture<RegisterOnPremisesInstanceResponse> |
registerOnPremisesInstance(RegisterOnPremisesInstanceRequest registerOnPremisesInstanceRequest)
Registers an on-premises instance.
|
default CompletableFuture<RemoveTagsFromOnPremisesInstancesResponse> |
removeTagsFromOnPremisesInstances(Consumer<RemoveTagsFromOnPremisesInstancesRequest.Builder> removeTagsFromOnPremisesInstancesRequest)
Removes one or more tags from one or more on-premises instances.
|
default CompletableFuture<RemoveTagsFromOnPremisesInstancesResponse> |
removeTagsFromOnPremisesInstances(RemoveTagsFromOnPremisesInstancesRequest removeTagsFromOnPremisesInstancesRequest)
Removes one or more tags from one or more on-premises instances.
|
default CompletableFuture<SkipWaitTimeForInstanceTerminationResponse> |
skipWaitTimeForInstanceTermination(Consumer<SkipWaitTimeForInstanceTerminationRequest.Builder> skipWaitTimeForInstanceTerminationRequest)
In a blue/green deployment, overrides any specified wait time and starts terminating instances immediately after
the traffic routing is completed.
|
default CompletableFuture<SkipWaitTimeForInstanceTerminationResponse> |
skipWaitTimeForInstanceTermination(SkipWaitTimeForInstanceTerminationRequest skipWaitTimeForInstanceTerminationRequest)
In a blue/green deployment, overrides any specified wait time and starts terminating instances immediately after
the traffic routing is completed.
|
default CompletableFuture<StopDeploymentResponse> |
stopDeployment(Consumer<StopDeploymentRequest.Builder> stopDeploymentRequest)
Attempts to stop an ongoing deployment.
|
default CompletableFuture<StopDeploymentResponse> |
stopDeployment(StopDeploymentRequest stopDeploymentRequest)
Attempts to stop an ongoing deployment.
|
default CompletableFuture<UpdateApplicationResponse> |
updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)
Changes the name of an application.
|
default CompletableFuture<UpdateApplicationResponse> |
updateApplication(UpdateApplicationRequest updateApplicationRequest)
Changes the name of an application.
|
default CompletableFuture<UpdateDeploymentGroupResponse> |
updateDeploymentGroup(Consumer<UpdateDeploymentGroupRequest.Builder> updateDeploymentGroupRequest)
Changes information about a deployment group.
|
default CompletableFuture<UpdateDeploymentGroupResponse> |
updateDeploymentGroup(UpdateDeploymentGroupRequest updateDeploymentGroupRequest)
Changes information about a deployment group.
|
serviceName
close
static final String SERVICE_NAME
static CodeDeployAsyncClient create()
CodeDeployAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static CodeDeployAsyncClientBuilder builder()
CodeDeployAsyncClient
.default CompletableFuture<AddTagsToOnPremisesInstancesResponse> addTagsToOnPremisesInstances(AddTagsToOnPremisesInstancesRequest addTagsToOnPremisesInstancesRequest)
Adds tags to on-premises instances.
addTagsToOnPremisesInstancesRequest
- Represents the input of, and adds tags to, an on-premises instance operation.default CompletableFuture<AddTagsToOnPremisesInstancesResponse> addTagsToOnPremisesInstances(Consumer<AddTagsToOnPremisesInstancesRequest.Builder> addTagsToOnPremisesInstancesRequest)
Adds tags to on-premises instances.
This is a convenience which creates an instance of the AddTagsToOnPremisesInstancesRequest.Builder
avoiding the need to create one manually via AddTagsToOnPremisesInstancesRequest.builder()
addTagsToOnPremisesInstancesRequest
- A Consumer
that will call methods on AddTagsToOnPremisesInstancesInput.Builder
to create a
request. Represents the input of, and adds tags to, an on-premises instance operation.default CompletableFuture<BatchGetApplicationRevisionsResponse> batchGetApplicationRevisions(BatchGetApplicationRevisionsRequest batchGetApplicationRevisionsRequest)
Gets information about one or more application revisions.
batchGetApplicationRevisionsRequest
- Represents the input of a BatchGetApplicationRevisions operation.default CompletableFuture<BatchGetApplicationRevisionsResponse> batchGetApplicationRevisions(Consumer<BatchGetApplicationRevisionsRequest.Builder> batchGetApplicationRevisionsRequest)
Gets information about one or more application revisions.
This is a convenience which creates an instance of the BatchGetApplicationRevisionsRequest.Builder
avoiding the need to create one manually via BatchGetApplicationRevisionsRequest.builder()
batchGetApplicationRevisionsRequest
- A Consumer
that will call methods on BatchGetApplicationRevisionsInput.Builder
to create a
request. Represents the input of a BatchGetApplicationRevisions operation.default CompletableFuture<BatchGetApplicationsResponse> batchGetApplications(BatchGetApplicationsRequest batchGetApplicationsRequest)
Gets information about one or more applications.
batchGetApplicationsRequest
- Represents the input of a BatchGetApplications operation.default CompletableFuture<BatchGetApplicationsResponse> batchGetApplications(Consumer<BatchGetApplicationsRequest.Builder> batchGetApplicationsRequest)
Gets information about one or more applications.
This is a convenience which creates an instance of the BatchGetApplicationsRequest.Builder
avoiding the
need to create one manually via BatchGetApplicationsRequest.builder()
batchGetApplicationsRequest
- A Consumer
that will call methods on BatchGetApplicationsInput.Builder
to create a
request. Represents the input of a BatchGetApplications operation.default CompletableFuture<BatchGetDeploymentGroupsResponse> batchGetDeploymentGroups(BatchGetDeploymentGroupsRequest batchGetDeploymentGroupsRequest)
Gets information about one or more deployment groups.
batchGetDeploymentGroupsRequest
- Represents the input of a BatchGetDeploymentGroups operation.default CompletableFuture<BatchGetDeploymentGroupsResponse> batchGetDeploymentGroups(Consumer<BatchGetDeploymentGroupsRequest.Builder> batchGetDeploymentGroupsRequest)
Gets information about one or more deployment groups.
This is a convenience which creates an instance of the BatchGetDeploymentGroupsRequest.Builder
avoiding
the need to create one manually via BatchGetDeploymentGroupsRequest.builder()
batchGetDeploymentGroupsRequest
- A Consumer
that will call methods on BatchGetDeploymentGroupsInput.Builder
to create a
request. Represents the input of a BatchGetDeploymentGroups operation.default CompletableFuture<BatchGetDeploymentInstancesResponse> batchGetDeploymentInstances(BatchGetDeploymentInstancesRequest batchGetDeploymentInstancesRequest)
Gets information about one or more instance that are part of a deployment group.
batchGetDeploymentInstancesRequest
- Represents the input of a BatchGetDeploymentInstances operation.default CompletableFuture<BatchGetDeploymentInstancesResponse> batchGetDeploymentInstances(Consumer<BatchGetDeploymentInstancesRequest.Builder> batchGetDeploymentInstancesRequest)
Gets information about one or more instance that are part of a deployment group.
This is a convenience which creates an instance of the BatchGetDeploymentInstancesRequest.Builder
avoiding the need to create one manually via BatchGetDeploymentInstancesRequest.builder()
batchGetDeploymentInstancesRequest
- A Consumer
that will call methods on BatchGetDeploymentInstancesInput.Builder
to create a
request. Represents the input of a BatchGetDeploymentInstances operation.default CompletableFuture<BatchGetDeploymentsResponse> batchGetDeployments(BatchGetDeploymentsRequest batchGetDeploymentsRequest)
Gets information about one or more deployments.
batchGetDeploymentsRequest
- Represents the input of a BatchGetDeployments operation.default CompletableFuture<BatchGetDeploymentsResponse> batchGetDeployments(Consumer<BatchGetDeploymentsRequest.Builder> batchGetDeploymentsRequest)
Gets information about one or more deployments.
This is a convenience which creates an instance of the BatchGetDeploymentsRequest.Builder
avoiding the
need to create one manually via BatchGetDeploymentsRequest.builder()
batchGetDeploymentsRequest
- A Consumer
that will call methods on BatchGetDeploymentsInput.Builder
to create a request.
Represents the input of a BatchGetDeployments operation.default CompletableFuture<BatchGetOnPremisesInstancesResponse> batchGetOnPremisesInstances(BatchGetOnPremisesInstancesRequest batchGetOnPremisesInstancesRequest)
Gets information about one or more on-premises instances.
batchGetOnPremisesInstancesRequest
- Represents the input of a BatchGetOnPremisesInstances operation.default CompletableFuture<BatchGetOnPremisesInstancesResponse> batchGetOnPremisesInstances(Consumer<BatchGetOnPremisesInstancesRequest.Builder> batchGetOnPremisesInstancesRequest)
Gets information about one or more on-premises instances.
This is a convenience which creates an instance of the BatchGetOnPremisesInstancesRequest.Builder
avoiding the need to create one manually via BatchGetOnPremisesInstancesRequest.builder()
batchGetOnPremisesInstancesRequest
- A Consumer
that will call methods on BatchGetOnPremisesInstancesInput.Builder
to create a
request. Represents the input of a BatchGetOnPremisesInstances operation.default CompletableFuture<ContinueDeploymentResponse> continueDeployment(ContinueDeploymentRequest continueDeploymentRequest)
For a blue/green deployment, starts the process of rerouting traffic from instances in the original environment to instances in the replacement environment without waiting for a specified wait time to elapse. (Traffic rerouting, which is achieved by registering instances in the replacement environment with the load balancer, can start as soon as all instances have a status of Ready.)
continueDeploymentRequest
- default CompletableFuture<ContinueDeploymentResponse> continueDeployment(Consumer<ContinueDeploymentRequest.Builder> continueDeploymentRequest)
For a blue/green deployment, starts the process of rerouting traffic from instances in the original environment to instances in the replacement environment without waiting for a specified wait time to elapse. (Traffic rerouting, which is achieved by registering instances in the replacement environment with the load balancer, can start as soon as all instances have a status of Ready.)
This is a convenience which creates an instance of the ContinueDeploymentRequest.Builder
avoiding the
need to create one manually via ContinueDeploymentRequest.builder()
continueDeploymentRequest
- A Consumer
that will call methods on ContinueDeploymentInput.Builder
to create a request.default CompletableFuture<CreateApplicationResponse> createApplication(CreateApplicationRequest createApplicationRequest)
Creates an application.
createApplicationRequest
- Represents the input of a CreateApplication operation.default CompletableFuture<CreateApplicationResponse> createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)
Creates an application.
This is a convenience which creates an instance of the CreateApplicationRequest.Builder
avoiding the need
to create one manually via CreateApplicationRequest.builder()
createApplicationRequest
- A Consumer
that will call methods on CreateApplicationInput.Builder
to create a request.
Represents the input of a CreateApplication operation.default CompletableFuture<CreateDeploymentResponse> createDeployment(CreateDeploymentRequest createDeploymentRequest)
Deploys an application revision through the specified deployment group.
createDeploymentRequest
- Represents the input of a CreateDeployment operation.Configuration data for target instances was entered for an in-place deployment.
The limit of 10 tags for a tag type was exceeded.
The combined length of the tag names exceeded the limit.
A specified tag is not currently applied to any instances.
default CompletableFuture<CreateDeploymentResponse> createDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest)
Deploys an application revision through the specified deployment group.
This is a convenience which creates an instance of the CreateDeploymentRequest.Builder
avoiding the need
to create one manually via CreateDeploymentRequest.builder()
createDeploymentRequest
- A Consumer
that will call methods on CreateDeploymentInput.Builder
to create a request.
Represents the input of a CreateDeployment operation.Configuration data for target instances was entered for an in-place deployment.
The limit of 10 tags for a tag type was exceeded.
The combined length of the tag names exceeded the limit.
A specified tag is not currently applied to any instances.
default CompletableFuture<CreateDeploymentConfigResponse> createDeploymentConfig(CreateDeploymentConfigRequest createDeploymentConfigRequest)
Creates a deployment configuration.
createDeploymentConfigRequest
- Represents the input of a CreateDeploymentConfig operation.default CompletableFuture<CreateDeploymentConfigResponse> createDeploymentConfig(Consumer<CreateDeploymentConfigRequest.Builder> createDeploymentConfigRequest)
Creates a deployment configuration.
This is a convenience which creates an instance of the CreateDeploymentConfigRequest.Builder
avoiding the
need to create one manually via CreateDeploymentConfigRequest.builder()
createDeploymentConfigRequest
- A Consumer
that will call methods on CreateDeploymentConfigInput.Builder
to create a
request. Represents the input of a CreateDeploymentConfig operation.default CompletableFuture<CreateDeploymentGroupResponse> createDeploymentGroup(CreateDeploymentGroupRequest createDeploymentGroupRequest)
Creates a deployment group to which application revisions will be deployed.
createDeploymentGroupRequest
- Represents the input of a CreateDeploymentGroup operation.The alarm list is null.
The alarm object is null.
The alarm name is empty or null or exceeds the 255 character limit.
Two alarms with the same name have been specified.
The alarm configuration is enabled but the alarm list is empty.
default CompletableFuture<CreateDeploymentGroupResponse> createDeploymentGroup(Consumer<CreateDeploymentGroupRequest.Builder> createDeploymentGroupRequest)
Creates a deployment group to which application revisions will be deployed.
This is a convenience which creates an instance of the CreateDeploymentGroupRequest.Builder
avoiding the
need to create one manually via CreateDeploymentGroupRequest.builder()
createDeploymentGroupRequest
- A Consumer
that will call methods on CreateDeploymentGroupInput.Builder
to create a
request. Represents the input of a CreateDeploymentGroup operation.The alarm list is null.
The alarm object is null.
The alarm name is empty or null or exceeds the 255 character limit.
Two alarms with the same name have been specified.
The alarm configuration is enabled but the alarm list is empty.
default CompletableFuture<DeleteApplicationResponse> deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Deletes an application.
deleteApplicationRequest
- Represents the input of a DeleteApplication operation.default CompletableFuture<DeleteApplicationResponse> deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest)
Deletes an application.
This is a convenience which creates an instance of the DeleteApplicationRequest.Builder
avoiding the need
to create one manually via DeleteApplicationRequest.builder()
deleteApplicationRequest
- A Consumer
that will call methods on DeleteApplicationInput.Builder
to create a request.
Represents the input of a DeleteApplication operation.default CompletableFuture<DeleteDeploymentConfigResponse> deleteDeploymentConfig(DeleteDeploymentConfigRequest deleteDeploymentConfigRequest)
Deletes a deployment configuration.
A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted.
deleteDeploymentConfigRequest
- Represents the input of a DeleteDeploymentConfig operation.default CompletableFuture<DeleteDeploymentConfigResponse> deleteDeploymentConfig(Consumer<DeleteDeploymentConfigRequest.Builder> deleteDeploymentConfigRequest)
Deletes a deployment configuration.
A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted.
This is a convenience which creates an instance of the DeleteDeploymentConfigRequest.Builder
avoiding the
need to create one manually via DeleteDeploymentConfigRequest.builder()
deleteDeploymentConfigRequest
- A Consumer
that will call methods on DeleteDeploymentConfigInput.Builder
to create a
request. Represents the input of a DeleteDeploymentConfig operation.default CompletableFuture<DeleteDeploymentGroupResponse> deleteDeploymentGroup(DeleteDeploymentGroupRequest deleteDeploymentGroupRequest)
Deletes a deployment group.
deleteDeploymentGroupRequest
- Represents the input of a DeleteDeploymentGroup operation.default CompletableFuture<DeleteDeploymentGroupResponse> deleteDeploymentGroup(Consumer<DeleteDeploymentGroupRequest.Builder> deleteDeploymentGroupRequest)
Deletes a deployment group.
This is a convenience which creates an instance of the DeleteDeploymentGroupRequest.Builder
avoiding the
need to create one manually via DeleteDeploymentGroupRequest.builder()
deleteDeploymentGroupRequest
- A Consumer
that will call methods on DeleteDeploymentGroupInput.Builder
to create a
request. Represents the input of a DeleteDeploymentGroup operation.default CompletableFuture<DeregisterOnPremisesInstanceResponse> deregisterOnPremisesInstance(DeregisterOnPremisesInstanceRequest deregisterOnPremisesInstanceRequest)
Deregisters an on-premises instance.
deregisterOnPremisesInstanceRequest
- Represents the input of a DeregisterOnPremisesInstance operation.default CompletableFuture<DeregisterOnPremisesInstanceResponse> deregisterOnPremisesInstance(Consumer<DeregisterOnPremisesInstanceRequest.Builder> deregisterOnPremisesInstanceRequest)
Deregisters an on-premises instance.
This is a convenience which creates an instance of the DeregisterOnPremisesInstanceRequest.Builder
avoiding the need to create one manually via DeregisterOnPremisesInstanceRequest.builder()
deregisterOnPremisesInstanceRequest
- A Consumer
that will call methods on DeregisterOnPremisesInstanceInput.Builder
to create a
request. Represents the input of a DeregisterOnPremisesInstance operation.default CompletableFuture<GetApplicationResponse> getApplication(GetApplicationRequest getApplicationRequest)
Gets information about an application.
getApplicationRequest
- Represents the input of a GetApplication operation.default CompletableFuture<GetApplicationResponse> getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest)
Gets information about an application.
This is a convenience which creates an instance of the GetApplicationRequest.Builder
avoiding the need to
create one manually via GetApplicationRequest.builder()
getApplicationRequest
- A Consumer
that will call methods on GetApplicationInput.Builder
to create a request.
Represents the input of a GetApplication operation.default CompletableFuture<GetApplicationRevisionResponse> getApplicationRevision(GetApplicationRevisionRequest getApplicationRevisionRequest)
Gets information about an application revision.
getApplicationRevisionRequest
- Represents the input of a GetApplicationRevision operation.default CompletableFuture<GetApplicationRevisionResponse> getApplicationRevision(Consumer<GetApplicationRevisionRequest.Builder> getApplicationRevisionRequest)
Gets information about an application revision.
This is a convenience which creates an instance of the GetApplicationRevisionRequest.Builder
avoiding the
need to create one manually via GetApplicationRevisionRequest.builder()
getApplicationRevisionRequest
- A Consumer
that will call methods on GetApplicationRevisionInput.Builder
to create a
request. Represents the input of a GetApplicationRevision operation.default CompletableFuture<GetDeploymentResponse> getDeployment(GetDeploymentRequest getDeploymentRequest)
Gets information about a deployment.
getDeploymentRequest
- Represents the input of a GetDeployment operation.default CompletableFuture<GetDeploymentResponse> getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest)
Gets information about a deployment.
This is a convenience which creates an instance of the GetDeploymentRequest.Builder
avoiding the need to
create one manually via GetDeploymentRequest.builder()
getDeploymentRequest
- A Consumer
that will call methods on GetDeploymentInput.Builder
to create a request.
Represents the input of a GetDeployment operation.default CompletableFuture<GetDeploymentConfigResponse> getDeploymentConfig(GetDeploymentConfigRequest getDeploymentConfigRequest)
Gets information about a deployment configuration.
getDeploymentConfigRequest
- Represents the input of a GetDeploymentConfig operation.default CompletableFuture<GetDeploymentConfigResponse> getDeploymentConfig(Consumer<GetDeploymentConfigRequest.Builder> getDeploymentConfigRequest)
Gets information about a deployment configuration.
This is a convenience which creates an instance of the GetDeploymentConfigRequest.Builder
avoiding the
need to create one manually via GetDeploymentConfigRequest.builder()
getDeploymentConfigRequest
- A Consumer
that will call methods on GetDeploymentConfigInput.Builder
to create a request.
Represents the input of a GetDeploymentConfig operation.default CompletableFuture<GetDeploymentGroupResponse> getDeploymentGroup(GetDeploymentGroupRequest getDeploymentGroupRequest)
Gets information about a deployment group.
getDeploymentGroupRequest
- Represents the input of a GetDeploymentGroup operation.default CompletableFuture<GetDeploymentGroupResponse> getDeploymentGroup(Consumer<GetDeploymentGroupRequest.Builder> getDeploymentGroupRequest)
Gets information about a deployment group.
This is a convenience which creates an instance of the GetDeploymentGroupRequest.Builder
avoiding the
need to create one manually via GetDeploymentGroupRequest.builder()
getDeploymentGroupRequest
- A Consumer
that will call methods on GetDeploymentGroupInput.Builder
to create a request.
Represents the input of a GetDeploymentGroup operation.default CompletableFuture<GetDeploymentInstanceResponse> getDeploymentInstance(GetDeploymentInstanceRequest getDeploymentInstanceRequest)
Gets information about an instance as part of a deployment.
getDeploymentInstanceRequest
- Represents the input of a GetDeploymentInstance operation.default CompletableFuture<GetDeploymentInstanceResponse> getDeploymentInstance(Consumer<GetDeploymentInstanceRequest.Builder> getDeploymentInstanceRequest)
Gets information about an instance as part of a deployment.
This is a convenience which creates an instance of the GetDeploymentInstanceRequest.Builder
avoiding the
need to create one manually via GetDeploymentInstanceRequest.builder()
getDeploymentInstanceRequest
- A Consumer
that will call methods on GetDeploymentInstanceInput.Builder
to create a
request. Represents the input of a GetDeploymentInstance operation.default CompletableFuture<GetOnPremisesInstanceResponse> getOnPremisesInstance(GetOnPremisesInstanceRequest getOnPremisesInstanceRequest)
Gets information about an on-premises instance.
getOnPremisesInstanceRequest
- Represents the input of a GetOnPremisesInstance operation.default CompletableFuture<GetOnPremisesInstanceResponse> getOnPremisesInstance(Consumer<GetOnPremisesInstanceRequest.Builder> getOnPremisesInstanceRequest)
Gets information about an on-premises instance.
This is a convenience which creates an instance of the GetOnPremisesInstanceRequest.Builder
avoiding the
need to create one manually via GetOnPremisesInstanceRequest.builder()
getOnPremisesInstanceRequest
- A Consumer
that will call methods on GetOnPremisesInstanceInput.Builder
to create a
request. Represents the input of a GetOnPremisesInstance operation.default CompletableFuture<ListApplicationRevisionsResponse> listApplicationRevisions(ListApplicationRevisionsRequest listApplicationRevisionsRequest)
Lists information about revisions for an application.
listApplicationRevisionsRequest
- Represents the input of a ListApplicationRevisions operation.default CompletableFuture<ListApplicationRevisionsResponse> listApplicationRevisions(Consumer<ListApplicationRevisionsRequest.Builder> listApplicationRevisionsRequest)
Lists information about revisions for an application.
This is a convenience which creates an instance of the ListApplicationRevisionsRequest.Builder
avoiding
the need to create one manually via ListApplicationRevisionsRequest.builder()
listApplicationRevisionsRequest
- A Consumer
that will call methods on ListApplicationRevisionsInput.Builder
to create a
request. Represents the input of a ListApplicationRevisions operation.default ListApplicationRevisionsPublisher listApplicationRevisionsPaginator(ListApplicationRevisionsRequest listApplicationRevisionsRequest)
Lists information about revisions for an application.
This is a variant of
listApplicationRevisions(software.amazon.awssdk.services.codedeploy.model.ListApplicationRevisionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationRevisionsPublisher publisher = client.listApplicationRevisionsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationRevisionsPublisher publisher = client.listApplicationRevisionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codedeploy.model.ListApplicationRevisionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codedeploy.model.ListApplicationRevisionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listApplicationRevisions(software.amazon.awssdk.services.codedeploy.model.ListApplicationRevisionsRequest)
operation.
listApplicationRevisionsRequest
- Represents the input of a ListApplicationRevisions operation.default ListApplicationRevisionsPublisher listApplicationRevisionsPaginator(Consumer<ListApplicationRevisionsRequest.Builder> listApplicationRevisionsRequest)
Lists information about revisions for an application.
This is a variant of
listApplicationRevisions(software.amazon.awssdk.services.codedeploy.model.ListApplicationRevisionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationRevisionsPublisher publisher = client.listApplicationRevisionsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationRevisionsPublisher publisher = client.listApplicationRevisionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codedeploy.model.ListApplicationRevisionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codedeploy.model.ListApplicationRevisionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listApplicationRevisions(software.amazon.awssdk.services.codedeploy.model.ListApplicationRevisionsRequest)
operation.
This is a convenience which creates an instance of the ListApplicationRevisionsRequest.Builder
avoiding
the need to create one manually via ListApplicationRevisionsRequest.builder()
listApplicationRevisionsRequest
- A Consumer
that will call methods on ListApplicationRevisionsInput.Builder
to create a
request. Represents the input of a ListApplicationRevisions operation.default CompletableFuture<ListApplicationsResponse> listApplications(ListApplicationsRequest listApplicationsRequest)
Lists the applications registered with the applicable IAM user or AWS account.
listApplicationsRequest
- Represents the input of a ListApplications operation.default CompletableFuture<ListApplicationsResponse> listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists the applications registered with the applicable IAM user or AWS account.
This is a convenience which creates an instance of the ListApplicationsRequest.Builder
avoiding the need
to create one manually via ListApplicationsRequest.builder()
listApplicationsRequest
- A Consumer
that will call methods on ListApplicationsInput.Builder
to create a request.
Represents the input of a ListApplications operation.default CompletableFuture<ListApplicationsResponse> listApplications()
Lists the applications registered with the applicable IAM user or AWS account.
default ListApplicationsPublisher listApplicationsPaginator()
Lists the applications registered with the applicable IAM user or AWS account.
This is a variant of
listApplications(software.amazon.awssdk.services.codedeploy.model.ListApplicationsRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codedeploy.model.ListApplicationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codedeploy.model.ListApplicationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.codedeploy.model.ListApplicationsRequest)
operation.
default ListApplicationsPublisher listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest)
Lists the applications registered with the applicable IAM user or AWS account.
This is a variant of
listApplications(software.amazon.awssdk.services.codedeploy.model.ListApplicationsRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codedeploy.model.ListApplicationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codedeploy.model.ListApplicationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.codedeploy.model.ListApplicationsRequest)
operation.
listApplicationsRequest
- Represents the input of a ListApplications operation.default ListApplicationsPublisher listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists the applications registered with the applicable IAM user or AWS account.
This is a variant of
listApplications(software.amazon.awssdk.services.codedeploy.model.ListApplicationsRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codedeploy.model.ListApplicationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codedeploy.model.ListApplicationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.codedeploy.model.ListApplicationsRequest)
operation.
This is a convenience which creates an instance of the ListApplicationsRequest.Builder
avoiding the need
to create one manually via ListApplicationsRequest.builder()
listApplicationsRequest
- A Consumer
that will call methods on ListApplicationsInput.Builder
to create a request.
Represents the input of a ListApplications operation.default CompletableFuture<ListDeploymentConfigsResponse> listDeploymentConfigs(ListDeploymentConfigsRequest listDeploymentConfigsRequest)
Lists the deployment configurations with the applicable IAM user or AWS account.
listDeploymentConfigsRequest
- Represents the input of a ListDeploymentConfigs operation.default CompletableFuture<ListDeploymentConfigsResponse> listDeploymentConfigs(Consumer<ListDeploymentConfigsRequest.Builder> listDeploymentConfigsRequest)
Lists the deployment configurations with the applicable IAM user or AWS account.
This is a convenience which creates an instance of the ListDeploymentConfigsRequest.Builder
avoiding the
need to create one manually via ListDeploymentConfigsRequest.builder()
listDeploymentConfigsRequest
- A Consumer
that will call methods on ListDeploymentConfigsInput.Builder
to create a
request. Represents the input of a ListDeploymentConfigs operation.default CompletableFuture<ListDeploymentConfigsResponse> listDeploymentConfigs()
Lists the deployment configurations with the applicable IAM user or AWS account.
default ListDeploymentConfigsPublisher listDeploymentConfigsPaginator()
Lists the deployment configurations with the applicable IAM user or AWS account.
This is a variant of
listDeploymentConfigs(software.amazon.awssdk.services.codedeploy.model.ListDeploymentConfigsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentConfigsPublisher publisher = client.listDeploymentConfigsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentConfigsPublisher publisher = client.listDeploymentConfigsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codedeploy.model.ListDeploymentConfigsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codedeploy.model.ListDeploymentConfigsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listDeploymentConfigs(software.amazon.awssdk.services.codedeploy.model.ListDeploymentConfigsRequest)
operation.
default ListDeploymentConfigsPublisher listDeploymentConfigsPaginator(ListDeploymentConfigsRequest listDeploymentConfigsRequest)
Lists the deployment configurations with the applicable IAM user or AWS account.
This is a variant of
listDeploymentConfigs(software.amazon.awssdk.services.codedeploy.model.ListDeploymentConfigsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentConfigsPublisher publisher = client.listDeploymentConfigsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentConfigsPublisher publisher = client.listDeploymentConfigsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codedeploy.model.ListDeploymentConfigsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codedeploy.model.ListDeploymentConfigsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listDeploymentConfigs(software.amazon.awssdk.services.codedeploy.model.ListDeploymentConfigsRequest)
operation.
listDeploymentConfigsRequest
- Represents the input of a ListDeploymentConfigs operation.default ListDeploymentConfigsPublisher listDeploymentConfigsPaginator(Consumer<ListDeploymentConfigsRequest.Builder> listDeploymentConfigsRequest)
Lists the deployment configurations with the applicable IAM user or AWS account.
This is a variant of
listDeploymentConfigs(software.amazon.awssdk.services.codedeploy.model.ListDeploymentConfigsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentConfigsPublisher publisher = client.listDeploymentConfigsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentConfigsPublisher publisher = client.listDeploymentConfigsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codedeploy.model.ListDeploymentConfigsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codedeploy.model.ListDeploymentConfigsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listDeploymentConfigs(software.amazon.awssdk.services.codedeploy.model.ListDeploymentConfigsRequest)
operation.
This is a convenience which creates an instance of the ListDeploymentConfigsRequest.Builder
avoiding the
need to create one manually via ListDeploymentConfigsRequest.builder()
listDeploymentConfigsRequest
- A Consumer
that will call methods on ListDeploymentConfigsInput.Builder
to create a
request. Represents the input of a ListDeploymentConfigs operation.default CompletableFuture<ListDeploymentGroupsResponse> listDeploymentGroups(ListDeploymentGroupsRequest listDeploymentGroupsRequest)
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
listDeploymentGroupsRequest
- Represents the input of a ListDeploymentGroups operation.default CompletableFuture<ListDeploymentGroupsResponse> listDeploymentGroups(Consumer<ListDeploymentGroupsRequest.Builder> listDeploymentGroupsRequest)
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
This is a convenience which creates an instance of the ListDeploymentGroupsRequest.Builder
avoiding the
need to create one manually via ListDeploymentGroupsRequest.builder()
listDeploymentGroupsRequest
- A Consumer
that will call methods on ListDeploymentGroupsInput.Builder
to create a
request. Represents the input of a ListDeploymentGroups operation.default ListDeploymentGroupsPublisher listDeploymentGroupsPaginator(ListDeploymentGroupsRequest listDeploymentGroupsRequest)
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
This is a variant of
listDeploymentGroups(software.amazon.awssdk.services.codedeploy.model.ListDeploymentGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentGroupsPublisher publisher = client.listDeploymentGroupsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentGroupsPublisher publisher = client.listDeploymentGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codedeploy.model.ListDeploymentGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codedeploy.model.ListDeploymentGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listDeploymentGroups(software.amazon.awssdk.services.codedeploy.model.ListDeploymentGroupsRequest)
operation.
listDeploymentGroupsRequest
- Represents the input of a ListDeploymentGroups operation.default ListDeploymentGroupsPublisher listDeploymentGroupsPaginator(Consumer<ListDeploymentGroupsRequest.Builder> listDeploymentGroupsRequest)
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
This is a variant of
listDeploymentGroups(software.amazon.awssdk.services.codedeploy.model.ListDeploymentGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentGroupsPublisher publisher = client.listDeploymentGroupsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentGroupsPublisher publisher = client.listDeploymentGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codedeploy.model.ListDeploymentGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codedeploy.model.ListDeploymentGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listDeploymentGroups(software.amazon.awssdk.services.codedeploy.model.ListDeploymentGroupsRequest)
operation.
This is a convenience which creates an instance of the ListDeploymentGroupsRequest.Builder
avoiding the
need to create one manually via ListDeploymentGroupsRequest.builder()
listDeploymentGroupsRequest
- A Consumer
that will call methods on ListDeploymentGroupsInput.Builder
to create a
request. Represents the input of a ListDeploymentGroups operation.default CompletableFuture<ListDeploymentInstancesResponse> listDeploymentInstances(ListDeploymentInstancesRequest listDeploymentInstancesRequest)
Lists the instance for a deployment associated with the applicable IAM user or AWS account.
listDeploymentInstancesRequest
- Represents the input of a ListDeploymentInstances operation.default CompletableFuture<ListDeploymentInstancesResponse> listDeploymentInstances(Consumer<ListDeploymentInstancesRequest.Builder> listDeploymentInstancesRequest)
Lists the instance for a deployment associated with the applicable IAM user or AWS account.
This is a convenience which creates an instance of the ListDeploymentInstancesRequest.Builder
avoiding
the need to create one manually via ListDeploymentInstancesRequest.builder()
listDeploymentInstancesRequest
- A Consumer
that will call methods on ListDeploymentInstancesInput.Builder
to create a
request. Represents the input of a ListDeploymentInstances operation.default ListDeploymentInstancesPublisher listDeploymentInstancesPaginator(ListDeploymentInstancesRequest listDeploymentInstancesRequest)
Lists the instance for a deployment associated with the applicable IAM user or AWS account.
This is a variant of
listDeploymentInstances(software.amazon.awssdk.services.codedeploy.model.ListDeploymentInstancesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentInstancesPublisher publisher = client.listDeploymentInstancesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentInstancesPublisher publisher = client.listDeploymentInstancesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codedeploy.model.ListDeploymentInstancesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codedeploy.model.ListDeploymentInstancesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listDeploymentInstances(software.amazon.awssdk.services.codedeploy.model.ListDeploymentInstancesRequest)
operation.
listDeploymentInstancesRequest
- Represents the input of a ListDeploymentInstances operation.default ListDeploymentInstancesPublisher listDeploymentInstancesPaginator(Consumer<ListDeploymentInstancesRequest.Builder> listDeploymentInstancesRequest)
Lists the instance for a deployment associated with the applicable IAM user or AWS account.
This is a variant of
listDeploymentInstances(software.amazon.awssdk.services.codedeploy.model.ListDeploymentInstancesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentInstancesPublisher publisher = client.listDeploymentInstancesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentInstancesPublisher publisher = client.listDeploymentInstancesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codedeploy.model.ListDeploymentInstancesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codedeploy.model.ListDeploymentInstancesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listDeploymentInstances(software.amazon.awssdk.services.codedeploy.model.ListDeploymentInstancesRequest)
operation.
This is a convenience which creates an instance of the ListDeploymentInstancesRequest.Builder
avoiding
the need to create one manually via ListDeploymentInstancesRequest.builder()
listDeploymentInstancesRequest
- A Consumer
that will call methods on ListDeploymentInstancesInput.Builder
to create a
request. Represents the input of a ListDeploymentInstances operation.default CompletableFuture<ListDeploymentsResponse> listDeployments(ListDeploymentsRequest listDeploymentsRequest)
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.
listDeploymentsRequest
- Represents the input of a ListDeployments operation.default CompletableFuture<ListDeploymentsResponse> listDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest)
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.
This is a convenience which creates an instance of the ListDeploymentsRequest.Builder
avoiding the need
to create one manually via ListDeploymentsRequest.builder()
listDeploymentsRequest
- A Consumer
that will call methods on ListDeploymentsInput.Builder
to create a request.
Represents the input of a ListDeployments operation.default CompletableFuture<ListDeploymentsResponse> listDeployments()
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.
default ListDeploymentsPublisher listDeploymentsPaginator()
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.
This is a variant of
listDeployments(software.amazon.awssdk.services.codedeploy.model.ListDeploymentsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentsPublisher publisher = client.listDeploymentsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentsPublisher publisher = client.listDeploymentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codedeploy.model.ListDeploymentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codedeploy.model.ListDeploymentsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listDeployments(software.amazon.awssdk.services.codedeploy.model.ListDeploymentsRequest)
operation.
default ListDeploymentsPublisher listDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest)
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.
This is a variant of
listDeployments(software.amazon.awssdk.services.codedeploy.model.ListDeploymentsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentsPublisher publisher = client.listDeploymentsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentsPublisher publisher = client.listDeploymentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codedeploy.model.ListDeploymentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codedeploy.model.ListDeploymentsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listDeployments(software.amazon.awssdk.services.codedeploy.model.ListDeploymentsRequest)
operation.
listDeploymentsRequest
- Represents the input of a ListDeployments operation.default ListDeploymentsPublisher listDeploymentsPaginator(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest)
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.
This is a variant of
listDeployments(software.amazon.awssdk.services.codedeploy.model.ListDeploymentsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentsPublisher publisher = client.listDeploymentsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentsPublisher publisher = client.listDeploymentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codedeploy.model.ListDeploymentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codedeploy.model.ListDeploymentsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listDeployments(software.amazon.awssdk.services.codedeploy.model.ListDeploymentsRequest)
operation.
This is a convenience which creates an instance of the ListDeploymentsRequest.Builder
avoiding the need
to create one manually via ListDeploymentsRequest.builder()
listDeploymentsRequest
- A Consumer
that will call methods on ListDeploymentsInput.Builder
to create a request.
Represents the input of a ListDeployments operation.default CompletableFuture<ListGitHubAccountTokenNamesResponse> listGitHubAccountTokenNames(ListGitHubAccountTokenNamesRequest listGitHubAccountTokenNamesRequest)
Lists the names of stored connections to GitHub accounts.
listGitHubAccountTokenNamesRequest
- Represents the input of a ListGitHubAccountTokenNames operation.default CompletableFuture<ListGitHubAccountTokenNamesResponse> listGitHubAccountTokenNames(Consumer<ListGitHubAccountTokenNamesRequest.Builder> listGitHubAccountTokenNamesRequest)
Lists the names of stored connections to GitHub accounts.
This is a convenience which creates an instance of the ListGitHubAccountTokenNamesRequest.Builder
avoiding the need to create one manually via ListGitHubAccountTokenNamesRequest.builder()
listGitHubAccountTokenNamesRequest
- A Consumer
that will call methods on ListGitHubAccountTokenNamesInput.Builder
to create a
request. Represents the input of a ListGitHubAccountTokenNames operation.default CompletableFuture<ListGitHubAccountTokenNamesResponse> listGitHubAccountTokenNames()
Lists the names of stored connections to GitHub accounts.
default CompletableFuture<ListOnPremisesInstancesResponse> listOnPremisesInstances(ListOnPremisesInstancesRequest listOnPremisesInstancesRequest)
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.
listOnPremisesInstancesRequest
- Represents the input of a ListOnPremisesInstances operation.default CompletableFuture<ListOnPremisesInstancesResponse> listOnPremisesInstances(Consumer<ListOnPremisesInstancesRequest.Builder> listOnPremisesInstancesRequest)
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.
This is a convenience which creates an instance of the ListOnPremisesInstancesRequest.Builder
avoiding
the need to create one manually via ListOnPremisesInstancesRequest.builder()
listOnPremisesInstancesRequest
- A Consumer
that will call methods on ListOnPremisesInstancesInput.Builder
to create a
request. Represents the input of a ListOnPremisesInstances operation.default CompletableFuture<ListOnPremisesInstancesResponse> listOnPremisesInstances()
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.
default CompletableFuture<RegisterApplicationRevisionResponse> registerApplicationRevision(RegisterApplicationRevisionRequest registerApplicationRevisionRequest)
Registers with AWS CodeDeploy a revision for the specified application.
registerApplicationRevisionRequest
- Represents the input of a RegisterApplicationRevision operation.default CompletableFuture<RegisterApplicationRevisionResponse> registerApplicationRevision(Consumer<RegisterApplicationRevisionRequest.Builder> registerApplicationRevisionRequest)
Registers with AWS CodeDeploy a revision for the specified application.
This is a convenience which creates an instance of the RegisterApplicationRevisionRequest.Builder
avoiding the need to create one manually via RegisterApplicationRevisionRequest.builder()
registerApplicationRevisionRequest
- A Consumer
that will call methods on RegisterApplicationRevisionInput.Builder
to create a
request. Represents the input of a RegisterApplicationRevision operation.default CompletableFuture<RegisterOnPremisesInstanceResponse> registerOnPremisesInstance(RegisterOnPremisesInstanceRequest registerOnPremisesInstanceRequest)
Registers an on-premises instance.
Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both.
registerOnPremisesInstanceRequest
- Represents the input of the register on-premises instance operation.default CompletableFuture<RegisterOnPremisesInstanceResponse> registerOnPremisesInstance(Consumer<RegisterOnPremisesInstanceRequest.Builder> registerOnPremisesInstanceRequest)
Registers an on-premises instance.
Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both.
This is a convenience which creates an instance of the RegisterOnPremisesInstanceRequest.Builder
avoiding
the need to create one manually via RegisterOnPremisesInstanceRequest.builder()
registerOnPremisesInstanceRequest
- A Consumer
that will call methods on RegisterOnPremisesInstanceInput.Builder
to create a
request. Represents the input of the register on-premises instance operation.default CompletableFuture<RemoveTagsFromOnPremisesInstancesResponse> removeTagsFromOnPremisesInstances(RemoveTagsFromOnPremisesInstancesRequest removeTagsFromOnPremisesInstancesRequest)
Removes one or more tags from one or more on-premises instances.
removeTagsFromOnPremisesInstancesRequest
- Represents the input of a RemoveTagsFromOnPremisesInstances operation.default CompletableFuture<RemoveTagsFromOnPremisesInstancesResponse> removeTagsFromOnPremisesInstances(Consumer<RemoveTagsFromOnPremisesInstancesRequest.Builder> removeTagsFromOnPremisesInstancesRequest)
Removes one or more tags from one or more on-premises instances.
This is a convenience which creates an instance of the RemoveTagsFromOnPremisesInstancesRequest.Builder
avoiding the need to create one manually via RemoveTagsFromOnPremisesInstancesRequest.builder()
removeTagsFromOnPremisesInstancesRequest
- A Consumer
that will call methods on RemoveTagsFromOnPremisesInstancesInput.Builder
to
create a request. Represents the input of a RemoveTagsFromOnPremisesInstances operation.default CompletableFuture<SkipWaitTimeForInstanceTerminationResponse> skipWaitTimeForInstanceTermination(SkipWaitTimeForInstanceTerminationRequest skipWaitTimeForInstanceTerminationRequest)
In a blue/green deployment, overrides any specified wait time and starts terminating instances immediately after the traffic routing is completed.
skipWaitTimeForInstanceTerminationRequest
- default CompletableFuture<SkipWaitTimeForInstanceTerminationResponse> skipWaitTimeForInstanceTermination(Consumer<SkipWaitTimeForInstanceTerminationRequest.Builder> skipWaitTimeForInstanceTerminationRequest)
In a blue/green deployment, overrides any specified wait time and starts terminating instances immediately after the traffic routing is completed.
This is a convenience which creates an instance of the SkipWaitTimeForInstanceTerminationRequest.Builder
avoiding the need to create one manually via SkipWaitTimeForInstanceTerminationRequest.builder()
skipWaitTimeForInstanceTerminationRequest
- A Consumer
that will call methods on SkipWaitTimeForInstanceTerminationInput.Builder
to
create a request.default CompletableFuture<StopDeploymentResponse> stopDeployment(StopDeploymentRequest stopDeploymentRequest)
Attempts to stop an ongoing deployment.
stopDeploymentRequest
- Represents the input of a StopDeployment operation.default CompletableFuture<StopDeploymentResponse> stopDeployment(Consumer<StopDeploymentRequest.Builder> stopDeploymentRequest)
Attempts to stop an ongoing deployment.
This is a convenience which creates an instance of the StopDeploymentRequest.Builder
avoiding the need to
create one manually via StopDeploymentRequest.builder()
stopDeploymentRequest
- A Consumer
that will call methods on StopDeploymentInput.Builder
to create a request.
Represents the input of a StopDeployment operation.default CompletableFuture<UpdateApplicationResponse> updateApplication(UpdateApplicationRequest updateApplicationRequest)
Changes the name of an application.
updateApplicationRequest
- Represents the input of an UpdateApplication operation.default CompletableFuture<UpdateApplicationResponse> updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)
Changes the name of an application.
This is a convenience which creates an instance of the UpdateApplicationRequest.Builder
avoiding the need
to create one manually via UpdateApplicationRequest.builder()
updateApplicationRequest
- A Consumer
that will call methods on UpdateApplicationInput.Builder
to create a request.
Represents the input of an UpdateApplication operation.default CompletableFuture<UpdateDeploymentGroupResponse> updateDeploymentGroup(UpdateDeploymentGroupRequest updateDeploymentGroupRequest)
Changes information about a deployment group.
updateDeploymentGroupRequest
- Represents the input of an UpdateDeploymentGroup operation.The alarm list is null.
The alarm object is null.
The alarm name is empty or null or exceeds the 255 character limit.
Two alarms with the same name have been specified.
The alarm configuration is enabled but the alarm list is empty.
default CompletableFuture<UpdateDeploymentGroupResponse> updateDeploymentGroup(Consumer<UpdateDeploymentGroupRequest.Builder> updateDeploymentGroupRequest)
Changes information about a deployment group.
This is a convenience which creates an instance of the UpdateDeploymentGroupRequest.Builder
avoiding the
need to create one manually via UpdateDeploymentGroupRequest.builder()
updateDeploymentGroupRequest
- A Consumer
that will call methods on UpdateDeploymentGroupInput.Builder
to create a
request. Represents the input of an UpdateDeploymentGroup operation.The alarm list is null.
The alarm object is null.
The alarm name is empty or null or exceeds the 255 character limit.
Two alarms with the same name have been specified.
The alarm configuration is enabled but the alarm list is empty.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.