#[non_exhaustive]
pub enum Error {
Show 38 variants
AlpnPolicyNotSupportedException(AlpnPolicyNotSupportedException),
AllocationIdNotFoundException(AllocationIdNotFoundException),
AvailabilityZoneNotSupportedException(AvailabilityZoneNotSupportedException),
CertificateNotFoundException(CertificateNotFoundException),
DuplicateListenerException(DuplicateListenerException),
DuplicateLoadBalancerNameException(DuplicateLoadBalancerNameException),
DuplicateTagKeysException(DuplicateTagKeysException),
DuplicateTargetGroupNameException(DuplicateTargetGroupNameException),
HealthUnavailableException(HealthUnavailableException),
IncompatibleProtocolsException(IncompatibleProtocolsException),
InvalidConfigurationRequestException(InvalidConfigurationRequestException),
InvalidLoadBalancerActionException(InvalidLoadBalancerActionException),
InvalidSchemeException(InvalidSchemeException),
InvalidSecurityGroupException(InvalidSecurityGroupException),
InvalidSubnetException(InvalidSubnetException),
InvalidTargetException(InvalidTargetException),
ListenerNotFoundException(ListenerNotFoundException),
LoadBalancerNotFoundException(LoadBalancerNotFoundException),
OperationNotPermittedException(OperationNotPermittedException),
PriorityInUseException(PriorityInUseException),
ResourceInUseException(ResourceInUseException),
RuleNotFoundException(RuleNotFoundException),
SslPolicyNotFoundException(SslPolicyNotFoundException),
SubnetNotFoundException(SubnetNotFoundException),
TargetGroupAssociationLimitException(TargetGroupAssociationLimitException),
TargetGroupNotFoundException(TargetGroupNotFoundException),
TooManyActionsException(TooManyActionsException),
TooManyCertificatesException(TooManyCertificatesException),
TooManyListenersException(TooManyListenersException),
TooManyLoadBalancersException(TooManyLoadBalancersException),
TooManyRegistrationsForTargetIdException(TooManyRegistrationsForTargetIdException),
TooManyRulesException(TooManyRulesException),
TooManyTagsException(TooManyTagsException),
TooManyTargetGroupsException(TooManyTargetGroupsException),
TooManyTargetsException(TooManyTargetsException),
TooManyUniqueTargetGroupsPerLoadBalancerException(TooManyUniqueTargetGroupsPerLoadBalancerException),
UnsupportedProtocolException(UnsupportedProtocolException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AlpnPolicyNotSupportedException(AlpnPolicyNotSupportedException)
The specified ALPN policy is not supported.
AllocationIdNotFoundException(AllocationIdNotFoundException)
The specified allocation ID does not exist.
AvailabilityZoneNotSupportedException(AvailabilityZoneNotSupportedException)
The specified Availability Zone is not supported.
CertificateNotFoundException(CertificateNotFoundException)
The specified certificate does not exist.
DuplicateListenerException(DuplicateListenerException)
A listener with the specified port already exists.
DuplicateLoadBalancerNameException(DuplicateLoadBalancerNameException)
A load balancer with the specified name already exists.
DuplicateTagKeysException(DuplicateTagKeysException)
A tag key was specified more than once.
DuplicateTargetGroupNameException(DuplicateTargetGroupNameException)
A target group with the specified name already exists.
The health of the specified targets could not be retrieved due to an internal error.
IncompatibleProtocolsException(IncompatibleProtocolsException)
The specified configuration is not valid with this protocol.
InvalidConfigurationRequestException(InvalidConfigurationRequestException)
The requested configuration is not valid.
InvalidLoadBalancerActionException(InvalidLoadBalancerActionException)
The requested action 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.
InvalidTargetException(InvalidTargetException)
The specified target does not exist, is not in the same VPC as the target group, or has an unsupported instance type.
ListenerNotFoundException(ListenerNotFoundException)
The specified listener does not exist.
LoadBalancerNotFoundException(LoadBalancerNotFoundException)
The specified load balancer does not exist.
OperationNotPermittedException(OperationNotPermittedException)
This operation is not allowed.
PriorityInUseException(PriorityInUseException)
The specified priority is in use.
ResourceInUseException(ResourceInUseException)
A specified resource is in use.
RuleNotFoundException(RuleNotFoundException)
The specified rule does not exist.
SslPolicyNotFoundException(SslPolicyNotFoundException)
The specified SSL policy does not exist.
SubnetNotFoundException(SubnetNotFoundException)
The specified subnet does not exist.
TargetGroupAssociationLimitException(TargetGroupAssociationLimitException)
You've reached the limit on the number of load balancers per target group.
TargetGroupNotFoundException(TargetGroupNotFoundException)
The specified target group does not exist.
TooManyActionsException(TooManyActionsException)
You've reached the limit on the number of actions per rule.
TooManyCertificatesException(TooManyCertificatesException)
You've reached the limit on the number of certificates per load balancer.
TooManyListenersException(TooManyListenersException)
You've reached the limit on the number of listeners per load balancer.
TooManyLoadBalancersException(TooManyLoadBalancersException)
You've reached the limit on the number of load balancers for your Amazon Web Services account.
TooManyRegistrationsForTargetIdException(TooManyRegistrationsForTargetIdException)
You've reached the limit on the number of times a target can be registered with a load balancer.
TooManyRulesException(TooManyRulesException)
You've reached the limit on the number of rules per load balancer.
TooManyTagsException(TooManyTagsException)
You've reached the limit on the number of tags per load balancer.
TooManyTargetGroupsException(TooManyTargetGroupsException)
You've reached the limit on the number of target groups for your Amazon Web Services account.
TooManyTargetsException(TooManyTargetsException)
You've reached the limit on the number of targets.
TooManyUniqueTargetGroupsPerLoadBalancerException(TooManyUniqueTargetGroupsPerLoadBalancerException)
You've reached the limit on the number of unique target groups per load balancer across all listeners. If a target group is used by multiple actions for a load balancer, it is counted as only one use.
UnsupportedProtocolException(UnsupportedProtocolException)
The specified protocol is not supported.
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.