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

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.

§

HealthUnavailableException(HealthUnavailableException)

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.

Trait Implementations§

Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
The lower-level source of this error, if any. Read more
👎Deprecated since 1.42.0: use the Display impl or to_string()
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.

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.

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to provide by using demand. Read more
Should always be Self
Converts the given value to a String. Read more
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