@Generated(value="software.amazon.awssdk:codegen") public interface CodeDeployClient extends SdkClient
builder()
method.
AWS CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances, on-premises instances running in your own facility, or serverless AWS Lambda functions.
You can deploy a nearly unlimited variety of application content, such as an updated Lambda function, 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 or CodeDeploy Lambda applications. A Lambda deployment group contains a group of applications. An EC2/On-premises 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 used in the process of updating a Lambda function or of installing content on one or more instances.
Application revisions: For an AWS Lambda deployment, this is an AppSpec file that specifies the Lambda function to update and one or more functions to validate deployment lifecycle events. For an EC2/On-premises deployment, this is an archive file containing source content—source code, web pages, executable files, and deployment scripts—along with an 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, to make on-premises instances available for AWS CodeDeploy deployments, and to get details about a Lambda function deployment.
AWS CodeDeploy Information Resources
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
default AddTagsToOnPremisesInstancesResponse |
addTagsToOnPremisesInstances(AddTagsToOnPremisesInstancesRequest addTagsToOnPremisesInstancesRequest)
Adds tags to on-premises instances.
|
default AddTagsToOnPremisesInstancesResponse |
addTagsToOnPremisesInstances(Consumer<AddTagsToOnPremisesInstancesRequest.Builder> addTagsToOnPremisesInstancesRequest)
Adds tags to on-premises instances.
|
default BatchGetApplicationRevisionsResponse |
batchGetApplicationRevisions(BatchGetApplicationRevisionsRequest batchGetApplicationRevisionsRequest)
Gets information about one or more application revisions.
|
default BatchGetApplicationRevisionsResponse |
batchGetApplicationRevisions(Consumer<BatchGetApplicationRevisionsRequest.Builder> batchGetApplicationRevisionsRequest)
Gets information about one or more application revisions.
|
default BatchGetApplicationsResponse |
batchGetApplications(BatchGetApplicationsRequest batchGetApplicationsRequest)
Gets information about one or more applications.
|
default BatchGetApplicationsResponse |
batchGetApplications(Consumer<BatchGetApplicationsRequest.Builder> batchGetApplicationsRequest)
Gets information about one or more applications.
|
default BatchGetDeploymentGroupsResponse |
batchGetDeploymentGroups(BatchGetDeploymentGroupsRequest batchGetDeploymentGroupsRequest)
Gets information about one or more deployment groups.
|
default BatchGetDeploymentGroupsResponse |
batchGetDeploymentGroups(Consumer<BatchGetDeploymentGroupsRequest.Builder> batchGetDeploymentGroupsRequest)
Gets information about one or more deployment groups.
|
default BatchGetDeploymentsResponse |
batchGetDeployments(BatchGetDeploymentsRequest batchGetDeploymentsRequest)
Gets information about one or more deployments.
|
default BatchGetDeploymentsResponse |
batchGetDeployments(Consumer<BatchGetDeploymentsRequest.Builder> batchGetDeploymentsRequest)
Gets information about one or more deployments.
|
default BatchGetDeploymentTargetsResponse |
batchGetDeploymentTargets(BatchGetDeploymentTargetsRequest batchGetDeploymentTargetsRequest)
Returns an array of targets associated with a deployment.
|
default BatchGetDeploymentTargetsResponse |
batchGetDeploymentTargets(Consumer<BatchGetDeploymentTargetsRequest.Builder> batchGetDeploymentTargetsRequest)
Returns an array of targets associated with a deployment.
|
default BatchGetOnPremisesInstancesResponse |
batchGetOnPremisesInstances(BatchGetOnPremisesInstancesRequest batchGetOnPremisesInstancesRequest)
Gets information about one or more on-premises instances.
|
default BatchGetOnPremisesInstancesResponse |
batchGetOnPremisesInstances(Consumer<BatchGetOnPremisesInstancesRequest.Builder> batchGetOnPremisesInstancesRequest)
Gets information about one or more on-premises instances.
|
static CodeDeployClientBuilder |
builder()
Create a builder that can be used to configure and create a
CodeDeployClient . |
default 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 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 CodeDeployClient |
create()
Create a
CodeDeployClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CreateApplicationResponse |
createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)
Creates an application.
|
default CreateApplicationResponse |
createApplication(CreateApplicationRequest createApplicationRequest)
Creates an application.
|
default CreateDeploymentResponse |
createDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest)
Deploys an application revision through the specified deployment group.
|
default CreateDeploymentResponse |
createDeployment(CreateDeploymentRequest createDeploymentRequest)
Deploys an application revision through the specified deployment group.
|
default CreateDeploymentConfigResponse |
createDeploymentConfig(Consumer<CreateDeploymentConfigRequest.Builder> createDeploymentConfigRequest)
Creates a deployment configuration.
|
default CreateDeploymentConfigResponse |
createDeploymentConfig(CreateDeploymentConfigRequest createDeploymentConfigRequest)
Creates a deployment configuration.
|
default CreateDeploymentGroupResponse |
createDeploymentGroup(Consumer<CreateDeploymentGroupRequest.Builder> createDeploymentGroupRequest)
Creates a deployment group to which application revisions will be deployed.
|
default CreateDeploymentGroupResponse |
createDeploymentGroup(CreateDeploymentGroupRequest createDeploymentGroupRequest)
Creates a deployment group to which application revisions will be deployed.
|
default DeleteApplicationResponse |
deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest)
Deletes an application.
|
default DeleteApplicationResponse |
deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Deletes an application.
|
default DeleteDeploymentConfigResponse |
deleteDeploymentConfig(Consumer<DeleteDeploymentConfigRequest.Builder> deleteDeploymentConfigRequest)
Deletes a deployment configuration.
|
default DeleteDeploymentConfigResponse |
deleteDeploymentConfig(DeleteDeploymentConfigRequest deleteDeploymentConfigRequest)
Deletes a deployment configuration.
|
default DeleteDeploymentGroupResponse |
deleteDeploymentGroup(Consumer<DeleteDeploymentGroupRequest.Builder> deleteDeploymentGroupRequest)
Deletes a deployment group.
|
default DeleteDeploymentGroupResponse |
deleteDeploymentGroup(DeleteDeploymentGroupRequest deleteDeploymentGroupRequest)
Deletes a deployment group.
|
default DeleteGitHubAccountTokenResponse |
deleteGitHubAccountToken(Consumer<DeleteGitHubAccountTokenRequest.Builder> deleteGitHubAccountTokenRequest)
Deletes a GitHub account connection.
|
default DeleteGitHubAccountTokenResponse |
deleteGitHubAccountToken(DeleteGitHubAccountTokenRequest deleteGitHubAccountTokenRequest)
Deletes a GitHub account connection.
|
default DeregisterOnPremisesInstanceResponse |
deregisterOnPremisesInstance(Consumer<DeregisterOnPremisesInstanceRequest.Builder> deregisterOnPremisesInstanceRequest)
Deregisters an on-premises instance.
|
default DeregisterOnPremisesInstanceResponse |
deregisterOnPremisesInstance(DeregisterOnPremisesInstanceRequest deregisterOnPremisesInstanceRequest)
Deregisters an on-premises instance.
|
default GetApplicationResponse |
getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest)
Gets information about an application.
|
default GetApplicationResponse |
getApplication(GetApplicationRequest getApplicationRequest)
Gets information about an application.
|
default GetApplicationRevisionResponse |
getApplicationRevision(Consumer<GetApplicationRevisionRequest.Builder> getApplicationRevisionRequest)
Gets information about an application revision.
|
default GetApplicationRevisionResponse |
getApplicationRevision(GetApplicationRevisionRequest getApplicationRevisionRequest)
Gets information about an application revision.
|
default GetDeploymentResponse |
getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest)
Gets information about a deployment.
|
default GetDeploymentResponse |
getDeployment(GetDeploymentRequest getDeploymentRequest)
Gets information about a deployment.
|
default GetDeploymentConfigResponse |
getDeploymentConfig(Consumer<GetDeploymentConfigRequest.Builder> getDeploymentConfigRequest)
Gets information about a deployment configuration.
|
default GetDeploymentConfigResponse |
getDeploymentConfig(GetDeploymentConfigRequest getDeploymentConfigRequest)
Gets information about a deployment configuration.
|
default GetDeploymentGroupResponse |
getDeploymentGroup(Consumer<GetDeploymentGroupRequest.Builder> getDeploymentGroupRequest)
Gets information about a deployment group.
|
default GetDeploymentGroupResponse |
getDeploymentGroup(GetDeploymentGroupRequest getDeploymentGroupRequest)
Gets information about a deployment group.
|
default GetDeploymentTargetResponse |
getDeploymentTarget(Consumer<GetDeploymentTargetRequest.Builder> getDeploymentTargetRequest)
Returns information about a deployment target.
|
default GetDeploymentTargetResponse |
getDeploymentTarget(GetDeploymentTargetRequest getDeploymentTargetRequest)
Returns information about a deployment target.
|
default GetOnPremisesInstanceResponse |
getOnPremisesInstance(Consumer<GetOnPremisesInstanceRequest.Builder> getOnPremisesInstanceRequest)
Gets information about an on-premises instance.
|
default GetOnPremisesInstanceResponse |
getOnPremisesInstance(GetOnPremisesInstanceRequest getOnPremisesInstanceRequest)
Gets information about an on-premises instance.
|
default ListApplicationRevisionsResponse |
listApplicationRevisions(Consumer<ListApplicationRevisionsRequest.Builder> listApplicationRevisionsRequest)
Lists information about revisions for an application.
|
default ListApplicationRevisionsResponse |
listApplicationRevisions(ListApplicationRevisionsRequest listApplicationRevisionsRequest)
Lists information about revisions for an application.
|
default ListApplicationRevisionsIterable |
listApplicationRevisionsPaginator(Consumer<ListApplicationRevisionsRequest.Builder> listApplicationRevisionsRequest)
Lists information about revisions for an application.
|
default ListApplicationRevisionsIterable |
listApplicationRevisionsPaginator(ListApplicationRevisionsRequest listApplicationRevisionsRequest)
Lists information about revisions for an application.
|
default ListApplicationsResponse |
listApplications()
Lists the applications registered with the applicable IAM user or AWS account.
|
default ListApplicationsResponse |
listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists the applications registered with the applicable IAM user or AWS account.
|
default ListApplicationsResponse |
listApplications(ListApplicationsRequest listApplicationsRequest)
Lists the applications registered with the applicable IAM user or AWS account.
|
default ListApplicationsIterable |
listApplicationsPaginator()
Lists the applications registered with the applicable IAM user or AWS account.
|
default ListApplicationsIterable |
listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists the applications registered with the applicable IAM user or AWS account.
|
default ListApplicationsIterable |
listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest)
Lists the applications registered with the applicable IAM user or AWS account.
|
default ListDeploymentConfigsResponse |
listDeploymentConfigs()
Lists the deployment configurations with the applicable IAM user or AWS account.
|
default ListDeploymentConfigsResponse |
listDeploymentConfigs(Consumer<ListDeploymentConfigsRequest.Builder> listDeploymentConfigsRequest)
Lists the deployment configurations with the applicable IAM user or AWS account.
|
default ListDeploymentConfigsResponse |
listDeploymentConfigs(ListDeploymentConfigsRequest listDeploymentConfigsRequest)
Lists the deployment configurations with the applicable IAM user or AWS account.
|
default ListDeploymentConfigsIterable |
listDeploymentConfigsPaginator()
Lists the deployment configurations with the applicable IAM user or AWS account.
|
default ListDeploymentConfigsIterable |
listDeploymentConfigsPaginator(Consumer<ListDeploymentConfigsRequest.Builder> listDeploymentConfigsRequest)
Lists the deployment configurations with the applicable IAM user or AWS account.
|
default ListDeploymentConfigsIterable |
listDeploymentConfigsPaginator(ListDeploymentConfigsRequest listDeploymentConfigsRequest)
Lists the deployment configurations with the applicable IAM user or AWS account.
|
default ListDeploymentGroupsResponse |
listDeploymentGroups(Consumer<ListDeploymentGroupsRequest.Builder> listDeploymentGroupsRequest)
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
|
default ListDeploymentGroupsResponse |
listDeploymentGroups(ListDeploymentGroupsRequest listDeploymentGroupsRequest)
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
|
default ListDeploymentGroupsIterable |
listDeploymentGroupsPaginator(Consumer<ListDeploymentGroupsRequest.Builder> listDeploymentGroupsRequest)
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
|
default ListDeploymentGroupsIterable |
listDeploymentGroupsPaginator(ListDeploymentGroupsRequest listDeploymentGroupsRequest)
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
|
default ListDeploymentsResponse |
listDeployments()
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS
account.
|
default 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 ListDeploymentsResponse |
listDeployments(ListDeploymentsRequest listDeploymentsRequest)
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS
account.
|
default ListDeploymentsIterable |
listDeploymentsPaginator()
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS
account.
|
default ListDeploymentsIterable |
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 ListDeploymentsIterable |
listDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest)
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS
account.
|
default ListDeploymentTargetsResponse |
listDeploymentTargets(Consumer<ListDeploymentTargetsRequest.Builder> listDeploymentTargetsRequest)
Returns an array of target IDs that are associated a deployment.
|
default ListDeploymentTargetsResponse |
listDeploymentTargets(ListDeploymentTargetsRequest listDeploymentTargetsRequest)
Returns an array of target IDs that are associated a deployment.
|
default ListGitHubAccountTokenNamesResponse |
listGitHubAccountTokenNames()
Lists the names of stored connections to GitHub accounts.
|
default ListGitHubAccountTokenNamesResponse |
listGitHubAccountTokenNames(Consumer<ListGitHubAccountTokenNamesRequest.Builder> listGitHubAccountTokenNamesRequest)
Lists the names of stored connections to GitHub accounts.
|
default ListGitHubAccountTokenNamesResponse |
listGitHubAccountTokenNames(ListGitHubAccountTokenNamesRequest listGitHubAccountTokenNamesRequest)
Lists the names of stored connections to GitHub accounts.
|
default ListOnPremisesInstancesResponse |
listOnPremisesInstances()
Gets a list of names for one or more on-premises instances.
|
default ListOnPremisesInstancesResponse |
listOnPremisesInstances(Consumer<ListOnPremisesInstancesRequest.Builder> listOnPremisesInstancesRequest)
Gets a list of names for one or more on-premises instances.
|
default ListOnPremisesInstancesResponse |
listOnPremisesInstances(ListOnPremisesInstancesRequest listOnPremisesInstancesRequest)
Gets a list of names for one or more on-premises instances.
|
default PutLifecycleEventHookExecutionStatusResponse |
putLifecycleEventHookExecutionStatus(Consumer<PutLifecycleEventHookExecutionStatusRequest.Builder> putLifecycleEventHookExecutionStatusRequest)
Sets the result of a Lambda validation function.
|
default PutLifecycleEventHookExecutionStatusResponse |
putLifecycleEventHookExecutionStatus(PutLifecycleEventHookExecutionStatusRequest putLifecycleEventHookExecutionStatusRequest)
Sets the result of a Lambda validation function.
|
default RegisterApplicationRevisionResponse |
registerApplicationRevision(Consumer<RegisterApplicationRevisionRequest.Builder> registerApplicationRevisionRequest)
Registers with AWS CodeDeploy a revision for the specified application.
|
default RegisterApplicationRevisionResponse |
registerApplicationRevision(RegisterApplicationRevisionRequest registerApplicationRevisionRequest)
Registers with AWS CodeDeploy a revision for the specified application.
|
default RegisterOnPremisesInstanceResponse |
registerOnPremisesInstance(Consumer<RegisterOnPremisesInstanceRequest.Builder> registerOnPremisesInstanceRequest)
Registers an on-premises instance.
|
default RegisterOnPremisesInstanceResponse |
registerOnPremisesInstance(RegisterOnPremisesInstanceRequest registerOnPremisesInstanceRequest)
Registers an on-premises instance.
|
default RemoveTagsFromOnPremisesInstancesResponse |
removeTagsFromOnPremisesInstances(Consumer<RemoveTagsFromOnPremisesInstancesRequest.Builder> removeTagsFromOnPremisesInstancesRequest)
Removes one or more tags from one or more on-premises instances.
|
default RemoveTagsFromOnPremisesInstancesResponse |
removeTagsFromOnPremisesInstances(RemoveTagsFromOnPremisesInstancesRequest removeTagsFromOnPremisesInstancesRequest)
Removes one or more tags from one or more on-premises instances.
|
static ServiceMetadata |
serviceMetadata() |
default StopDeploymentResponse |
stopDeployment(Consumer<StopDeploymentRequest.Builder> stopDeploymentRequest)
Attempts to stop an ongoing deployment.
|
default StopDeploymentResponse |
stopDeployment(StopDeploymentRequest stopDeploymentRequest)
Attempts to stop an ongoing deployment.
|
default UpdateApplicationResponse |
updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)
Changes the name of an application.
|
default UpdateApplicationResponse |
updateApplication(UpdateApplicationRequest updateApplicationRequest)
Changes the name of an application.
|
default UpdateDeploymentGroupResponse |
updateDeploymentGroup(Consumer<UpdateDeploymentGroupRequest.Builder> updateDeploymentGroupRequest)
Changes information about a deployment group.
|
default UpdateDeploymentGroupResponse |
updateDeploymentGroup(UpdateDeploymentGroupRequest updateDeploymentGroupRequest)
Changes information about a deployment group.
|
serviceName
close
static final String SERVICE_NAME
static CodeDeployClient create()
CodeDeployClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static CodeDeployClientBuilder builder()
CodeDeployClient
.default AddTagsToOnPremisesInstancesResponse addTagsToOnPremisesInstances(AddTagsToOnPremisesInstancesRequest addTagsToOnPremisesInstancesRequest) throws InstanceNameRequiredException, InvalidInstanceNameException, TagRequiredException, InvalidTagException, TagLimitExceededException, InstanceLimitExceededException, InstanceNotRegisteredException, AwsServiceException, SdkClientException, CodeDeployException
Adds tags to on-premises instances.
addTagsToOnPremisesInstancesRequest
- Represents the input of, and adds tags to, an on-premises instance operation.InstanceNameRequiredException
- An on-premises instance name was not specified.InvalidInstanceNameException
- The specified on-premises instance name was specified in an invalid format.TagRequiredException
- A tag was not specified.InvalidTagException
- The specified tag was specified in an invalid format.TagLimitExceededException
- The maximum allowed number of tags was exceeded.InstanceLimitExceededException
- The maximum number of allowed on-premises instances in a single call was exceeded.InstanceNotRegisteredException
- The specified on-premises instance is not registered.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default AddTagsToOnPremisesInstancesResponse addTagsToOnPremisesInstances(Consumer<AddTagsToOnPremisesInstancesRequest.Builder> addTagsToOnPremisesInstancesRequest) throws InstanceNameRequiredException, InvalidInstanceNameException, TagRequiredException, InvalidTagException, TagLimitExceededException, InstanceLimitExceededException, InstanceNotRegisteredException, AwsServiceException, SdkClientException, CodeDeployException
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.InstanceNameRequiredException
- An on-premises instance name was not specified.InvalidInstanceNameException
- The specified on-premises instance name was specified in an invalid format.TagRequiredException
- A tag was not specified.InvalidTagException
- The specified tag was specified in an invalid format.TagLimitExceededException
- The maximum allowed number of tags was exceeded.InstanceLimitExceededException
- The maximum number of allowed on-premises instances in a single call was exceeded.InstanceNotRegisteredException
- The specified on-premises instance is not registered.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default BatchGetApplicationRevisionsResponse batchGetApplicationRevisions(BatchGetApplicationRevisionsRequest batchGetApplicationRevisionsRequest) throws ApplicationDoesNotExistException, ApplicationNameRequiredException, InvalidApplicationNameException, RevisionRequiredException, InvalidRevisionException, BatchLimitExceededException, AwsServiceException, SdkClientException, CodeDeployException
Gets information about one or more application revisions.
batchGetApplicationRevisionsRequest
- Represents the input of a BatchGetApplicationRevisions operation.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.RevisionRequiredException
- The revision ID was not specified.InvalidRevisionException
- The revision was specified in an invalid format.BatchLimitExceededException
- The maximum number of names or IDs allowed for this request (100) was exceeded.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default BatchGetApplicationRevisionsResponse batchGetApplicationRevisions(Consumer<BatchGetApplicationRevisionsRequest.Builder> batchGetApplicationRevisionsRequest) throws ApplicationDoesNotExistException, ApplicationNameRequiredException, InvalidApplicationNameException, RevisionRequiredException, InvalidRevisionException, BatchLimitExceededException, AwsServiceException, SdkClientException, CodeDeployException
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.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.RevisionRequiredException
- The revision ID was not specified.InvalidRevisionException
- The revision was specified in an invalid format.BatchLimitExceededException
- The maximum number of names or IDs allowed for this request (100) was exceeded.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default BatchGetApplicationsResponse batchGetApplications(BatchGetApplicationsRequest batchGetApplicationsRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, BatchLimitExceededException, AwsServiceException, SdkClientException, CodeDeployException
Gets information about one or more applications.
batchGetApplicationsRequest
- Represents the input of a BatchGetApplications operation.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.BatchLimitExceededException
- The maximum number of names or IDs allowed for this request (100) was exceeded.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default BatchGetApplicationsResponse batchGetApplications(Consumer<BatchGetApplicationsRequest.Builder> batchGetApplicationsRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, BatchLimitExceededException, AwsServiceException, SdkClientException, CodeDeployException
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.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.BatchLimitExceededException
- The maximum number of names or IDs allowed for this request (100) was exceeded.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default BatchGetDeploymentGroupsResponse batchGetDeploymentGroups(BatchGetDeploymentGroupsRequest batchGetDeploymentGroupsRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, DeploymentGroupNameRequiredException, InvalidDeploymentGroupNameException, BatchLimitExceededException, DeploymentConfigDoesNotExistException, AwsServiceException, SdkClientException, CodeDeployException
Gets information about one or more deployment groups.
batchGetDeploymentGroupsRequest
- Represents the input of a BatchGetDeploymentGroups operation.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.DeploymentGroupNameRequiredException
- The deployment group name was not specified.InvalidDeploymentGroupNameException
- The deployment group name was specified in an invalid format.BatchLimitExceededException
- The maximum number of names or IDs allowed for this request (100) was exceeded.DeploymentConfigDoesNotExistException
- The deployment configuration does not exist with the applicable IAM user or AWS account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default BatchGetDeploymentGroupsResponse batchGetDeploymentGroups(Consumer<BatchGetDeploymentGroupsRequest.Builder> batchGetDeploymentGroupsRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, DeploymentGroupNameRequiredException, InvalidDeploymentGroupNameException, BatchLimitExceededException, DeploymentConfigDoesNotExistException, AwsServiceException, SdkClientException, CodeDeployException
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.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.DeploymentGroupNameRequiredException
- The deployment group name was not specified.InvalidDeploymentGroupNameException
- The deployment group name was specified in an invalid format.BatchLimitExceededException
- The maximum number of names or IDs allowed for this request (100) was exceeded.DeploymentConfigDoesNotExistException
- The deployment configuration does not exist with the applicable IAM user or AWS account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default BatchGetDeploymentTargetsResponse batchGetDeploymentTargets(BatchGetDeploymentTargetsRequest batchGetDeploymentTargetsRequest) throws InvalidDeploymentIdException, DeploymentIdRequiredException, DeploymentDoesNotExistException, DeploymentTargetIdRequiredException, InvalidDeploymentTargetIdException, DeploymentTargetDoesNotExistException, DeploymentTargetListSizeExceededException, AwsServiceException, SdkClientException, CodeDeployException
Returns an array of targets associated with a deployment. This method works with all compute types and should be
used instead of the deprecated BatchGetDeploymentInstances
.
The type of targets returned depends on the deployment's compute platform:
EC2/On-premises - Information about EC2 instance targets.
AWS Lambda - Information about Lambda functions targets.
Amazon ECS - Information about ECS service targets.
batchGetDeploymentTargetsRequest
- InvalidDeploymentIdException
- At least one of the deployment IDs was specified in an invalid format.DeploymentIdRequiredException
- At least one deployment ID must be specified.DeploymentDoesNotExistException
- The deployment does not exist with the applicable IAM user or AWS account.DeploymentTargetIdRequiredException
- A deployment target ID was not provided.InvalidDeploymentTargetIdException
- The target ID provide was not valid.DeploymentTargetDoesNotExistException
- The provided target ID does not belong to the attempted deployment.DeploymentTargetListSizeExceededException
- The maximum number of targets that can be associated with an Amazon ECS or AWS Lambda deployment was
exceeded. The target list of both types of deployments must have exactly one item. This exception does
not apply to EC2/On-premises deployments.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default BatchGetDeploymentTargetsResponse batchGetDeploymentTargets(Consumer<BatchGetDeploymentTargetsRequest.Builder> batchGetDeploymentTargetsRequest) throws InvalidDeploymentIdException, DeploymentIdRequiredException, DeploymentDoesNotExistException, DeploymentTargetIdRequiredException, InvalidDeploymentTargetIdException, DeploymentTargetDoesNotExistException, DeploymentTargetListSizeExceededException, AwsServiceException, SdkClientException, CodeDeployException
Returns an array of targets associated with a deployment. This method works with all compute types and should be
used instead of the deprecated BatchGetDeploymentInstances
.
The type of targets returned depends on the deployment's compute platform:
EC2/On-premises - Information about EC2 instance targets.
AWS Lambda - Information about Lambda functions targets.
Amazon ECS - Information about ECS service targets.
This is a convenience which creates an instance of the BatchGetDeploymentTargetsRequest.Builder
avoiding
the need to create one manually via BatchGetDeploymentTargetsRequest.builder()
batchGetDeploymentTargetsRequest
- A Consumer
that will call methods on BatchGetDeploymentTargetsInput.Builder
to create a
request.InvalidDeploymentIdException
- At least one of the deployment IDs was specified in an invalid format.DeploymentIdRequiredException
- At least one deployment ID must be specified.DeploymentDoesNotExistException
- The deployment does not exist with the applicable IAM user or AWS account.DeploymentTargetIdRequiredException
- A deployment target ID was not provided.InvalidDeploymentTargetIdException
- The target ID provide was not valid.DeploymentTargetDoesNotExistException
- The provided target ID does not belong to the attempted deployment.DeploymentTargetListSizeExceededException
- The maximum number of targets that can be associated with an Amazon ECS or AWS Lambda deployment was
exceeded. The target list of both types of deployments must have exactly one item. This exception does
not apply to EC2/On-premises deployments.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default BatchGetDeploymentsResponse batchGetDeployments(BatchGetDeploymentsRequest batchGetDeploymentsRequest) throws DeploymentIdRequiredException, InvalidDeploymentIdException, BatchLimitExceededException, AwsServiceException, SdkClientException, CodeDeployException
Gets information about one or more deployments.
batchGetDeploymentsRequest
- Represents the input of a BatchGetDeployments operation.DeploymentIdRequiredException
- At least one deployment ID must be specified.InvalidDeploymentIdException
- At least one of the deployment IDs was specified in an invalid format.BatchLimitExceededException
- The maximum number of names or IDs allowed for this request (100) was exceeded.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default BatchGetDeploymentsResponse batchGetDeployments(Consumer<BatchGetDeploymentsRequest.Builder> batchGetDeploymentsRequest) throws DeploymentIdRequiredException, InvalidDeploymentIdException, BatchLimitExceededException, AwsServiceException, SdkClientException, CodeDeployException
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.DeploymentIdRequiredException
- At least one deployment ID must be specified.InvalidDeploymentIdException
- At least one of the deployment IDs was specified in an invalid format.BatchLimitExceededException
- The maximum number of names or IDs allowed for this request (100) was exceeded.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default BatchGetOnPremisesInstancesResponse batchGetOnPremisesInstances(BatchGetOnPremisesInstancesRequest batchGetOnPremisesInstancesRequest) throws InstanceNameRequiredException, InvalidInstanceNameException, BatchLimitExceededException, AwsServiceException, SdkClientException, CodeDeployException
Gets information about one or more on-premises instances.
batchGetOnPremisesInstancesRequest
- Represents the input of a BatchGetOnPremisesInstances operation.InstanceNameRequiredException
- An on-premises instance name was not specified.InvalidInstanceNameException
- The specified on-premises instance name was specified in an invalid format.BatchLimitExceededException
- The maximum number of names or IDs allowed for this request (100) was exceeded.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default BatchGetOnPremisesInstancesResponse batchGetOnPremisesInstances(Consumer<BatchGetOnPremisesInstancesRequest.Builder> batchGetOnPremisesInstancesRequest) throws InstanceNameRequiredException, InvalidInstanceNameException, BatchLimitExceededException, AwsServiceException, SdkClientException, CodeDeployException
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.InstanceNameRequiredException
- An on-premises instance name was not specified.InvalidInstanceNameException
- The specified on-premises instance name was specified in an invalid format.BatchLimitExceededException
- The maximum number of names or IDs allowed for this request (100) was exceeded.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ContinueDeploymentResponse continueDeployment(ContinueDeploymentRequest continueDeploymentRequest) throws DeploymentIdRequiredException, DeploymentDoesNotExistException, DeploymentAlreadyCompletedException, InvalidDeploymentIdException, DeploymentIsNotInReadyStateException, UnsupportedActionForDeploymentTypeException, InvalidDeploymentWaitTypeException, InvalidDeploymentStatusException, AwsServiceException, SdkClientException, CodeDeployException
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
- DeploymentIdRequiredException
- At least one deployment ID must be specified.DeploymentDoesNotExistException
- The deployment does not exist with the applicable IAM user or AWS account.DeploymentAlreadyCompletedException
- The deployment is already complete.InvalidDeploymentIdException
- At least one of the deployment IDs was specified in an invalid format.DeploymentIsNotInReadyStateException
- The deployment does not have a status of Ready and can't continue yet.UnsupportedActionForDeploymentTypeException
- A call was submitted that is not supported for the specified deployment type.InvalidDeploymentWaitTypeException
- The wait type is invalid.InvalidDeploymentStatusException
- The specified deployment status doesn't exist or cannot be determined.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ContinueDeploymentResponse continueDeployment(Consumer<ContinueDeploymentRequest.Builder> continueDeploymentRequest) throws DeploymentIdRequiredException, DeploymentDoesNotExistException, DeploymentAlreadyCompletedException, InvalidDeploymentIdException, DeploymentIsNotInReadyStateException, UnsupportedActionForDeploymentTypeException, InvalidDeploymentWaitTypeException, InvalidDeploymentStatusException, AwsServiceException, SdkClientException, CodeDeployException
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.DeploymentIdRequiredException
- At least one deployment ID must be specified.DeploymentDoesNotExistException
- The deployment does not exist with the applicable IAM user or AWS account.DeploymentAlreadyCompletedException
- The deployment is already complete.InvalidDeploymentIdException
- At least one of the deployment IDs was specified in an invalid format.DeploymentIsNotInReadyStateException
- The deployment does not have a status of Ready and can't continue yet.UnsupportedActionForDeploymentTypeException
- A call was submitted that is not supported for the specified deployment type.InvalidDeploymentWaitTypeException
- The wait type is invalid.InvalidDeploymentStatusException
- The specified deployment status doesn't exist or cannot be determined.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationAlreadyExistsException, ApplicationLimitExceededException, InvalidComputePlatformException, AwsServiceException, SdkClientException, CodeDeployException
Creates an application.
createApplicationRequest
- Represents the input of a CreateApplication operation.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationAlreadyExistsException
- An application with the specified name already exists with the applicable IAM user or AWS account.ApplicationLimitExceededException
- More applications were attempted to be created than are allowed.InvalidComputePlatformException
- The computePlatform is invalid. The computePlatform should be Lambda
or Server
.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateApplicationResponse createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationAlreadyExistsException, ApplicationLimitExceededException, InvalidComputePlatformException, AwsServiceException, SdkClientException, CodeDeployException
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.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationAlreadyExistsException
- An application with the specified name already exists with the applicable IAM user or AWS account.ApplicationLimitExceededException
- More applications were attempted to be created than are allowed.InvalidComputePlatformException
- The computePlatform is invalid. The computePlatform should be Lambda
or Server
.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateDeploymentResponse createDeployment(CreateDeploymentRequest createDeploymentRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, DeploymentGroupNameRequiredException, InvalidDeploymentGroupNameException, DeploymentGroupDoesNotExistException, RevisionRequiredException, RevisionDoesNotExistException, InvalidRevisionException, InvalidDeploymentConfigNameException, DeploymentConfigDoesNotExistException, DescriptionTooLongException, DeploymentLimitExceededException, InvalidTargetInstancesException, InvalidAutoRollbackConfigException, InvalidLoadBalancerInfoException, InvalidFileExistsBehaviorException, InvalidRoleException, InvalidAutoScalingGroupException, ThrottlingException, InvalidUpdateOutdatedInstancesOnlyValueException, InvalidIgnoreApplicationStopFailuresValueException, InvalidGitHubAccountTokenException, AwsServiceException, SdkClientException, CodeDeployException
Deploys an application revision through the specified deployment group.
createDeploymentRequest
- Represents the input of a CreateDeployment operation.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.DeploymentGroupNameRequiredException
- The deployment group name was not specified.InvalidDeploymentGroupNameException
- The deployment group name was specified in an invalid format.DeploymentGroupDoesNotExistException
- The named deployment group does not exist with the applicable IAM user or AWS account.RevisionRequiredException
- The revision ID was not specified.RevisionDoesNotExistException
- The named revision does not exist with the applicable IAM user or AWS account.InvalidRevisionException
- The revision was specified in an invalid format.InvalidDeploymentConfigNameException
- The deployment configuration name was specified in an invalid format.DeploymentConfigDoesNotExistException
- The deployment configuration does not exist with the applicable IAM user or AWS account.DescriptionTooLongException
- The description is too long.DeploymentLimitExceededException
- The number of allowed deployments was exceeded.InvalidTargetInstancesException
- The target instance configuration is invalid. Possible causes include:
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.
InvalidAutoRollbackConfigException
- The automatic rollback configuration was specified in an invalid format. For example, automatic rollback
is enabled but an invalid triggering event type or no event types were listed.InvalidLoadBalancerInfoException
- An invalid load balancer name, or no load balancer name, was specified.InvalidFileExistsBehaviorException
- An invalid fileExistsBehavior option was specified to determine how AWS CodeDeploy handles files or
directories that already exist in a deployment target location but weren't part of the previous
successful deployment. Valid values include "DISALLOW", "OVERWRITE", and "RETAIN".InvalidRoleException
- The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the
specified service role does not grant the appropriate permissions to Auto Scaling.InvalidAutoScalingGroupException
- The Auto Scaling group was specified in an invalid format or does not exist.ThrottlingException
- An API function was called too frequently.InvalidUpdateOutdatedInstancesOnlyValueException
- The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda deployments, false
is
expected. For EC2/On-premises deployments, true
or false
is expected.InvalidIgnoreApplicationStopFailuresValueException
- The IgnoreApplicationStopFailures value is invalid. For AWS Lambda deployments, false
is
expected. For EC2/On-premises deployments, true
or false
is expected.InvalidGitHubAccountTokenException
- The GitHub token is not valid.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateDeploymentResponse createDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, DeploymentGroupNameRequiredException, InvalidDeploymentGroupNameException, DeploymentGroupDoesNotExistException, RevisionRequiredException, RevisionDoesNotExistException, InvalidRevisionException, InvalidDeploymentConfigNameException, DeploymentConfigDoesNotExistException, DescriptionTooLongException, DeploymentLimitExceededException, InvalidTargetInstancesException, InvalidAutoRollbackConfigException, InvalidLoadBalancerInfoException, InvalidFileExistsBehaviorException, InvalidRoleException, InvalidAutoScalingGroupException, ThrottlingException, InvalidUpdateOutdatedInstancesOnlyValueException, InvalidIgnoreApplicationStopFailuresValueException, InvalidGitHubAccountTokenException, AwsServiceException, SdkClientException, CodeDeployException
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.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.DeploymentGroupNameRequiredException
- The deployment group name was not specified.InvalidDeploymentGroupNameException
- The deployment group name was specified in an invalid format.DeploymentGroupDoesNotExistException
- The named deployment group does not exist with the applicable IAM user or AWS account.RevisionRequiredException
- The revision ID was not specified.RevisionDoesNotExistException
- The named revision does not exist with the applicable IAM user or AWS account.InvalidRevisionException
- The revision was specified in an invalid format.InvalidDeploymentConfigNameException
- The deployment configuration name was specified in an invalid format.DeploymentConfigDoesNotExistException
- The deployment configuration does not exist with the applicable IAM user or AWS account.DescriptionTooLongException
- The description is too long.DeploymentLimitExceededException
- The number of allowed deployments was exceeded.InvalidTargetInstancesException
- The target instance configuration is invalid. Possible causes include:
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.
InvalidAutoRollbackConfigException
- The automatic rollback configuration was specified in an invalid format. For example, automatic rollback
is enabled but an invalid triggering event type or no event types were listed.InvalidLoadBalancerInfoException
- An invalid load balancer name, or no load balancer name, was specified.InvalidFileExistsBehaviorException
- An invalid fileExistsBehavior option was specified to determine how AWS CodeDeploy handles files or
directories that already exist in a deployment target location but weren't part of the previous
successful deployment. Valid values include "DISALLOW", "OVERWRITE", and "RETAIN".InvalidRoleException
- The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the
specified service role does not grant the appropriate permissions to Auto Scaling.InvalidAutoScalingGroupException
- The Auto Scaling group was specified in an invalid format or does not exist.ThrottlingException
- An API function was called too frequently.InvalidUpdateOutdatedInstancesOnlyValueException
- The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda deployments, false
is
expected. For EC2/On-premises deployments, true
or false
is expected.InvalidIgnoreApplicationStopFailuresValueException
- The IgnoreApplicationStopFailures value is invalid. For AWS Lambda deployments, false
is
expected. For EC2/On-premises deployments, true
or false
is expected.InvalidGitHubAccountTokenException
- The GitHub token is not valid.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateDeploymentConfigResponse createDeploymentConfig(CreateDeploymentConfigRequest createDeploymentConfigRequest) throws InvalidDeploymentConfigNameException, DeploymentConfigNameRequiredException, DeploymentConfigAlreadyExistsException, InvalidMinimumHealthyHostValueException, DeploymentConfigLimitExceededException, InvalidComputePlatformException, InvalidTrafficRoutingConfigurationException, AwsServiceException, SdkClientException, CodeDeployException
Creates a deployment configuration.
createDeploymentConfigRequest
- Represents the input of a CreateDeploymentConfig operation.InvalidDeploymentConfigNameException
- The deployment configuration name was specified in an invalid format.DeploymentConfigNameRequiredException
- The deployment configuration name was not specified.DeploymentConfigAlreadyExistsException
- A deployment configuration with the specified name already exists with the applicable IAM user or AWS
account.InvalidMinimumHealthyHostValueException
- The minimum healthy instance value was specified in an invalid format.DeploymentConfigLimitExceededException
- The deployment configurations limit was exceeded.InvalidComputePlatformException
- The computePlatform is invalid. The computePlatform should be Lambda
or Server
.InvalidTrafficRoutingConfigurationException
- The configuration that specifies how traffic is routed during a deployment is invalid.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateDeploymentConfigResponse createDeploymentConfig(Consumer<CreateDeploymentConfigRequest.Builder> createDeploymentConfigRequest) throws InvalidDeploymentConfigNameException, DeploymentConfigNameRequiredException, DeploymentConfigAlreadyExistsException, InvalidMinimumHealthyHostValueException, DeploymentConfigLimitExceededException, InvalidComputePlatformException, InvalidTrafficRoutingConfigurationException, AwsServiceException, SdkClientException, CodeDeployException
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.InvalidDeploymentConfigNameException
- The deployment configuration name was specified in an invalid format.DeploymentConfigNameRequiredException
- The deployment configuration name was not specified.DeploymentConfigAlreadyExistsException
- A deployment configuration with the specified name already exists with the applicable IAM user or AWS
account.InvalidMinimumHealthyHostValueException
- The minimum healthy instance value was specified in an invalid format.DeploymentConfigLimitExceededException
- The deployment configurations limit was exceeded.InvalidComputePlatformException
- The computePlatform is invalid. The computePlatform should be Lambda
or Server
.InvalidTrafficRoutingConfigurationException
- The configuration that specifies how traffic is routed during a deployment is invalid.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateDeploymentGroupResponse createDeploymentGroup(CreateDeploymentGroupRequest createDeploymentGroupRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, DeploymentGroupNameRequiredException, InvalidDeploymentGroupNameException, DeploymentGroupAlreadyExistsException, InvalidEc2TagException, InvalidTagException, InvalidAutoScalingGroupException, InvalidDeploymentConfigNameException, DeploymentConfigDoesNotExistException, RoleRequiredException, InvalidRoleException, DeploymentGroupLimitExceededException, LifecycleHookLimitExceededException, InvalidTriggerConfigException, TriggerTargetsLimitExceededException, InvalidAlarmConfigException, AlarmsLimitExceededException, InvalidAutoRollbackConfigException, InvalidLoadBalancerInfoException, InvalidDeploymentStyleException, InvalidBlueGreenDeploymentConfigurationException, InvalidEc2TagCombinationException, InvalidOnPremisesTagCombinationException, TagSetListLimitExceededException, InvalidInputException, ThrottlingException, InvalidEcsServiceException, InvalidTargetGroupPairException, EcsServiceMappingLimitExceededException, AwsServiceException, SdkClientException, CodeDeployException
Creates a deployment group to which application revisions will be deployed.
createDeploymentGroupRequest
- Represents the input of a CreateDeploymentGroup operation.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.DeploymentGroupNameRequiredException
- The deployment group name was not specified.InvalidDeploymentGroupNameException
- The deployment group name was specified in an invalid format.DeploymentGroupAlreadyExistsException
- A deployment group with the specified name already exists with the applicable IAM user or AWS account.InvalidEc2TagException
- The tag was specified in an invalid format.InvalidTagException
- The specified tag was specified in an invalid format.InvalidAutoScalingGroupException
- The Auto Scaling group was specified in an invalid format or does not exist.InvalidDeploymentConfigNameException
- The deployment configuration name was specified in an invalid format.DeploymentConfigDoesNotExistException
- The deployment configuration does not exist with the applicable IAM user or AWS account.RoleRequiredException
- The role ID was not specified.InvalidRoleException
- The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the
specified service role does not grant the appropriate permissions to Auto Scaling.DeploymentGroupLimitExceededException
- The deployment groups limit was exceeded.LifecycleHookLimitExceededException
- The limit for lifecycle hooks was exceeded.InvalidTriggerConfigException
- The trigger was specified in an invalid format.TriggerTargetsLimitExceededException
- The maximum allowed number of triggers was exceeded.InvalidAlarmConfigException
- The format of the alarm configuration is invalid. Possible causes include:
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.
AlarmsLimitExceededException
- The maximum number of alarms for a deployment group (10) was exceeded.InvalidAutoRollbackConfigException
- The automatic rollback configuration was specified in an invalid format. For example, automatic rollback
is enabled but an invalid triggering event type or no event types were listed.InvalidLoadBalancerInfoException
- An invalid load balancer name, or no load balancer name, was specified.InvalidDeploymentStyleException
- An invalid deployment style was specified. Valid deployment types include "IN_PLACE" and "BLUE_GREEN".
Valid deployment options include "WITH_TRAFFIC_CONTROL" and "WITHOUT_TRAFFIC_CONTROL".InvalidBlueGreenDeploymentConfigurationException
- The configuration for the blue/green deployment group was provided in an invalid format. For information
about deployment configuration format, see CreateDeploymentConfig.InvalidEc2TagCombinationException
- A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but only one of these data types
can be used in a single call.InvalidOnPremisesTagCombinationException
- A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet, but only one of these
data types can be used in a single call.TagSetListLimitExceededException
- The number of tag groups included in the tag set list exceeded the maximum allowed limit of 3.InvalidInputException
- The specified input was specified in an invalid format.ThrottlingException
- An API function was called too frequently.InvalidEcsServiceException
- The Amazon ECS service identifier is not valid.InvalidTargetGroupPairException
- A target group pair associated with this deployment is not valid.EcsServiceMappingLimitExceededException
- The Amazon ECS service is associated with more than one deployment groups. An ECS service can only be
associated with one deployment group.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateDeploymentGroupResponse createDeploymentGroup(Consumer<CreateDeploymentGroupRequest.Builder> createDeploymentGroupRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, DeploymentGroupNameRequiredException, InvalidDeploymentGroupNameException, DeploymentGroupAlreadyExistsException, InvalidEc2TagException, InvalidTagException, InvalidAutoScalingGroupException, InvalidDeploymentConfigNameException, DeploymentConfigDoesNotExistException, RoleRequiredException, InvalidRoleException, DeploymentGroupLimitExceededException, LifecycleHookLimitExceededException, InvalidTriggerConfigException, TriggerTargetsLimitExceededException, InvalidAlarmConfigException, AlarmsLimitExceededException, InvalidAutoRollbackConfigException, InvalidLoadBalancerInfoException, InvalidDeploymentStyleException, InvalidBlueGreenDeploymentConfigurationException, InvalidEc2TagCombinationException, InvalidOnPremisesTagCombinationException, TagSetListLimitExceededException, InvalidInputException, ThrottlingException, InvalidEcsServiceException, InvalidTargetGroupPairException, EcsServiceMappingLimitExceededException, AwsServiceException, SdkClientException, CodeDeployException
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.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.DeploymentGroupNameRequiredException
- The deployment group name was not specified.InvalidDeploymentGroupNameException
- The deployment group name was specified in an invalid format.DeploymentGroupAlreadyExistsException
- A deployment group with the specified name already exists with the applicable IAM user or AWS account.InvalidEc2TagException
- The tag was specified in an invalid format.InvalidTagException
- The specified tag was specified in an invalid format.InvalidAutoScalingGroupException
- The Auto Scaling group was specified in an invalid format or does not exist.InvalidDeploymentConfigNameException
- The deployment configuration name was specified in an invalid format.DeploymentConfigDoesNotExistException
- The deployment configuration does not exist with the applicable IAM user or AWS account.RoleRequiredException
- The role ID was not specified.InvalidRoleException
- The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the
specified service role does not grant the appropriate permissions to Auto Scaling.DeploymentGroupLimitExceededException
- The deployment groups limit was exceeded.LifecycleHookLimitExceededException
- The limit for lifecycle hooks was exceeded.InvalidTriggerConfigException
- The trigger was specified in an invalid format.TriggerTargetsLimitExceededException
- The maximum allowed number of triggers was exceeded.InvalidAlarmConfigException
- The format of the alarm configuration is invalid. Possible causes include:
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.
AlarmsLimitExceededException
- The maximum number of alarms for a deployment group (10) was exceeded.InvalidAutoRollbackConfigException
- The automatic rollback configuration was specified in an invalid format. For example, automatic rollback
is enabled but an invalid triggering event type or no event types were listed.InvalidLoadBalancerInfoException
- An invalid load balancer name, or no load balancer name, was specified.InvalidDeploymentStyleException
- An invalid deployment style was specified. Valid deployment types include "IN_PLACE" and "BLUE_GREEN".
Valid deployment options include "WITH_TRAFFIC_CONTROL" and "WITHOUT_TRAFFIC_CONTROL".InvalidBlueGreenDeploymentConfigurationException
- The configuration for the blue/green deployment group was provided in an invalid format. For information
about deployment configuration format, see CreateDeploymentConfig.InvalidEc2TagCombinationException
- A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but only one of these data types
can be used in a single call.InvalidOnPremisesTagCombinationException
- A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet, but only one of these
data types can be used in a single call.TagSetListLimitExceededException
- The number of tag groups included in the tag set list exceeded the maximum allowed limit of 3.InvalidInputException
- The specified input was specified in an invalid format.ThrottlingException
- An API function was called too frequently.InvalidEcsServiceException
- The Amazon ECS service identifier is not valid.InvalidTargetGroupPairException
- A target group pair associated with this deployment is not valid.EcsServiceMappingLimitExceededException
- The Amazon ECS service is associated with more than one deployment groups. An ECS service can only be
associated with one deployment group.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteApplicationResponse deleteApplication(DeleteApplicationRequest deleteApplicationRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, AwsServiceException, SdkClientException, CodeDeployException
Deletes an application.
deleteApplicationRequest
- Represents the input of a DeleteApplication operation.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteApplicationResponse deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, AwsServiceException, SdkClientException, CodeDeployException
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.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteDeploymentConfigResponse deleteDeploymentConfig(DeleteDeploymentConfigRequest deleteDeploymentConfigRequest) throws InvalidDeploymentConfigNameException, DeploymentConfigNameRequiredException, DeploymentConfigInUseException, InvalidOperationException, AwsServiceException, SdkClientException, CodeDeployException
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.InvalidDeploymentConfigNameException
- The deployment configuration name was specified in an invalid format.DeploymentConfigNameRequiredException
- The deployment configuration name was not specified.DeploymentConfigInUseException
- The deployment configuration is still in use.InvalidOperationException
- An invalid operation was detected.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteDeploymentConfigResponse deleteDeploymentConfig(Consumer<DeleteDeploymentConfigRequest.Builder> deleteDeploymentConfigRequest) throws InvalidDeploymentConfigNameException, DeploymentConfigNameRequiredException, DeploymentConfigInUseException, InvalidOperationException, AwsServiceException, SdkClientException, CodeDeployException
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.InvalidDeploymentConfigNameException
- The deployment configuration name was specified in an invalid format.DeploymentConfigNameRequiredException
- The deployment configuration name was not specified.DeploymentConfigInUseException
- The deployment configuration is still in use.InvalidOperationException
- An invalid operation was detected.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteDeploymentGroupResponse deleteDeploymentGroup(DeleteDeploymentGroupRequest deleteDeploymentGroupRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, DeploymentGroupNameRequiredException, InvalidDeploymentGroupNameException, InvalidRoleException, AwsServiceException, SdkClientException, CodeDeployException
Deletes a deployment group.
deleteDeploymentGroupRequest
- Represents the input of a DeleteDeploymentGroup operation.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.DeploymentGroupNameRequiredException
- The deployment group name was not specified.InvalidDeploymentGroupNameException
- The deployment group name was specified in an invalid format.InvalidRoleException
- The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the
specified service role does not grant the appropriate permissions to Auto Scaling.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteDeploymentGroupResponse deleteDeploymentGroup(Consumer<DeleteDeploymentGroupRequest.Builder> deleteDeploymentGroupRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, DeploymentGroupNameRequiredException, InvalidDeploymentGroupNameException, InvalidRoleException, AwsServiceException, SdkClientException, CodeDeployException
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.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.DeploymentGroupNameRequiredException
- The deployment group name was not specified.InvalidDeploymentGroupNameException
- The deployment group name was specified in an invalid format.InvalidRoleException
- The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the
specified service role does not grant the appropriate permissions to Auto Scaling.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteGitHubAccountTokenResponse deleteGitHubAccountToken(DeleteGitHubAccountTokenRequest deleteGitHubAccountTokenRequest) throws GitHubAccountTokenNameRequiredException, GitHubAccountTokenDoesNotExistException, InvalidGitHubAccountTokenNameException, ResourceValidationException, OperationNotSupportedException, AwsServiceException, SdkClientException, CodeDeployException
Deletes a GitHub account connection.
deleteGitHubAccountTokenRequest
- Represents the input of a DeleteGitHubAccount operation.GitHubAccountTokenNameRequiredException
- The call is missing a required GitHub account connection name.GitHubAccountTokenDoesNotExistException
- No GitHub account connection exists with the named specified in the call.InvalidGitHubAccountTokenNameException
- The format of the specified GitHub account connection name is invalid.ResourceValidationException
- The specified resource could not be validated.OperationNotSupportedException
- The API used does not support the deployment.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteGitHubAccountTokenResponse deleteGitHubAccountToken(Consumer<DeleteGitHubAccountTokenRequest.Builder> deleteGitHubAccountTokenRequest) throws GitHubAccountTokenNameRequiredException, GitHubAccountTokenDoesNotExistException, InvalidGitHubAccountTokenNameException, ResourceValidationException, OperationNotSupportedException, AwsServiceException, SdkClientException, CodeDeployException
Deletes a GitHub account connection.
This is a convenience which creates an instance of the DeleteGitHubAccountTokenRequest.Builder
avoiding
the need to create one manually via DeleteGitHubAccountTokenRequest.builder()
deleteGitHubAccountTokenRequest
- A Consumer
that will call methods on DeleteGitHubAccountTokenInput.Builder
to create a
request. Represents the input of a DeleteGitHubAccount operation.GitHubAccountTokenNameRequiredException
- The call is missing a required GitHub account connection name.GitHubAccountTokenDoesNotExistException
- No GitHub account connection exists with the named specified in the call.InvalidGitHubAccountTokenNameException
- The format of the specified GitHub account connection name is invalid.ResourceValidationException
- The specified resource could not be validated.OperationNotSupportedException
- The API used does not support the deployment.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeregisterOnPremisesInstanceResponse deregisterOnPremisesInstance(DeregisterOnPremisesInstanceRequest deregisterOnPremisesInstanceRequest) throws InstanceNameRequiredException, InvalidInstanceNameException, AwsServiceException, SdkClientException, CodeDeployException
Deregisters an on-premises instance.
deregisterOnPremisesInstanceRequest
- Represents the input of a DeregisterOnPremisesInstance operation.InstanceNameRequiredException
- An on-premises instance name was not specified.InvalidInstanceNameException
- The specified on-premises instance name was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeregisterOnPremisesInstanceResponse deregisterOnPremisesInstance(Consumer<DeregisterOnPremisesInstanceRequest.Builder> deregisterOnPremisesInstanceRequest) throws InstanceNameRequiredException, InvalidInstanceNameException, AwsServiceException, SdkClientException, CodeDeployException
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.InstanceNameRequiredException
- An on-premises instance name was not specified.InvalidInstanceNameException
- The specified on-premises instance name was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetApplicationResponse getApplication(GetApplicationRequest getApplicationRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, AwsServiceException, SdkClientException, CodeDeployException
Gets information about an application.
getApplicationRequest
- Represents the input of a GetApplication operation.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetApplicationResponse getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, AwsServiceException, SdkClientException, CodeDeployException
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.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetApplicationRevisionResponse getApplicationRevision(GetApplicationRevisionRequest getApplicationRevisionRequest) throws ApplicationDoesNotExistException, ApplicationNameRequiredException, InvalidApplicationNameException, RevisionDoesNotExistException, RevisionRequiredException, InvalidRevisionException, AwsServiceException, SdkClientException, CodeDeployException
Gets information about an application revision.
getApplicationRevisionRequest
- Represents the input of a GetApplicationRevision operation.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.RevisionDoesNotExistException
- The named revision does not exist with the applicable IAM user or AWS account.RevisionRequiredException
- The revision ID was not specified.InvalidRevisionException
- The revision was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetApplicationRevisionResponse getApplicationRevision(Consumer<GetApplicationRevisionRequest.Builder> getApplicationRevisionRequest) throws ApplicationDoesNotExistException, ApplicationNameRequiredException, InvalidApplicationNameException, RevisionDoesNotExistException, RevisionRequiredException, InvalidRevisionException, AwsServiceException, SdkClientException, CodeDeployException
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.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.RevisionDoesNotExistException
- The named revision does not exist with the applicable IAM user or AWS account.RevisionRequiredException
- The revision ID was not specified.InvalidRevisionException
- The revision was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetDeploymentResponse getDeployment(GetDeploymentRequest getDeploymentRequest) throws DeploymentIdRequiredException, InvalidDeploymentIdException, DeploymentDoesNotExistException, AwsServiceException, SdkClientException, CodeDeployException
Gets information about a deployment.
getDeploymentRequest
- Represents the input of a GetDeployment operation.DeploymentIdRequiredException
- At least one deployment ID must be specified.InvalidDeploymentIdException
- At least one of the deployment IDs was specified in an invalid format.DeploymentDoesNotExistException
- The deployment does not exist with the applicable IAM user or AWS account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetDeploymentResponse getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest) throws DeploymentIdRequiredException, InvalidDeploymentIdException, DeploymentDoesNotExistException, AwsServiceException, SdkClientException, CodeDeployException
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.DeploymentIdRequiredException
- At least one deployment ID must be specified.InvalidDeploymentIdException
- At least one of the deployment IDs was specified in an invalid format.DeploymentDoesNotExistException
- The deployment does not exist with the applicable IAM user or AWS account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetDeploymentConfigResponse getDeploymentConfig(GetDeploymentConfigRequest getDeploymentConfigRequest) throws InvalidDeploymentConfigNameException, DeploymentConfigNameRequiredException, DeploymentConfigDoesNotExistException, InvalidComputePlatformException, AwsServiceException, SdkClientException, CodeDeployException
Gets information about a deployment configuration.
getDeploymentConfigRequest
- Represents the input of a GetDeploymentConfig operation.InvalidDeploymentConfigNameException
- The deployment configuration name was specified in an invalid format.DeploymentConfigNameRequiredException
- The deployment configuration name was not specified.DeploymentConfigDoesNotExistException
- The deployment configuration does not exist with the applicable IAM user or AWS account.InvalidComputePlatformException
- The computePlatform is invalid. The computePlatform should be Lambda
or Server
.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetDeploymentConfigResponse getDeploymentConfig(Consumer<GetDeploymentConfigRequest.Builder> getDeploymentConfigRequest) throws InvalidDeploymentConfigNameException, DeploymentConfigNameRequiredException, DeploymentConfigDoesNotExistException, InvalidComputePlatformException, AwsServiceException, SdkClientException, CodeDeployException
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.InvalidDeploymentConfigNameException
- The deployment configuration name was specified in an invalid format.DeploymentConfigNameRequiredException
- The deployment configuration name was not specified.DeploymentConfigDoesNotExistException
- The deployment configuration does not exist with the applicable IAM user or AWS account.InvalidComputePlatformException
- The computePlatform is invalid. The computePlatform should be Lambda
or Server
.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetDeploymentGroupResponse getDeploymentGroup(GetDeploymentGroupRequest getDeploymentGroupRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, DeploymentGroupNameRequiredException, InvalidDeploymentGroupNameException, DeploymentGroupDoesNotExistException, DeploymentConfigDoesNotExistException, AwsServiceException, SdkClientException, CodeDeployException
Gets information about a deployment group.
getDeploymentGroupRequest
- Represents the input of a GetDeploymentGroup operation.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.DeploymentGroupNameRequiredException
- The deployment group name was not specified.InvalidDeploymentGroupNameException
- The deployment group name was specified in an invalid format.DeploymentGroupDoesNotExistException
- The named deployment group does not exist with the applicable IAM user or AWS account.DeploymentConfigDoesNotExistException
- The deployment configuration does not exist with the applicable IAM user or AWS account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetDeploymentGroupResponse getDeploymentGroup(Consumer<GetDeploymentGroupRequest.Builder> getDeploymentGroupRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, DeploymentGroupNameRequiredException, InvalidDeploymentGroupNameException, DeploymentGroupDoesNotExistException, DeploymentConfigDoesNotExistException, AwsServiceException, SdkClientException, CodeDeployException
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.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.DeploymentGroupNameRequiredException
- The deployment group name was not specified.InvalidDeploymentGroupNameException
- The deployment group name was specified in an invalid format.DeploymentGroupDoesNotExistException
- The named deployment group does not exist with the applicable IAM user or AWS account.DeploymentConfigDoesNotExistException
- The deployment configuration does not exist with the applicable IAM user or AWS account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetDeploymentTargetResponse getDeploymentTarget(GetDeploymentTargetRequest getDeploymentTargetRequest) throws InvalidDeploymentIdException, DeploymentIdRequiredException, DeploymentDoesNotExistException, DeploymentTargetIdRequiredException, InvalidDeploymentTargetIdException, DeploymentTargetDoesNotExistException, InvalidInstanceNameException, AwsServiceException, SdkClientException, CodeDeployException
Returns information about a deployment target.
getDeploymentTargetRequest
- InvalidDeploymentIdException
- At least one of the deployment IDs was specified in an invalid format.DeploymentIdRequiredException
- At least one deployment ID must be specified.DeploymentDoesNotExistException
- The deployment does not exist with the applicable IAM user or AWS account.DeploymentTargetIdRequiredException
- A deployment target ID was not provided.InvalidDeploymentTargetIdException
- The target ID provide was not valid.DeploymentTargetDoesNotExistException
- The provided target ID does not belong to the attempted deployment.InvalidInstanceNameException
- The specified on-premises instance name was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetDeploymentTargetResponse getDeploymentTarget(Consumer<GetDeploymentTargetRequest.Builder> getDeploymentTargetRequest) throws InvalidDeploymentIdException, DeploymentIdRequiredException, DeploymentDoesNotExistException, DeploymentTargetIdRequiredException, InvalidDeploymentTargetIdException, DeploymentTargetDoesNotExistException, InvalidInstanceNameException, AwsServiceException, SdkClientException, CodeDeployException
Returns information about a deployment target.
This is a convenience which creates an instance of the GetDeploymentTargetRequest.Builder
avoiding the
need to create one manually via GetDeploymentTargetRequest.builder()
getDeploymentTargetRequest
- A Consumer
that will call methods on GetDeploymentTargetInput.Builder
to create a request.InvalidDeploymentIdException
- At least one of the deployment IDs was specified in an invalid format.DeploymentIdRequiredException
- At least one deployment ID must be specified.DeploymentDoesNotExistException
- The deployment does not exist with the applicable IAM user or AWS account.DeploymentTargetIdRequiredException
- A deployment target ID was not provided.InvalidDeploymentTargetIdException
- The target ID provide was not valid.DeploymentTargetDoesNotExistException
- The provided target ID does not belong to the attempted deployment.InvalidInstanceNameException
- The specified on-premises instance name was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetOnPremisesInstanceResponse getOnPremisesInstance(GetOnPremisesInstanceRequest getOnPremisesInstanceRequest) throws InstanceNameRequiredException, InstanceNotRegisteredException, InvalidInstanceNameException, AwsServiceException, SdkClientException, CodeDeployException
Gets information about an on-premises instance.
getOnPremisesInstanceRequest
- Represents the input of a GetOnPremisesInstance operation.InstanceNameRequiredException
- An on-premises instance name was not specified.InstanceNotRegisteredException
- The specified on-premises instance is not registered.InvalidInstanceNameException
- The specified on-premises instance name was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetOnPremisesInstanceResponse getOnPremisesInstance(Consumer<GetOnPremisesInstanceRequest.Builder> getOnPremisesInstanceRequest) throws InstanceNameRequiredException, InstanceNotRegisteredException, InvalidInstanceNameException, AwsServiceException, SdkClientException, CodeDeployException
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.InstanceNameRequiredException
- An on-premises instance name was not specified.InstanceNotRegisteredException
- The specified on-premises instance is not registered.InvalidInstanceNameException
- The specified on-premises instance name was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListApplicationRevisionsResponse listApplicationRevisions(ListApplicationRevisionsRequest listApplicationRevisionsRequest) throws ApplicationDoesNotExistException, ApplicationNameRequiredException, InvalidApplicationNameException, InvalidSortByException, InvalidSortOrderException, InvalidBucketNameFilterException, InvalidKeyPrefixFilterException, BucketNameFilterRequiredException, InvalidDeployedStateFilterException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
Lists information about revisions for an application.
listApplicationRevisionsRequest
- Represents the input of a ListApplicationRevisions operation.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.InvalidSortByException
- The column name to sort by is either not present or was specified in an invalid format.InvalidSortOrderException
- The sort order was specified in an invalid format.InvalidBucketNameFilterException
- The bucket name either doesn't exist or was specified in an invalid format.InvalidKeyPrefixFilterException
- The specified key prefix filter was specified in an invalid format.BucketNameFilterRequiredException
- A bucket name is required, but was not provided.InvalidDeployedStateFilterException
- The deployed state filter was specified in an invalid format.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListApplicationRevisionsResponse listApplicationRevisions(Consumer<ListApplicationRevisionsRequest.Builder> listApplicationRevisionsRequest) throws ApplicationDoesNotExistException, ApplicationNameRequiredException, InvalidApplicationNameException, InvalidSortByException, InvalidSortOrderException, InvalidBucketNameFilterException, InvalidKeyPrefixFilterException, BucketNameFilterRequiredException, InvalidDeployedStateFilterException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.InvalidSortByException
- The column name to sort by is either not present or was specified in an invalid format.InvalidSortOrderException
- The sort order was specified in an invalid format.InvalidBucketNameFilterException
- The bucket name either doesn't exist or was specified in an invalid format.InvalidKeyPrefixFilterException
- The specified key prefix filter was specified in an invalid format.BucketNameFilterRequiredException
- A bucket name is required, but was not provided.InvalidDeployedStateFilterException
- The deployed state filter was specified in an invalid format.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListApplicationRevisionsIterable listApplicationRevisionsPaginator(ListApplicationRevisionsRequest listApplicationRevisionsRequest) throws ApplicationDoesNotExistException, ApplicationNameRequiredException, InvalidApplicationNameException, InvalidSortByException, InvalidSortOrderException, InvalidBucketNameFilterException, InvalidKeyPrefixFilterException, BucketNameFilterRequiredException, InvalidDeployedStateFilterException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationRevisionsIterable responses = client.listApplicationRevisionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codedeploy.paginators.ListApplicationRevisionsIterable responses = client .listApplicationRevisionsPaginator(request); for (software.amazon.awssdk.services.codedeploy.model.ListApplicationRevisionsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationRevisionsIterable responses = client.listApplicationRevisionsPaginator(request);
responses.iterator().forEachRemaining(....);
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.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.InvalidSortByException
- The column name to sort by is either not present or was specified in an invalid format.InvalidSortOrderException
- The sort order was specified in an invalid format.InvalidBucketNameFilterException
- The bucket name either doesn't exist or was specified in an invalid format.InvalidKeyPrefixFilterException
- The specified key prefix filter was specified in an invalid format.BucketNameFilterRequiredException
- A bucket name is required, but was not provided.InvalidDeployedStateFilterException
- The deployed state filter was specified in an invalid format.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListApplicationRevisionsIterable listApplicationRevisionsPaginator(Consumer<ListApplicationRevisionsRequest.Builder> listApplicationRevisionsRequest) throws ApplicationDoesNotExistException, ApplicationNameRequiredException, InvalidApplicationNameException, InvalidSortByException, InvalidSortOrderException, InvalidBucketNameFilterException, InvalidKeyPrefixFilterException, BucketNameFilterRequiredException, InvalidDeployedStateFilterException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationRevisionsIterable responses = client.listApplicationRevisionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codedeploy.paginators.ListApplicationRevisionsIterable responses = client .listApplicationRevisionsPaginator(request); for (software.amazon.awssdk.services.codedeploy.model.ListApplicationRevisionsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationRevisionsIterable responses = client.listApplicationRevisionsPaginator(request);
responses.iterator().forEachRemaining(....);
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.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.InvalidSortByException
- The column name to sort by is either not present or was specified in an invalid format.InvalidSortOrderException
- The sort order was specified in an invalid format.InvalidBucketNameFilterException
- The bucket name either doesn't exist or was specified in an invalid format.InvalidKeyPrefixFilterException
- The specified key prefix filter was specified in an invalid format.BucketNameFilterRequiredException
- A bucket name is required, but was not provided.InvalidDeployedStateFilterException
- The deployed state filter was specified in an invalid format.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListApplicationsResponse listApplications() throws InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
Lists the applications registered with the applicable IAM user or AWS account.
InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listApplications(ListApplicationsRequest)
,
AWS
API Documentationdefault ListApplicationsResponse listApplications(ListApplicationsRequest listApplicationsRequest) throws InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
Lists the applications registered with the applicable IAM user or AWS account.
listApplicationsRequest
- Represents the input of a ListApplications operation.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListApplicationsResponse listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListApplicationsIterable listApplicationsPaginator() throws InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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 iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codedeploy.paginators.ListApplicationsIterable responses = client .listApplicationsPaginator(request); for (software.amazon.awssdk.services.codedeploy.model.ListApplicationsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.codedeploy.model.ListApplicationsRequest)
operation.
InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listApplicationsPaginator(ListApplicationsRequest)
,
AWS
API Documentationdefault ListApplicationsIterable listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) throws InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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 iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codedeploy.paginators.ListApplicationsIterable responses = client .listApplicationsPaginator(request); for (software.amazon.awssdk.services.codedeploy.model.ListApplicationsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.iterator().forEachRemaining(....);
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.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListApplicationsIterable listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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 iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codedeploy.paginators.ListApplicationsIterable responses = client .listApplicationsPaginator(request); for (software.amazon.awssdk.services.codedeploy.model.ListApplicationsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codedeploy.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.iterator().forEachRemaining(....);
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.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDeploymentConfigsResponse listDeploymentConfigs() throws InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
Lists the deployment configurations with the applicable IAM user or AWS account.
InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listDeploymentConfigs(ListDeploymentConfigsRequest)
,
AWS API Documentationdefault ListDeploymentConfigsResponse listDeploymentConfigs(ListDeploymentConfigsRequest listDeploymentConfigsRequest) throws InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
Lists the deployment configurations with the applicable IAM user or AWS account.
listDeploymentConfigsRequest
- Represents the input of a ListDeploymentConfigs operation.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDeploymentConfigsResponse listDeploymentConfigs(Consumer<ListDeploymentConfigsRequest.Builder> listDeploymentConfigsRequest) throws InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDeploymentConfigsIterable listDeploymentConfigsPaginator() throws InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentConfigsIterable responses = client.listDeploymentConfigsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentConfigsIterable responses = client .listDeploymentConfigsPaginator(request); for (software.amazon.awssdk.services.codedeploy.model.ListDeploymentConfigsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentConfigsIterable responses = client.listDeploymentConfigsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listDeploymentConfigs(software.amazon.awssdk.services.codedeploy.model.ListDeploymentConfigsRequest)
operation.
InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listDeploymentConfigsPaginator(ListDeploymentConfigsRequest)
,
AWS API Documentationdefault ListDeploymentConfigsIterable listDeploymentConfigsPaginator(ListDeploymentConfigsRequest listDeploymentConfigsRequest) throws InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentConfigsIterable responses = client.listDeploymentConfigsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentConfigsIterable responses = client .listDeploymentConfigsPaginator(request); for (software.amazon.awssdk.services.codedeploy.model.ListDeploymentConfigsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentConfigsIterable responses = client.listDeploymentConfigsPaginator(request);
responses.iterator().forEachRemaining(....);
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.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDeploymentConfigsIterable listDeploymentConfigsPaginator(Consumer<ListDeploymentConfigsRequest.Builder> listDeploymentConfigsRequest) throws InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentConfigsIterable responses = client.listDeploymentConfigsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentConfigsIterable responses = client .listDeploymentConfigsPaginator(request); for (software.amazon.awssdk.services.codedeploy.model.ListDeploymentConfigsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentConfigsIterable responses = client.listDeploymentConfigsPaginator(request);
responses.iterator().forEachRemaining(....);
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.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDeploymentGroupsResponse listDeploymentGroups(ListDeploymentGroupsRequest listDeploymentGroupsRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
listDeploymentGroupsRequest
- Represents the input of a ListDeploymentGroups operation.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDeploymentGroupsResponse listDeploymentGroups(Consumer<ListDeploymentGroupsRequest.Builder> listDeploymentGroupsRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDeploymentGroupsIterable listDeploymentGroupsPaginator(ListDeploymentGroupsRequest listDeploymentGroupsRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentGroupsIterable responses = client.listDeploymentGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentGroupsIterable responses = client .listDeploymentGroupsPaginator(request); for (software.amazon.awssdk.services.codedeploy.model.ListDeploymentGroupsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentGroupsIterable responses = client.listDeploymentGroupsPaginator(request);
responses.iterator().forEachRemaining(....);
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.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDeploymentGroupsIterable listDeploymentGroupsPaginator(Consumer<ListDeploymentGroupsRequest.Builder> listDeploymentGroupsRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentGroupsIterable responses = client.listDeploymentGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentGroupsIterable responses = client .listDeploymentGroupsPaginator(request); for (software.amazon.awssdk.services.codedeploy.model.ListDeploymentGroupsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentGroupsIterable responses = client.listDeploymentGroupsPaginator(request);
responses.iterator().forEachRemaining(....);
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.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDeploymentTargetsResponse listDeploymentTargets(ListDeploymentTargetsRequest listDeploymentTargetsRequest) throws DeploymentIdRequiredException, DeploymentDoesNotExistException, DeploymentNotStartedException, InvalidNextTokenException, InvalidDeploymentIdException, InvalidInstanceStatusException, InvalidInstanceTypeException, InvalidDeploymentInstanceTypeException, AwsServiceException, SdkClientException, CodeDeployException
Returns an array of target IDs that are associated a deployment.
listDeploymentTargetsRequest
- DeploymentIdRequiredException
- At least one deployment ID must be specified.DeploymentDoesNotExistException
- The deployment does not exist with the applicable IAM user or AWS account.DeploymentNotStartedException
- The specified deployment has not started.InvalidNextTokenException
- The next token was specified in an invalid format.InvalidDeploymentIdException
- At least one of the deployment IDs was specified in an invalid format.InvalidInstanceStatusException
- The specified instance status does not exist.InvalidInstanceTypeException
- An invalid instance type was specified for instances in a blue/green deployment. Valid values include
"Blue" for an original environment and "Green" for a replacement environment.InvalidDeploymentInstanceTypeException
- An instance type was specified for an in-place deployment. Instance types are supported for blue/green
deployments only.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDeploymentTargetsResponse listDeploymentTargets(Consumer<ListDeploymentTargetsRequest.Builder> listDeploymentTargetsRequest) throws DeploymentIdRequiredException, DeploymentDoesNotExistException, DeploymentNotStartedException, InvalidNextTokenException, InvalidDeploymentIdException, InvalidInstanceStatusException, InvalidInstanceTypeException, InvalidDeploymentInstanceTypeException, AwsServiceException, SdkClientException, CodeDeployException
Returns an array of target IDs that are associated a deployment.
This is a convenience which creates an instance of the ListDeploymentTargetsRequest.Builder
avoiding the
need to create one manually via ListDeploymentTargetsRequest.builder()
listDeploymentTargetsRequest
- A Consumer
that will call methods on ListDeploymentTargetsInput.Builder
to create a
request.DeploymentIdRequiredException
- At least one deployment ID must be specified.DeploymentDoesNotExistException
- The deployment does not exist with the applicable IAM user or AWS account.DeploymentNotStartedException
- The specified deployment has not started.InvalidNextTokenException
- The next token was specified in an invalid format.InvalidDeploymentIdException
- At least one of the deployment IDs was specified in an invalid format.InvalidInstanceStatusException
- The specified instance status does not exist.InvalidInstanceTypeException
- An invalid instance type was specified for instances in a blue/green deployment. Valid values include
"Blue" for an original environment and "Green" for a replacement environment.InvalidDeploymentInstanceTypeException
- An instance type was specified for an in-place deployment. Instance types are supported for blue/green
deployments only.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDeploymentsResponse listDeployments() throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, InvalidDeploymentGroupNameException, DeploymentGroupDoesNotExistException, DeploymentGroupNameRequiredException, InvalidTimeRangeException, InvalidDeploymentStatusException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.
ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.InvalidDeploymentGroupNameException
- The deployment group name was specified in an invalid format.DeploymentGroupDoesNotExistException
- The named deployment group does not exist with the applicable IAM user or AWS account.DeploymentGroupNameRequiredException
- The deployment group name was not specified.InvalidTimeRangeException
- The specified time range was specified in an invalid format.InvalidDeploymentStatusException
- The specified deployment status doesn't exist or cannot be determined.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listDeployments(ListDeploymentsRequest)
,
AWS API
Documentationdefault ListDeploymentsResponse listDeployments(ListDeploymentsRequest listDeploymentsRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, InvalidDeploymentGroupNameException, DeploymentGroupDoesNotExistException, DeploymentGroupNameRequiredException, InvalidTimeRangeException, InvalidDeploymentStatusException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.InvalidDeploymentGroupNameException
- The deployment group name was specified in an invalid format.DeploymentGroupDoesNotExistException
- The named deployment group does not exist with the applicable IAM user or AWS account.DeploymentGroupNameRequiredException
- The deployment group name was not specified.InvalidTimeRangeException
- The specified time range was specified in an invalid format.InvalidDeploymentStatusException
- The specified deployment status doesn't exist or cannot be determined.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDeploymentsResponse listDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, InvalidDeploymentGroupNameException, DeploymentGroupDoesNotExistException, DeploymentGroupNameRequiredException, InvalidTimeRangeException, InvalidDeploymentStatusException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.InvalidDeploymentGroupNameException
- The deployment group name was specified in an invalid format.DeploymentGroupDoesNotExistException
- The named deployment group does not exist with the applicable IAM user or AWS account.DeploymentGroupNameRequiredException
- The deployment group name was not specified.InvalidTimeRangeException
- The specified time range was specified in an invalid format.InvalidDeploymentStatusException
- The specified deployment status doesn't exist or cannot be determined.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDeploymentsIterable listDeploymentsPaginator() throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, InvalidDeploymentGroupNameException, DeploymentGroupDoesNotExistException, DeploymentGroupNameRequiredException, InvalidTimeRangeException, InvalidDeploymentStatusException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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 iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentsIterable responses = client .listDeploymentsPaginator(request); for (software.amazon.awssdk.services.codedeploy.model.ListDeploymentsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listDeployments(software.amazon.awssdk.services.codedeploy.model.ListDeploymentsRequest)
operation.
ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.InvalidDeploymentGroupNameException
- The deployment group name was specified in an invalid format.DeploymentGroupDoesNotExistException
- The named deployment group does not exist with the applicable IAM user or AWS account.DeploymentGroupNameRequiredException
- The deployment group name was not specified.InvalidTimeRangeException
- The specified time range was specified in an invalid format.InvalidDeploymentStatusException
- The specified deployment status doesn't exist or cannot be determined.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listDeploymentsPaginator(ListDeploymentsRequest)
,
AWS API
Documentationdefault ListDeploymentsIterable listDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, InvalidDeploymentGroupNameException, DeploymentGroupDoesNotExistException, DeploymentGroupNameRequiredException, InvalidTimeRangeException, InvalidDeploymentStatusException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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 iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentsIterable responses = client .listDeploymentsPaginator(request); for (software.amazon.awssdk.services.codedeploy.model.ListDeploymentsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request);
responses.iterator().forEachRemaining(....);
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.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.InvalidDeploymentGroupNameException
- The deployment group name was specified in an invalid format.DeploymentGroupDoesNotExistException
- The named deployment group does not exist with the applicable IAM user or AWS account.DeploymentGroupNameRequiredException
- The deployment group name was not specified.InvalidTimeRangeException
- The specified time range was specified in an invalid format.InvalidDeploymentStatusException
- The specified deployment status doesn't exist or cannot be determined.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDeploymentsIterable listDeploymentsPaginator(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, InvalidDeploymentGroupNameException, DeploymentGroupDoesNotExistException, DeploymentGroupNameRequiredException, InvalidTimeRangeException, InvalidDeploymentStatusException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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 iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentsIterable responses = client .listDeploymentsPaginator(request); for (software.amazon.awssdk.services.codedeploy.model.ListDeploymentsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codedeploy.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request);
responses.iterator().forEachRemaining(....);
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.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.InvalidDeploymentGroupNameException
- The deployment group name was specified in an invalid format.DeploymentGroupDoesNotExistException
- The named deployment group does not exist with the applicable IAM user or AWS account.DeploymentGroupNameRequiredException
- The deployment group name was not specified.InvalidTimeRangeException
- The specified time range was specified in an invalid format.InvalidDeploymentStatusException
- The specified deployment status doesn't exist or cannot be determined.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListGitHubAccountTokenNamesResponse listGitHubAccountTokenNames() throws InvalidNextTokenException, ResourceValidationException, OperationNotSupportedException, AwsServiceException, SdkClientException, CodeDeployException
Lists the names of stored connections to GitHub accounts.
InvalidNextTokenException
- The next token was specified in an invalid format.ResourceValidationException
- The specified resource could not be validated.OperationNotSupportedException
- The API used does not support the deployment.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listGitHubAccountTokenNames(ListGitHubAccountTokenNamesRequest)
,
AWS API Documentationdefault ListGitHubAccountTokenNamesResponse listGitHubAccountTokenNames(ListGitHubAccountTokenNamesRequest listGitHubAccountTokenNamesRequest) throws InvalidNextTokenException, ResourceValidationException, OperationNotSupportedException, AwsServiceException, SdkClientException, CodeDeployException
Lists the names of stored connections to GitHub accounts.
listGitHubAccountTokenNamesRequest
- Represents the input of a ListGitHubAccountTokenNames operation.InvalidNextTokenException
- The next token was specified in an invalid format.ResourceValidationException
- The specified resource could not be validated.OperationNotSupportedException
- The API used does not support the deployment.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListGitHubAccountTokenNamesResponse listGitHubAccountTokenNames(Consumer<ListGitHubAccountTokenNamesRequest.Builder> listGitHubAccountTokenNamesRequest) throws InvalidNextTokenException, ResourceValidationException, OperationNotSupportedException, AwsServiceException, SdkClientException, CodeDeployException
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.InvalidNextTokenException
- The next token was specified in an invalid format.ResourceValidationException
- The specified resource could not be validated.OperationNotSupportedException
- The API used does not support the deployment.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListOnPremisesInstancesResponse listOnPremisesInstances() throws InvalidRegistrationStatusException, InvalidTagFilterException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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.
InvalidRegistrationStatusException
- The registration status was specified in an invalid format.InvalidTagFilterException
- The specified tag filter was specified in an invalid format.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listOnPremisesInstances(ListOnPremisesInstancesRequest)
,
AWS API Documentationdefault ListOnPremisesInstancesResponse listOnPremisesInstances(ListOnPremisesInstancesRequest listOnPremisesInstancesRequest) throws InvalidRegistrationStatusException, InvalidTagFilterException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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.InvalidRegistrationStatusException
- The registration status was specified in an invalid format.InvalidTagFilterException
- The specified tag filter was specified in an invalid format.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListOnPremisesInstancesResponse listOnPremisesInstances(Consumer<ListOnPremisesInstancesRequest.Builder> listOnPremisesInstancesRequest) throws InvalidRegistrationStatusException, InvalidTagFilterException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeDeployException
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.InvalidRegistrationStatusException
- The registration status was specified in an invalid format.InvalidTagFilterException
- The specified tag filter was specified in an invalid format.InvalidNextTokenException
- The next token was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default PutLifecycleEventHookExecutionStatusResponse putLifecycleEventHookExecutionStatus(PutLifecycleEventHookExecutionStatusRequest putLifecycleEventHookExecutionStatusRequest) throws InvalidLifecycleEventHookExecutionStatusException, InvalidLifecycleEventHookExecutionIdException, LifecycleEventAlreadyCompletedException, DeploymentIdRequiredException, DeploymentDoesNotExistException, InvalidDeploymentIdException, UnsupportedActionForDeploymentTypeException, AwsServiceException, SdkClientException, CodeDeployException
Sets the result of a Lambda validation function. The function validates one or both lifecycle events (
BeforeAllowTraffic
and AfterAllowTraffic
) and returns Succeeded
or
Failed
.
putLifecycleEventHookExecutionStatusRequest
- InvalidLifecycleEventHookExecutionStatusException
- The result of a Lambda validation function that verifies a lifecycle event is invalid. It should return
Succeeded
or Failed
.InvalidLifecycleEventHookExecutionIdException
- A lifecycle event hook is invalid. Review the hooks
section in your AppSpec file to ensure
the lifecycle events and hooks
functions are valid.LifecycleEventAlreadyCompletedException
- An attempt to return the status of an already completed lifecycle event occurred.DeploymentIdRequiredException
- At least one deployment ID must be specified.DeploymentDoesNotExistException
- The deployment does not exist with the applicable IAM user or AWS account.InvalidDeploymentIdException
- At least one of the deployment IDs was specified in an invalid format.UnsupportedActionForDeploymentTypeException
- A call was submitted that is not supported for the specified deployment type.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default PutLifecycleEventHookExecutionStatusResponse putLifecycleEventHookExecutionStatus(Consumer<PutLifecycleEventHookExecutionStatusRequest.Builder> putLifecycleEventHookExecutionStatusRequest) throws InvalidLifecycleEventHookExecutionStatusException, InvalidLifecycleEventHookExecutionIdException, LifecycleEventAlreadyCompletedException, DeploymentIdRequiredException, DeploymentDoesNotExistException, InvalidDeploymentIdException, UnsupportedActionForDeploymentTypeException, AwsServiceException, SdkClientException, CodeDeployException
Sets the result of a Lambda validation function. The function validates one or both lifecycle events (
BeforeAllowTraffic
and AfterAllowTraffic
) and returns Succeeded
or
Failed
.
This is a convenience which creates an instance of the
PutLifecycleEventHookExecutionStatusRequest.Builder
avoiding the need to create one manually via
PutLifecycleEventHookExecutionStatusRequest.builder()
putLifecycleEventHookExecutionStatusRequest
- A Consumer
that will call methods on PutLifecycleEventHookExecutionStatusInput.Builder
to
create a request.InvalidLifecycleEventHookExecutionStatusException
- The result of a Lambda validation function that verifies a lifecycle event is invalid. It should return
Succeeded
or Failed
.InvalidLifecycleEventHookExecutionIdException
- A lifecycle event hook is invalid. Review the hooks
section in your AppSpec file to ensure
the lifecycle events and hooks
functions are valid.LifecycleEventAlreadyCompletedException
- An attempt to return the status of an already completed lifecycle event occurred.DeploymentIdRequiredException
- At least one deployment ID must be specified.DeploymentDoesNotExistException
- The deployment does not exist with the applicable IAM user or AWS account.InvalidDeploymentIdException
- At least one of the deployment IDs was specified in an invalid format.UnsupportedActionForDeploymentTypeException
- A call was submitted that is not supported for the specified deployment type.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default RegisterApplicationRevisionResponse registerApplicationRevision(RegisterApplicationRevisionRequest registerApplicationRevisionRequest) throws ApplicationDoesNotExistException, ApplicationNameRequiredException, InvalidApplicationNameException, DescriptionTooLongException, RevisionRequiredException, InvalidRevisionException, AwsServiceException, SdkClientException, CodeDeployException
Registers with AWS CodeDeploy a revision for the specified application.
registerApplicationRevisionRequest
- Represents the input of a RegisterApplicationRevision operation.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.DescriptionTooLongException
- The description is too long.RevisionRequiredException
- The revision ID was not specified.InvalidRevisionException
- The revision was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default RegisterApplicationRevisionResponse registerApplicationRevision(Consumer<RegisterApplicationRevisionRequest.Builder> registerApplicationRevisionRequest) throws ApplicationDoesNotExistException, ApplicationNameRequiredException, InvalidApplicationNameException, DescriptionTooLongException, RevisionRequiredException, InvalidRevisionException, AwsServiceException, SdkClientException, CodeDeployException
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.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.DescriptionTooLongException
- The description is too long.RevisionRequiredException
- The revision ID was not specified.InvalidRevisionException
- The revision was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default RegisterOnPremisesInstanceResponse registerOnPremisesInstance(RegisterOnPremisesInstanceRequest registerOnPremisesInstanceRequest) throws InstanceNameAlreadyRegisteredException, IamArnRequiredException, IamSessionArnAlreadyRegisteredException, IamUserArnAlreadyRegisteredException, InstanceNameRequiredException, IamUserArnRequiredException, InvalidInstanceNameException, InvalidIamSessionArnException, InvalidIamUserArnException, MultipleIamArnsProvidedException, AwsServiceException, SdkClientException, CodeDeployException
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.InstanceNameAlreadyRegisteredException
- The specified on-premises instance name is already registered.IamArnRequiredException
- No IAM ARN was included in the request. You must use an IAM session ARN or IAM user ARN in the request.IamSessionArnAlreadyRegisteredException
- The request included an IAM session ARN that has already been used to register a different instance.IamUserArnAlreadyRegisteredException
- The specified IAM user ARN is already registered with an on-premises instance.InstanceNameRequiredException
- An on-premises instance name was not specified.IamUserArnRequiredException
- An IAM user ARN was not specified.InvalidInstanceNameException
- The specified on-premises instance name was specified in an invalid format.InvalidIamSessionArnException
- The IAM session ARN was specified in an invalid format.InvalidIamUserArnException
- The IAM user ARN was specified in an invalid format.MultipleIamArnsProvidedException
- Both an IAM user ARN and an IAM session ARN were included in the request. Use only one ARN type.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default RegisterOnPremisesInstanceResponse registerOnPremisesInstance(Consumer<RegisterOnPremisesInstanceRequest.Builder> registerOnPremisesInstanceRequest) throws InstanceNameAlreadyRegisteredException, IamArnRequiredException, IamSessionArnAlreadyRegisteredException, IamUserArnAlreadyRegisteredException, InstanceNameRequiredException, IamUserArnRequiredException, InvalidInstanceNameException, InvalidIamSessionArnException, InvalidIamUserArnException, MultipleIamArnsProvidedException, AwsServiceException, SdkClientException, CodeDeployException
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.InstanceNameAlreadyRegisteredException
- The specified on-premises instance name is already registered.IamArnRequiredException
- No IAM ARN was included in the request. You must use an IAM session ARN or IAM user ARN in the request.IamSessionArnAlreadyRegisteredException
- The request included an IAM session ARN that has already been used to register a different instance.IamUserArnAlreadyRegisteredException
- The specified IAM user ARN is already registered with an on-premises instance.InstanceNameRequiredException
- An on-premises instance name was not specified.IamUserArnRequiredException
- An IAM user ARN was not specified.InvalidInstanceNameException
- The specified on-premises instance name was specified in an invalid format.InvalidIamSessionArnException
- The IAM session ARN was specified in an invalid format.InvalidIamUserArnException
- The IAM user ARN was specified in an invalid format.MultipleIamArnsProvidedException
- Both an IAM user ARN and an IAM session ARN were included in the request. Use only one ARN type.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default RemoveTagsFromOnPremisesInstancesResponse removeTagsFromOnPremisesInstances(RemoveTagsFromOnPremisesInstancesRequest removeTagsFromOnPremisesInstancesRequest) throws InstanceNameRequiredException, InvalidInstanceNameException, TagRequiredException, InvalidTagException, TagLimitExceededException, InstanceLimitExceededException, InstanceNotRegisteredException, AwsServiceException, SdkClientException, CodeDeployException
Removes one or more tags from one or more on-premises instances.
removeTagsFromOnPremisesInstancesRequest
- Represents the input of a RemoveTagsFromOnPremisesInstances operation.InstanceNameRequiredException
- An on-premises instance name was not specified.InvalidInstanceNameException
- The specified on-premises instance name was specified in an invalid format.TagRequiredException
- A tag was not specified.InvalidTagException
- The specified tag was specified in an invalid format.TagLimitExceededException
- The maximum allowed number of tags was exceeded.InstanceLimitExceededException
- The maximum number of allowed on-premises instances in a single call was exceeded.InstanceNotRegisteredException
- The specified on-premises instance is not registered.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default RemoveTagsFromOnPremisesInstancesResponse removeTagsFromOnPremisesInstances(Consumer<RemoveTagsFromOnPremisesInstancesRequest.Builder> removeTagsFromOnPremisesInstancesRequest) throws InstanceNameRequiredException, InvalidInstanceNameException, TagRequiredException, InvalidTagException, TagLimitExceededException, InstanceLimitExceededException, InstanceNotRegisteredException, AwsServiceException, SdkClientException, CodeDeployException
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.InstanceNameRequiredException
- An on-premises instance name was not specified.InvalidInstanceNameException
- The specified on-premises instance name was specified in an invalid format.TagRequiredException
- A tag was not specified.InvalidTagException
- The specified tag was specified in an invalid format.TagLimitExceededException
- The maximum allowed number of tags was exceeded.InstanceLimitExceededException
- The maximum number of allowed on-premises instances in a single call was exceeded.InstanceNotRegisteredException
- The specified on-premises instance is not registered.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StopDeploymentResponse stopDeployment(StopDeploymentRequest stopDeploymentRequest) throws DeploymentIdRequiredException, DeploymentDoesNotExistException, DeploymentGroupDoesNotExistException, DeploymentAlreadyCompletedException, InvalidDeploymentIdException, AwsServiceException, SdkClientException, CodeDeployException
Attempts to stop an ongoing deployment.
stopDeploymentRequest
- Represents the input of a StopDeployment operation.DeploymentIdRequiredException
- At least one deployment ID must be specified.DeploymentDoesNotExistException
- The deployment does not exist with the applicable IAM user or AWS account.DeploymentGroupDoesNotExistException
- The named deployment group does not exist with the applicable IAM user or AWS account.DeploymentAlreadyCompletedException
- The deployment is already complete.InvalidDeploymentIdException
- At least one of the deployment IDs was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StopDeploymentResponse stopDeployment(Consumer<StopDeploymentRequest.Builder> stopDeploymentRequest) throws DeploymentIdRequiredException, DeploymentDoesNotExistException, DeploymentGroupDoesNotExistException, DeploymentAlreadyCompletedException, InvalidDeploymentIdException, AwsServiceException, SdkClientException, CodeDeployException
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.DeploymentIdRequiredException
- At least one deployment ID must be specified.DeploymentDoesNotExistException
- The deployment does not exist with the applicable IAM user or AWS account.DeploymentGroupDoesNotExistException
- The named deployment group does not exist with the applicable IAM user or AWS account.DeploymentAlreadyCompletedException
- The deployment is already complete.InvalidDeploymentIdException
- At least one of the deployment IDs was specified in an invalid format.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationAlreadyExistsException, ApplicationDoesNotExistException, AwsServiceException, SdkClientException, CodeDeployException
Changes the name of an application.
updateApplicationRequest
- Represents the input of an UpdateApplication operation.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationAlreadyExistsException
- An application with the specified name already exists with the applicable IAM user or AWS account.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateApplicationResponse updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationAlreadyExistsException, ApplicationDoesNotExistException, AwsServiceException, SdkClientException, CodeDeployException
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.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationAlreadyExistsException
- An application with the specified name already exists with the applicable IAM user or AWS account.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateDeploymentGroupResponse updateDeploymentGroup(UpdateDeploymentGroupRequest updateDeploymentGroupRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, InvalidDeploymentGroupNameException, DeploymentGroupAlreadyExistsException, DeploymentGroupNameRequiredException, DeploymentGroupDoesNotExistException, InvalidEc2TagException, InvalidTagException, InvalidAutoScalingGroupException, InvalidDeploymentConfigNameException, DeploymentConfigDoesNotExistException, InvalidRoleException, LifecycleHookLimitExceededException, InvalidTriggerConfigException, TriggerTargetsLimitExceededException, InvalidAlarmConfigException, AlarmsLimitExceededException, InvalidAutoRollbackConfigException, InvalidLoadBalancerInfoException, InvalidDeploymentStyleException, InvalidBlueGreenDeploymentConfigurationException, InvalidEc2TagCombinationException, InvalidOnPremisesTagCombinationException, TagSetListLimitExceededException, InvalidInputException, ThrottlingException, InvalidEcsServiceException, InvalidTargetGroupPairException, EcsServiceMappingLimitExceededException, AwsServiceException, SdkClientException, CodeDeployException
Changes information about a deployment group.
updateDeploymentGroupRequest
- Represents the input of an UpdateDeploymentGroup operation.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.InvalidDeploymentGroupNameException
- The deployment group name was specified in an invalid format.DeploymentGroupAlreadyExistsException
- A deployment group with the specified name already exists with the applicable IAM user or AWS account.DeploymentGroupNameRequiredException
- The deployment group name was not specified.DeploymentGroupDoesNotExistException
- The named deployment group does not exist with the applicable IAM user or AWS account.InvalidEc2TagException
- The tag was specified in an invalid format.InvalidTagException
- The specified tag was specified in an invalid format.InvalidAutoScalingGroupException
- The Auto Scaling group was specified in an invalid format or does not exist.InvalidDeploymentConfigNameException
- The deployment configuration name was specified in an invalid format.DeploymentConfigDoesNotExistException
- The deployment configuration does not exist with the applicable IAM user or AWS account.InvalidRoleException
- The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the
specified service role does not grant the appropriate permissions to Auto Scaling.LifecycleHookLimitExceededException
- The limit for lifecycle hooks was exceeded.InvalidTriggerConfigException
- The trigger was specified in an invalid format.TriggerTargetsLimitExceededException
- The maximum allowed number of triggers was exceeded.InvalidAlarmConfigException
- The format of the alarm configuration is invalid. Possible causes include:
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.
AlarmsLimitExceededException
- The maximum number of alarms for a deployment group (10) was exceeded.InvalidAutoRollbackConfigException
- The automatic rollback configuration was specified in an invalid format. For example, automatic rollback
is enabled but an invalid triggering event type or no event types were listed.InvalidLoadBalancerInfoException
- An invalid load balancer name, or no load balancer name, was specified.InvalidDeploymentStyleException
- An invalid deployment style was specified. Valid deployment types include "IN_PLACE" and "BLUE_GREEN".
Valid deployment options include "WITH_TRAFFIC_CONTROL" and "WITHOUT_TRAFFIC_CONTROL".InvalidBlueGreenDeploymentConfigurationException
- The configuration for the blue/green deployment group was provided in an invalid format. For information
about deployment configuration format, see CreateDeploymentConfig.InvalidEc2TagCombinationException
- A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but only one of these data types
can be used in a single call.InvalidOnPremisesTagCombinationException
- A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet, but only one of these
data types can be used in a single call.TagSetListLimitExceededException
- The number of tag groups included in the tag set list exceeded the maximum allowed limit of 3.InvalidInputException
- The specified input was specified in an invalid format.ThrottlingException
- An API function was called too frequently.InvalidEcsServiceException
- The Amazon ECS service identifier is not valid.InvalidTargetGroupPairException
- A target group pair associated with this deployment is not valid.EcsServiceMappingLimitExceededException
- The Amazon ECS service is associated with more than one deployment groups. An ECS service can only be
associated with one deployment group.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateDeploymentGroupResponse updateDeploymentGroup(Consumer<UpdateDeploymentGroupRequest.Builder> updateDeploymentGroupRequest) throws ApplicationNameRequiredException, InvalidApplicationNameException, ApplicationDoesNotExistException, InvalidDeploymentGroupNameException, DeploymentGroupAlreadyExistsException, DeploymentGroupNameRequiredException, DeploymentGroupDoesNotExistException, InvalidEc2TagException, InvalidTagException, InvalidAutoScalingGroupException, InvalidDeploymentConfigNameException, DeploymentConfigDoesNotExistException, InvalidRoleException, LifecycleHookLimitExceededException, InvalidTriggerConfigException, TriggerTargetsLimitExceededException, InvalidAlarmConfigException, AlarmsLimitExceededException, InvalidAutoRollbackConfigException, InvalidLoadBalancerInfoException, InvalidDeploymentStyleException, InvalidBlueGreenDeploymentConfigurationException, InvalidEc2TagCombinationException, InvalidOnPremisesTagCombinationException, TagSetListLimitExceededException, InvalidInputException, ThrottlingException, InvalidEcsServiceException, InvalidTargetGroupPairException, EcsServiceMappingLimitExceededException, AwsServiceException, SdkClientException, CodeDeployException
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.ApplicationNameRequiredException
- The minimum number of required application names was not specified.InvalidApplicationNameException
- The application name was specified in an invalid format.ApplicationDoesNotExistException
- The application does not exist with the applicable IAM user or AWS account.InvalidDeploymentGroupNameException
- The deployment group name was specified in an invalid format.DeploymentGroupAlreadyExistsException
- A deployment group with the specified name already exists with the applicable IAM user or AWS account.DeploymentGroupNameRequiredException
- The deployment group name was not specified.DeploymentGroupDoesNotExistException
- The named deployment group does not exist with the applicable IAM user or AWS account.InvalidEc2TagException
- The tag was specified in an invalid format.InvalidTagException
- The specified tag was specified in an invalid format.InvalidAutoScalingGroupException
- The Auto Scaling group was specified in an invalid format or does not exist.InvalidDeploymentConfigNameException
- The deployment configuration name was specified in an invalid format.DeploymentConfigDoesNotExistException
- The deployment configuration does not exist with the applicable IAM user or AWS account.InvalidRoleException
- The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the
specified service role does not grant the appropriate permissions to Auto Scaling.LifecycleHookLimitExceededException
- The limit for lifecycle hooks was exceeded.InvalidTriggerConfigException
- The trigger was specified in an invalid format.TriggerTargetsLimitExceededException
- The maximum allowed number of triggers was exceeded.InvalidAlarmConfigException
- The format of the alarm configuration is invalid. Possible causes include:
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.
AlarmsLimitExceededException
- The maximum number of alarms for a deployment group (10) was exceeded.InvalidAutoRollbackConfigException
- The automatic rollback configuration was specified in an invalid format. For example, automatic rollback
is enabled but an invalid triggering event type or no event types were listed.InvalidLoadBalancerInfoException
- An invalid load balancer name, or no load balancer name, was specified.InvalidDeploymentStyleException
- An invalid deployment style was specified. Valid deployment types include "IN_PLACE" and "BLUE_GREEN".
Valid deployment options include "WITH_TRAFFIC_CONTROL" and "WITHOUT_TRAFFIC_CONTROL".InvalidBlueGreenDeploymentConfigurationException
- The configuration for the blue/green deployment group was provided in an invalid format. For information
about deployment configuration format, see CreateDeploymentConfig.InvalidEc2TagCombinationException
- A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but only one of these data types
can be used in a single call.InvalidOnPremisesTagCombinationException
- A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet, but only one of these
data types can be used in a single call.TagSetListLimitExceededException
- The number of tag groups included in the tag set list exceeded the maximum allowed limit of 3.InvalidInputException
- The specified input was specified in an invalid format.ThrottlingException
- An API function was called too frequently.InvalidEcsServiceException
- The Amazon ECS service identifier is not valid.InvalidTargetGroupPairException
- A target group pair associated with this deployment is not valid.EcsServiceMappingLimitExceededException
- The Amazon ECS service is associated with more than one deployment groups. An ECS service can only be
associated with one deployment group.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeDeployException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
static ServiceMetadata serviceMetadata()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.