Enum aws_sdk_sns::error::PublishBatchErrorKind
source ·
[−]#[non_exhaustive]
pub enum PublishBatchErrorKind {
Show 20 variants
AuthorizationErrorException(AuthorizationErrorException),
BatchEntryIdsNotDistinctException(BatchEntryIdsNotDistinctException),
BatchRequestTooLongException(BatchRequestTooLongException),
EmptyBatchRequestException(EmptyBatchRequestException),
EndpointDisabledException(EndpointDisabledException),
InternalErrorException(InternalErrorException),
InvalidBatchEntryIdException(InvalidBatchEntryIdException),
InvalidParameterException(InvalidParameterException),
InvalidParameterValueException(InvalidParameterValueException),
InvalidSecurityException(InvalidSecurityException),
KmsAccessDeniedException(KmsAccessDeniedException),
KmsDisabledException(KmsDisabledException),
KmsInvalidStateException(KmsInvalidStateException),
KmsNotFoundException(KmsNotFoundException),
KmsOptInRequired(KmsOptInRequired),
KmsThrottlingException(KmsThrottlingException),
NotFoundException(NotFoundException),
PlatformApplicationDisabledException(PlatformApplicationDisabledException),
TooManyEntriesInBatchRequestException(TooManyEntriesInBatchRequestException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the PublishBatch operation.
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.
EmptyBatchRequestException(EmptyBatchRequestException)
Tuple Fields
The batch request doesn't contain any entries.
EndpointDisabledException(EndpointDisabledException)
Tuple Fields
Exception error indicating endpoint disabled.
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.
PlatformApplicationDisabledException(PlatformApplicationDisabledException)
Tuple Fields
Exception error indicating platform application disabled.
TooManyEntriesInBatchRequestException(TooManyEntriesInBatchRequestException)
Tuple Fields
The batch request contains more entries than permissible.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PublishBatchErrorKind
impl Send for PublishBatchErrorKind
impl Sync for PublishBatchErrorKind
impl Unpin for PublishBatchErrorKind
impl !UnwindSafe for PublishBatchErrorKind
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
