@aws-sdk/client-kendra 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-kendra
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-kendra
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-kendra
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-kendra
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-kendra",
3
3
  "description": "AWS SDK for JavaScript Kendra 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,39 +27,39 @@
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
  "uuid": "^8.3.2"
60
60
  },
61
61
  "devDependencies": {
62
- "@aws-sdk/client-documentation-generator": "3.23.0",
62
+ "@aws-sdk/client-documentation-generator": "3.32.0",
63
63
  "@types/node": "^12.7.5",
64
64
  "@types/uuid": "^8.3.0",
65
65
  "downlevel-dts": "0.7.0",
@@ -67,7 +67,7 @@
67
67
  "rimraf": "^3.0.0",
68
68
  "ts-jest": "^26.4.1",
69
69
  "typedoc": "^0.19.2",
70
- "typescript": "~4.3.2"
70
+ "typescript": "~4.3.5"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=10.0.0"
@@ -6051,7 +6051,7 @@ const deserializeAws_json1_1BasicAuthenticationConfiguration = (output, context)
6051
6051
  return {
6052
6052
  Credentials: smithy_client_1.expectString(output.Credentials),
6053
6053
  Host: smithy_client_1.expectString(output.Host),
6054
- Port: smithy_client_1.expectInt(output.Port),
6054
+ Port: smithy_client_1.expectInt32(output.Port),
6055
6055
  };
6056
6056
  };
6057
6057
  const deserializeAws_json1_1BasicAuthenticationConfigurationList = (output, context) => {
@@ -6141,8 +6141,8 @@ const deserializeAws_json1_1BatchPutDocumentResponseFailedDocuments = (output, c
6141
6141
  };
6142
6142
  const deserializeAws_json1_1CapacityUnitsConfiguration = (output, context) => {
6143
6143
  return {
6144
- QueryCapacityUnits: smithy_client_1.expectInt(output.QueryCapacityUnits),
6145
- StorageCapacityUnits: smithy_client_1.expectInt(output.StorageCapacityUnits),
6144
+ QueryCapacityUnits: smithy_client_1.expectInt32(output.QueryCapacityUnits),
6145
+ StorageCapacityUnits: smithy_client_1.expectInt32(output.StorageCapacityUnits),
6146
6146
  };
6147
6147
  };
6148
6148
  const deserializeAws_json1_1ChangeDetectingColumns = (output, context) => {
@@ -6320,7 +6320,7 @@ const deserializeAws_json1_1ConnectionConfiguration = (output, context) => {
6320
6320
  return {
6321
6321
  DatabaseHost: smithy_client_1.expectString(output.DatabaseHost),
6322
6322
  DatabaseName: smithy_client_1.expectString(output.DatabaseName),
6323
- DatabasePort: smithy_client_1.expectInt(output.DatabasePort),
6323
+ DatabasePort: smithy_client_1.expectInt32(output.DatabasePort),
6324
6324
  SecretArn: smithy_client_1.expectString(output.SecretArn),
6325
6325
  TableName: smithy_client_1.expectString(output.TableName),
6326
6326
  };
@@ -6417,14 +6417,14 @@ const deserializeAws_json1_1DataSourceInclusionsExclusionsStrings = (output, con
6417
6417
  const deserializeAws_json1_1DataSourceSummary = (output, context) => {
6418
6418
  return {
6419
6419
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
6420
- ? new Date(Math.round(output.CreatedAt * 1000))
6420
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
6421
6421
  : undefined,
6422
6422
  Id: smithy_client_1.expectString(output.Id),
6423
6423
  Name: smithy_client_1.expectString(output.Name),
6424
6424
  Status: smithy_client_1.expectString(output.Status),
6425
6425
  Type: smithy_client_1.expectString(output.Type),
6426
6426
  UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
6427
- ? new Date(Math.round(output.UpdatedAt * 1000))
6427
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
6428
6428
  : undefined,
6429
6429
  };
6430
6430
  };
@@ -6441,7 +6441,9 @@ const deserializeAws_json1_1DataSourceSummaryList = (output, context) => {
6441
6441
  const deserializeAws_json1_1DataSourceSyncJob = (output, context) => {
6442
6442
  return {
6443
6443
  DataSourceErrorCode: smithy_client_1.expectString(output.DataSourceErrorCode),
6444
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
6444
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
6445
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
6446
+ : undefined,
6445
6447
  ErrorCode: smithy_client_1.expectString(output.ErrorCode),
6446
6448
  ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
6447
6449
  ExecutionId: smithy_client_1.expectString(output.ExecutionId),
@@ -6449,7 +6451,7 @@ const deserializeAws_json1_1DataSourceSyncJob = (output, context) => {
6449
6451
  ? deserializeAws_json1_1DataSourceSyncJobMetrics(output.Metrics, context)
6450
6452
  : undefined,
6451
6453
  StartTime: output.StartTime !== undefined && output.StartTime !== null
6452
- ? new Date(Math.round(output.StartTime * 1000))
6454
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
6453
6455
  : undefined,
6454
6456
  Status: smithy_client_1.expectString(output.Status),
6455
6457
  };
@@ -6506,7 +6508,7 @@ const deserializeAws_json1_1DescribeDataSourceResponse = (output, context) => {
6506
6508
  ? deserializeAws_json1_1DataSourceConfiguration(output.Configuration, context)
6507
6509
  : undefined,
6508
6510
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
6509
- ? new Date(Math.round(output.CreatedAt * 1000))
6511
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
6510
6512
  : undefined,
6511
6513
  Description: smithy_client_1.expectString(output.Description),
6512
6514
  ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
@@ -6518,14 +6520,14 @@ const deserializeAws_json1_1DescribeDataSourceResponse = (output, context) => {
6518
6520
  Status: smithy_client_1.expectString(output.Status),
6519
6521
  Type: smithy_client_1.expectString(output.Type),
6520
6522
  UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
6521
- ? new Date(Math.round(output.UpdatedAt * 1000))
6523
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
6522
6524
  : undefined,
6523
6525
  };
6524
6526
  };
6525
6527
  const deserializeAws_json1_1DescribeFaqResponse = (output, context) => {
6526
6528
  return {
6527
6529
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
6528
- ? new Date(Math.round(output.CreatedAt * 1000))
6530
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
6529
6531
  : undefined,
6530
6532
  Description: smithy_client_1.expectString(output.Description),
6531
6533
  ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
@@ -6539,7 +6541,7 @@ const deserializeAws_json1_1DescribeFaqResponse = (output, context) => {
6539
6541
  : undefined,
6540
6542
  Status: smithy_client_1.expectString(output.Status),
6541
6543
  UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
6542
- ? new Date(Math.round(output.UpdatedAt * 1000))
6544
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
6543
6545
  : undefined,
6544
6546
  };
6545
6547
  };
@@ -6549,7 +6551,7 @@ const deserializeAws_json1_1DescribeIndexResponse = (output, context) => {
6549
6551
  ? deserializeAws_json1_1CapacityUnitsConfiguration(output.CapacityUnits, context)
6550
6552
  : undefined,
6551
6553
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
6552
- ? new Date(Math.round(output.CreatedAt * 1000))
6554
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
6553
6555
  : undefined,
6554
6556
  Description: smithy_client_1.expectString(output.Description),
6555
6557
  DocumentMetadataConfigurations: output.DocumentMetadataConfigurations !== undefined && output.DocumentMetadataConfigurations !== null
@@ -6568,7 +6570,7 @@ const deserializeAws_json1_1DescribeIndexResponse = (output, context) => {
6568
6570
  : undefined,
6569
6571
  Status: smithy_client_1.expectString(output.Status),
6570
6572
  UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
6571
- ? new Date(Math.round(output.UpdatedAt * 1000))
6573
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
6572
6574
  : undefined,
6573
6575
  UserContextPolicy: smithy_client_1.expectString(output.UserContextPolicy),
6574
6576
  UserTokenConfigurations: output.UserTokenConfigurations !== undefined && output.UserTokenConfigurations !== null
@@ -6589,14 +6591,14 @@ const deserializeAws_json1_1DescribePrincipalMappingResponse = (output, context)
6589
6591
  const deserializeAws_json1_1DescribeQuerySuggestionsBlockListResponse = (output, context) => {
6590
6592
  return {
6591
6593
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
6592
- ? new Date(Math.round(output.CreatedAt * 1000))
6594
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
6593
6595
  : undefined,
6594
6596
  Description: smithy_client_1.expectString(output.Description),
6595
6597
  ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
6596
- FileSizeBytes: smithy_client_1.expectInt(output.FileSizeBytes),
6598
+ FileSizeBytes: smithy_client_1.expectLong(output.FileSizeBytes),
6597
6599
  Id: smithy_client_1.expectString(output.Id),
6598
6600
  IndexId: smithy_client_1.expectString(output.IndexId),
6599
- ItemCount: smithy_client_1.expectInt(output.ItemCount),
6601
+ ItemCount: smithy_client_1.expectInt32(output.ItemCount),
6600
6602
  Name: smithy_client_1.expectString(output.Name),
6601
6603
  RoleArn: smithy_client_1.expectString(output.RoleArn),
6602
6604
  SourceS3Path: output.SourceS3Path !== undefined && output.SourceS3Path !== null
@@ -6604,7 +6606,7 @@ const deserializeAws_json1_1DescribeQuerySuggestionsBlockListResponse = (output,
6604
6606
  : undefined,
6605
6607
  Status: smithy_client_1.expectString(output.Status),
6606
6608
  UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
6607
- ? new Date(Math.round(output.UpdatedAt * 1000))
6609
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
6608
6610
  : undefined,
6609
6611
  };
6610
6612
  };
@@ -6612,27 +6614,27 @@ const deserializeAws_json1_1DescribeQuerySuggestionsConfigResponse = (output, co
6612
6614
  return {
6613
6615
  IncludeQueriesWithoutUserInformation: smithy_client_1.expectBoolean(output.IncludeQueriesWithoutUserInformation),
6614
6616
  LastClearTime: output.LastClearTime !== undefined && output.LastClearTime !== null
6615
- ? new Date(Math.round(output.LastClearTime * 1000))
6617
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastClearTime)))
6616
6618
  : undefined,
6617
6619
  LastSuggestionsBuildTime: output.LastSuggestionsBuildTime !== undefined && output.LastSuggestionsBuildTime !== null
6618
- ? new Date(Math.round(output.LastSuggestionsBuildTime * 1000))
6620
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastSuggestionsBuildTime)))
6619
6621
  : undefined,
6620
- MinimumNumberOfQueryingUsers: smithy_client_1.expectInt(output.MinimumNumberOfQueryingUsers),
6621
- MinimumQueryCount: smithy_client_1.expectInt(output.MinimumQueryCount),
6622
+ MinimumNumberOfQueryingUsers: smithy_client_1.expectInt32(output.MinimumNumberOfQueryingUsers),
6623
+ MinimumQueryCount: smithy_client_1.expectInt32(output.MinimumQueryCount),
6622
6624
  Mode: smithy_client_1.expectString(output.Mode),
6623
- QueryLogLookBackWindowInDays: smithy_client_1.expectInt(output.QueryLogLookBackWindowInDays),
6625
+ QueryLogLookBackWindowInDays: smithy_client_1.expectInt32(output.QueryLogLookBackWindowInDays),
6624
6626
  Status: smithy_client_1.expectString(output.Status),
6625
- TotalSuggestionsCount: smithy_client_1.expectInt(output.TotalSuggestionsCount),
6627
+ TotalSuggestionsCount: smithy_client_1.expectInt32(output.TotalSuggestionsCount),
6626
6628
  };
6627
6629
  };
6628
6630
  const deserializeAws_json1_1DescribeThesaurusResponse = (output, context) => {
6629
6631
  return {
6630
6632
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
6631
- ? new Date(Math.round(output.CreatedAt * 1000))
6633
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
6632
6634
  : undefined,
6633
6635
  Description: smithy_client_1.expectString(output.Description),
6634
6636
  ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
6635
- FileSizeBytes: smithy_client_1.expectInt(output.FileSizeBytes),
6637
+ FileSizeBytes: smithy_client_1.expectLong(output.FileSizeBytes),
6636
6638
  Id: smithy_client_1.expectString(output.Id),
6637
6639
  IndexId: smithy_client_1.expectString(output.IndexId),
6638
6640
  Name: smithy_client_1.expectString(output.Name),
@@ -6641,10 +6643,10 @@ const deserializeAws_json1_1DescribeThesaurusResponse = (output, context) => {
6641
6643
  ? deserializeAws_json1_1S3Path(output.SourceS3Path, context)
6642
6644
  : undefined,
6643
6645
  Status: smithy_client_1.expectString(output.Status),
6644
- SynonymRuleCount: smithy_client_1.expectInt(output.SynonymRuleCount),
6645
- TermCount: smithy_client_1.expectInt(output.TermCount),
6646
+ SynonymRuleCount: smithy_client_1.expectLong(output.SynonymRuleCount),
6647
+ TermCount: smithy_client_1.expectLong(output.TermCount),
6646
6648
  UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
6647
- ? new Date(Math.round(output.UpdatedAt * 1000))
6649
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
6648
6650
  : undefined,
6649
6651
  };
6650
6652
  };
@@ -6652,7 +6654,7 @@ const deserializeAws_json1_1DocumentAttribute = (output, context) => {
6652
6654
  return {
6653
6655
  Key: smithy_client_1.expectString(output.Key),
6654
6656
  Value: output.Value !== undefined && output.Value !== null
6655
- ? deserializeAws_json1_1DocumentAttributeValue(output.Value, context)
6657
+ ? deserializeAws_json1_1DocumentAttributeValue(smithy_client_1.expectUnion(output.Value), context)
6656
6658
  : undefined,
6657
6659
  };
6658
6660
  };
@@ -6679,11 +6681,11 @@ const deserializeAws_json1_1DocumentAttributeStringListValue = (output, context)
6679
6681
  const deserializeAws_json1_1DocumentAttributeValue = (output, context) => {
6680
6682
  if (output.DateValue !== undefined && output.DateValue !== null) {
6681
6683
  return {
6682
- DateValue: new Date(Math.round(output.DateValue * 1000)),
6684
+ DateValue: smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DateValue))),
6683
6685
  };
6684
6686
  }
6685
- if (smithy_client_1.expectInt(output.LongValue) !== undefined) {
6686
- return { LongValue: smithy_client_1.expectInt(output.LongValue) };
6687
+ if (smithy_client_1.expectLong(output.LongValue) !== undefined) {
6688
+ return { LongValue: smithy_client_1.expectLong(output.LongValue) };
6687
6689
  }
6688
6690
  if (output.StringListValue !== undefined && output.StringListValue !== null) {
6689
6691
  return {
@@ -6697,9 +6699,9 @@ const deserializeAws_json1_1DocumentAttributeValue = (output, context) => {
6697
6699
  };
6698
6700
  const deserializeAws_json1_1DocumentAttributeValueCountPair = (output, context) => {
6699
6701
  return {
6700
- Count: smithy_client_1.expectInt(output.Count),
6702
+ Count: smithy_client_1.expectInt32(output.Count),
6701
6703
  DocumentAttributeValue: output.DocumentAttributeValue !== undefined && output.DocumentAttributeValue !== null
6702
- ? deserializeAws_json1_1DocumentAttributeValue(output.DocumentAttributeValue, context)
6704
+ ? deserializeAws_json1_1DocumentAttributeValue(smithy_client_1.expectUnion(output.DocumentAttributeValue), context)
6703
6705
  : undefined,
6704
6706
  };
6705
6707
  };
@@ -6801,20 +6803,20 @@ const deserializeAws_json1_1FacetResultList = (output, context) => {
6801
6803
  };
6802
6804
  const deserializeAws_json1_1FaqStatistics = (output, context) => {
6803
6805
  return {
6804
- IndexedQuestionAnswersCount: smithy_client_1.expectInt(output.IndexedQuestionAnswersCount),
6806
+ IndexedQuestionAnswersCount: smithy_client_1.expectInt32(output.IndexedQuestionAnswersCount),
6805
6807
  };
6806
6808
  };
6807
6809
  const deserializeAws_json1_1FaqSummary = (output, context) => {
6808
6810
  return {
6809
6811
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
6810
- ? new Date(Math.round(output.CreatedAt * 1000))
6812
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
6811
6813
  : undefined,
6812
6814
  FileFormat: smithy_client_1.expectString(output.FileFormat),
6813
6815
  Id: smithy_client_1.expectString(output.Id),
6814
6816
  Name: smithy_client_1.expectString(output.Name),
6815
6817
  Status: smithy_client_1.expectString(output.Status),
6816
6818
  UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
6817
- ? new Date(Math.round(output.UpdatedAt * 1000))
6819
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
6818
6820
  : undefined,
6819
6821
  };
6820
6822
  };
@@ -6873,11 +6875,11 @@ const deserializeAws_json1_1GroupOrderingIdSummary = (output, context) => {
6873
6875
  return {
6874
6876
  FailureReason: smithy_client_1.expectString(output.FailureReason),
6875
6877
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
6876
- ? new Date(Math.round(output.LastUpdatedAt * 1000))
6878
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
6877
6879
  : undefined,
6878
- OrderingId: smithy_client_1.expectInt(output.OrderingId),
6880
+ OrderingId: smithy_client_1.expectLong(output.OrderingId),
6879
6881
  ReceivedAt: output.ReceivedAt !== undefined && output.ReceivedAt !== null
6880
- ? new Date(Math.round(output.ReceivedAt * 1000))
6882
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReceivedAt)))
6881
6883
  : undefined,
6882
6884
  Status: smithy_client_1.expectString(output.Status),
6883
6885
  };
@@ -6885,13 +6887,13 @@ const deserializeAws_json1_1GroupOrderingIdSummary = (output, context) => {
6885
6887
  const deserializeAws_json1_1GroupSummary = (output, context) => {
6886
6888
  return {
6887
6889
  GroupId: smithy_client_1.expectString(output.GroupId),
6888
- OrderingId: smithy_client_1.expectInt(output.OrderingId),
6890
+ OrderingId: smithy_client_1.expectLong(output.OrderingId),
6889
6891
  };
6890
6892
  };
6891
6893
  const deserializeAws_json1_1Highlight = (output, context) => {
6892
6894
  return {
6893
- BeginOffset: smithy_client_1.expectInt(output.BeginOffset),
6894
- EndOffset: smithy_client_1.expectInt(output.EndOffset),
6895
+ BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
6896
+ EndOffset: smithy_client_1.expectInt32(output.EndOffset),
6895
6897
  TopAnswer: smithy_client_1.expectBoolean(output.TopAnswer),
6896
6898
  Type: smithy_client_1.expectString(output.Type),
6897
6899
  };
@@ -6909,14 +6911,14 @@ const deserializeAws_json1_1HighlightList = (output, context) => {
6909
6911
  const deserializeAws_json1_1IndexConfigurationSummary = (output, context) => {
6910
6912
  return {
6911
6913
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
6912
- ? new Date(Math.round(output.CreatedAt * 1000))
6914
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
6913
6915
  : undefined,
6914
6916
  Edition: smithy_client_1.expectString(output.Edition),
6915
6917
  Id: smithy_client_1.expectString(output.Id),
6916
6918
  Name: smithy_client_1.expectString(output.Name),
6917
6919
  Status: smithy_client_1.expectString(output.Status),
6918
6920
  UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
6919
- ? new Date(Math.round(output.UpdatedAt * 1000))
6921
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
6920
6922
  : undefined,
6921
6923
  };
6922
6924
  };
@@ -7078,7 +7080,7 @@ const deserializeAws_json1_1ProxyConfiguration = (output, context) => {
7078
7080
  return {
7079
7081
  Credentials: smithy_client_1.expectString(output.Credentials),
7080
7082
  Host: smithy_client_1.expectString(output.Host),
7081
- Port: smithy_client_1.expectInt(output.Port),
7083
+ Port: smithy_client_1.expectInt32(output.Port),
7082
7084
  };
7083
7085
  };
7084
7086
  const deserializeAws_json1_1QueryResult = (output, context) => {
@@ -7090,7 +7092,7 @@ const deserializeAws_json1_1QueryResult = (output, context) => {
7090
7092
  ResultItems: output.ResultItems !== undefined && output.ResultItems !== null
7091
7093
  ? deserializeAws_json1_1QueryResultItemList(output.ResultItems, context)
7092
7094
  : undefined,
7093
- TotalNumberOfResults: smithy_client_1.expectInt(output.TotalNumberOfResults),
7095
+ TotalNumberOfResults: smithy_client_1.expectInt32(output.TotalNumberOfResults),
7094
7096
  };
7095
7097
  };
7096
7098
  const deserializeAws_json1_1QueryResultItem = (output, context) => {
@@ -7130,14 +7132,14 @@ const deserializeAws_json1_1QueryResultItemList = (output, context) => {
7130
7132
  const deserializeAws_json1_1QuerySuggestionsBlockListSummary = (output, context) => {
7131
7133
  return {
7132
7134
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
7133
- ? new Date(Math.round(output.CreatedAt * 1000))
7135
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
7134
7136
  : undefined,
7135
7137
  Id: smithy_client_1.expectString(output.Id),
7136
- ItemCount: smithy_client_1.expectInt(output.ItemCount),
7138
+ ItemCount: smithy_client_1.expectInt32(output.ItemCount),
7137
7139
  Name: smithy_client_1.expectString(output.Name),
7138
7140
  Status: smithy_client_1.expectString(output.Status),
7139
7141
  UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
7140
- ? new Date(Math.round(output.UpdatedAt * 1000))
7142
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
7141
7143
  : undefined,
7142
7144
  };
7143
7145
  };
@@ -7155,7 +7157,7 @@ const deserializeAws_json1_1Relevance = (output, context) => {
7155
7157
  return {
7156
7158
  Duration: smithy_client_1.expectString(output.Duration),
7157
7159
  Freshness: smithy_client_1.expectBoolean(output.Freshness),
7158
- Importance: smithy_client_1.expectInt(output.Importance),
7160
+ Importance: smithy_client_1.expectInt32(output.Importance),
7159
7161
  RankOrder: smithy_client_1.expectString(output.RankOrder),
7160
7162
  ValueImportanceMap: output.ValueImportanceMap !== undefined && output.ValueImportanceMap !== null
7161
7163
  ? deserializeAws_json1_1ValueImportanceMap(output.ValueImportanceMap, context)
@@ -7529,8 +7531,8 @@ const deserializeAws_json1_1Suggestion = (output, context) => {
7529
7531
  };
7530
7532
  const deserializeAws_json1_1SuggestionHighlight = (output, context) => {
7531
7533
  return {
7532
- BeginOffset: smithy_client_1.expectInt(output.BeginOffset),
7533
- EndOffset: smithy_client_1.expectInt(output.EndOffset),
7534
+ BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
7535
+ EndOffset: smithy_client_1.expectInt32(output.EndOffset),
7534
7536
  };
7535
7537
  };
7536
7538
  const deserializeAws_json1_1SuggestionHighlightList = (output, context) => {
@@ -7589,8 +7591,8 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
7589
7591
  };
7590
7592
  const deserializeAws_json1_1TextDocumentStatistics = (output, context) => {
7591
7593
  return {
7592
- IndexedTextBytes: smithy_client_1.expectInt(output.IndexedTextBytes),
7593
- IndexedTextDocumentsCount: smithy_client_1.expectInt(output.IndexedTextDocumentsCount),
7594
+ IndexedTextBytes: smithy_client_1.expectLong(output.IndexedTextBytes),
7595
+ IndexedTextDocumentsCount: smithy_client_1.expectInt32(output.IndexedTextDocumentsCount),
7594
7596
  };
7595
7597
  };
7596
7598
  const deserializeAws_json1_1TextWithHighlights = (output, context) => {
@@ -7604,13 +7606,13 @@ const deserializeAws_json1_1TextWithHighlights = (output, context) => {
7604
7606
  const deserializeAws_json1_1ThesaurusSummary = (output, context) => {
7605
7607
  return {
7606
7608
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
7607
- ? new Date(Math.round(output.CreatedAt * 1000))
7609
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
7608
7610
  : undefined,
7609
7611
  Id: smithy_client_1.expectString(output.Id),
7610
7612
  Name: smithy_client_1.expectString(output.Name),
7611
7613
  Status: smithy_client_1.expectString(output.Status),
7612
7614
  UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
7613
- ? new Date(Math.round(output.UpdatedAt * 1000))
7615
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
7614
7616
  : undefined,
7615
7617
  };
7616
7618
  };
@@ -7674,7 +7676,7 @@ const deserializeAws_json1_1ValueImportanceMap = (output, context) => {
7674
7676
  }
7675
7677
  return {
7676
7678
  ...acc,
7677
- [key]: smithy_client_1.expectInt(value),
7679
+ [key]: smithy_client_1.expectInt32(value),
7678
7680
  };
7679
7681
  }, {});
7680
7682
  };
@@ -7683,10 +7685,10 @@ const deserializeAws_json1_1WebCrawlerConfiguration = (output, context) => {
7683
7685
  AuthenticationConfiguration: output.AuthenticationConfiguration !== undefined && output.AuthenticationConfiguration !== null
7684
7686
  ? deserializeAws_json1_1AuthenticationConfiguration(output.AuthenticationConfiguration, context)
7685
7687
  : undefined,
7686
- CrawlDepth: smithy_client_1.expectInt(output.CrawlDepth),
7687
- MaxContentSizePerPageInMegaBytes: smithy_client_1.limitedParseFloat(output.MaxContentSizePerPageInMegaBytes),
7688
- MaxLinksPerPage: smithy_client_1.expectInt(output.MaxLinksPerPage),
7689
- MaxUrlsPerMinuteCrawlRate: smithy_client_1.expectInt(output.MaxUrlsPerMinuteCrawlRate),
7688
+ CrawlDepth: smithy_client_1.expectInt32(output.CrawlDepth),
7689
+ MaxContentSizePerPageInMegaBytes: smithy_client_1.limitedParseFloat32(output.MaxContentSizePerPageInMegaBytes),
7690
+ MaxLinksPerPage: smithy_client_1.expectInt32(output.MaxLinksPerPage),
7691
+ MaxUrlsPerMinuteCrawlRate: smithy_client_1.expectInt32(output.MaxUrlsPerMinuteCrawlRate),
7690
7692
  ProxyConfiguration: output.ProxyConfiguration !== undefined && output.ProxyConfiguration !== null
7691
7693
  ? deserializeAws_json1_1ProxyConfiguration(output.ProxyConfiguration, context)
7692
7694
  : undefined,