@aws-sdk/client-personalize 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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-personalize",
3
3
  "description": "AWS SDK for JavaScript Personalize 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"
@@ -241,9 +241,12 @@ import {
241
241
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
242
242
  import {
243
243
  expectBoolean as __expectBoolean,
244
- expectInt as __expectInt,
244
+ expectInt32 as __expectInt32,
245
+ expectNonNull as __expectNonNull,
246
+ expectNumber as __expectNumber,
245
247
  expectString as __expectString,
246
- limitedParseFloat as __limitedParseFloat,
248
+ limitedParseDouble as __limitedParseDouble,
249
+ parseEpochTimestamp as __parseEpochTimestamp,
247
250
  serializeFloat as __serializeFloat,
248
251
  } from "@aws-sdk/smithy-client";
249
252
  import {
@@ -4873,7 +4876,7 @@ const deserializeAws_json1_1Algorithm = (output: any, context: __SerdeContext):
4873
4876
  : undefined,
4874
4877
  creationDateTime:
4875
4878
  output.creationDateTime !== undefined && output.creationDateTime !== null
4876
- ? new Date(Math.round(output.creationDateTime * 1000))
4879
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4877
4880
  : undefined,
4878
4881
  defaultHyperParameterRanges:
4879
4882
  output.defaultHyperParameterRanges !== undefined && output.defaultHyperParameterRanges !== null
@@ -4889,7 +4892,7 @@ const deserializeAws_json1_1Algorithm = (output: any, context: __SerdeContext):
4889
4892
  : undefined,
4890
4893
  lastUpdatedDateTime:
4891
4894
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4892
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4895
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4893
4896
  : undefined,
4894
4897
  name: __expectString(output.name),
4895
4898
  roleArn: __expectString(output.roleArn),
@@ -4940,7 +4943,7 @@ const deserializeAws_json1_1BatchInferenceJob = (output: any, context: __SerdeCo
4940
4943
  : undefined,
4941
4944
  creationDateTime:
4942
4945
  output.creationDateTime !== undefined && output.creationDateTime !== null
4943
- ? new Date(Math.round(output.creationDateTime * 1000))
4946
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4944
4947
  : undefined,
4945
4948
  failureReason: __expectString(output.failureReason),
4946
4949
  filterArn: __expectString(output.filterArn),
@@ -4955,9 +4958,9 @@ const deserializeAws_json1_1BatchInferenceJob = (output: any, context: __SerdeCo
4955
4958
  : undefined,
4956
4959
  lastUpdatedDateTime:
4957
4960
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4958
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4961
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4959
4962
  : undefined,
4960
- numResults: __expectInt(output.numResults),
4963
+ numResults: __expectInt32(output.numResults),
4961
4964
  roleArn: __expectString(output.roleArn),
4962
4965
  solutionVersionArn: __expectString(output.solutionVersionArn),
4963
4966
  status: __expectString(output.status),
@@ -5016,13 +5019,13 @@ const deserializeAws_json1_1BatchInferenceJobSummary = (
5016
5019
  batchInferenceJobArn: __expectString(output.batchInferenceJobArn),
5017
5020
  creationDateTime:
5018
5021
  output.creationDateTime !== undefined && output.creationDateTime !== null
5019
- ? new Date(Math.round(output.creationDateTime * 1000))
5022
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5020
5023
  : undefined,
5021
5024
  failureReason: __expectString(output.failureReason),
5022
5025
  jobName: __expectString(output.jobName),
5023
5026
  lastUpdatedDateTime:
5024
5027
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5025
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5028
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5026
5029
  : undefined,
5027
5030
  solutionVersionArn: __expectString(output.solutionVersionArn),
5028
5031
  status: __expectString(output.status),
@@ -5038,18 +5041,18 @@ const deserializeAws_json1_1Campaign = (output: any, context: __SerdeContext): C
5038
5041
  : undefined,
5039
5042
  creationDateTime:
5040
5043
  output.creationDateTime !== undefined && output.creationDateTime !== null
5041
- ? new Date(Math.round(output.creationDateTime * 1000))
5044
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5042
5045
  : undefined,
5043
5046
  failureReason: __expectString(output.failureReason),
5044
5047
  lastUpdatedDateTime:
5045
5048
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5046
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5049
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5047
5050
  : undefined,
5048
5051
  latestCampaignUpdate:
5049
5052
  output.latestCampaignUpdate !== undefined && output.latestCampaignUpdate !== null
5050
5053
  ? deserializeAws_json1_1CampaignUpdateSummary(output.latestCampaignUpdate, context)
5051
5054
  : undefined,
5052
- minProvisionedTPS: __expectInt(output.minProvisionedTPS),
5055
+ minProvisionedTPS: __expectInt32(output.minProvisionedTPS),
5053
5056
  name: __expectString(output.name),
5054
5057
  solutionVersionArn: __expectString(output.solutionVersionArn),
5055
5058
  status: __expectString(output.status),
@@ -5081,12 +5084,12 @@ const deserializeAws_json1_1CampaignSummary = (output: any, context: __SerdeCont
5081
5084
  campaignArn: __expectString(output.campaignArn),
5082
5085
  creationDateTime:
5083
5086
  output.creationDateTime !== undefined && output.creationDateTime !== null
5084
- ? new Date(Math.round(output.creationDateTime * 1000))
5087
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5085
5088
  : undefined,
5086
5089
  failureReason: __expectString(output.failureReason),
5087
5090
  lastUpdatedDateTime:
5088
5091
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5089
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5092
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5090
5093
  : undefined,
5091
5094
  name: __expectString(output.name),
5092
5095
  status: __expectString(output.status),
@@ -5101,14 +5104,14 @@ const deserializeAws_json1_1CampaignUpdateSummary = (output: any, context: __Ser
5101
5104
  : undefined,
5102
5105
  creationDateTime:
5103
5106
  output.creationDateTime !== undefined && output.creationDateTime !== null
5104
- ? new Date(Math.round(output.creationDateTime * 1000))
5107
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5105
5108
  : undefined,
5106
5109
  failureReason: __expectString(output.failureReason),
5107
5110
  lastUpdatedDateTime:
5108
5111
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5109
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5112
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5110
5113
  : undefined,
5111
- minProvisionedTPS: __expectInt(output.minProvisionedTPS),
5114
+ minProvisionedTPS: __expectInt32(output.minProvisionedTPS),
5112
5115
  solutionVersionArn: __expectString(output.solutionVersionArn),
5113
5116
  status: __expectString(output.status),
5114
5117
  } as any;
@@ -5157,8 +5160,8 @@ const deserializeAws_json1_1ContinuousHyperParameterRange = (
5157
5160
  context: __SerdeContext
5158
5161
  ): ContinuousHyperParameterRange => {
5159
5162
  return {
5160
- maxValue: __limitedParseFloat(output.maxValue),
5161
- minValue: __limitedParseFloat(output.minValue),
5163
+ maxValue: __limitedParseDouble(output.maxValue),
5164
+ minValue: __limitedParseDouble(output.minValue),
5162
5165
  name: __expectString(output.name),
5163
5166
  } as any;
5164
5167
  };
@@ -5266,14 +5269,14 @@ const deserializeAws_json1_1Dataset = (output: any, context: __SerdeContext): Da
5266
5269
  return {
5267
5270
  creationDateTime:
5268
5271
  output.creationDateTime !== undefined && output.creationDateTime !== null
5269
- ? new Date(Math.round(output.creationDateTime * 1000))
5272
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5270
5273
  : undefined,
5271
5274
  datasetArn: __expectString(output.datasetArn),
5272
5275
  datasetGroupArn: __expectString(output.datasetGroupArn),
5273
5276
  datasetType: __expectString(output.datasetType),
5274
5277
  lastUpdatedDateTime:
5275
5278
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5276
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5279
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5277
5280
  : undefined,
5278
5281
  name: __expectString(output.name),
5279
5282
  schemaArn: __expectString(output.schemaArn),
@@ -5285,7 +5288,7 @@ const deserializeAws_json1_1DatasetExportJob = (output: any, context: __SerdeCon
5285
5288
  return {
5286
5289
  creationDateTime:
5287
5290
  output.creationDateTime !== undefined && output.creationDateTime !== null
5288
- ? new Date(Math.round(output.creationDateTime * 1000))
5291
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5289
5292
  : undefined,
5290
5293
  datasetArn: __expectString(output.datasetArn),
5291
5294
  datasetExportJobArn: __expectString(output.datasetExportJobArn),
@@ -5298,7 +5301,7 @@ const deserializeAws_json1_1DatasetExportJob = (output: any, context: __SerdeCon
5298
5301
  : undefined,
5299
5302
  lastUpdatedDateTime:
5300
5303
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5301
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5304
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5302
5305
  : undefined,
5303
5306
  roleArn: __expectString(output.roleArn),
5304
5307
  status: __expectString(output.status),
@@ -5332,14 +5335,14 @@ const deserializeAws_json1_1DatasetExportJobSummary = (
5332
5335
  return {
5333
5336
  creationDateTime:
5334
5337
  output.creationDateTime !== undefined && output.creationDateTime !== null
5335
- ? new Date(Math.round(output.creationDateTime * 1000))
5338
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5336
5339
  : undefined,
5337
5340
  datasetExportJobArn: __expectString(output.datasetExportJobArn),
5338
5341
  failureReason: __expectString(output.failureReason),
5339
5342
  jobName: __expectString(output.jobName),
5340
5343
  lastUpdatedDateTime:
5341
5344
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5342
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5345
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5343
5346
  : undefined,
5344
5347
  status: __expectString(output.status),
5345
5348
  } as any;
@@ -5349,14 +5352,14 @@ const deserializeAws_json1_1DatasetGroup = (output: any, context: __SerdeContext
5349
5352
  return {
5350
5353
  creationDateTime:
5351
5354
  output.creationDateTime !== undefined && output.creationDateTime !== null
5352
- ? new Date(Math.round(output.creationDateTime * 1000))
5355
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5353
5356
  : undefined,
5354
5357
  datasetGroupArn: __expectString(output.datasetGroupArn),
5355
5358
  failureReason: __expectString(output.failureReason),
5356
5359
  kmsKeyArn: __expectString(output.kmsKeyArn),
5357
5360
  lastUpdatedDateTime:
5358
5361
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5359
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5362
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5360
5363
  : undefined,
5361
5364
  name: __expectString(output.name),
5362
5365
  roleArn: __expectString(output.roleArn),
@@ -5379,13 +5382,13 @@ const deserializeAws_json1_1DatasetGroupSummary = (output: any, context: __Serde
5379
5382
  return {
5380
5383
  creationDateTime:
5381
5384
  output.creationDateTime !== undefined && output.creationDateTime !== null
5382
- ? new Date(Math.round(output.creationDateTime * 1000))
5385
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5383
5386
  : undefined,
5384
5387
  datasetGroupArn: __expectString(output.datasetGroupArn),
5385
5388
  failureReason: __expectString(output.failureReason),
5386
5389
  lastUpdatedDateTime:
5387
5390
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5388
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5391
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5389
5392
  : undefined,
5390
5393
  name: __expectString(output.name),
5391
5394
  status: __expectString(output.status),
@@ -5396,7 +5399,7 @@ const deserializeAws_json1_1DatasetImportJob = (output: any, context: __SerdeCon
5396
5399
  return {
5397
5400
  creationDateTime:
5398
5401
  output.creationDateTime !== undefined && output.creationDateTime !== null
5399
- ? new Date(Math.round(output.creationDateTime * 1000))
5402
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5400
5403
  : undefined,
5401
5404
  dataSource:
5402
5405
  output.dataSource !== undefined && output.dataSource !== null
@@ -5408,7 +5411,7 @@ const deserializeAws_json1_1DatasetImportJob = (output: any, context: __SerdeCon
5408
5411
  jobName: __expectString(output.jobName),
5409
5412
  lastUpdatedDateTime:
5410
5413
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5411
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5414
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5412
5415
  : undefined,
5413
5416
  roleArn: __expectString(output.roleArn),
5414
5417
  status: __expectString(output.status),
@@ -5433,14 +5436,14 @@ const deserializeAws_json1_1DatasetImportJobSummary = (
5433
5436
  return {
5434
5437
  creationDateTime:
5435
5438
  output.creationDateTime !== undefined && output.creationDateTime !== null
5436
- ? new Date(Math.round(output.creationDateTime * 1000))
5439
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5437
5440
  : undefined,
5438
5441
  datasetImportJobArn: __expectString(output.datasetImportJobArn),
5439
5442
  failureReason: __expectString(output.failureReason),
5440
5443
  jobName: __expectString(output.jobName),
5441
5444
  lastUpdatedDateTime:
5442
5445
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5443
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5446
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5444
5447
  : undefined,
5445
5448
  status: __expectString(output.status),
5446
5449
  } as any;
@@ -5461,11 +5464,11 @@ const deserializeAws_json1_1DatasetSchema = (output: any, context: __SerdeContex
5461
5464
  return {
5462
5465
  creationDateTime:
5463
5466
  output.creationDateTime !== undefined && output.creationDateTime !== null
5464
- ? new Date(Math.round(output.creationDateTime * 1000))
5467
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5465
5468
  : undefined,
5466
5469
  lastUpdatedDateTime:
5467
5470
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5468
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5471
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5469
5472
  : undefined,
5470
5473
  name: __expectString(output.name),
5471
5474
  schema: __expectString(output.schema),
@@ -5477,11 +5480,11 @@ const deserializeAws_json1_1DatasetSchemaSummary = (output: any, context: __Serd
5477
5480
  return {
5478
5481
  creationDateTime:
5479
5482
  output.creationDateTime !== undefined && output.creationDateTime !== null
5480
- ? new Date(Math.round(output.creationDateTime * 1000))
5483
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5481
5484
  : undefined,
5482
5485
  lastUpdatedDateTime:
5483
5486
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5484
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5487
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5485
5488
  : undefined,
5486
5489
  name: __expectString(output.name),
5487
5490
  schemaArn: __expectString(output.schemaArn),
@@ -5492,13 +5495,13 @@ const deserializeAws_json1_1DatasetSummary = (output: any, context: __SerdeConte
5492
5495
  return {
5493
5496
  creationDateTime:
5494
5497
  output.creationDateTime !== undefined && output.creationDateTime !== null
5495
- ? new Date(Math.round(output.creationDateTime * 1000))
5498
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5496
5499
  : undefined,
5497
5500
  datasetArn: __expectString(output.datasetArn),
5498
5501
  datasetType: __expectString(output.datasetType),
5499
5502
  lastUpdatedDateTime:
5500
5503
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5501
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5504
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5502
5505
  : undefined,
5503
5506
  name: __expectString(output.name),
5504
5507
  status: __expectString(output.status),
@@ -5545,8 +5548,8 @@ const deserializeAws_json1_1DefaultContinuousHyperParameterRange = (
5545
5548
  ): DefaultContinuousHyperParameterRange => {
5546
5549
  return {
5547
5550
  isTunable: __expectBoolean(output.isTunable),
5548
- maxValue: __limitedParseFloat(output.maxValue),
5549
- minValue: __limitedParseFloat(output.minValue),
5551
+ maxValue: __limitedParseDouble(output.maxValue),
5552
+ minValue: __limitedParseDouble(output.minValue),
5550
5553
  name: __expectString(output.name),
5551
5554
  } as any;
5552
5555
  };
@@ -5591,8 +5594,8 @@ const deserializeAws_json1_1DefaultIntegerHyperParameterRange = (
5591
5594
  ): DefaultIntegerHyperParameterRange => {
5592
5595
  return {
5593
5596
  isTunable: __expectBoolean(output.isTunable),
5594
- maxValue: __expectInt(output.maxValue),
5595
- minValue: __expectInt(output.minValue),
5597
+ maxValue: __expectInt32(output.maxValue),
5598
+ minValue: __expectInt32(output.minValue),
5596
5599
  name: __expectString(output.name),
5597
5600
  } as any;
5598
5601
  };
@@ -5775,13 +5778,13 @@ const deserializeAws_json1_1EventTracker = (output: any, context: __SerdeContext
5775
5778
  accountId: __expectString(output.accountId),
5776
5779
  creationDateTime:
5777
5780
  output.creationDateTime !== undefined && output.creationDateTime !== null
5778
- ? new Date(Math.round(output.creationDateTime * 1000))
5781
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5779
5782
  : undefined,
5780
5783
  datasetGroupArn: __expectString(output.datasetGroupArn),
5781
5784
  eventTrackerArn: __expectString(output.eventTrackerArn),
5782
5785
  lastUpdatedDateTime:
5783
5786
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5784
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5787
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5785
5788
  : undefined,
5786
5789
  name: __expectString(output.name),
5787
5790
  status: __expectString(output.status),
@@ -5804,12 +5807,12 @@ const deserializeAws_json1_1EventTrackerSummary = (output: any, context: __Serde
5804
5807
  return {
5805
5808
  creationDateTime:
5806
5809
  output.creationDateTime !== undefined && output.creationDateTime !== null
5807
- ? new Date(Math.round(output.creationDateTime * 1000))
5810
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5808
5811
  : undefined,
5809
5812
  eventTrackerArn: __expectString(output.eventTrackerArn),
5810
5813
  lastUpdatedDateTime:
5811
5814
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5812
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5815
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5813
5816
  : undefined,
5814
5817
  name: __expectString(output.name),
5815
5818
  status: __expectString(output.status),
@@ -5820,7 +5823,7 @@ const deserializeAws_json1_1FeatureTransformation = (output: any, context: __Ser
5820
5823
  return {
5821
5824
  creationDateTime:
5822
5825
  output.creationDateTime !== undefined && output.creationDateTime !== null
5823
- ? new Date(Math.round(output.creationDateTime * 1000))
5826
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5824
5827
  : undefined,
5825
5828
  defaultParameters:
5826
5829
  output.defaultParameters !== undefined && output.defaultParameters !== null
@@ -5829,7 +5832,7 @@ const deserializeAws_json1_1FeatureTransformation = (output: any, context: __Ser
5829
5832
  featureTransformationArn: __expectString(output.featureTransformationArn),
5830
5833
  lastUpdatedDateTime:
5831
5834
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5832
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5835
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5833
5836
  : undefined,
5834
5837
  name: __expectString(output.name),
5835
5838
  status: __expectString(output.status),
@@ -5870,7 +5873,7 @@ const deserializeAws_json1_1Filter = (output: any, context: __SerdeContext): Fil
5870
5873
  return {
5871
5874
  creationDateTime:
5872
5875
  output.creationDateTime !== undefined && output.creationDateTime !== null
5873
- ? new Date(Math.round(output.creationDateTime * 1000))
5876
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5874
5877
  : undefined,
5875
5878
  datasetGroupArn: __expectString(output.datasetGroupArn),
5876
5879
  failureReason: __expectString(output.failureReason),
@@ -5878,7 +5881,7 @@ const deserializeAws_json1_1Filter = (output: any, context: __SerdeContext): Fil
5878
5881
  filterExpression: __expectString(output.filterExpression),
5879
5882
  lastUpdatedDateTime:
5880
5883
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5881
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5884
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5882
5885
  : undefined,
5883
5886
  name: __expectString(output.name),
5884
5887
  status: __expectString(output.status),
@@ -5900,14 +5903,14 @@ const deserializeAws_json1_1FilterSummary = (output: any, context: __SerdeContex
5900
5903
  return {
5901
5904
  creationDateTime:
5902
5905
  output.creationDateTime !== undefined && output.creationDateTime !== null
5903
- ? new Date(Math.round(output.creationDateTime * 1000))
5906
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5904
5907
  : undefined,
5905
5908
  datasetGroupArn: __expectString(output.datasetGroupArn),
5906
5909
  failureReason: __expectString(output.failureReason),
5907
5910
  filterArn: __expectString(output.filterArn),
5908
5911
  lastUpdatedDateTime:
5909
5912
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5910
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5913
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5911
5914
  : undefined,
5912
5915
  name: __expectString(output.name),
5913
5916
  status: __expectString(output.status),
@@ -5993,8 +5996,8 @@ const deserializeAws_json1_1IntegerHyperParameterRange = (
5993
5996
  context: __SerdeContext
5994
5997
  ): IntegerHyperParameterRange => {
5995
5998
  return {
5996
- maxValue: __expectInt(output.maxValue),
5997
- minValue: __expectInt(output.minValue),
5999
+ maxValue: __expectInt32(output.maxValue),
6000
+ minValue: __expectInt32(output.minValue),
5998
6001
  name: __expectString(output.name),
5999
6002
  } as any;
6000
6003
  };
@@ -6179,7 +6182,7 @@ const deserializeAws_json1_1Metrics = (output: any, context: __SerdeContext): {
6179
6182
  }
6180
6183
  return {
6181
6184
  ...acc,
6182
- [key]: __limitedParseFloat(value) as any,
6185
+ [key]: __limitedParseDouble(value) as any,
6183
6186
  };
6184
6187
  }, {});
6185
6188
  };
@@ -6196,13 +6199,13 @@ const deserializeAws_json1_1Recipe = (output: any, context: __SerdeContext): Rec
6196
6199
  algorithmArn: __expectString(output.algorithmArn),
6197
6200
  creationDateTime:
6198
6201
  output.creationDateTime !== undefined && output.creationDateTime !== null
6199
- ? new Date(Math.round(output.creationDateTime * 1000))
6202
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
6200
6203
  : undefined,
6201
6204
  description: __expectString(output.description),
6202
6205
  featureTransformationArn: __expectString(output.featureTransformationArn),
6203
6206
  lastUpdatedDateTime:
6204
6207
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
6205
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
6208
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
6206
6209
  : undefined,
6207
6210
  name: __expectString(output.name),
6208
6211
  recipeArn: __expectString(output.recipeArn),
@@ -6226,11 +6229,11 @@ const deserializeAws_json1_1RecipeSummary = (output: any, context: __SerdeContex
6226
6229
  return {
6227
6230
  creationDateTime:
6228
6231
  output.creationDateTime !== undefined && output.creationDateTime !== null
6229
- ? new Date(Math.round(output.creationDateTime * 1000))
6232
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
6230
6233
  : undefined,
6231
6234
  lastUpdatedDateTime:
6232
6235
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
6233
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
6236
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
6234
6237
  : undefined,
6235
6238
  name: __expectString(output.name),
6236
6239
  recipeArn: __expectString(output.recipeArn),
@@ -6300,13 +6303,13 @@ const deserializeAws_json1_1Solution = (output: any, context: __SerdeContext): S
6300
6303
  : undefined,
6301
6304
  creationDateTime:
6302
6305
  output.creationDateTime !== undefined && output.creationDateTime !== null
6303
- ? new Date(Math.round(output.creationDateTime * 1000))
6306
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
6304
6307
  : undefined,
6305
6308
  datasetGroupArn: __expectString(output.datasetGroupArn),
6306
6309
  eventType: __expectString(output.eventType),
6307
6310
  lastUpdatedDateTime:
6308
6311
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
6309
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
6312
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
6310
6313
  : undefined,
6311
6314
  latestSolutionVersion:
6312
6315
  output.latestSolutionVersion !== undefined && output.latestSolutionVersion !== null
@@ -6366,11 +6369,11 @@ const deserializeAws_json1_1SolutionSummary = (output: any, context: __SerdeCont
6366
6369
  return {
6367
6370
  creationDateTime:
6368
6371
  output.creationDateTime !== undefined && output.creationDateTime !== null
6369
- ? new Date(Math.round(output.creationDateTime * 1000))
6372
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
6370
6373
  : undefined,
6371
6374
  lastUpdatedDateTime:
6372
6375
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
6373
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
6376
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
6374
6377
  : undefined,
6375
6378
  name: __expectString(output.name),
6376
6379
  solutionArn: __expectString(output.solutionArn),
@@ -6382,14 +6385,14 @@ const deserializeAws_json1_1SolutionVersion = (output: any, context: __SerdeCont
6382
6385
  return {
6383
6386
  creationDateTime:
6384
6387
  output.creationDateTime !== undefined && output.creationDateTime !== null
6385
- ? new Date(Math.round(output.creationDateTime * 1000))
6388
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
6386
6389
  : undefined,
6387
6390
  datasetGroupArn: __expectString(output.datasetGroupArn),
6388
6391
  eventType: __expectString(output.eventType),
6389
6392
  failureReason: __expectString(output.failureReason),
6390
6393
  lastUpdatedDateTime:
6391
6394
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
6392
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
6395
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
6393
6396
  : undefined,
6394
6397
  performAutoML: __expectBoolean(output.performAutoML),
6395
6398
  performHPO: __expectBoolean(output.performHPO),
@@ -6401,7 +6404,7 @@ const deserializeAws_json1_1SolutionVersion = (output: any, context: __SerdeCont
6401
6404
  : undefined,
6402
6405
  solutionVersionArn: __expectString(output.solutionVersionArn),
6403
6406
  status: __expectString(output.status),
6404
- trainingHours: __limitedParseFloat(output.trainingHours),
6407
+ trainingHours: __limitedParseDouble(output.trainingHours),
6405
6408
  trainingMode: __expectString(output.trainingMode),
6406
6409
  tunedHPOParams:
6407
6410
  output.tunedHPOParams !== undefined && output.tunedHPOParams !== null
@@ -6425,12 +6428,12 @@ const deserializeAws_json1_1SolutionVersionSummary = (output: any, context: __Se
6425
6428
  return {
6426
6429
  creationDateTime:
6427
6430
  output.creationDateTime !== undefined && output.creationDateTime !== null
6428
- ? new Date(Math.round(output.creationDateTime * 1000))
6431
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
6429
6432
  : undefined,
6430
6433
  failureReason: __expectString(output.failureReason),
6431
6434
  lastUpdatedDateTime:
6432
6435
  output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
6433
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
6436
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
6434
6437
  : undefined,
6435
6438
  solutionVersionArn: __expectString(output.solutionVersionArn),
6436
6439
  status: __expectString(output.status),