Enum aws_sdk_codedeploy::error::CreateDeploymentGroupErrorKind [−][src]
#[non_exhaustive]
pub enum CreateDeploymentGroupErrorKind {
Show 34 variants
AlarmsLimitExceededException(AlarmsLimitExceededException),
ApplicationDoesNotExistException(ApplicationDoesNotExistException),
ApplicationNameRequiredException(ApplicationNameRequiredException),
DeploymentConfigDoesNotExistException(DeploymentConfigDoesNotExistException),
DeploymentGroupAlreadyExistsException(DeploymentGroupAlreadyExistsException),
DeploymentGroupLimitExceededException(DeploymentGroupLimitExceededException),
DeploymentGroupNameRequiredException(DeploymentGroupNameRequiredException),
EcsServiceMappingLimitExceededException(EcsServiceMappingLimitExceededException),
InvalidAlarmConfigException(InvalidAlarmConfigException),
InvalidApplicationNameException(InvalidApplicationNameException),
InvalidAutoRollbackConfigException(InvalidAutoRollbackConfigException),
InvalidAutoScalingGroupException(InvalidAutoScalingGroupException),
InvalidBlueGreenDeploymentConfigurationException(InvalidBlueGreenDeploymentConfigurationException),
InvalidDeploymentConfigNameException(InvalidDeploymentConfigNameException),
InvalidDeploymentGroupNameException(InvalidDeploymentGroupNameException),
InvalidDeploymentStyleException(InvalidDeploymentStyleException),
InvalidEc2TagCombinationException(InvalidEc2TagCombinationException),
InvalidEc2TagException(InvalidEc2TagException),
InvalidEcsServiceException(InvalidEcsServiceException),
InvalidInputException(InvalidInputException),
InvalidLoadBalancerInfoException(InvalidLoadBalancerInfoException),
InvalidOnPremisesTagCombinationException(InvalidOnPremisesTagCombinationException),
InvalidRoleException(InvalidRoleException),
InvalidTagException(InvalidTagException),
InvalidTagsToAddException(InvalidTagsToAddException),
InvalidTargetGroupPairException(InvalidTargetGroupPairException),
InvalidTrafficRoutingConfigurationException(InvalidTrafficRoutingConfigurationException),
InvalidTriggerConfigException(InvalidTriggerConfigException),
LifecycleHookLimitExceededException(LifecycleHookLimitExceededException),
RoleRequiredException(RoleRequiredException),
TagSetListLimitExceededException(TagSetListLimitExceededException),
ThrottlingException(ThrottlingException),
TriggerTargetsLimitExceededException(TriggerTargetsLimitExceededException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the CreateDeploymentGroup
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AlarmsLimitExceededException(AlarmsLimitExceededException)
Tuple Fields
The maximum number of alarms for a deployment group (10) was exceeded.
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.
DeploymentGroupAlreadyExistsException(DeploymentGroupAlreadyExistsException)
Tuple Fields
A deployment group with the specified name with the IAM user or AWS account already exists.
DeploymentGroupLimitExceededException(DeploymentGroupLimitExceededException)
Tuple Fields
The deployment groups limit was exceeded.
DeploymentGroupNameRequiredException(DeploymentGroupNameRequiredException)
Tuple Fields
The deployment group name was not specified.
EcsServiceMappingLimitExceededException(EcsServiceMappingLimitExceededException)
Tuple Fields
The Amazon ECS service is associated with more than one deployment groups. An Amazon ECS service can be associated with only one deployment group.
InvalidAlarmConfigException(InvalidAlarmConfigException)
Tuple Fields
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 limit of 255 characters.
-
Two alarms with the same name have been specified.
-
The alarm configuration is enabled, but the alarm list is empty.
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.
InvalidBlueGreenDeploymentConfigurationException(InvalidBlueGreenDeploymentConfigurationException)
Tuple Fields
The configuration for the blue/green deployment group was provided in an invalid format. For information about deployment configuration format, see CreateDeploymentConfig.
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.
InvalidDeploymentStyleException(InvalidDeploymentStyleException)
Tuple Fields
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."
InvalidEc2TagCombinationException(InvalidEc2TagCombinationException)
Tuple Fields
A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but only one of these data types can be used in a single call.
InvalidEc2TagException(InvalidEc2TagException)
Tuple Fields
The tag was specified in an invalid format.
InvalidEcsServiceException(InvalidEcsServiceException)
Tuple Fields
The Amazon ECS service identifier is not valid.
InvalidInputException(InvalidInputException)
Tuple Fields
The input was specified in an invalid format.
InvalidLoadBalancerInfoException(InvalidLoadBalancerInfoException)
Tuple Fields
An invalid load balancer name, or no load balancer name, was specified.
InvalidOnPremisesTagCombinationException(InvalidOnPremisesTagCombinationException)
Tuple Fields
A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet, but only one of these data types can be used in a single call.
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.
InvalidTagException(InvalidTagException)
Tuple Fields
The tag was specified in an invalid format.
InvalidTagsToAddException(InvalidTagsToAddException)
Tuple Fields
The specified tags are not valid.
InvalidTargetGroupPairException(InvalidTargetGroupPairException)
Tuple Fields
A target group pair associated with this deployment is not valid.
InvalidTrafficRoutingConfigurationException(InvalidTrafficRoutingConfigurationException)
Tuple Fields
The configuration that specifies how traffic is routed during a deployment is invalid.
InvalidTriggerConfigException(InvalidTriggerConfigException)
Tuple Fields
The trigger was specified in an invalid format.
LifecycleHookLimitExceededException(LifecycleHookLimitExceededException)
Tuple Fields
The limit for lifecycle hooks was exceeded.
RoleRequiredException(RoleRequiredException)
Tuple Fields
The role ID was not specified.
TagSetListLimitExceededException(TagSetListLimitExceededException)
Tuple Fields
The number of tag groups included in the tag set list exceeded the maximum allowed limit of 3.
ThrottlingException(ThrottlingException)
Tuple Fields
An API function was called too frequently.
TriggerTargetsLimitExceededException(TriggerTargetsLimitExceededException)
Tuple Fields
The maximum allowed number of triggers was exceeded.
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 CreateDeploymentGroupErrorKind
impl Send for CreateDeploymentGroupErrorKind
impl Sync for CreateDeploymentGroupErrorKind
impl Unpin for CreateDeploymentGroupErrorKind
impl !UnwindSafe for CreateDeploymentGroupErrorKind
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