@aws-sdk/client-cognito-identity-provider 3.709.0 → 3.712.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/README.md +5 -0
- package/dist-types/CognitoIdentityProvider.d.ts +5 -0
- package/dist-types/CognitoIdentityProviderClient.d.ts +5 -0
- package/dist-types/commands/AddCustomAttributesCommand.d.ts +6 -1
- package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +4 -2
- package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +3 -2
- package/dist-types/commands/AdminDeleteUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminDisableUserCommand.d.ts +3 -3
- package/dist-types/commands/AdminEnableUserCommand.d.ts +2 -1
- package/dist-types/commands/AdminForgetDeviceCommand.d.ts +3 -1
- package/dist-types/commands/AdminGetDeviceCommand.d.ts +2 -1
- package/dist-types/commands/AdminGetUserCommand.d.ts +3 -3
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +5 -1
- package/dist-types/commands/AdminListDevicesCommand.d.ts +4 -1
- package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +3 -1
- package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +2 -2
- package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +3 -1
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +12 -10
- package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +3 -0
- package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +15 -10
- package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +5 -1
- package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +6 -1
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +6 -5
- package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +5 -2
- package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +1 -0
- package/dist-types/commands/ConfirmDeviceCommand.d.ts +4 -2
- package/dist-types/commands/ConfirmForgotPasswordCommand.d.ts +2 -1
- package/dist-types/commands/ConfirmSignUpCommand.d.ts +2 -2
- package/dist-types/commands/CreateGroupCommand.d.ts +2 -1
- package/dist-types/commands/CreateIdentityProviderCommand.d.ts +2 -1
- package/dist-types/commands/CreateManagedLoginBrandingCommand.d.ts +6 -3
- package/dist-types/commands/CreateResourceServerCommand.d.ts +3 -1
- package/dist-types/commands/CreateUserImportJobCommand.d.ts +4 -1
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +6 -3
- package/dist-types/commands/CreateUserPoolCommand.d.ts +4 -2
- package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +10 -2
- package/dist-types/commands/DeleteGroupCommand.d.ts +25 -2
- package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +23 -1
- package/dist-types/commands/DeleteManagedLoginBrandingCommand.d.ts +3 -1
- package/dist-types/commands/DeleteResourceServerCommand.d.ts +24 -1
- package/dist-types/commands/DeleteUserAttributesCommand.d.ts +3 -1
- package/dist-types/commands/DeleteUserCommand.d.ts +2 -1
- package/dist-types/commands/DeleteUserPoolClientCommand.d.ts +2 -1
- package/dist-types/commands/DeleteUserPoolCommand.d.ts +3 -1
- package/dist-types/commands/DeleteUserPoolDomainCommand.d.ts +3 -1
- package/dist-types/commands/DeleteWebAuthnCredentialCommand.d.ts +7 -1
- package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +2 -1
- package/dist-types/commands/DescribeManagedLoginBrandingByClientCommand.d.ts +2 -2
- package/dist-types/commands/DescribeManagedLoginBrandingCommand.d.ts +2 -2
- package/dist-types/commands/DescribeResourceServerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRiskConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/DescribeUserImportJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +3 -2
- package/dist-types/commands/DescribeUserPoolCommand.d.ts +3 -1
- package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +22 -1
- package/dist-types/commands/GlobalSignOutCommand.d.ts +4 -1
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +3 -0
- package/dist-types/commands/UpdateManagedLoginBrandingCommand.d.ts +4 -1
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +17 -19
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +512 -360
- package/dist-types/models/models_1.d.ts +79 -67
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -86,6 +86,11 @@ V3</a>
|
|
|
86
86
|
for Ruby V3</a>
|
|
87
87
|
</p>
|
|
88
88
|
</li>
|
|
89
|
+
<li>
|
|
90
|
+
<p>
|
|
91
|
+
<a href="https://sdk.amazonaws.com/kotlin/api/latest/cognitoidentityprovider/aws.sdk.kotlin.services.cognitoidentityprovider/-cognito-identity-provider-client/index.html">Amazon Web Services SDK for Kotlin</a>
|
|
92
|
+
</p>
|
|
93
|
+
</li>
|
|
89
94
|
</ul>
|
|
90
95
|
<p>To get started with an Amazon Web Services SDK, see <a href="http://aws.amazon.com/developer/tools/">Tools to Build on Amazon Web Services</a>. For example actions and scenarios, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/service_code_examples_cognito-identity-provider.html">Code examples for Amazon Cognito Identity Provider using Amazon Web Services
|
|
91
96
|
SDKs</a>.</p>
|
|
@@ -876,6 +876,11 @@ export interface CognitoIdentityProvider {
|
|
|
876
876
|
* for Ruby V3</a>
|
|
877
877
|
* </p>
|
|
878
878
|
* </li>
|
|
879
|
+
* <li>
|
|
880
|
+
* <p>
|
|
881
|
+
* <a href="https://sdk.amazonaws.com/kotlin/api/latest/cognitoidentityprovider/aws.sdk.kotlin.services.cognitoidentityprovider/-cognito-identity-provider-client/index.html">Amazon Web Services SDK for Kotlin</a>
|
|
882
|
+
* </p>
|
|
883
|
+
* </li>
|
|
879
884
|
* </ul>
|
|
880
885
|
* <p>To get started with an Amazon Web Services SDK, see <a href="http://aws.amazon.com/developer/tools/">Tools to Build on Amazon Web Services</a>. For example actions and scenarios, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/service_code_examples_cognito-identity-provider.html">Code examples for Amazon Cognito Identity Provider using Amazon Web Services
|
|
881
886
|
* SDKs</a>.</p>
|
|
@@ -344,6 +344,11 @@ export interface CognitoIdentityProviderClientResolvedConfig extends CognitoIden
|
|
|
344
344
|
* for Ruby V3</a>
|
|
345
345
|
* </p>
|
|
346
346
|
* </li>
|
|
347
|
+
* <li>
|
|
348
|
+
* <p>
|
|
349
|
+
* <a href="https://sdk.amazonaws.com/kotlin/api/latest/cognitoidentityprovider/aws.sdk.kotlin.services.cognitoidentityprovider/-cognito-identity-provider-client/index.html">Amazon Web Services SDK for Kotlin</a>
|
|
350
|
+
* </p>
|
|
351
|
+
* </li>
|
|
347
352
|
* </ul>
|
|
348
353
|
* <p>To get started with an Amazon Web Services SDK, see <a href="http://aws.amazon.com/developer/tools/">Tools to Build on Amazon Web Services</a>. For example actions and scenarios, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/service_code_examples_cognito-identity-provider.html">Code examples for Amazon Cognito Identity Provider using Amazon Web Services
|
|
349
354
|
* SDKs</a>.</p>
|
|
@@ -27,7 +27,12 @@ declare const AddCustomAttributesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Adds additional user attributes to the user pool schema
|
|
30
|
+
* <p>Adds additional user attributes to the user pool schema. Custom attributes can be
|
|
31
|
+
* mutable or immutable and have a <code>custom:</code> or <code>dev:</code> prefix. For
|
|
32
|
+
* more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html#user-pool-settings-custom-attributes">Custom attributes</a>.</p>
|
|
33
|
+
* <p>You can also create custom attributes in the <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateUserPool.html#CognitoUserPools-CreateUserPool-request-Schema">Schema parameter</a> of <code>CreateUserPool</code> and
|
|
34
|
+
* <code>UpdateUserPool</code>. You can't delete custom attributes after you
|
|
35
|
+
* create them.</p>
|
|
31
36
|
* <note>
|
|
32
37
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
33
38
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -27,8 +27,7 @@ declare const AdminConfirmSignUpCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
* Unlike <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmSignUp.html">ConfirmSignUp</a>, your IAM credentials authorize user account confirmation.
|
|
30
|
+
* <p>Confirms user sign-up as an administrator. Unlike <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmSignUp.html">ConfirmSignUp</a>, your IAM credentials authorize user account confirmation.
|
|
32
31
|
* No confirmation code is required.</p>
|
|
33
32
|
* <p>This request sets a user account active in a user pool that <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/signing-up-users-in-your-app.html#signing-up-users-in-your-app-and-confirming-them-as-admin">requires confirmation of new user accounts</a> before they can sign in. You can
|
|
34
33
|
* configure your user pool to not send confirmation codes to new users and instead confirm
|
|
@@ -53,6 +52,9 @@ declare const AdminConfirmSignUpCommand_base: {
|
|
|
53
52
|
* </li>
|
|
54
53
|
* </ul>
|
|
55
54
|
* </note>
|
|
55
|
+
* <p>To configure your user pool to require administrative confirmation of users, set
|
|
56
|
+
* <code>AllowAdminCreateUserOnly</code> to <code>true</code> in a
|
|
57
|
+
* <code>CreateUserPool</code> or <code>UpdateUserPool</code> request.</p>
|
|
56
58
|
* @example
|
|
57
59
|
* Use a bare-bones client and the command you need to make an API call.
|
|
58
60
|
* ```javascript
|
|
@@ -27,8 +27,9 @@ declare const AdminDeleteUserAttributesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes
|
|
31
|
-
* user
|
|
30
|
+
* <p>Deletes attribute values from a user. This operation doesn't affect tokens for
|
|
31
|
+
* existing user sessions. The next ID token that the user receives will no longer have
|
|
32
|
+
* this attribute.</p>
|
|
32
33
|
* <note>
|
|
33
34
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
34
35
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -27,7 +27,7 @@ declare const AdminDeleteUserCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a user
|
|
30
|
+
* <p>Deletes a user profile in your user pool.</p>
|
|
31
31
|
* <note>
|
|
32
32
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
33
33
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -27,9 +27,9 @@ declare const AdminDisableUserCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deactivates a user and revokes all access tokens for the user. A deactivated
|
|
31
|
-
* can't sign in, but still appears in the responses to <code>
|
|
32
|
-
*
|
|
30
|
+
* <p>Deactivates a user profile and revokes all access tokens for the user. A deactivated
|
|
31
|
+
* user can't sign in, but still appears in the responses to <code>ListUsers</code>
|
|
32
|
+
* API requests.</p>
|
|
33
33
|
* <note>
|
|
34
34
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
35
35
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -27,7 +27,8 @@ declare const AdminEnableUserCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>Activate sign-in for a user profile that previously had sign-in access
|
|
31
|
+
* disabled.</p>
|
|
31
32
|
* <note>
|
|
32
33
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
33
34
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -27,7 +27,9 @@ declare const AdminForgetDeviceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Forgets
|
|
30
|
+
* <p>Forgets, or deletes, a remembered device from a user's profile. After you forget
|
|
31
|
+
* the device, the user can no longer complete device authentication with that device and
|
|
32
|
+
* when applicable, must submit MFA codes again. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html">Working with devices</a>.</p>
|
|
31
33
|
* <note>
|
|
32
34
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
33
35
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -27,7 +27,8 @@ declare const AdminGetDeviceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>Given the device key, returns details for a user' device. For more information,
|
|
31
|
+
* see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html">Working with devices</a>.</p>
|
|
31
32
|
* <note>
|
|
32
33
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
33
34
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -27,9 +27,9 @@ declare const AdminGetUserCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* <p>Given the username, returns details about a user profile in a user pool. This
|
|
31
|
+
* operation contributes to your monthly active user (MAU) count for the purpose of
|
|
32
|
+
* billing. You can specify alias attributes in the <code>Username</code> parameter.</p>
|
|
33
33
|
* <note>
|
|
34
34
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
35
35
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -27,7 +27,11 @@ declare const AdminInitiateAuthCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>Starts sign-in for applications with a server-side component, for example a
|
|
31
|
+
* traditional web application. This operation specifies the authentication flow that
|
|
32
|
+
* you'd like to begin. The authentication flow that you specify must be supported in
|
|
33
|
+
* your app client configuration. For more information about authentication flows, see
|
|
34
|
+
* <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow-methods.html">Authentication flows</a>.</p>
|
|
31
35
|
* <note>
|
|
32
36
|
* <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers
|
|
33
37
|
* require you to register an origination phone number before you can send SMS messages
|
|
@@ -27,7 +27,10 @@ declare const AdminListDevicesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists a user's registered devices
|
|
30
|
+
* <p>Lists a user's registered devices. Remembered devices are used in authentication
|
|
31
|
+
* services where you offer a "Remember me" option for users who you want to permit to sign
|
|
32
|
+
* in without MFA from a trusted device. Users can bypass MFA while your application
|
|
33
|
+
* performs device SRP authentication on the back end. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html">Working with devices</a>.</p>
|
|
31
34
|
* <note>
|
|
32
35
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
33
36
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -27,7 +27,9 @@ declare const AdminListGroupsForUserCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists the groups that a user belongs to
|
|
30
|
+
* <p>Lists the groups that a user belongs to. User pool groups are identifiers that you can
|
|
31
|
+
* reference from the contents of ID and access tokens, and set preferred IAM roles for
|
|
32
|
+
* identity-pool authentication. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-user-groups.html">Adding groups to a user pool</a>.</p>
|
|
31
33
|
* <note>
|
|
32
34
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
33
35
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -27,8 +27,8 @@ declare const AdminListUserAuthEventsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
*
|
|
30
|
+
* <p>Requests a history of user activity and any risks detected as part of Amazon Cognito threat
|
|
31
|
+
* protection. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-adaptive-authentication.html#user-pool-settings-adaptive-authentication-event-user-history">Viewing user event history</a>.</p>
|
|
32
32
|
* <note>
|
|
33
33
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
34
34
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -27,7 +27,9 @@ declare const AdminRemoveUserFromGroupCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>Given a username and a group name. removes them from the group. User pool groups are
|
|
31
|
+
* identifiers that you can reference from the contents of ID and access tokens, and set
|
|
32
|
+
* preferred IAM roles for identity-pool authentication. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-user-groups.html">Adding groups to a user pool</a>.</p>
|
|
31
33
|
* <note>
|
|
32
34
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
33
35
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -27,8 +27,18 @@ declare const AdminResetUserPasswordCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Resets the specified user's password in a user pool
|
|
31
|
-
* user
|
|
30
|
+
* <p>Resets the specified user's password in a user pool. This operation doesn't
|
|
31
|
+
* change the user's password, but sends a password-reset code. This operation is the
|
|
32
|
+
* administrative authentication API equivalent to <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ForgotPassword.html">ForgotPassword</a>.</p>
|
|
33
|
+
* <p>This operation deactivates a user's password, requiring them to change it. If a user
|
|
34
|
+
* tries to sign in after the API request, Amazon Cognito responds with a
|
|
35
|
+
* <code>PasswordResetRequiredException</code> error. Your app must then complete the
|
|
36
|
+
* forgot-password flow by prompting the user for their code and a new password, then
|
|
37
|
+
* submitting those values in a <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmForgotPassword.html">ConfirmForgotPassword</a> request. In addition, if the user
|
|
38
|
+
* pool has phone verification selected and a verified phone number exists for the user, or
|
|
39
|
+
* if email verification is selected and a verified email exists for the user, calling this
|
|
40
|
+
* API will also result in sending a message to the end user with the code to change their
|
|
41
|
+
* password.</p>
|
|
32
42
|
* <p>To use this API operation, your user pool must have self-service account recovery
|
|
33
43
|
* configured. Use <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminSetUserPassword.html">AdminSetUserPassword</a> if you manage passwords as an administrator.</p>
|
|
34
44
|
* <note>
|
|
@@ -48,14 +58,6 @@ declare const AdminResetUserPasswordCommand_base: {
|
|
|
48
58
|
* of the sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-sms-settings.html"> SMS message settings for Amazon Cognito user pools</a> in the <i>Amazon Cognito
|
|
49
59
|
* Developer Guide</i>.</p>
|
|
50
60
|
* </note>
|
|
51
|
-
* <p>Deactivates a user's password, requiring them to change it. If a user tries to sign in
|
|
52
|
-
* after the API is called, Amazon Cognito responds with a
|
|
53
|
-
* <code>PasswordResetRequiredException</code> error. Your app must then perform the
|
|
54
|
-
* actions that reset your user's password: the forgot-password flow. In addition, if the
|
|
55
|
-
* user pool has phone verification selected and a verified phone number exists for the
|
|
56
|
-
* user, or if email verification is selected and a verified email exists for the user,
|
|
57
|
-
* calling this API will also result in sending a message to the end user with the code to
|
|
58
|
-
* change their password.</p>
|
|
59
61
|
* <note>
|
|
60
62
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
61
63
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -32,6 +32,9 @@ declare const AdminSetUserMFAPreferenceCommand_base: {
|
|
|
32
32
|
* preferred. The preferred MFA factor will be used to authenticate a user if multiple
|
|
33
33
|
* factors are activated. If multiple options are activated and no preference is set, a
|
|
34
34
|
* challenge to choose an MFA option will be returned during sign-in.</p>
|
|
35
|
+
* <p>This operation doesn't reset an existing TOTP MFA for a user. To register a new
|
|
36
|
+
* TOTP factor for a user, make an <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AssociateSoftwareToken.html">AssociateSoftwareToken</a> request. For more information,
|
|
37
|
+
* see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa-totp.html">TOTP software token MFA</a>.</p>
|
|
35
38
|
* <note>
|
|
36
39
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
37
40
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -27,16 +27,21 @@ declare const AdminSetUserPasswordCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Sets the specified user's password in a user pool
|
|
31
|
-
* user.
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
30
|
+
* <p>Sets the specified user's password in a user pool. This operation administratively
|
|
31
|
+
* sets a temporary or permanent password for a user. With this operation, you can bypass
|
|
32
|
+
* self-service password changes and permit immediate sign-in with the password that you
|
|
33
|
+
* set. To do this, set <code>Permanent</code> to <code>true</code>.</p>
|
|
34
|
+
* <p>You can also set a new temporary password in this request, send it to a user, and
|
|
35
|
+
* require them to choose a new password on their next sign-in. To do this, set
|
|
36
|
+
* <code>Permanent</code> to <code>false</code>.</p>
|
|
37
|
+
* <p>If the password is temporary, the user's <code>Status</code> becomes
|
|
38
|
+
* <code>FORCE_CHANGE_PASSWORD</code>. When the user next tries to sign in, the
|
|
39
|
+
* <code>InitiateAuth</code> or <code>AdminInitiateAuth</code> response includes the
|
|
40
|
+
* <code>NEW_PASSWORD_REQUIRED</code> challenge. If the user doesn't sign in
|
|
41
|
+
* before the temporary password expires, they can no longer sign in and you must repeat
|
|
42
|
+
* this operation to set a temporary or permanent password for them.</p>
|
|
43
|
+
* <p>After the user sets a new password, or if you set a permanent password, their status
|
|
44
|
+
* becomes <code>Confirmed</code>.</p>
|
|
40
45
|
* <p>
|
|
41
46
|
* <code>AdminSetUserPassword</code> can set a password for the user profile that Amazon Cognito
|
|
42
47
|
* creates for third-party federated users. When you set a password, the federated user's
|
|
@@ -29,7 +29,11 @@ declare const AdminUpdateAuthEventFeedbackCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Provides feedback for an authentication event indicating if it was from a valid user.
|
|
31
31
|
* This feedback is used for improving the risk evaluation decision for the user pool as
|
|
32
|
-
* part of Amazon Cognito
|
|
32
|
+
* part of Amazon Cognito threat protection. To train the threat-protection model to recognize
|
|
33
|
+
* trusted and untrusted sign-in characteristics, configure threat protection in audit-only
|
|
34
|
+
* mode and provide a mechanism for users or administrators to submit feedback. Your
|
|
35
|
+
* feedback can tell Amazon Cognito that a risk rating was assigned at a level you don't agree
|
|
36
|
+
* with.</p>
|
|
33
37
|
* <note>
|
|
34
38
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
35
39
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -27,7 +27,12 @@ declare const AdminUpdateDeviceStatusCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates the device
|
|
30
|
+
* <p>Updates the status of a user's device so that it is marked as remembered or not
|
|
31
|
+
* remembered for the purpose of device authentication. Device authentication is a
|
|
32
|
+
* "remember me" mechanism that silently completes sign-in from trusted devices with a
|
|
33
|
+
* device key instead of a user-provided MFA code. This operation changes the status of a
|
|
34
|
+
* device without deleting it, so you can enable it again later. For more information about
|
|
35
|
+
* device authentication, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html">Working with devices</a>.</p>
|
|
31
36
|
* <note>
|
|
32
37
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
33
38
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -44,13 +44,14 @@ declare const AdminUpdateUserAttributesCommand_base: {
|
|
|
44
44
|
* of the sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-sms-settings.html"> SMS message settings for Amazon Cognito user pools</a> in the <i>Amazon Cognito
|
|
45
45
|
* Developer Guide</i>.</p>
|
|
46
46
|
* </note>
|
|
47
|
-
* <p>Updates the specified user's attributes
|
|
48
|
-
*
|
|
49
|
-
* attribute in your API request with a blank value.</p>
|
|
47
|
+
* <p>Updates the specified user's attributes. To delete an attribute from your user,
|
|
48
|
+
* submit the attribute in your API request with a blank value.</p>
|
|
50
49
|
* <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the
|
|
51
50
|
* attribute name.</p>
|
|
52
|
-
* <p>
|
|
53
|
-
*
|
|
51
|
+
* <p>This operation can set a user's email address or phone number as verified and
|
|
52
|
+
* permit immediate sign-in in user pools that require verification of these attributes. To
|
|
53
|
+
* do this, set the <code>email_verified</code> or <code>phone_number_verified</code>
|
|
54
|
+
* attribute to <code>true</code>.</p>
|
|
54
55
|
* <note>
|
|
55
56
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
56
57
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -29,7 +29,7 @@ declare const AdminUserGlobalSignOutCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Invalidates the identity, access, and refresh tokens that Amazon Cognito issued to a user. Call
|
|
31
31
|
* this operation with your administrative credentials when your user signs out of your
|
|
32
|
-
* app. This results in the following behavior
|
|
32
|
+
* app. This results in the following behavior.</p>
|
|
33
33
|
* <ul>
|
|
34
34
|
* <li>
|
|
35
35
|
* <p>Amazon Cognito no longer accepts <i>token-authorized</i> user operations
|
|
@@ -50,7 +50,10 @@ declare const AdminUserGlobalSignOutCommand_base: {
|
|
|
50
50
|
* requests.</p>
|
|
51
51
|
* </li>
|
|
52
52
|
* </ul>
|
|
53
|
-
* <p>Other requests might be valid until your user's token expires
|
|
53
|
+
* <p>Other requests might be valid until your user's token expires. This operation
|
|
54
|
+
* doesn't clear the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-managed-login.html">managed login</a> session cookie. To clear the session for
|
|
55
|
+
* a user who signed in with managed login or the classic hosted UI, direct their browser
|
|
56
|
+
* session to the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/logout-endpoint.html">logout endpoint</a>.</p>
|
|
54
57
|
* <note>
|
|
55
58
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
56
59
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -50,6 +50,7 @@ declare const AssociateSoftwareTokenCommand_base: {
|
|
|
50
50
|
* grant IAM permissions in policies. For more information about authorization models in
|
|
51
51
|
* Amazon Cognito, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html">Using the Amazon Cognito user pools API and user pool endpoints</a>.</p>
|
|
52
52
|
* </note>
|
|
53
|
+
* <p>Authorize this action with a signed-in user's access token. It must include the scope <code>aws.cognito.signin.user.admin</code>.</p>
|
|
53
54
|
* @example
|
|
54
55
|
* Use a bare-bones client and the command you need to make an API call.
|
|
55
56
|
* ```javascript
|
|
@@ -27,8 +27,10 @@ declare const ConfirmDeviceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Confirms
|
|
31
|
-
*
|
|
30
|
+
* <p>Confirms a device that a user wants to remember. A remembered device is a "Remember me
|
|
31
|
+
* on this device" option for user pools that perform authentication with the device key of
|
|
32
|
+
* a trusted device in the back end, instead of a user-provided MFA code. For more
|
|
33
|
+
* information about device authentication, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html">Working with user devices in your user pool</a>.</p>
|
|
32
34
|
* <p>Authorize this action with a signed-in user's access token. It must include the scope <code>aws.cognito.signin.user.admin</code>.</p>
|
|
33
35
|
* <note>
|
|
34
36
|
* <p>Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
@@ -27,7 +27,8 @@ declare const ConfirmForgotPasswordCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>This public API operation accepts a confirmation code that Amazon Cognito sent to a user and
|
|
31
|
+
* accepts a new password for that user.</p>
|
|
31
32
|
* <note>
|
|
32
33
|
* <p>Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
33
34
|
* this operation, you can't use IAM credentials to authorize requests, and you can't
|
|
@@ -27,8 +27,8 @@ declare const ConfirmSignUpCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>This public API operation
|
|
31
|
-
*
|
|
30
|
+
* <p>This public API operation submits a code that Amazon Cognito sent to your user when they signed
|
|
31
|
+
* up in your user pool via the <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SignUp.html">SignUp</a>
|
|
32
32
|
* API operation. After your user enters their code, they confirm ownership of the email
|
|
33
33
|
* address or phone number that they provided, and their user account becomes active.
|
|
34
34
|
* Depending on your user pool configuration, your users will receive their confirmation
|
|
@@ -27,7 +27,8 @@ declare const CreateGroupCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a new group in the specified user pool
|
|
30
|
+
* <p>Creates a new group in the specified user pool. For more information about user pool
|
|
31
|
+
* groups see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-user-groups.html">Adding groups to a user pool</a>.</p>
|
|
31
32
|
* <note>
|
|
32
33
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
33
34
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -28,7 +28,8 @@ declare const CreateIdentityProviderCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Adds a configuration and trust relationship between a third-party identity provider
|
|
31
|
-
* (IdP) and a user pool
|
|
31
|
+
* (IdP) and a user pool. Amazon Cognito accepts sign-in with third-party identity providers through
|
|
32
|
+
* managed login and OIDC relying-party libraries. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation.html">Third-party IdP sign-in</a>.</p>
|
|
32
33
|
* <note>
|
|
33
34
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
34
35
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -33,14 +33,17 @@ declare const CreateManagedLoginBrandingCommand_base: {
|
|
|
33
33
|
* <p>Provides values for UI customization in a <code>Settings</code> JSON object and image
|
|
34
34
|
* files in an <code>Assets</code> array. To send the JSON object <code>Document</code>
|
|
35
35
|
* type parameter in <code>Settings</code>, you might need to update to the most recent
|
|
36
|
-
* version of your Amazon Web Services SDK.
|
|
36
|
+
* version of your Amazon Web Services SDK. To create a new style with default settings, set
|
|
37
|
+
* <code>UseCognitoProvidedValues</code> to <code>true</code> and don't provide
|
|
38
|
+
* values for any other options.</p>
|
|
37
39
|
* <p> This operation has a 2-megabyte request-size limit and include the CSS settings and
|
|
38
40
|
* image assets for your app client. Your branding settings might exceed 2MB in size. Amazon Cognito
|
|
39
41
|
* doesn't require that you pass all parameters in one request and preserves existing
|
|
40
42
|
* style settings that you don't specify. If your request is larger than 2MB, separate it
|
|
41
43
|
* into multiple requests, each with a size smaller than the limit. </p>
|
|
42
|
-
* <p>
|
|
43
|
-
*
|
|
44
|
+
* <p>As a best practice, modify the output of <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeManagedLoginBrandingByClient.html">DescribeManagedLoginBrandingByClient</a> into the request parameters for this
|
|
45
|
+
* operation. To get all settings, set <code>ReturnMergedResources</code> to
|
|
46
|
+
* <code>true</code>. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/managed-login-brandingdesigner.html#branding-designer-api">API and SDK operations for managed login branding</a>.</p>
|
|
44
47
|
* <note>
|
|
45
48
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
46
49
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -27,7 +27,9 @@ declare const CreateResourceServerCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a new OAuth2.0 resource server and defines custom scopes within it
|
|
30
|
+
* <p>Creates a new OAuth2.0 resource server and defines custom scopes within it. Resource
|
|
31
|
+
* servers are associated with custom scopes and machine-to-machine (M2M) authorization.
|
|
32
|
+
* For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-define-resource-servers.html">Access control with resource servers</a>.</p>
|
|
31
33
|
* <note>
|
|
32
34
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
33
35
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -27,7 +27,10 @@ declare const CreateUserImportJobCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a user import job
|
|
30
|
+
* <p>Creates a user import job. You can import users into user pools from a comma-separated
|
|
31
|
+
* values (CSV) file without adding Amazon Cognito MAU costs to your Amazon Web Services bill. To generate a
|
|
32
|
+
* template for your import, see <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_GetCSVHeader.html">GetCSVHeader</a>. To learn more about CSV import, see
|
|
33
|
+
* <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-using-import-tool.html">Importing users from a CSV file</a>.</p>
|
|
31
34
|
* <note>
|
|
32
35
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
33
36
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -27,9 +27,12 @@ declare const CreateUserPoolClientCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* <p>Creates an app client in a user pool. This operation sets basic and advanced
|
|
31
|
+
* configuration options. You can create an app client in the Amazon Cognito console to your
|
|
32
|
+
* preferences and use the output of <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPoolClient.html">DescribeUserPoolClient</a> to generate requests from that
|
|
33
|
+
* baseline.</p>
|
|
34
|
+
* <p>New app clients activate token revocation by default. For more information about
|
|
35
|
+
* revoking tokens, see <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html">RevokeToken</a>.</p>
|
|
33
36
|
* <important>
|
|
34
37
|
* <p>If you don't provide a value for an attribute, Amazon Cognito sets it to its default value.</p>
|
|
35
38
|
* </important>
|
|
@@ -44,8 +44,10 @@ declare const CreateUserPoolCommand_base: {
|
|
|
44
44
|
* of the sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-sms-settings.html"> SMS message settings for Amazon Cognito user pools</a> in the <i>Amazon Cognito
|
|
45
45
|
* Developer Guide</i>.</p>
|
|
46
46
|
* </note>
|
|
47
|
-
* <p>Creates a new Amazon Cognito user pool
|
|
48
|
-
* pool
|
|
47
|
+
* <p>Creates a new Amazon Cognito user pool. This operation sets basic and advanced configuration
|
|
48
|
+
* options. You can create a user pool in the Amazon Cognito console to your preferences and use the
|
|
49
|
+
* output of <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html">DescribeUserPool</a> to generate requests from that
|
|
50
|
+
* baseline.</p>
|
|
49
51
|
* <important>
|
|
50
52
|
* <p>If you don't provide a value for an attribute, Amazon Cognito sets it to its default value.</p>
|
|
51
53
|
* </important>
|
|
@@ -27,8 +27,16 @@ declare const CreateUserPoolDomainCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
*
|
|
30
|
+
* <p>A user pool domain hosts managed login, an authorization server and web server for
|
|
31
|
+
* authentication in your application. This operation creates a new user pool prefix or
|
|
32
|
+
* custom domain and sets the managed login branding version. Set the branding version to
|
|
33
|
+
* <code>1</code> for hosted UI (classic) or <code>2</code> for managed login. When you
|
|
34
|
+
* choose a custom domain, you must provide an SSL certificate in the US East (N. Virginia)
|
|
35
|
+
* Amazon Web Services Region in your request.</p>
|
|
36
|
+
* <p>Your prefix domain might take up to one minute to take effect. Your custom domain is
|
|
37
|
+
* online within five minutes, but it can take up to one hour to distribute your SSL
|
|
38
|
+
* certificate.</p>
|
|
39
|
+
* <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">Configuring a user pool domain</a>.</p>
|
|
32
40
|
* <note>
|
|
33
41
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
34
42
|
* this operation, you must use IAM credentials to authorize requests, and you must
|