@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/package.json CHANGED
@@ -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"
@@ -282,7 +282,12 @@ import {
282
282
  ValidationException,
283
283
  } from "../models/models_0";
284
284
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
285
- import { expectString as __expectString } from "@aws-sdk/smithy-client";
285
+ import {
286
+ expectNonNull as __expectNonNull,
287
+ expectNumber as __expectNumber,
288
+ expectString as __expectString,
289
+ parseEpochTimestamp as __parseEpochTimestamp,
290
+ } from "@aws-sdk/smithy-client";
286
291
  import {
287
292
  Endpoint as __Endpoint,
288
293
  HeaderBag as __HeaderBag,
@@ -6414,7 +6419,7 @@ const deserializeAws_json1_0Environment = (output: any, context: __SerdeContext)
6414
6419
  arn: __expectString(output.arn),
6415
6420
  createdAt:
6416
6421
  output.createdAt !== undefined && output.createdAt !== null
6417
- ? new Date(Math.round(output.createdAt * 1000))
6422
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
6418
6423
  : undefined,
6419
6424
  deploymentStatus: __expectString(output.deploymentStatus),
6420
6425
  deploymentStatusMessage: __expectString(output.deploymentStatusMessage),
@@ -6423,11 +6428,11 @@ const deserializeAws_json1_0Environment = (output: any, context: __SerdeContext)
6423
6428
  environmentAccountId: __expectString(output.environmentAccountId),
6424
6429
  lastDeploymentAttemptedAt:
6425
6430
  output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
6426
- ? new Date(Math.round(output.lastDeploymentAttemptedAt * 1000))
6431
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentAttemptedAt)))
6427
6432
  : undefined,
6428
6433
  lastDeploymentSucceededAt:
6429
6434
  output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
6430
- ? new Date(Math.round(output.lastDeploymentSucceededAt * 1000))
6435
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentSucceededAt)))
6431
6436
  : undefined,
6432
6437
  name: __expectString(output.name),
6433
6438
  protonServiceRoleArn: __expectString(output.protonServiceRoleArn),
@@ -6450,12 +6455,12 @@ const deserializeAws_json1_0EnvironmentAccountConnection = (
6450
6455
  id: __expectString(output.id),
6451
6456
  lastModifiedAt:
6452
6457
  output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
6453
- ? new Date(Math.round(output.lastModifiedAt * 1000))
6458
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
6454
6459
  : undefined,
6455
6460
  managementAccountId: __expectString(output.managementAccountId),
6456
6461
  requestedAt:
6457
6462
  output.requestedAt !== undefined && output.requestedAt !== null
6458
- ? new Date(Math.round(output.requestedAt * 1000))
6463
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.requestedAt)))
6459
6464
  : undefined,
6460
6465
  roleArn: __expectString(output.roleArn),
6461
6466
  status: __expectString(output.status),
@@ -6473,12 +6478,12 @@ const deserializeAws_json1_0EnvironmentAccountConnectionSummary = (
6473
6478
  id: __expectString(output.id),
6474
6479
  lastModifiedAt:
6475
6480
  output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
6476
- ? new Date(Math.round(output.lastModifiedAt * 1000))
6481
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
6477
6482
  : undefined,
6478
6483
  managementAccountId: __expectString(output.managementAccountId),
6479
6484
  requestedAt:
6480
6485
  output.requestedAt !== undefined && output.requestedAt !== null
6481
- ? new Date(Math.round(output.requestedAt * 1000))
6486
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.requestedAt)))
6482
6487
  : undefined,
6483
6488
  roleArn: __expectString(output.roleArn),
6484
6489
  status: __expectString(output.status),
@@ -6504,7 +6509,7 @@ const deserializeAws_json1_0EnvironmentSummary = (output: any, context: __SerdeC
6504
6509
  arn: __expectString(output.arn),
6505
6510
  createdAt:
6506
6511
  output.createdAt !== undefined && output.createdAt !== null
6507
- ? new Date(Math.round(output.createdAt * 1000))
6512
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
6508
6513
  : undefined,
6509
6514
  deploymentStatus: __expectString(output.deploymentStatus),
6510
6515
  deploymentStatusMessage: __expectString(output.deploymentStatusMessage),
@@ -6513,11 +6518,11 @@ const deserializeAws_json1_0EnvironmentSummary = (output: any, context: __SerdeC
6513
6518
  environmentAccountId: __expectString(output.environmentAccountId),
6514
6519
  lastDeploymentAttemptedAt:
6515
6520
  output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
6516
- ? new Date(Math.round(output.lastDeploymentAttemptedAt * 1000))
6521
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentAttemptedAt)))
6517
6522
  : undefined,
6518
6523
  lastDeploymentSucceededAt:
6519
6524
  output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
6520
- ? new Date(Math.round(output.lastDeploymentSucceededAt * 1000))
6525
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentSucceededAt)))
6521
6526
  : undefined,
6522
6527
  name: __expectString(output.name),
6523
6528
  protonServiceRoleArn: __expectString(output.protonServiceRoleArn),
@@ -6544,14 +6549,14 @@ const deserializeAws_json1_0EnvironmentTemplate = (output: any, context: __Serde
6544
6549
  arn: __expectString(output.arn),
6545
6550
  createdAt:
6546
6551
  output.createdAt !== undefined && output.createdAt !== null
6547
- ? new Date(Math.round(output.createdAt * 1000))
6552
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
6548
6553
  : undefined,
6549
6554
  description: __expectString(output.description),
6550
6555
  displayName: __expectString(output.displayName),
6551
6556
  encryptionKey: __expectString(output.encryptionKey),
6552
6557
  lastModifiedAt:
6553
6558
  output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
6554
- ? new Date(Math.round(output.lastModifiedAt * 1000))
6559
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
6555
6560
  : undefined,
6556
6561
  name: __expectString(output.name),
6557
6562
  provisioning: __expectString(output.provisioning),
@@ -6567,13 +6572,13 @@ const deserializeAws_json1_0EnvironmentTemplateSummary = (
6567
6572
  arn: __expectString(output.arn),
6568
6573
  createdAt:
6569
6574
  output.createdAt !== undefined && output.createdAt !== null
6570
- ? new Date(Math.round(output.createdAt * 1000))
6575
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
6571
6576
  : undefined,
6572
6577
  description: __expectString(output.description),
6573
6578
  displayName: __expectString(output.displayName),
6574
6579
  lastModifiedAt:
6575
6580
  output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
6576
- ? new Date(Math.round(output.lastModifiedAt * 1000))
6581
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
6577
6582
  : undefined,
6578
6583
  name: __expectString(output.name),
6579
6584
  provisioning: __expectString(output.provisioning),
@@ -6603,12 +6608,12 @@ const deserializeAws_json1_0EnvironmentTemplateVersion = (
6603
6608
  arn: __expectString(output.arn),
6604
6609
  createdAt:
6605
6610
  output.createdAt !== undefined && output.createdAt !== null
6606
- ? new Date(Math.round(output.createdAt * 1000))
6611
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
6607
6612
  : undefined,
6608
6613
  description: __expectString(output.description),
6609
6614
  lastModifiedAt:
6610
6615
  output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
6611
- ? new Date(Math.round(output.lastModifiedAt * 1000))
6616
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
6612
6617
  : undefined,
6613
6618
  majorVersion: __expectString(output.majorVersion),
6614
6619
  minorVersion: __expectString(output.minorVersion),
@@ -6628,12 +6633,12 @@ const deserializeAws_json1_0EnvironmentTemplateVersionSummary = (
6628
6633
  arn: __expectString(output.arn),
6629
6634
  createdAt:
6630
6635
  output.createdAt !== undefined && output.createdAt !== null
6631
- ? new Date(Math.round(output.createdAt * 1000))
6636
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
6632
6637
  : undefined,
6633
6638
  description: __expectString(output.description),
6634
6639
  lastModifiedAt:
6635
6640
  output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
6636
- ? new Date(Math.round(output.lastModifiedAt * 1000))
6641
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
6637
6642
  : undefined,
6638
6643
  majorVersion: __expectString(output.majorVersion),
6639
6644
  minorVersion: __expectString(output.minorVersion),
@@ -6907,12 +6912,12 @@ const deserializeAws_json1_0Service = (output: any, context: __SerdeContext): Se
6907
6912
  branchName: __expectString(output.branchName),
6908
6913
  createdAt:
6909
6914
  output.createdAt !== undefined && output.createdAt !== null
6910
- ? new Date(Math.round(output.createdAt * 1000))
6915
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
6911
6916
  : undefined,
6912
6917
  description: __expectString(output.description),
6913
6918
  lastModifiedAt:
6914
6919
  output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
6915
- ? new Date(Math.round(output.lastModifiedAt * 1000))
6920
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
6916
6921
  : undefined,
6917
6922
  name: __expectString(output.name),
6918
6923
  pipeline:
@@ -6933,18 +6938,18 @@ const deserializeAws_json1_0ServiceInstance = (output: any, context: __SerdeCont
6933
6938
  arn: __expectString(output.arn),
6934
6939
  createdAt:
6935
6940
  output.createdAt !== undefined && output.createdAt !== null
6936
- ? new Date(Math.round(output.createdAt * 1000))
6941
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
6937
6942
  : undefined,
6938
6943
  deploymentStatus: __expectString(output.deploymentStatus),
6939
6944
  deploymentStatusMessage: __expectString(output.deploymentStatusMessage),
6940
6945
  environmentName: __expectString(output.environmentName),
6941
6946
  lastDeploymentAttemptedAt:
6942
6947
  output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
6943
- ? new Date(Math.round(output.lastDeploymentAttemptedAt * 1000))
6948
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentAttemptedAt)))
6944
6949
  : undefined,
6945
6950
  lastDeploymentSucceededAt:
6946
6951
  output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
6947
- ? new Date(Math.round(output.lastDeploymentSucceededAt * 1000))
6952
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentSucceededAt)))
6948
6953
  : undefined,
6949
6954
  name: __expectString(output.name),
6950
6955
  serviceName: __expectString(output.serviceName),
@@ -6960,18 +6965,18 @@ const deserializeAws_json1_0ServiceInstanceSummary = (output: any, context: __Se
6960
6965
  arn: __expectString(output.arn),
6961
6966
  createdAt:
6962
6967
  output.createdAt !== undefined && output.createdAt !== null
6963
- ? new Date(Math.round(output.createdAt * 1000))
6968
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
6964
6969
  : undefined,
6965
6970
  deploymentStatus: __expectString(output.deploymentStatus),
6966
6971
  deploymentStatusMessage: __expectString(output.deploymentStatusMessage),
6967
6972
  environmentName: __expectString(output.environmentName),
6968
6973
  lastDeploymentAttemptedAt:
6969
6974
  output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
6970
- ? new Date(Math.round(output.lastDeploymentAttemptedAt * 1000))
6975
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentAttemptedAt)))
6971
6976
  : undefined,
6972
6977
  lastDeploymentSucceededAt:
6973
6978
  output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
6974
- ? new Date(Math.round(output.lastDeploymentSucceededAt * 1000))
6979
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentSucceededAt)))
6975
6980
  : undefined,
6976
6981
  name: __expectString(output.name),
6977
6982
  serviceName: __expectString(output.serviceName),
@@ -7000,17 +7005,17 @@ const deserializeAws_json1_0ServicePipeline = (output: any, context: __SerdeCont
7000
7005
  arn: __expectString(output.arn),
7001
7006
  createdAt:
7002
7007
  output.createdAt !== undefined && output.createdAt !== null
7003
- ? new Date(Math.round(output.createdAt * 1000))
7008
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
7004
7009
  : undefined,
7005
7010
  deploymentStatus: __expectString(output.deploymentStatus),
7006
7011
  deploymentStatusMessage: __expectString(output.deploymentStatusMessage),
7007
7012
  lastDeploymentAttemptedAt:
7008
7013
  output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
7009
- ? new Date(Math.round(output.lastDeploymentAttemptedAt * 1000))
7014
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentAttemptedAt)))
7010
7015
  : undefined,
7011
7016
  lastDeploymentSucceededAt:
7012
7017
  output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
7013
- ? new Date(Math.round(output.lastDeploymentSucceededAt * 1000))
7018
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentSucceededAt)))
7014
7019
  : undefined,
7015
7020
  spec: __expectString(output.spec),
7016
7021
  templateMajorVersion: __expectString(output.templateMajorVersion),
@@ -7033,12 +7038,12 @@ const deserializeAws_json1_0ServiceSummary = (output: any, context: __SerdeConte
7033
7038
  arn: __expectString(output.arn),
7034
7039
  createdAt:
7035
7040
  output.createdAt !== undefined && output.createdAt !== null
7036
- ? new Date(Math.round(output.createdAt * 1000))
7041
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
7037
7042
  : undefined,
7038
7043
  description: __expectString(output.description),
7039
7044
  lastModifiedAt:
7040
7045
  output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
7041
- ? new Date(Math.round(output.lastModifiedAt * 1000))
7046
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
7042
7047
  : undefined,
7043
7048
  name: __expectString(output.name),
7044
7049
  status: __expectString(output.status),
@@ -7063,14 +7068,14 @@ const deserializeAws_json1_0ServiceTemplate = (output: any, context: __SerdeCont
7063
7068
  arn: __expectString(output.arn),
7064
7069
  createdAt:
7065
7070
  output.createdAt !== undefined && output.createdAt !== null
7066
- ? new Date(Math.round(output.createdAt * 1000))
7071
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
7067
7072
  : undefined,
7068
7073
  description: __expectString(output.description),
7069
7074
  displayName: __expectString(output.displayName),
7070
7075
  encryptionKey: __expectString(output.encryptionKey),
7071
7076
  lastModifiedAt:
7072
7077
  output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
7073
- ? new Date(Math.round(output.lastModifiedAt * 1000))
7078
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
7074
7079
  : undefined,
7075
7080
  name: __expectString(output.name),
7076
7081
  pipelineProvisioning: __expectString(output.pipelineProvisioning),
@@ -7083,13 +7088,13 @@ const deserializeAws_json1_0ServiceTemplateSummary = (output: any, context: __Se
7083
7088
  arn: __expectString(output.arn),
7084
7089
  createdAt:
7085
7090
  output.createdAt !== undefined && output.createdAt !== null
7086
- ? new Date(Math.round(output.createdAt * 1000))
7091
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
7087
7092
  : undefined,
7088
7093
  description: __expectString(output.description),
7089
7094
  displayName: __expectString(output.displayName),
7090
7095
  lastModifiedAt:
7091
7096
  output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
7092
- ? new Date(Math.round(output.lastModifiedAt * 1000))
7097
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
7093
7098
  : undefined,
7094
7099
  name: __expectString(output.name),
7095
7100
  pipelineProvisioning: __expectString(output.pipelineProvisioning),
@@ -7120,12 +7125,12 @@ const deserializeAws_json1_0ServiceTemplateVersion = (output: any, context: __Se
7120
7125
  : undefined,
7121
7126
  createdAt:
7122
7127
  output.createdAt !== undefined && output.createdAt !== null
7123
- ? new Date(Math.round(output.createdAt * 1000))
7128
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
7124
7129
  : undefined,
7125
7130
  description: __expectString(output.description),
7126
7131
  lastModifiedAt:
7127
7132
  output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
7128
- ? new Date(Math.round(output.lastModifiedAt * 1000))
7133
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
7129
7134
  : undefined,
7130
7135
  majorVersion: __expectString(output.majorVersion),
7131
7136
  minorVersion: __expectString(output.minorVersion),
@@ -7145,12 +7150,12 @@ const deserializeAws_json1_0ServiceTemplateVersionSummary = (
7145
7150
  arn: __expectString(output.arn),
7146
7151
  createdAt:
7147
7152
  output.createdAt !== undefined && output.createdAt !== null
7148
- ? new Date(Math.round(output.createdAt * 1000))
7153
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
7149
7154
  : undefined,
7150
7155
  description: __expectString(output.description),
7151
7156
  lastModifiedAt:
7152
7157
  output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
7153
- ? new Date(Math.round(output.lastModifiedAt * 1000))
7158
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
7154
7159
  : undefined,
7155
7160
  majorVersion: __expectString(output.majorVersion),
7156
7161
  minorVersion: __expectString(output.minorVersion),