#[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(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
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(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
sourceimpl Error for Error
impl Error for Error
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl<R> From<SdkError<AddListenerCertificatesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AddListenerCertificatesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AddListenerCertificatesError, R>) -> Self
fn from(err: SdkError<AddListenerCertificatesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<AddTagsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AddTagsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AddTagsError, R>) -> Self
fn from(err: SdkError<AddTagsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateListenerError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateListenerError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateListenerError, R>) -> Self
fn from(err: SdkError<CreateListenerError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateLoadBalancerError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateLoadBalancerError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateLoadBalancerError, R>) -> Self
fn from(err: SdkError<CreateLoadBalancerError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateRuleError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateRuleError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateRuleError, R>) -> Self
fn from(err: SdkError<CreateRuleError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateTargetGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateTargetGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateTargetGroupError, R>) -> Self
fn from(err: SdkError<CreateTargetGroupError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteListenerError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteListenerError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteListenerError, R>) -> Self
fn from(err: SdkError<DeleteListenerError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteLoadBalancerError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteLoadBalancerError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteLoadBalancerError, R>) -> Self
fn from(err: SdkError<DeleteLoadBalancerError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteRuleError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteRuleError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteRuleError, R>) -> Self
fn from(err: SdkError<DeleteRuleError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteTargetGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteTargetGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteTargetGroupError, R>) -> Self
fn from(err: SdkError<DeleteTargetGroupError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeregisterTargetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeregisterTargetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeregisterTargetsError, R>) -> Self
fn from(err: SdkError<DeregisterTargetsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeAccountLimitsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeAccountLimitsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeAccountLimitsError, R>) -> Self
fn from(err: SdkError<DescribeAccountLimitsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeListenerCertificatesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeListenerCertificatesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeListenerCertificatesError, R>) -> Self
fn from(err: SdkError<DescribeListenerCertificatesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeListenersError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeListenersError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeListenersError, R>) -> Self
fn from(err: SdkError<DescribeListenersError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeLoadBalancerAttributesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeLoadBalancerAttributesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeLoadBalancerAttributesError, R>) -> Self
fn from(err: SdkError<DescribeLoadBalancerAttributesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeLoadBalancersError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeLoadBalancersError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeLoadBalancersError, R>) -> Self
fn from(err: SdkError<DescribeLoadBalancersError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeRulesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeRulesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeRulesError, R>) -> Self
fn from(err: SdkError<DescribeRulesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeSSLPoliciesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeSSLPoliciesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeSSLPoliciesError, R>) -> Self
fn from(err: SdkError<DescribeSSLPoliciesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeTagsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeTagsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeTagsError, R>) -> Self
fn from(err: SdkError<DescribeTagsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeTargetGroupAttributesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeTargetGroupAttributesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeTargetGroupAttributesError, R>) -> Self
fn from(err: SdkError<DescribeTargetGroupAttributesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeTargetGroupsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeTargetGroupsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeTargetGroupsError, R>) -> Self
fn from(err: SdkError<DescribeTargetGroupsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeTargetHealthError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeTargetHealthError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeTargetHealthError, R>) -> Self
fn from(err: SdkError<DescribeTargetHealthError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ModifyListenerError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ModifyListenerError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ModifyListenerError, R>) -> Self
fn from(err: SdkError<ModifyListenerError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ModifyLoadBalancerAttributesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ModifyLoadBalancerAttributesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ModifyLoadBalancerAttributesError, R>) -> Self
fn from(err: SdkError<ModifyLoadBalancerAttributesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ModifyRuleError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ModifyRuleError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ModifyRuleError, R>) -> Self
fn from(err: SdkError<ModifyRuleError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ModifyTargetGroupAttributesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ModifyTargetGroupAttributesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ModifyTargetGroupAttributesError, R>) -> Self
fn from(err: SdkError<ModifyTargetGroupAttributesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ModifyTargetGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ModifyTargetGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ModifyTargetGroupError, R>) -> Self
fn from(err: SdkError<ModifyTargetGroupError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<RegisterTargetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RegisterTargetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RegisterTargetsError, R>) -> Self
fn from(err: SdkError<RegisterTargetsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<RemoveListenerCertificatesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RemoveListenerCertificatesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RemoveListenerCertificatesError, R>) -> Self
fn from(err: SdkError<RemoveListenerCertificatesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<RemoveTagsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RemoveTagsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RemoveTagsError, R>) -> Self
fn from(err: SdkError<RemoveTagsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<SetIpAddressTypeError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SetIpAddressTypeError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SetIpAddressTypeError, R>) -> Self
fn from(err: SdkError<SetIpAddressTypeError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<SetRulePrioritiesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SetRulePrioritiesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SetRulePrioritiesError, R>) -> Self
fn from(err: SdkError<SetRulePrioritiesError, R>) -> Self
Converts to this type from the input type.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more