#[non_exhaustive]
pub enum Error {
Show 23 variants AccessPointNotFoundException(AccessPointNotFoundException), CertificateNotFoundException(CertificateNotFoundException), DependencyThrottleException(DependencyThrottleException), DuplicateAccessPointNameException(DuplicateAccessPointNameException), DuplicateListenerException(DuplicateListenerException), DuplicatePolicyNameException(DuplicatePolicyNameException), DuplicateTagKeysException(DuplicateTagKeysException), InvalidConfigurationRequestException(InvalidConfigurationRequestException), InvalidEndPointException(InvalidEndPointException), InvalidSchemeException(InvalidSchemeException), InvalidSecurityGroupException(InvalidSecurityGroupException), InvalidSubnetException(InvalidSubnetException), ListenerNotFoundException(ListenerNotFoundException), LoadBalancerAttributeNotFoundException(LoadBalancerAttributeNotFoundException), OperationNotPermittedException(OperationNotPermittedException), PolicyNotFoundException(PolicyNotFoundException), PolicyTypeNotFoundException(PolicyTypeNotFoundException), SubnetNotFoundException(SubnetNotFoundException), TooManyAccessPointsException(TooManyAccessPointsException), TooManyPoliciesException(TooManyPoliciesException), TooManyTagsException(TooManyTagsException), UnsupportedProtocolException(UnsupportedProtocolException), Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
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.

AccessPointNotFoundException(AccessPointNotFoundException)

The specified load balancer does not exist.

CertificateNotFoundException(CertificateNotFoundException)

The specified ARN does not refer to a valid SSL certificate in AWS Identity and Access Management (IAM) or AWS Certificate Manager (ACM). Note that if you recently uploaded the certificate to IAM, this error might indicate that the certificate is not fully available yet.

DependencyThrottleException(DependencyThrottleException)

A request made by Elastic Load Balancing to another service exceeds the maximum request rate permitted for your account.

DuplicateAccessPointNameException(DuplicateAccessPointNameException)

The specified load balancer name already exists for this account.

DuplicateListenerException(DuplicateListenerException)

A listener already exists for the specified load balancer name and port, but with a different instance port, protocol, or SSL certificate.

DuplicatePolicyNameException(DuplicatePolicyNameException)

A policy with the specified name already exists for this load balancer.

DuplicateTagKeysException(DuplicateTagKeysException)

A tag key was specified more than once.

InvalidConfigurationRequestException(InvalidConfigurationRequestException)

The requested configuration change is not valid.

InvalidEndPointException(InvalidEndPointException)

The specified endpoint is not valid.

InvalidSchemeException(InvalidSchemeException)

The specified value for the schema is not valid. You can only specify a scheme for load balancers in a VPC.

InvalidSecurityGroupException(InvalidSecurityGroupException)

One or more of the specified security groups do not exist.

InvalidSubnetException(InvalidSubnetException)

The specified VPC has no associated Internet gateway.

ListenerNotFoundException(ListenerNotFoundException)

The load balancer does not have a listener configured at the specified port.

LoadBalancerAttributeNotFoundException(LoadBalancerAttributeNotFoundException)

The specified load balancer attribute does not exist.

OperationNotPermittedException(OperationNotPermittedException)

This operation is not allowed.

PolicyNotFoundException(PolicyNotFoundException)

One or more of the specified policies do not exist.

PolicyTypeNotFoundException(PolicyTypeNotFoundException)

One or more of the specified policy types do not exist.

SubnetNotFoundException(SubnetNotFoundException)

One or more of the specified subnets do not exist.

TooManyAccessPointsException(TooManyAccessPointsException)

The quota for the number of load balancers has been reached.

TooManyPoliciesException(TooManyPoliciesException)

The quota for the number of policies for this load balancer has been reached.

TooManyTagsException(TooManyTagsException)

The quota for the number of tags that can be assigned to a load balancer has been reached.

UnsupportedProtocolException(UnsupportedProtocolException)

The specified protocol or signature version is not supported.

Unhandled(Box<dyn Error + Send + Sync + 'static>)

An unhandled error occurred.

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

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. 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

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

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.

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