#[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.

AvailabilityZoneNotSupportedException(AvailabilityZoneNotSupportedException)

The specified Availability Zone is not supported.

DuplicateLoadBalancerNameException(DuplicateLoadBalancerNameException)

A load balancer with the specified name already exists.

DuplicateTagKeysException(DuplicateTagKeysException)

A tag key was specified more than once.

InvalidConfigurationRequestException(InvalidConfigurationRequestException)

The requested configuration is not valid.

InvalidSchemeException(InvalidSchemeException)

The requested scheme is not valid.

InvalidSecurityGroupException(InvalidSecurityGroupException)

The specified security group does not exist.

InvalidSubnetException(InvalidSubnetException)

The specified subnet is out of available addresses.

OperationNotPermittedException(OperationNotPermittedException)

This operation is not allowed.

ResourceInUseException(ResourceInUseException)

A specified resource is in use.

SubnetNotFoundException(SubnetNotFoundException)

The specified subnet does not exist.

TooManyLoadBalancersException(TooManyLoadBalancersException)

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

TooManyTagsException(TooManyTagsException)

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

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

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

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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