@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.
@@ -47,8 +47,7 @@ var partitionHash = {
47
47
  };
48
48
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
49
49
  return __generator(this, function (_a) {
50
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "personalize", regionHash: regionHash,
51
- partitionHash: partitionHash }))];
50
+ return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "personalize", regionHash: regionHash, partitionHash: partitionHash }))];
52
51
  });
53
52
  }); };
54
53
  //# sourceMappingURL=endpoints.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe,EAAE,CAAC;AAElC,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,oCAAoC;KAC/C;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,uCAAuC;KAClD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,iCAAiC;KAC5C;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,oCAAoC;KAC/C;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,oCAAoC;KAC/C;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,aAAa,EAC7B,UAAU,YAAA;gBACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
1
+ {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe,EAAE,CAAC;AAElC,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,oCAAoC;KAC/C;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,uCAAuC;KAClD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,iCAAiC;KAC5C;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,oCAAoC;KAC/C;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,oCAAoC;KAC/C;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,aAAa,EAC7B,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
@@ -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"
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator, __read } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { expectBoolean as __expectBoolean, expectInt as __expectInt, expectString as __expectString, limitedParseFloat as __limitedParseFloat, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
3
+ import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
4
4
  export var serializeAws_json1_1CreateBatchInferenceJobCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
5
5
  var headers, body;
6
6
  return __generator(this, function (_a) {
@@ -4218,7 +4218,7 @@ var deserializeAws_json1_1Algorithm = function (output, context) {
4218
4218
  ? deserializeAws_json1_1AlgorithmImage(output.algorithmImage, context)
4219
4219
  : undefined,
4220
4220
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4221
- ? new Date(Math.round(output.creationDateTime * 1000))
4221
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4222
4222
  : undefined,
4223
4223
  defaultHyperParameterRanges: output.defaultHyperParameterRanges !== undefined && output.defaultHyperParameterRanges !== null
4224
4224
  ? deserializeAws_json1_1DefaultHyperParameterRanges(output.defaultHyperParameterRanges, context)
@@ -4230,7 +4230,7 @@ var deserializeAws_json1_1Algorithm = function (output, context) {
4230
4230
  ? deserializeAws_json1_1ResourceConfig(output.defaultResourceConfig, context)
4231
4231
  : undefined,
4232
4232
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4233
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4233
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4234
4234
  : undefined,
4235
4235
  name: __expectString(output.name),
4236
4236
  roleArn: __expectString(output.roleArn),
@@ -4273,7 +4273,7 @@ var deserializeAws_json1_1BatchInferenceJob = function (output, context) {
4273
4273
  ? deserializeAws_json1_1BatchInferenceJobConfig(output.batchInferenceJobConfig, context)
4274
4274
  : undefined,
4275
4275
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4276
- ? new Date(Math.round(output.creationDateTime * 1000))
4276
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4277
4277
  : undefined,
4278
4278
  failureReason: __expectString(output.failureReason),
4279
4279
  filterArn: __expectString(output.filterArn),
@@ -4285,9 +4285,9 @@ var deserializeAws_json1_1BatchInferenceJob = function (output, context) {
4285
4285
  ? deserializeAws_json1_1BatchInferenceJobOutput(output.jobOutput, context)
4286
4286
  : undefined,
4287
4287
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4288
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4288
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4289
4289
  : undefined,
4290
- numResults: __expectInt(output.numResults),
4290
+ numResults: __expectInt32(output.numResults),
4291
4291
  roleArn: __expectString(output.roleArn),
4292
4292
  solutionVersionArn: __expectString(output.solutionVersionArn),
4293
4293
  status: __expectString(output.status),
@@ -4328,12 +4328,12 @@ var deserializeAws_json1_1BatchInferenceJobSummary = function (output, context)
4328
4328
  return {
4329
4329
  batchInferenceJobArn: __expectString(output.batchInferenceJobArn),
4330
4330
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4331
- ? new Date(Math.round(output.creationDateTime * 1000))
4331
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4332
4332
  : undefined,
4333
4333
  failureReason: __expectString(output.failureReason),
4334
4334
  jobName: __expectString(output.jobName),
4335
4335
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4336
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4336
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4337
4337
  : undefined,
4338
4338
  solutionVersionArn: __expectString(output.solutionVersionArn),
4339
4339
  status: __expectString(output.status),
@@ -4346,16 +4346,16 @@ var deserializeAws_json1_1Campaign = function (output, context) {
4346
4346
  ? deserializeAws_json1_1CampaignConfig(output.campaignConfig, context)
4347
4347
  : undefined,
4348
4348
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4349
- ? new Date(Math.round(output.creationDateTime * 1000))
4349
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4350
4350
  : undefined,
4351
4351
  failureReason: __expectString(output.failureReason),
4352
4352
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4353
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4353
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4354
4354
  : undefined,
4355
4355
  latestCampaignUpdate: output.latestCampaignUpdate !== undefined && output.latestCampaignUpdate !== null
4356
4356
  ? deserializeAws_json1_1CampaignUpdateSummary(output.latestCampaignUpdate, context)
4357
4357
  : undefined,
4358
- minProvisionedTPS: __expectInt(output.minProvisionedTPS),
4358
+ minProvisionedTPS: __expectInt32(output.minProvisionedTPS),
4359
4359
  name: __expectString(output.name),
4360
4360
  solutionVersionArn: __expectString(output.solutionVersionArn),
4361
4361
  status: __expectString(output.status),
@@ -4382,11 +4382,11 @@ var deserializeAws_json1_1CampaignSummary = function (output, context) {
4382
4382
  return {
4383
4383
  campaignArn: __expectString(output.campaignArn),
4384
4384
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4385
- ? new Date(Math.round(output.creationDateTime * 1000))
4385
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4386
4386
  : undefined,
4387
4387
  failureReason: __expectString(output.failureReason),
4388
4388
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4389
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4389
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4390
4390
  : undefined,
4391
4391
  name: __expectString(output.name),
4392
4392
  status: __expectString(output.status),
@@ -4398,13 +4398,13 @@ var deserializeAws_json1_1CampaignUpdateSummary = function (output, context) {
4398
4398
  ? deserializeAws_json1_1CampaignConfig(output.campaignConfig, context)
4399
4399
  : undefined,
4400
4400
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4401
- ? new Date(Math.round(output.creationDateTime * 1000))
4401
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4402
4402
  : undefined,
4403
4403
  failureReason: __expectString(output.failureReason),
4404
4404
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4405
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4405
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4406
4406
  : undefined,
4407
- minProvisionedTPS: __expectInt(output.minProvisionedTPS),
4407
+ minProvisionedTPS: __expectInt32(output.minProvisionedTPS),
4408
4408
  solutionVersionArn: __expectString(output.solutionVersionArn),
4409
4409
  status: __expectString(output.status),
4410
4410
  };
@@ -4439,8 +4439,8 @@ var deserializeAws_json1_1CategoricalValues = function (output, context) {
4439
4439
  };
4440
4440
  var deserializeAws_json1_1ContinuousHyperParameterRange = function (output, context) {
4441
4441
  return {
4442
- maxValue: __limitedParseFloat(output.maxValue),
4443
- minValue: __limitedParseFloat(output.minValue),
4442
+ maxValue: __limitedParseDouble(output.maxValue),
4443
+ minValue: __limitedParseDouble(output.minValue),
4444
4444
  name: __expectString(output.name),
4445
4445
  };
4446
4446
  };
@@ -4513,13 +4513,13 @@ var deserializeAws_json1_1CreateSolutionVersionResponse = function (output, cont
4513
4513
  var deserializeAws_json1_1Dataset = function (output, context) {
4514
4514
  return {
4515
4515
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4516
- ? new Date(Math.round(output.creationDateTime * 1000))
4516
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4517
4517
  : undefined,
4518
4518
  datasetArn: __expectString(output.datasetArn),
4519
4519
  datasetGroupArn: __expectString(output.datasetGroupArn),
4520
4520
  datasetType: __expectString(output.datasetType),
4521
4521
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4522
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4522
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4523
4523
  : undefined,
4524
4524
  name: __expectString(output.name),
4525
4525
  schemaArn: __expectString(output.schemaArn),
@@ -4529,7 +4529,7 @@ var deserializeAws_json1_1Dataset = function (output, context) {
4529
4529
  var deserializeAws_json1_1DatasetExportJob = function (output, context) {
4530
4530
  return {
4531
4531
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4532
- ? new Date(Math.round(output.creationDateTime * 1000))
4532
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4533
4533
  : undefined,
4534
4534
  datasetArn: __expectString(output.datasetArn),
4535
4535
  datasetExportJobArn: __expectString(output.datasetExportJobArn),
@@ -4540,7 +4540,7 @@ var deserializeAws_json1_1DatasetExportJob = function (output, context) {
4540
4540
  ? deserializeAws_json1_1DatasetExportJobOutput(output.jobOutput, context)
4541
4541
  : undefined,
4542
4542
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4543
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4543
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4544
4544
  : undefined,
4545
4545
  roleArn: __expectString(output.roleArn),
4546
4546
  status: __expectString(output.status),
@@ -4566,13 +4566,13 @@ var deserializeAws_json1_1DatasetExportJobs = function (output, context) {
4566
4566
  var deserializeAws_json1_1DatasetExportJobSummary = function (output, context) {
4567
4567
  return {
4568
4568
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4569
- ? new Date(Math.round(output.creationDateTime * 1000))
4569
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4570
4570
  : undefined,
4571
4571
  datasetExportJobArn: __expectString(output.datasetExportJobArn),
4572
4572
  failureReason: __expectString(output.failureReason),
4573
4573
  jobName: __expectString(output.jobName),
4574
4574
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4575
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4575
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4576
4576
  : undefined,
4577
4577
  status: __expectString(output.status),
4578
4578
  };
@@ -4580,13 +4580,13 @@ var deserializeAws_json1_1DatasetExportJobSummary = function (output, context) {
4580
4580
  var deserializeAws_json1_1DatasetGroup = function (output, context) {
4581
4581
  return {
4582
4582
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4583
- ? new Date(Math.round(output.creationDateTime * 1000))
4583
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4584
4584
  : undefined,
4585
4585
  datasetGroupArn: __expectString(output.datasetGroupArn),
4586
4586
  failureReason: __expectString(output.failureReason),
4587
4587
  kmsKeyArn: __expectString(output.kmsKeyArn),
4588
4588
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4589
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4589
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4590
4590
  : undefined,
4591
4591
  name: __expectString(output.name),
4592
4592
  roleArn: __expectString(output.roleArn),
@@ -4606,12 +4606,12 @@ var deserializeAws_json1_1DatasetGroups = function (output, context) {
4606
4606
  var deserializeAws_json1_1DatasetGroupSummary = function (output, context) {
4607
4607
  return {
4608
4608
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4609
- ? new Date(Math.round(output.creationDateTime * 1000))
4609
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4610
4610
  : undefined,
4611
4611
  datasetGroupArn: __expectString(output.datasetGroupArn),
4612
4612
  failureReason: __expectString(output.failureReason),
4613
4613
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4614
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4614
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4615
4615
  : undefined,
4616
4616
  name: __expectString(output.name),
4617
4617
  status: __expectString(output.status),
@@ -4620,7 +4620,7 @@ var deserializeAws_json1_1DatasetGroupSummary = function (output, context) {
4620
4620
  var deserializeAws_json1_1DatasetImportJob = function (output, context) {
4621
4621
  return {
4622
4622
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4623
- ? new Date(Math.round(output.creationDateTime * 1000))
4623
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4624
4624
  : undefined,
4625
4625
  dataSource: output.dataSource !== undefined && output.dataSource !== null
4626
4626
  ? deserializeAws_json1_1DataSource(output.dataSource, context)
@@ -4630,7 +4630,7 @@ var deserializeAws_json1_1DatasetImportJob = function (output, context) {
4630
4630
  failureReason: __expectString(output.failureReason),
4631
4631
  jobName: __expectString(output.jobName),
4632
4632
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4633
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4633
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4634
4634
  : undefined,
4635
4635
  roleArn: __expectString(output.roleArn),
4636
4636
  status: __expectString(output.status),
@@ -4649,13 +4649,13 @@ var deserializeAws_json1_1DatasetImportJobs = function (output, context) {
4649
4649
  var deserializeAws_json1_1DatasetImportJobSummary = function (output, context) {
4650
4650
  return {
4651
4651
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4652
- ? new Date(Math.round(output.creationDateTime * 1000))
4652
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4653
4653
  : undefined,
4654
4654
  datasetImportJobArn: __expectString(output.datasetImportJobArn),
4655
4655
  failureReason: __expectString(output.failureReason),
4656
4656
  jobName: __expectString(output.jobName),
4657
4657
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4658
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4658
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4659
4659
  : undefined,
4660
4660
  status: __expectString(output.status),
4661
4661
  };
@@ -4673,10 +4673,10 @@ var deserializeAws_json1_1Datasets = function (output, context) {
4673
4673
  var deserializeAws_json1_1DatasetSchema = function (output, context) {
4674
4674
  return {
4675
4675
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4676
- ? new Date(Math.round(output.creationDateTime * 1000))
4676
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4677
4677
  : undefined,
4678
4678
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4679
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4679
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4680
4680
  : undefined,
4681
4681
  name: __expectString(output.name),
4682
4682
  schema: __expectString(output.schema),
@@ -4686,10 +4686,10 @@ var deserializeAws_json1_1DatasetSchema = function (output, context) {
4686
4686
  var deserializeAws_json1_1DatasetSchemaSummary = function (output, context) {
4687
4687
  return {
4688
4688
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4689
- ? new Date(Math.round(output.creationDateTime * 1000))
4689
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4690
4690
  : undefined,
4691
4691
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4692
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4692
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4693
4693
  : undefined,
4694
4694
  name: __expectString(output.name),
4695
4695
  schemaArn: __expectString(output.schemaArn),
@@ -4698,12 +4698,12 @@ var deserializeAws_json1_1DatasetSchemaSummary = function (output, context) {
4698
4698
  var deserializeAws_json1_1DatasetSummary = function (output, context) {
4699
4699
  return {
4700
4700
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4701
- ? new Date(Math.round(output.creationDateTime * 1000))
4701
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4702
4702
  : undefined,
4703
4703
  datasetArn: __expectString(output.datasetArn),
4704
4704
  datasetType: __expectString(output.datasetType),
4705
4705
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4706
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4706
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4707
4707
  : undefined,
4708
4708
  name: __expectString(output.name),
4709
4709
  status: __expectString(output.status),
@@ -4736,8 +4736,8 @@ var deserializeAws_json1_1DefaultCategoricalHyperParameterRanges = function (out
4736
4736
  var deserializeAws_json1_1DefaultContinuousHyperParameterRange = function (output, context) {
4737
4737
  return {
4738
4738
  isTunable: __expectBoolean(output.isTunable),
4739
- maxValue: __limitedParseFloat(output.maxValue),
4740
- minValue: __limitedParseFloat(output.minValue),
4739
+ maxValue: __limitedParseDouble(output.maxValue),
4740
+ minValue: __limitedParseDouble(output.minValue),
4741
4741
  name: __expectString(output.name),
4742
4742
  };
4743
4743
  };
@@ -4767,8 +4767,8 @@ var deserializeAws_json1_1DefaultHyperParameterRanges = function (output, contex
4767
4767
  var deserializeAws_json1_1DefaultIntegerHyperParameterRange = function (output, context) {
4768
4768
  return {
4769
4769
  isTunable: __expectBoolean(output.isTunable),
4770
- maxValue: __expectInt(output.maxValue),
4771
- minValue: __expectInt(output.minValue),
4770
+ maxValue: __expectInt32(output.maxValue),
4771
+ minValue: __expectInt32(output.minValue),
4772
4772
  name: __expectString(output.name),
4773
4773
  };
4774
4774
  };
@@ -4884,12 +4884,12 @@ var deserializeAws_json1_1EventTracker = function (output, context) {
4884
4884
  return {
4885
4885
  accountId: __expectString(output.accountId),
4886
4886
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4887
- ? new Date(Math.round(output.creationDateTime * 1000))
4887
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4888
4888
  : undefined,
4889
4889
  datasetGroupArn: __expectString(output.datasetGroupArn),
4890
4890
  eventTrackerArn: __expectString(output.eventTrackerArn),
4891
4891
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4892
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4892
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4893
4893
  : undefined,
4894
4894
  name: __expectString(output.name),
4895
4895
  status: __expectString(output.status),
@@ -4909,11 +4909,11 @@ var deserializeAws_json1_1EventTrackers = function (output, context) {
4909
4909
  var deserializeAws_json1_1EventTrackerSummary = function (output, context) {
4910
4910
  return {
4911
4911
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4912
- ? new Date(Math.round(output.creationDateTime * 1000))
4912
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4913
4913
  : undefined,
4914
4914
  eventTrackerArn: __expectString(output.eventTrackerArn),
4915
4915
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4916
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4916
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4917
4917
  : undefined,
4918
4918
  name: __expectString(output.name),
4919
4919
  status: __expectString(output.status),
@@ -4922,14 +4922,14 @@ var deserializeAws_json1_1EventTrackerSummary = function (output, context) {
4922
4922
  var deserializeAws_json1_1FeatureTransformation = function (output, context) {
4923
4923
  return {
4924
4924
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4925
- ? new Date(Math.round(output.creationDateTime * 1000))
4925
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4926
4926
  : undefined,
4927
4927
  defaultParameters: output.defaultParameters !== undefined && output.defaultParameters !== null
4928
4928
  ? deserializeAws_json1_1FeaturizationParameters(output.defaultParameters, context)
4929
4929
  : undefined,
4930
4930
  featureTransformationArn: __expectString(output.featureTransformationArn),
4931
4931
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4932
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4932
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4933
4933
  : undefined,
4934
4934
  name: __expectString(output.name),
4935
4935
  status: __expectString(output.status),
@@ -4958,14 +4958,14 @@ var deserializeAws_json1_1FeaturizationParameters = function (output, context) {
4958
4958
  var deserializeAws_json1_1Filter = function (output, context) {
4959
4959
  return {
4960
4960
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4961
- ? new Date(Math.round(output.creationDateTime * 1000))
4961
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4962
4962
  : undefined,
4963
4963
  datasetGroupArn: __expectString(output.datasetGroupArn),
4964
4964
  failureReason: __expectString(output.failureReason),
4965
4965
  filterArn: __expectString(output.filterArn),
4966
4966
  filterExpression: __expectString(output.filterExpression),
4967
4967
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4968
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4968
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4969
4969
  : undefined,
4970
4970
  name: __expectString(output.name),
4971
4971
  status: __expectString(output.status),
@@ -4984,13 +4984,13 @@ var deserializeAws_json1_1Filters = function (output, context) {
4984
4984
  var deserializeAws_json1_1FilterSummary = function (output, context) {
4985
4985
  return {
4986
4986
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4987
- ? new Date(Math.round(output.creationDateTime * 1000))
4987
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4988
4988
  : undefined,
4989
4989
  datasetGroupArn: __expectString(output.datasetGroupArn),
4990
4990
  failureReason: __expectString(output.failureReason),
4991
4991
  filterArn: __expectString(output.filterArn),
4992
4992
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4993
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4993
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4994
4994
  : undefined,
4995
4995
  name: __expectString(output.name),
4996
4996
  status: __expectString(output.status),
@@ -5055,8 +5055,8 @@ var deserializeAws_json1_1HyperParameters = function (output, context) {
5055
5055
  };
5056
5056
  var deserializeAws_json1_1IntegerHyperParameterRange = function (output, context) {
5057
5057
  return {
5058
- maxValue: __expectInt(output.maxValue),
5059
- minValue: __expectInt(output.minValue),
5058
+ maxValue: __expectInt32(output.maxValue),
5059
+ minValue: __expectInt32(output.minValue),
5060
5060
  name: __expectString(output.name),
5061
5061
  };
5062
5062
  };
@@ -5188,7 +5188,7 @@ var deserializeAws_json1_1Metrics = function (output, context) {
5188
5188
  if (value === null) {
5189
5189
  return acc;
5190
5190
  }
5191
- return __assign(__assign({}, acc), (_b = {}, _b[key] = __limitedParseFloat(value), _b));
5191
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = __limitedParseDouble(value), _b));
5192
5192
  }, {});
5193
5193
  };
5194
5194
  var deserializeAws_json1_1OptimizationObjective = function (output, context) {
@@ -5201,12 +5201,12 @@ var deserializeAws_json1_1Recipe = function (output, context) {
5201
5201
  return {
5202
5202
  algorithmArn: __expectString(output.algorithmArn),
5203
5203
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5204
- ? new Date(Math.round(output.creationDateTime * 1000))
5204
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5205
5205
  : undefined,
5206
5206
  description: __expectString(output.description),
5207
5207
  featureTransformationArn: __expectString(output.featureTransformationArn),
5208
5208
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5209
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5209
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5210
5210
  : undefined,
5211
5211
  name: __expectString(output.name),
5212
5212
  recipeArn: __expectString(output.recipeArn),
@@ -5227,10 +5227,10 @@ var deserializeAws_json1_1Recipes = function (output, context) {
5227
5227
  var deserializeAws_json1_1RecipeSummary = function (output, context) {
5228
5228
  return {
5229
5229
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5230
- ? new Date(Math.round(output.creationDateTime * 1000))
5230
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5231
5231
  : undefined,
5232
5232
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5233
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5233
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5234
5234
  : undefined,
5235
5235
  name: __expectString(output.name),
5236
5236
  recipeArn: __expectString(output.recipeArn),
@@ -5284,12 +5284,12 @@ var deserializeAws_json1_1Solution = function (output, context) {
5284
5284
  ? deserializeAws_json1_1AutoMLResult(output.autoMLResult, context)
5285
5285
  : undefined,
5286
5286
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5287
- ? new Date(Math.round(output.creationDateTime * 1000))
5287
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5288
5288
  : undefined,
5289
5289
  datasetGroupArn: __expectString(output.datasetGroupArn),
5290
5290
  eventType: __expectString(output.eventType),
5291
5291
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5292
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5292
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5293
5293
  : undefined,
5294
5294
  latestSolutionVersion: output.latestSolutionVersion !== undefined && output.latestSolutionVersion !== null
5295
5295
  ? deserializeAws_json1_1SolutionVersionSummary(output.latestSolutionVersion, context)
@@ -5338,10 +5338,10 @@ var deserializeAws_json1_1Solutions = function (output, context) {
5338
5338
  var deserializeAws_json1_1SolutionSummary = function (output, context) {
5339
5339
  return {
5340
5340
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5341
- ? new Date(Math.round(output.creationDateTime * 1000))
5341
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5342
5342
  : undefined,
5343
5343
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5344
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5344
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5345
5345
  : undefined,
5346
5346
  name: __expectString(output.name),
5347
5347
  solutionArn: __expectString(output.solutionArn),
@@ -5351,13 +5351,13 @@ var deserializeAws_json1_1SolutionSummary = function (output, context) {
5351
5351
  var deserializeAws_json1_1SolutionVersion = function (output, context) {
5352
5352
  return {
5353
5353
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5354
- ? new Date(Math.round(output.creationDateTime * 1000))
5354
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5355
5355
  : undefined,
5356
5356
  datasetGroupArn: __expectString(output.datasetGroupArn),
5357
5357
  eventType: __expectString(output.eventType),
5358
5358
  failureReason: __expectString(output.failureReason),
5359
5359
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5360
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5360
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5361
5361
  : undefined,
5362
5362
  performAutoML: __expectBoolean(output.performAutoML),
5363
5363
  performHPO: __expectBoolean(output.performHPO),
@@ -5368,7 +5368,7 @@ var deserializeAws_json1_1SolutionVersion = function (output, context) {
5368
5368
  : undefined,
5369
5369
  solutionVersionArn: __expectString(output.solutionVersionArn),
5370
5370
  status: __expectString(output.status),
5371
- trainingHours: __limitedParseFloat(output.trainingHours),
5371
+ trainingHours: __limitedParseDouble(output.trainingHours),
5372
5372
  trainingMode: __expectString(output.trainingMode),
5373
5373
  tunedHPOParams: output.tunedHPOParams !== undefined && output.tunedHPOParams !== null
5374
5374
  ? deserializeAws_json1_1TunedHPOParams(output.tunedHPOParams, context)
@@ -5388,11 +5388,11 @@ var deserializeAws_json1_1SolutionVersions = function (output, context) {
5388
5388
  var deserializeAws_json1_1SolutionVersionSummary = function (output, context) {
5389
5389
  return {
5390
5390
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5391
- ? new Date(Math.round(output.creationDateTime * 1000))
5391
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5392
5392
  : undefined,
5393
5393
  failureReason: __expectString(output.failureReason),
5394
5394
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5395
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5395
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5396
5396
  : undefined,
5397
5397
  solutionVersionArn: __expectString(output.solutionVersionArn),
5398
5398
  status: __expectString(output.status),