@aws-sdk/client-cognito-identity-provider 3.28.0 → 3.32.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 +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +40 -40
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_json1_1.js +41 -41
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_json1_1.ts +45 -41
package/dist/es/endpoints.js
CHANGED
|
@@ -72,8 +72,7 @@ var partitionHash = {
|
|
|
72
72
|
};
|
|
73
73
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
74
74
|
return __generator(this, function (_a) {
|
|
75
|
-
return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "cognito-idp", regionHash: regionHash,
|
|
76
|
-
partitionHash: partitionHash }))];
|
|
75
|
+
return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "cognito-idp", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
77
76
|
});
|
|
78
77
|
}); };
|
|
79
78
|
//# sourceMappingURL=endpoints.js.map
|
package/dist/es/endpoints.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe;IAC7B,gBAAgB,EAAE;QAChB,QAAQ,EAAE,0CAA0C;QACpD,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,0CAA0C;QACpD,aAAa,EAAE,WAAW;KAC3B;IACD,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E;QACZ,OAAO,EAAE,CAAC,oBAAoB,EAAE,eAAe,EAAE,eAAe,CAAC;QACjE,QAAQ,EAAE,oCAAoC;KAC/C;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,aAAa,EAC7B,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
|
package/dist/es/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.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,45 +27,45 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
58
|
"tslib": "^2.3.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
62
62
|
"@types/node": "^12.7.5",
|
|
63
63
|
"downlevel-dts": "0.7.0",
|
|
64
64
|
"jest": "^26.1.0",
|
|
65
65
|
"rimraf": "^3.0.0",
|
|
66
66
|
"ts-jest": "^26.4.1",
|
|
67
67
|
"typedoc": "^0.19.2",
|
|
68
|
-
"typescript": "~4.3.
|
|
68
|
+
"typescript": "~4.3.5"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=10.0.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { expectBoolean as __expectBoolean,
|
|
3
|
+
import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
4
4
|
export var serializeAws_json1_1AddCustomAttributesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
5
|
var headers, body;
|
|
6
6
|
return __generator(this, function (_a) {
|
|
@@ -13798,7 +13798,7 @@ var deserializeAws_json1_1AdminCreateUserConfigType = function (output, context)
|
|
|
13798
13798
|
InviteMessageTemplate: output.InviteMessageTemplate !== undefined && output.InviteMessageTemplate !== null
|
|
13799
13799
|
? deserializeAws_json1_1MessageTemplateType(output.InviteMessageTemplate, context)
|
|
13800
13800
|
: undefined,
|
|
13801
|
-
UnusedAccountValidityDays:
|
|
13801
|
+
UnusedAccountValidityDays: __expectInt32(output.UnusedAccountValidityDays),
|
|
13802
13802
|
};
|
|
13803
13803
|
};
|
|
13804
13804
|
var deserializeAws_json1_1AdminCreateUserResponse = function (output, context) {
|
|
@@ -13838,10 +13838,10 @@ var deserializeAws_json1_1AdminGetUserResponse = function (output, context) {
|
|
|
13838
13838
|
? deserializeAws_json1_1AttributeListType(output.UserAttributes, context)
|
|
13839
13839
|
: undefined,
|
|
13840
13840
|
UserCreateDate: output.UserCreateDate !== undefined && output.UserCreateDate !== null
|
|
13841
|
-
?
|
|
13841
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UserCreateDate)))
|
|
13842
13842
|
: undefined,
|
|
13843
13843
|
UserLastModifiedDate: output.UserLastModifiedDate !== undefined && output.UserLastModifiedDate !== null
|
|
13844
|
-
?
|
|
13844
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UserLastModifiedDate)))
|
|
13845
13845
|
: undefined,
|
|
13846
13846
|
UserMFASettingList: output.UserMFASettingList !== undefined && output.UserMFASettingList !== null
|
|
13847
13847
|
? deserializeAws_json1_1UserMFASettingListType(output.UserMFASettingList, context)
|
|
@@ -13984,7 +13984,7 @@ var deserializeAws_json1_1AttributeType = function (output, context) {
|
|
|
13984
13984
|
var deserializeAws_json1_1AuthenticationResultType = function (output, context) {
|
|
13985
13985
|
return {
|
|
13986
13986
|
AccessToken: __expectString(output.AccessToken),
|
|
13987
|
-
ExpiresIn:
|
|
13987
|
+
ExpiresIn: __expectInt32(output.ExpiresIn),
|
|
13988
13988
|
IdToken: __expectString(output.IdToken),
|
|
13989
13989
|
NewDeviceMetadata: output.NewDeviceMetadata !== undefined && output.NewDeviceMetadata !== null
|
|
13990
13990
|
? deserializeAws_json1_1NewDeviceMetadataType(output.NewDeviceMetadata, context)
|
|
@@ -14009,7 +14009,7 @@ var deserializeAws_json1_1AuthEventType = function (output, context) {
|
|
|
14009
14009
|
? deserializeAws_json1_1ChallengeResponseListType(output.ChallengeResponses, context)
|
|
14010
14010
|
: undefined,
|
|
14011
14011
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
14012
|
-
?
|
|
14012
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDate)))
|
|
14013
14013
|
: undefined,
|
|
14014
14014
|
EventContextData: output.EventContextData !== undefined && output.EventContextData !== null
|
|
14015
14015
|
? deserializeAws_json1_1EventContextDataType(output.EventContextData, context)
|
|
@@ -14283,14 +14283,14 @@ var deserializeAws_json1_1DeviceType = function (output, context) {
|
|
|
14283
14283
|
? deserializeAws_json1_1AttributeListType(output.DeviceAttributes, context)
|
|
14284
14284
|
: undefined,
|
|
14285
14285
|
DeviceCreateDate: output.DeviceCreateDate !== undefined && output.DeviceCreateDate !== null
|
|
14286
|
-
?
|
|
14286
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeviceCreateDate)))
|
|
14287
14287
|
: undefined,
|
|
14288
14288
|
DeviceKey: __expectString(output.DeviceKey),
|
|
14289
14289
|
DeviceLastAuthenticatedDate: output.DeviceLastAuthenticatedDate !== undefined && output.DeviceLastAuthenticatedDate !== null
|
|
14290
|
-
?
|
|
14290
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeviceLastAuthenticatedDate)))
|
|
14291
14291
|
: undefined,
|
|
14292
14292
|
DeviceLastModifiedDate: output.DeviceLastModifiedDate !== undefined && output.DeviceLastModifiedDate !== null
|
|
14293
|
-
?
|
|
14293
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeviceLastModifiedDate)))
|
|
14294
14294
|
: undefined,
|
|
14295
14295
|
};
|
|
14296
14296
|
};
|
|
@@ -14339,7 +14339,7 @@ var deserializeAws_json1_1EventContextDataType = function (output, context) {
|
|
|
14339
14339
|
var deserializeAws_json1_1EventFeedbackType = function (output, context) {
|
|
14340
14340
|
return {
|
|
14341
14341
|
FeedbackDate: output.FeedbackDate !== undefined && output.FeedbackDate !== null
|
|
14342
|
-
?
|
|
14342
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FeedbackDate)))
|
|
14343
14343
|
: undefined,
|
|
14344
14344
|
FeedbackValue: __expectString(output.FeedbackValue),
|
|
14345
14345
|
Provider: __expectString(output.Provider),
|
|
@@ -14479,14 +14479,14 @@ var deserializeAws_json1_1GroupListType = function (output, context) {
|
|
|
14479
14479
|
var deserializeAws_json1_1GroupType = function (output, context) {
|
|
14480
14480
|
return {
|
|
14481
14481
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
14482
|
-
?
|
|
14482
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDate)))
|
|
14483
14483
|
: undefined,
|
|
14484
14484
|
Description: __expectString(output.Description),
|
|
14485
14485
|
GroupName: __expectString(output.GroupName),
|
|
14486
14486
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
14487
|
-
?
|
|
14487
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
|
|
14488
14488
|
: undefined,
|
|
14489
|
-
Precedence:
|
|
14489
|
+
Precedence: __expectInt32(output.Precedence),
|
|
14490
14490
|
RoleArn: __expectString(output.RoleArn),
|
|
14491
14491
|
UserPoolId: __expectString(output.UserPoolId),
|
|
14492
14492
|
};
|
|
@@ -14497,13 +14497,13 @@ var deserializeAws_json1_1IdentityProviderType = function (output, context) {
|
|
|
14497
14497
|
? deserializeAws_json1_1AttributeMappingType(output.AttributeMapping, context)
|
|
14498
14498
|
: undefined,
|
|
14499
14499
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
14500
|
-
?
|
|
14500
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDate)))
|
|
14501
14501
|
: undefined,
|
|
14502
14502
|
IdpIdentifiers: output.IdpIdentifiers !== undefined && output.IdpIdentifiers !== null
|
|
14503
14503
|
? deserializeAws_json1_1IdpIdentifiersListType(output.IdpIdentifiers, context)
|
|
14504
14504
|
: undefined,
|
|
14505
14505
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
14506
|
-
?
|
|
14506
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
|
|
14507
14507
|
: undefined,
|
|
14508
14508
|
ProviderDetails: output.ProviderDetails !== undefined && output.ProviderDetails !== null
|
|
14509
14509
|
? deserializeAws_json1_1ProviderDetailsType(output.ProviderDetails, context)
|
|
@@ -14785,12 +14785,12 @@ var deserializeAws_json1_1OAuthFlowsType = function (output, context) {
|
|
|
14785
14785
|
};
|
|
14786
14786
|
var deserializeAws_json1_1PasswordPolicyType = function (output, context) {
|
|
14787
14787
|
return {
|
|
14788
|
-
MinimumLength:
|
|
14788
|
+
MinimumLength: __expectInt32(output.MinimumLength),
|
|
14789
14789
|
RequireLowercase: __expectBoolean(output.RequireLowercase),
|
|
14790
14790
|
RequireNumbers: __expectBoolean(output.RequireNumbers),
|
|
14791
14791
|
RequireSymbols: __expectBoolean(output.RequireSymbols),
|
|
14792
14792
|
RequireUppercase: __expectBoolean(output.RequireUppercase),
|
|
14793
|
-
TemporaryPasswordValidityDays:
|
|
14793
|
+
TemporaryPasswordValidityDays: __expectInt32(output.TemporaryPasswordValidityDays),
|
|
14794
14794
|
};
|
|
14795
14795
|
};
|
|
14796
14796
|
var deserializeAws_json1_1PasswordResetRequiredException = function (output, context) {
|
|
@@ -14806,10 +14806,10 @@ var deserializeAws_json1_1PreconditionNotMetException = function (output, contex
|
|
|
14806
14806
|
var deserializeAws_json1_1ProviderDescription = function (output, context) {
|
|
14807
14807
|
return {
|
|
14808
14808
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
14809
|
-
?
|
|
14809
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDate)))
|
|
14810
14810
|
: undefined,
|
|
14811
14811
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
14812
|
-
?
|
|
14812
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
|
|
14813
14813
|
: undefined,
|
|
14814
14814
|
ProviderName: __expectString(output.ProviderName),
|
|
14815
14815
|
ProviderType: __expectString(output.ProviderType),
|
|
@@ -14848,7 +14848,7 @@ var deserializeAws_json1_1RecoveryMechanismsType = function (output, context) {
|
|
|
14848
14848
|
var deserializeAws_json1_1RecoveryOptionType = function (output, context) {
|
|
14849
14849
|
return {
|
|
14850
14850
|
Name: __expectString(output.Name),
|
|
14851
|
-
Priority:
|
|
14851
|
+
Priority: __expectInt32(output.Priority),
|
|
14852
14852
|
};
|
|
14853
14853
|
};
|
|
14854
14854
|
var deserializeAws_json1_1ResendConfirmationCodeResponse = function (output, context) {
|
|
@@ -14925,7 +14925,7 @@ var deserializeAws_json1_1RiskConfigurationType = function (output, context) {
|
|
|
14925
14925
|
? deserializeAws_json1_1CompromisedCredentialsRiskConfigurationType(output.CompromisedCredentialsRiskConfiguration, context)
|
|
14926
14926
|
: undefined,
|
|
14927
14927
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
14928
|
-
?
|
|
14928
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
|
|
14929
14929
|
: undefined,
|
|
14930
14930
|
RiskExceptionConfiguration: output.RiskExceptionConfiguration !== undefined && output.RiskExceptionConfiguration !== null
|
|
14931
14931
|
? deserializeAws_json1_1RiskExceptionConfigurationType(output.RiskExceptionConfiguration, context)
|
|
@@ -15113,11 +15113,11 @@ var deserializeAws_json1_1UICustomizationType = function (output, context) {
|
|
|
15113
15113
|
CSSVersion: __expectString(output.CSSVersion),
|
|
15114
15114
|
ClientId: __expectString(output.ClientId),
|
|
15115
15115
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
15116
|
-
?
|
|
15116
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDate)))
|
|
15117
15117
|
: undefined,
|
|
15118
15118
|
ImageUrl: __expectString(output.ImageUrl),
|
|
15119
15119
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
15120
|
-
?
|
|
15120
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
|
|
15121
15121
|
: undefined,
|
|
15122
15122
|
UserPoolId: __expectString(output.UserPoolId),
|
|
15123
15123
|
};
|
|
@@ -15223,20 +15223,20 @@ var deserializeAws_json1_1UserImportJobType = function (output, context) {
|
|
|
15223
15223
|
return {
|
|
15224
15224
|
CloudWatchLogsRoleArn: __expectString(output.CloudWatchLogsRoleArn),
|
|
15225
15225
|
CompletionDate: output.CompletionDate !== undefined && output.CompletionDate !== null
|
|
15226
|
-
?
|
|
15226
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionDate)))
|
|
15227
15227
|
: undefined,
|
|
15228
15228
|
CompletionMessage: __expectString(output.CompletionMessage),
|
|
15229
15229
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
15230
|
-
?
|
|
15230
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDate)))
|
|
15231
15231
|
: undefined,
|
|
15232
|
-
FailedUsers:
|
|
15233
|
-
ImportedUsers:
|
|
15232
|
+
FailedUsers: __expectLong(output.FailedUsers),
|
|
15233
|
+
ImportedUsers: __expectLong(output.ImportedUsers),
|
|
15234
15234
|
JobId: __expectString(output.JobId),
|
|
15235
15235
|
JobName: __expectString(output.JobName),
|
|
15236
15236
|
PreSignedUrl: __expectString(output.PreSignedUrl),
|
|
15237
|
-
SkippedUsers:
|
|
15237
|
+
SkippedUsers: __expectLong(output.SkippedUsers),
|
|
15238
15238
|
StartDate: output.StartDate !== undefined && output.StartDate !== null
|
|
15239
|
-
?
|
|
15239
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartDate)))
|
|
15240
15240
|
: undefined,
|
|
15241
15241
|
Status: __expectString(output.Status),
|
|
15242
15242
|
UserPoolId: __expectString(output.UserPoolId),
|
|
@@ -15316,7 +15316,7 @@ var deserializeAws_json1_1UserPoolClientListType = function (output, context) {
|
|
|
15316
15316
|
};
|
|
15317
15317
|
var deserializeAws_json1_1UserPoolClientType = function (output, context) {
|
|
15318
15318
|
return {
|
|
15319
|
-
AccessTokenValidity:
|
|
15319
|
+
AccessTokenValidity: __expectInt32(output.AccessTokenValidity),
|
|
15320
15320
|
AllowedOAuthFlows: output.AllowedOAuthFlows !== undefined && output.AllowedOAuthFlows !== null
|
|
15321
15321
|
? deserializeAws_json1_1OAuthFlowsType(output.AllowedOAuthFlows, context)
|
|
15322
15322
|
: undefined,
|
|
@@ -15334,16 +15334,16 @@ var deserializeAws_json1_1UserPoolClientType = function (output, context) {
|
|
|
15334
15334
|
ClientName: __expectString(output.ClientName),
|
|
15335
15335
|
ClientSecret: __expectString(output.ClientSecret),
|
|
15336
15336
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
15337
|
-
?
|
|
15337
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDate)))
|
|
15338
15338
|
: undefined,
|
|
15339
15339
|
DefaultRedirectURI: __expectString(output.DefaultRedirectURI),
|
|
15340
15340
|
EnableTokenRevocation: __expectBoolean(output.EnableTokenRevocation),
|
|
15341
15341
|
ExplicitAuthFlows: output.ExplicitAuthFlows !== undefined && output.ExplicitAuthFlows !== null
|
|
15342
15342
|
? deserializeAws_json1_1ExplicitAuthFlowsListType(output.ExplicitAuthFlows, context)
|
|
15343
15343
|
: undefined,
|
|
15344
|
-
IdTokenValidity:
|
|
15344
|
+
IdTokenValidity: __expectInt32(output.IdTokenValidity),
|
|
15345
15345
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
15346
|
-
?
|
|
15346
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
|
|
15347
15347
|
: undefined,
|
|
15348
15348
|
LogoutURLs: output.LogoutURLs !== undefined && output.LogoutURLs !== null
|
|
15349
15349
|
? deserializeAws_json1_1LogoutURLsListType(output.LogoutURLs, context)
|
|
@@ -15352,7 +15352,7 @@ var deserializeAws_json1_1UserPoolClientType = function (output, context) {
|
|
|
15352
15352
|
ReadAttributes: output.ReadAttributes !== undefined && output.ReadAttributes !== null
|
|
15353
15353
|
? deserializeAws_json1_1ClientPermissionListType(output.ReadAttributes, context)
|
|
15354
15354
|
: undefined,
|
|
15355
|
-
RefreshTokenValidity:
|
|
15355
|
+
RefreshTokenValidity: __expectInt32(output.RefreshTokenValidity),
|
|
15356
15356
|
SupportedIdentityProviders: output.SupportedIdentityProviders !== undefined && output.SupportedIdentityProviders !== null
|
|
15357
15357
|
? deserializeAws_json1_1SupportedIdentityProvidersListType(output.SupportedIdentityProviders, context)
|
|
15358
15358
|
: undefined,
|
|
@@ -15368,14 +15368,14 @@ var deserializeAws_json1_1UserPoolClientType = function (output, context) {
|
|
|
15368
15368
|
var deserializeAws_json1_1UserPoolDescriptionType = function (output, context) {
|
|
15369
15369
|
return {
|
|
15370
15370
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
15371
|
-
?
|
|
15371
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDate)))
|
|
15372
15372
|
: undefined,
|
|
15373
15373
|
Id: __expectString(output.Id),
|
|
15374
15374
|
LambdaConfig: output.LambdaConfig !== undefined && output.LambdaConfig !== null
|
|
15375
15375
|
? deserializeAws_json1_1LambdaConfigType(output.LambdaConfig, context)
|
|
15376
15376
|
: undefined,
|
|
15377
15377
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
15378
|
-
?
|
|
15378
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
|
|
15379
15379
|
: undefined,
|
|
15380
15380
|
Name: __expectString(output.Name),
|
|
15381
15381
|
Status: __expectString(output.Status),
|
|
@@ -15429,7 +15429,7 @@ var deserializeAws_json1_1UserPoolType = function (output, context) {
|
|
|
15429
15429
|
? deserializeAws_json1_1VerifiedAttributesListType(output.AutoVerifiedAttributes, context)
|
|
15430
15430
|
: undefined,
|
|
15431
15431
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
15432
|
-
?
|
|
15432
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDate)))
|
|
15433
15433
|
: undefined,
|
|
15434
15434
|
CustomDomain: __expectString(output.CustomDomain),
|
|
15435
15435
|
DeviceConfiguration: output.DeviceConfiguration !== undefined && output.DeviceConfiguration !== null
|
|
@@ -15442,13 +15442,13 @@ var deserializeAws_json1_1UserPoolType = function (output, context) {
|
|
|
15442
15442
|
EmailConfigurationFailure: __expectString(output.EmailConfigurationFailure),
|
|
15443
15443
|
EmailVerificationMessage: __expectString(output.EmailVerificationMessage),
|
|
15444
15444
|
EmailVerificationSubject: __expectString(output.EmailVerificationSubject),
|
|
15445
|
-
EstimatedNumberOfUsers:
|
|
15445
|
+
EstimatedNumberOfUsers: __expectInt32(output.EstimatedNumberOfUsers),
|
|
15446
15446
|
Id: __expectString(output.Id),
|
|
15447
15447
|
LambdaConfig: output.LambdaConfig !== undefined && output.LambdaConfig !== null
|
|
15448
15448
|
? deserializeAws_json1_1LambdaConfigType(output.LambdaConfig, context)
|
|
15449
15449
|
: undefined,
|
|
15450
15450
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
15451
|
-
?
|
|
15451
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
|
|
15452
15452
|
: undefined,
|
|
15453
15453
|
MfaConfiguration: __expectString(output.MfaConfiguration),
|
|
15454
15454
|
Name: __expectString(output.Name),
|
|
@@ -15502,10 +15502,10 @@ var deserializeAws_json1_1UserType = function (output, context) {
|
|
|
15502
15502
|
? deserializeAws_json1_1MFAOptionListType(output.MFAOptions, context)
|
|
15503
15503
|
: undefined,
|
|
15504
15504
|
UserCreateDate: output.UserCreateDate !== undefined && output.UserCreateDate !== null
|
|
15505
|
-
?
|
|
15505
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UserCreateDate)))
|
|
15506
15506
|
: undefined,
|
|
15507
15507
|
UserLastModifiedDate: output.UserLastModifiedDate !== undefined && output.UserLastModifiedDate !== null
|
|
15508
|
-
?
|
|
15508
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UserLastModifiedDate)))
|
|
15509
15509
|
: undefined,
|
|
15510
15510
|
UserStatus: __expectString(output.UserStatus),
|
|
15511
15511
|
Username: __expectString(output.Username),
|