Struct aws_sdk_secretsmanager::error::CreateSecretError [−][src]
#[non_exhaustive]pub struct CreateSecretError {
pub kind: CreateSecretErrorKind,
// some fields omitted
}Expand description
Error type for the CreateSecret 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: CreateSecretErrorKindKind of error that occurred.
Implementations
Creates a new CreateSecretError.
Creates the CreateSecretError::Unhandled variant from any error type.
Creates the CreateSecretError::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 CreateSecretErrorKind::EncryptionFailure.
Returns true if the error kind is CreateSecretErrorKind::InternalServiceError.
Returns true if the error kind is CreateSecretErrorKind::InvalidParameterException.
Returns true if the error kind is CreateSecretErrorKind::InvalidRequestException.
Returns true if the error kind is CreateSecretErrorKind::LimitExceededException.
Returns true if the error kind is CreateSecretErrorKind::MalformedPolicyDocumentException.
Returns true if the error kind is CreateSecretErrorKind::PreconditionNotMetException.
Returns true if the error kind is CreateSecretErrorKind::ResourceExistsException.
Returns true if the error kind is CreateSecretErrorKind::ResourceNotFoundException.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CreateSecretError
impl Send for CreateSecretError
impl Sync for CreateSecretError
impl Unpin for CreateSecretError
impl !UnwindSafe for CreateSecretError
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