Package-level declarations
Types
Represents the input of, and adds tags to, an on-premises instance operation.
Information about alarms associated with a deployment or deployment group.
The maximum number of alarms for a deployment group (10) was exceeded.
An application with the specified name with the user or Amazon Web Services account already exists.
The application does not exist with the user or Amazon Web Services account.
Information about an application.
More applications were attempted to be created than are allowed.
The minimum number of required application names was not specified.
A revision for an Lambda or Amazon ECS deployment that is a YAML-formatted or JSON-formatted string. For Lambda and Amazon ECS deployments, the revision is the same as the AppSpec file. This method replaces the deprecated RawString
data type.
The specified ARN is not supported. For example, it might be an ARN for a resource that is not expected.
Information about a configuration for automatically rolling back to a previous version of an application revision when a deployment is not completed successfully.
Information about an Auto Scaling group.
Represents the input of a BatchGetApplicationRevisions
operation.
Represents the output of a BatchGetApplicationRevisions
operation.
Represents the input of a BatchGetApplications
operation.
Represents the output of a BatchGetApplications
operation.
Represents the input of a BatchGetDeploymentGroups
operation.
Represents the output of a BatchGetDeploymentGroups
operation.
Represents the input of a BatchGetDeploymentInstances
operation.
Represents the output of a BatchGetDeploymentInstances
operation.
Represents the input of a BatchGetDeployments
operation.
Represents the output of a BatchGetDeployments
operation.
Represents the input of a BatchGetOnPremisesInstances
operation.
Represents the output of a BatchGetOnPremisesInstances
operation.
The maximum number of names or IDs allowed for this request (100) was exceeded.
Information about blue/green deployment options for a deployment group.
Information about whether instances in the original environment are terminated when a blue/green deployment is successful. BlueInstanceTerminationOption
does not apply to Lambda deployments.
A bucket name is required, but was not provided.
Information about the target to be updated by an CloudFormation blue/green deployment. This target type is used for all deployments initiated by a CloudFormation stack update.
Base class for all service related exceptions thrown by the CodeDeploy client
Represents the input of a CreateApplication
operation.
Represents the output of a CreateApplication
operation.
Represents the input of a CreateDeploymentConfig
operation.
Represents the output of a CreateDeploymentConfig
operation.
Represents the input of a CreateDeploymentGroup
operation.
Represents the output of a CreateDeploymentGroup
operation.
Represents the input of a CreateDeployment
operation.
Represents the output of a CreateDeployment
operation.
Represents the input of a DeleteApplication
operation.
Represents the input of a DeleteDeploymentConfig
operation.
Represents the input of a DeleteDeploymentGroup
operation.
Represents the output of a DeleteDeploymentGroup
operation.
Represents the input of a DeleteGitHubAccount
operation.
Represents the output of a DeleteGitHubAccountToken
operation.
The deployment is already complete.
A deployment configuration with the specified name with the user or Amazon Web Services account already exists.
The deployment configuration does not exist with the user or Amazon Web Services account.
Information about a deployment configuration.
The deployment configuration is still in use.
The deployment configurations limit was exceeded.
The deployment configuration name was not specified.
The deployment with the user or Amazon Web Services account does not exist.
A deployment group with the specified name with the user or Amazon Web Services account already exists.
The named deployment group with the user or Amazon Web Services account does not exist.
Information about a deployment group.
The deployment groups limit was exceeded.
The deployment group name was not specified.
At least one deployment ID must be specified.
Information about a deployment.
The deployment does not have a status of Ready and can't continue yet.
The number of allowed deployments was exceeded.
The specified deployment has not started.
Information about the deployment status of the instances in the deployment.
Information about how traffic is rerouted to instances in a replacement environment in a blue/green deployment.
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.
Information about the deployment target.
The provided target ID does not belong to the attempted deployment.
A deployment target ID was not provided.
The maximum number of targets that can be associated with an Amazon ECS or 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.
Represents the input of a DeregisterOnPremisesInstance
operation.
The description is too long.
Diagnostic information about executable scripts that are part of a deployment.
Information about an EC2 tag filter.
Contains the service and cluster names used to identify an Amazon ECS deployment's target.
The Amazon ECS service is associated with more than one deployment groups. An Amazon ECS service can be associated with only one deployment group.
Information about a set of Amazon ECS tasks in an CodeDeploy deployment. An Amazon ECS task set includes details such as the desired number of tasks, how many tasks are running, and whether the task set serves production traffic. An CodeDeploy application that uses the Amazon ECS compute platform deploys a containerized application in an Amazon ECS service as a task set.
Information about a deployment error.
Information about an application revision.
Represents the input of a GetApplication
operation.
Represents the output of a GetApplication
operation.
Represents the input of a GetApplicationRevision
operation.
Represents the output of a GetApplicationRevision
operation.
Represents the input of a GetDeploymentConfig
operation.
Represents the output of a GetDeploymentConfig
operation.
Represents the input of a GetDeploymentGroup
operation.
Represents the output of a GetDeploymentGroup
operation.
Represents the input of a GetDeploymentInstance
operation.
Represents the output of a GetDeploymentInstance
operation.
Represents the input of a GetDeployment
operation.
Represents the output of a GetDeployment
operation.
Represents the input of a GetOnPremisesInstance
operation.
Represents the output of a GetOnPremisesInstance
operation.
No GitHub account connection exists with the named specified in the call.
The call is missing a required GitHub account connection name.
Information about the location of application artifacts stored in GitHub.
Information about the instances that belong to the replacement environment in a blue/green deployment.
No IAM ARN was included in the request. You must use an IAM session ARN or user ARN in the request.
The request included an IAM session ARN that has already been used to register a different instance.
The specified user ARN is already registered with an on-premises instance.
An user ARN was not specified.
The specified instance does not exist in the deployment group.
The instance ID was not specified.
Information about an on-premises instance.
The maximum number of allowed on-premises instances in a single call was exceeded.
The specified on-premises instance name is already registered.
An on-premises instance name was not specified.
The specified on-premises instance is not registered.
Information about an instance in a deployment.
A target Amazon EC2 or on-premises instance during a deployment that uses the EC2/On-premises compute platform.
The format of the alarm configuration is invalid. Possible causes include:
The application name was specified in an invalid format.
The specified ARN is not in a valid format.
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.
The Auto Scaling group was specified in an invalid format or does not exist.
The configuration for the blue/green deployment group was provided in an invalid format. For information about deployment configuration format, see CreateDeploymentConfig.
The bucket name either doesn't exist or was specified in an invalid format.
The computePlatform is invalid. The computePlatform should be Lambda
, Server
, or ECS
.
The deployed state filter was specified in an invalid format.
The deployment configuration name was specified in an invalid format.
The deployment group name was specified in an invalid format.
At least one of the deployment IDs was specified in an invalid format.
An instance type was specified for an in-place deployment. Instance types are supported for blue/green deployments only.
The specified deployment status doesn't exist or cannot be determined.
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."
The target ID provided was not valid.
The wait type is invalid.
A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but only one of these data types can be used in a single call.
The tag was specified in an invalid format.
The Amazon ECS service identifier is not valid.
The external ID was specified in an invalid format.
An invalid fileExistsBehavior option was specified to determine how 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."
The GitHub token is not valid.
The format of the specified GitHub account connection name is invalid.
The IAM session ARN was specified in an invalid format.
The user ARN was specified in an invalid format.
The IgnoreApplicationStopFailures value is invalid. For Lambda deployments, false
is expected. For EC2/On-premises deployments, true
or false
is expected.
The input was specified in an invalid format.
The on-premises instance name was specified in an invalid format.
The specified instance status does not exist.
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.
The specified key prefix filter was specified in an invalid format.
A lifecycle event hook is invalid. Review the hooks
section in your AppSpec file to ensure the lifecycle events and hooks
functions are valid.
The result of a Lambda validation function that verifies a lifecycle event is invalid. It should return Succeeded
or Failed
.
An invalid load balancer name, or no load balancer name, was specified.
The minimum healthy instance value was specified in an invalid format.
The next token was specified in an invalid format.
A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet, but only one of these data types can be used in a single call.
An invalid operation was detected.
The registration status was specified in an invalid format.
The revision was specified in an invalid format.
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 Amazon EC2 Auto Scaling.
The column name to sort by is either not present or was specified in an invalid format.
The sort order was specified in an invalid format.
The tag was specified in an invalid format.
The tag filter was specified in an invalid format.
The specified tags are not valid.
The target filter name is invalid.
A target group pair associated with this deployment is not valid.
The target instance configuration is invalid. Possible causes include:
The specified time range was specified in an invalid format.
The configuration that specifies how traffic is routed during a deployment is invalid.
The trigger was specified in an invalid format.
The UpdateOutdatedInstancesOnly value is invalid. For Lambda deployments, false
is expected. For EC2/On-premises deployments, true
or false
is expected.
The ZonalConfig
object is not valid.
Information about a Lambda function specified in a deployment.
Information about the target Lambda function during an Lambda deployment.
Information about the most recent attempted or successful deployment to a deployment group.
Information about a deployment lifecycle event.
An attempt to return the status of an already completed lifecycle event occurred.
The limit for lifecycle hooks was exceeded.
Represents the input of a ListApplicationRevisions
operation.
Represents the output of a ListApplicationRevisions
operation.
Represents the input of a ListApplications
operation.
Represents the output of a ListApplications operation.
Represents the input of a ListDeploymentConfigs
operation.
Represents the output of a ListDeploymentConfigs
operation.
Represents the input of a ListDeploymentGroups
operation.
Represents the output of a ListDeploymentGroups
operation.
Represents the input of a ListDeploymentInstances
operation.
Represents the output of a ListDeploymentInstances
operation.
Represents the input of a ListDeployments
operation.
Represents the output of a ListDeployments
operation.
Represents the input of a ListGitHubAccountTokenNames
operation.
Represents the output of a ListGitHubAccountTokenNames
operation.
Represents the input of a ListOnPremisesInstances
operation.
Represents the output of the list on-premises instances operation.
Information about the Elastic Load Balancing load balancer or target group used in a deployment.
Information about the minimum number of healthy instances.
Information about the minimum number of healthy instances per Availability Zone.
Both an user ARN and an IAM session ARN were included in the request. Use only one ARN type.
Information about groups of on-premises instance tags.
The API used does not support the deployment.
Represents the input of a RegisterApplicationRevision operation.
Represents the input of the register on-premises instance operation.
Information about deployments related to the specified deployment.
Represents the input of a RemoveTagsFromOnPremisesInstances
operation.
The ARN of a resource is required, but was not found.
The specified resource could not be validated.
The named revision does not exist with the user or Amazon Web Services account.
Information about an application revision.
Information about the location of an application revision.
The revision ID was not specified.
The role ID was not specified.
Information about a deployment rollback.
Information about the location of application artifacts stored in Amazon S3.
Represents the input of a StopDeployment
operation.
Represents the output of a StopDeployment
operation.
The maximum allowed number of tags was exceeded.
A tag was not specified.
The number of tag groups included in the tag set list exceeded the maximum allowed limit of 3.
Information about a target group in Elastic Load Balancing to use in a deployment. Instances are registered as targets in a target group, and traffic is routed to the target group.
Information about two target groups and how traffic is routed during an Amazon ECS deployment. An optional test traffic route can be specified.
Information about the instances to be used in the replacement environment in a blue/green deployment.
An API function was called too frequently.
A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in two increments. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
Information about a listener. The listener contains the path used to route traffic that is received from the load balancer to a target group.
The configuration that specifies how traffic is shifted from one version of a Lambda function to another version during an Lambda deployment, or from one Amazon ECS task set to another during an Amazon ECS deployment.
Information about notification triggers for the deployment group.
The maximum allowed number of triggers was exceeded.
A call was submitted that is not supported for the specified deployment type.
Represents the input of an UpdateApplication
operation.
Represents the input of an UpdateDeploymentGroup
operation.
Represents the output of an UpdateDeploymentGroup
operation.
Configure the ZonalConfig
object if you want CodeDeploy to deploy your application to one Availability Zone at a time, within an Amazon Web Services Region. By deploying to one Availability Zone at a time, you can expose your deployment to a progressively larger audience as confidence in the deployment's performance and viability grows. If you don't configure the ZonalConfig
object, CodeDeploy deploys your application to a random selection of hosts across a Region.