Struct aws_sdk_dynamodb::error::CreateBackupError [−][src]
#[non_exhaustive]pub struct CreateBackupError {
pub kind: CreateBackupErrorKind,
// some fields omitted
}
Expand description
Error type for the CreateBackup
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: CreateBackupErrorKind
Kind of error that occurred.
Implementations
Creates a new CreateBackupError
.
Creates the CreateBackupError::Unhandled
variant from any error type.
Creates the CreateBackupError::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 CreateBackupErrorKind::BackupInUseException
.
Returns true
if the error kind is CreateBackupErrorKind::ContinuousBackupsUnavailableException
.
Returns true
if the error kind is CreateBackupErrorKind::InternalServerError
.
Returns true
if the error kind is CreateBackupErrorKind::InvalidEndpointException
.
Returns true
if the error kind is CreateBackupErrorKind::LimitExceededException
.
Returns true
if the error kind is CreateBackupErrorKind::TableInUseException
.
Returns true
if the error kind is CreateBackupErrorKind::TableNotFoundException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CreateBackupError
impl Send for CreateBackupError
impl Sync for CreateBackupError
impl Unpin for CreateBackupError
impl !UnwindSafe for CreateBackupError
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