@aws-sdk/client-cognito-identity-provider 3.92.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.
- package/CHANGELOG.md +27 -0
- package/README.md +5 -2
- package/dist-cjs/commands/StartUserImportJobCommand.js +1 -2
- package/dist-cjs/models/models_0.js +15 -15
- package/dist-cjs/models/models_1.js +7 -1
- package/dist-cjs/protocols/Aws_json1_1.js +51 -0
- package/dist-es/commands/StartUserImportJobCommand.js +1 -2
- package/dist-es/models/models_0.js +9 -9
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +87 -39
- package/dist-types/CognitoIdentityProvider.d.ts +261 -157
- package/dist-types/CognitoIdentityProviderClient.d.ts +5 -2
- package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +2 -1
- package/dist-types/commands/AdminCreateUserCommand.d.ts +9 -7
- package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +2 -1
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +27 -16
- package/dist-types/commands/AdminGetUserCommand.d.ts +2 -1
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +0 -1
- package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +17 -12
- package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +2 -1
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +10 -6
- package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +5 -3
- package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +10 -5
- package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +3 -3
- package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +3 -2
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +6 -3
- package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +6 -2
- package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +10 -6
- package/dist-types/commands/ConfirmDeviceCommand.d.ts +2 -1
- package/dist-types/commands/ConfirmSignUpCommand.d.ts +1 -1
- package/dist-types/commands/CreateIdentityProviderCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +2 -2
- package/dist-types/commands/CreateUserPoolCommand.d.ts +2 -1
- package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +2 -1
- package/dist-types/commands/ForgotPasswordCommand.d.ts +8 -8
- package/dist-types/commands/GetCSVHeaderCommand.d.ts +2 -1
- package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +1 -1
- package/dist-types/commands/GetUICustomizationCommand.d.ts +5 -2
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +3 -1
- package/dist-types/commands/GlobalSignOutCommand.d.ts +5 -2
- package/dist-types/commands/InitiateAuthCommand.d.ts +2 -1
- package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +2 -1
- package/dist-types/commands/RevokeTokenCommand.d.ts +3 -1
- package/dist-types/commands/SetRiskConfigurationCommand.d.ts +5 -2
- package/dist-types/commands/SetUICustomizationCommand.d.ts +13 -7
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +8 -5
- package/dist-types/commands/SetUserSettingsCommand.d.ts +3 -2
- package/dist-types/commands/SignUpCommand.d.ts +2 -1
- package/dist-types/commands/StartUserImportJobCommand.d.ts +1 -2
- package/dist-types/commands/TagResourceCommand.d.ts +14 -7
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +3 -2
- package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +4 -3
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +8 -7
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +4 -3
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +19 -12
- package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +3 -2
- package/dist-types/commands/VerifyUserAttributeCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +1940 -1245
- package/dist-types/models/models_1.d.ts +247 -123
- package/dist-types/ts3.4/commands/StartUserImportJobCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +17 -15
- package/dist-types/ts3.4/models/models_1.d.ts +14 -1
- package/package.json +4 -4
|
@@ -7,7 +7,9 @@ export interface RevokeTokenCommandInput extends RevokeTokenRequest {
|
|
|
7
7
|
export interface RevokeTokenCommandOutput extends RevokeTokenResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Revokes all of the access tokens generated by the specified refresh token. After the
|
|
10
|
+
* <p>Revokes all of the access tokens generated by the specified refresh token. After the
|
|
11
|
+
* token is revoked, you can't use the revoked token to access Amazon Cognito authenticated
|
|
12
|
+
* APIs.</p>
|
|
11
13
|
* @example
|
|
12
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
15
|
* ```javascript
|
|
@@ -7,8 +7,11 @@ export interface SetRiskConfigurationCommandInput extends SetRiskConfigurationRe
|
|
|
7
7
|
export interface SetRiskConfigurationCommandOutput extends SetRiskConfigurationResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Configures actions on detected risks. To delete the risk configuration for
|
|
11
|
-
*
|
|
10
|
+
* <p>Configures actions on detected risks. To delete the risk configuration for
|
|
11
|
+
* <code>UserPoolId</code> or <code>ClientId</code>, pass null values for all four
|
|
12
|
+
* configuration types.</p>
|
|
13
|
+
* <p>To activate Amazon Cognito advanced security features, update the user pool to include the
|
|
14
|
+
* <code>UserPoolAddOns</code> key<code>AdvancedSecurityMode</code>.</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,13 +7,19 @@ export interface SetUICustomizationCommandInput extends SetUICustomizationReques
|
|
|
7
7
|
export interface SetUICustomizationCommandOutput extends SetUICustomizationResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Sets the user interface (UI) customization information for a user pool's built-in app
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
10
|
+
* <p>Sets the user interface (UI) customization information for a user pool's built-in app
|
|
11
|
+
* UI.</p>
|
|
12
|
+
* <p>You can specify app UI customization settings for a single client (with a specific
|
|
13
|
+
* <code>clientId</code>) or for all clients (by setting the <code>clientId</code> to
|
|
14
|
+
* <code>ALL</code>). If you specify <code>ALL</code>, the default configuration is
|
|
15
|
+
* used for every client that has no previously set UI customization. If you specify UI
|
|
16
|
+
* customization settings for a particular client, it will no longer return to the
|
|
17
|
+
* <code>ALL</code> configuration.</p>
|
|
18
|
+
* <note>
|
|
19
|
+
* <p>To use this API, your user pool must have a domain associated with it. Otherwise,
|
|
20
|
+
* there is no place to host the app's pages, and the service will throw an
|
|
21
|
+
* error.</p>
|
|
22
|
+
* </note>
|
|
17
23
|
* @example
|
|
18
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
19
25
|
* ```javascript
|
|
@@ -7,11 +7,14 @@ export interface SetUserMFAPreferenceCommandInput extends SetUserMFAPreferenceRe
|
|
|
7
7
|
export interface SetUserMFAPreferenceCommandOutput extends SetUserMFAPreferenceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Set the user's multi-factor authentication (MFA) method preference, including which
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
10
|
+
* <p>Set the user's multi-factor authentication (MFA) method preference, including which
|
|
11
|
+
* MFA factors are activated and if any are preferred. Only one factor can be set as
|
|
12
|
+
* preferred. The preferred MFA factor will be used to authenticate a user if multiple
|
|
13
|
+
* factors are activated. If multiple options are activated and no preference is set, a
|
|
14
|
+
* challenge to choose an MFA option will be returned during sign-in. If an MFA type is
|
|
15
|
+
* activated for a user, the user will be prompted for MFA during all sign-in attempts
|
|
16
|
+
* unless device tracking is turned on and the device has been trusted. If you want MFA to
|
|
17
|
+
* be applied selectively based on the assessed risk level of sign-in attempts, deactivate
|
|
15
18
|
* MFA for users and turn on Adaptive Authentication for the user pool.</p>
|
|
16
19
|
* @example
|
|
17
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -8,8 +8,9 @@ export interface SetUserSettingsCommandOutput extends SetUserSettingsResponse, _
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>
|
|
11
|
-
* <i>This action is no longer supported.</i> You can use it to configure
|
|
12
|
-
*
|
|
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_SetUserMFAPreference.html">SetUserMFAPreference</a> instead.</p>
|
|
13
14
|
* @example
|
|
14
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
16
|
* ```javascript
|
|
@@ -7,7 +7,8 @@ export interface SignUpCommandInput extends SignUpRequest {
|
|
|
7
7
|
export interface SignUpCommandOutput extends SignUpResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Registers the user in the specified user pool and creates a user name, password, and
|
|
10
|
+
* <p>Registers the user in the specified user pool and creates a user name, password, and
|
|
11
|
+
* user attributes.</p>
|
|
11
12
|
*
|
|
12
13
|
* <note>
|
|
13
14
|
* <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
4
|
-
import { StartUserImportJobRequest } from "../models/
|
|
5
|
-
import { StartUserImportJobResponse } from "../models/models_1";
|
|
4
|
+
import { StartUserImportJobRequest, StartUserImportJobResponse } from "../models/models_1";
|
|
6
5
|
export interface StartUserImportJobCommandInput extends StartUserImportJobRequest {
|
|
7
6
|
}
|
|
8
7
|
export interface StartUserImportJobCommandOutput extends StartUserImportJobResponse, __MetadataBearer {
|
|
@@ -7,13 +7,20 @@ export interface TagResourceCommandInput extends TagResourceRequest {
|
|
|
7
7
|
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Assigns a set of tags to an Amazon Cognito user pool. A tag is a label that you can use to
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
10
|
+
* <p>Assigns a set of tags to an Amazon Cognito user pool. A tag is a label that you can use to
|
|
11
|
+
* categorize and manage user pools in different ways, such as by purpose, owner,
|
|
12
|
+
* environment, or other criteria.</p>
|
|
13
|
+
* <p>Each tag consists of a key and value, both of which you define. A key is a general
|
|
14
|
+
* category for more specific values. For example, if you have two versions of a user pool,
|
|
15
|
+
* one for testing and another for production, you might assign an <code>Environment</code>
|
|
16
|
+
* tag key to both user pools. The value of this key might be <code>Test</code> for one
|
|
17
|
+
* user pool, and <code>Production</code> for the other.</p>
|
|
18
|
+
* <p>Tags are useful for cost tracking and access control. You can activate your tags so
|
|
19
|
+
* that they appear on the Billing and Cost Management console, where you can track the
|
|
20
|
+
* costs associated with your user pools. In an Identity and Access Management policy, you can constrain
|
|
21
|
+
* permissions for user pools based on specific tags or tag values.</p>
|
|
22
|
+
* <p>You can use this action up to 5 times per second, per account. A user pool can have as
|
|
23
|
+
* many as 50 tags.</p>
|
|
17
24
|
* @example
|
|
18
25
|
* Use a bare-bones client and the command you need to make an API call.
|
|
19
26
|
* ```javascript
|
|
@@ -7,7 +7,8 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
|
7
7
|
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Removes the specified tags from an Amazon Cognito user pool. You can use this action up to 5
|
|
10
|
+
* <p>Removes the specified tags from an Amazon Cognito user pool. You can use this action up to 5
|
|
11
|
+
* times per second, per account.</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,8 +7,9 @@ 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
|
-
*
|
|
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>
|
|
12
13
|
* @example
|
|
13
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
15
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface UpdateIdentityProviderCommandInput extends UpdateIdentityProvid
|
|
|
7
7
|
export interface UpdateIdentityProviderCommandOutput extends UpdateIdentityProviderResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Updates
|
|
10
|
+
* <p>Updates IdP information 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,9 +8,10 @@ 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 is set to the default
|
|
13
|
-
*
|
|
11
|
+
* <important>
|
|
12
|
+
* <p>If you don't provide a value for an attribute, it is set to the default
|
|
13
|
+
* value.</p>
|
|
14
|
+
* </important>
|
|
14
15
|
* @example
|
|
15
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
17
|
* ```javascript
|
|
@@ -7,13 +7,14 @@ 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 href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPoolClient.html">DescribeUserPoolClient</a>.</p>
|
|
12
|
-
*
|
|
13
|
-
* <p>If you don't provide a value for an attribute, it will be set to the default
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
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
|
|
17
|
+
* 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>
|
|
17
18
|
* @example
|
|
18
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
19
20
|
* ```javascript
|
|
@@ -7,9 +7,10 @@ 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
|
-
* <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html">DescribeUserPool</a>.
|
|
12
|
-
*
|
|
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
|
|
12
|
+
* set to the default value.
|
|
13
|
+
* </p>
|
|
13
14
|
*
|
|
14
15
|
* <note>
|
|
15
16
|
* <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers
|
|
@@ -7,18 +7,25 @@ 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
|
-
* <p>
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* <p>
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
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 can't use it to change the domain for a user pool.</p>
|
|
14
|
+
* <p>A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up and
|
|
15
|
+
* sign-in pages for your application. When you set up a custom domain, you provide a
|
|
16
|
+
* certificate that you manage with Certificate Manager (ACM). When necessary, you can use this
|
|
17
|
+
* operation to change the certificate that you applied to your custom domain.</p>
|
|
18
|
+
* <p>Usually, this is unnecessary following routine certificate renewal with ACM. When
|
|
19
|
+
* you renew your existing certificate in ACM, the ARN for your certificate remains the
|
|
20
|
+
* same, and your custom domain uses the new certificate automatically.</p>
|
|
21
|
+
* <p>However, if you replace your existing certificate with a new one, ACM gives the new
|
|
22
|
+
* certificate a new ARN. To apply the new certificate to your custom domain, you must
|
|
23
|
+
* provide this ARN to Amazon Cognito.</p>
|
|
24
|
+
* <p>When you add your new certificate in ACM, you must choose US East (N. Virginia) as
|
|
25
|
+
* the Amazon Web Services Region.</p>
|
|
26
|
+
* <p>After you submit your request, Amazon Cognito requires up to 1 hour to distribute your new
|
|
27
|
+
* certificate to your custom domain.</p>
|
|
28
|
+
* <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>
|
|
22
29
|
* @example
|
|
23
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
24
31
|
* ```javascript
|
|
@@ -7,8 +7,9 @@ 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 time-based one-time password (TOTP) code and
|
|
11
|
-
* token
|
|
10
|
+
* <p>Use this API to register a user's entered time-based one-time password (TOTP) code and
|
|
11
|
+
* mark the user's software token MFA status as "verified" if successful. The request takes
|
|
12
|
+
* an access token or a session string, but not both.</p>
|
|
12
13
|
* @example
|
|
13
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
15
|
* ```javascript
|
|
@@ -8,6 +8,12 @@ export interface VerifyUserAttributeCommandOutput extends VerifyUserAttributeRes
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Verifies the specified user attributes in the user pool.</p>
|
|
11
|
+
* <p>
|
|
12
|
+
* If your user pool requires verification before Amazon Cognito updates the attribute value,
|
|
13
|
+
* VerifyUserAttribute updates the affected attribute to its pending value. For more information,
|
|
14
|
+
* see <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UserAttributeUpdateSettingsType.html">
|
|
15
|
+
* UserAttributeUpdateSettingsType</a>.
|
|
16
|
+
* </p>
|
|
11
17
|
* @example
|
|
12
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
19
|
* ```javascript
|