Struct aws_sdk_iot::error::DeleteOTAUpdateError [−][src]
#[non_exhaustive]pub struct DeleteOTAUpdateError {
pub kind: DeleteOTAUpdateErrorKind,
// some fields omitted
}
Expand description
Error type for the DeleteOTAUpdate
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: DeleteOTAUpdateErrorKind
Kind of error that occurred.
Implementations
Creates a new DeleteOTAUpdateError
.
Creates the DeleteOTAUpdateError::Unhandled
variant from any error type.
Creates the DeleteOTAUpdateError::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 DeleteOTAUpdateErrorKind::InternalFailureException
.
Returns true
if the error kind is DeleteOTAUpdateErrorKind::InvalidRequestException
.
Returns true
if the error kind is DeleteOTAUpdateErrorKind::ResourceNotFoundException
.
Returns true
if the error kind is DeleteOTAUpdateErrorKind::ServiceUnavailableException
.
Returns true
if the error kind is DeleteOTAUpdateErrorKind::ThrottlingException
.
Returns true
if the error kind is DeleteOTAUpdateErrorKind::UnauthorizedException
.
Returns true
if the error kind is DeleteOTAUpdateErrorKind::VersionConflictException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DeleteOTAUpdateError
impl Send for DeleteOTAUpdateError
impl Sync for DeleteOTAUpdateError
impl Unpin for DeleteOTAUpdateError
impl !UnwindSafe for DeleteOTAUpdateError
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