Skip to content

Commit 708a1f2

Browse files
authored
feat(aws-android-sdk-cognitoidentityprovider): update models to latest (#2837)
1 parent ace655c commit 708a1f2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+2412
-1635
lines changed

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

Lines changed: 156 additions & 157 deletions
Large diffs are not rendered by default.

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

Lines changed: 156 additions & 157 deletions
Large diffs are not rendered by default.

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

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ public class AccountTakeoverActionType implements Serializable {
3232

3333
/**
3434
* <p>
35-
* The event action.
35+
* The action to take in response to the account takeover action. Valid
36+
* values are:
3637
* </p>
3738
* <ul>
3839
* <li>
@@ -124,7 +125,8 @@ public AccountTakeoverActionType withNotify(Boolean notify) {
124125

125126
/**
126127
* <p>
127-
* The event action.
128+
* The action to take in response to the account takeover action. Valid
129+
* values are:
128130
* </p>
129131
* <ul>
130132
* <li>
@@ -155,7 +157,8 @@ public AccountTakeoverActionType withNotify(Boolean notify) {
155157
* <b>Allowed Values: </b>BLOCK, MFA_IF_CONFIGURED, MFA_REQUIRED, NO_ACTION
156158
*
157159
* @return <p>
158-
* The event action.
160+
* The action to take in response to the account takeover action.
161+
* Valid values are:
159162
* </p>
160163
* <ul>
161164
* <li>
@@ -189,7 +192,8 @@ public String getEventAction() {
189192

190193
/**
191194
* <p>
192-
* The event action.
195+
* The action to take in response to the account takeover action. Valid
196+
* values are:
193197
* </p>
194198
* <ul>
195199
* <li>
@@ -220,7 +224,8 @@ public String getEventAction() {
220224
* <b>Allowed Values: </b>BLOCK, MFA_IF_CONFIGURED, MFA_REQUIRED, NO_ACTION
221225
*
222226
* @param eventAction <p>
223-
* The event action.
227+
* The action to take in response to the account takeover action.
228+
* Valid values are:
224229
* </p>
225230
* <ul>
226231
* <li>
@@ -255,7 +260,8 @@ public void setEventAction(String eventAction) {
255260

256261
/**
257262
* <p>
258-
* The event action.
263+
* The action to take in response to the account takeover action. Valid
264+
* values are:
259265
* </p>
260266
* <ul>
261267
* <li>
@@ -289,7 +295,8 @@ public void setEventAction(String eventAction) {
289295
* <b>Allowed Values: </b>BLOCK, MFA_IF_CONFIGURED, MFA_REQUIRED, NO_ACTION
290296
*
291297
* @param eventAction <p>
292-
* The event action.
298+
* The action to take in response to the account takeover action.
299+
* Valid values are:
293300
* </p>
294301
* <ul>
295302
* <li>
@@ -327,7 +334,8 @@ public AccountTakeoverActionType withEventAction(String eventAction) {
327334

328335
/**
329336
* <p>
330-
* The event action.
337+
* The action to take in response to the account takeover action. Valid
338+
* values are:
331339
* </p>
332340
* <ul>
333341
* <li>
@@ -358,7 +366,8 @@ public AccountTakeoverActionType withEventAction(String eventAction) {
358366
* <b>Allowed Values: </b>BLOCK, MFA_IF_CONFIGURED, MFA_REQUIRED, NO_ACTION
359367
*
360368
* @param eventAction <p>
361-
* The event action.
369+
* The action to take in response to the account takeover action.
370+
* Valid values are:
362371
* </p>
363372
* <ul>
364373
* <li>
@@ -393,7 +402,8 @@ public void setEventAction(AccountTakeoverEventActionType eventAction) {
393402

394403
/**
395404
* <p>
396-
* The event action.
405+
* The action to take in response to the account takeover action. Valid
406+
* values are:
397407
* </p>
398408
* <ul>
399409
* <li>
@@ -427,7 +437,8 @@ public void setEventAction(AccountTakeoverEventActionType eventAction) {
427437
* <b>Allowed Values: </b>BLOCK, MFA_IF_CONFIGURED, MFA_REQUIRED, NO_ACTION
428438
*
429439
* @param eventAction <p>
430-
* The event action.
440+
* The action to take in response to the account takeover action.
441+
* Valid values are:
431442
* </p>
432443
* <ul>
433444
* <li>

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public class AdminConfirmSignUpRequest extends AmazonWebServiceRequest implement
6969
* <p>
7070
* For more information, see <a href=
7171
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html"
72-
* >Customizing User Pool Workflows with Lambda Triggers</a> in the
72+
* > Customizing user pool Workflows with Lambda Triggers</a> in the
7373
* <i>Amazon Cognito Developer Guide</i>.
7474
* </p>
7575
* <note>
@@ -236,7 +236,7 @@ public AdminConfirmSignUpRequest withUsername(String username) {
236236
* <p>
237237
* For more information, see <a href=
238238
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html"
239-
* >Customizing User Pool Workflows with Lambda Triggers</a> in the
239+
* > Customizing user pool Workflows with Lambda Triggers</a> in the
240240
* <i>Amazon Cognito Developer Guide</i>.
241241
* </p>
242242
* <note>
@@ -286,7 +286,7 @@ public AdminConfirmSignUpRequest withUsername(String username) {
286286
* <p>
287287
* For more information, see <a href=
288288
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html"
289-
* >Customizing User Pool Workflows with Lambda Triggers</a> in the
289+
* > Customizing user pool Workflows with Lambda Triggers</a> in the
290290
* <i>Amazon Cognito Developer Guide</i>.
291291
* </p>
292292
* <note>
@@ -339,7 +339,7 @@ public java.util.Map<String, String> getClientMetadata() {
339339
* <p>
340340
* For more information, see <a href=
341341
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html"
342-
* >Customizing User Pool Workflows with Lambda Triggers</a> in the
342+
* > Customizing user pool Workflows with Lambda Triggers</a> in the
343343
* <i>Amazon Cognito Developer Guide</i>.
344344
* </p>
345345
* <note>
@@ -389,7 +389,7 @@ public java.util.Map<String, String> getClientMetadata() {
389389
* <p>
390390
* For more information, see <a href=
391391
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html"
392-
* >Customizing User Pool Workflows with Lambda Triggers</a> in
392+
* > Customizing user pool Workflows with Lambda Triggers</a> in
393393
* the <i>Amazon Cognito Developer Guide</i>.
394394
* </p>
395395
* <note>
@@ -443,7 +443,7 @@ public void setClientMetadata(java.util.Map<String, String> clientMetadata) {
443443
* <p>
444444
* For more information, see <a href=
445445
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html"
446-
* >Customizing User Pool Workflows with Lambda Triggers</a> in the
446+
* > Customizing user pool Workflows with Lambda Triggers</a> in the
447447
* <i>Amazon Cognito Developer Guide</i>.
448448
* </p>
449449
* <note>
@@ -496,7 +496,7 @@ public void setClientMetadata(java.util.Map<String, String> clientMetadata) {
496496
* <p>
497497
* For more information, see <a href=
498498
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html"
499-
* >Customizing User Pool Workflows with Lambda Triggers</a> in
499+
* > Customizing user pool Workflows with Lambda Triggers</a> in
500500
* the <i>Amazon Cognito Developer Guide</i>.
501501
* </p>
502502
* <note>
@@ -553,7 +553,7 @@ public AdminConfirmSignUpRequest withClientMetadata(java.util.Map<String, String
553553
* <p>
554554
* For more information, see <a href=
555555
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html"
556-
* >Customizing User Pool Workflows with Lambda Triggers</a> in the
556+
* > Customizing user pool Workflows with Lambda Triggers</a> in the
557557
* <i>Amazon Cognito Developer Guide</i>.
558558
* </p>
559559
* <note>

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

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,23 @@
3131
* <p>
3232
* This action might generate an SMS text message. Starting June 1, 2021, US
3333
* telecom carriers require you to register an origination phone number before
34-
* you can send SMS messages to U.S. phone numbers. If you use SMS text messages
34+
* you can send SMS messages to US phone numbers. If you use SMS text messages
3535
* in Amazon Cognito, you must register a phone number with <a
3636
* href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
37-
* Amazon Cognito will use the registered number automatically. Otherwise,
38-
* Amazon Cognito users that must receive SMS messages might be unable to sign
39-
* up, activate their accounts, or sign in.
37+
* Amazon Cognito uses the registered number automatically. Otherwise, Amazon
38+
* Cognito users who must receive SMS messages might not be able to sign up,
39+
* activate their accounts, or sign in.
4040
* </p>
4141
* <p>
4242
* If you have never used SMS text messages with Amazon Cognito or any other
4343
* Amazon Web Service, Amazon Simple Notification Service might place your
44-
* account in SMS sandbox. In <i> <a
44+
* account in the SMS sandbox. In <i> <a
4545
* href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
46-
* mode</a> </i>, you will have limitations, such as sending messages only to
47-
* verified phone numbers. After testing in the sandbox environment, you can
48-
* move out of the SMS sandbox and into production. For more information, see <a
49-
* href=
46+
* mode</a> </i>, you can send messages only to verified phone numbers. After
47+
* you test your app while in the sandbox environment, you can move out of the
48+
* sandbox and into production. For more information, see <a href=
5049
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"
51-
* > SMS message settings for Amazon Cognito User Pools</a> in the <i>Amazon
50+
* > SMS message settings for Amazon Cognito user pools</a> in the <i>Amazon
5251
* Cognito Developer Guide</i>.
5352
* </p>
5453
* </note>
@@ -189,7 +188,7 @@ public class AdminCreateUserRequest extends AmazonWebServiceRequest implements S
189188
* </p>
190189
* <p>
191190
* <b>Constraints:</b><br/>
192-
* <b>Length: </b>6 - 256<br/>
191+
* <b>Length: </b> - 256<br/>
193192
* <b>Pattern: </b>[\S]+<br/>
194193
*/
195194
private String temporaryPassword;
@@ -257,7 +256,7 @@ public class AdminCreateUserRequest extends AmazonWebServiceRequest implements S
257256
* <p>
258257
* For more information, see <a href=
259258
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html"
260-
* >Customizing User Pool Workflows with Lambda Triggers</a> in the
259+
* > Customizing user pool Workflows with Lambda Triggers</a> in the
261260
* <i>Amazon Cognito Developer Guide</i>.
262261
* </p>
263262
* <note>
@@ -1067,7 +1066,7 @@ public AdminCreateUserRequest withValidationData(
10671066
* </p>
10681067
* <p>
10691068
* <b>Constraints:</b><br/>
1070-
* <b>Length: </b>6 - 256<br/>
1069+
* <b>Length: </b> - 256<br/>
10711070
* <b>Pattern: </b>[\S]+<br/>
10721071
*
10731072
* @return <p>
@@ -1121,7 +1120,7 @@ public String getTemporaryPassword() {
11211120
* </p>
11221121
* <p>
11231122
* <b>Constraints:</b><br/>
1124-
* <b>Length: </b>6 - 256<br/>
1123+
* <b>Length: </b> - 256<br/>
11251124
* <b>Pattern: </b>[\S]+<br/>
11261125
*
11271126
* @param temporaryPassword <p>
@@ -1178,7 +1177,7 @@ public void setTemporaryPassword(String temporaryPassword) {
11781177
* together.
11791178
* <p>
11801179
* <b>Constraints:</b><br/>
1181-
* <b>Length: </b>6 - 256<br/>
1180+
* <b>Length: </b> - 256<br/>
11821181
* <b>Pattern: </b>[\S]+<br/>
11831182
*
11841183
* @param temporaryPassword <p>
@@ -1631,7 +1630,7 @@ public AdminCreateUserRequest withDesiredDeliveryMediums(
16311630
* <p>
16321631
* For more information, see <a href=
16331632
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html"
1634-
* >Customizing User Pool Workflows with Lambda Triggers</a> in the
1633+
* > Customizing user pool Workflows with Lambda Triggers</a> in the
16351634
* <i>Amazon Cognito Developer Guide</i>.
16361635
* </p>
16371636
* <note>
@@ -1682,7 +1681,7 @@ public AdminCreateUserRequest withDesiredDeliveryMediums(
16821681
* <p>
16831682
* For more information, see <a href=
16841683
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html"
1685-
* >Customizing User Pool Workflows with Lambda Triggers</a> in the
1684+
* > Customizing user pool Workflows with Lambda Triggers</a> in the
16861685
* <i>Amazon Cognito Developer Guide</i>.
16871686
* </p>
16881687
* <note>
@@ -1737,7 +1736,7 @@ public java.util.Map<String, String> getClientMetadata() {
17371736
* <p>
17381737
* For more information, see <a href=
17391738
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html"
1740-
* >Customizing User Pool Workflows with Lambda Triggers</a> in the
1739+
* > Customizing user pool Workflows with Lambda Triggers</a> in the
17411740
* <i>Amazon Cognito Developer Guide</i>.
17421741
* </p>
17431742
* <note>
@@ -1788,7 +1787,7 @@ public java.util.Map<String, String> getClientMetadata() {
17881787
* <p>
17891788
* For more information, see <a href=
17901789
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html"
1791-
* >Customizing User Pool Workflows with Lambda Triggers</a> in
1790+
* > Customizing user pool Workflows with Lambda Triggers</a> in
17921791
* the <i>Amazon Cognito Developer Guide</i>.
17931792
* </p>
17941793
* <note>
@@ -1844,7 +1843,7 @@ public void setClientMetadata(java.util.Map<String, String> clientMetadata) {
18441843
* <p>
18451844
* For more information, see <a href=
18461845
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html"
1847-
* >Customizing User Pool Workflows with Lambda Triggers</a> in the
1846+
* > Customizing user pool Workflows with Lambda Triggers</a> in the
18481847
* <i>Amazon Cognito Developer Guide</i>.
18491848
* </p>
18501849
* <note>
@@ -1898,7 +1897,7 @@ public void setClientMetadata(java.util.Map<String, String> clientMetadata) {
18981897
* <p>
18991898
* For more information, see <a href=
19001899
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html"
1901-
* >Customizing User Pool Workflows with Lambda Triggers</a> in
1900+
* > Customizing user pool Workflows with Lambda Triggers</a> in
19021901
* the <i>Amazon Cognito Developer Guide</i>.
19031902
* </p>
19041903
* <note>
@@ -1957,7 +1956,7 @@ public AdminCreateUserRequest withClientMetadata(java.util.Map<String, String> c
19571956
* <p>
19581957
* For more information, see <a href=
19591958
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html"
1960-
* >Customizing User Pool Workflows with Lambda Triggers</a> in the
1959+
* > Customizing user pool Workflows with Lambda Triggers</a> in the
19611960
* <i>Amazon Cognito Developer Guide</i>.
19621961
* </p>
19631962
* <note>

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121

2222
/**
2323
* <p>
24-
* Disables the user from signing in with the specified external (SAML or
25-
* social) identity provider. If the user to disable is a Amazon Cognito User
26-
* Pools native username + password user, they aren't permitted to use their
27-
* password to sign in. If the user to deactivate is a linked external identity
28-
* provider (IdP) user, any link between that user and an existing user is
29-
* removed. The next time the external user (no longer attached to the
30-
* previously linked <code>DestinationUser</code>) signs in, they must create a
31-
* new user account. See <a href=
24+
* Prevents the user from signing in with the specified external (SAML or
25+
* social) identity provider. If the user that you want to deactivate is a
26+
* Amazon Cognito user pools native username + password user, they can't use
27+
* their password to sign in. If the user to deactivate is a linked external
28+
* identity provider (IdP) user, any link between that user and an existing user
29+
* is removed. When the external user signs in again, and the user is no longer
30+
* attached to the previously linked <code>DestinationUser</code>, the user must
31+
* create a new user account. See <a href=
3232
* "https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminLinkProviderForUser.html"
3333
* >AdminLinkProviderForUser</a>.
3434
* </p>

0 commit comments

Comments
 (0)