Struct aws_sdk_chime::error::ListUsersError
source · [−]#[non_exhaustive]pub struct ListUsersError {
pub kind: ListUsersErrorKind,
/* private fields */
}
Expand description
Error type for the ListUsers
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: ListUsersErrorKind
Kind of error that occurred.
Implementations
Creates a new ListUsersError
.
Creates the ListUsersError::Unhandled
variant from any error type.
Creates the ListUsersError::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 ListUsersErrorKind::BadRequestException
.
Returns true
if the error kind is ListUsersErrorKind::ForbiddenException
.
Returns true
if the error kind is ListUsersErrorKind::NotFoundException
.
Returns true
if the error kind is ListUsersErrorKind::ServiceFailureException
.
Returns true
if the error kind is ListUsersErrorKind::ServiceUnavailableException
.
Returns true
if the error kind is ListUsersErrorKind::ThrottledClientException
.
Returns true
if the error kind is ListUsersErrorKind::UnauthorizedClientException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ListUsersError
impl Send for ListUsersError
impl Sync for ListUsersError
impl Unpin for ListUsersError
impl !UnwindSafe for ListUsersError
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