@aws-sdk/client-cognito-identity-provider 3.161.0 → 3.164.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/dist-cjs/protocols/Aws_json1_1.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +5 -4
- package/dist-types/models/models_0.d.ts +47 -16
- package/dist-types/models/models_1.d.ts +9 -4
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/dist-types/ts3.4/models/models_1.d.ts +2 -0
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.164.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.163.0...v3.164.0) (2022-09-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-cognito-identity-provider:** This release adds a new "AuthSessionValidity" field to the UserPoolClient in Cognito. Application admins can configure this value for their users' authentication duration, which is currently fixed at 3 minutes, up to 15 minutes. Setting this field will also apply to the SMS MFA authentication flow. ([fc699df](https://github.com/aws/aws-sdk-js-v3/commit/fc699df42b2c51221037d0fbc927089c050ef301))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.163.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.162.0...v3.163.0) (2022-09-01)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-cognito-identity-provider
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.162.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.161.0...v3.162.0) (2022-08-31)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-cognito-identity-provider
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.161.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.160.0...v3.161.0) (2022-08-30)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -7430,6 +7430,7 @@ const serializeAws_json1_1CreateUserPoolClientRequest = (input, context) => {
|
|
|
7430
7430
|
...(input.AnalyticsConfiguration != null && {
|
|
7431
7431
|
AnalyticsConfiguration: serializeAws_json1_1AnalyticsConfigurationType(input.AnalyticsConfiguration, context),
|
|
7432
7432
|
}),
|
|
7433
|
+
...(input.AuthSessionValidity != null && { AuthSessionValidity: input.AuthSessionValidity }),
|
|
7433
7434
|
...(input.CallbackURLs != null && {
|
|
7434
7435
|
CallbackURLs: serializeAws_json1_1CallbackURLsListType(input.CallbackURLs, context),
|
|
7435
7436
|
}),
|
|
@@ -8331,6 +8332,7 @@ const serializeAws_json1_1UpdateUserPoolClientRequest = (input, context) => {
|
|
|
8331
8332
|
...(input.AnalyticsConfiguration != null && {
|
|
8332
8333
|
AnalyticsConfiguration: serializeAws_json1_1AnalyticsConfigurationType(input.AnalyticsConfiguration, context),
|
|
8333
8334
|
}),
|
|
8335
|
+
...(input.AuthSessionValidity != null && { AuthSessionValidity: input.AuthSessionValidity }),
|
|
8334
8336
|
...(input.CallbackURLs != null && {
|
|
8335
8337
|
CallbackURLs: serializeAws_json1_1CallbackURLsListType(input.CallbackURLs, context),
|
|
8336
8338
|
}),
|
|
@@ -10065,6 +10067,7 @@ const deserializeAws_json1_1UserPoolClientType = (output, context) => {
|
|
|
10065
10067
|
AnalyticsConfiguration: output.AnalyticsConfiguration != null
|
|
10066
10068
|
? deserializeAws_json1_1AnalyticsConfigurationType(output.AnalyticsConfiguration, context)
|
|
10067
10069
|
: undefined,
|
|
10070
|
+
AuthSessionValidity: (0, smithy_client_1.expectInt32)(output.AuthSessionValidity),
|
|
10068
10071
|
CallbackURLs: output.CallbackURLs != null
|
|
10069
10072
|
? deserializeAws_json1_1CallbackURLsListType(output.CallbackURLs, context)
|
|
10070
10073
|
: undefined,
|
|
@@ -9744,7 +9744,7 @@ var serializeAws_json1_1CreateUserImportJobRequest = function (input, context) {
|
|
|
9744
9744
|
return __assign(__assign(__assign({}, (input.CloudWatchLogsRoleArn != null && { CloudWatchLogsRoleArn: input.CloudWatchLogsRoleArn })), (input.JobName != null && { JobName: input.JobName })), (input.UserPoolId != null && { UserPoolId: input.UserPoolId }));
|
|
9745
9745
|
};
|
|
9746
9746
|
var serializeAws_json1_1CreateUserPoolClientRequest = function (input, context) {
|
|
9747
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessTokenValidity != null && { AccessTokenValidity: input.AccessTokenValidity })), (input.AllowedOAuthFlows != null && {
|
|
9747
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessTokenValidity != null && { AccessTokenValidity: input.AccessTokenValidity })), (input.AllowedOAuthFlows != null && {
|
|
9748
9748
|
AllowedOAuthFlows: serializeAws_json1_1OAuthFlowsType(input.AllowedOAuthFlows, context),
|
|
9749
9749
|
})), (input.AllowedOAuthFlowsUserPoolClient != null && {
|
|
9750
9750
|
AllowedOAuthFlowsUserPoolClient: input.AllowedOAuthFlowsUserPoolClient,
|
|
@@ -9752,7 +9752,7 @@ var serializeAws_json1_1CreateUserPoolClientRequest = function (input, context)
|
|
|
9752
9752
|
AllowedOAuthScopes: serializeAws_json1_1ScopeListType(input.AllowedOAuthScopes, context),
|
|
9753
9753
|
})), (input.AnalyticsConfiguration != null && {
|
|
9754
9754
|
AnalyticsConfiguration: serializeAws_json1_1AnalyticsConfigurationType(input.AnalyticsConfiguration, context),
|
|
9755
|
-
})), (input.CallbackURLs != null && {
|
|
9755
|
+
})), (input.AuthSessionValidity != null && { AuthSessionValidity: input.AuthSessionValidity })), (input.CallbackURLs != null && {
|
|
9756
9756
|
CallbackURLs: serializeAws_json1_1CallbackURLsListType(input.CallbackURLs, context),
|
|
9757
9757
|
})), (input.ClientName != null && { ClientName: input.ClientName })), (input.DefaultRedirectURI != null && { DefaultRedirectURI: input.DefaultRedirectURI })), (input.EnablePropagateAdditionalUserContextData != null && {
|
|
9758
9758
|
EnablePropagateAdditionalUserContextData: input.EnablePropagateAdditionalUserContextData,
|
|
@@ -10268,7 +10268,7 @@ var serializeAws_json1_1UpdateUserAttributesRequest = function (input, context)
|
|
|
10268
10268
|
}));
|
|
10269
10269
|
};
|
|
10270
10270
|
var serializeAws_json1_1UpdateUserPoolClientRequest = function (input, context) {
|
|
10271
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessTokenValidity != null && { AccessTokenValidity: input.AccessTokenValidity })), (input.AllowedOAuthFlows != null && {
|
|
10271
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessTokenValidity != null && { AccessTokenValidity: input.AccessTokenValidity })), (input.AllowedOAuthFlows != null && {
|
|
10272
10272
|
AllowedOAuthFlows: serializeAws_json1_1OAuthFlowsType(input.AllowedOAuthFlows, context),
|
|
10273
10273
|
})), (input.AllowedOAuthFlowsUserPoolClient != null && {
|
|
10274
10274
|
AllowedOAuthFlowsUserPoolClient: input.AllowedOAuthFlowsUserPoolClient,
|
|
@@ -10276,7 +10276,7 @@ var serializeAws_json1_1UpdateUserPoolClientRequest = function (input, context)
|
|
|
10276
10276
|
AllowedOAuthScopes: serializeAws_json1_1ScopeListType(input.AllowedOAuthScopes, context),
|
|
10277
10277
|
})), (input.AnalyticsConfiguration != null && {
|
|
10278
10278
|
AnalyticsConfiguration: serializeAws_json1_1AnalyticsConfigurationType(input.AnalyticsConfiguration, context),
|
|
10279
|
-
})), (input.CallbackURLs != null && {
|
|
10279
|
+
})), (input.AuthSessionValidity != null && { AuthSessionValidity: input.AuthSessionValidity })), (input.CallbackURLs != null && {
|
|
10280
10280
|
CallbackURLs: serializeAws_json1_1CallbackURLsListType(input.CallbackURLs, context),
|
|
10281
10281
|
})), (input.ClientId != null && { ClientId: input.ClientId })), (input.ClientName != null && { ClientName: input.ClientName })), (input.DefaultRedirectURI != null && { DefaultRedirectURI: input.DefaultRedirectURI })), (input.EnablePropagateAdditionalUserContextData != null && {
|
|
10282
10282
|
EnablePropagateAdditionalUserContextData: input.EnablePropagateAdditionalUserContextData,
|
|
@@ -11940,6 +11940,7 @@ var deserializeAws_json1_1UserPoolClientType = function (output, context) {
|
|
|
11940
11940
|
AnalyticsConfiguration: output.AnalyticsConfiguration != null
|
|
11941
11941
|
? deserializeAws_json1_1AnalyticsConfigurationType(output.AnalyticsConfiguration, context)
|
|
11942
11942
|
: undefined,
|
|
11943
|
+
AuthSessionValidity: __expectInt32(output.AuthSessionValidity),
|
|
11943
11944
|
CallbackURLs: output.CallbackURLs != null
|
|
11944
11945
|
? deserializeAws_json1_1CallbackURLsListType(output.CallbackURLs, context)
|
|
11945
11946
|
: undefined,
|
|
@@ -3382,23 +3382,46 @@ export interface CreateUserImportJobResponse {
|
|
|
3382
3382
|
UserImportJob?: UserImportJobType;
|
|
3383
3383
|
}
|
|
3384
3384
|
/**
|
|
3385
|
-
* <p>The device-remembering configuration for a user pool. A
|
|
3385
|
+
* <p>The device-remembering configuration for a user pool. A <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html">
|
|
3386
|
+
* DescribeUserPool</a> request returns a null value for this object when the user
|
|
3387
|
+
* pool isn't configured to remember devices. When device remembering is active, you can
|
|
3388
|
+
* remember a user's device with a <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmDevice.html">ConfirmDevice</a> API request. Additionally. when the property
|
|
3389
|
+
* <code>DeviceOnlyRememberedOnUserPrompt</code> is <code>true</code>, you must follow
|
|
3390
|
+
* <code>ConfirmDevice</code> with an <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateDeviceStatus.html">UpdateDeviceStatus</a> API request that sets the user's device to
|
|
3391
|
+
* <code>remembered</code> or <code>not_remembered</code>.</p>
|
|
3392
|
+
* <p>To sign in with a remembered device, include <code>DEVICE_KEY</code> in the
|
|
3393
|
+
* authentication parameters in your user's <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html">
|
|
3394
|
+
* InitiateAuth</a> request. If your app doesn't include a <code>DEVICE_KEY</code>
|
|
3395
|
+
* parameter, the <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html#API_InitiateAuth_ResponseSyntax">response</a> from Amazon Cognito includes newly-generated <code>DEVICE_KEY</code> and
|
|
3396
|
+
* <code>DEVICE_GROUP_KEY</code> values under <code>NewDeviceMetadata</code>. Store
|
|
3397
|
+
* these values to use in future device-authentication requests.</p>
|
|
3386
3398
|
* <note>
|
|
3387
|
-
* <p>When you provide a value for any <code>DeviceConfiguration</code
|
|
3399
|
+
* <p>When you provide a value for any property of <code>DeviceConfiguration</code>, you
|
|
3400
|
+
* activate the device remembering for the user pool.</p>
|
|
3388
3401
|
* </note>
|
|
3389
3402
|
*/
|
|
3390
3403
|
export interface DeviceConfigurationType {
|
|
3391
3404
|
/**
|
|
3392
|
-
* <p>When true, device
|
|
3405
|
+
* <p>When true, a remembered device can sign in with device authentication instead of SMS
|
|
3406
|
+
* and time-based one-time password (TOTP) factors for multi-factor authentication
|
|
3407
|
+
* (MFA).</p>
|
|
3393
3408
|
* <note>
|
|
3394
|
-
* <p>
|
|
3409
|
+
* <p>Whether or not <code>ChallengeRequiredOnNewDevice</code> is true, users who sign in
|
|
3410
|
+
* with devices that have not been confirmed or remembered must still provide a second
|
|
3411
|
+
* factor in a user pool that requires MFA.</p>
|
|
3395
3412
|
* </note>
|
|
3396
3413
|
*/
|
|
3397
3414
|
ChallengeRequiredOnNewDevice?: boolean;
|
|
3398
3415
|
/**
|
|
3399
|
-
* <p>When true, Amazon Cognito doesn't remember
|
|
3400
|
-
*
|
|
3401
|
-
*
|
|
3416
|
+
* <p>When true, Amazon Cognito doesn't automatically remember a user's device when your app sends a
|
|
3417
|
+
* <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmDevice.html">
|
|
3418
|
+
* ConfirmDevice</a> API request. In your app, create a prompt for
|
|
3419
|
+
* your user to choose whether they want to remember their device. Return the user's choice
|
|
3420
|
+
* in an <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateDeviceStatus.html">
|
|
3421
|
+
* UpdateDeviceStatus</a> API request.</p>
|
|
3422
|
+
* <p>When <code>DeviceOnlyRememberedOnUserPrompt</code> is <code>false</code>, Amazon
|
|
3423
|
+
* Cognito immediately remembers devices that you register in a <code>ConfirmDevice</code>
|
|
3424
|
+
* API request.</p>
|
|
3402
3425
|
*/
|
|
3403
3426
|
DeviceOnlyRememberedOnUserPrompt?: boolean;
|
|
3404
3427
|
}
|
|
@@ -3847,17 +3870,15 @@ export interface CreateUserPoolRequest {
|
|
|
3847
3870
|
*/
|
|
3848
3871
|
UsernameAttributes?: (UsernameAttributeType | string)[];
|
|
3849
3872
|
/**
|
|
3850
|
-
* <p>
|
|
3873
|
+
* <p>This parameter is no longer used. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html">VerificationMessageTemplateType</a>.</p>
|
|
3851
3874
|
*/
|
|
3852
3875
|
SmsVerificationMessage?: string;
|
|
3853
3876
|
/**
|
|
3854
|
-
* <p>
|
|
3855
|
-
* <code>EmailVerificationMessage</code> is allowed only if <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount">EmailSendingAccount</a> is DEVELOPER. </p>
|
|
3877
|
+
* <p>This parameter is no longer used. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html">VerificationMessageTemplateType</a>.</p>
|
|
3856
3878
|
*/
|
|
3857
3879
|
EmailVerificationMessage?: string;
|
|
3858
3880
|
/**
|
|
3859
|
-
* <p>
|
|
3860
|
-
* <code>EmailVerificationSubject</code> is allowed only if <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount">EmailSendingAccount</a> is DEVELOPER. </p>
|
|
3881
|
+
* <p>This parameter is no longer used. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html">VerificationMessageTemplateType</a>.</p>
|
|
3861
3882
|
*/
|
|
3862
3883
|
EmailVerificationSubject?: string;
|
|
3863
3884
|
/**
|
|
@@ -3991,15 +4012,15 @@ export interface UserPoolType {
|
|
|
3991
4012
|
*/
|
|
3992
4013
|
UsernameAttributes?: (UsernameAttributeType | string)[];
|
|
3993
4014
|
/**
|
|
3994
|
-
* <p>
|
|
4015
|
+
* <p>This parameter is no longer used. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html">VerificationMessageTemplateType</a>.</p>
|
|
3995
4016
|
*/
|
|
3996
4017
|
SmsVerificationMessage?: string;
|
|
3997
4018
|
/**
|
|
3998
|
-
* <p>
|
|
4019
|
+
* <p>This parameter is no longer used. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html">VerificationMessageTemplateType</a>.</p>
|
|
3999
4020
|
*/
|
|
4000
4021
|
EmailVerificationMessage?: string;
|
|
4001
4022
|
/**
|
|
4002
|
-
* <p>
|
|
4023
|
+
* <p>This parameter is no longer used. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html">VerificationMessageTemplateType</a>.</p>
|
|
4003
4024
|
*/
|
|
4004
4025
|
EmailVerificationSubject?: string;
|
|
4005
4026
|
/**
|
|
@@ -4456,10 +4477,15 @@ export interface CreateUserPoolClientRequest {
|
|
|
4456
4477
|
* propagation of user context data, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html"> Adding advanced security to a user pool</a>. If you don’t include this
|
|
4457
4478
|
* parameter, you can't send device fingerprint information, including source IP address,
|
|
4458
4479
|
* to Amazon Cognito advanced security. You can only activate
|
|
4459
|
-
*
|
|
4480
|
+
* <code>EnablePropagateAdditionalUserContextData</code> in an app client that has a
|
|
4460
4481
|
* client secret.</p>
|
|
4461
4482
|
*/
|
|
4462
4483
|
EnablePropagateAdditionalUserContextData?: boolean;
|
|
4484
|
+
/**
|
|
4485
|
+
* <p>Amazon Cognito creates a session token for each API request in an authentication flow. <code>AuthSessionValidity</code> is the duration,
|
|
4486
|
+
* in minutes, of that session token. Your user pool native user must respond to each authentication challenge before the session expires.</p>
|
|
4487
|
+
*/
|
|
4488
|
+
AuthSessionValidity?: number;
|
|
4463
4489
|
}
|
|
4464
4490
|
/**
|
|
4465
4491
|
* <p>Contains information about a user pool client.</p>
|
|
@@ -4722,6 +4748,11 @@ export interface UserPoolClientType {
|
|
|
4722
4748
|
* data, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-adaptive-authentication.html#user-pool-settings-adaptive-authentication-device-fingerprint">Adding user device and session data to API requests</a>.</p>
|
|
4723
4749
|
*/
|
|
4724
4750
|
EnablePropagateAdditionalUserContextData?: boolean;
|
|
4751
|
+
/**
|
|
4752
|
+
* <p>Amazon Cognito creates a session token for each API request in an authentication flow. <code>AuthSessionValidity</code> is the duration,
|
|
4753
|
+
* in minutes, of that session token. Your user pool native user must respond to each authentication challenge before the session expires.</p>
|
|
4754
|
+
*/
|
|
4755
|
+
AuthSessionValidity?: number;
|
|
4725
4756
|
}
|
|
4726
4757
|
/**
|
|
4727
4758
|
* <p>Represents the response from the server to create a user pool client.</p>
|
|
@@ -312,15 +312,15 @@ export interface UpdateUserPoolRequest {
|
|
|
312
312
|
*/
|
|
313
313
|
AutoVerifiedAttributes?: (VerifiedAttributeType | string)[];
|
|
314
314
|
/**
|
|
315
|
-
* <p>
|
|
315
|
+
* <p>This parameter is no longer used. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html">VerificationMessageTemplateType</a>.</p>
|
|
316
316
|
*/
|
|
317
317
|
SmsVerificationMessage?: string;
|
|
318
318
|
/**
|
|
319
|
-
* <p>
|
|
319
|
+
* <p>This parameter is no longer used. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html">VerificationMessageTemplateType</a>.</p>
|
|
320
320
|
*/
|
|
321
321
|
EmailVerificationMessage?: string;
|
|
322
322
|
/**
|
|
323
|
-
* <p>
|
|
323
|
+
* <p>This parameter is no longer used. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html">VerificationMessageTemplateType</a>.</p>
|
|
324
324
|
*/
|
|
325
325
|
EmailVerificationSubject?: string;
|
|
326
326
|
/**
|
|
@@ -648,10 +648,15 @@ export interface UpdateUserPoolClientRequest {
|
|
|
648
648
|
* propagation of user context data, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html"> Adding advanced security to a user pool</a>. If you don’t include this
|
|
649
649
|
* parameter, you can't send device fingerprint information, including source IP address,
|
|
650
650
|
* to Amazon Cognito advanced security. You can only activate
|
|
651
|
-
*
|
|
651
|
+
* <code>EnablePropagateAdditionalUserContextData</code> in an app client that has a
|
|
652
652
|
* client secret.</p>
|
|
653
653
|
*/
|
|
654
654
|
EnablePropagateAdditionalUserContextData?: boolean;
|
|
655
|
+
/**
|
|
656
|
+
* <p>Amazon Cognito creates a session token for each API request in an authentication flow. <code>AuthSessionValidity</code> is the duration,
|
|
657
|
+
* in minutes, of that session token. Your user pool native user must respond to each authentication challenge before the session expires.</p>
|
|
658
|
+
*/
|
|
659
|
+
AuthSessionValidity?: number;
|
|
655
660
|
}
|
|
656
661
|
/**
|
|
657
662
|
* <p>Represents the response from the server to the request to update the user pool
|
|
@@ -1622,6 +1622,8 @@ export interface CreateUserPoolClientRequest {
|
|
|
1622
1622
|
EnableTokenRevocation?: boolean;
|
|
1623
1623
|
|
|
1624
1624
|
EnablePropagateAdditionalUserContextData?: boolean;
|
|
1625
|
+
|
|
1626
|
+
AuthSessionValidity?: number;
|
|
1625
1627
|
}
|
|
1626
1628
|
|
|
1627
1629
|
export interface UserPoolClientType {
|
|
@@ -1673,6 +1675,8 @@ export interface UserPoolClientType {
|
|
|
1673
1675
|
EnableTokenRevocation?: boolean;
|
|
1674
1676
|
|
|
1675
1677
|
EnablePropagateAdditionalUserContextData?: boolean;
|
|
1678
|
+
|
|
1679
|
+
AuthSessionValidity?: number;
|
|
1676
1680
|
}
|
|
1677
1681
|
|
|
1678
1682
|
export interface CreateUserPoolClientResponse {
|
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.164.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",
|
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.163.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.163.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.163.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.162.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.162.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.162.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.162.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.162.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.162.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.162.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.162.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.162.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.163.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.162.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.162.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.162.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.162.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.162.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.162.0",
|
|
40
|
+
"@aws-sdk/types": "3.162.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.162.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.154.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.162.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.163.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.162.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.162.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1"
|