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