#[non_exhaustive]
pub enum UpdateThingShadowErrorKind {
ConflictException(ConflictException),
InternalFailureException(InternalFailureException),
InvalidRequestException(InvalidRequestException),
MethodNotAllowedException(MethodNotAllowedException),
RequestEntityTooLargeException(RequestEntityTooLargeException),
ServiceUnavailableException(ServiceUnavailableException),
ThrottlingException(ThrottlingException),
UnauthorizedException(UnauthorizedException),
UnsupportedDocumentEncodingException(UnsupportedDocumentEncodingException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the UpdateThingShadow
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ConflictException(ConflictException)
The specified version does not match the version of the document.
InternalFailureException(InternalFailureException)
An unexpected error has occurred.
InvalidRequestException(InvalidRequestException)
The request is not valid.
MethodNotAllowedException(MethodNotAllowedException)
The specified combination of HTTP verb and URI is not supported.
RequestEntityTooLargeException(RequestEntityTooLargeException)
The payload exceeds the maximum size allowed.
The service is temporarily unavailable.
ThrottlingException(ThrottlingException)
The rate exceeds the limit.
You are not authorized to perform this operation.
UnsupportedDocumentEncodingException(UnsupportedDocumentEncodingException)
The document encoding is not supported.
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.