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)
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.
EmptyBatchRequestException(EmptyBatchRequestException)
The batch request doesn't contain any entries.
EndpointDisabledException(EndpointDisabledException)
Exception error indicating endpoint disabled.
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.
PlatformApplicationDisabledException(PlatformApplicationDisabledException)
Exception error indicating platform application disabled.
TooManyEntriesInBatchRequestException(TooManyEntriesInBatchRequestException)
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
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