@aws-sdk/client-cognito-identity-provider 3.48.0 → 3.52.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.
- package/CHANGELOG.md +35 -0
- package/README.md +3 -7
- package/dist-types/CognitoIdentityProvider.d.ts +367 -457
- package/dist-types/CognitoIdentityProviderClient.d.ts +3 -7
- package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +1 -2
- package/dist-types/commands/AdminCreateUserCommand.d.ts +20 -23
- package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +1 -2
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +14 -28
- package/dist-types/commands/AdminGetUserCommand.d.ts +1 -2
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +14 -14
- package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +12 -19
- package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +1 -2
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +20 -24
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +14 -14
- package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +3 -5
- package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +5 -10
- package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +3 -3
- package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +2 -3
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +17 -20
- package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +2 -3
- package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +6 -10
- package/dist-types/commands/ConfirmDeviceCommand.d.ts +1 -2
- package/dist-types/commands/ConfirmSignUpCommand.d.ts +1 -2
- package/dist-types/commands/CreateResourceServerCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +2 -2
- package/dist-types/commands/CreateUserPoolCommand.d.ts +16 -16
- package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +1 -2
- package/dist-types/commands/ForgotPasswordCommand.d.ts +23 -22
- package/dist-types/commands/GetCSVHeaderCommand.d.ts +1 -2
- package/dist-types/commands/GetUICustomizationCommand.d.ts +2 -4
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +15 -14
- package/dist-types/commands/GlobalSignOutCommand.d.ts +2 -3
- package/dist-types/commands/InitiateAuthCommand.d.ts +14 -14
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
- package/dist-types/commands/ListUserPoolsCommand.d.ts +1 -1
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +16 -16
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +14 -14
- package/dist-types/commands/RevokeTokenCommand.d.ts +1 -2
- package/dist-types/commands/SetRiskConfigurationCommand.d.ts +2 -5
- package/dist-types/commands/SetUICustomizationCommand.d.ts +7 -12
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +6 -9
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +17 -17
- package/dist-types/commands/SetUserSettingsCommand.d.ts +2 -3
- package/dist-types/commands/SignUpCommand.d.ts +16 -16
- package/dist-types/commands/TagResourceCommand.d.ts +7 -14
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
- package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +2 -3
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +3 -4
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +15 -14
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +7 -8
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +18 -17
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +11 -20
- package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +2 -3
- package/dist-types/models/models_0.d.ts +1409 -2027
- package/dist-types/models/models_1.d.ts +125 -192
- package/package.json +40 -34
|
@@ -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
|
-
*
|
|
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
|
-
*
|
|
12
|
-
* <p>If you don't provide a value for an attribute, it
|
|
13
|
-
*
|
|
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,
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* in
|
|
20
|
-
*
|
|
21
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
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
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* <p>If you don't provide a value for an attribute, it will be set to the default
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
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
|
-
*
|
|
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,
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* in
|
|
22
|
-
*
|
|
23
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
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
|
-
*
|
|
12
|
-
* <p>
|
|
13
|
-
*
|
|
14
|
-
*
|
|
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
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* <p>
|
|
27
|
-
*
|
|
28
|
-
*
|
|
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
|
-
*
|
|
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
|