Struct aws_sdk_docdb::error::RestoreDBClusterFromSnapshotError [−][src]
#[non_exhaustive]pub struct RestoreDBClusterFromSnapshotError {
pub kind: RestoreDBClusterFromSnapshotErrorKind,
// some fields omitted
}Expand description
Error type for the RestoreDBClusterFromSnapshot 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: RestoreDBClusterFromSnapshotErrorKindKind of error that occurred.
Implementations
Creates a new RestoreDBClusterFromSnapshotError.
Creates the RestoreDBClusterFromSnapshotError::Unhandled variant from any error type.
Creates the RestoreDBClusterFromSnapshotError::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 RestoreDBClusterFromSnapshotErrorKind::DbClusterAlreadyExistsFault.
Returns true if the error kind is RestoreDBClusterFromSnapshotErrorKind::DbClusterQuotaExceededFault.
Returns true if the error kind is RestoreDBClusterFromSnapshotErrorKind::DbClusterSnapshotNotFoundFault.
Returns true if the error kind is RestoreDBClusterFromSnapshotErrorKind::DbSnapshotNotFoundFault.
Returns true if the error kind is RestoreDBClusterFromSnapshotErrorKind::DbSubnetGroupNotFoundFault.
Returns true if the error kind is RestoreDBClusterFromSnapshotErrorKind::InsufficientDbClusterCapacityFault.
Returns true if the error kind is RestoreDBClusterFromSnapshotErrorKind::InsufficientStorageClusterCapacityFault.
Returns true if the error kind is RestoreDBClusterFromSnapshotErrorKind::InvalidDbClusterSnapshotStateFault.
Returns true if the error kind is RestoreDBClusterFromSnapshotErrorKind::InvalidDbSnapshotStateFault.
Returns true if the error kind is RestoreDBClusterFromSnapshotErrorKind::InvalidRestoreFault.
Returns true if the error kind is RestoreDBClusterFromSnapshotErrorKind::InvalidSubnet.
Returns true if the error kind is RestoreDBClusterFromSnapshotErrorKind::InvalidVpcNetworkStateFault.
Returns true if the error kind is RestoreDBClusterFromSnapshotErrorKind::KmsKeyNotAccessibleFault.
Returns true if the error kind is RestoreDBClusterFromSnapshotErrorKind::StorageQuotaExceededFault.
Trait Implementations
Auto Trait Implementations
impl Send for RestoreDBClusterFromSnapshotError
impl Sync for RestoreDBClusterFromSnapshotError
impl Unpin for RestoreDBClusterFromSnapshotError
impl !UnwindSafe for RestoreDBClusterFromSnapshotError
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
