@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 CHANGED
@@ -3,6 +3,38 @@
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.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-cognito-identity-provider
9
+
10
+
11
+
12
+
13
+
14
+ # [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-cognito-identity-provider
17
+
18
+
19
+
20
+
21
+
22
+ # [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-cognito-identity-provider
25
+
26
+
27
+
28
+
29
+
30
+ # [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
31
+
32
+ **Note:** Version bump only for package @aws-sdk/client-cognito-identity-provider
33
+
34
+
35
+
36
+
37
+
6
38
  # [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
7
39
 
8
40
 
@@ -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.28.0",
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.28.0",
31
- "@aws-sdk/config-resolver": "3.28.0",
32
- "@aws-sdk/credential-provider-node": "3.28.0",
33
- "@aws-sdk/fetch-http-handler": "3.25.0",
34
- "@aws-sdk/hash-node": "3.25.0",
35
- "@aws-sdk/invalid-dependency": "3.25.0",
36
- "@aws-sdk/middleware-content-length": "3.25.0",
37
- "@aws-sdk/middleware-host-header": "3.25.0",
38
- "@aws-sdk/middleware-logger": "3.25.0",
39
- "@aws-sdk/middleware-retry": "3.28.0",
40
- "@aws-sdk/middleware-serde": "3.25.0",
41
- "@aws-sdk/middleware-signing": "3.28.0",
42
- "@aws-sdk/middleware-stack": "3.25.0",
43
- "@aws-sdk/middleware-user-agent": "3.25.0",
44
- "@aws-sdk/node-config-provider": "3.28.0",
45
- "@aws-sdk/node-http-handler": "3.25.0",
46
- "@aws-sdk/protocol-http": "3.25.0",
47
- "@aws-sdk/smithy-client": "3.28.0",
48
- "@aws-sdk/types": "3.25.0",
49
- "@aws-sdk/url-parser": "3.25.0",
50
- "@aws-sdk/util-base64-browser": "3.23.0",
51
- "@aws-sdk/util-base64-node": "3.23.0",
52
- "@aws-sdk/util-body-length-browser": "3.23.0",
53
- "@aws-sdk/util-body-length-node": "3.23.0",
54
- "@aws-sdk/util-user-agent-browser": "3.25.0",
55
- "@aws-sdk/util-user-agent-node": "3.28.0",
56
- "@aws-sdk/util-utf8-browser": "3.23.0",
57
- "@aws-sdk/util-utf8-node": "3.23.0",
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.23.0",
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.2"
68
+ "typescript": "~4.3.5"
69
69
  },
70
70
  "engines": {
71
71
  "node": ">=10.0.0"
@@ -13501,7 +13501,7 @@ const deserializeAws_json1_1AdminCreateUserConfigType = (output, context) => {
13501
13501
  InviteMessageTemplate: output.InviteMessageTemplate !== undefined && output.InviteMessageTemplate !== null
13502
13502
  ? deserializeAws_json1_1MessageTemplateType(output.InviteMessageTemplate, context)
13503
13503
  : undefined,
13504
- UnusedAccountValidityDays: smithy_client_1.expectInt(output.UnusedAccountValidityDays),
13504
+ UnusedAccountValidityDays: smithy_client_1.expectInt32(output.UnusedAccountValidityDays),
13505
13505
  };
13506
13506
  };
13507
13507
  const deserializeAws_json1_1AdminCreateUserResponse = (output, context) => {
@@ -13541,10 +13541,10 @@ const deserializeAws_json1_1AdminGetUserResponse = (output, context) => {
13541
13541
  ? deserializeAws_json1_1AttributeListType(output.UserAttributes, context)
13542
13542
  : undefined,
13543
13543
  UserCreateDate: output.UserCreateDate !== undefined && output.UserCreateDate !== null
13544
- ? new Date(Math.round(output.UserCreateDate * 1000))
13544
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UserCreateDate)))
13545
13545
  : undefined,
13546
13546
  UserLastModifiedDate: output.UserLastModifiedDate !== undefined && output.UserLastModifiedDate !== null
13547
- ? new Date(Math.round(output.UserLastModifiedDate * 1000))
13547
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UserLastModifiedDate)))
13548
13548
  : undefined,
13549
13549
  UserMFASettingList: output.UserMFASettingList !== undefined && output.UserMFASettingList !== null
13550
13550
  ? deserializeAws_json1_1UserMFASettingListType(output.UserMFASettingList, context)
@@ -13688,7 +13688,7 @@ const deserializeAws_json1_1AttributeType = (output, context) => {
13688
13688
  const deserializeAws_json1_1AuthenticationResultType = (output, context) => {
13689
13689
  return {
13690
13690
  AccessToken: smithy_client_1.expectString(output.AccessToken),
13691
- ExpiresIn: smithy_client_1.expectInt(output.ExpiresIn),
13691
+ ExpiresIn: smithy_client_1.expectInt32(output.ExpiresIn),
13692
13692
  IdToken: smithy_client_1.expectString(output.IdToken),
13693
13693
  NewDeviceMetadata: output.NewDeviceMetadata !== undefined && output.NewDeviceMetadata !== null
13694
13694
  ? deserializeAws_json1_1NewDeviceMetadataType(output.NewDeviceMetadata, context)
@@ -13713,7 +13713,7 @@ const deserializeAws_json1_1AuthEventType = (output, context) => {
13713
13713
  ? deserializeAws_json1_1ChallengeResponseListType(output.ChallengeResponses, context)
13714
13714
  : undefined,
13715
13715
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
13716
- ? new Date(Math.round(output.CreationDate * 1000))
13716
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
13717
13717
  : undefined,
13718
13718
  EventContextData: output.EventContextData !== undefined && output.EventContextData !== null
13719
13719
  ? deserializeAws_json1_1EventContextDataType(output.EventContextData, context)
@@ -13988,14 +13988,14 @@ const deserializeAws_json1_1DeviceType = (output, context) => {
13988
13988
  ? deserializeAws_json1_1AttributeListType(output.DeviceAttributes, context)
13989
13989
  : undefined,
13990
13990
  DeviceCreateDate: output.DeviceCreateDate !== undefined && output.DeviceCreateDate !== null
13991
- ? new Date(Math.round(output.DeviceCreateDate * 1000))
13991
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeviceCreateDate)))
13992
13992
  : undefined,
13993
13993
  DeviceKey: smithy_client_1.expectString(output.DeviceKey),
13994
13994
  DeviceLastAuthenticatedDate: output.DeviceLastAuthenticatedDate !== undefined && output.DeviceLastAuthenticatedDate !== null
13995
- ? new Date(Math.round(output.DeviceLastAuthenticatedDate * 1000))
13995
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeviceLastAuthenticatedDate)))
13996
13996
  : undefined,
13997
13997
  DeviceLastModifiedDate: output.DeviceLastModifiedDate !== undefined && output.DeviceLastModifiedDate !== null
13998
- ? new Date(Math.round(output.DeviceLastModifiedDate * 1000))
13998
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeviceLastModifiedDate)))
13999
13999
  : undefined,
14000
14000
  };
14001
14001
  };
@@ -14044,7 +14044,7 @@ const deserializeAws_json1_1EventContextDataType = (output, context) => {
14044
14044
  const deserializeAws_json1_1EventFeedbackType = (output, context) => {
14045
14045
  return {
14046
14046
  FeedbackDate: output.FeedbackDate !== undefined && output.FeedbackDate !== null
14047
- ? new Date(Math.round(output.FeedbackDate * 1000))
14047
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FeedbackDate)))
14048
14048
  : undefined,
14049
14049
  FeedbackValue: smithy_client_1.expectString(output.FeedbackValue),
14050
14050
  Provider: smithy_client_1.expectString(output.Provider),
@@ -14184,14 +14184,14 @@ const deserializeAws_json1_1GroupListType = (output, context) => {
14184
14184
  const deserializeAws_json1_1GroupType = (output, context) => {
14185
14185
  return {
14186
14186
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
14187
- ? new Date(Math.round(output.CreationDate * 1000))
14187
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
14188
14188
  : undefined,
14189
14189
  Description: smithy_client_1.expectString(output.Description),
14190
14190
  GroupName: smithy_client_1.expectString(output.GroupName),
14191
14191
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
14192
- ? new Date(Math.round(output.LastModifiedDate * 1000))
14192
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
14193
14193
  : undefined,
14194
- Precedence: smithy_client_1.expectInt(output.Precedence),
14194
+ Precedence: smithy_client_1.expectInt32(output.Precedence),
14195
14195
  RoleArn: smithy_client_1.expectString(output.RoleArn),
14196
14196
  UserPoolId: smithy_client_1.expectString(output.UserPoolId),
14197
14197
  };
@@ -14202,13 +14202,13 @@ const deserializeAws_json1_1IdentityProviderType = (output, context) => {
14202
14202
  ? deserializeAws_json1_1AttributeMappingType(output.AttributeMapping, context)
14203
14203
  : undefined,
14204
14204
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
14205
- ? new Date(Math.round(output.CreationDate * 1000))
14205
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
14206
14206
  : undefined,
14207
14207
  IdpIdentifiers: output.IdpIdentifiers !== undefined && output.IdpIdentifiers !== null
14208
14208
  ? deserializeAws_json1_1IdpIdentifiersListType(output.IdpIdentifiers, context)
14209
14209
  : undefined,
14210
14210
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
14211
- ? new Date(Math.round(output.LastModifiedDate * 1000))
14211
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
14212
14212
  : undefined,
14213
14213
  ProviderDetails: output.ProviderDetails !== undefined && output.ProviderDetails !== null
14214
14214
  ? deserializeAws_json1_1ProviderDetailsType(output.ProviderDetails, context)
@@ -14490,12 +14490,12 @@ const deserializeAws_json1_1OAuthFlowsType = (output, context) => {
14490
14490
  };
14491
14491
  const deserializeAws_json1_1PasswordPolicyType = (output, context) => {
14492
14492
  return {
14493
- MinimumLength: smithy_client_1.expectInt(output.MinimumLength),
14493
+ MinimumLength: smithy_client_1.expectInt32(output.MinimumLength),
14494
14494
  RequireLowercase: smithy_client_1.expectBoolean(output.RequireLowercase),
14495
14495
  RequireNumbers: smithy_client_1.expectBoolean(output.RequireNumbers),
14496
14496
  RequireSymbols: smithy_client_1.expectBoolean(output.RequireSymbols),
14497
14497
  RequireUppercase: smithy_client_1.expectBoolean(output.RequireUppercase),
14498
- TemporaryPasswordValidityDays: smithy_client_1.expectInt(output.TemporaryPasswordValidityDays),
14498
+ TemporaryPasswordValidityDays: smithy_client_1.expectInt32(output.TemporaryPasswordValidityDays),
14499
14499
  };
14500
14500
  };
14501
14501
  const deserializeAws_json1_1PasswordResetRequiredException = (output, context) => {
@@ -14511,10 +14511,10 @@ const deserializeAws_json1_1PreconditionNotMetException = (output, context) => {
14511
14511
  const deserializeAws_json1_1ProviderDescription = (output, context) => {
14512
14512
  return {
14513
14513
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
14514
- ? new Date(Math.round(output.CreationDate * 1000))
14514
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
14515
14515
  : undefined,
14516
14516
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
14517
- ? new Date(Math.round(output.LastModifiedDate * 1000))
14517
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
14518
14518
  : undefined,
14519
14519
  ProviderName: smithy_client_1.expectString(output.ProviderName),
14520
14520
  ProviderType: smithy_client_1.expectString(output.ProviderType),
@@ -14554,7 +14554,7 @@ const deserializeAws_json1_1RecoveryMechanismsType = (output, context) => {
14554
14554
  const deserializeAws_json1_1RecoveryOptionType = (output, context) => {
14555
14555
  return {
14556
14556
  Name: smithy_client_1.expectString(output.Name),
14557
- Priority: smithy_client_1.expectInt(output.Priority),
14557
+ Priority: smithy_client_1.expectInt32(output.Priority),
14558
14558
  };
14559
14559
  };
14560
14560
  const deserializeAws_json1_1ResendConfirmationCodeResponse = (output, context) => {
@@ -14631,7 +14631,7 @@ const deserializeAws_json1_1RiskConfigurationType = (output, context) => {
14631
14631
  ? deserializeAws_json1_1CompromisedCredentialsRiskConfigurationType(output.CompromisedCredentialsRiskConfiguration, context)
14632
14632
  : undefined,
14633
14633
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
14634
- ? new Date(Math.round(output.LastModifiedDate * 1000))
14634
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
14635
14635
  : undefined,
14636
14636
  RiskExceptionConfiguration: output.RiskExceptionConfiguration !== undefined && output.RiskExceptionConfiguration !== null
14637
14637
  ? deserializeAws_json1_1RiskExceptionConfigurationType(output.RiskExceptionConfiguration, context)
@@ -14819,11 +14819,11 @@ const deserializeAws_json1_1UICustomizationType = (output, context) => {
14819
14819
  CSSVersion: smithy_client_1.expectString(output.CSSVersion),
14820
14820
  ClientId: smithy_client_1.expectString(output.ClientId),
14821
14821
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
14822
- ? new Date(Math.round(output.CreationDate * 1000))
14822
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
14823
14823
  : undefined,
14824
14824
  ImageUrl: smithy_client_1.expectString(output.ImageUrl),
14825
14825
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
14826
- ? new Date(Math.round(output.LastModifiedDate * 1000))
14826
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
14827
14827
  : undefined,
14828
14828
  UserPoolId: smithy_client_1.expectString(output.UserPoolId),
14829
14829
  };
@@ -14929,20 +14929,20 @@ const deserializeAws_json1_1UserImportJobType = (output, context) => {
14929
14929
  return {
14930
14930
  CloudWatchLogsRoleArn: smithy_client_1.expectString(output.CloudWatchLogsRoleArn),
14931
14931
  CompletionDate: output.CompletionDate !== undefined && output.CompletionDate !== null
14932
- ? new Date(Math.round(output.CompletionDate * 1000))
14932
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CompletionDate)))
14933
14933
  : undefined,
14934
14934
  CompletionMessage: smithy_client_1.expectString(output.CompletionMessage),
14935
14935
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
14936
- ? new Date(Math.round(output.CreationDate * 1000))
14936
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
14937
14937
  : undefined,
14938
- FailedUsers: smithy_client_1.expectInt(output.FailedUsers),
14939
- ImportedUsers: smithy_client_1.expectInt(output.ImportedUsers),
14938
+ FailedUsers: smithy_client_1.expectLong(output.FailedUsers),
14939
+ ImportedUsers: smithy_client_1.expectLong(output.ImportedUsers),
14940
14940
  JobId: smithy_client_1.expectString(output.JobId),
14941
14941
  JobName: smithy_client_1.expectString(output.JobName),
14942
14942
  PreSignedUrl: smithy_client_1.expectString(output.PreSignedUrl),
14943
- SkippedUsers: smithy_client_1.expectInt(output.SkippedUsers),
14943
+ SkippedUsers: smithy_client_1.expectLong(output.SkippedUsers),
14944
14944
  StartDate: output.StartDate !== undefined && output.StartDate !== null
14945
- ? new Date(Math.round(output.StartDate * 1000))
14945
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartDate)))
14946
14946
  : undefined,
14947
14947
  Status: smithy_client_1.expectString(output.Status),
14948
14948
  UserPoolId: smithy_client_1.expectString(output.UserPoolId),
@@ -15022,7 +15022,7 @@ const deserializeAws_json1_1UserPoolClientListType = (output, context) => {
15022
15022
  };
15023
15023
  const deserializeAws_json1_1UserPoolClientType = (output, context) => {
15024
15024
  return {
15025
- AccessTokenValidity: smithy_client_1.expectInt(output.AccessTokenValidity),
15025
+ AccessTokenValidity: smithy_client_1.expectInt32(output.AccessTokenValidity),
15026
15026
  AllowedOAuthFlows: output.AllowedOAuthFlows !== undefined && output.AllowedOAuthFlows !== null
15027
15027
  ? deserializeAws_json1_1OAuthFlowsType(output.AllowedOAuthFlows, context)
15028
15028
  : undefined,
@@ -15040,16 +15040,16 @@ const deserializeAws_json1_1UserPoolClientType = (output, context) => {
15040
15040
  ClientName: smithy_client_1.expectString(output.ClientName),
15041
15041
  ClientSecret: smithy_client_1.expectString(output.ClientSecret),
15042
15042
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
15043
- ? new Date(Math.round(output.CreationDate * 1000))
15043
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
15044
15044
  : undefined,
15045
15045
  DefaultRedirectURI: smithy_client_1.expectString(output.DefaultRedirectURI),
15046
15046
  EnableTokenRevocation: smithy_client_1.expectBoolean(output.EnableTokenRevocation),
15047
15047
  ExplicitAuthFlows: output.ExplicitAuthFlows !== undefined && output.ExplicitAuthFlows !== null
15048
15048
  ? deserializeAws_json1_1ExplicitAuthFlowsListType(output.ExplicitAuthFlows, context)
15049
15049
  : undefined,
15050
- IdTokenValidity: smithy_client_1.expectInt(output.IdTokenValidity),
15050
+ IdTokenValidity: smithy_client_1.expectInt32(output.IdTokenValidity),
15051
15051
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
15052
- ? new Date(Math.round(output.LastModifiedDate * 1000))
15052
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
15053
15053
  : undefined,
15054
15054
  LogoutURLs: output.LogoutURLs !== undefined && output.LogoutURLs !== null
15055
15055
  ? deserializeAws_json1_1LogoutURLsListType(output.LogoutURLs, context)
@@ -15058,7 +15058,7 @@ const deserializeAws_json1_1UserPoolClientType = (output, context) => {
15058
15058
  ReadAttributes: output.ReadAttributes !== undefined && output.ReadAttributes !== null
15059
15059
  ? deserializeAws_json1_1ClientPermissionListType(output.ReadAttributes, context)
15060
15060
  : undefined,
15061
- RefreshTokenValidity: smithy_client_1.expectInt(output.RefreshTokenValidity),
15061
+ RefreshTokenValidity: smithy_client_1.expectInt32(output.RefreshTokenValidity),
15062
15062
  SupportedIdentityProviders: output.SupportedIdentityProviders !== undefined && output.SupportedIdentityProviders !== null
15063
15063
  ? deserializeAws_json1_1SupportedIdentityProvidersListType(output.SupportedIdentityProviders, context)
15064
15064
  : undefined,
@@ -15074,14 +15074,14 @@ const deserializeAws_json1_1UserPoolClientType = (output, context) => {
15074
15074
  const deserializeAws_json1_1UserPoolDescriptionType = (output, context) => {
15075
15075
  return {
15076
15076
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
15077
- ? new Date(Math.round(output.CreationDate * 1000))
15077
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
15078
15078
  : undefined,
15079
15079
  Id: smithy_client_1.expectString(output.Id),
15080
15080
  LambdaConfig: output.LambdaConfig !== undefined && output.LambdaConfig !== null
15081
15081
  ? deserializeAws_json1_1LambdaConfigType(output.LambdaConfig, context)
15082
15082
  : undefined,
15083
15083
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
15084
- ? new Date(Math.round(output.LastModifiedDate * 1000))
15084
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
15085
15085
  : undefined,
15086
15086
  Name: smithy_client_1.expectString(output.Name),
15087
15087
  Status: smithy_client_1.expectString(output.Status),
@@ -15136,7 +15136,7 @@ const deserializeAws_json1_1UserPoolType = (output, context) => {
15136
15136
  ? deserializeAws_json1_1VerifiedAttributesListType(output.AutoVerifiedAttributes, context)
15137
15137
  : undefined,
15138
15138
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
15139
- ? new Date(Math.round(output.CreationDate * 1000))
15139
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
15140
15140
  : undefined,
15141
15141
  CustomDomain: smithy_client_1.expectString(output.CustomDomain),
15142
15142
  DeviceConfiguration: output.DeviceConfiguration !== undefined && output.DeviceConfiguration !== null
@@ -15149,13 +15149,13 @@ const deserializeAws_json1_1UserPoolType = (output, context) => {
15149
15149
  EmailConfigurationFailure: smithy_client_1.expectString(output.EmailConfigurationFailure),
15150
15150
  EmailVerificationMessage: smithy_client_1.expectString(output.EmailVerificationMessage),
15151
15151
  EmailVerificationSubject: smithy_client_1.expectString(output.EmailVerificationSubject),
15152
- EstimatedNumberOfUsers: smithy_client_1.expectInt(output.EstimatedNumberOfUsers),
15152
+ EstimatedNumberOfUsers: smithy_client_1.expectInt32(output.EstimatedNumberOfUsers),
15153
15153
  Id: smithy_client_1.expectString(output.Id),
15154
15154
  LambdaConfig: output.LambdaConfig !== undefined && output.LambdaConfig !== null
15155
15155
  ? deserializeAws_json1_1LambdaConfigType(output.LambdaConfig, context)
15156
15156
  : undefined,
15157
15157
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
15158
- ? new Date(Math.round(output.LastModifiedDate * 1000))
15158
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
15159
15159
  : undefined,
15160
15160
  MfaConfiguration: smithy_client_1.expectString(output.MfaConfiguration),
15161
15161
  Name: smithy_client_1.expectString(output.Name),
@@ -15209,10 +15209,10 @@ const deserializeAws_json1_1UserType = (output, context) => {
15209
15209
  ? deserializeAws_json1_1MFAOptionListType(output.MFAOptions, context)
15210
15210
  : undefined,
15211
15211
  UserCreateDate: output.UserCreateDate !== undefined && output.UserCreateDate !== null
15212
- ? new Date(Math.round(output.UserCreateDate * 1000))
15212
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UserCreateDate)))
15213
15213
  : undefined,
15214
15214
  UserLastModifiedDate: output.UserLastModifiedDate !== undefined && output.UserLastModifiedDate !== null
15215
- ? new Date(Math.round(output.UserLastModifiedDate * 1000))
15215
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UserLastModifiedDate)))
15216
15216
  : undefined,
15217
15217
  UserStatus: smithy_client_1.expectString(output.UserStatus),
15218
15218
  Username: smithy_client_1.expectString(output.Username),