@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
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
34
|
-
* user
|
|
35
|
-
*
|
|
36
|
-
* <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
|
|
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
|
|
12
|
-
* username + password user, they can't use their password to sign in. If the user
|
|
13
|
-
* deactivate is a linked external
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* <p>This action is enabled only for admin access and requires developer
|
|
18
|
-
*
|
|
19
|
-
* <p>
|
|
20
|
-
*
|
|
21
|
-
* <p>
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
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
|
|
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
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* identity
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
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
|
|
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
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
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
|
|
11
|
-
*
|
|
12
|
-
* be
|
|
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
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
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
|
|
12
|
-
*
|
|
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.
|
|
11
|
-
*
|
|
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
|
|
11
|
-
*
|
|
12
|
-
* <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
|
|
11
|
-
*
|
|
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
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/how-to-recover-a-user-account.html">Recovering
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
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
|
|
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
|
|
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
|
|
11
|
-
*
|
|
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>
|
|
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
|
|
11
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|