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
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ApplicationDoesNotExistException(ApplicationDoesNotExistException)

The application does not exist with the IAM user or AWS account.

Tuple Fields of ApplicationDoesNotExistException

0: ApplicationDoesNotExistException
ApplicationNameRequiredException(ApplicationNameRequiredException)

The minimum number of required application names was not specified.

Tuple Fields of ApplicationNameRequiredException

0: ApplicationNameRequiredException
DeploymentConfigDoesNotExistException(DeploymentConfigDoesNotExistException)

The deployment configuration does not exist with the IAM user or AWS account.

Tuple Fields of DeploymentConfigDoesNotExistException

0: DeploymentConfigDoesNotExistException
DeploymentGroupDoesNotExistException(DeploymentGroupDoesNotExistException)

The named deployment group with the IAM user or AWS account does not exist.

Tuple Fields of DeploymentGroupDoesNotExistException

0: DeploymentGroupDoesNotExistException
DeploymentGroupNameRequiredException(DeploymentGroupNameRequiredException)

The deployment group name was not specified.

Tuple Fields of DeploymentGroupNameRequiredException

0: DeploymentGroupNameRequiredException
DeploymentLimitExceededException(DeploymentLimitExceededException)

The number of allowed deployments was exceeded.

Tuple Fields of DeploymentLimitExceededException

0: DeploymentLimitExceededException
DescriptionTooLongException(DescriptionTooLongException)

The description is too long.

Tuple Fields of DescriptionTooLongException

0: DescriptionTooLongException
InvalidApplicationNameException(InvalidApplicationNameException)

The application name was specified in an invalid format.

Tuple Fields of InvalidApplicationNameException

0: InvalidApplicationNameException
InvalidAutoRollbackConfigException(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.

Tuple Fields of InvalidAutoRollbackConfigException

0: InvalidAutoRollbackConfigException
InvalidAutoScalingGroupException(InvalidAutoScalingGroupException)

The Auto Scaling group was specified in an invalid format or does not exist.

Tuple Fields of InvalidAutoScalingGroupException

0: InvalidAutoScalingGroupException
InvalidDeploymentConfigNameException(InvalidDeploymentConfigNameException)

The deployment configuration name was specified in an invalid format.

Tuple Fields of InvalidDeploymentConfigNameException

0: InvalidDeploymentConfigNameException
InvalidDeploymentGroupNameException(InvalidDeploymentGroupNameException)

The deployment group name was specified in an invalid format.

Tuple Fields of InvalidDeploymentGroupNameException

0: InvalidDeploymentGroupNameException
InvalidFileExistsBehaviorException(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."

Tuple Fields of InvalidFileExistsBehaviorException

0: InvalidFileExistsBehaviorException
InvalidGitHubAccountTokenException(InvalidGitHubAccountTokenException)

The GitHub token is not valid.

Tuple Fields of InvalidGitHubAccountTokenException

0: InvalidGitHubAccountTokenException
InvalidIgnoreApplicationStopFailuresValueException(InvalidIgnoreApplicationStopFailuresValueException)

The IgnoreApplicationStopFailures value is invalid. For AWS Lambda deployments, false is expected. For EC2/On-premises deployments, true or false is expected.

Tuple Fields of InvalidIgnoreApplicationStopFailuresValueException

0: InvalidIgnoreApplicationStopFailuresValueException
InvalidLoadBalancerInfoException(InvalidLoadBalancerInfoException)

An invalid load balancer name, or no load balancer name, was specified.

Tuple Fields of InvalidLoadBalancerInfoException

0: InvalidLoadBalancerInfoException
InvalidRevisionException(InvalidRevisionException)

The revision was specified in an invalid format.

Tuple Fields of InvalidRevisionException

0: InvalidRevisionException
InvalidRoleException(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 Amazon EC2 Auto Scaling.

Tuple Fields of InvalidRoleException

0: InvalidRoleException
InvalidTargetInstancesException(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.

Tuple Fields of InvalidTargetInstancesException

0: InvalidTargetInstancesException
InvalidTrafficRoutingConfigurationException(InvalidTrafficRoutingConfigurationException)

The configuration that specifies how traffic is routed during a deployment is invalid.

Tuple Fields of InvalidTrafficRoutingConfigurationException

0: InvalidTrafficRoutingConfigurationException
InvalidUpdateOutdatedInstancesOnlyValueException(InvalidUpdateOutdatedInstancesOnlyValueException)

The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda deployments, false is expected. For EC2/On-premises deployments, true or false is expected.

Tuple Fields of InvalidUpdateOutdatedInstancesOnlyValueException

0: InvalidUpdateOutdatedInstancesOnlyValueException
RevisionDoesNotExistException(RevisionDoesNotExistException)

The named revision does not exist with the IAM user or AWS account.

Tuple Fields of RevisionDoesNotExistException

0: RevisionDoesNotExistException
RevisionRequiredException(RevisionRequiredException)

The revision ID was not specified.

Tuple Fields of RevisionRequiredException

0: RevisionRequiredException
ThrottlingException(ThrottlingException)

An API function was called too frequently.

Tuple Fields of ThrottlingException

0: ThrottlingException
Unhandled(Box<dyn Error + Send + Sync + 'static>)

An unexpected error, e.g. invalid JSON returned by the service or an unknown error code

Tuple Fields of Unhandled

0: Box<dyn Error + Send + Sync + 'static>

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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