Struct aws_sdk_ssm::error::ListDocumentVersionsError [−][src]
#[non_exhaustive]pub struct ListDocumentVersionsError {
pub kind: ListDocumentVersionsErrorKind,
// some fields omitted
}
Expand description
Error type for the ListDocumentVersions
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: ListDocumentVersionsErrorKind
Kind of error that occurred.
Implementations
Creates a new ListDocumentVersionsError
.
Creates the ListDocumentVersionsError::Unhandled
variant from any error type.
Creates the ListDocumentVersionsError::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 ListDocumentVersionsErrorKind::InternalServerError
.
Returns true
if the error kind is ListDocumentVersionsErrorKind::InvalidDocument
.
Returns true
if the error kind is ListDocumentVersionsErrorKind::InvalidNextToken
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ListDocumentVersionsError
impl Send for ListDocumentVersionsError
impl Sync for ListDocumentVersionsError
impl Unpin for ListDocumentVersionsError
impl !UnwindSafe for ListDocumentVersionsError
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