Skip to content

Commit 35ced56

Browse files
author
awstools
committed
docs(client-cognito-identity-provider): Minor description updates to API parameters
1 parent a409809 commit 35ced56

File tree

5 files changed

+42
-36
lines changed

5 files changed

+42
-36
lines changed

clients/client-cognito-identity-provider/src/commands/DeleteUserPoolCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface DeleteUserPoolCommandOutput extends __MetadataBearer {}
3636
* associated applications. </p>
3737
* <p>When you delete a user pool, it's no longer visible or operational in your Amazon Web Services account. Amazon Cognito retains deleted user pools in an inactive state for 14
3838
* days, then begins a cleanup process that fully removes them from Amazon Web Services systems. In case
39-
* of accidental deletion, contact Amazon Web Services Support within 14 days for restoration
39+
* of accidental deletion, contact Amazon Web ServicesSupport within 14 days for restoration
4040
* assistance.</p>
4141
* <p>Amazon Cognito begins full deletion of all resources from deleted user pools after 14 days. In
4242
* the case of large user pools, the cleanup process might take significant additional time

clients/client-cognito-identity-provider/src/commands/SetLogDeliveryConfigurationCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface SetLogDeliveryConfigurationCommandOutput
3636
/**
3737
* <p>Sets up or modifies the logging configuration of a user pool. User pools can export
3838
* user notification logs and, when threat protection is active, user-activity logs. For
39-
* more information, see <a href="cognito/latest/developerguide/exporting-quotas-and-usage.html">Exporting user
39+
* more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/exporting-quotas-and-usage.html">Exporting user
4040
* pool logs</a>.</p>
4141
* @example
4242
* Use a bare-bones client and the command you need to make an API call.

clients/client-cognito-identity-provider/src/models/models_0.ts

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -911,18 +911,18 @@ export interface AdminCreateUserRequest {
911911
* <dt>email</dt>
912912
* <dd>
913913
* <p>The email address where you want the user to receive their confirmation
914-
* code and username. You must provide a value for the <code>email</code> when
915-
* you want to set <code>email_verified</code> to <code>true</code>, or if you
916-
* set <code>EMAIL</code> in the <code>DesiredDeliveryMediums</code>
914+
* code and username. You must provide a value for <code>email</code> when you
915+
* want to set <code>email_verified</code> to <code>true</code>, or if you set
916+
* <code>EMAIL</code> in the <code>DesiredDeliveryMediums</code>
917917
* parameter.</p>
918918
* </dd>
919919
* <dt>phone_number</dt>
920920
* <dd>
921921
* <p>The phone number where you want the user to receive their confirmation
922-
* code and username. You must provide a value for the <code>email</code> when
923-
* you want to set <code>phone_number</code> to <code>true</code>, or if you
924-
* set <code>SMS</code> in the <code>DesiredDeliveryMediums</code>
925-
* parameter.</p>
922+
* code and username. You must provide a value for <code>phone_number</code>
923+
* when you want to set <code>phone_number_verified</code> to
924+
* <code>true</code>, or if you set <code>SMS</code> in the
925+
* <code>DesiredDeliveryMediums</code> parameter.</p>
926926
* </dd>
927927
* </dl>
928928
* @public
@@ -1115,27 +1115,31 @@ export interface UserType {
11151115
* <p>The user status. This can be one of the following:</p>
11161116
* <ul>
11171117
* <li>
1118-
* <p>UNCONFIRMED - User has been created but not confirmed.</p>
1119-
* </li>
1120-
* <li>
1121-
* <p>CONFIRMED - User has been confirmed.</p>
1118+
* <p>
1119+
* <code>UNCONFIRMED</code>: User has been created but not confirmed.</p>
11221120
* </li>
11231121
* <li>
1124-
* <p>EXTERNAL_PROVIDER - User signed in with a third-party IdP.</p>
1122+
* <p>
1123+
* <code>CONFIRMED</code>: User has been confirmed.</p>
11251124
* </li>
11261125
* <li>
1127-
* <p>UNKNOWN - User status isn't known.</p>
1126+
* <p>
1127+
* <code>EXTERNAL_PROVIDER</code>: User signed in with a third-party IdP.</p>
11281128
* </li>
11291129
* <li>
1130-
* <p>RESET_REQUIRED - User is confirmed, but the user must request a code and reset
1131-
* their password before they can sign in.</p>
1130+
* <p>
1131+
* <code>RESET_REQUIRED</code>: User is confirmed, but the user must request a
1132+
* code and reset their password before they can sign in.</p>
11321133
* </li>
11331134
* <li>
1134-
* <p>FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a
1135-
* temporary password, but on first sign-in, the user must change their password to
1136-
* a new value before doing anything else. </p>
1135+
* <p>
1136+
* <code>FORCE_CHANGE_PASSWORD</code>: The user is confirmed and the user can
1137+
* sign in using a temporary password, but on first sign-in, the user must change
1138+
* their password to a new value before doing anything else. </p>
11371139
* </li>
11381140
* </ul>
1141+
* <p>The statuses <code>ARCHIVED</code>, <code>UNKNOWN</code>, and <code>COMPROMISED</code>
1142+
* are no longer used.</p>
11391143
* @public
11401144
*/
11411145
UserStatus?: UserStatusType | undefined;
@@ -4045,8 +4049,9 @@ export interface AdminSetUserMFAPreferenceRequest {
40454049

40464050
/**
40474051
* <p>User preferences for time-based one-time password (TOTP) MFA. Activates or deactivates
4048-
* TOTP MFA and sets it as the preferred MFA method when multiple methods are
4049-
* available.</p>
4052+
* TOTP MFA and sets it as the preferred MFA method when multiple methods are available.
4053+
* This operation can set TOTP as a user's preferred MFA method before they register a
4054+
* TOTP authenticator.</p>
40504055
* @public
40514056
*/
40524057
SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType | undefined;
@@ -7013,7 +7018,7 @@ export interface CreateUserPoolRequest {
70137018
* you have deactivated device remembering in your user pool.</p>
70147019
* <note>
70157020
* <p>When you provide a value for any <code>DeviceConfiguration</code> field, you
7016-
* activate the Amazon Cognito device-remembering feature. For more infor</p>
7021+
* activate the Amazon Cognito device-remembering feature. 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>
70177022
* </note>
70187023
* @public
70197024
*/
@@ -8477,7 +8482,7 @@ export interface CreateUserPoolDomainRequest {
84778482
* <p>The configuration for a custom domain. Configures your domain with an Certificate Manager
84788483
* certificate in the <code>us-east-1</code> Region.</p>
84798484
* <p>Provide this parameter only if you want to use a <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html">custom domain</a> for your user pool. Otherwise, you can
8480-
* omit this parameter and use a <a href="cognito/latest/developerguide/cognito-user-pools-assign-domain-prefix.html">prefix domain</a> instead.</p>
8485+
* omit this parameter and use a <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-assign-domain-prefix.html">prefix domain</a> instead.</p>
84818486
* <p>When you create a custom domain, the passkey RP ID defaults to the custom domain. If
84828487
* you had a prefix domain active, this will cause passkey integration for your prefix
84838488
* domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey

clients/client-cognito-identity-provider/src/models/models_1.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2192,8 +2192,9 @@ export interface SetUserMFAPreferenceRequest {
21922192

21932193
/**
21942194
* <p>User preferences for time-based one-time password (TOTP) MFA. Activates or deactivates
2195-
* TOTP MFA and sets it as the preferred MFA method when multiple methods are
2196-
* available.</p>
2195+
* TOTP MFA and sets it as the preferred MFA method when multiple methods are available.
2196+
* Users must register a TOTP authenticator before they set this as their preferred MFA
2197+
* method.</p>
21972198
* @public
21982199
*/
21992200
SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType | undefined;
@@ -3268,7 +3269,7 @@ export interface UpdateUserPoolRequest {
32683269
* you have deactivated device remembering in your user pool.</p>
32693270
* <note>
32703271
* <p>When you provide a value for any <code>DeviceConfiguration</code> field, you
3271-
* activate the Amazon Cognito device-remembering feature. For more infor</p>
3272+
* activate the Amazon Cognito device-remembering feature. 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>
32723273
* </note>
32733274
* @public
32743275
*/

0 commit comments

Comments
 (0)