The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

use Moose;
has AliasAttributes => (is => 'ro', isa => 'ArrayRef[Str]');
has AutoVerifiedAttributes => (is => 'ro', isa => 'ArrayRef[Str]');
has EmailVerificationMessage => (is => 'ro', isa => 'Str');
has EmailVerificationSubject => (is => 'ro', isa => 'Str');
has LambdaConfig => (is => 'ro', isa => 'Paws::CognitoIdp::LambdaConfigType');
has MfaConfiguration => (is => 'ro', isa => 'Str');
has Policies => (is => 'ro', isa => 'Paws::CognitoIdp::UserPoolPolicyType');
has PoolName => (is => 'ro', isa => 'Str', required => 1);
has SmsAuthenticationMessage => (is => 'ro', isa => 'Str');
has SmsVerificationMessage => (is => 'ro', isa => 'Str');
class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateUserPool');
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CognitoIdp::CreateUserPoolResponse');
class_has _result_key => (isa => 'Str', is => 'ro');
1;
### main pod documentation begin ###
=head1 NAME
Paws::CognitoIdp::CreateUserPool - Arguments for method CreateUserPool on Paws::CognitoIdp
=head1 DESCRIPTION
This class represents the parameters used for calling the method CreateUserPool on the
Amazon Cognito Identity Provider service. Use the attributes of this class
as arguments to method CreateUserPool.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateUserPool.
As an example:
$service_obj->CreateUserPool(Att1 => $value1, Att2 => $value2, ...);
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
=head1 ATTRIBUTES
=head2 AliasAttributes => ArrayRef[Str]
Attributes supported as an alias for this user pool. Possible values:
B<phone_number>, B<email>, or B<preferred_username>.
=head2 AutoVerifiedAttributes => ArrayRef[Str]
The attributes to be auto-verified. Possible values: B<email>,
B<phone_number>.
=head2 EmailVerificationMessage => Str
A string representing the email verification message.
=head2 EmailVerificationSubject => Str
A string representing the email verification subject.
=head2 LambdaConfig => L<Paws::CognitoIdp::LambdaConfigType>
The Lambda trigger configuration information for the new user pool.
=head2 MfaConfiguration => Str
Specifies MFA configuration details.
Valid values are: C<"OFF">, C<"ON">, C<"OPTIONAL">
=head2 Policies => L<Paws::CognitoIdp::UserPoolPolicyType>
The policies associated with the new user pool.
=head2 B<REQUIRED> PoolName => Str
A string used to name the user pool.
=head2 SmsAuthenticationMessage => Str
A string representing the SMS authentication message.
=head2 SmsVerificationMessage => Str
A string representing the SMS verification message.
=head1 SEE ALSO
This class forms part of L<Paws>, documenting arguments for method CreateUserPool in L<Paws::CognitoIdp>
=head1 BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
=cut