File Coverage

blib/lib/Paws/CognitoIdp/UpdateUserPool.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::CognitoIdp::UpdateUserPool;
3 1     1   448 use Moose;
  1         2  
  1         6  
4             has AdminCreateUserConfig => (is => 'ro', isa => 'Paws::CognitoIdp::AdminCreateUserConfigType');
5             has AutoVerifiedAttributes => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
6             has DeviceConfiguration => (is => 'ro', isa => 'Paws::CognitoIdp::DeviceConfigurationType');
7             has EmailConfiguration => (is => 'ro', isa => 'Paws::CognitoIdp::EmailConfigurationType');
8             has EmailVerificationMessage => (is => 'ro', isa => 'Str');
9             has EmailVerificationSubject => (is => 'ro', isa => 'Str');
10             has LambdaConfig => (is => 'ro', isa => 'Paws::CognitoIdp::LambdaConfigType');
11             has MfaConfiguration => (is => 'ro', isa => 'Str');
12             has Policies => (is => 'ro', isa => 'Paws::CognitoIdp::UserPoolPolicyType');
13             has SmsAuthenticationMessage => (is => 'ro', isa => 'Str');
14             has SmsConfiguration => (is => 'ro', isa => 'Paws::CognitoIdp::SmsConfigurationType');
15             has SmsVerificationMessage => (is => 'ro', isa => 'Str');
16             has UserPoolId => (is => 'ro', isa => 'Str', required => 1);
17             has UserPoolTags => (is => 'ro', isa => 'Paws::CognitoIdp::UserPoolTagsType');
18             has VerificationMessageTemplate => (is => 'ro', isa => 'Paws::CognitoIdp::VerificationMessageTemplateType');
19              
20 1     1   6663 use MooseX::ClassAttribute;
  1         3  
  1         12  
21              
22             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateUserPool');
23             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CognitoIdp::UpdateUserPoolResponse');
24             class_has _result_key => (isa => 'Str', is => 'ro');
25             1;
26              
27             ### main pod documentation begin ###
28              
29             =head1 NAME
30              
31             Paws::CognitoIdp::UpdateUserPool - Arguments for method UpdateUserPool on Paws::CognitoIdp
32              
33             =head1 DESCRIPTION
34              
35             This class represents the parameters used for calling the method UpdateUserPool on the
36             Amazon Cognito Identity Provider service. Use the attributes of this class
37             as arguments to method UpdateUserPool.
38              
39             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateUserPool.
40              
41             As an example:
42              
43             $service_obj->UpdateUserPool(Att1 => $value1, Att2 => $value2, ...);
44              
45             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.
46              
47             =head1 ATTRIBUTES
48              
49              
50             =head2 AdminCreateUserConfig => L<Paws::CognitoIdp::AdminCreateUserConfigType>
51              
52             The configuration for C<AdminCreateUser> requests.
53              
54              
55              
56             =head2 AutoVerifiedAttributes => ArrayRef[Str|Undef]
57              
58             The attributes that are automatically verified when the Amazon Cognito
59             service makes a request to update user pools.
60              
61              
62              
63             =head2 DeviceConfiguration => L<Paws::CognitoIdp::DeviceConfigurationType>
64              
65             Device configuration.
66              
67              
68              
69             =head2 EmailConfiguration => L<Paws::CognitoIdp::EmailConfigurationType>
70              
71             Email configuration.
72              
73              
74              
75             =head2 EmailVerificationMessage => Str
76              
77             The contents of the email verification message.
78              
79              
80              
81             =head2 EmailVerificationSubject => Str
82              
83             The subject of the email verification message.
84              
85              
86              
87             =head2 LambdaConfig => L<Paws::CognitoIdp::LambdaConfigType>
88              
89             The AWS Lambda configuration information from the request to update the
90             user pool.
91              
92              
93              
94             =head2 MfaConfiguration => Str
95              
96             Can be one of the following values:
97              
98             =over
99              
100             =item *
101              
102             C<OFF> - MFA tokens are not required and cannot be specified during
103             user registration.
104              
105             =item *
106              
107             C<ON> - MFA tokens are required for all user registrations. You can
108             only specify required when you are initially creating a user pool.
109              
110             =item *
111              
112             C<OPTIONAL> - Users have the option when registering to create an MFA
113             token.
114              
115             =back
116              
117              
118             Valid values are: C<"OFF">, C<"ON">, C<"OPTIONAL">
119              
120             =head2 Policies => L<Paws::CognitoIdp::UserPoolPolicyType>
121              
122             A container with the policies you wish to update in a user pool.
123              
124              
125              
126             =head2 SmsAuthenticationMessage => Str
127              
128             The contents of the SMS authentication message.
129              
130              
131              
132             =head2 SmsConfiguration => L<Paws::CognitoIdp::SmsConfigurationType>
133              
134             SMS configuration.
135              
136              
137              
138             =head2 SmsVerificationMessage => Str
139              
140             A container with information about the SMS verification message.
141              
142              
143              
144             =head2 B<REQUIRED> UserPoolId => Str
145              
146             The user pool ID for the user pool you want to update.
147              
148              
149              
150             =head2 UserPoolTags => L<Paws::CognitoIdp::UserPoolTagsType>
151              
152             The cost allocation tags for the user pool. For more information, see
153             Adding Cost Allocation Tags to Your User Pool
154              
155              
156              
157             =head2 VerificationMessageTemplate => L<Paws::CognitoIdp::VerificationMessageTemplateType>
158              
159             The template for verification messages.
160              
161              
162              
163              
164             =head1 SEE ALSO
165              
166             This class forms part of L<Paws>, documenting arguments for method UpdateUserPool in L<Paws::CognitoIdp>
167              
168             =head1 BUGS and CONTRIBUTIONS
169              
170             The source code is located here: https://github.com/pplu/aws-sdk-perl
171              
172             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
173              
174             =cut
175