@aws-sdk/client-cognito-identity-provider 3.363.0 → 3.369.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/dist-cjs/commands/VerifySoftwareTokenCommand.js +1 -1
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +10 -0
- package/dist-cjs/models/models_1.js +7 -1
- package/dist-es/commands/VerifySoftwareTokenCommand.js +2 -2
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +10 -0
- package/dist-es/models/models_1.js +5 -0
- package/dist-types/CognitoIdentityProvider.d.ts +2 -2
- package/dist-types/CognitoIdentityProviderClient.d.ts +2 -2
- package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +1 -1
- package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +1 -1
- package/dist-types/commands/AdminCreateUserCommand.d.ts +5 -7
- package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +1 -1
- package/dist-types/commands/AdminDeleteUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +5 -5
- package/dist-types/commands/AdminDisableUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminEnableUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminForgetDeviceCommand.d.ts +1 -1
- package/dist-types/commands/AdminGetDeviceCommand.d.ts +1 -1
- package/dist-types/commands/AdminGetUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +1 -3
- package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +6 -7
- package/dist-types/commands/AdminListDevicesCommand.d.ts +1 -1
- package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +1 -1
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +2 -4
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +1 -3
- package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +2 -2
- package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +1 -1
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +3 -5
- package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +1 -1
- package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +2 -2
- package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserPoolCommand.d.ts +0 -1
- package/dist-types/commands/DeleteGroupCommand.d.ts +1 -1
- package/dist-types/commands/ForgotPasswordCommand.d.ts +0 -1
- package/dist-types/commands/GetGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetSigningCertificateCommand.d.ts +1 -1
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +0 -1
- package/dist-types/commands/InitiateAuthCommand.d.ts +0 -1
- package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/ListUsersInGroupCommand.d.ts +1 -1
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +0 -1
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +0 -1
- package/dist-types/commands/SetRiskConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/SetUICustomizationCommand.d.ts +3 -3
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +0 -1
- package/dist-types/commands/SignUpCommand.d.ts +0 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +2 -2
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +0 -1
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +3 -3
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +0 -1
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +7 -7
- package/dist-types/commands/VerifyUserAttributeCommand.d.ts +1 -1
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +623 -658
- package/dist-types/models/models_1.d.ts +74 -74
- package/dist-types/ts3.4/models/models_1.d.ts +3 -0
- package/package.json +13 -13
|
@@ -25,7 +25,7 @@ export interface SignUpRequest {
|
|
|
25
25
|
Password: string | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* <p>An array of name-value pairs representing user attributes.</p>
|
|
28
|
-
*
|
|
28
|
+
* <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the
|
|
29
29
|
* attribute name.</p>
|
|
30
30
|
*/
|
|
31
31
|
UserAttributes?: AttributeType[];
|
|
@@ -47,7 +47,7 @@ export interface SignUpRequest {
|
|
|
47
47
|
/**
|
|
48
48
|
* <p>A map of custom key-value pairs that you can provide as input for any custom workflows
|
|
49
49
|
* that this action triggers.</p>
|
|
50
|
-
*
|
|
50
|
+
* <p>You create custom workflows by assigning Lambda functions to user pool triggers.
|
|
51
51
|
* When you use the SignUp API action, Amazon Cognito invokes any functions that are assigned to the
|
|
52
52
|
* following triggers: <i>pre sign-up</i>, <i>custom
|
|
53
53
|
* message</i>, and <i>post confirmation</i>. When Amazon Cognito invokes
|
|
@@ -56,29 +56,27 @@ export interface SignUpRequest {
|
|
|
56
56
|
* that you assigned to the ClientMetadata parameter in your SignUp request. In your
|
|
57
57
|
* function code in Lambda, you can process the <code>clientMetadata</code> value to enhance
|
|
58
58
|
* your workflow for your specific needs.</p>
|
|
59
|
-
*
|
|
60
59
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html">
|
|
61
60
|
* Customizing user pool Workflows with Lambda Triggers</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
|
|
62
|
-
*
|
|
63
|
-
* <note>
|
|
61
|
+
* <note>
|
|
64
62
|
* <p>When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the
|
|
65
63
|
* following:</p>
|
|
66
64
|
* <ul>
|
|
67
65
|
* <li>
|
|
68
|
-
*
|
|
66
|
+
* <p>Store the ClientMetadata value. This data is available only to Lambda
|
|
69
67
|
* triggers that are assigned to a user pool to support custom workflows. If
|
|
70
68
|
* your user pool configuration doesn't include triggers, the ClientMetadata
|
|
71
69
|
* parameter serves no purpose.</p>
|
|
72
|
-
*
|
|
70
|
+
* </li>
|
|
73
71
|
* <li>
|
|
74
|
-
*
|
|
75
|
-
*
|
|
72
|
+
* <p>Validate the ClientMetadata value.</p>
|
|
73
|
+
* </li>
|
|
76
74
|
* <li>
|
|
77
|
-
*
|
|
75
|
+
* <p>Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive
|
|
78
76
|
* information.</p>
|
|
79
|
-
*
|
|
77
|
+
* </li>
|
|
80
78
|
* </ul>
|
|
81
|
-
*
|
|
79
|
+
* </note>
|
|
82
80
|
*/
|
|
83
81
|
ClientMetadata?: Record<string, string>;
|
|
84
82
|
}
|
|
@@ -353,9 +351,9 @@ export interface UpdateResourceServerResponse {
|
|
|
353
351
|
export interface UpdateUserAttributesRequest {
|
|
354
352
|
/**
|
|
355
353
|
* <p>An array of name-value pairs representing user attributes.</p>
|
|
356
|
-
*
|
|
354
|
+
* <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the
|
|
357
355
|
* attribute name.</p>
|
|
358
|
-
*
|
|
356
|
+
* <p>If you have set an attribute to require verification before Amazon Cognito updates its value,
|
|
359
357
|
* this request doesn’t immediately update the value of that attribute. After your user
|
|
360
358
|
* receives and responds to a verification message to verify the new value, Amazon Cognito updates
|
|
361
359
|
* the attribute value. Your user can sign in and receive messages with the original
|
|
@@ -370,7 +368,7 @@ export interface UpdateUserAttributesRequest {
|
|
|
370
368
|
/**
|
|
371
369
|
* <p>A map of custom key-value pairs that you can provide as input for any custom workflows
|
|
372
370
|
* that this action initiates. </p>
|
|
373
|
-
*
|
|
371
|
+
* <p>You create custom workflows by assigning Lambda functions to user pool triggers. When
|
|
374
372
|
* you use the UpdateUserAttributes API action, Amazon Cognito invokes the function that is assigned
|
|
375
373
|
* to the <i>custom message</i> trigger. When Amazon Cognito invokes this function, it
|
|
376
374
|
* passes a JSON payload, which the function receives as input. This payload contains a
|
|
@@ -378,29 +376,27 @@ export interface UpdateUserAttributesRequest {
|
|
|
378
376
|
* the ClientMetadata parameter in your UpdateUserAttributes request. In your function code
|
|
379
377
|
* in Lambda, you can process the <code>clientMetadata</code> value to enhance your workflow
|
|
380
378
|
* for your specific needs.</p>
|
|
381
|
-
*
|
|
382
379
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html">
|
|
383
380
|
* Customizing user pool Workflows with Lambda Triggers</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
|
|
384
|
-
*
|
|
385
|
-
* <note>
|
|
381
|
+
* <note>
|
|
386
382
|
* <p>When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the
|
|
387
383
|
* following:</p>
|
|
388
384
|
* <ul>
|
|
389
385
|
* <li>
|
|
390
|
-
*
|
|
386
|
+
* <p>Store the ClientMetadata value. This data is available only to Lambda
|
|
391
387
|
* triggers that are assigned to a user pool to support custom workflows. If
|
|
392
388
|
* your user pool configuration doesn't include triggers, the ClientMetadata
|
|
393
389
|
* parameter serves no purpose.</p>
|
|
394
|
-
*
|
|
390
|
+
* </li>
|
|
395
391
|
* <li>
|
|
396
|
-
*
|
|
397
|
-
*
|
|
392
|
+
* <p>Validate the ClientMetadata value.</p>
|
|
393
|
+
* </li>
|
|
398
394
|
* <li>
|
|
399
|
-
*
|
|
395
|
+
* <p>Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive
|
|
400
396
|
* information.</p>
|
|
401
|
-
*
|
|
397
|
+
* </li>
|
|
402
398
|
* </ul>
|
|
403
|
-
*
|
|
399
|
+
* </note>
|
|
404
400
|
*/
|
|
405
401
|
ClientMetadata?: Record<string, string>;
|
|
406
402
|
}
|
|
@@ -433,7 +429,7 @@ export interface UpdateUserPoolRequest {
|
|
|
433
429
|
* <p>When active, <code>DeletionProtection</code> prevents accidental deletion of your user
|
|
434
430
|
* pool. Before you can delete a user pool that you have protected against deletion, you
|
|
435
431
|
* must deactivate this feature.</p>
|
|
436
|
-
*
|
|
432
|
+
* <p>When you try to delete a protected user pool in a <code>DeleteUserPool</code> API request,
|
|
437
433
|
* Amazon Cognito returns an <code>InvalidParameterException</code> error. To delete a protected user pool,
|
|
438
434
|
* send a new <code>DeleteUserPool</code> request after you deactivate deletion protection in an
|
|
439
435
|
* <code>UpdateUserPool</code> API request.</p>
|
|
@@ -477,22 +473,22 @@ export interface UpdateUserPoolRequest {
|
|
|
477
473
|
UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType;
|
|
478
474
|
/**
|
|
479
475
|
* <p>Possible values include:</p>
|
|
480
|
-
*
|
|
476
|
+
* <ul>
|
|
481
477
|
* <li>
|
|
482
|
-
*
|
|
483
|
-
*
|
|
478
|
+
* <p>
|
|
479
|
+
* <code>OFF</code> - MFA tokens aren't required and can't be specified during user
|
|
484
480
|
* registration.</p>
|
|
485
481
|
* </li>
|
|
486
482
|
* <li>
|
|
487
|
-
*
|
|
488
|
-
*
|
|
483
|
+
* <p>
|
|
484
|
+
* <code>ON</code> - MFA tokens are required for all user registrations. You can
|
|
489
485
|
* only specify ON when you're initially creating a user pool. You can use the
|
|
490
486
|
* <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SetUserPoolMfaConfig.html">SetUserPoolMfaConfig</a> API operation to turn MFA "ON" for existing
|
|
491
487
|
* user pools. </p>
|
|
492
488
|
* </li>
|
|
493
489
|
* <li>
|
|
494
|
-
*
|
|
495
|
-
*
|
|
490
|
+
* <p>
|
|
491
|
+
* <code>OPTIONAL</code> - Users have the option when registering to create an MFA
|
|
496
492
|
* token.</p>
|
|
497
493
|
* </li>
|
|
498
494
|
* </ul>
|
|
@@ -500,9 +496,9 @@ export interface UpdateUserPoolRequest {
|
|
|
500
496
|
MfaConfiguration?: UserPoolMfaType | string;
|
|
501
497
|
/**
|
|
502
498
|
* <p>The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.</p>
|
|
503
|
-
*
|
|
499
|
+
* <note>
|
|
504
500
|
* <p>When you provide a value for any <code>DeviceConfiguration</code> field, you activate the Amazon Cognito device-remembering feature.</p>
|
|
505
|
-
*
|
|
501
|
+
* </note>
|
|
506
502
|
*/
|
|
507
503
|
DeviceConfiguration?: DeviceConfigurationType;
|
|
508
504
|
/**
|
|
@@ -573,14 +569,14 @@ export interface UpdateUserPoolClientRequest {
|
|
|
573
569
|
* their refresh token. To specify the time unit for <code>RefreshTokenValidity</code> as
|
|
574
570
|
* <code>seconds</code>, <code>minutes</code>, <code>hours</code>, or <code>days</code>,
|
|
575
571
|
* set a <code>TokenValidityUnits</code> value in your API request.</p>
|
|
576
|
-
*
|
|
572
|
+
* <p>For example, when you set <code>RefreshTokenValidity</code> as <code>10</code> and
|
|
577
573
|
* <code>TokenValidityUnits</code> as <code>days</code>, your user can refresh their session
|
|
578
574
|
* and retrieve new access and ID tokens for 10 days.</p>
|
|
579
|
-
*
|
|
575
|
+
* <p>The default time unit for <code>RefreshTokenValidity</code> in an API request is days.
|
|
580
576
|
* You can't set <code>RefreshTokenValidity</code> to 0. If you do, Amazon Cognito overrides the
|
|
581
577
|
* value with the default value of 30 days. <i>Valid range</i> is displayed below
|
|
582
578
|
* in seconds.</p>
|
|
583
|
-
*
|
|
579
|
+
* <p>If you don't specify otherwise in the configuration of your app client, your refresh
|
|
584
580
|
* tokens are valid for 30 days.</p>
|
|
585
581
|
*/
|
|
586
582
|
RefreshTokenValidity?: number;
|
|
@@ -589,12 +585,12 @@ export interface UpdateUserPoolClientRequest {
|
|
|
589
585
|
* their access token. To specify the time unit for <code>AccessTokenValidity</code> as
|
|
590
586
|
* <code>seconds</code>, <code>minutes</code>, <code>hours</code>, or <code>days</code>,
|
|
591
587
|
* set a <code>TokenValidityUnits</code> value in your API request.</p>
|
|
592
|
-
*
|
|
588
|
+
* <p>For example, when you set <code>AccessTokenValidity</code> to <code>10</code> and
|
|
593
589
|
* <code>TokenValidityUnits</code> to <code>hours</code>, your user can authorize access with
|
|
594
590
|
* their access token for 10 hours.</p>
|
|
595
|
-
*
|
|
591
|
+
* <p>The default time unit for <code>AccessTokenValidity</code> in an API request is hours.
|
|
596
592
|
* <i>Valid range</i> is displayed below in seconds.</p>
|
|
597
|
-
*
|
|
593
|
+
* <p>If you don't specify otherwise in the configuration of your app client, your access
|
|
598
594
|
* tokens are valid for one hour.</p>
|
|
599
595
|
*/
|
|
600
596
|
AccessTokenValidity?: number;
|
|
@@ -603,12 +599,12 @@ export interface UpdateUserPoolClientRequest {
|
|
|
603
599
|
* their ID token. To specify the time unit for <code>IdTokenValidity</code> as
|
|
604
600
|
* <code>seconds</code>, <code>minutes</code>, <code>hours</code>, or <code>days</code>,
|
|
605
601
|
* set a <code>TokenValidityUnits</code> value in your API request.</p>
|
|
606
|
-
*
|
|
602
|
+
* <p>For example, when you set <code>IdTokenValidity</code> as <code>10</code> and
|
|
607
603
|
* <code>TokenValidityUnits</code> as <code>hours</code>, your user can authenticate their
|
|
608
604
|
* session with their ID token for 10 hours.</p>
|
|
609
|
-
*
|
|
605
|
+
* <p>The default time unit for <code>AccessTokenValidity</code> in an API request is hours.
|
|
610
606
|
* <i>Valid range</i> is displayed below in seconds.</p>
|
|
611
|
-
*
|
|
607
|
+
* <p>If you don't specify otherwise in the configuration of your app client, your ID
|
|
612
608
|
* tokens are valid for one hour.</p>
|
|
613
609
|
*/
|
|
614
610
|
IdTokenValidity?: number;
|
|
@@ -676,23 +672,23 @@ export interface UpdateUserPoolClientRequest {
|
|
|
676
672
|
SupportedIdentityProviders?: string[];
|
|
677
673
|
/**
|
|
678
674
|
* <p>A list of allowed redirect (callback) URLs for the IdPs.</p>
|
|
679
|
-
*
|
|
680
|
-
*
|
|
675
|
+
* <p>A redirect URI must:</p>
|
|
676
|
+
* <ul>
|
|
681
677
|
* <li>
|
|
682
|
-
*
|
|
678
|
+
* <p>Be an absolute URI.</p>
|
|
683
679
|
* </li>
|
|
684
680
|
* <li>
|
|
685
|
-
*
|
|
681
|
+
* <p>Be registered with the authorization server.</p>
|
|
686
682
|
* </li>
|
|
687
683
|
* <li>
|
|
688
|
-
*
|
|
684
|
+
* <p>Not include a fragment component.</p>
|
|
689
685
|
* </li>
|
|
690
686
|
* </ul>
|
|
691
|
-
*
|
|
687
|
+
* <p>See <a href="https://tools.ietf.org/html/rfc6749#section-3.1.2">OAuth 2.0 -
|
|
692
688
|
* Redirection Endpoint</a>.</p>
|
|
693
|
-
*
|
|
689
|
+
* <p>Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes
|
|
694
690
|
* only.</p>
|
|
695
|
-
*
|
|
691
|
+
* <p>App callback URLs such as <code>myapp://example</code> are also supported.</p>
|
|
696
692
|
*/
|
|
697
693
|
CallbackURLs?: string[];
|
|
698
694
|
/**
|
|
@@ -701,45 +697,45 @@ export interface UpdateUserPoolClientRequest {
|
|
|
701
697
|
LogoutURLs?: string[];
|
|
702
698
|
/**
|
|
703
699
|
* <p>The default redirect URI. Must be in the <code>CallbackURLs</code> list.</p>
|
|
704
|
-
*
|
|
705
|
-
*
|
|
700
|
+
* <p>A redirect URI must:</p>
|
|
701
|
+
* <ul>
|
|
706
702
|
* <li>
|
|
707
|
-
*
|
|
703
|
+
* <p>Be an absolute URI.</p>
|
|
708
704
|
* </li>
|
|
709
705
|
* <li>
|
|
710
|
-
*
|
|
706
|
+
* <p>Be registered with the authorization server.</p>
|
|
711
707
|
* </li>
|
|
712
708
|
* <li>
|
|
713
|
-
*
|
|
709
|
+
* <p>Not include a fragment component.</p>
|
|
714
710
|
* </li>
|
|
715
711
|
* </ul>
|
|
716
|
-
*
|
|
712
|
+
* <p>See <a href="https://tools.ietf.org/html/rfc6749#section-3.1.2">OAuth 2.0 -
|
|
717
713
|
* Redirection Endpoint</a>.</p>
|
|
718
|
-
*
|
|
714
|
+
* <p>Amazon Cognito requires HTTPS over HTTP except for <code>http://localhost</code> for testing
|
|
719
715
|
* purposes only.</p>
|
|
720
|
-
*
|
|
716
|
+
* <p>App callback URLs such as <code>myapp://example</code> are also supported.</p>
|
|
721
717
|
*/
|
|
722
718
|
DefaultRedirectURI?: string;
|
|
723
719
|
/**
|
|
724
720
|
* <p>The allowed OAuth flows.</p>
|
|
725
|
-
*
|
|
721
|
+
* <dl>
|
|
726
722
|
* <dt>code</dt>
|
|
727
723
|
* <dd>
|
|
728
|
-
*
|
|
724
|
+
* <p>Use a code grant flow, which provides an authorization code as the
|
|
729
725
|
* response. This code can be exchanged for access tokens with the
|
|
730
726
|
* <code>/oauth2/token</code> endpoint.</p>
|
|
731
|
-
*
|
|
727
|
+
* </dd>
|
|
732
728
|
* <dt>implicit</dt>
|
|
733
729
|
* <dd>
|
|
734
|
-
*
|
|
730
|
+
* <p>Issue the access token (and, optionally, ID token, based on scopes)
|
|
735
731
|
* directly to your user.</p>
|
|
736
|
-
*
|
|
732
|
+
* </dd>
|
|
737
733
|
* <dt>client_credentials</dt>
|
|
738
734
|
* <dd>
|
|
739
|
-
*
|
|
735
|
+
* <p>Issue the access token from the <code>/oauth2/token</code> endpoint
|
|
740
736
|
* directly to a non-person user using a combination of the client ID and
|
|
741
737
|
* client secret.</p>
|
|
742
|
-
*
|
|
738
|
+
* </dd>
|
|
743
739
|
* </dl>
|
|
744
740
|
*/
|
|
745
741
|
AllowedOAuthFlows?: (OAuthFlowType | string)[];
|
|
@@ -758,11 +754,11 @@ export interface UpdateUserPoolClientRequest {
|
|
|
758
754
|
/**
|
|
759
755
|
* <p>The Amazon Pinpoint analytics configuration necessary to collect metrics for this user
|
|
760
756
|
* pool.</p>
|
|
761
|
-
*
|
|
757
|
+
* <note>
|
|
762
758
|
* <p>In Amazon Web Services Regions where Amazon Pinpoint isn't available, user pools only support sending
|
|
763
759
|
* events to Amazon Pinpoint projects in us-east-1. In Regions where Amazon Pinpoint is available, user
|
|
764
760
|
* pools support sending events to Amazon Pinpoint projects within that same Region.</p>
|
|
765
|
-
*
|
|
761
|
+
* </note>
|
|
766
762
|
*/
|
|
767
763
|
AnalyticsConfiguration?: AnalyticsConfigurationType;
|
|
768
764
|
/**
|
|
@@ -774,14 +770,14 @@ export interface UpdateUserPoolClientRequest {
|
|
|
774
770
|
* destination. When set to <code>LEGACY</code>, those APIs return a
|
|
775
771
|
* <code>UserNotFoundException</code> exception if the user doesn't exist in the user
|
|
776
772
|
* pool.</p>
|
|
777
|
-
*
|
|
778
|
-
*
|
|
773
|
+
* <p>Valid values include:</p>
|
|
774
|
+
* <ul>
|
|
779
775
|
* <li>
|
|
780
|
-
*
|
|
776
|
+
* <p>
|
|
781
777
|
* <code>ENABLED</code> - This prevents user existence-related errors.</p>
|
|
782
778
|
* </li>
|
|
783
779
|
* <li>
|
|
784
|
-
*
|
|
780
|
+
* <p>
|
|
785
781
|
* <code>LEGACY</code> - This represents the early behavior of Amazon Cognito where user
|
|
786
782
|
* existence related errors aren't prevented.</p>
|
|
787
783
|
* </li>
|
|
@@ -828,7 +824,7 @@ export interface UpdateUserPoolDomainRequest {
|
|
|
828
824
|
/**
|
|
829
825
|
* <p>The domain name for the custom domain that hosts the sign-up and sign-in pages for
|
|
830
826
|
* your application. One example might be <code>auth.example.com</code>. </p>
|
|
831
|
-
*
|
|
827
|
+
* <p>This string can include only lowercase letters, numbers, and hyphens. Don't use a
|
|
832
828
|
* hyphen for the first or last character. Use periods to separate subdomain names.</p>
|
|
833
829
|
*/
|
|
834
830
|
Domain: string | undefined;
|
|
@@ -971,6 +967,10 @@ export declare const UpdateUserPoolClientResponseFilterSensitiveLog: (obj: Updat
|
|
|
971
967
|
* @internal
|
|
972
968
|
*/
|
|
973
969
|
export declare const VerifySoftwareTokenRequestFilterSensitiveLog: (obj: VerifySoftwareTokenRequest) => any;
|
|
970
|
+
/**
|
|
971
|
+
* @internal
|
|
972
|
+
*/
|
|
973
|
+
export declare const VerifySoftwareTokenResponseFilterSensitiveLog: (obj: VerifySoftwareTokenResponse) => any;
|
|
974
974
|
/**
|
|
975
975
|
* @internal
|
|
976
976
|
*/
|
|
@@ -234,6 +234,9 @@ export declare const UpdateUserPoolClientResponseFilterSensitiveLog: (
|
|
|
234
234
|
export declare const VerifySoftwareTokenRequestFilterSensitiveLog: (
|
|
235
235
|
obj: VerifySoftwareTokenRequest
|
|
236
236
|
) => any;
|
|
237
|
+
export declare const VerifySoftwareTokenResponseFilterSensitiveLog: (
|
|
238
|
+
obj: VerifySoftwareTokenResponse
|
|
239
|
+
) => any;
|
|
237
240
|
export declare const VerifyUserAttributeRequestFilterSensitiveLog: (
|
|
238
241
|
obj: VerifyUserAttributeRequest
|
|
239
242
|
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cognito-identity-provider",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cognito Identity Provider Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.369.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.369.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.369.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.369.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.369.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.369.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.369.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.369.0",
|
|
31
|
+
"@aws-sdk/types": "3.369.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.369.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.369.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.369.0",
|
|
35
35
|
"@smithy/config-resolver": "^1.0.1",
|
|
36
36
|
"@smithy/fetch-http-handler": "^1.0.1",
|
|
37
37
|
"@smithy/hash-node": "^1.0.1",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@smithy/node-http-handler": "^1.0.2",
|
|
46
46
|
"@smithy/protocol-http": "^1.0.1",
|
|
47
47
|
"@smithy/smithy-client": "^1.0.3",
|
|
48
|
-
"@smithy/types": "^1.
|
|
48
|
+
"@smithy/types": "^1.1.0",
|
|
49
49
|
"@smithy/url-parser": "^1.0.1",
|
|
50
50
|
"@smithy/util-base64": "^1.0.1",
|
|
51
51
|
"@smithy/util-body-length-browser": "^1.0.1",
|