@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/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-personalize
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-personalize
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-personalize
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-personalize
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-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"
@@ -3947,7 +3947,7 @@ const deserializeAws_json1_1Algorithm = (output, context) => {
3947
3947
  ? deserializeAws_json1_1AlgorithmImage(output.algorithmImage, context)
3948
3948
  : undefined,
3949
3949
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
3950
- ? new Date(Math.round(output.creationDateTime * 1000))
3950
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
3951
3951
  : undefined,
3952
3952
  defaultHyperParameterRanges: output.defaultHyperParameterRanges !== undefined && output.defaultHyperParameterRanges !== null
3953
3953
  ? deserializeAws_json1_1DefaultHyperParameterRanges(output.defaultHyperParameterRanges, context)
@@ -3959,7 +3959,7 @@ const deserializeAws_json1_1Algorithm = (output, context) => {
3959
3959
  ? deserializeAws_json1_1ResourceConfig(output.defaultResourceConfig, context)
3960
3960
  : undefined,
3961
3961
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
3962
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
3962
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
3963
3963
  : undefined,
3964
3964
  name: smithy_client_1.expectString(output.name),
3965
3965
  roleArn: smithy_client_1.expectString(output.roleArn),
@@ -4002,7 +4002,7 @@ const deserializeAws_json1_1BatchInferenceJob = (output, context) => {
4002
4002
  ? deserializeAws_json1_1BatchInferenceJobConfig(output.batchInferenceJobConfig, context)
4003
4003
  : undefined,
4004
4004
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4005
- ? new Date(Math.round(output.creationDateTime * 1000))
4005
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4006
4006
  : undefined,
4007
4007
  failureReason: smithy_client_1.expectString(output.failureReason),
4008
4008
  filterArn: smithy_client_1.expectString(output.filterArn),
@@ -4014,9 +4014,9 @@ const deserializeAws_json1_1BatchInferenceJob = (output, context) => {
4014
4014
  ? deserializeAws_json1_1BatchInferenceJobOutput(output.jobOutput, context)
4015
4015
  : undefined,
4016
4016
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4017
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4017
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4018
4018
  : undefined,
4019
- numResults: smithy_client_1.expectInt(output.numResults),
4019
+ numResults: smithy_client_1.expectInt32(output.numResults),
4020
4020
  roleArn: smithy_client_1.expectString(output.roleArn),
4021
4021
  solutionVersionArn: smithy_client_1.expectString(output.solutionVersionArn),
4022
4022
  status: smithy_client_1.expectString(output.status),
@@ -4057,12 +4057,12 @@ const deserializeAws_json1_1BatchInferenceJobSummary = (output, context) => {
4057
4057
  return {
4058
4058
  batchInferenceJobArn: smithy_client_1.expectString(output.batchInferenceJobArn),
4059
4059
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4060
- ? new Date(Math.round(output.creationDateTime * 1000))
4060
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4061
4061
  : undefined,
4062
4062
  failureReason: smithy_client_1.expectString(output.failureReason),
4063
4063
  jobName: smithy_client_1.expectString(output.jobName),
4064
4064
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4065
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4065
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4066
4066
  : undefined,
4067
4067
  solutionVersionArn: smithy_client_1.expectString(output.solutionVersionArn),
4068
4068
  status: smithy_client_1.expectString(output.status),
@@ -4075,16 +4075,16 @@ const deserializeAws_json1_1Campaign = (output, context) => {
4075
4075
  ? deserializeAws_json1_1CampaignConfig(output.campaignConfig, context)
4076
4076
  : undefined,
4077
4077
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4078
- ? new Date(Math.round(output.creationDateTime * 1000))
4078
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4079
4079
  : undefined,
4080
4080
  failureReason: smithy_client_1.expectString(output.failureReason),
4081
4081
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4082
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4082
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4083
4083
  : undefined,
4084
4084
  latestCampaignUpdate: output.latestCampaignUpdate !== undefined && output.latestCampaignUpdate !== null
4085
4085
  ? deserializeAws_json1_1CampaignUpdateSummary(output.latestCampaignUpdate, context)
4086
4086
  : undefined,
4087
- minProvisionedTPS: smithy_client_1.expectInt(output.minProvisionedTPS),
4087
+ minProvisionedTPS: smithy_client_1.expectInt32(output.minProvisionedTPS),
4088
4088
  name: smithy_client_1.expectString(output.name),
4089
4089
  solutionVersionArn: smithy_client_1.expectString(output.solutionVersionArn),
4090
4090
  status: smithy_client_1.expectString(output.status),
@@ -4111,11 +4111,11 @@ const deserializeAws_json1_1CampaignSummary = (output, context) => {
4111
4111
  return {
4112
4112
  campaignArn: smithy_client_1.expectString(output.campaignArn),
4113
4113
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4114
- ? new Date(Math.round(output.creationDateTime * 1000))
4114
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4115
4115
  : undefined,
4116
4116
  failureReason: smithy_client_1.expectString(output.failureReason),
4117
4117
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4118
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4118
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4119
4119
  : undefined,
4120
4120
  name: smithy_client_1.expectString(output.name),
4121
4121
  status: smithy_client_1.expectString(output.status),
@@ -4127,13 +4127,13 @@ const deserializeAws_json1_1CampaignUpdateSummary = (output, context) => {
4127
4127
  ? deserializeAws_json1_1CampaignConfig(output.campaignConfig, context)
4128
4128
  : undefined,
4129
4129
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4130
- ? new Date(Math.round(output.creationDateTime * 1000))
4130
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4131
4131
  : undefined,
4132
4132
  failureReason: smithy_client_1.expectString(output.failureReason),
4133
4133
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4134
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4134
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4135
4135
  : undefined,
4136
- minProvisionedTPS: smithy_client_1.expectInt(output.minProvisionedTPS),
4136
+ minProvisionedTPS: smithy_client_1.expectInt32(output.minProvisionedTPS),
4137
4137
  solutionVersionArn: smithy_client_1.expectString(output.solutionVersionArn),
4138
4138
  status: smithy_client_1.expectString(output.status),
4139
4139
  };
@@ -4168,8 +4168,8 @@ const deserializeAws_json1_1CategoricalValues = (output, context) => {
4168
4168
  };
4169
4169
  const deserializeAws_json1_1ContinuousHyperParameterRange = (output, context) => {
4170
4170
  return {
4171
- maxValue: smithy_client_1.limitedParseFloat(output.maxValue),
4172
- minValue: smithy_client_1.limitedParseFloat(output.minValue),
4171
+ maxValue: smithy_client_1.limitedParseDouble(output.maxValue),
4172
+ minValue: smithy_client_1.limitedParseDouble(output.minValue),
4173
4173
  name: smithy_client_1.expectString(output.name),
4174
4174
  };
4175
4175
  };
@@ -4242,13 +4242,13 @@ const deserializeAws_json1_1CreateSolutionVersionResponse = (output, context) =>
4242
4242
  const deserializeAws_json1_1Dataset = (output, context) => {
4243
4243
  return {
4244
4244
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4245
- ? new Date(Math.round(output.creationDateTime * 1000))
4245
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4246
4246
  : undefined,
4247
4247
  datasetArn: smithy_client_1.expectString(output.datasetArn),
4248
4248
  datasetGroupArn: smithy_client_1.expectString(output.datasetGroupArn),
4249
4249
  datasetType: smithy_client_1.expectString(output.datasetType),
4250
4250
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4251
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4251
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4252
4252
  : undefined,
4253
4253
  name: smithy_client_1.expectString(output.name),
4254
4254
  schemaArn: smithy_client_1.expectString(output.schemaArn),
@@ -4258,7 +4258,7 @@ const deserializeAws_json1_1Dataset = (output, context) => {
4258
4258
  const deserializeAws_json1_1DatasetExportJob = (output, context) => {
4259
4259
  return {
4260
4260
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4261
- ? new Date(Math.round(output.creationDateTime * 1000))
4261
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4262
4262
  : undefined,
4263
4263
  datasetArn: smithy_client_1.expectString(output.datasetArn),
4264
4264
  datasetExportJobArn: smithy_client_1.expectString(output.datasetExportJobArn),
@@ -4269,7 +4269,7 @@ const deserializeAws_json1_1DatasetExportJob = (output, context) => {
4269
4269
  ? deserializeAws_json1_1DatasetExportJobOutput(output.jobOutput, context)
4270
4270
  : undefined,
4271
4271
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4272
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4272
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4273
4273
  : undefined,
4274
4274
  roleArn: smithy_client_1.expectString(output.roleArn),
4275
4275
  status: smithy_client_1.expectString(output.status),
@@ -4295,13 +4295,13 @@ const deserializeAws_json1_1DatasetExportJobs = (output, context) => {
4295
4295
  const deserializeAws_json1_1DatasetExportJobSummary = (output, context) => {
4296
4296
  return {
4297
4297
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4298
- ? new Date(Math.round(output.creationDateTime * 1000))
4298
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4299
4299
  : undefined,
4300
4300
  datasetExportJobArn: smithy_client_1.expectString(output.datasetExportJobArn),
4301
4301
  failureReason: smithy_client_1.expectString(output.failureReason),
4302
4302
  jobName: smithy_client_1.expectString(output.jobName),
4303
4303
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4304
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4304
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4305
4305
  : undefined,
4306
4306
  status: smithy_client_1.expectString(output.status),
4307
4307
  };
@@ -4309,13 +4309,13 @@ const deserializeAws_json1_1DatasetExportJobSummary = (output, context) => {
4309
4309
  const deserializeAws_json1_1DatasetGroup = (output, context) => {
4310
4310
  return {
4311
4311
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4312
- ? new Date(Math.round(output.creationDateTime * 1000))
4312
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4313
4313
  : undefined,
4314
4314
  datasetGroupArn: smithy_client_1.expectString(output.datasetGroupArn),
4315
4315
  failureReason: smithy_client_1.expectString(output.failureReason),
4316
4316
  kmsKeyArn: smithy_client_1.expectString(output.kmsKeyArn),
4317
4317
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4318
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4318
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4319
4319
  : undefined,
4320
4320
  name: smithy_client_1.expectString(output.name),
4321
4321
  roleArn: smithy_client_1.expectString(output.roleArn),
@@ -4335,12 +4335,12 @@ const deserializeAws_json1_1DatasetGroups = (output, context) => {
4335
4335
  const deserializeAws_json1_1DatasetGroupSummary = (output, context) => {
4336
4336
  return {
4337
4337
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4338
- ? new Date(Math.round(output.creationDateTime * 1000))
4338
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4339
4339
  : undefined,
4340
4340
  datasetGroupArn: smithy_client_1.expectString(output.datasetGroupArn),
4341
4341
  failureReason: smithy_client_1.expectString(output.failureReason),
4342
4342
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4343
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4343
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4344
4344
  : undefined,
4345
4345
  name: smithy_client_1.expectString(output.name),
4346
4346
  status: smithy_client_1.expectString(output.status),
@@ -4349,7 +4349,7 @@ const deserializeAws_json1_1DatasetGroupSummary = (output, context) => {
4349
4349
  const deserializeAws_json1_1DatasetImportJob = (output, context) => {
4350
4350
  return {
4351
4351
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4352
- ? new Date(Math.round(output.creationDateTime * 1000))
4352
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4353
4353
  : undefined,
4354
4354
  dataSource: output.dataSource !== undefined && output.dataSource !== null
4355
4355
  ? deserializeAws_json1_1DataSource(output.dataSource, context)
@@ -4359,7 +4359,7 @@ const deserializeAws_json1_1DatasetImportJob = (output, context) => {
4359
4359
  failureReason: smithy_client_1.expectString(output.failureReason),
4360
4360
  jobName: smithy_client_1.expectString(output.jobName),
4361
4361
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4362
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4362
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4363
4363
  : undefined,
4364
4364
  roleArn: smithy_client_1.expectString(output.roleArn),
4365
4365
  status: smithy_client_1.expectString(output.status),
@@ -4378,13 +4378,13 @@ const deserializeAws_json1_1DatasetImportJobs = (output, context) => {
4378
4378
  const deserializeAws_json1_1DatasetImportJobSummary = (output, context) => {
4379
4379
  return {
4380
4380
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4381
- ? new Date(Math.round(output.creationDateTime * 1000))
4381
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4382
4382
  : undefined,
4383
4383
  datasetImportJobArn: smithy_client_1.expectString(output.datasetImportJobArn),
4384
4384
  failureReason: smithy_client_1.expectString(output.failureReason),
4385
4385
  jobName: smithy_client_1.expectString(output.jobName),
4386
4386
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4387
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4387
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4388
4388
  : undefined,
4389
4389
  status: smithy_client_1.expectString(output.status),
4390
4390
  };
@@ -4402,10 +4402,10 @@ const deserializeAws_json1_1Datasets = (output, context) => {
4402
4402
  const deserializeAws_json1_1DatasetSchema = (output, context) => {
4403
4403
  return {
4404
4404
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4405
- ? new Date(Math.round(output.creationDateTime * 1000))
4405
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4406
4406
  : undefined,
4407
4407
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4408
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4408
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4409
4409
  : undefined,
4410
4410
  name: smithy_client_1.expectString(output.name),
4411
4411
  schema: smithy_client_1.expectString(output.schema),
@@ -4415,10 +4415,10 @@ const deserializeAws_json1_1DatasetSchema = (output, context) => {
4415
4415
  const deserializeAws_json1_1DatasetSchemaSummary = (output, context) => {
4416
4416
  return {
4417
4417
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4418
- ? new Date(Math.round(output.creationDateTime * 1000))
4418
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4419
4419
  : undefined,
4420
4420
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4421
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4421
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4422
4422
  : undefined,
4423
4423
  name: smithy_client_1.expectString(output.name),
4424
4424
  schemaArn: smithy_client_1.expectString(output.schemaArn),
@@ -4427,12 +4427,12 @@ const deserializeAws_json1_1DatasetSchemaSummary = (output, context) => {
4427
4427
  const deserializeAws_json1_1DatasetSummary = (output, context) => {
4428
4428
  return {
4429
4429
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4430
- ? new Date(Math.round(output.creationDateTime * 1000))
4430
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4431
4431
  : undefined,
4432
4432
  datasetArn: smithy_client_1.expectString(output.datasetArn),
4433
4433
  datasetType: smithy_client_1.expectString(output.datasetType),
4434
4434
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4435
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4435
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4436
4436
  : undefined,
4437
4437
  name: smithy_client_1.expectString(output.name),
4438
4438
  status: smithy_client_1.expectString(output.status),
@@ -4465,8 +4465,8 @@ const deserializeAws_json1_1DefaultCategoricalHyperParameterRanges = (output, co
4465
4465
  const deserializeAws_json1_1DefaultContinuousHyperParameterRange = (output, context) => {
4466
4466
  return {
4467
4467
  isTunable: smithy_client_1.expectBoolean(output.isTunable),
4468
- maxValue: smithy_client_1.limitedParseFloat(output.maxValue),
4469
- minValue: smithy_client_1.limitedParseFloat(output.minValue),
4468
+ maxValue: smithy_client_1.limitedParseDouble(output.maxValue),
4469
+ minValue: smithy_client_1.limitedParseDouble(output.minValue),
4470
4470
  name: smithy_client_1.expectString(output.name),
4471
4471
  };
4472
4472
  };
@@ -4496,8 +4496,8 @@ const deserializeAws_json1_1DefaultHyperParameterRanges = (output, context) => {
4496
4496
  const deserializeAws_json1_1DefaultIntegerHyperParameterRange = (output, context) => {
4497
4497
  return {
4498
4498
  isTunable: smithy_client_1.expectBoolean(output.isTunable),
4499
- maxValue: smithy_client_1.expectInt(output.maxValue),
4500
- minValue: smithy_client_1.expectInt(output.minValue),
4499
+ maxValue: smithy_client_1.expectInt32(output.maxValue),
4500
+ minValue: smithy_client_1.expectInt32(output.minValue),
4501
4501
  name: smithy_client_1.expectString(output.name),
4502
4502
  };
4503
4503
  };
@@ -4613,12 +4613,12 @@ const deserializeAws_json1_1EventTracker = (output, context) => {
4613
4613
  return {
4614
4614
  accountId: smithy_client_1.expectString(output.accountId),
4615
4615
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4616
- ? new Date(Math.round(output.creationDateTime * 1000))
4616
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4617
4617
  : undefined,
4618
4618
  datasetGroupArn: smithy_client_1.expectString(output.datasetGroupArn),
4619
4619
  eventTrackerArn: smithy_client_1.expectString(output.eventTrackerArn),
4620
4620
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4621
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4621
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4622
4622
  : undefined,
4623
4623
  name: smithy_client_1.expectString(output.name),
4624
4624
  status: smithy_client_1.expectString(output.status),
@@ -4638,11 +4638,11 @@ const deserializeAws_json1_1EventTrackers = (output, context) => {
4638
4638
  const deserializeAws_json1_1EventTrackerSummary = (output, context) => {
4639
4639
  return {
4640
4640
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4641
- ? new Date(Math.round(output.creationDateTime * 1000))
4641
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4642
4642
  : undefined,
4643
4643
  eventTrackerArn: smithy_client_1.expectString(output.eventTrackerArn),
4644
4644
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4645
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4645
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4646
4646
  : undefined,
4647
4647
  name: smithy_client_1.expectString(output.name),
4648
4648
  status: smithy_client_1.expectString(output.status),
@@ -4651,14 +4651,14 @@ const deserializeAws_json1_1EventTrackerSummary = (output, context) => {
4651
4651
  const deserializeAws_json1_1FeatureTransformation = (output, context) => {
4652
4652
  return {
4653
4653
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4654
- ? new Date(Math.round(output.creationDateTime * 1000))
4654
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4655
4655
  : undefined,
4656
4656
  defaultParameters: output.defaultParameters !== undefined && output.defaultParameters !== null
4657
4657
  ? deserializeAws_json1_1FeaturizationParameters(output.defaultParameters, context)
4658
4658
  : undefined,
4659
4659
  featureTransformationArn: smithy_client_1.expectString(output.featureTransformationArn),
4660
4660
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4661
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4661
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4662
4662
  : undefined,
4663
4663
  name: smithy_client_1.expectString(output.name),
4664
4664
  status: smithy_client_1.expectString(output.status),
@@ -4689,14 +4689,14 @@ const deserializeAws_json1_1FeaturizationParameters = (output, context) => {
4689
4689
  const deserializeAws_json1_1Filter = (output, context) => {
4690
4690
  return {
4691
4691
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4692
- ? new Date(Math.round(output.creationDateTime * 1000))
4692
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4693
4693
  : undefined,
4694
4694
  datasetGroupArn: smithy_client_1.expectString(output.datasetGroupArn),
4695
4695
  failureReason: smithy_client_1.expectString(output.failureReason),
4696
4696
  filterArn: smithy_client_1.expectString(output.filterArn),
4697
4697
  filterExpression: smithy_client_1.expectString(output.filterExpression),
4698
4698
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4699
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4699
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4700
4700
  : undefined,
4701
4701
  name: smithy_client_1.expectString(output.name),
4702
4702
  status: smithy_client_1.expectString(output.status),
@@ -4715,13 +4715,13 @@ const deserializeAws_json1_1Filters = (output, context) => {
4715
4715
  const deserializeAws_json1_1FilterSummary = (output, context) => {
4716
4716
  return {
4717
4717
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4718
- ? new Date(Math.round(output.creationDateTime * 1000))
4718
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4719
4719
  : undefined,
4720
4720
  datasetGroupArn: smithy_client_1.expectString(output.datasetGroupArn),
4721
4721
  failureReason: smithy_client_1.expectString(output.failureReason),
4722
4722
  filterArn: smithy_client_1.expectString(output.filterArn),
4723
4723
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4724
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4724
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4725
4725
  : undefined,
4726
4726
  name: smithy_client_1.expectString(output.name),
4727
4727
  status: smithy_client_1.expectString(output.status),
@@ -4787,8 +4787,8 @@ const deserializeAws_json1_1HyperParameters = (output, context) => {
4787
4787
  };
4788
4788
  const deserializeAws_json1_1IntegerHyperParameterRange = (output, context) => {
4789
4789
  return {
4790
- maxValue: smithy_client_1.expectInt(output.maxValue),
4791
- minValue: smithy_client_1.expectInt(output.minValue),
4790
+ maxValue: smithy_client_1.expectInt32(output.maxValue),
4791
+ minValue: smithy_client_1.expectInt32(output.minValue),
4792
4792
  name: smithy_client_1.expectString(output.name),
4793
4793
  };
4794
4794
  };
@@ -4920,7 +4920,7 @@ const deserializeAws_json1_1Metrics = (output, context) => {
4920
4920
  }
4921
4921
  return {
4922
4922
  ...acc,
4923
- [key]: smithy_client_1.limitedParseFloat(value),
4923
+ [key]: smithy_client_1.limitedParseDouble(value),
4924
4924
  };
4925
4925
  }, {});
4926
4926
  };
@@ -4934,12 +4934,12 @@ const deserializeAws_json1_1Recipe = (output, context) => {
4934
4934
  return {
4935
4935
  algorithmArn: smithy_client_1.expectString(output.algorithmArn),
4936
4936
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4937
- ? new Date(Math.round(output.creationDateTime * 1000))
4937
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4938
4938
  : undefined,
4939
4939
  description: smithy_client_1.expectString(output.description),
4940
4940
  featureTransformationArn: smithy_client_1.expectString(output.featureTransformationArn),
4941
4941
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4942
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4942
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4943
4943
  : undefined,
4944
4944
  name: smithy_client_1.expectString(output.name),
4945
4945
  recipeArn: smithy_client_1.expectString(output.recipeArn),
@@ -4960,10 +4960,10 @@ const deserializeAws_json1_1Recipes = (output, context) => {
4960
4960
  const deserializeAws_json1_1RecipeSummary = (output, context) => {
4961
4961
  return {
4962
4962
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4963
- ? new Date(Math.round(output.creationDateTime * 1000))
4963
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
4964
4964
  : undefined,
4965
4965
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4966
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
4966
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
4967
4967
  : undefined,
4968
4968
  name: smithy_client_1.expectString(output.name),
4969
4969
  recipeArn: smithy_client_1.expectString(output.recipeArn),
@@ -5018,12 +5018,12 @@ const deserializeAws_json1_1Solution = (output, context) => {
5018
5018
  ? deserializeAws_json1_1AutoMLResult(output.autoMLResult, context)
5019
5019
  : undefined,
5020
5020
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5021
- ? new Date(Math.round(output.creationDateTime * 1000))
5021
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
5022
5022
  : undefined,
5023
5023
  datasetGroupArn: smithy_client_1.expectString(output.datasetGroupArn),
5024
5024
  eventType: smithy_client_1.expectString(output.eventType),
5025
5025
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5026
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5026
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
5027
5027
  : undefined,
5028
5028
  latestSolutionVersion: output.latestSolutionVersion !== undefined && output.latestSolutionVersion !== null
5029
5029
  ? deserializeAws_json1_1SolutionVersionSummary(output.latestSolutionVersion, context)
@@ -5072,10 +5072,10 @@ const deserializeAws_json1_1Solutions = (output, context) => {
5072
5072
  const deserializeAws_json1_1SolutionSummary = (output, context) => {
5073
5073
  return {
5074
5074
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5075
- ? new Date(Math.round(output.creationDateTime * 1000))
5075
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
5076
5076
  : undefined,
5077
5077
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5078
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5078
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
5079
5079
  : undefined,
5080
5080
  name: smithy_client_1.expectString(output.name),
5081
5081
  solutionArn: smithy_client_1.expectString(output.solutionArn),
@@ -5085,13 +5085,13 @@ const deserializeAws_json1_1SolutionSummary = (output, context) => {
5085
5085
  const deserializeAws_json1_1SolutionVersion = (output, context) => {
5086
5086
  return {
5087
5087
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5088
- ? new Date(Math.round(output.creationDateTime * 1000))
5088
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
5089
5089
  : undefined,
5090
5090
  datasetGroupArn: smithy_client_1.expectString(output.datasetGroupArn),
5091
5091
  eventType: smithy_client_1.expectString(output.eventType),
5092
5092
  failureReason: smithy_client_1.expectString(output.failureReason),
5093
5093
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5094
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5094
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
5095
5095
  : undefined,
5096
5096
  performAutoML: smithy_client_1.expectBoolean(output.performAutoML),
5097
5097
  performHPO: smithy_client_1.expectBoolean(output.performHPO),
@@ -5102,7 +5102,7 @@ const deserializeAws_json1_1SolutionVersion = (output, context) => {
5102
5102
  : undefined,
5103
5103
  solutionVersionArn: smithy_client_1.expectString(output.solutionVersionArn),
5104
5104
  status: smithy_client_1.expectString(output.status),
5105
- trainingHours: smithy_client_1.limitedParseFloat(output.trainingHours),
5105
+ trainingHours: smithy_client_1.limitedParseDouble(output.trainingHours),
5106
5106
  trainingMode: smithy_client_1.expectString(output.trainingMode),
5107
5107
  tunedHPOParams: output.tunedHPOParams !== undefined && output.tunedHPOParams !== null
5108
5108
  ? deserializeAws_json1_1TunedHPOParams(output.tunedHPOParams, context)
@@ -5122,11 +5122,11 @@ const deserializeAws_json1_1SolutionVersions = (output, context) => {
5122
5122
  const deserializeAws_json1_1SolutionVersionSummary = (output, context) => {
5123
5123
  return {
5124
5124
  creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5125
- ? new Date(Math.round(output.creationDateTime * 1000))
5125
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
5126
5126
  : undefined,
5127
5127
  failureReason: smithy_client_1.expectString(output.failureReason),
5128
5128
  lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5129
- ? new Date(Math.round(output.lastUpdatedDateTime * 1000))
5129
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
5130
5130
  : undefined,
5131
5131
  solutionVersionArn: smithy_client_1.expectString(output.solutionVersionArn),
5132
5132
  status: smithy_client_1.expectString(output.status),