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

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<AddListenerCertificatesError> for Error

source§

fn from(err: AddListenerCertificatesError) -> Self

Converts to this type from the input type.
source§

impl From<AddTagsError> for Error

source§

fn from(err: AddTagsError) -> Self

Converts to this type from the input type.
source§

impl From<CreateListenerError> for Error

source§

fn from(err: CreateListenerError) -> Self

Converts to this type from the input type.
source§

impl From<CreateLoadBalancerError> for Error

source§

fn from(err: CreateLoadBalancerError) -> Self

Converts to this type from the input type.
source§

impl From<CreateRuleError> for Error

source§

fn from(err: CreateRuleError) -> Self

Converts to this type from the input type.
source§

impl From<CreateTargetGroupError> for Error

source§

fn from(err: CreateTargetGroupError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteListenerError> for Error

source§

fn from(err: DeleteListenerError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteLoadBalancerError> for Error

source§

fn from(err: DeleteLoadBalancerError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteRuleError> for Error

source§

fn from(err: DeleteRuleError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteTargetGroupError> for Error

source§

fn from(err: DeleteTargetGroupError) -> Self

Converts to this type from the input type.
source§

impl From<DeregisterTargetsError> for Error

source§

fn from(err: DeregisterTargetsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeAccountLimitsError> for Error

source§

fn from(err: DescribeAccountLimitsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeListenerCertificatesError> for Error

source§

fn from(err: DescribeListenerCertificatesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeListenersError> for Error

source§

fn from(err: DescribeListenersError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeLoadBalancerAttributesError> for Error

source§

fn from(err: DescribeLoadBalancerAttributesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeLoadBalancersError> for Error

source§

fn from(err: DescribeLoadBalancersError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeRulesError> for Error

source§

fn from(err: DescribeRulesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeSSLPoliciesError> for Error

source§

fn from(err: DescribeSSLPoliciesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeTagsError> for Error

source§

fn from(err: DescribeTagsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeTargetGroupAttributesError> for Error

source§

fn from(err: DescribeTargetGroupAttributesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeTargetGroupsError> for Error

source§

fn from(err: DescribeTargetGroupsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeTargetHealthError> for Error

source§

fn from(err: DescribeTargetHealthError) -> Self

Converts to this type from the input type.
source§

impl From<ModifyListenerError> for Error

source§

fn from(err: ModifyListenerError) -> Self

Converts to this type from the input type.
source§

impl From<ModifyLoadBalancerAttributesError> for Error

source§

fn from(err: ModifyLoadBalancerAttributesError) -> Self

Converts to this type from the input type.
source§

impl From<ModifyRuleError> for Error

source§

fn from(err: ModifyRuleError) -> Self

Converts to this type from the input type.
source§

impl From<ModifyTargetGroupAttributesError> for Error

source§

fn from(err: ModifyTargetGroupAttributesError) -> Self

Converts to this type from the input type.
source§

impl From<ModifyTargetGroupError> for Error

source§

fn from(err: ModifyTargetGroupError) -> Self

Converts to this type from the input type.
source§

impl From<RegisterTargetsError> for Error

source§

fn from(err: RegisterTargetsError) -> Self

Converts to this type from the input type.
source§

impl From<RemoveListenerCertificatesError> for Error

source§

fn from(err: RemoveListenerCertificatesError) -> Self

Converts to this type from the input type.
source§

impl From<RemoveTagsError> for Error

source§

fn from(err: RemoveTagsError) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AddListenerCertificatesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AddListenerCertificatesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AddTagsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AddTagsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateListenerError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateListenerError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateLoadBalancerError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateLoadBalancerError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateRuleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateRuleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateTargetGroupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateTargetGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteListenerError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteListenerError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteLoadBalancerError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteLoadBalancerError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteRuleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteRuleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteTargetGroupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteTargetGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeregisterTargetsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeregisterTargetsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeAccountLimitsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeAccountLimitsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeListenerCertificatesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeListenerCertificatesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeListenersError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeListenersError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeLoadBalancerAttributesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeLoadBalancerAttributesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeLoadBalancersError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeLoadBalancersError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeRulesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeRulesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeSSLPoliciesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeSSLPoliciesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeTagsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeTagsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeTargetGroupAttributesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeTargetGroupAttributesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeTargetGroupsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeTargetGroupsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeTargetHealthError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeTargetHealthError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ModifyListenerError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ModifyListenerError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ModifyLoadBalancerAttributesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ModifyLoadBalancerAttributesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ModifyRuleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ModifyRuleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ModifyTargetGroupAttributesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ModifyTargetGroupAttributesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ModifyTargetGroupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ModifyTargetGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<RegisterTargetsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<RegisterTargetsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<RemoveListenerCertificatesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<RemoveListenerCertificatesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<RemoveTagsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<RemoveTagsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<SetIpAddressTypeError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<SetIpAddressTypeError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<SetRulePrioritiesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<SetRulePrioritiesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<SetSecurityGroupsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<SetSecurityGroupsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<SetSubnetsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<SetSubnetsError, R>) -> Self

Converts to this type from the input type.
source§

impl From<SetIpAddressTypeError> for Error

source§

fn from(err: SetIpAddressTypeError) -> Self

Converts to this type from the input type.
source§

impl From<SetRulePrioritiesError> for Error

source§

fn from(err: SetRulePrioritiesError) -> Self

Converts to this type from the input type.
source§

impl From<SetSecurityGroupsError> for Error

source§

fn from(err: SetSecurityGroupsError) -> Self

Converts to this type from the input type.
source§

impl From<SetSubnetsError> for Error

source§

fn from(err: SetSubnetsError) -> Self

Converts to this type from the input type.
source§

impl RequestId for Error

source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<E> Provider for Ewhere E: Error + ?Sized,

source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬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
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more