@aws-sdk/client-cognito-identity-provider 3.48.0 → 3.49.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 (56) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +3 -7
  3. package/dist-types/CognitoIdentityProvider.d.ts +367 -457
  4. package/dist-types/CognitoIdentityProviderClient.d.ts +3 -7
  5. package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +1 -2
  6. package/dist-types/commands/AdminCreateUserCommand.d.ts +20 -23
  7. package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +1 -2
  8. package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +14 -28
  9. package/dist-types/commands/AdminGetUserCommand.d.ts +1 -2
  10. package/dist-types/commands/AdminInitiateAuthCommand.d.ts +14 -14
  11. package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +12 -19
  12. package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +1 -2
  13. package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +20 -24
  14. package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +14 -14
  15. package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +3 -5
  16. package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +5 -10
  17. package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +3 -3
  18. package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +2 -3
  19. package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +17 -20
  20. package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +2 -3
  21. package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +6 -10
  22. package/dist-types/commands/ConfirmDeviceCommand.d.ts +1 -2
  23. package/dist-types/commands/ConfirmSignUpCommand.d.ts +1 -2
  24. package/dist-types/commands/CreateResourceServerCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateUserPoolClientCommand.d.ts +2 -2
  26. package/dist-types/commands/CreateUserPoolCommand.d.ts +16 -16
  27. package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +1 -2
  28. package/dist-types/commands/ForgotPasswordCommand.d.ts +23 -22
  29. package/dist-types/commands/GetCSVHeaderCommand.d.ts +1 -2
  30. package/dist-types/commands/GetUICustomizationCommand.d.ts +2 -4
  31. package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +15 -14
  32. package/dist-types/commands/GlobalSignOutCommand.d.ts +2 -3
  33. package/dist-types/commands/InitiateAuthCommand.d.ts +14 -14
  34. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
  35. package/dist-types/commands/ListUserPoolsCommand.d.ts +1 -1
  36. package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +16 -16
  37. package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +14 -14
  38. package/dist-types/commands/RevokeTokenCommand.d.ts +1 -2
  39. package/dist-types/commands/SetRiskConfigurationCommand.d.ts +2 -5
  40. package/dist-types/commands/SetUICustomizationCommand.d.ts +7 -12
  41. package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +6 -9
  42. package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +17 -17
  43. package/dist-types/commands/SetUserSettingsCommand.d.ts +2 -3
  44. package/dist-types/commands/SignUpCommand.d.ts +16 -16
  45. package/dist-types/commands/TagResourceCommand.d.ts +7 -14
  46. package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
  47. package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +2 -3
  48. package/dist-types/commands/UpdateResourceServerCommand.d.ts +3 -4
  49. package/dist-types/commands/UpdateUserAttributesCommand.d.ts +15 -14
  50. package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +7 -8
  51. package/dist-types/commands/UpdateUserPoolCommand.d.ts +18 -17
  52. package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +11 -20
  53. package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +2 -3
  54. package/dist-types/models/models_0.d.ts +1409 -2027
  55. package/dist-types/models/models_1.d.ts +125 -192
  56. package/package.json +39 -33
@@ -7,9 +7,8 @@ export interface UpdateAuthEventFeedbackCommandInput extends UpdateAuthEventFeed
7
7
  export interface UpdateAuthEventFeedbackCommandOutput extends UpdateAuthEventFeedbackResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Provides the feedback for an authentication event whether it was from a valid user or
11
- * not. This feedback is used for improving the risk evaluation decision for the user pool
12
- * as part of Amazon Cognito advanced security.</p>
10
+ * <p>Provides the feedback for an authentication event, whether it was from a valid user or not. This feedback is used for improving the risk evaluation decision for the user pool as part
11
+ * of Amazon Cognito advanced security.</p>
13
12
  * @example
14
13
  * Use a bare-bones client and the command you need to make an API call.
15
14
  * ```javascript
@@ -8,10 +8,9 @@ export interface UpdateResourceServerCommandOutput extends UpdateResourceServerR
8
8
  }
9
9
  /**
10
10
  * <p>Updates the name and scopes of resource server. All other fields are read-only.</p>
11
- * <important>
12
- * <p>If you don't provide a value for an attribute, it will be set to the default
13
- * value.</p>
14
- * </important>
11
+ * <important>
12
+ * <p>If you don't provide a value for an attribute, it is set to the default value.</p>
13
+ * </important>
15
14
  * @example
16
15
  * Use a bare-bones client and the command you need to make an API call.
17
16
  * ```javascript
@@ -9,21 +9,22 @@ export interface UpdateUserAttributesCommandOutput extends UpdateUserAttributesR
9
9
  /**
10
10
  * <p>Allows a user to update a specific attribute (one at a time).</p>
11
11
  *
12
+ *
12
13
  * <note>
13
- * <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
14
- * telecom carriers require that you register an origination phone number before you can
15
- * send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
16
- * you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
17
- * Cognito will use the the registered number automatically. Otherwise, Cognito users that must
18
- * receive SMS messages might be unable to sign up, activate their accounts, or sign
19
- * in.</p>
20
- * <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
21
- * <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
22
- * mode</a>
23
- * </i>, you’ll have limitations, such as sending messages
24
- * to only verified phone numbers. After testing in the sandbox environment, you can
25
- * move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
26
- * Cognito Developer Guide</i>. </p>
14
+ * <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an
15
+ * origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must
16
+ * register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>. Amazon Cognito will use the registered number
17
+ * automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts,
18
+ * or sign in.</p>
19
+ * <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service
20
+ * might place your account in SMS sandbox. In
21
+ * <i>
22
+ * <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox mode</a>
23
+ * </i>, you will have
24
+ * limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move
25
+ * out of the SMS sandbox and into production. For more information, see
26
+ * <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS
27
+ * message settings for Amazon Cognito User Pools</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
27
28
  * </note>
28
29
  * @example
29
30
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,14 +7,13 @@ export interface UpdateUserPoolClientCommandInput extends UpdateUserPoolClientRe
7
7
  export interface UpdateUserPoolClientCommandOutput extends UpdateUserPoolClientResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Updates the specified user pool app client with the specified attributes. You can get
11
- * a list of the current user pool app client settings using <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPoolClient.html">DescribeUserPoolClient</a>.</p>
12
- * <important>
13
- * <p>If you don't provide a value for an attribute, it will be set to the default
14
- * value.</p>
15
- * </important>
16
- * <p>You can also use this operation to enable token revocation for user pool clients. For more information
17
- * about revoking tokens, see <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html">RevokeToken</a>.</p>
10
+ * <p>Updates the specified user pool app client with the specified attributes. You can get a list of the current user pool app client settings using
11
+ * <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPoolClient.html">DescribeUserPoolClient</a>.</p>
12
+ * <important>
13
+ * <p>If you don't provide a value for an attribute, it will be set to the default value.</p>
14
+ * </important>
15
+ * <p>You can also use this operation to enable token revocation for user pool clients. For more information about revoking tokens,
16
+ * see <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html">RevokeToken</a>.</p>
18
17
  * @example
19
18
  * Use a bare-bones client and the command you need to make an API call.
20
19
  * ```javascript
@@ -7,25 +7,26 @@ export interface UpdateUserPoolCommandInput extends UpdateUserPoolRequest {
7
7
  export interface UpdateUserPoolCommandOutput extends UpdateUserPoolResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Updates the specified user pool with the specified attributes. You can get a list of
11
- * the current user pool settings using <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html">DescribeUserPool</a>. If you don't provide a value for an attribute, it will be set to the default
12
- * value.</p>
10
+ * <p>Updates the specified user pool with the specified attributes. You can get a list of the current user pool settings using
11
+ * <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html">DescribeUserPool</a>.
12
+ * If you don't provide a value for an attribute, it will be set to the default value.</p>
13
+ *
13
14
  *
14
15
  * <note>
15
- * <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
16
- * telecom carriers require that you register an origination phone number before you can
17
- * send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
18
- * you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
19
- * Cognito will use the the registered number automatically. Otherwise, Cognito users that must
20
- * receive SMS messages might be unable to sign up, activate their accounts, or sign
21
- * in.</p>
22
- * <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
23
- * <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
24
- * mode</a>
25
- * </i>, you’ll have limitations, such as sending messages
26
- * to only verified phone numbers. After testing in the sandbox environment, you can
27
- * move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
28
- * Cognito Developer Guide</i>. </p>
16
+ * <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an
17
+ * origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must
18
+ * register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>. Amazon Cognito will use the registered number
19
+ * automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts,
20
+ * or sign in.</p>
21
+ * <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service
22
+ * might place your account in SMS sandbox. In
23
+ * <i>
24
+ * <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox mode</a>
25
+ * </i>, you will have
26
+ * limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move
27
+ * out of the SMS sandbox and into production. For more information, see
28
+ * <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS
29
+ * message settings for Amazon Cognito User Pools</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
29
30
  * </note>
30
31
  * @example
31
32
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,27 +7,18 @@ export interface UpdateUserPoolDomainCommandInput extends UpdateUserPoolDomainRe
7
7
  export interface UpdateUserPoolDomainCommandOutput extends UpdateUserPoolDomainResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your user
11
- * pool.</p>
12
- * <p>You can use this operation to provide the Amazon Resource Name (ARN) of a new
13
- * certificate to Amazon Cognito. You cannot use it to change the domain for a user
14
- * pool.</p>
15
- * <p>A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up
16
- * and sign-in pages for your application. When you set up a custom domain, you provide a
17
- * certificate that you manage with Certificate Manager (ACM). When necessary, you can
18
- * use this operation to change the certificate that you applied to your custom
19
- * domain.</p>
20
- * <p>Usually, this is unnecessary following routine certificate renewal with ACM. When you
21
- * renew your existing certificate in ACM, the ARN for your certificate remains the same,
10
+ * <p>Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your user pool.</p>
11
+ * <p>You can use this operation to provide the Amazon Resource Name (ARN) of a new certificate to Amazon Cognito. You can't use it to change the domain for a user pool.</p>
12
+ * <p>A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up and sign-in pages for your application. When you set up a custom domain, you provide a certificate that you
13
+ * manage with Certificate Manager (ACM). When necessary, you can use this operation to change the certificate that you applied to your custom domain.</p>
14
+ * <p>Usually, this is unnecessary following routine certificate renewal with ACM. When you renew your existing certificate in ACM, the ARN for your certificate remains the same,
22
15
  * and your custom domain uses the new certificate automatically.</p>
23
- * <p>However, if you replace your existing certificate with a new one, ACM gives the new
24
- * certificate a new ARN. To apply the new certificate to your custom domain, you must
25
- * provide this ARN to Amazon Cognito.</p>
26
- * <p>When you add your new certificate in ACM, you must choose US East (N. Virginia) as the
27
- * Region.</p>
28
- * <p>After you submit your request, Amazon Cognito requires up to 1 hour to distribute your
29
- * new certificate to your custom domain.</p>
30
- * <p>For more information about adding a custom domain to your user pool, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html">Using Your Own Domain for the Hosted UI</a>.</p>
16
+ * <p>However, if you replace your existing certificate with a new one, ACM gives the new certificate a new ARN. To apply the new certificate to your custom domain, you must provide
17
+ * this ARN to Amazon Cognito.</p>
18
+ * <p>When you add your new certificate in ACM, you must choose US East (N. Virginia) as the Amazon Web Services Region.</p>
19
+ * <p>After you submit your request, Amazon Cognito requires up to 1 hour to distribute your new certificate to your custom domain.</p>
20
+ * <p>For more information about adding a custom domain to your user pool,
21
+ * see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html">Using Your Own Domain for the Hosted UI</a>.</p>
31
22
  * @example
32
23
  * Use a bare-bones client and the command you need to make an API call.
33
24
  * ```javascript
@@ -7,9 +7,8 @@ export interface VerifySoftwareTokenCommandInput extends VerifySoftwareTokenRequ
7
7
  export interface VerifySoftwareTokenCommandOutput extends VerifySoftwareTokenResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Use this API to register a user's entered TOTP code and mark the user's software token
11
- * MFA status as "verified" if successful. The request takes an access token or a session
12
- * string, but not both.</p>
10
+ * <p>Use this API to register a user's entered time-based one-time password (TOTP) code and mark the user's software token MFA status as "verified" if successful. The request takes an access
11
+ * token or a session string, but not both.</p>
13
12
  * @example
14
13
  * Use a bare-bones client and the command you need to make an API call.
15
14
  * ```javascript