Enum aws_sdk_codedeploy::error::CreateDeploymentErrorKind [−][src]
#[non_exhaustive]
pub enum CreateDeploymentErrorKind {
Show 25 variants
ApplicationDoesNotExistException(ApplicationDoesNotExistException),
ApplicationNameRequiredException(ApplicationNameRequiredException),
DeploymentConfigDoesNotExistException(DeploymentConfigDoesNotExistException),
DeploymentGroupDoesNotExistException(DeploymentGroupDoesNotExistException),
DeploymentGroupNameRequiredException(DeploymentGroupNameRequiredException),
DeploymentLimitExceededException(DeploymentLimitExceededException),
DescriptionTooLongException(DescriptionTooLongException),
InvalidApplicationNameException(InvalidApplicationNameException),
InvalidAutoRollbackConfigException(InvalidAutoRollbackConfigException),
InvalidAutoScalingGroupException(InvalidAutoScalingGroupException),
InvalidDeploymentConfigNameException(InvalidDeploymentConfigNameException),
InvalidDeploymentGroupNameException(InvalidDeploymentGroupNameException),
InvalidFileExistsBehaviorException(InvalidFileExistsBehaviorException),
InvalidGitHubAccountTokenException(InvalidGitHubAccountTokenException),
InvalidIgnoreApplicationStopFailuresValueException(InvalidIgnoreApplicationStopFailuresValueException),
InvalidLoadBalancerInfoException(InvalidLoadBalancerInfoException),
InvalidRevisionException(InvalidRevisionException),
InvalidRoleException(InvalidRoleException),
InvalidTargetInstancesException(InvalidTargetInstancesException),
InvalidTrafficRoutingConfigurationException(InvalidTrafficRoutingConfigurationException),
InvalidUpdateOutdatedInstancesOnlyValueException(InvalidUpdateOutdatedInstancesOnlyValueException),
RevisionDoesNotExistException(RevisionDoesNotExistException),
RevisionRequiredException(RevisionRequiredException),
ThrottlingException(ThrottlingException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the CreateDeployment
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
ApplicationDoesNotExistException(ApplicationDoesNotExistException)
Tuple Fields
The application does not exist with the IAM user or AWS account.
ApplicationNameRequiredException(ApplicationNameRequiredException)
Tuple Fields
The minimum number of required application names was not specified.
DeploymentConfigDoesNotExistException(DeploymentConfigDoesNotExistException)
Tuple Fields
The deployment configuration does not exist with the IAM user or AWS account.
DeploymentGroupDoesNotExistException(DeploymentGroupDoesNotExistException)
Tuple Fields
The named deployment group with the IAM user or AWS account does not exist.
DeploymentGroupNameRequiredException(DeploymentGroupNameRequiredException)
Tuple Fields
The deployment group name was not specified.
DeploymentLimitExceededException(DeploymentLimitExceededException)
Tuple Fields
The number of allowed deployments was exceeded.
DescriptionTooLongException(DescriptionTooLongException)
Tuple Fields
The description is too long.
InvalidApplicationNameException(InvalidApplicationNameException)
Tuple Fields
The application name was specified in an invalid format.
InvalidAutoRollbackConfigException(InvalidAutoRollbackConfigException)
Tuple Fields
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.
InvalidAutoScalingGroupException(InvalidAutoScalingGroupException)
Tuple Fields
The Auto Scaling group was specified in an invalid format or does not exist.
InvalidDeploymentConfigNameException(InvalidDeploymentConfigNameException)
Tuple Fields
The deployment configuration name was specified in an invalid format.
InvalidDeploymentGroupNameException(InvalidDeploymentGroupNameException)
Tuple Fields
The deployment group name was specified in an invalid format.
InvalidFileExistsBehaviorException(InvalidFileExistsBehaviorException)
Tuple Fields
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."
InvalidGitHubAccountTokenException(InvalidGitHubAccountTokenException)
Tuple Fields
The GitHub token is not valid.
InvalidIgnoreApplicationStopFailuresValueException(InvalidIgnoreApplicationStopFailuresValueException)
Tuple Fields
The IgnoreApplicationStopFailures value is invalid. For AWS Lambda deployments,
false
is expected. For EC2/On-premises deployments, true
or false
is expected.
InvalidLoadBalancerInfoException(InvalidLoadBalancerInfoException)
Tuple Fields
An invalid load balancer name, or no load balancer name, was specified.
InvalidRevisionException(InvalidRevisionException)
Tuple Fields
The revision was specified in an invalid format.
InvalidRoleException(InvalidRoleException)
Tuple Fields
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.
InvalidTargetInstancesException(InvalidTargetInstancesException)
Tuple Fields
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.
InvalidTrafficRoutingConfigurationException(InvalidTrafficRoutingConfigurationException)
Tuple Fields
The configuration that specifies how traffic is routed during a deployment is invalid.
InvalidUpdateOutdatedInstancesOnlyValueException(InvalidUpdateOutdatedInstancesOnlyValueException)
Tuple Fields
The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda deployments,
false
is expected. For EC2/On-premises deployments, true
or false
is expected.
RevisionDoesNotExistException(RevisionDoesNotExistException)
Tuple Fields
The named revision does not exist with the IAM user or AWS account.
RevisionRequiredException(RevisionRequiredException)
Tuple Fields
The revision ID was not specified.
ThrottlingException(ThrottlingException)
Tuple Fields
An API function was called too frequently.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CreateDeploymentErrorKind
impl Send for CreateDeploymentErrorKind
impl Sync for CreateDeploymentErrorKind
impl Unpin for CreateDeploymentErrorKind
impl !UnwindSafe for CreateDeploymentErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more