@aws-sdk/client-cognito-identity-provider 3.95.0 → 3.98.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +5 -2
  3. package/dist-cjs/commands/StartUserImportJobCommand.js +1 -2
  4. package/dist-cjs/models/models_0.js +15 -15
  5. package/dist-cjs/models/models_1.js +7 -1
  6. package/dist-cjs/protocols/Aws_json1_1.js +51 -0
  7. package/dist-es/commands/StartUserImportJobCommand.js +1 -2
  8. package/dist-es/models/models_0.js +9 -9
  9. package/dist-es/models/models_1.js +4 -0
  10. package/dist-es/protocols/Aws_json1_1.js +87 -39
  11. package/dist-types/CognitoIdentityProvider.d.ts +261 -157
  12. package/dist-types/CognitoIdentityProviderClient.d.ts +5 -2
  13. package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +2 -1
  14. package/dist-types/commands/AdminCreateUserCommand.d.ts +9 -7
  15. package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +2 -1
  16. package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +27 -16
  17. package/dist-types/commands/AdminGetUserCommand.d.ts +2 -1
  18. package/dist-types/commands/AdminInitiateAuthCommand.d.ts +0 -1
  19. package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +17 -12
  20. package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +2 -1
  21. package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +10 -6
  22. package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +5 -3
  23. package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +10 -5
  24. package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +3 -3
  25. package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +3 -2
  26. package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +6 -3
  27. package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +6 -2
  28. package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +10 -6
  29. package/dist-types/commands/ConfirmDeviceCommand.d.ts +2 -1
  30. package/dist-types/commands/ConfirmSignUpCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateIdentityProviderCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateUserPoolClientCommand.d.ts +2 -2
  33. package/dist-types/commands/CreateUserPoolCommand.d.ts +2 -1
  34. package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +2 -1
  37. package/dist-types/commands/ForgotPasswordCommand.d.ts +8 -8
  38. package/dist-types/commands/GetCSVHeaderCommand.d.ts +2 -1
  39. package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +1 -1
  40. package/dist-types/commands/GetUICustomizationCommand.d.ts +5 -2
  41. package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +3 -1
  42. package/dist-types/commands/GlobalSignOutCommand.d.ts +5 -2
  43. package/dist-types/commands/InitiateAuthCommand.d.ts +2 -1
  44. package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
  45. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +1 -1
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  47. package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +2 -1
  48. package/dist-types/commands/RevokeTokenCommand.d.ts +3 -1
  49. package/dist-types/commands/SetRiskConfigurationCommand.d.ts +5 -2
  50. package/dist-types/commands/SetUICustomizationCommand.d.ts +13 -7
  51. package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +8 -5
  52. package/dist-types/commands/SetUserSettingsCommand.d.ts +3 -2
  53. package/dist-types/commands/SignUpCommand.d.ts +2 -1
  54. package/dist-types/commands/StartUserImportJobCommand.d.ts +1 -2
  55. package/dist-types/commands/TagResourceCommand.d.ts +14 -7
  56. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  57. package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +3 -2
  58. package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +1 -1
  59. package/dist-types/commands/UpdateResourceServerCommand.d.ts +4 -3
  60. package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +8 -7
  61. package/dist-types/commands/UpdateUserPoolCommand.d.ts +4 -3
  62. package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +19 -12
  63. package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +3 -2
  64. package/dist-types/commands/VerifyUserAttributeCommand.d.ts +6 -0
  65. package/dist-types/models/models_0.d.ts +1940 -1245
  66. package/dist-types/models/models_1.d.ts +247 -123
  67. package/dist-types/ts3.4/commands/StartUserImportJobCommand.d.ts +1 -2
  68. package/dist-types/ts3.4/models/models_0.d.ts +17 -15
  69. package/dist-types/ts3.4/models/models_1.d.ts +14 -1
  70. package/package.json +1 -1
@@ -227,9 +227,12 @@ declare type CognitoIdentityProviderClientResolvedConfigType = __SmithyResolvedC
227
227
  export interface CognitoIdentityProviderClientResolvedConfig extends CognitoIdentityProviderClientResolvedConfigType {
228
228
  }
229
229
  /**
230
- * <p>Using the Amazon Cognito user pools API, you can create a user pool to manage directories and users. You can authenticate a user to obtain tokens related to user identity and access policies.</p>
230
+ * <p>Using the Amazon Cognito user pools API, you can create a user pool to manage directories and
231
+ * users. You can authenticate a user to obtain tokens related to user identity and access
232
+ * policies.</p>
231
233
  * <p>This API reference provides information about user pools in Amazon Cognito user pools.</p>
232
- * <p>For more information, see the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/what-is-amazon-cognito.html">Amazon Cognito Documentation</a>.</p>
234
+ * <p>For more information, see the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/what-is-amazon-cognito.html">Amazon Cognito
235
+ * Documentation</a>.</p>
233
236
  */
234
237
  export declare class CognitoIdentityProviderClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CognitoIdentityProviderClientResolvedConfig> {
235
238
  /**
@@ -7,7 +7,8 @@ export interface AdminConfirmSignUpCommandInput extends AdminConfirmSignUpReques
7
7
  export interface AdminConfirmSignUpCommandOutput extends AdminConfirmSignUpResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Confirms user registration as an admin without using a confirmation code. Works on any user.</p>
10
+ * <p>Confirms user registration as an admin without using a confirmation code. Works on any
11
+ * user.</p>
11
12
  * <p>Calling this action requires developer credentials.</p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
@@ -8,9 +8,8 @@ export interface AdminCreateUserCommandOutput extends AdminCreateUserResponse, _
8
8
  }
9
9
  /**
10
10
  * <p>Creates a new user in the specified user pool.</p>
11
- * <p>If <code>MessageAction</code> isn't set, the default is to send a welcome message via email or phone (SMS).</p>
12
- *
13
- *
11
+ * <p>If <code>MessageAction</code> isn't set, the default is to send a welcome message via
12
+ * email or phone (SMS).</p>
14
13
  *
15
14
  * <note>
16
15
  * <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers
@@ -30,10 +29,13 @@ export interface AdminCreateUserCommandOutput extends AdminCreateUserResponse, _
30
29
  * Developer Guide</i>.</p>
31
30
  * </note>
32
31
  *
33
- * <p>This message is based on a template that you configured in your call to create or update a user pool. This template includes your custom sign-up instructions and placeholders for
34
- * user name and temporary password.</p>
35
- * <p>Alternatively, you can call <code>AdminCreateUser</code> with <code>SUPPRESS</code> for the <code>MessageAction</code> parameter, and Amazon Cognito won't send any email. </p>
36
- * <p>In either case, the user will be in the <code>FORCE_CHANGE_PASSWORD</code> state until they sign in and change their password.</p>
32
+ * <p>This message is based on a template that you configured in your call to create or
33
+ * update a user pool. This template includes your custom sign-up instructions and
34
+ * placeholders for user name and temporary password.</p>
35
+ * <p>Alternatively, you can call <code>AdminCreateUser</code> with <code>SUPPRESS</code>
36
+ * for the <code>MessageAction</code> parameter, and Amazon Cognito won't send any email. </p>
37
+ * <p>In either case, the user will be in the <code>FORCE_CHANGE_PASSWORD</code> state until
38
+ * they sign in and change their password.</p>
37
39
  * <p>
38
40
  * <code>AdminCreateUser</code> requires developer credentials.</p>
39
41
  * @example
@@ -7,7 +7,8 @@ export interface AdminDeleteUserAttributesCommandInput extends AdminDeleteUserAt
7
7
  export interface AdminDeleteUserAttributesCommandOutput extends AdminDeleteUserAttributesResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes the user attributes in a user pool as an administrator. Works on any user.</p>
10
+ * <p>Deletes the user attributes in a user pool as an administrator. Works on any
11
+ * user.</p>
11
12
  * <p>Calling this action requires developer credentials.</p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
@@ -8,22 +8,33 @@ export interface AdminDisableProviderForUserCommandOutput extends AdminDisablePr
8
8
  }
9
9
  /**
10
10
  * <p>Prevents the user from signing in with the specified external (SAML or social)
11
- * identity provider. If the user that you want to deactivate is a Amazon Cognito user pools native
12
- * username + password user, they can't use their password to sign in. If the user to
13
- * deactivate is a linked external identity provider (IdP) user, any link between that user
14
- * and an existing user is removed. When the external user signs in again, and the user is
15
- * no longer attached to the previously linked <code>DestinationUser</code>, the user must
16
- * create a new user account. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminLinkProviderForUser.html">AdminLinkProviderForUser</a>.</p>
17
- * <p>This action is enabled only for admin access and requires developer credentials.</p>
18
- * <p>The <code>ProviderName</code> must match the value specified when creating an IdP for the pool. </p>
19
- * <p>To deactivate a native username + password user, the <code>ProviderName</code> value must be <code>Cognito</code> and the <code>ProviderAttributeName</code> must be <code>Cognito_Subject</code>.
20
- * The <code>ProviderAttributeValue</code> must be the name that is used in the user pool for the user.</p>
21
- * <p>The <code>ProviderAttributeName</code> must always be <code>Cognito_Subject</code> for social identity providers. The <code>ProviderAttributeValue</code> must always be the exact
22
- * subject that was used when the user was originally linked as a source user.</p>
23
- * <p>For de-linking a SAML identity, there are two scenarios. If the linked identity has not yet been used to sign in, the <code>ProviderAttributeName</code> and <code>ProviderAttributeValue</code>
24
- * must be the same values that were used for the <code>SourceUser</code> when the identities were originally linked using <code> AdminLinkProviderForUser</code> call. (If the linking was done
25
- * with <code>ProviderAttributeName</code> set to <code>Cognito_Subject</code>, the same applies here). However, if the user has already signed in, the <code>ProviderAttributeName</code> must
26
- * be <code>Cognito_Subject</code> and <code>ProviderAttributeValue</code> must be the subject of the SAML assertion.</p>
11
+ * identity provider (IdP). If the user that you want to deactivate is a Amazon Cognito user pools
12
+ * native username + password user, they can't use their password to sign in. If the user
13
+ * to deactivate is a linked external IdP user, any link between that user and an existing
14
+ * user is removed. When the external user signs in again, and the user is no longer
15
+ * attached to the previously linked <code>DestinationUser</code>, the user must create a
16
+ * new user account. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminLinkProviderForUser.html">AdminLinkProviderForUser</a>.</p>
17
+ * <p>This action is enabled only for admin access and requires developer
18
+ * credentials.</p>
19
+ * <p>The <code>ProviderName</code> must match the value specified when creating an IdP for
20
+ * the pool. </p>
21
+ * <p>To deactivate a native username + password user, the <code>ProviderName</code> value
22
+ * must be <code>Cognito</code> and the <code>ProviderAttributeName</code> must be
23
+ * <code>Cognito_Subject</code>. The <code>ProviderAttributeValue</code> must be the
24
+ * name that is used in the user pool for the user.</p>
25
+ * <p>The <code>ProviderAttributeName</code> must always be <code>Cognito_Subject</code> for
26
+ * social IdPs. The <code>ProviderAttributeValue</code> must always be the exact subject
27
+ * that was used when the user was originally linked as a source user.</p>
28
+ * <p>For de-linking a SAML identity, there are two scenarios. If the linked identity has
29
+ * not yet been used to sign in, the <code>ProviderAttributeName</code> and
30
+ * <code>ProviderAttributeValue</code> must be the same values that were used for the
31
+ * <code>SourceUser</code> when the identities were originally linked using <code>
32
+ * AdminLinkProviderForUser</code> call. (If the linking was done with
33
+ * <code>ProviderAttributeName</code> set to <code>Cognito_Subject</code>, the same
34
+ * applies here). However, if the user has already signed in, the
35
+ * <code>ProviderAttributeName</code> must be <code>Cognito_Subject</code> and
36
+ * <code>ProviderAttributeValue</code> must be the subject of the SAML
37
+ * assertion.</p>
27
38
  * @example
28
39
  * Use a bare-bones client and the command you need to make an API call.
29
40
  * ```javascript
@@ -7,7 +7,8 @@ export interface AdminGetUserCommandInput extends AdminGetUserRequest {
7
7
  export interface AdminGetUserCommandOutput extends AdminGetUserResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Gets the specified user by user name in a user pool as an administrator. Works on any user.</p>
10
+ * <p>Gets the specified user by user name in a user pool as an administrator. Works on any
11
+ * user.</p>
11
12
  * <p>Calling this action requires developer credentials.</p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
@@ -9,7 +9,6 @@ export interface AdminInitiateAuthCommandOutput extends AdminInitiateAuthRespons
9
9
  /**
10
10
  * <p>Initiates the authentication flow, as an administrator.</p>
11
11
  *
12
- *
13
12
  * <note>
14
13
  * <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers
15
14
  * require you to register an origination phone number before you can send SMS messages
@@ -7,18 +7,23 @@ export interface AdminLinkProviderForUserCommandInput extends AdminLinkProviderF
7
7
  export interface AdminLinkProviderForUserCommandOutput extends AdminLinkProviderForUserResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Links an existing user account in a user pool (<code>DestinationUser</code>) to an identity from an external identity provider (<code>SourceUser</code>) based on a specified
11
- * attribute name and value from the external identity provider. This allows you to create a link from the existing user account to an external federated user identity that has not
12
- * yet been used to sign in. You can then use the federated user identity to sign in as the existing user account. </p>
13
- * <p> For example, if there is an existing user with a username and password, this API links that user to a federated user identity. When the user signs in with a federated user
14
- * identity, they sign in as the existing user account.</p>
15
- * <note>
16
- * <p>The maximum number of federated identities linked to a user is 5.</p>
17
- * </note>
18
- * <important>
19
- * <p>Because this API allows a user with an external federated identity to sign in as an existing user in the user pool, it is critical that it only be used with external
20
- * identity providers and provider attributes that have been trusted by the application owner.</p>
21
- * </important>
10
+ * <p>Links an existing user account in a user pool (<code>DestinationUser</code>) to an
11
+ * identity from an external IdP (<code>SourceUser</code>) based on a specified attribute
12
+ * name and value from the external IdP. This allows you to create a link from the existing
13
+ * user account to an external federated user identity that has not yet been used to sign
14
+ * in. You can then use the federated user identity to sign in as the existing user
15
+ * account. </p>
16
+ * <p> For example, if there is an existing user with a username and password, this API
17
+ * links that user to a federated user identity. When the user signs in with a federated
18
+ * user identity, they sign in as the existing user account.</p>
19
+ * <note>
20
+ * <p>The maximum number of federated identities linked to a user is five.</p>
21
+ * </note>
22
+ * <important>
23
+ * <p>Because this API allows a user with an external federated identity to sign in as
24
+ * an existing user in the user pool, it is critical that it only be used with external
25
+ * IdPs and provider attributes that have been trusted by the application owner.</p>
26
+ * </important>
22
27
  *
23
28
  * <p>This action is administrative and requires developer credentials.</p>
24
29
  * @example
@@ -7,7 +7,8 @@ export interface AdminListUserAuthEventsCommandInput extends AdminListUserAuthEv
7
7
  export interface AdminListUserAuthEventsCommandOutput extends AdminListUserAuthEventsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>A history of user activity and any risks detected as part of Amazon Cognito advanced security.</p>
10
+ * <p>A history of user activity and any risks detected as part of Amazon Cognito advanced
11
+ * security.</p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -7,12 +7,16 @@ export interface AdminResetUserPasswordCommandInput extends AdminResetUserPasswo
7
7
  export interface AdminResetUserPasswordCommandOutput extends AdminResetUserPasswordResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Resets the specified user's password in a user pool as an administrator. Works on any user.</p>
11
- * <p>When a developer calls this API, the current password is invalidated, so it must be changed. If a user tries to sign in after the API is called,
12
- * the app will get a PasswordResetRequiredException exception back and should direct the user down the flow to reset the password, which is the same
13
- * as the forgot password flow. In addition, if the user pool has phone verification selected and a verified phone number exists for the user, or if
14
- * email verification is selected and a verified email exists for the user, calling this API will also result in sending a message to the end user
15
- * with the code to change their password.</p>
10
+ * <p>Resets the specified user's password in a user pool as an administrator. Works on any
11
+ * user.</p>
12
+ * <p>When a developer calls this API, the current password is invalidated, so it must be
13
+ * changed. If a user tries to sign in after the API is called, the app will get a
14
+ * PasswordResetRequiredException exception back and should direct the user down the flow
15
+ * to reset the password, which is the same as the forgot password flow. In addition, if
16
+ * the user pool has phone verification selected and a verified phone number exists for the
17
+ * user, or if email verification is selected and a verified email exists for the user,
18
+ * calling this API will also result in sending a message to the end user with the code to
19
+ * change their password.</p>
16
20
  *
17
21
  * <note>
18
22
  * <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers
@@ -7,9 +7,11 @@ export interface AdminSetUserMFAPreferenceCommandInput extends AdminSetUserMFAPr
7
7
  export interface AdminSetUserMFAPreferenceCommandOutput extends AdminSetUserMFAPreferenceResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>The user's multi-factor authentication (MFA) preference, including which MFA options are activated, and if any are preferred. Only one factor can be set as preferred. The preferred
11
- * MFA factor will be used to authenticate a user if multiple factors are activated. If multiple options are activated and no preference is set, a challenge to choose an MFA option will
12
- * be returned during sign-in.</p>
10
+ * <p>The user's multi-factor authentication (MFA) preference, including which MFA options
11
+ * are activated, and if any are preferred. Only one factor can be set as preferred. The
12
+ * preferred MFA factor will be used to authenticate a user if multiple factors are
13
+ * activated. If multiple options are activated and no preference is set, a challenge to
14
+ * choose an MFA option will be returned during sign-in.</p>
13
15
  * @example
14
16
  * Use a bare-bones client and the command you need to make an API call.
15
17
  * ```javascript
@@ -7,11 +7,16 @@ export interface AdminSetUserPasswordCommandInput extends AdminSetUserPasswordRe
7
7
  export interface AdminSetUserPasswordCommandOutput extends AdminSetUserPasswordResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Sets the specified user's password in a user pool as an administrator. Works on any user. </p>
11
- * <p>The password can be temporary or permanent. If it is temporary, the user status enters the <code>FORCE_CHANGE_PASSWORD</code> state. When the user next tries to sign in,
12
- * the InitiateAuth/AdminInitiateAuth response will contain the <code>NEW_PASSWORD_REQUIRED</code> challenge. If the user doesn't sign in before it expires, the user won't be
13
- * able to sign in, and an administrator must reset their password. </p>
14
- * <p>Once the user has set a new password, or the password is permanent, the user status is set to <code>Confirmed</code>.</p>
10
+ * <p>Sets the specified user's password in a user pool as an administrator. Works on any
11
+ * user. </p>
12
+ * <p>The password can be temporary or permanent. If it is temporary, the user status enters
13
+ * the <code>FORCE_CHANGE_PASSWORD</code> state. When the user next tries to sign in, the
14
+ * InitiateAuth/AdminInitiateAuth response will contain the
15
+ * <code>NEW_PASSWORD_REQUIRED</code> challenge. If the user doesn't sign in before it
16
+ * expires, the user won't be able to sign in, and an administrator must reset their
17
+ * password. </p>
18
+ * <p>Once the user has set a new password, or the password is permanent, the user status is
19
+ * set to <code>Confirmed</code>.</p>
15
20
  * @example
16
21
  * Use a bare-bones client and the command you need to make an API call.
17
22
  * ```javascript
@@ -8,9 +8,9 @@ export interface AdminSetUserSettingsCommandOutput extends AdminSetUserSettingsR
8
8
  }
9
9
  /**
10
10
  * <p>
11
- * <i>This action is no longer supported.</i> You can use it to configure only SMS MFA. You can't use it to configure time-based one-time password (TOTP)
12
- * software token MFA. To configure either type of MFA,
13
- * use <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminSetUserMFAPreference.html">AdminSetUserMFAPreference</a> instead.</p>
11
+ * <i>This action is no longer supported.</i> You can use it to configure
12
+ * only SMS MFA. You can't use it to configure time-based one-time password (TOTP) software
13
+ * token MFA. To configure either type of MFA, use <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminSetUserMFAPreference.html">AdminSetUserMFAPreference</a> instead.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -7,8 +7,9 @@ export interface AdminUpdateAuthEventFeedbackCommandInput extends AdminUpdateAut
7
7
  export interface AdminUpdateAuthEventFeedbackCommandOutput extends AdminUpdateAuthEventFeedbackResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Provides feedback for an authentication event indicating if it was from a valid user. This feedback is used for improving the risk evaluation decision for the user pool
11
- * as part of Amazon Cognito advanced security.</p>
10
+ * <p>Provides feedback for an authentication event indicating if it was from a valid user.
11
+ * This feedback is used for improving the risk evaluation decision for the user pool as
12
+ * part of Amazon Cognito advanced security.</p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
14
15
  * ```javascript
@@ -7,9 +7,12 @@ export interface AdminUpdateUserAttributesCommandInput extends AdminUpdateUserAt
7
7
  export interface AdminUpdateUserAttributesCommandOutput extends AdminUpdateUserAttributesResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user.</p>
11
- * <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the attribute name.</p>
12
- * <p>In addition to updating user attributes, this API can also be used to mark phone and email as verified.</p>
10
+ * <p>Updates the specified user's attributes, including developer attributes, as an
11
+ * administrator. Works on any user.</p>
12
+ * <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the
13
+ * attribute name.</p>
14
+ * <p>In addition to updating user attributes, this API can also be used to mark phone and
15
+ * email as verified.</p>
13
16
  *
14
17
  * <note>
15
18
  * <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers
@@ -7,8 +7,12 @@ export interface AdminUserGlobalSignOutCommandInput extends AdminUserGlobalSignO
7
7
  export interface AdminUserGlobalSignOutCommandOutput extends AdminUserGlobalSignOutResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Signs out users from all devices, as an administrator. It also invalidates all refresh tokens issued to a user. The user's current access and Id tokens remain valid until their expiry. Access and
11
- * Id tokens expire one hour after they're issued.</p>
10
+ * <p>Signs out a user from all devices. You must sign <code>AdminUserGlobalSignOut</code> requests
11
+ * with Amazon Web Services credentials. It also invalidates all refresh tokens that Amazon Cognito has issued to
12
+ * a user. The user's current access and ID tokens remain valid until they expire. By
13
+ * default, access and ID tokens expire one hour after they're issued. A user can still use
14
+ * a hosted UI cookie to retrieve new tokens for the duration of the cookie validity period
15
+ * of 1 hour.</p>
12
16
  * <p>Calling this action requires developer credentials.</p>
13
17
  * @example
14
18
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,12 +7,16 @@ export interface AssociateSoftwareTokenCommandInput extends AssociateSoftwareTok
7
7
  export interface AssociateSoftwareTokenCommandOutput extends AssociateSoftwareTokenResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Returns a unique generated shared secret key code for the user account. The request takes an access token or a session string, but not both.</p>
11
- * <note>
12
- * <p>Calling AssociateSoftwareToken immediately disassociates the existing software token from the user account. If the user doesn't subsequently verify the software token,
13
- * their account is set up to authenticate without MFA. If MFA config is set to Optional at the user pool level, the user can then log in without MFA. However, if MFA is
14
- * set to Required for the user pool, the user is asked to set up a new software token MFA during sign-in.</p>
15
- * </note>
10
+ * <p>Returns a unique generated shared secret key code for the user account. The request
11
+ * takes an access token or a session string, but not both.</p>
12
+ * <note>
13
+ * <p>Calling AssociateSoftwareToken immediately disassociates the existing software
14
+ * token from the user account. If the user doesn't subsequently verify the software
15
+ * token, their account is set up to authenticate without MFA. If MFA config is set to
16
+ * Optional at the user pool level, the user can then log in without MFA. However, if
17
+ * MFA is set to Required for the user pool, the user is asked to set up a new software
18
+ * token MFA during sign-in.</p>
19
+ * </note>
16
20
  * @example
17
21
  * Use a bare-bones client and the command you need to make an API call.
18
22
  * ```javascript
@@ -7,7 +7,8 @@ export interface ConfirmDeviceCommandInput extends ConfirmDeviceRequest {
7
7
  export interface ConfirmDeviceCommandOutput extends ConfirmDeviceResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Confirms tracking of the device. This API call is the call that begins device tracking.</p>
10
+ * <p>Confirms tracking of the device. This API call is the call that begins device
11
+ * tracking.</p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -7,7 +7,7 @@ export interface ConfirmSignUpCommandInput extends ConfirmSignUpRequest {
7
7
  export interface ConfirmSignUpCommandOutput extends ConfirmSignUpResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Confirms registration of a user and handles the existing alias from a previous user.</p>
10
+ * <p>Confirms registration of a new user.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface CreateIdentityProviderCommandInput extends CreateIdentityProvid
7
7
  export interface CreateIdentityProviderCommandOutput extends CreateIdentityProviderResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates an identity provider for a user pool.</p>
10
+ * <p>Creates an IdP for a user pool.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -8,8 +8,8 @@ export interface CreateUserPoolClientCommandOutput extends CreateUserPoolClientR
8
8
  }
9
9
  /**
10
10
  * <p>Creates the user pool client.</p>
11
- * <p>When you create a new user pool client, token revocation is automatically activated. For more information about revoking tokens,
12
- * see <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html">RevokeToken</a>.</p>
11
+ * <p>When you create a new user pool client, token revocation is automatically activated.
12
+ * For more information about revoking tokens, see <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html">RevokeToken</a>.</p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
15
15
  * ```javascript
@@ -7,7 +7,8 @@ export interface CreateUserPoolCommandInput extends CreateUserPoolRequest {
7
7
  export interface CreateUserPoolCommandOutput extends CreateUserPoolResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates a new Amazon Cognito user pool and sets the password policy for the pool.</p>
10
+ * <p>Creates a new Amazon Cognito user pool and sets the password policy for the
11
+ * pool.</p>
11
12
  *
12
13
  * <note>
13
14
  * <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers
@@ -7,7 +7,7 @@ export interface DeleteIdentityProviderCommandInput extends DeleteIdentityProvid
7
7
  export interface DeleteIdentityProviderCommandOutput extends __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes an identity provider for a user pool.</p>
10
+ * <p>Deletes an IdP for a user pool.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface DescribeIdentityProviderCommandInput extends DescribeIdentityPr
7
7
  export interface DescribeIdentityProviderCommandOutput extends DescribeIdentityProviderResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Gets information about a specific identity provider.</p>
10
+ * <p>Gets information about a specific IdP.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,8 @@ export interface DescribeUserPoolClientCommandInput extends DescribeUserPoolClie
7
7
  export interface DescribeUserPoolClientCommandOutput extends DescribeUserPoolClientResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Client method for returning the configuration information and metadata of the specified user pool app client.</p>
10
+ * <p>Client method for returning the configuration information and metadata of the
11
+ * specified user pool app client.</p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -7,14 +7,14 @@ export interface ForgotPasswordCommandInput extends ForgotPasswordRequest {
7
7
  export interface ForgotPasswordCommandOutput extends ForgotPasswordResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user's password. For the
11
- * <code>Username</code> parameter, you can use the username or user alias. The method used to send the confirmation code is sent according to the
12
- * specified AccountRecoverySetting. For more information,
13
- * see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/how-to-recover-a-user-account.html">Recovering User Accounts</a>
14
- * in the <i>Amazon Cognito Developer Guide</i>. If neither a verified phone number nor a verified email exists,
15
- * an <code>InvalidParameterException</code> is thrown. To use the confirmation code for resetting the password,
16
- * call <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmForgotPassword.html">ConfirmForgotPassword</a>.
17
- * </p>
10
+ * <p>Calling this API causes a message to be sent to the end user with a confirmation code
11
+ * that is required to change the user's password. For the <code>Username</code> parameter,
12
+ * you can use the username or user alias. The method used to send the confirmation code is
13
+ * sent according to the specified AccountRecoverySetting. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/how-to-recover-a-user-account.html">Recovering
14
+ * User Accounts</a> in the <i>Amazon Cognito Developer Guide</i>. If
15
+ * neither a verified phone number nor a verified email exists, an
16
+ * <code>InvalidParameterException</code> is thrown. To use the confirmation code for
17
+ * resetting the password, call <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmForgotPassword.html">ConfirmForgotPassword</a>. </p>
18
18
  *
19
19
  * <note>
20
20
  * <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers
@@ -7,7 +7,8 @@ export interface GetCSVHeaderCommandInput extends GetCSVHeaderRequest {
7
7
  export interface GetCSVHeaderCommandOutput extends GetCSVHeaderResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Gets the header information for the comma-separated value (CSV) file to be used as input for the user import job.</p>
10
+ * <p>Gets the header information for the comma-separated value (CSV) file to be used as
11
+ * input for the user import job.</p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -7,7 +7,7 @@ export interface GetIdentityProviderByIdentifierCommandInput extends GetIdentity
7
7
  export interface GetIdentityProviderByIdentifierCommandOutput extends GetIdentityProviderByIdentifierResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Gets the specified identity provider.</p>
10
+ * <p>Gets the specified IdP.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,8 +7,11 @@ export interface GetUICustomizationCommandInput extends GetUICustomizationReques
7
7
  export interface GetUICustomizationCommandOutput extends GetUICustomizationResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Gets the user interface (UI) Customization information for a particular app client's app UI, if any such information exists for the client. If nothing is set for the particular client,
11
- * but there is an existing pool level customization (the app <code>clientId</code> is <code>ALL</code>), then that information is returned. If nothing is present, then an empty shape is returned.</p>
10
+ * <p>Gets the user interface (UI) Customization information for a particular app client's
11
+ * app UI, if any such information exists for the client. If nothing is set for the
12
+ * particular client, but there is an existing pool level customization (the app
13
+ * <code>clientId</code> is <code>ALL</code>), then that information is returned. If
14
+ * nothing is present, then an empty shape is returned.</p>
12
15
  * @example
13
16
  * Use a bare-bones client and the command you need to make an API call.
14
17
  * ```javascript
@@ -7,7 +7,9 @@ export interface GetUserAttributeVerificationCodeCommandInput extends GetUserAtt
7
7
  export interface GetUserAttributeVerificationCodeCommandOutput extends GetUserAttributeVerificationCodeResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Gets the user attribute verification code for the specified attribute name.</p>
10
+ * <p>Generates a user attribute verification code for the specified attribute name. Sends a
11
+ * message to a user with a code that they must return in a VerifyUserAttribute
12
+ * request.</p>
11
13
  *
12
14
  * <note>
13
15
  * <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers
@@ -7,8 +7,11 @@ export interface GlobalSignOutCommandInput extends GlobalSignOutRequest {
7
7
  export interface GlobalSignOutCommandOutput extends GlobalSignOutResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Signs out users from all devices. It also invalidates all refresh tokens issued to a user. The user's current access and ID tokens remain valid until their expiry. Access and Id tokens expire
11
- * one hour after they're issued.</p>
10
+ * <p>Signs out users from all devices. It also invalidates all refresh tokens that Amazon Cognito
11
+ * has issued to a user. The user's current access and ID tokens remain valid until their
12
+ * expiry. By default, access and ID tokens expire one hour after Amazon Cognito issues them. A user
13
+ * can still use a hosted UI cookie to retrieve new tokens for the duration of the cookie
14
+ * validity period of 1 hour.</p>
12
15
  * @example
13
16
  * Use a bare-bones client and the command you need to make an API call.
14
17
  * ```javascript
@@ -7,7 +7,8 @@ export interface InitiateAuthCommandInput extends InitiateAuthRequest {
7
7
  export interface InitiateAuthCommandOutput extends InitiateAuthResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Initiates the authentication flow.</p>
10
+ * <p>Initiates sign-in for a user in the Amazon Cognito user directory. You can't sign in a user
11
+ * with a federated IdP with <code>InitiateAuth</code>. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation.html"> Adding user pool sign-in through a third party</a>.</p>
11
12
  *
12
13
  * <note>
13
14
  * <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers
@@ -7,7 +7,7 @@ export interface ListDevicesCommandInput extends ListDevicesRequest {
7
7
  export interface ListDevicesCommandOutput extends ListDevicesResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Lists the devices.</p>
10
+ * <p>Lists the sign-in devices that Amazon Cognito has registered to the current user.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface ListIdentityProvidersCommandInput extends ListIdentityProviders
7
7
  export interface ListIdentityProvidersCommandOutput extends ListIdentityProvidersResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Lists information about all identity providers for a user pool.</p>
10
+ * <p>Lists information about all IdPs for a user pool.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -8,7 +8,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
8
8
  }
9
9
  /**
10
10
  * <p>Lists the tags that are assigned to an Amazon Cognito user pool.</p>
11
- * <p>A tag is a label that you can apply to user pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.</p>
11
+ * <p>A tag is a label that you can apply to user pools to categorize and manage them in
12
+ * different ways, such as by purpose, owner, environment, or other criteria.</p>
12
13
  * <p>You can use this action up to 10 times per second, per account.</p>
13
14
  * @example
14
15
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,7 +7,8 @@ export interface ResendConfirmationCodeCommandInput extends ResendConfirmationCo
7
7
  export interface ResendConfirmationCodeCommandOutput extends ResendConfirmationCodeResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Resends the confirmation (for confirmation of registration) to a specific user in the user pool.</p>
10
+ * <p>Resends the confirmation (for confirmation of registration) to a specific user in the
11
+ * user pool.</p>
11
12
  *
12
13
  * <note>
13
14
  * <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers