Enum aws_sdk_sns::error::PublishBatchErrorKind
source · #[non_exhaustive]
pub enum PublishBatchErrorKind {
Show 21 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),
ValidationException(ValidationException),
Unhandled(Unhandled),
}
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.
ValidationException(ValidationException)
Indicates that a parameter in the request is invalid.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.