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