Struct aws_sdk_cognitoidentityprovider::error::AdminCreateUserError [−][src]
#[non_exhaustive]pub struct AdminCreateUserError {
pub kind: AdminCreateUserErrorKind,
// some fields omitted
}
Expand description
Error type for the AdminCreateUser
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: AdminCreateUserErrorKind
Kind of error that occurred.
Implementations
Creates a new AdminCreateUserError
.
Creates the AdminCreateUserError::Unhandled
variant from any error type.
Creates the AdminCreateUserError::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 AdminCreateUserErrorKind::CodeDeliveryFailureException
.
Returns true
if the error kind is AdminCreateUserErrorKind::InternalErrorException
.
Returns true
if the error kind is AdminCreateUserErrorKind::InvalidLambdaResponseException
.
Returns true
if the error kind is AdminCreateUserErrorKind::InvalidParameterException
.
Returns true
if the error kind is AdminCreateUserErrorKind::InvalidPasswordException
.
Returns true
if the error kind is AdminCreateUserErrorKind::InvalidSmsRoleAccessPolicyException
.
Returns true
if the error kind is AdminCreateUserErrorKind::InvalidSmsRoleTrustRelationshipException
.
Returns true
if the error kind is AdminCreateUserErrorKind::NotAuthorizedException
.
Returns true
if the error kind is AdminCreateUserErrorKind::PreconditionNotMetException
.
Returns true
if the error kind is AdminCreateUserErrorKind::ResourceNotFoundException
.
Returns true
if the error kind is AdminCreateUserErrorKind::TooManyRequestsException
.
Returns true
if the error kind is AdminCreateUserErrorKind::UnexpectedLambdaException
.
Returns true
if the error kind is AdminCreateUserErrorKind::UnsupportedUserStateException
.
Returns true
if the error kind is AdminCreateUserErrorKind::UserLambdaValidationException
.
Returns true
if the error kind is AdminCreateUserErrorKind::UsernameExistsException
.
Returns true
if the error kind is AdminCreateUserErrorKind::UserNotFoundException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AdminCreateUserError
impl Send for AdminCreateUserError
impl Sync for AdminCreateUserError
impl Unpin for AdminCreateUserError
impl !UnwindSafe for AdminCreateUserError
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