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