Struct aws_sdk_sns::error::PublishBatchError
source ·
[−]#[non_exhaustive]pub struct PublishBatchError {
pub kind: PublishBatchErrorKind,
// some fields omitted
}Expand description
Error type for the PublishBatch operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: PublishBatchErrorKindKind of error that occurred.
Implementations
Creates a new PublishBatchError.
Creates the PublishBatchError::Unhandled variant from any error type.
Creates the PublishBatchError::Unhandled variant from a aws_smithy_types::Error.
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Returns the request ID if it’s available.
Returns true if the error kind is PublishBatchErrorKind::AuthorizationErrorException.
Returns true if the error kind is PublishBatchErrorKind::BatchEntryIdsNotDistinctException.
Returns true if the error kind is PublishBatchErrorKind::BatchRequestTooLongException.
Returns true if the error kind is PublishBatchErrorKind::EmptyBatchRequestException.
Returns true if the error kind is PublishBatchErrorKind::EndpointDisabledException.
Returns true if the error kind is PublishBatchErrorKind::InternalErrorException.
Returns true if the error kind is PublishBatchErrorKind::InvalidBatchEntryIdException.
Returns true if the error kind is PublishBatchErrorKind::InvalidParameterException.
Returns true if the error kind is PublishBatchErrorKind::InvalidParameterValueException.
Returns true if the error kind is PublishBatchErrorKind::InvalidSecurityException.
Returns true if the error kind is PublishBatchErrorKind::KmsAccessDeniedException.
Returns true if the error kind is PublishBatchErrorKind::KmsDisabledException.
Returns true if the error kind is PublishBatchErrorKind::KmsInvalidStateException.
Returns true if the error kind is PublishBatchErrorKind::KmsNotFoundException.
Returns true if the error kind is PublishBatchErrorKind::KmsOptInRequired.
Returns true if the error kind is PublishBatchErrorKind::KmsThrottlingException.
Returns true if the error kind is PublishBatchErrorKind::NotFoundException.
Returns true if the error kind is PublishBatchErrorKind::PlatformApplicationDisabledException.
Returns true if the error kind is PublishBatchErrorKind::TooManyEntriesInBatchRequestException.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PublishBatchError
impl Send for PublishBatchError
impl Sync for PublishBatchError
impl Unpin for PublishBatchError
impl !UnwindSafe for PublishBatchError
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
