Skip to content

Commit 5fde565

Browse files
committed
[aws-android-sdk-cognitoidentityprovider] Update models to latest
1 parent cbc09c0 commit 5fde565

12 files changed

+1321
-61
lines changed

aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/AmazonCognitoIdentityProvider.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,9 @@ AdminUpdateDeviceStatusResult adminUpdateDeviceStatus(
997997
* @throws NotAuthorizedException
998998
* @throws UserNotFoundException
999999
* @throws InternalErrorException
1000+
* @throws InvalidSmsRoleAccessPolicyException
1001+
* @throws InvalidEmailRoleAccessPolicyException
1002+
* @throws InvalidSmsRoleTrustRelationshipException
10001003
* @throws AmazonClientException If any internal errors are encountered
10011004
* inside the client while attempting to make the request or
10021005
* handle the response. For example if a network connection is

aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/AmazonCognitoIdentityProviderClient.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1854,6 +1854,9 @@ public AdminUpdateDeviceStatusResult adminUpdateDeviceStatus(
18541854
* @throws NotAuthorizedException
18551855
* @throws UserNotFoundException
18561856
* @throws InternalErrorException
1857+
* @throws InvalidSmsRoleAccessPolicyException
1858+
* @throws InvalidEmailRoleAccessPolicyException
1859+
* @throws InvalidSmsRoleTrustRelationshipException
18571860
* @throws AmazonClientException If any internal errors are encountered
18581861
* inside the client while attempting to make the request or
18591862
* handle the response. For example if a network connection is

aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminCreateUserConfigType.java

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ public class AdminCreateUserConfigType implements Serializable {
4040
* the <code>MessageAction</code> parameter. The default value for this
4141
* parameter is 7.
4242
* </p>
43+
* <note>
44+
* <p>
45+
* If you set a value for <code>TemporaryPasswordValidityDays</code> in
46+
* <code>PasswordPolicy</code>, that value will be used and
47+
* <code>UnusedAccountValidityDays</code> will be deprecated for that user
48+
* pool.
49+
* </p>
50+
* </note>
4351
* <p>
4452
* <b>Constraints:</b><br/>
4553
* <b>Range: </b>0 - 365<br/>
@@ -140,6 +148,14 @@ public AdminCreateUserConfigType withAllowAdminCreateUserOnly(Boolean allowAdmin
140148
* the <code>MessageAction</code> parameter. The default value for this
141149
* parameter is 7.
142150
* </p>
151+
* <note>
152+
* <p>
153+
* If you set a value for <code>TemporaryPasswordValidityDays</code> in
154+
* <code>PasswordPolicy</code>, that value will be used and
155+
* <code>UnusedAccountValidityDays</code> will be deprecated for that user
156+
* pool.
157+
* </p>
158+
* </note>
143159
* <p>
144160
* <b>Constraints:</b><br/>
145161
* <b>Range: </b>0 - 365<br/>
@@ -152,6 +168,14 @@ public AdminCreateUserConfigType withAllowAdminCreateUserOnly(Boolean allowAdmin
152168
* <code>MessageAction</code> parameter. The default value for this
153169
* parameter is 7.
154170
* </p>
171+
* <note>
172+
* <p>
173+
* If you set a value for <code>TemporaryPasswordValidityDays</code>
174+
* in <code>PasswordPolicy</code>, that value will be used and
175+
* <code>UnusedAccountValidityDays</code> will be deprecated for
176+
* that user pool.
177+
* </p>
178+
* </note>
155179
*/
156180
public Integer getUnusedAccountValidityDays() {
157181
return unusedAccountValidityDays;
@@ -165,6 +189,14 @@ public Integer getUnusedAccountValidityDays() {
165189
* the <code>MessageAction</code> parameter. The default value for this
166190
* parameter is 7.
167191
* </p>
192+
* <note>
193+
* <p>
194+
* If you set a value for <code>TemporaryPasswordValidityDays</code> in
195+
* <code>PasswordPolicy</code>, that value will be used and
196+
* <code>UnusedAccountValidityDays</code> will be deprecated for that user
197+
* pool.
198+
* </p>
199+
* </note>
168200
* <p>
169201
* <b>Constraints:</b><br/>
170202
* <b>Range: </b>0 - 365<br/>
@@ -177,6 +209,15 @@ public Integer getUnusedAccountValidityDays() {
177209
* <code>MessageAction</code> parameter. The default value for
178210
* this parameter is 7.
179211
* </p>
212+
* <note>
213+
* <p>
214+
* If you set a value for
215+
* <code>TemporaryPasswordValidityDays</code> in
216+
* <code>PasswordPolicy</code>, that value will be used and
217+
* <code>UnusedAccountValidityDays</code> will be deprecated for
218+
* that user pool.
219+
* </p>
220+
* </note>
180221
*/
181222
public void setUnusedAccountValidityDays(Integer unusedAccountValidityDays) {
182223
this.unusedAccountValidityDays = unusedAccountValidityDays;
@@ -190,6 +231,14 @@ public void setUnusedAccountValidityDays(Integer unusedAccountValidityDays) {
190231
* the <code>MessageAction</code> parameter. The default value for this
191232
* parameter is 7.
192233
* </p>
234+
* <note>
235+
* <p>
236+
* If you set a value for <code>TemporaryPasswordValidityDays</code> in
237+
* <code>PasswordPolicy</code>, that value will be used and
238+
* <code>UnusedAccountValidityDays</code> will be deprecated for that user
239+
* pool.
240+
* </p>
241+
* </note>
193242
* <p>
194243
* Returns a reference to this object so that method calls can be chained
195244
* together.
@@ -205,6 +254,15 @@ public void setUnusedAccountValidityDays(Integer unusedAccountValidityDays) {
205254
* <code>MessageAction</code> parameter. The default value for
206255
* this parameter is 7.
207256
* </p>
257+
* <note>
258+
* <p>
259+
* If you set a value for
260+
* <code>TemporaryPasswordValidityDays</code> in
261+
* <code>PasswordPolicy</code>, that value will be used and
262+
* <code>UnusedAccountValidityDays</code> will be deprecated for
263+
* that user pool.
264+
* </p>
265+
* </note>
208266
* @return A reference to this updated object so that method calls can be
209267
* chained together.
210268
*/

aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminGetUserResult.java

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,19 @@ public class AdminGetUserResult implements Serializable {
9393
* UNKNOWN - User status is not known.
9494
* </p>
9595
* </li>
96+
* <li>
97+
* <p>
98+
* RESET_REQUIRED - User is confirmed, but the user must request a code and
99+
* reset his or her password before he or she can sign in.
100+
* </p>
101+
* </li>
102+
* <li>
103+
* <p>
104+
* FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in
105+
* using a temporary password, but on first sign-in, the user must change
106+
* his or her password to a new value before doing anything else.
107+
* </p>
108+
* </li>
96109
* </ul>
97110
* <p>
98111
* <b>Constraints:</b><br/>
@@ -434,6 +447,19 @@ public AdminGetUserResult withEnabled(Boolean enabled) {
434447
* UNKNOWN - User status is not known.
435448
* </p>
436449
* </li>
450+
* <li>
451+
* <p>
452+
* RESET_REQUIRED - User is confirmed, but the user must request a code and
453+
* reset his or her password before he or she can sign in.
454+
* </p>
455+
* </li>
456+
* <li>
457+
* <p>
458+
* FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in
459+
* using a temporary password, but on first sign-in, the user must change
460+
* his or her password to a new value before doing anything else.
461+
* </p>
462+
* </li>
437463
* </ul>
438464
* <p>
439465
* <b>Constraints:</b><br/>
@@ -470,6 +496,20 @@ public AdminGetUserResult withEnabled(Boolean enabled) {
470496
* UNKNOWN - User status is not known.
471497
* </p>
472498
* </li>
499+
* <li>
500+
* <p>
501+
* RESET_REQUIRED - User is confirmed, but the user must request a
502+
* code and reset his or her password before he or she can sign in.
503+
* </p>
504+
* </li>
505+
* <li>
506+
* <p>
507+
* FORCE_CHANGE_PASSWORD - The user is confirmed and the user can
508+
* sign in using a temporary password, but on first sign-in, the
509+
* user must change his or her password to a new value before doing
510+
* anything else.
511+
* </p>
512+
* </li>
473513
* </ul>
474514
* @see UserStatusType
475515
*/
@@ -507,6 +547,19 @@ public String getUserStatus() {
507547
* UNKNOWN - User status is not known.
508548
* </p>
509549
* </li>
550+
* <li>
551+
* <p>
552+
* RESET_REQUIRED - User is confirmed, but the user must request a code and
553+
* reset his or her password before he or she can sign in.
554+
* </p>
555+
* </li>
556+
* <li>
557+
* <p>
558+
* FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in
559+
* using a temporary password, but on first sign-in, the user must change
560+
* his or her password to a new value before doing anything else.
561+
* </p>
562+
* </li>
510563
* </ul>
511564
* <p>
512565
* <b>Constraints:</b><br/>
@@ -543,6 +596,21 @@ public String getUserStatus() {
543596
* UNKNOWN - User status is not known.
544597
* </p>
545598
* </li>
599+
* <li>
600+
* <p>
601+
* RESET_REQUIRED - User is confirmed, but the user must request
602+
* a code and reset his or her password before he or she can sign
603+
* in.
604+
* </p>
605+
* </li>
606+
* <li>
607+
* <p>
608+
* FORCE_CHANGE_PASSWORD - The user is confirmed and the user can
609+
* sign in using a temporary password, but on first sign-in, the
610+
* user must change his or her password to a new value before
611+
* doing anything else.
612+
* </p>
613+
* </li>
546614
* </ul>
547615
* @see UserStatusType
548616
*/
@@ -580,6 +648,19 @@ public void setUserStatus(String userStatus) {
580648
* UNKNOWN - User status is not known.
581649
* </p>
582650
* </li>
651+
* <li>
652+
* <p>
653+
* RESET_REQUIRED - User is confirmed, but the user must request a code and
654+
* reset his or her password before he or she can sign in.
655+
* </p>
656+
* </li>
657+
* <li>
658+
* <p>
659+
* FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in
660+
* using a temporary password, but on first sign-in, the user must change
661+
* his or her password to a new value before doing anything else.
662+
* </p>
663+
* </li>
583664
* </ul>
584665
* <p>
585666
* Returns a reference to this object so that method calls can be chained
@@ -619,6 +700,21 @@ public void setUserStatus(String userStatus) {
619700
* UNKNOWN - User status is not known.
620701
* </p>
621702
* </li>
703+
* <li>
704+
* <p>
705+
* RESET_REQUIRED - User is confirmed, but the user must request
706+
* a code and reset his or her password before he or she can sign
707+
* in.
708+
* </p>
709+
* </li>
710+
* <li>
711+
* <p>
712+
* FORCE_CHANGE_PASSWORD - The user is confirmed and the user can
713+
* sign in using a temporary password, but on first sign-in, the
714+
* user must change his or her password to a new value before
715+
* doing anything else.
716+
* </p>
717+
* </li>
622718
* </ul>
623719
* @return A reference to this updated object so that method calls can be
624720
* chained together.
@@ -659,6 +755,19 @@ public AdminGetUserResult withUserStatus(String userStatus) {
659755
* UNKNOWN - User status is not known.
660756
* </p>
661757
* </li>
758+
* <li>
759+
* <p>
760+
* RESET_REQUIRED - User is confirmed, but the user must request a code and
761+
* reset his or her password before he or she can sign in.
762+
* </p>
763+
* </li>
764+
* <li>
765+
* <p>
766+
* FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in
767+
* using a temporary password, but on first sign-in, the user must change
768+
* his or her password to a new value before doing anything else.
769+
* </p>
770+
* </li>
662771
* </ul>
663772
* <p>
664773
* <b>Constraints:</b><br/>
@@ -695,6 +804,21 @@ public AdminGetUserResult withUserStatus(String userStatus) {
695804
* UNKNOWN - User status is not known.
696805
* </p>
697806
* </li>
807+
* <li>
808+
* <p>
809+
* RESET_REQUIRED - User is confirmed, but the user must request
810+
* a code and reset his or her password before he or she can sign
811+
* in.
812+
* </p>
813+
* </li>
814+
* <li>
815+
* <p>
816+
* FORCE_CHANGE_PASSWORD - The user is confirmed and the user can
817+
* sign in using a temporary password, but on first sign-in, the
818+
* user must change his or her password to a new value before
819+
* doing anything else.
820+
* </p>
821+
* </li>
698822
* </ul>
699823
* @see UserStatusType
700824
*/
@@ -732,6 +856,19 @@ public void setUserStatus(UserStatusType userStatus) {
732856
* UNKNOWN - User status is not known.
733857
* </p>
734858
* </li>
859+
* <li>
860+
* <p>
861+
* RESET_REQUIRED - User is confirmed, but the user must request a code and
862+
* reset his or her password before he or she can sign in.
863+
* </p>
864+
* </li>
865+
* <li>
866+
* <p>
867+
* FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in
868+
* using a temporary password, but on first sign-in, the user must change
869+
* his or her password to a new value before doing anything else.
870+
* </p>
871+
* </li>
735872
* </ul>
736873
* <p>
737874
* Returns a reference to this object so that method calls can be chained
@@ -771,6 +908,21 @@ public void setUserStatus(UserStatusType userStatus) {
771908
* UNKNOWN - User status is not known.
772909
* </p>
773910
* </li>
911+
* <li>
912+
* <p>
913+
* RESET_REQUIRED - User is confirmed, but the user must request
914+
* a code and reset his or her password before he or she can sign
915+
* in.
916+
* </p>
917+
* </li>
918+
* <li>
919+
* <p>
920+
* FORCE_CHANGE_PASSWORD - The user is confirmed and the user can
921+
* sign in using a temporary password, but on first sign-in, the
922+
* user must change his or her password to a new value before
923+
* doing anything else.
924+
* </p>
925+
* </li>
774926
* </ul>
775927
* @return A reference to this updated object so that method calls can be
776928
* chained together.

0 commit comments

Comments
 (0)