#[non_exhaustive]
pub enum Error {
Show 33 variants AuthorizationErrorException(AuthorizationErrorException), BatchEntryIdsNotDistinctException(BatchEntryIdsNotDistinctException), BatchRequestTooLongException(BatchRequestTooLongException), ConcurrentAccessException(ConcurrentAccessException), EmptyBatchRequestException(EmptyBatchRequestException), EndpointDisabledException(EndpointDisabledException), FilterPolicyLimitExceededException(FilterPolicyLimitExceededException), InternalErrorException(InternalErrorException), InvalidBatchEntryIdException(InvalidBatchEntryIdException), InvalidParameterException(InvalidParameterException), InvalidParameterValueException(InvalidParameterValueException), InvalidSecurityException(InvalidSecurityException), KmsAccessDeniedException(KmsAccessDeniedException), KmsDisabledException(KmsDisabledException), KmsInvalidStateException(KmsInvalidStateException), KmsNotFoundException(KmsNotFoundException), KmsOptInRequired(KmsOptInRequired), KmsThrottlingException(KmsThrottlingException), NotFoundException(NotFoundException), OptedOutException(OptedOutException), PlatformApplicationDisabledException(PlatformApplicationDisabledException), ResourceNotFoundException(ResourceNotFoundException), StaleTagException(StaleTagException), SubscriptionLimitExceededException(SubscriptionLimitExceededException), TagLimitExceededException(TagLimitExceededException), TagPolicyException(TagPolicyException), ThrottledException(ThrottledException), TooManyEntriesInBatchRequestException(TooManyEntriesInBatchRequestException), TopicLimitExceededException(TopicLimitExceededException), UserErrorException(UserErrorException), ValidationException(ValidationException), VerificationException(VerificationException), 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.

AuthorizationErrorException(AuthorizationErrorException)

Indicates that the user has been denied access to the requested resource.

BatchEntryIdsNotDistinctException(BatchEntryIdsNotDistinctException)

Two or more batch entries in the request have the same Id.

BatchRequestTooLongException(BatchRequestTooLongException)

The length of all the batch messages put together is more than the limit.

ConcurrentAccessException(ConcurrentAccessException)

Can't perform multiple operations on a tag simultaneously. Perform the operations sequentially.

EmptyBatchRequestException(EmptyBatchRequestException)

The batch request doesn't contain any entries.

EndpointDisabledException(EndpointDisabledException)

Exception error indicating endpoint disabled.

FilterPolicyLimitExceededException(FilterPolicyLimitExceededException)

Indicates that the number of filter polices in your Amazon Web Services account exceeds the limit. To add more filter polices, submit an Amazon SNS Limit Increase case in the Amazon Web Services Support Center.

InternalErrorException(InternalErrorException)

Indicates an internal service error.

InvalidBatchEntryIdException(InvalidBatchEntryIdException)

The Id of a batch entry in a batch request doesn't abide by the specification.

InvalidParameterException(InvalidParameterException)

Indicates that a request parameter does not comply with the associated constraints.

InvalidParameterValueException(InvalidParameterValueException)

Indicates that a request parameter does not comply with the associated constraints.

InvalidSecurityException(InvalidSecurityException)

The credential signature isn't valid. You must use an HTTPS endpoint and sign your request using Signature Version 4.

KmsAccessDeniedException(KmsAccessDeniedException)

The ciphertext references a key that doesn't exist or that you don't have access to.

KmsDisabledException(KmsDisabledException)

The request was rejected because the specified customer master key (CMK) isn't enabled.

KmsInvalidStateException(KmsInvalidStateException)

The request was rejected because the state of the specified resource isn't valid for this request. For more information, see How Key State Affects Use of a Customer Master Key in the Key Management Service Developer Guide.

KmsNotFoundException(KmsNotFoundException)

The request was rejected because the specified entity or resource can't be found.

KmsOptInRequired(KmsOptInRequired)

The Amazon Web Services access key ID needs a subscription for the service.

KmsThrottlingException(KmsThrottlingException)

The request was denied due to request throttling. For more information about throttling, see Limits in the Key Management Service Developer Guide.

NotFoundException(NotFoundException)

Indicates that the requested resource does not exist.

OptedOutException(OptedOutException)

Indicates that the specified phone number opted out of receiving SMS messages from your Amazon Web Services account. You can't send SMS messages to phone numbers that opt out.

PlatformApplicationDisabledException(PlatformApplicationDisabledException)

Exception error indicating platform application disabled.

ResourceNotFoundException(ResourceNotFoundException)

Can’t perform the action on the specified resource. Make sure that the resource exists.

StaleTagException(StaleTagException)

A tag has been added to a resource with the same ARN as a deleted resource. Wait a short while and then retry the operation.

SubscriptionLimitExceededException(SubscriptionLimitExceededException)

Indicates that the customer already owns the maximum allowed number of subscriptions.

TagLimitExceededException(TagLimitExceededException)

Can't add more than 50 tags to a topic.

TagPolicyException(TagPolicyException)

The request doesn't comply with the IAM tag policy. Correct your request and then retry it.

ThrottledException(ThrottledException)

Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.

TooManyEntriesInBatchRequestException(TooManyEntriesInBatchRequestException)

The batch request contains more entries than permissible.

TopicLimitExceededException(TopicLimitExceededException)

Indicates that the customer already owns the maximum allowed number of topics.

UserErrorException(UserErrorException)

Indicates that a request parameter does not comply with the associated constraints.

ValidationException(ValidationException)

Indicates that a parameter in the request is invalid.

VerificationException(VerificationException)

Indicates that the one-time password (OTP) used for verification is invalid.

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.

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