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