Enum aws_sdk_sns::Error [−][src]
#[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
AuthorizationErrorException(AuthorizationErrorException)
Tuple Fields
Indicates that the user has been denied access to the requested resource.
BatchEntryIdsNotDistinctException(BatchEntryIdsNotDistinctException)
Tuple Fields
Two or more batch entries in the request have the same Id
.
BatchRequestTooLongException(BatchRequestTooLongException)
Tuple Fields
The length of all the batch messages put together is more than the limit.
ConcurrentAccessException(ConcurrentAccessException)
Tuple Fields
Can't perform multiple operations on a tag simultaneously. Perform the operations sequentially.
EmptyBatchRequestException(EmptyBatchRequestException)
Tuple Fields
The batch request doesn't contain any entries.
EndpointDisabledException(EndpointDisabledException)
Tuple Fields
Exception error indicating endpoint disabled.
FilterPolicyLimitExceededException(FilterPolicyLimitExceededException)
Tuple Fields
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)
Tuple Fields
Indicates an internal service error.
InvalidBatchEntryIdException(InvalidBatchEntryIdException)
Tuple Fields
The Id
of a batch entry in a batch request doesn't abide by the specification.
InvalidParameterException(InvalidParameterException)
Tuple Fields
Indicates that a request parameter does not comply with the associated constraints.
InvalidParameterValueException(InvalidParameterValueException)
Tuple Fields
Indicates that a request parameter does not comply with the associated constraints.
InvalidSecurityException(InvalidSecurityException)
Tuple Fields
The credential signature isn't valid. You must use an HTTPS endpoint and sign your request using Signature Version 4.
KmsAccessDeniedException(KmsAccessDeniedException)
Tuple Fields
The ciphertext references a key that doesn't exist or that you don't have access to.
KmsDisabledException(KmsDisabledException)
Tuple Fields
The request was rejected because the specified customer master key (CMK) isn't enabled.
KmsInvalidStateException(KmsInvalidStateException)
Tuple Fields
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)
Tuple Fields
The request was rejected because the specified entity or resource can't be found.
KmsOptInRequired(KmsOptInRequired)
Tuple Fields
The Amazon Web Services access key ID needs a subscription for the service.
KmsThrottlingException(KmsThrottlingException)
Tuple Fields
The request was denied due to request throttling. For more information about throttling, see Limits in the Key Management Service Developer Guide.
NotFoundException(NotFoundException)
Tuple Fields
Indicates that the requested resource does not exist.
OptedOutException(OptedOutException)
Tuple Fields
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)
Tuple Fields
Exception error indicating platform application disabled.
ResourceNotFoundException(ResourceNotFoundException)
Tuple Fields
Can’t perform the action on the specified resource. Make sure that the resource exists.
StaleTagException(StaleTagException)
Tuple Fields
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)
Tuple Fields
Indicates that the customer already owns the maximum allowed number of subscriptions.
TagLimitExceededException(TagLimitExceededException)
Tuple Fields
Can't add more than 50 tags to a topic.
TagPolicyException(TagPolicyException)
Tuple Fields
The request doesn't comply with the IAM tag policy. Correct your request and then retry it.
ThrottledException(ThrottledException)
Tuple Fields
Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.
TooManyEntriesInBatchRequestException(TooManyEntriesInBatchRequestException)
Tuple Fields
The batch request contains more entries than permissible.
TopicLimitExceededException(TopicLimitExceededException)
Tuple Fields
Indicates that the customer already owns the maximum allowed number of topics.
UserErrorException(UserErrorException)
Tuple Fields
Indicates that a request parameter does not comply with the associated constraints.
ValidationException(ValidationException)
Tuple Fields
Indicates that a parameter in the request is invalid.
VerificationException(VerificationException)
Tuple Fields
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
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
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
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