Struct aws_sdk_cloudwatchlogs::error::DeleteMetricFilterError [−][src]
#[non_exhaustive]pub struct DeleteMetricFilterError {
pub kind: DeleteMetricFilterErrorKind,
// some fields omitted
}
Expand description
Error type for the DeleteMetricFilter
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: DeleteMetricFilterErrorKind
Kind of error that occurred.
Implementations
Creates a new DeleteMetricFilterError
.
Creates the DeleteMetricFilterError::Unhandled
variant from any error type.
Creates the DeleteMetricFilterError::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 DeleteMetricFilterErrorKind::InvalidParameterException
.
Returns true if the error kind is DeleteMetricFilterErrorKind::OperationAbortedException
.
Returns true if the error kind is DeleteMetricFilterErrorKind::ResourceNotFoundException
.
Returns true if the error kind is DeleteMetricFilterErrorKind::ServiceUnavailableException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DeleteMetricFilterError
impl Send for DeleteMetricFilterError
impl Sync for DeleteMetricFilterError
impl Unpin for DeleteMetricFilterError
impl !UnwindSafe for DeleteMetricFilterError
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