Struct aws_sdk_auditmanager::error::GetEvidenceByEvidenceFolderError [−][src]
#[non_exhaustive]pub struct GetEvidenceByEvidenceFolderError {
pub kind: GetEvidenceByEvidenceFolderErrorKind,
// some fields omitted
}
Expand description
Error type for the GetEvidenceByEvidenceFolder
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: GetEvidenceByEvidenceFolderErrorKind
Kind of error that occurred.
Implementations
Creates a new GetEvidenceByEvidenceFolderError
.
Creates the GetEvidenceByEvidenceFolderError::Unhandled
variant from any error type.
Creates the GetEvidenceByEvidenceFolderError::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 GetEvidenceByEvidenceFolderErrorKind::AccessDeniedException
.
Returns true
if the error kind is GetEvidenceByEvidenceFolderErrorKind::InternalServerException
.
Returns true
if the error kind is GetEvidenceByEvidenceFolderErrorKind::ResourceNotFoundException
.
Returns true
if the error kind is GetEvidenceByEvidenceFolderErrorKind::ValidationException
.
Trait Implementations
Auto Trait Implementations
impl Send for GetEvidenceByEvidenceFolderError
impl Sync for GetEvidenceByEvidenceFolderError
impl Unpin for GetEvidenceByEvidenceFolderError
impl !UnwindSafe for GetEvidenceByEvidenceFolderError
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