Enum aws_sdk_elasticloadbalancingv2::error::CreateLoadBalancerErrorKind[][src]

#[non_exhaustive]
pub enum CreateLoadBalancerErrorKind {
Show 14 variants AllocationIdNotFoundException(AllocationIdNotFoundException), AvailabilityZoneNotSupportedException(AvailabilityZoneNotSupportedException), DuplicateLoadBalancerNameException(DuplicateLoadBalancerNameException), DuplicateTagKeysException(DuplicateTagKeysException), InvalidConfigurationRequestException(InvalidConfigurationRequestException), InvalidSchemeException(InvalidSchemeException), InvalidSecurityGroupException(InvalidSecurityGroupException), InvalidSubnetException(InvalidSubnetException), OperationNotPermittedException(OperationNotPermittedException), ResourceInUseException(ResourceInUseException), SubnetNotFoundException(SubnetNotFoundException), TooManyLoadBalancersException(TooManyLoadBalancersException), TooManyTagsException(TooManyTagsException), Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description

Types of errors that can occur for the CreateLoadBalancer 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.
AllocationIdNotFoundException(AllocationIdNotFoundException)

The specified allocation ID does not exist.

Tuple Fields of AllocationIdNotFoundException

0: AllocationIdNotFoundException
AvailabilityZoneNotSupportedException(AvailabilityZoneNotSupportedException)

The specified Availability Zone is not supported.

Tuple Fields of AvailabilityZoneNotSupportedException

0: AvailabilityZoneNotSupportedException
DuplicateLoadBalancerNameException(DuplicateLoadBalancerNameException)

A load balancer with the specified name already exists.

Tuple Fields of DuplicateLoadBalancerNameException

0: DuplicateLoadBalancerNameException
DuplicateTagKeysException(DuplicateTagKeysException)

A tag key was specified more than once.

Tuple Fields of DuplicateTagKeysException

0: DuplicateTagKeysException
InvalidConfigurationRequestException(InvalidConfigurationRequestException)

The requested configuration is not valid.

Tuple Fields of InvalidConfigurationRequestException

0: InvalidConfigurationRequestException
InvalidSchemeException(InvalidSchemeException)

The requested scheme is not valid.

Tuple Fields of InvalidSchemeException

0: InvalidSchemeException
InvalidSecurityGroupException(InvalidSecurityGroupException)

The specified security group does not exist.

Tuple Fields of InvalidSecurityGroupException

0: InvalidSecurityGroupException
InvalidSubnetException(InvalidSubnetException)

The specified subnet is out of available addresses.

Tuple Fields of InvalidSubnetException

0: InvalidSubnetException
OperationNotPermittedException(OperationNotPermittedException)

This operation is not allowed.

Tuple Fields of OperationNotPermittedException

0: OperationNotPermittedException
ResourceInUseException(ResourceInUseException)

A specified resource is in use.

Tuple Fields of ResourceInUseException

0: ResourceInUseException
SubnetNotFoundException(SubnetNotFoundException)

The specified subnet does not exist.

Tuple Fields of SubnetNotFoundException

0: SubnetNotFoundException
TooManyLoadBalancersException(TooManyLoadBalancersException)

You've reached the limit on the number of load balancers for your Amazon Web Services account.

Tuple Fields of TooManyLoadBalancersException

0: TooManyLoadBalancersException
TooManyTagsException(TooManyTagsException)

You've reached the limit on the number of tags per load balancer.

Tuple Fields of TooManyTagsException

0: TooManyTagsException
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