@aws-sdk/client-proton 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-proton
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-proton
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-proton
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-proton
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-proton",
3
3
  "description": "AWS SDK for JavaScript Proton 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,40 +27,40 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "^1.1.0",
29
29
  "@aws-crypto/sha256-js": "^1.1.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",
58
- "@aws-sdk/util-waiter": "3.25.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
+ "@aws-sdk/util-waiter": "3.32.0",
59
59
  "tslib": "^2.3.0",
60
60
  "uuid": "^8.3.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@aws-sdk/client-documentation-generator": "3.23.0",
63
+ "@aws-sdk/client-documentation-generator": "3.32.0",
64
64
  "@types/node": "^12.7.5",
65
65
  "@types/uuid": "^8.3.0",
66
66
  "downlevel-dts": "0.7.0",
@@ -68,7 +68,7 @@
68
68
  "rimraf": "^3.0.0",
69
69
  "ts-jest": "^26.4.1",
70
70
  "typedoc": "^0.19.2",
71
- "typescript": "~4.3.2"
71
+ "typescript": "~4.3.5"
72
72
  },
73
73
  "engines": {
74
74
  "node": ">=10.0.0"
@@ -5331,7 +5331,7 @@ const deserializeAws_json1_0Environment = (output, context) => {
5331
5331
  return {
5332
5332
  arn: smithy_client_1.expectString(output.arn),
5333
5333
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5334
- ? new Date(Math.round(output.createdAt * 1000))
5334
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5335
5335
  : undefined,
5336
5336
  deploymentStatus: smithy_client_1.expectString(output.deploymentStatus),
5337
5337
  deploymentStatusMessage: smithy_client_1.expectString(output.deploymentStatusMessage),
@@ -5339,10 +5339,10 @@ const deserializeAws_json1_0Environment = (output, context) => {
5339
5339
  environmentAccountConnectionId: smithy_client_1.expectString(output.environmentAccountConnectionId),
5340
5340
  environmentAccountId: smithy_client_1.expectString(output.environmentAccountId),
5341
5341
  lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
5342
- ? new Date(Math.round(output.lastDeploymentAttemptedAt * 1000))
5342
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastDeploymentAttemptedAt)))
5343
5343
  : undefined,
5344
5344
  lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
5345
- ? new Date(Math.round(output.lastDeploymentSucceededAt * 1000))
5345
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastDeploymentSucceededAt)))
5346
5346
  : undefined,
5347
5347
  name: smithy_client_1.expectString(output.name),
5348
5348
  protonServiceRoleArn: smithy_client_1.expectString(output.protonServiceRoleArn),
@@ -5360,11 +5360,11 @@ const deserializeAws_json1_0EnvironmentAccountConnection = (output, context) =>
5360
5360
  environmentName: smithy_client_1.expectString(output.environmentName),
5361
5361
  id: smithy_client_1.expectString(output.id),
5362
5362
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5363
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5363
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModifiedAt)))
5364
5364
  : undefined,
5365
5365
  managementAccountId: smithy_client_1.expectString(output.managementAccountId),
5366
5366
  requestedAt: output.requestedAt !== undefined && output.requestedAt !== null
5367
- ? new Date(Math.round(output.requestedAt * 1000))
5367
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.requestedAt)))
5368
5368
  : undefined,
5369
5369
  roleArn: smithy_client_1.expectString(output.roleArn),
5370
5370
  status: smithy_client_1.expectString(output.status),
@@ -5377,11 +5377,11 @@ const deserializeAws_json1_0EnvironmentAccountConnectionSummary = (output, conte
5377
5377
  environmentName: smithy_client_1.expectString(output.environmentName),
5378
5378
  id: smithy_client_1.expectString(output.id),
5379
5379
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5380
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5380
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModifiedAt)))
5381
5381
  : undefined,
5382
5382
  managementAccountId: smithy_client_1.expectString(output.managementAccountId),
5383
5383
  requestedAt: output.requestedAt !== undefined && output.requestedAt !== null
5384
- ? new Date(Math.round(output.requestedAt * 1000))
5384
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.requestedAt)))
5385
5385
  : undefined,
5386
5386
  roleArn: smithy_client_1.expectString(output.roleArn),
5387
5387
  status: smithy_client_1.expectString(output.status),
@@ -5401,7 +5401,7 @@ const deserializeAws_json1_0EnvironmentSummary = (output, context) => {
5401
5401
  return {
5402
5402
  arn: smithy_client_1.expectString(output.arn),
5403
5403
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5404
- ? new Date(Math.round(output.createdAt * 1000))
5404
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5405
5405
  : undefined,
5406
5406
  deploymentStatus: smithy_client_1.expectString(output.deploymentStatus),
5407
5407
  deploymentStatusMessage: smithy_client_1.expectString(output.deploymentStatusMessage),
@@ -5409,10 +5409,10 @@ const deserializeAws_json1_0EnvironmentSummary = (output, context) => {
5409
5409
  environmentAccountConnectionId: smithy_client_1.expectString(output.environmentAccountConnectionId),
5410
5410
  environmentAccountId: smithy_client_1.expectString(output.environmentAccountId),
5411
5411
  lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
5412
- ? new Date(Math.round(output.lastDeploymentAttemptedAt * 1000))
5412
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastDeploymentAttemptedAt)))
5413
5413
  : undefined,
5414
5414
  lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
5415
- ? new Date(Math.round(output.lastDeploymentSucceededAt * 1000))
5415
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastDeploymentSucceededAt)))
5416
5416
  : undefined,
5417
5417
  name: smithy_client_1.expectString(output.name),
5418
5418
  protonServiceRoleArn: smithy_client_1.expectString(output.protonServiceRoleArn),
@@ -5436,13 +5436,13 @@ const deserializeAws_json1_0EnvironmentTemplate = (output, context) => {
5436
5436
  return {
5437
5437
  arn: smithy_client_1.expectString(output.arn),
5438
5438
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5439
- ? new Date(Math.round(output.createdAt * 1000))
5439
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5440
5440
  : undefined,
5441
5441
  description: smithy_client_1.expectString(output.description),
5442
5442
  displayName: smithy_client_1.expectString(output.displayName),
5443
5443
  encryptionKey: smithy_client_1.expectString(output.encryptionKey),
5444
5444
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5445
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5445
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModifiedAt)))
5446
5446
  : undefined,
5447
5447
  name: smithy_client_1.expectString(output.name),
5448
5448
  provisioning: smithy_client_1.expectString(output.provisioning),
@@ -5453,12 +5453,12 @@ const deserializeAws_json1_0EnvironmentTemplateSummary = (output, context) => {
5453
5453
  return {
5454
5454
  arn: smithy_client_1.expectString(output.arn),
5455
5455
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5456
- ? new Date(Math.round(output.createdAt * 1000))
5456
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5457
5457
  : undefined,
5458
5458
  description: smithy_client_1.expectString(output.description),
5459
5459
  displayName: smithy_client_1.expectString(output.displayName),
5460
5460
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5461
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5461
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModifiedAt)))
5462
5462
  : undefined,
5463
5463
  name: smithy_client_1.expectString(output.name),
5464
5464
  provisioning: smithy_client_1.expectString(output.provisioning),
@@ -5479,11 +5479,11 @@ const deserializeAws_json1_0EnvironmentTemplateVersion = (output, context) => {
5479
5479
  return {
5480
5480
  arn: smithy_client_1.expectString(output.arn),
5481
5481
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5482
- ? new Date(Math.round(output.createdAt * 1000))
5482
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5483
5483
  : undefined,
5484
5484
  description: smithy_client_1.expectString(output.description),
5485
5485
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5486
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5486
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModifiedAt)))
5487
5487
  : undefined,
5488
5488
  majorVersion: smithy_client_1.expectString(output.majorVersion),
5489
5489
  minorVersion: smithy_client_1.expectString(output.minorVersion),
@@ -5498,11 +5498,11 @@ const deserializeAws_json1_0EnvironmentTemplateVersionSummary = (output, context
5498
5498
  return {
5499
5499
  arn: smithy_client_1.expectString(output.arn),
5500
5500
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5501
- ? new Date(Math.round(output.createdAt * 1000))
5501
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5502
5502
  : undefined,
5503
5503
  description: smithy_client_1.expectString(output.description),
5504
5504
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5505
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5505
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModifiedAt)))
5506
5506
  : undefined,
5507
5507
  majorVersion: smithy_client_1.expectString(output.majorVersion),
5508
5508
  minorVersion: smithy_client_1.expectString(output.minorVersion),
@@ -5679,11 +5679,11 @@ const deserializeAws_json1_0Service = (output, context) => {
5679
5679
  arn: smithy_client_1.expectString(output.arn),
5680
5680
  branchName: smithy_client_1.expectString(output.branchName),
5681
5681
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5682
- ? new Date(Math.round(output.createdAt * 1000))
5682
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5683
5683
  : undefined,
5684
5684
  description: smithy_client_1.expectString(output.description),
5685
5685
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5686
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5686
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModifiedAt)))
5687
5687
  : undefined,
5688
5688
  name: smithy_client_1.expectString(output.name),
5689
5689
  pipeline: output.pipeline !== undefined && output.pipeline !== null
@@ -5701,16 +5701,16 @@ const deserializeAws_json1_0ServiceInstance = (output, context) => {
5701
5701
  return {
5702
5702
  arn: smithy_client_1.expectString(output.arn),
5703
5703
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5704
- ? new Date(Math.round(output.createdAt * 1000))
5704
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5705
5705
  : undefined,
5706
5706
  deploymentStatus: smithy_client_1.expectString(output.deploymentStatus),
5707
5707
  deploymentStatusMessage: smithy_client_1.expectString(output.deploymentStatusMessage),
5708
5708
  environmentName: smithy_client_1.expectString(output.environmentName),
5709
5709
  lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
5710
- ? new Date(Math.round(output.lastDeploymentAttemptedAt * 1000))
5710
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastDeploymentAttemptedAt)))
5711
5711
  : undefined,
5712
5712
  lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
5713
- ? new Date(Math.round(output.lastDeploymentSucceededAt * 1000))
5713
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastDeploymentSucceededAt)))
5714
5714
  : undefined,
5715
5715
  name: smithy_client_1.expectString(output.name),
5716
5716
  serviceName: smithy_client_1.expectString(output.serviceName),
@@ -5724,16 +5724,16 @@ const deserializeAws_json1_0ServiceInstanceSummary = (output, context) => {
5724
5724
  return {
5725
5725
  arn: smithy_client_1.expectString(output.arn),
5726
5726
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5727
- ? new Date(Math.round(output.createdAt * 1000))
5727
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5728
5728
  : undefined,
5729
5729
  deploymentStatus: smithy_client_1.expectString(output.deploymentStatus),
5730
5730
  deploymentStatusMessage: smithy_client_1.expectString(output.deploymentStatusMessage),
5731
5731
  environmentName: smithy_client_1.expectString(output.environmentName),
5732
5732
  lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
5733
- ? new Date(Math.round(output.lastDeploymentAttemptedAt * 1000))
5733
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastDeploymentAttemptedAt)))
5734
5734
  : undefined,
5735
5735
  lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
5736
- ? new Date(Math.round(output.lastDeploymentSucceededAt * 1000))
5736
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastDeploymentSucceededAt)))
5737
5737
  : undefined,
5738
5738
  name: smithy_client_1.expectString(output.name),
5739
5739
  serviceName: smithy_client_1.expectString(output.serviceName),
@@ -5756,15 +5756,15 @@ const deserializeAws_json1_0ServicePipeline = (output, context) => {
5756
5756
  return {
5757
5757
  arn: smithy_client_1.expectString(output.arn),
5758
5758
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5759
- ? new Date(Math.round(output.createdAt * 1000))
5759
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5760
5760
  : undefined,
5761
5761
  deploymentStatus: smithy_client_1.expectString(output.deploymentStatus),
5762
5762
  deploymentStatusMessage: smithy_client_1.expectString(output.deploymentStatusMessage),
5763
5763
  lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
5764
- ? new Date(Math.round(output.lastDeploymentAttemptedAt * 1000))
5764
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastDeploymentAttemptedAt)))
5765
5765
  : undefined,
5766
5766
  lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
5767
- ? new Date(Math.round(output.lastDeploymentSucceededAt * 1000))
5767
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastDeploymentSucceededAt)))
5768
5768
  : undefined,
5769
5769
  spec: smithy_client_1.expectString(output.spec),
5770
5770
  templateMajorVersion: smithy_client_1.expectString(output.templateMajorVersion),
@@ -5781,11 +5781,11 @@ const deserializeAws_json1_0ServiceSummary = (output, context) => {
5781
5781
  return {
5782
5782
  arn: smithy_client_1.expectString(output.arn),
5783
5783
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5784
- ? new Date(Math.round(output.createdAt * 1000))
5784
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5785
5785
  : undefined,
5786
5786
  description: smithy_client_1.expectString(output.description),
5787
5787
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5788
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5788
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModifiedAt)))
5789
5789
  : undefined,
5790
5790
  name: smithy_client_1.expectString(output.name),
5791
5791
  status: smithy_client_1.expectString(output.status),
@@ -5807,13 +5807,13 @@ const deserializeAws_json1_0ServiceTemplate = (output, context) => {
5807
5807
  return {
5808
5808
  arn: smithy_client_1.expectString(output.arn),
5809
5809
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5810
- ? new Date(Math.round(output.createdAt * 1000))
5810
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5811
5811
  : undefined,
5812
5812
  description: smithy_client_1.expectString(output.description),
5813
5813
  displayName: smithy_client_1.expectString(output.displayName),
5814
5814
  encryptionKey: smithy_client_1.expectString(output.encryptionKey),
5815
5815
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5816
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5816
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModifiedAt)))
5817
5817
  : undefined,
5818
5818
  name: smithy_client_1.expectString(output.name),
5819
5819
  pipelineProvisioning: smithy_client_1.expectString(output.pipelineProvisioning),
@@ -5824,12 +5824,12 @@ const deserializeAws_json1_0ServiceTemplateSummary = (output, context) => {
5824
5824
  return {
5825
5825
  arn: smithy_client_1.expectString(output.arn),
5826
5826
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5827
- ? new Date(Math.round(output.createdAt * 1000))
5827
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5828
5828
  : undefined,
5829
5829
  description: smithy_client_1.expectString(output.description),
5830
5830
  displayName: smithy_client_1.expectString(output.displayName),
5831
5831
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5832
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5832
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModifiedAt)))
5833
5833
  : undefined,
5834
5834
  name: smithy_client_1.expectString(output.name),
5835
5835
  pipelineProvisioning: smithy_client_1.expectString(output.pipelineProvisioning),
@@ -5853,11 +5853,11 @@ const deserializeAws_json1_0ServiceTemplateVersion = (output, context) => {
5853
5853
  ? deserializeAws_json1_0CompatibleEnvironmentTemplateList(output.compatibleEnvironmentTemplates, context)
5854
5854
  : undefined,
5855
5855
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5856
- ? new Date(Math.round(output.createdAt * 1000))
5856
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5857
5857
  : undefined,
5858
5858
  description: smithy_client_1.expectString(output.description),
5859
5859
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5860
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5860
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModifiedAt)))
5861
5861
  : undefined,
5862
5862
  majorVersion: smithy_client_1.expectString(output.majorVersion),
5863
5863
  minorVersion: smithy_client_1.expectString(output.minorVersion),
@@ -5872,11 +5872,11 @@ const deserializeAws_json1_0ServiceTemplateVersionSummary = (output, context) =>
5872
5872
  return {
5873
5873
  arn: smithy_client_1.expectString(output.arn),
5874
5874
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5875
- ? new Date(Math.round(output.createdAt * 1000))
5875
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5876
5876
  : undefined,
5877
5877
  description: smithy_client_1.expectString(output.description),
5878
5878
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5879
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5879
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModifiedAt)))
5880
5880
  : undefined,
5881
5881
  majorVersion: smithy_client_1.expectString(output.majorVersion),
5882
5882
  minorVersion: smithy_client_1.expectString(output.minorVersion),