#[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(Unhandled),
}
Expand description
Types of errors that can occur for the CreateLoadBalancer
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
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(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.