Struct aws_sdk_worklink::error::CreateFleetError
source · [−]#[non_exhaustive]pub struct CreateFleetError {
pub kind: CreateFleetErrorKind,
/* private fields */
}
Expand description
Error type for the CreateFleet
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: CreateFleetErrorKind
Kind of error that occurred.
Implementations
Creates a new CreateFleetError
.
Creates the CreateFleetError::Unhandled
variant from any error type.
Creates the CreateFleetError::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 CreateFleetErrorKind::InternalServerErrorException
.
Returns true
if the error kind is CreateFleetErrorKind::InvalidRequestException
.
Returns true
if the error kind is CreateFleetErrorKind::ResourceAlreadyExistsException
.
Returns true
if the error kind is CreateFleetErrorKind::ResourceNotFoundException
.
Returns true
if the error kind is CreateFleetErrorKind::TooManyRequestsException
.
Returns true
if the error kind is CreateFleetErrorKind::UnauthorizedException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CreateFleetError
impl Send for CreateFleetError
impl Sync for CreateFleetError
impl Unpin for CreateFleetError
impl !UnwindSafe for CreateFleetError
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