Struct aws_sdk_pinpoint::error::UpdateJourneyStateError
source · [−]#[non_exhaustive]pub struct UpdateJourneyStateError {
pub kind: UpdateJourneyStateErrorKind,
/* private fields */
}
Expand description
Error type for the UpdateJourneyState
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: UpdateJourneyStateErrorKind
Kind of error that occurred.
Implementations
Creates a new UpdateJourneyStateError
.
Creates the UpdateJourneyStateError::Unhandled
variant from any error type.
Creates the UpdateJourneyStateError::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 UpdateJourneyStateErrorKind::BadRequestException
.
Returns true
if the error kind is UpdateJourneyStateErrorKind::ForbiddenException
.
Returns true
if the error kind is UpdateJourneyStateErrorKind::InternalServerErrorException
.
Returns true
if the error kind is UpdateJourneyStateErrorKind::MethodNotAllowedException
.
Returns true
if the error kind is UpdateJourneyStateErrorKind::NotFoundException
.
Returns true
if the error kind is UpdateJourneyStateErrorKind::PayloadTooLargeException
.
Returns true
if the error kind is UpdateJourneyStateErrorKind::TooManyRequestsException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for UpdateJourneyStateError
impl Send for UpdateJourneyStateError
impl Sync for UpdateJourneyStateError
impl Unpin for UpdateJourneyStateError
impl !UnwindSafe for UpdateJourneyStateError
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