#[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
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
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<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<ApplySecurityGroupsToLoadBalancerError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ApplySecurityGroupsToLoadBalancerError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ApplySecurityGroupsToLoadBalancerError, R>) -> Self
fn from(err: SdkError<ApplySecurityGroupsToLoadBalancerError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<AttachLoadBalancerToSubnetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AttachLoadBalancerToSubnetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AttachLoadBalancerToSubnetsError, R>) -> Self
fn from(err: SdkError<AttachLoadBalancerToSubnetsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ConfigureHealthCheckError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ConfigureHealthCheckError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ConfigureHealthCheckError, R>) -> Self
fn from(err: SdkError<ConfigureHealthCheckError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateAppCookieStickinessPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateAppCookieStickinessPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateAppCookieStickinessPolicyError, R>) -> Self
fn from(err: SdkError<CreateAppCookieStickinessPolicyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateLBCookieStickinessPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateLBCookieStickinessPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateLBCookieStickinessPolicyError, R>) -> Self
fn from(err: SdkError<CreateLBCookieStickinessPolicyError, 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<CreateLoadBalancerListenersError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateLoadBalancerListenersError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateLoadBalancerListenersError, R>) -> Self
fn from(err: SdkError<CreateLoadBalancerListenersError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateLoadBalancerPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateLoadBalancerPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateLoadBalancerPolicyError, R>) -> Self
fn from(err: SdkError<CreateLoadBalancerPolicyError, 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<DeleteLoadBalancerListenersError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteLoadBalancerListenersError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteLoadBalancerListenersError, R>) -> Self
fn from(err: SdkError<DeleteLoadBalancerListenersError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteLoadBalancerPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteLoadBalancerPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteLoadBalancerPolicyError, R>) -> Self
fn from(err: SdkError<DeleteLoadBalancerPolicyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeregisterInstancesFromLoadBalancerError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeregisterInstancesFromLoadBalancerError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeregisterInstancesFromLoadBalancerError, R>) -> Self
fn from(err: SdkError<DeregisterInstancesFromLoadBalancerError, 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<DescribeInstanceHealthError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeInstanceHealthError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeInstanceHealthError, R>) -> Self
fn from(err: SdkError<DescribeInstanceHealthError, 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<DescribeLoadBalancerPoliciesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeLoadBalancerPoliciesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeLoadBalancerPoliciesError, R>) -> Self
fn from(err: SdkError<DescribeLoadBalancerPoliciesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeLoadBalancerPolicyTypesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeLoadBalancerPolicyTypesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeLoadBalancerPolicyTypesError, R>) -> Self
fn from(err: SdkError<DescribeLoadBalancerPolicyTypesError, 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<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<DetachLoadBalancerFromSubnetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DetachLoadBalancerFromSubnetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DetachLoadBalancerFromSubnetsError, R>) -> Self
fn from(err: SdkError<DetachLoadBalancerFromSubnetsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DisableAvailabilityZonesForLoadBalancerError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DisableAvailabilityZonesForLoadBalancerError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DisableAvailabilityZonesForLoadBalancerError, R>) -> Self
fn from(err: SdkError<DisableAvailabilityZonesForLoadBalancerError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<EnableAvailabilityZonesForLoadBalancerError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<EnableAvailabilityZonesForLoadBalancerError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<EnableAvailabilityZonesForLoadBalancerError, R>) -> Self
fn from(err: SdkError<EnableAvailabilityZonesForLoadBalancerError, 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<RegisterInstancesWithLoadBalancerError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RegisterInstancesWithLoadBalancerError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RegisterInstancesWithLoadBalancerError, R>) -> Self
fn from(err: SdkError<RegisterInstancesWithLoadBalancerError, 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<SetLoadBalancerListenerSSLCertificateError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SetLoadBalancerListenerSSLCertificateError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SetLoadBalancerListenerSSLCertificateError, R>) -> Self
fn from(err: SdkError<SetLoadBalancerListenerSSLCertificateError, 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