@aws-sdk/client-codedeploy 3.29.0 → 3.33.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.
Files changed (132) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/cjs/CodeDeployClient.js +13 -13
  3. package/dist/cjs/CodeDeployClient.js.map +1 -1
  4. package/dist/cjs/commands/AddTagsToOnPremisesInstancesCommand.js +3 -3
  5. package/dist/cjs/commands/AddTagsToOnPremisesInstancesCommand.js.map +1 -1
  6. package/dist/cjs/commands/BatchGetApplicationRevisionsCommand.js +3 -3
  7. package/dist/cjs/commands/BatchGetApplicationRevisionsCommand.js.map +1 -1
  8. package/dist/cjs/commands/BatchGetApplicationsCommand.js +3 -3
  9. package/dist/cjs/commands/BatchGetApplicationsCommand.js.map +1 -1
  10. package/dist/cjs/commands/BatchGetDeploymentGroupsCommand.js +3 -3
  11. package/dist/cjs/commands/BatchGetDeploymentGroupsCommand.js.map +1 -1
  12. package/dist/cjs/commands/BatchGetDeploymentInstancesCommand.js +3 -3
  13. package/dist/cjs/commands/BatchGetDeploymentInstancesCommand.js.map +1 -1
  14. package/dist/cjs/commands/BatchGetDeploymentTargetsCommand.js +3 -3
  15. package/dist/cjs/commands/BatchGetDeploymentTargetsCommand.js.map +1 -1
  16. package/dist/cjs/commands/BatchGetDeploymentsCommand.js +3 -3
  17. package/dist/cjs/commands/BatchGetDeploymentsCommand.js.map +1 -1
  18. package/dist/cjs/commands/BatchGetOnPremisesInstancesCommand.js +3 -3
  19. package/dist/cjs/commands/BatchGetOnPremisesInstancesCommand.js.map +1 -1
  20. package/dist/cjs/commands/ContinueDeploymentCommand.js +3 -3
  21. package/dist/cjs/commands/ContinueDeploymentCommand.js.map +1 -1
  22. package/dist/cjs/commands/CreateApplicationCommand.js +3 -3
  23. package/dist/cjs/commands/CreateApplicationCommand.js.map +1 -1
  24. package/dist/cjs/commands/CreateDeploymentCommand.js +3 -3
  25. package/dist/cjs/commands/CreateDeploymentCommand.js.map +1 -1
  26. package/dist/cjs/commands/CreateDeploymentConfigCommand.js +3 -3
  27. package/dist/cjs/commands/CreateDeploymentConfigCommand.js.map +1 -1
  28. package/dist/cjs/commands/CreateDeploymentGroupCommand.js +3 -3
  29. package/dist/cjs/commands/CreateDeploymentGroupCommand.js.map +1 -1
  30. package/dist/cjs/commands/DeleteApplicationCommand.js +3 -3
  31. package/dist/cjs/commands/DeleteApplicationCommand.js.map +1 -1
  32. package/dist/cjs/commands/DeleteDeploymentConfigCommand.js +3 -3
  33. package/dist/cjs/commands/DeleteDeploymentConfigCommand.js.map +1 -1
  34. package/dist/cjs/commands/DeleteDeploymentGroupCommand.js +3 -3
  35. package/dist/cjs/commands/DeleteDeploymentGroupCommand.js.map +1 -1
  36. package/dist/cjs/commands/DeleteGitHubAccountTokenCommand.js +3 -3
  37. package/dist/cjs/commands/DeleteGitHubAccountTokenCommand.js.map +1 -1
  38. package/dist/cjs/commands/DeleteResourcesByExternalIdCommand.js +3 -3
  39. package/dist/cjs/commands/DeleteResourcesByExternalIdCommand.js.map +1 -1
  40. package/dist/cjs/commands/DeregisterOnPremisesInstanceCommand.js +3 -3
  41. package/dist/cjs/commands/DeregisterOnPremisesInstanceCommand.js.map +1 -1
  42. package/dist/cjs/commands/GetApplicationCommand.js +3 -3
  43. package/dist/cjs/commands/GetApplicationCommand.js.map +1 -1
  44. package/dist/cjs/commands/GetApplicationRevisionCommand.js +3 -3
  45. package/dist/cjs/commands/GetApplicationRevisionCommand.js.map +1 -1
  46. package/dist/cjs/commands/GetDeploymentCommand.js +3 -3
  47. package/dist/cjs/commands/GetDeploymentCommand.js.map +1 -1
  48. package/dist/cjs/commands/GetDeploymentConfigCommand.js +3 -3
  49. package/dist/cjs/commands/GetDeploymentConfigCommand.js.map +1 -1
  50. package/dist/cjs/commands/GetDeploymentGroupCommand.js +3 -3
  51. package/dist/cjs/commands/GetDeploymentGroupCommand.js.map +1 -1
  52. package/dist/cjs/commands/GetDeploymentInstanceCommand.js +3 -3
  53. package/dist/cjs/commands/GetDeploymentInstanceCommand.js.map +1 -1
  54. package/dist/cjs/commands/GetDeploymentTargetCommand.js +3 -3
  55. package/dist/cjs/commands/GetDeploymentTargetCommand.js.map +1 -1
  56. package/dist/cjs/commands/GetOnPremisesInstanceCommand.js +3 -3
  57. package/dist/cjs/commands/GetOnPremisesInstanceCommand.js.map +1 -1
  58. package/dist/cjs/commands/ListApplicationRevisionsCommand.js +3 -3
  59. package/dist/cjs/commands/ListApplicationRevisionsCommand.js.map +1 -1
  60. package/dist/cjs/commands/ListApplicationsCommand.js +3 -3
  61. package/dist/cjs/commands/ListApplicationsCommand.js.map +1 -1
  62. package/dist/cjs/commands/ListDeploymentConfigsCommand.js +3 -3
  63. package/dist/cjs/commands/ListDeploymentConfigsCommand.js.map +1 -1
  64. package/dist/cjs/commands/ListDeploymentGroupsCommand.js +3 -3
  65. package/dist/cjs/commands/ListDeploymentGroupsCommand.js.map +1 -1
  66. package/dist/cjs/commands/ListDeploymentInstancesCommand.js +3 -3
  67. package/dist/cjs/commands/ListDeploymentInstancesCommand.js.map +1 -1
  68. package/dist/cjs/commands/ListDeploymentTargetsCommand.js +3 -3
  69. package/dist/cjs/commands/ListDeploymentTargetsCommand.js.map +1 -1
  70. package/dist/cjs/commands/ListDeploymentsCommand.js +3 -3
  71. package/dist/cjs/commands/ListDeploymentsCommand.js.map +1 -1
  72. package/dist/cjs/commands/ListGitHubAccountTokenNamesCommand.js +3 -3
  73. package/dist/cjs/commands/ListGitHubAccountTokenNamesCommand.js.map +1 -1
  74. package/dist/cjs/commands/ListOnPremisesInstancesCommand.js +3 -3
  75. package/dist/cjs/commands/ListOnPremisesInstancesCommand.js.map +1 -1
  76. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  77. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  78. package/dist/cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +3 -3
  79. package/dist/cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js.map +1 -1
  80. package/dist/cjs/commands/RegisterApplicationRevisionCommand.js +3 -3
  81. package/dist/cjs/commands/RegisterApplicationRevisionCommand.js.map +1 -1
  82. package/dist/cjs/commands/RegisterOnPremisesInstanceCommand.js +3 -3
  83. package/dist/cjs/commands/RegisterOnPremisesInstanceCommand.js.map +1 -1
  84. package/dist/cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js +3 -3
  85. package/dist/cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js.map +1 -1
  86. package/dist/cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js +3 -3
  87. package/dist/cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js.map +1 -1
  88. package/dist/cjs/commands/StopDeploymentCommand.js +3 -3
  89. package/dist/cjs/commands/StopDeploymentCommand.js.map +1 -1
  90. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  91. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  92. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  93. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  94. package/dist/cjs/commands/UpdateApplicationCommand.js +3 -3
  95. package/dist/cjs/commands/UpdateApplicationCommand.js.map +1 -1
  96. package/dist/cjs/commands/UpdateDeploymentGroupCommand.js +3 -3
  97. package/dist/cjs/commands/UpdateDeploymentGroupCommand.js.map +1 -1
  98. package/dist/cjs/endpoints.js +1 -1
  99. package/dist/cjs/endpoints.js.map +1 -1
  100. package/dist/cjs/index.js +58 -58
  101. package/dist/cjs/index.js.map +1 -1
  102. package/dist/cjs/models/index.js +1 -1
  103. package/dist/cjs/models/index.js.map +1 -1
  104. package/dist/cjs/package.json +32 -32
  105. package/dist/cjs/protocols/Aws_json1_1.js +304 -300
  106. package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
  107. package/dist/cjs/runtimeConfig.browser.js +4 -4
  108. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  109. package/dist/cjs/runtimeConfig.js +8 -8
  110. package/dist/cjs/runtimeConfig.js.map +1 -1
  111. package/dist/cjs/runtimeConfig.native.js +1 -1
  112. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  113. package/dist/cjs/waiters/waitForDeploymentSuccessful.js +3 -3
  114. package/dist/cjs/waiters/waitForDeploymentSuccessful.js.map +1 -1
  115. package/dist/es/package.json +32 -32
  116. package/dist/es/pagination/ListApplicationRevisionsPaginator.js +4 -4
  117. package/dist/es/pagination/ListApplicationRevisionsPaginator.js.map +1 -1
  118. package/dist/es/pagination/ListApplicationsPaginator.js +4 -4
  119. package/dist/es/pagination/ListApplicationsPaginator.js.map +1 -1
  120. package/dist/es/pagination/ListDeploymentConfigsPaginator.js +4 -4
  121. package/dist/es/pagination/ListDeploymentConfigsPaginator.js.map +1 -1
  122. package/dist/es/pagination/ListDeploymentGroupsPaginator.js +4 -4
  123. package/dist/es/pagination/ListDeploymentGroupsPaginator.js.map +1 -1
  124. package/dist/es/pagination/ListDeploymentInstancesPaginator.js +4 -4
  125. package/dist/es/pagination/ListDeploymentInstancesPaginator.js.map +1 -1
  126. package/dist/es/pagination/ListDeploymentsPaginator.js +4 -4
  127. package/dist/es/pagination/ListDeploymentsPaginator.js.map +1 -1
  128. package/dist/es/protocols/Aws_json1_1.js +24 -20
  129. package/dist/es/protocols/Aws_json1_1.js.map +1 -1
  130. package/package.json +32 -32
  131. package/protocols/Aws_json1_1.ts +26 -19
  132. package/tsconfig.json +1 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codedeploy",
3
3
  "description": "AWS SDK for JavaScript Codedeploy Client for Node.js, Browser and React Native",
4
- "version": "3.29.0",
4
+ "version": "3.33.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,46 +27,46 @@
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.29.0",
31
- "@aws-sdk/config-resolver": "3.29.0",
32
- "@aws-sdk/credential-provider-node": "3.29.0",
33
- "@aws-sdk/fetch-http-handler": "3.29.0",
34
- "@aws-sdk/hash-node": "3.29.0",
35
- "@aws-sdk/invalid-dependency": "3.29.0",
36
- "@aws-sdk/middleware-content-length": "3.29.0",
37
- "@aws-sdk/middleware-host-header": "3.29.0",
38
- "@aws-sdk/middleware-logger": "3.29.0",
39
- "@aws-sdk/middleware-retry": "3.29.0",
40
- "@aws-sdk/middleware-serde": "3.29.0",
41
- "@aws-sdk/middleware-signing": "3.29.0",
42
- "@aws-sdk/middleware-stack": "3.29.0",
43
- "@aws-sdk/middleware-user-agent": "3.29.0",
44
- "@aws-sdk/node-config-provider": "3.29.0",
45
- "@aws-sdk/node-http-handler": "3.29.0",
46
- "@aws-sdk/protocol-http": "3.29.0",
47
- "@aws-sdk/smithy-client": "3.29.0",
48
- "@aws-sdk/types": "3.29.0",
49
- "@aws-sdk/url-parser": "3.29.0",
50
- "@aws-sdk/util-base64-browser": "3.29.0",
51
- "@aws-sdk/util-base64-node": "3.29.0",
52
- "@aws-sdk/util-body-length-browser": "3.29.0",
53
- "@aws-sdk/util-body-length-node": "3.29.0",
54
- "@aws-sdk/util-user-agent-browser": "3.29.0",
55
- "@aws-sdk/util-user-agent-node": "3.29.0",
56
- "@aws-sdk/util-utf8-browser": "3.29.0",
57
- "@aws-sdk/util-utf8-node": "3.29.0",
58
- "@aws-sdk/util-waiter": "3.29.0",
30
+ "@aws-sdk/client-sts": "3.33.0",
31
+ "@aws-sdk/config-resolver": "3.33.0",
32
+ "@aws-sdk/credential-provider-node": "3.33.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.33.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.33.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
  },
61
61
  "devDependencies": {
62
- "@aws-sdk/client-documentation-generator": "3.29.0",
62
+ "@aws-sdk/client-documentation-generator": "3.32.0",
63
63
  "@types/node": "^12.7.5",
64
64
  "downlevel-dts": "0.7.0",
65
65
  "jest": "^26.1.0",
66
66
  "rimraf": "^3.0.0",
67
67
  "ts-jest": "^26.4.1",
68
68
  "typedoc": "^0.19.2",
69
- "typescript": "~4.4.2"
69
+ "typescript": "~4.3.5"
70
70
  },
71
71
  "engines": {
72
72
  "node": ">=10.0.0"
@@ -407,8 +407,11 @@ import {
407
407
  expectBoolean as __expectBoolean,
408
408
  expectInt32 as __expectInt32,
409
409
  expectLong as __expectLong,
410
+ expectNonNull as __expectNonNull,
411
+ expectNumber as __expectNumber,
410
412
  expectString as __expectString,
411
413
  limitedParseDouble as __limitedParseDouble,
414
+ parseEpochTimestamp as __parseEpochTimestamp,
412
415
  } from "@aws-sdk/smithy-client";
413
416
  import {
414
417
  Endpoint as __Endpoint,
@@ -8807,7 +8810,7 @@ const deserializeAws_json1_1ApplicationInfo = (output: any, context: __SerdeCont
8807
8810
  computePlatform: __expectString(output.computePlatform),
8808
8811
  createTime:
8809
8812
  output.createTime !== undefined && output.createTime !== null
8810
- ? new Date(Math.round(output.createTime * 1000))
8813
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime)))
8811
8814
  : undefined,
8812
8815
  gitHubAccountName: __expectString(output.gitHubAccountName),
8813
8816
  linkedToGitHub: __expectBoolean(output.linkedToGitHub),
@@ -9068,7 +9071,7 @@ const deserializeAws_json1_1CloudFormationTarget = (output: any, context: __Serd
9068
9071
  deploymentId: __expectString(output.deploymentId),
9069
9072
  lastUpdatedAt:
9070
9073
  output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
9071
- ? new Date(Math.round(output.lastUpdatedAt * 1000))
9074
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
9072
9075
  : undefined,
9073
9076
  lifecycleEvents:
9074
9077
  output.lifecycleEvents !== undefined && output.lifecycleEvents !== null
@@ -9174,7 +9177,7 @@ const deserializeAws_json1_1DeploymentConfigInfo = (output: any, context: __Serd
9174
9177
  computePlatform: __expectString(output.computePlatform),
9175
9178
  createTime:
9176
9179
  output.createTime !== undefined && output.createTime !== null
9177
- ? new Date(Math.round(output.createTime * 1000))
9180
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime)))
9178
9181
  : undefined,
9179
9182
  deploymentConfigId: __expectString(output.deploymentConfigId),
9180
9183
  deploymentConfigName: __expectString(output.deploymentConfigName),
@@ -9389,12 +9392,12 @@ const deserializeAws_json1_1DeploymentInfo = (output: any, context: __SerdeConte
9389
9392
  : undefined,
9390
9393
  completeTime:
9391
9394
  output.completeTime !== undefined && output.completeTime !== null
9392
- ? new Date(Math.round(output.completeTime * 1000))
9395
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.completeTime)))
9393
9396
  : undefined,
9394
9397
  computePlatform: __expectString(output.computePlatform),
9395
9398
  createTime:
9396
9399
  output.createTime !== undefined && output.createTime !== null
9397
- ? new Date(Math.round(output.createTime * 1000))
9400
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime)))
9398
9401
  : undefined,
9399
9402
  creator: __expectString(output.creator),
9400
9403
  deploymentConfigName: __expectString(output.deploymentConfigName),
@@ -9443,7 +9446,7 @@ const deserializeAws_json1_1DeploymentInfo = (output: any, context: __SerdeConte
9443
9446
  : undefined,
9444
9447
  startTime:
9445
9448
  output.startTime !== undefined && output.startTime !== null
9446
- ? new Date(Math.round(output.startTime * 1000))
9449
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
9447
9450
  : undefined,
9448
9451
  status: __expectString(output.status),
9449
9452
  targetInstances:
@@ -9688,7 +9691,7 @@ const deserializeAws_json1_1ECSTarget = (output: any, context: __SerdeContext):
9688
9691
  deploymentId: __expectString(output.deploymentId),
9689
9692
  lastUpdatedAt:
9690
9693
  output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
9691
- ? new Date(Math.round(output.lastUpdatedAt * 1000))
9694
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
9692
9695
  : undefined,
9693
9696
  lifecycleEvents:
9694
9697
  output.lifecycleEvents !== undefined && output.lifecycleEvents !== null
@@ -9764,15 +9767,15 @@ const deserializeAws_json1_1GenericRevisionInfo = (output: any, context: __Serde
9764
9767
  description: __expectString(output.description),
9765
9768
  firstUsedTime:
9766
9769
  output.firstUsedTime !== undefined && output.firstUsedTime !== null
9767
- ? new Date(Math.round(output.firstUsedTime * 1000))
9770
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.firstUsedTime)))
9768
9771
  : undefined,
9769
9772
  lastUsedTime:
9770
9773
  output.lastUsedTime !== undefined && output.lastUsedTime !== null
9771
- ? new Date(Math.round(output.lastUsedTime * 1000))
9774
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUsedTime)))
9772
9775
  : undefined,
9773
9776
  registerTime:
9774
9777
  output.registerTime !== undefined && output.registerTime !== null
9775
- ? new Date(Math.round(output.registerTime * 1000))
9778
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.registerTime)))
9776
9779
  : undefined,
9777
9780
  } as any;
9778
9781
  };
@@ -9975,7 +9978,7 @@ const deserializeAws_json1_1InstanceInfo = (output: any, context: __SerdeContext
9975
9978
  return {
9976
9979
  deregisterTime:
9977
9980
  output.deregisterTime !== undefined && output.deregisterTime !== null
9978
- ? new Date(Math.round(output.deregisterTime * 1000))
9981
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.deregisterTime)))
9979
9982
  : undefined,
9980
9983
  iamSessionArn: __expectString(output.iamSessionArn),
9981
9984
  iamUserArn: __expectString(output.iamUserArn),
@@ -9983,7 +9986,7 @@ const deserializeAws_json1_1InstanceInfo = (output: any, context: __SerdeContext
9983
9986
  instanceName: __expectString(output.instanceName),
9984
9987
  registerTime:
9985
9988
  output.registerTime !== undefined && output.registerTime !== null
9986
- ? new Date(Math.round(output.registerTime * 1000))
9989
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.registerTime)))
9987
9990
  : undefined,
9988
9991
  tags:
9989
9992
  output.tags !== undefined && output.tags !== null
@@ -10068,7 +10071,7 @@ const deserializeAws_json1_1InstanceSummary = (output: any, context: __SerdeCont
10068
10071
  instanceType: __expectString(output.instanceType),
10069
10072
  lastUpdatedAt:
10070
10073
  output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
10071
- ? new Date(Math.round(output.lastUpdatedAt * 1000))
10074
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
10072
10075
  : undefined,
10073
10076
  lifecycleEvents:
10074
10077
  output.lifecycleEvents !== undefined && output.lifecycleEvents !== null
@@ -10095,7 +10098,7 @@ const deserializeAws_json1_1InstanceTarget = (output: any, context: __SerdeConte
10095
10098
  instanceLabel: __expectString(output.instanceLabel),
10096
10099
  lastUpdatedAt:
10097
10100
  output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
10098
- ? new Date(Math.round(output.lastUpdatedAt * 1000))
10101
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
10099
10102
  : undefined,
10100
10103
  lifecycleEvents:
10101
10104
  output.lifecycleEvents !== undefined && output.lifecycleEvents !== null
@@ -10594,7 +10597,7 @@ const deserializeAws_json1_1LambdaTarget = (output: any, context: __SerdeContext
10594
10597
  : undefined,
10595
10598
  lastUpdatedAt:
10596
10599
  output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
10597
- ? new Date(Math.round(output.lastUpdatedAt * 1000))
10600
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
10598
10601
  : undefined,
10599
10602
  lifecycleEvents:
10600
10603
  output.lifecycleEvents !== undefined && output.lifecycleEvents !== null
@@ -10610,11 +10613,13 @@ const deserializeAws_json1_1LastDeploymentInfo = (output: any, context: __SerdeC
10610
10613
  return {
10611
10614
  createTime:
10612
10615
  output.createTime !== undefined && output.createTime !== null
10613
- ? new Date(Math.round(output.createTime * 1000))
10616
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime)))
10614
10617
  : undefined,
10615
10618
  deploymentId: __expectString(output.deploymentId),
10616
10619
  endTime:
10617
- output.endTime !== undefined && output.endTime !== null ? new Date(Math.round(output.endTime * 1000)) : undefined,
10620
+ output.endTime !== undefined && output.endTime !== null
10621
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime)))
10622
+ : undefined,
10618
10623
  status: __expectString(output.status),
10619
10624
  } as any;
10620
10625
  };
@@ -10626,11 +10631,13 @@ const deserializeAws_json1_1LifecycleEvent = (output: any, context: __SerdeConte
10626
10631
  ? deserializeAws_json1_1Diagnostics(output.diagnostics, context)
10627
10632
  : undefined,
10628
10633
  endTime:
10629
- output.endTime !== undefined && output.endTime !== null ? new Date(Math.round(output.endTime * 1000)) : undefined,
10634
+ output.endTime !== undefined && output.endTime !== null
10635
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime)))
10636
+ : undefined,
10630
10637
  lifecycleEventName: __expectString(output.lifecycleEventName),
10631
10638
  startTime:
10632
10639
  output.startTime !== undefined && output.startTime !== null
10633
- ? new Date(Math.round(output.startTime * 1000))
10640
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
10634
10641
  : undefined,
10635
10642
  status: __expectString(output.status),
10636
10643
  } as any;
package/tsconfig.json CHANGED
@@ -13,8 +13,7 @@
13
13
  "resolveJsonModule": true,
14
14
  "esModuleInterop": true,
15
15
  "declarationDir": "./dist/types",
16
- "outDir": "dist/cjs",
17
- "useUnknownInCatchVariables": false
16
+ "outDir": "dist/cjs"
18
17
  },
19
18
  "typedocOptions": {
20
19
  "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],