@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.
@@ -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: "proton", regionHash: regionHash,
51
- partitionHash: partitionHash }))];
50
+ return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "proton", 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,+BAA+B;KAC1C;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,kCAAkC;KAC7C;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,4BAA4B;KACvC;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,+BAA+B;KAC1C;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,+BAA+B;KAC1C;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,QAAQ,EACxB,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,+BAA+B;KAC1C;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,kCAAkC;KAC7C;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,4BAA4B;KACvC;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,+BAA+B;KAC1C;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,+BAA+B;KAC1C;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,QAAQ,EACxB,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
@@ -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"
@@ -1,7 +1,7 @@
1
1
  import { __assign, __awaiter, __generator } from "tslib";
2
2
  import { TemplateVersionSourceInput, } from "../models/models_0";
3
3
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
4
- import { expectString as __expectString } from "@aws-sdk/smithy-client";
4
+ import { expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
5
5
  import { v4 as generateIdempotencyToken } from "uuid";
6
6
  export var serializeAws_json1_0AcceptEnvironmentAccountConnectionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
7
7
  var headers, body;
@@ -5590,7 +5590,7 @@ var deserializeAws_json1_0Environment = function (output, context) {
5590
5590
  return {
5591
5591
  arn: __expectString(output.arn),
5592
5592
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5593
- ? new Date(Math.round(output.createdAt * 1000))
5593
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
5594
5594
  : undefined,
5595
5595
  deploymentStatus: __expectString(output.deploymentStatus),
5596
5596
  deploymentStatusMessage: __expectString(output.deploymentStatusMessage),
@@ -5598,10 +5598,10 @@ var deserializeAws_json1_0Environment = function (output, context) {
5598
5598
  environmentAccountConnectionId: __expectString(output.environmentAccountConnectionId),
5599
5599
  environmentAccountId: __expectString(output.environmentAccountId),
5600
5600
  lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
5601
- ? new Date(Math.round(output.lastDeploymentAttemptedAt * 1000))
5601
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentAttemptedAt)))
5602
5602
  : undefined,
5603
5603
  lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
5604
- ? new Date(Math.round(output.lastDeploymentSucceededAt * 1000))
5604
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentSucceededAt)))
5605
5605
  : undefined,
5606
5606
  name: __expectString(output.name),
5607
5607
  protonServiceRoleArn: __expectString(output.protonServiceRoleArn),
@@ -5619,11 +5619,11 @@ var deserializeAws_json1_0EnvironmentAccountConnection = function (output, conte
5619
5619
  environmentName: __expectString(output.environmentName),
5620
5620
  id: __expectString(output.id),
5621
5621
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5622
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5622
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
5623
5623
  : undefined,
5624
5624
  managementAccountId: __expectString(output.managementAccountId),
5625
5625
  requestedAt: output.requestedAt !== undefined && output.requestedAt !== null
5626
- ? new Date(Math.round(output.requestedAt * 1000))
5626
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.requestedAt)))
5627
5627
  : undefined,
5628
5628
  roleArn: __expectString(output.roleArn),
5629
5629
  status: __expectString(output.status),
@@ -5636,11 +5636,11 @@ var deserializeAws_json1_0EnvironmentAccountConnectionSummary = function (output
5636
5636
  environmentName: __expectString(output.environmentName),
5637
5637
  id: __expectString(output.id),
5638
5638
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5639
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5639
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
5640
5640
  : undefined,
5641
5641
  managementAccountId: __expectString(output.managementAccountId),
5642
5642
  requestedAt: output.requestedAt !== undefined && output.requestedAt !== null
5643
- ? new Date(Math.round(output.requestedAt * 1000))
5643
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.requestedAt)))
5644
5644
  : undefined,
5645
5645
  roleArn: __expectString(output.roleArn),
5646
5646
  status: __expectString(output.status),
@@ -5660,7 +5660,7 @@ var deserializeAws_json1_0EnvironmentSummary = function (output, context) {
5660
5660
  return {
5661
5661
  arn: __expectString(output.arn),
5662
5662
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5663
- ? new Date(Math.round(output.createdAt * 1000))
5663
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
5664
5664
  : undefined,
5665
5665
  deploymentStatus: __expectString(output.deploymentStatus),
5666
5666
  deploymentStatusMessage: __expectString(output.deploymentStatusMessage),
@@ -5668,10 +5668,10 @@ var deserializeAws_json1_0EnvironmentSummary = function (output, context) {
5668
5668
  environmentAccountConnectionId: __expectString(output.environmentAccountConnectionId),
5669
5669
  environmentAccountId: __expectString(output.environmentAccountId),
5670
5670
  lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
5671
- ? new Date(Math.round(output.lastDeploymentAttemptedAt * 1000))
5671
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentAttemptedAt)))
5672
5672
  : undefined,
5673
5673
  lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
5674
- ? new Date(Math.round(output.lastDeploymentSucceededAt * 1000))
5674
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentSucceededAt)))
5675
5675
  : undefined,
5676
5676
  name: __expectString(output.name),
5677
5677
  protonServiceRoleArn: __expectString(output.protonServiceRoleArn),
@@ -5695,13 +5695,13 @@ var deserializeAws_json1_0EnvironmentTemplate = function (output, context) {
5695
5695
  return {
5696
5696
  arn: __expectString(output.arn),
5697
5697
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5698
- ? new Date(Math.round(output.createdAt * 1000))
5698
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
5699
5699
  : undefined,
5700
5700
  description: __expectString(output.description),
5701
5701
  displayName: __expectString(output.displayName),
5702
5702
  encryptionKey: __expectString(output.encryptionKey),
5703
5703
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5704
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5704
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
5705
5705
  : undefined,
5706
5706
  name: __expectString(output.name),
5707
5707
  provisioning: __expectString(output.provisioning),
@@ -5712,12 +5712,12 @@ var deserializeAws_json1_0EnvironmentTemplateSummary = function (output, context
5712
5712
  return {
5713
5713
  arn: __expectString(output.arn),
5714
5714
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5715
- ? new Date(Math.round(output.createdAt * 1000))
5715
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
5716
5716
  : undefined,
5717
5717
  description: __expectString(output.description),
5718
5718
  displayName: __expectString(output.displayName),
5719
5719
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5720
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5720
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
5721
5721
  : undefined,
5722
5722
  name: __expectString(output.name),
5723
5723
  provisioning: __expectString(output.provisioning),
@@ -5738,11 +5738,11 @@ var deserializeAws_json1_0EnvironmentTemplateVersion = function (output, context
5738
5738
  return {
5739
5739
  arn: __expectString(output.arn),
5740
5740
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5741
- ? new Date(Math.round(output.createdAt * 1000))
5741
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
5742
5742
  : undefined,
5743
5743
  description: __expectString(output.description),
5744
5744
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5745
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5745
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
5746
5746
  : undefined,
5747
5747
  majorVersion: __expectString(output.majorVersion),
5748
5748
  minorVersion: __expectString(output.minorVersion),
@@ -5757,11 +5757,11 @@ var deserializeAws_json1_0EnvironmentTemplateVersionSummary = function (output,
5757
5757
  return {
5758
5758
  arn: __expectString(output.arn),
5759
5759
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5760
- ? new Date(Math.round(output.createdAt * 1000))
5760
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
5761
5761
  : undefined,
5762
5762
  description: __expectString(output.description),
5763
5763
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5764
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5764
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
5765
5765
  : undefined,
5766
5766
  majorVersion: __expectString(output.majorVersion),
5767
5767
  minorVersion: __expectString(output.minorVersion),
@@ -5938,11 +5938,11 @@ var deserializeAws_json1_0Service = function (output, context) {
5938
5938
  arn: __expectString(output.arn),
5939
5939
  branchName: __expectString(output.branchName),
5940
5940
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5941
- ? new Date(Math.round(output.createdAt * 1000))
5941
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
5942
5942
  : undefined,
5943
5943
  description: __expectString(output.description),
5944
5944
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
5945
- ? new Date(Math.round(output.lastModifiedAt * 1000))
5945
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
5946
5946
  : undefined,
5947
5947
  name: __expectString(output.name),
5948
5948
  pipeline: output.pipeline !== undefined && output.pipeline !== null
@@ -5960,16 +5960,16 @@ var deserializeAws_json1_0ServiceInstance = function (output, context) {
5960
5960
  return {
5961
5961
  arn: __expectString(output.arn),
5962
5962
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5963
- ? new Date(Math.round(output.createdAt * 1000))
5963
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
5964
5964
  : undefined,
5965
5965
  deploymentStatus: __expectString(output.deploymentStatus),
5966
5966
  deploymentStatusMessage: __expectString(output.deploymentStatusMessage),
5967
5967
  environmentName: __expectString(output.environmentName),
5968
5968
  lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
5969
- ? new Date(Math.round(output.lastDeploymentAttemptedAt * 1000))
5969
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentAttemptedAt)))
5970
5970
  : undefined,
5971
5971
  lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
5972
- ? new Date(Math.round(output.lastDeploymentSucceededAt * 1000))
5972
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentSucceededAt)))
5973
5973
  : undefined,
5974
5974
  name: __expectString(output.name),
5975
5975
  serviceName: __expectString(output.serviceName),
@@ -5983,16 +5983,16 @@ var deserializeAws_json1_0ServiceInstanceSummary = function (output, context) {
5983
5983
  return {
5984
5984
  arn: __expectString(output.arn),
5985
5985
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5986
- ? new Date(Math.round(output.createdAt * 1000))
5986
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
5987
5987
  : undefined,
5988
5988
  deploymentStatus: __expectString(output.deploymentStatus),
5989
5989
  deploymentStatusMessage: __expectString(output.deploymentStatusMessage),
5990
5990
  environmentName: __expectString(output.environmentName),
5991
5991
  lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
5992
- ? new Date(Math.round(output.lastDeploymentAttemptedAt * 1000))
5992
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentAttemptedAt)))
5993
5993
  : undefined,
5994
5994
  lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
5995
- ? new Date(Math.round(output.lastDeploymentSucceededAt * 1000))
5995
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentSucceededAt)))
5996
5996
  : undefined,
5997
5997
  name: __expectString(output.name),
5998
5998
  serviceName: __expectString(output.serviceName),
@@ -6015,15 +6015,15 @@ var deserializeAws_json1_0ServicePipeline = function (output, context) {
6015
6015
  return {
6016
6016
  arn: __expectString(output.arn),
6017
6017
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6018
- ? new Date(Math.round(output.createdAt * 1000))
6018
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
6019
6019
  : undefined,
6020
6020
  deploymentStatus: __expectString(output.deploymentStatus),
6021
6021
  deploymentStatusMessage: __expectString(output.deploymentStatusMessage),
6022
6022
  lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
6023
- ? new Date(Math.round(output.lastDeploymentAttemptedAt * 1000))
6023
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentAttemptedAt)))
6024
6024
  : undefined,
6025
6025
  lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
6026
- ? new Date(Math.round(output.lastDeploymentSucceededAt * 1000))
6026
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentSucceededAt)))
6027
6027
  : undefined,
6028
6028
  spec: __expectString(output.spec),
6029
6029
  templateMajorVersion: __expectString(output.templateMajorVersion),
@@ -6040,11 +6040,11 @@ var deserializeAws_json1_0ServiceSummary = function (output, context) {
6040
6040
  return {
6041
6041
  arn: __expectString(output.arn),
6042
6042
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6043
- ? new Date(Math.round(output.createdAt * 1000))
6043
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
6044
6044
  : undefined,
6045
6045
  description: __expectString(output.description),
6046
6046
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
6047
- ? new Date(Math.round(output.lastModifiedAt * 1000))
6047
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
6048
6048
  : undefined,
6049
6049
  name: __expectString(output.name),
6050
6050
  status: __expectString(output.status),
@@ -6066,13 +6066,13 @@ var deserializeAws_json1_0ServiceTemplate = function (output, context) {
6066
6066
  return {
6067
6067
  arn: __expectString(output.arn),
6068
6068
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6069
- ? new Date(Math.round(output.createdAt * 1000))
6069
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
6070
6070
  : undefined,
6071
6071
  description: __expectString(output.description),
6072
6072
  displayName: __expectString(output.displayName),
6073
6073
  encryptionKey: __expectString(output.encryptionKey),
6074
6074
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
6075
- ? new Date(Math.round(output.lastModifiedAt * 1000))
6075
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
6076
6076
  : undefined,
6077
6077
  name: __expectString(output.name),
6078
6078
  pipelineProvisioning: __expectString(output.pipelineProvisioning),
@@ -6083,12 +6083,12 @@ var deserializeAws_json1_0ServiceTemplateSummary = function (output, context) {
6083
6083
  return {
6084
6084
  arn: __expectString(output.arn),
6085
6085
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6086
- ? new Date(Math.round(output.createdAt * 1000))
6086
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
6087
6087
  : undefined,
6088
6088
  description: __expectString(output.description),
6089
6089
  displayName: __expectString(output.displayName),
6090
6090
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
6091
- ? new Date(Math.round(output.lastModifiedAt * 1000))
6091
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
6092
6092
  : undefined,
6093
6093
  name: __expectString(output.name),
6094
6094
  pipelineProvisioning: __expectString(output.pipelineProvisioning),
@@ -6112,11 +6112,11 @@ var deserializeAws_json1_0ServiceTemplateVersion = function (output, context) {
6112
6112
  ? deserializeAws_json1_0CompatibleEnvironmentTemplateList(output.compatibleEnvironmentTemplates, context)
6113
6113
  : undefined,
6114
6114
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6115
- ? new Date(Math.round(output.createdAt * 1000))
6115
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
6116
6116
  : undefined,
6117
6117
  description: __expectString(output.description),
6118
6118
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
6119
- ? new Date(Math.round(output.lastModifiedAt * 1000))
6119
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
6120
6120
  : undefined,
6121
6121
  majorVersion: __expectString(output.majorVersion),
6122
6122
  minorVersion: __expectString(output.minorVersion),
@@ -6131,11 +6131,11 @@ var deserializeAws_json1_0ServiceTemplateVersionSummary = function (output, cont
6131
6131
  return {
6132
6132
  arn: __expectString(output.arn),
6133
6133
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6134
- ? new Date(Math.round(output.createdAt * 1000))
6134
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
6135
6135
  : undefined,
6136
6136
  description: __expectString(output.description),
6137
6137
  lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
6138
- ? new Date(Math.round(output.lastModifiedAt * 1000))
6138
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
6139
6139
  : undefined,
6140
6140
  majorVersion: __expectString(output.majorVersion),
6141
6141
  minorVersion: __expectString(output.minorVersion),