Struct aws_sdk_cognitoidentityprovider::error::AdminListUserAuthEventsError [−][src]
#[non_exhaustive]pub struct AdminListUserAuthEventsError {
pub kind: AdminListUserAuthEventsErrorKind,
// some fields omitted
}
Expand description
Error type for the AdminListUserAuthEvents
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: AdminListUserAuthEventsErrorKind
Kind of error that occurred.
Implementations
Creates a new AdminListUserAuthEventsError
.
Creates the AdminListUserAuthEventsError::Unhandled
variant from any error type.
Creates the AdminListUserAuthEventsError::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 AdminListUserAuthEventsErrorKind::InternalErrorException
.
Returns true
if the error kind is AdminListUserAuthEventsErrorKind::InvalidParameterException
.
Returns true
if the error kind is AdminListUserAuthEventsErrorKind::NotAuthorizedException
.
Returns true
if the error kind is AdminListUserAuthEventsErrorKind::ResourceNotFoundException
.
Returns true
if the error kind is AdminListUserAuthEventsErrorKind::TooManyRequestsException
.
Returns true
if the error kind is AdminListUserAuthEventsErrorKind::UserNotFoundException
.
Returns true
if the error kind is AdminListUserAuthEventsErrorKind::UserPoolAddOnNotEnabledException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AdminListUserAuthEventsError
impl Send for AdminListUserAuthEventsError
impl Sync for AdminListUserAuthEventsError
impl Unpin for AdminListUserAuthEventsError
impl !UnwindSafe for AdminListUserAuthEventsError
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