@aws-sdk/client-codepipeline 3.30.0 → 3.34.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 (216) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/cjs/CodePipelineClient.js +13 -13
  3. package/dist/cjs/CodePipelineClient.js.map +1 -1
  4. package/dist/cjs/commands/AcknowledgeJobCommand.js +3 -3
  5. package/dist/cjs/commands/AcknowledgeJobCommand.js.map +1 -1
  6. package/dist/cjs/commands/AcknowledgeThirdPartyJobCommand.js +3 -3
  7. package/dist/cjs/commands/AcknowledgeThirdPartyJobCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateCustomActionTypeCommand.js +3 -3
  9. package/dist/cjs/commands/CreateCustomActionTypeCommand.js.map +1 -1
  10. package/dist/cjs/commands/CreatePipelineCommand.js +3 -3
  11. package/dist/cjs/commands/CreatePipelineCommand.js.map +1 -1
  12. package/dist/cjs/commands/DeleteCustomActionTypeCommand.js +3 -3
  13. package/dist/cjs/commands/DeleteCustomActionTypeCommand.js.map +1 -1
  14. package/dist/cjs/commands/DeletePipelineCommand.js +3 -3
  15. package/dist/cjs/commands/DeletePipelineCommand.js.map +1 -1
  16. package/dist/cjs/commands/DeleteWebhookCommand.js +3 -3
  17. package/dist/cjs/commands/DeleteWebhookCommand.js.map +1 -1
  18. package/dist/cjs/commands/DeregisterWebhookWithThirdPartyCommand.js +3 -3
  19. package/dist/cjs/commands/DeregisterWebhookWithThirdPartyCommand.js.map +1 -1
  20. package/dist/cjs/commands/DisableStageTransitionCommand.js +3 -3
  21. package/dist/cjs/commands/DisableStageTransitionCommand.js.map +1 -1
  22. package/dist/cjs/commands/EnableStageTransitionCommand.js +3 -3
  23. package/dist/cjs/commands/EnableStageTransitionCommand.js.map +1 -1
  24. package/dist/cjs/commands/GetActionTypeCommand.js +3 -3
  25. package/dist/cjs/commands/GetActionTypeCommand.js.map +1 -1
  26. package/dist/cjs/commands/GetJobDetailsCommand.js +3 -3
  27. package/dist/cjs/commands/GetJobDetailsCommand.js.map +1 -1
  28. package/dist/cjs/commands/GetPipelineCommand.js +3 -3
  29. package/dist/cjs/commands/GetPipelineCommand.js.map +1 -1
  30. package/dist/cjs/commands/GetPipelineExecutionCommand.js +3 -3
  31. package/dist/cjs/commands/GetPipelineExecutionCommand.js.map +1 -1
  32. package/dist/cjs/commands/GetPipelineStateCommand.js +3 -3
  33. package/dist/cjs/commands/GetPipelineStateCommand.js.map +1 -1
  34. package/dist/cjs/commands/GetThirdPartyJobDetailsCommand.js +3 -3
  35. package/dist/cjs/commands/GetThirdPartyJobDetailsCommand.js.map +1 -1
  36. package/dist/cjs/commands/ListActionExecutionsCommand.js +3 -3
  37. package/dist/cjs/commands/ListActionExecutionsCommand.js.map +1 -1
  38. package/dist/cjs/commands/ListActionTypesCommand.js +3 -3
  39. package/dist/cjs/commands/ListActionTypesCommand.js.map +1 -1
  40. package/dist/cjs/commands/ListPipelineExecutionsCommand.js +3 -3
  41. package/dist/cjs/commands/ListPipelineExecutionsCommand.js.map +1 -1
  42. package/dist/cjs/commands/ListPipelinesCommand.js +3 -3
  43. package/dist/cjs/commands/ListPipelinesCommand.js.map +1 -1
  44. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  45. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  46. package/dist/cjs/commands/ListWebhooksCommand.js +3 -3
  47. package/dist/cjs/commands/ListWebhooksCommand.js.map +1 -1
  48. package/dist/cjs/commands/PollForJobsCommand.js +3 -3
  49. package/dist/cjs/commands/PollForJobsCommand.js.map +1 -1
  50. package/dist/cjs/commands/PollForThirdPartyJobsCommand.js +3 -3
  51. package/dist/cjs/commands/PollForThirdPartyJobsCommand.js.map +1 -1
  52. package/dist/cjs/commands/PutActionRevisionCommand.js +3 -3
  53. package/dist/cjs/commands/PutActionRevisionCommand.js.map +1 -1
  54. package/dist/cjs/commands/PutApprovalResultCommand.js +3 -3
  55. package/dist/cjs/commands/PutApprovalResultCommand.js.map +1 -1
  56. package/dist/cjs/commands/PutJobFailureResultCommand.js +3 -3
  57. package/dist/cjs/commands/PutJobFailureResultCommand.js.map +1 -1
  58. package/dist/cjs/commands/PutJobSuccessResultCommand.js +3 -3
  59. package/dist/cjs/commands/PutJobSuccessResultCommand.js.map +1 -1
  60. package/dist/cjs/commands/PutThirdPartyJobFailureResultCommand.js +3 -3
  61. package/dist/cjs/commands/PutThirdPartyJobFailureResultCommand.js.map +1 -1
  62. package/dist/cjs/commands/PutThirdPartyJobSuccessResultCommand.js +3 -3
  63. package/dist/cjs/commands/PutThirdPartyJobSuccessResultCommand.js.map +1 -1
  64. package/dist/cjs/commands/PutWebhookCommand.js +3 -3
  65. package/dist/cjs/commands/PutWebhookCommand.js.map +1 -1
  66. package/dist/cjs/commands/RegisterWebhookWithThirdPartyCommand.js +3 -3
  67. package/dist/cjs/commands/RegisterWebhookWithThirdPartyCommand.js.map +1 -1
  68. package/dist/cjs/commands/RetryStageExecutionCommand.js +3 -3
  69. package/dist/cjs/commands/RetryStageExecutionCommand.js.map +1 -1
  70. package/dist/cjs/commands/StartPipelineExecutionCommand.js +3 -3
  71. package/dist/cjs/commands/StartPipelineExecutionCommand.js.map +1 -1
  72. package/dist/cjs/commands/StopPipelineExecutionCommand.js +3 -3
  73. package/dist/cjs/commands/StopPipelineExecutionCommand.js.map +1 -1
  74. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  75. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  76. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  77. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  78. package/dist/cjs/commands/UpdateActionTypeCommand.js +3 -3
  79. package/dist/cjs/commands/UpdateActionTypeCommand.js.map +1 -1
  80. package/dist/cjs/commands/UpdatePipelineCommand.js +3 -3
  81. package/dist/cjs/commands/UpdatePipelineCommand.js.map +1 -1
  82. package/dist/cjs/endpoints.js +1 -1
  83. package/dist/cjs/endpoints.js.map +1 -1
  84. package/dist/cjs/index.js +49 -49
  85. package/dist/cjs/index.js.map +1 -1
  86. package/dist/cjs/models/index.js +1 -1
  87. package/dist/cjs/models/index.js.map +1 -1
  88. package/dist/cjs/package.json +39 -39
  89. package/dist/cjs/protocols/Aws_json1_1.js +241 -225
  90. package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
  91. package/dist/cjs/runtimeConfig.browser.js +4 -4
  92. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  93. package/dist/cjs/runtimeConfig.js +8 -8
  94. package/dist/cjs/runtimeConfig.js.map +1 -1
  95. package/dist/cjs/runtimeConfig.native.js +1 -1
  96. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  97. package/dist/es/CodePipeline.js +1 -198
  98. package/dist/es/CodePipeline.js.map +1 -1
  99. package/dist/es/CodePipelineClient.js +1 -203
  100. package/dist/es/CodePipelineClient.js.map +1 -1
  101. package/dist/es/commands/AcknowledgeJobCommand.js +2 -28
  102. package/dist/es/commands/AcknowledgeJobCommand.js.map +1 -1
  103. package/dist/es/commands/AcknowledgeThirdPartyJobCommand.js +2 -28
  104. package/dist/es/commands/AcknowledgeThirdPartyJobCommand.js.map +1 -1
  105. package/dist/es/commands/CreateCustomActionTypeCommand.js +2 -28
  106. package/dist/es/commands/CreateCustomActionTypeCommand.js.map +1 -1
  107. package/dist/es/commands/CreatePipelineCommand.js +2 -33
  108. package/dist/es/commands/CreatePipelineCommand.js.map +1 -1
  109. package/dist/es/commands/DeleteCustomActionTypeCommand.js +2 -35
  110. package/dist/es/commands/DeleteCustomActionTypeCommand.js.map +1 -1
  111. package/dist/es/commands/DeletePipelineCommand.js +2 -27
  112. package/dist/es/commands/DeletePipelineCommand.js.map +1 -1
  113. package/dist/es/commands/DeleteWebhookCommand.js +2 -31
  114. package/dist/es/commands/DeleteWebhookCommand.js.map +1 -1
  115. package/dist/es/commands/DeregisterWebhookWithThirdPartyCommand.js +2 -29
  116. package/dist/es/commands/DeregisterWebhookWithThirdPartyCommand.js.map +1 -1
  117. package/dist/es/commands/DisableStageTransitionCommand.js +2 -28
  118. package/dist/es/commands/DisableStageTransitionCommand.js.map +1 -1
  119. package/dist/es/commands/EnableStageTransitionCommand.js +2 -27
  120. package/dist/es/commands/EnableStageTransitionCommand.js.map +1 -1
  121. package/dist/es/commands/GetActionTypeCommand.js +2 -29
  122. package/dist/es/commands/GetActionTypeCommand.js.map +1 -1
  123. package/dist/es/commands/GetJobDetailsCommand.js +2 -33
  124. package/dist/es/commands/GetJobDetailsCommand.js.map +1 -1
  125. package/dist/es/commands/GetPipelineCommand.js +2 -29
  126. package/dist/es/commands/GetPipelineCommand.js.map +1 -1
  127. package/dist/es/commands/GetPipelineExecutionCommand.js +2 -29
  128. package/dist/es/commands/GetPipelineExecutionCommand.js.map +1 -1
  129. package/dist/es/commands/GetPipelineStateCommand.js +2 -33
  130. package/dist/es/commands/GetPipelineStateCommand.js.map +1 -1
  131. package/dist/es/commands/GetThirdPartyJobDetailsCommand.js +2 -34
  132. package/dist/es/commands/GetThirdPartyJobDetailsCommand.js.map +1 -1
  133. package/dist/es/commands/ListActionExecutionsCommand.js +2 -27
  134. package/dist/es/commands/ListActionExecutionsCommand.js.map +1 -1
  135. package/dist/es/commands/ListActionTypesCommand.js +2 -28
  136. package/dist/es/commands/ListActionTypesCommand.js.map +1 -1
  137. package/dist/es/commands/ListPipelineExecutionsCommand.js +2 -27
  138. package/dist/es/commands/ListPipelineExecutionsCommand.js.map +1 -1
  139. package/dist/es/commands/ListPipelinesCommand.js +2 -27
  140. package/dist/es/commands/ListPipelinesCommand.js.map +1 -1
  141. package/dist/es/commands/ListTagsForResourceCommand.js +2 -28
  142. package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
  143. package/dist/es/commands/ListWebhooksCommand.js +2 -29
  144. package/dist/es/commands/ListWebhooksCommand.js.map +1 -1
  145. package/dist/es/commands/PollForJobsCommand.js +2 -36
  146. package/dist/es/commands/PollForJobsCommand.js.map +1 -1
  147. package/dist/es/commands/PollForThirdPartyJobsCommand.js +2 -33
  148. package/dist/es/commands/PollForThirdPartyJobsCommand.js.map +1 -1
  149. package/dist/es/commands/PutActionRevisionCommand.js +2 -27
  150. package/dist/es/commands/PutActionRevisionCommand.js.map +1 -1
  151. package/dist/es/commands/PutApprovalResultCommand.js +2 -28
  152. package/dist/es/commands/PutApprovalResultCommand.js.map +1 -1
  153. package/dist/es/commands/PutJobFailureResultCommand.js +2 -28
  154. package/dist/es/commands/PutJobFailureResultCommand.js.map +1 -1
  155. package/dist/es/commands/PutJobSuccessResultCommand.js +2 -28
  156. package/dist/es/commands/PutJobSuccessResultCommand.js.map +1 -1
  157. package/dist/es/commands/PutThirdPartyJobFailureResultCommand.js +2 -28
  158. package/dist/es/commands/PutThirdPartyJobFailureResultCommand.js.map +1 -1
  159. package/dist/es/commands/PutThirdPartyJobSuccessResultCommand.js +2 -28
  160. package/dist/es/commands/PutThirdPartyJobSuccessResultCommand.js.map +1 -1
  161. package/dist/es/commands/PutWebhookCommand.js +2 -33
  162. package/dist/es/commands/PutWebhookCommand.js.map +1 -1
  163. package/dist/es/commands/RegisterWebhookWithThirdPartyCommand.js +2 -28
  164. package/dist/es/commands/RegisterWebhookWithThirdPartyCommand.js.map +1 -1
  165. package/dist/es/commands/RetryStageExecutionCommand.js +2 -30
  166. package/dist/es/commands/RetryStageExecutionCommand.js.map +1 -1
  167. package/dist/es/commands/StartPipelineExecutionCommand.js +2 -28
  168. package/dist/es/commands/StartPipelineExecutionCommand.js.map +1 -1
  169. package/dist/es/commands/StopPipelineExecutionCommand.js +2 -32
  170. package/dist/es/commands/StopPipelineExecutionCommand.js.map +1 -1
  171. package/dist/es/commands/TagResourceCommand.js +2 -28
  172. package/dist/es/commands/TagResourceCommand.js.map +1 -1
  173. package/dist/es/commands/UntagResourceCommand.js +2 -27
  174. package/dist/es/commands/UntagResourceCommand.js.map +1 -1
  175. package/dist/es/commands/UpdateActionTypeCommand.js +2 -30
  176. package/dist/es/commands/UpdateActionTypeCommand.js.map +1 -1
  177. package/dist/es/commands/UpdatePipelineCommand.js +2 -30
  178. package/dist/es/commands/UpdatePipelineCommand.js.map +1 -1
  179. package/dist/es/endpoints.js +1 -1
  180. package/dist/es/endpoints.js.map +1 -1
  181. package/dist/es/models/models_0.js +0 -519
  182. package/dist/es/models/models_0.js.map +1 -1
  183. package/dist/es/package.json +39 -39
  184. package/dist/es/pagination/ListActionExecutionsPaginator.js +16 -28
  185. package/dist/es/pagination/ListActionExecutionsPaginator.js.map +1 -1
  186. package/dist/es/pagination/ListActionTypesPaginator.js +16 -28
  187. package/dist/es/pagination/ListActionTypesPaginator.js.map +1 -1
  188. package/dist/es/pagination/ListPipelineExecutionsPaginator.js +16 -28
  189. package/dist/es/pagination/ListPipelineExecutionsPaginator.js.map +1 -1
  190. package/dist/es/pagination/ListPipelinesPaginator.js +16 -28
  191. package/dist/es/pagination/ListPipelinesPaginator.js.map +1 -1
  192. package/dist/es/pagination/ListTagsForResourcePaginator.js +16 -28
  193. package/dist/es/pagination/ListTagsForResourcePaginator.js.map +1 -1
  194. package/dist/es/pagination/ListWebhooksPaginator.js +16 -28
  195. package/dist/es/pagination/ListWebhooksPaginator.js.map +1 -1
  196. package/dist/es/protocols/Aws_json1_1.js +912 -901
  197. package/dist/es/protocols/Aws_json1_1.js.map +1 -1
  198. package/dist/es/runtimeConfig.browser.js +0 -3
  199. package/dist/es/runtimeConfig.browser.js.map +1 -1
  200. package/dist/es/runtimeConfig.js +0 -3
  201. package/dist/es/runtimeConfig.js.map +1 -1
  202. package/dist/es/runtimeConfig.native.js +0 -3
  203. package/dist/es/runtimeConfig.native.js.map +1 -1
  204. package/dist/es/runtimeConfig.shared.js +0 -3
  205. package/dist/es/runtimeConfig.shared.js.map +1 -1
  206. package/dist/types/runtimeConfig.browser.d.ts +1 -0
  207. package/dist/types/runtimeConfig.d.ts +1 -0
  208. package/dist/types/runtimeConfig.native.d.ts +1 -0
  209. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  210. package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
  211. package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
  212. package/package.json +39 -39
  213. package/protocols/Aws_json1_1.ts +35 -16
  214. package/tsconfig.es.json +0 -2
  215. package/tsconfig.json +3 -5
  216. package/tsconfig.types.json +8 -0
@@ -4121,7 +4121,7 @@ const serializeAws_json1_1StageDeclaration = (input, context) => {
4121
4121
  const serializeAws_json1_1StartPipelineExecutionInput = (input, context) => {
4122
4122
  var _a;
4123
4123
  return {
4124
- clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
4124
+ clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
4125
4125
  ...(input.name !== undefined && input.name !== null && { name: input.name }),
4126
4126
  };
4127
4127
  };
@@ -4228,12 +4228,12 @@ const serializeAws_json1_1WebhookFilters = (input, context) => {
4228
4228
  };
4229
4229
  const deserializeAws_json1_1AcknowledgeJobOutput = (output, context) => {
4230
4230
  return {
4231
- status: (0, smithy_client_1.expectString)(output.status),
4231
+ status: smithy_client_1.expectString(output.status),
4232
4232
  };
4233
4233
  };
4234
4234
  const deserializeAws_json1_1AcknowledgeThirdPartyJobOutput = (output, context) => {
4235
4235
  return {
4236
- status: (0, smithy_client_1.expectString)(output.status),
4236
+ status: smithy_client_1.expectString(output.status),
4237
4237
  };
4238
4238
  };
4239
4239
  const deserializeAws_json1_1ActionConfiguration = (output, context) => {
@@ -4250,19 +4250,19 @@ const deserializeAws_json1_1ActionConfigurationMap = (output, context) => {
4250
4250
  }
4251
4251
  return {
4252
4252
  ...acc,
4253
- [key]: (0, smithy_client_1.expectString)(value),
4253
+ [key]: smithy_client_1.expectString(value),
4254
4254
  };
4255
4255
  }, {});
4256
4256
  };
4257
4257
  const deserializeAws_json1_1ActionConfigurationProperty = (output, context) => {
4258
4258
  return {
4259
- description: (0, smithy_client_1.expectString)(output.description),
4260
- key: (0, smithy_client_1.expectBoolean)(output.key),
4261
- name: (0, smithy_client_1.expectString)(output.name),
4262
- queryable: (0, smithy_client_1.expectBoolean)(output.queryable),
4263
- required: (0, smithy_client_1.expectBoolean)(output.required),
4264
- secret: (0, smithy_client_1.expectBoolean)(output.secret),
4265
- type: (0, smithy_client_1.expectString)(output.type),
4259
+ description: smithy_client_1.expectString(output.description),
4260
+ key: smithy_client_1.expectBoolean(output.key),
4261
+ name: smithy_client_1.expectString(output.name),
4262
+ queryable: smithy_client_1.expectBoolean(output.queryable),
4263
+ required: smithy_client_1.expectBoolean(output.required),
4264
+ secret: smithy_client_1.expectBoolean(output.secret),
4265
+ type: smithy_client_1.expectString(output.type),
4266
4266
  };
4267
4267
  };
4268
4268
  const deserializeAws_json1_1ActionConfigurationPropertyList = (output, context) => {
@@ -4277,8 +4277,8 @@ const deserializeAws_json1_1ActionConfigurationPropertyList = (output, context)
4277
4277
  };
4278
4278
  const deserializeAws_json1_1ActionContext = (output, context) => {
4279
4279
  return {
4280
- actionExecutionId: (0, smithy_client_1.expectString)(output.actionExecutionId),
4281
- name: (0, smithy_client_1.expectString)(output.name),
4280
+ actionExecutionId: smithy_client_1.expectString(output.actionExecutionId),
4281
+ name: smithy_client_1.expectString(output.name),
4282
4282
  };
4283
4283
  };
4284
4284
  const deserializeAws_json1_1ActionDeclaration = (output, context) => {
@@ -4292,54 +4292,54 @@ const deserializeAws_json1_1ActionDeclaration = (output, context) => {
4292
4292
  inputArtifacts: output.inputArtifacts !== undefined && output.inputArtifacts !== null
4293
4293
  ? deserializeAws_json1_1InputArtifactList(output.inputArtifacts, context)
4294
4294
  : undefined,
4295
- name: (0, smithy_client_1.expectString)(output.name),
4296
- namespace: (0, smithy_client_1.expectString)(output.namespace),
4295
+ name: smithy_client_1.expectString(output.name),
4296
+ namespace: smithy_client_1.expectString(output.namespace),
4297
4297
  outputArtifacts: output.outputArtifacts !== undefined && output.outputArtifacts !== null
4298
4298
  ? deserializeAws_json1_1OutputArtifactList(output.outputArtifacts, context)
4299
4299
  : undefined,
4300
- region: (0, smithy_client_1.expectString)(output.region),
4301
- roleArn: (0, smithy_client_1.expectString)(output.roleArn),
4302
- runOrder: (0, smithy_client_1.expectInt32)(output.runOrder),
4300
+ region: smithy_client_1.expectString(output.region),
4301
+ roleArn: smithy_client_1.expectString(output.roleArn),
4302
+ runOrder: smithy_client_1.expectInt32(output.runOrder),
4303
4303
  };
4304
4304
  };
4305
4305
  const deserializeAws_json1_1ActionExecution = (output, context) => {
4306
4306
  return {
4307
- actionExecutionId: (0, smithy_client_1.expectString)(output.actionExecutionId),
4307
+ actionExecutionId: smithy_client_1.expectString(output.actionExecutionId),
4308
4308
  errorDetails: output.errorDetails !== undefined && output.errorDetails !== null
4309
4309
  ? deserializeAws_json1_1ErrorDetails(output.errorDetails, context)
4310
4310
  : undefined,
4311
- externalExecutionId: (0, smithy_client_1.expectString)(output.externalExecutionId),
4312
- externalExecutionUrl: (0, smithy_client_1.expectString)(output.externalExecutionUrl),
4311
+ externalExecutionId: smithy_client_1.expectString(output.externalExecutionId),
4312
+ externalExecutionUrl: smithy_client_1.expectString(output.externalExecutionUrl),
4313
4313
  lastStatusChange: output.lastStatusChange !== undefined && output.lastStatusChange !== null
4314
- ? new Date(Math.round(output.lastStatusChange * 1000))
4314
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastStatusChange)))
4315
4315
  : undefined,
4316
- lastUpdatedBy: (0, smithy_client_1.expectString)(output.lastUpdatedBy),
4317
- percentComplete: (0, smithy_client_1.expectInt32)(output.percentComplete),
4318
- status: (0, smithy_client_1.expectString)(output.status),
4319
- summary: (0, smithy_client_1.expectString)(output.summary),
4320
- token: (0, smithy_client_1.expectString)(output.token),
4316
+ lastUpdatedBy: smithy_client_1.expectString(output.lastUpdatedBy),
4317
+ percentComplete: smithy_client_1.expectInt32(output.percentComplete),
4318
+ status: smithy_client_1.expectString(output.status),
4319
+ summary: smithy_client_1.expectString(output.summary),
4320
+ token: smithy_client_1.expectString(output.token),
4321
4321
  };
4322
4322
  };
4323
4323
  const deserializeAws_json1_1ActionExecutionDetail = (output, context) => {
4324
4324
  return {
4325
- actionExecutionId: (0, smithy_client_1.expectString)(output.actionExecutionId),
4326
- actionName: (0, smithy_client_1.expectString)(output.actionName),
4325
+ actionExecutionId: smithy_client_1.expectString(output.actionExecutionId),
4326
+ actionName: smithy_client_1.expectString(output.actionName),
4327
4327
  input: output.input !== undefined && output.input !== null
4328
4328
  ? deserializeAws_json1_1ActionExecutionInput(output.input, context)
4329
4329
  : undefined,
4330
4330
  lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
4331
- ? new Date(Math.round(output.lastUpdateTime * 1000))
4331
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdateTime)))
4332
4332
  : undefined,
4333
4333
  output: output.output !== undefined && output.output !== null
4334
4334
  ? deserializeAws_json1_1ActionExecutionOutput(output.output, context)
4335
4335
  : undefined,
4336
- pipelineExecutionId: (0, smithy_client_1.expectString)(output.pipelineExecutionId),
4337
- pipelineVersion: (0, smithy_client_1.expectInt32)(output.pipelineVersion),
4338
- stageName: (0, smithy_client_1.expectString)(output.stageName),
4336
+ pipelineExecutionId: smithy_client_1.expectString(output.pipelineExecutionId),
4337
+ pipelineVersion: smithy_client_1.expectInt32(output.pipelineVersion),
4338
+ stageName: smithy_client_1.expectString(output.stageName),
4339
4339
  startTime: output.startTime !== undefined && output.startTime !== null
4340
- ? new Date(Math.round(output.startTime * 1000))
4340
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
4341
4341
  : undefined,
4342
- status: (0, smithy_client_1.expectString)(output.status),
4342
+ status: smithy_client_1.expectString(output.status),
4343
4343
  };
4344
4344
  };
4345
4345
  const deserializeAws_json1_1ActionExecutionDetailList = (output, context) => {
@@ -4363,12 +4363,12 @@ const deserializeAws_json1_1ActionExecutionInput = (output, context) => {
4363
4363
  inputArtifacts: output.inputArtifacts !== undefined && output.inputArtifacts !== null
4364
4364
  ? deserializeAws_json1_1ArtifactDetailList(output.inputArtifacts, context)
4365
4365
  : undefined,
4366
- namespace: (0, smithy_client_1.expectString)(output.namespace),
4367
- region: (0, smithy_client_1.expectString)(output.region),
4366
+ namespace: smithy_client_1.expectString(output.namespace),
4367
+ region: smithy_client_1.expectString(output.region),
4368
4368
  resolvedConfiguration: output.resolvedConfiguration !== undefined && output.resolvedConfiguration !== null
4369
4369
  ? deserializeAws_json1_1ResolvedActionConfigurationMap(output.resolvedConfiguration, context)
4370
4370
  : undefined,
4371
- roleArn: (0, smithy_client_1.expectString)(output.roleArn),
4371
+ roleArn: smithy_client_1.expectString(output.roleArn),
4372
4372
  };
4373
4373
  };
4374
4374
  const deserializeAws_json1_1ActionExecutionOutput = (output, context) => {
@@ -4386,34 +4386,36 @@ const deserializeAws_json1_1ActionExecutionOutput = (output, context) => {
4386
4386
  };
4387
4387
  const deserializeAws_json1_1ActionExecutionResult = (output, context) => {
4388
4388
  return {
4389
- externalExecutionId: (0, smithy_client_1.expectString)(output.externalExecutionId),
4390
- externalExecutionSummary: (0, smithy_client_1.expectString)(output.externalExecutionSummary),
4391
- externalExecutionUrl: (0, smithy_client_1.expectString)(output.externalExecutionUrl),
4389
+ externalExecutionId: smithy_client_1.expectString(output.externalExecutionId),
4390
+ externalExecutionSummary: smithy_client_1.expectString(output.externalExecutionSummary),
4391
+ externalExecutionUrl: smithy_client_1.expectString(output.externalExecutionUrl),
4392
4392
  };
4393
4393
  };
4394
4394
  const deserializeAws_json1_1ActionNotFoundException = (output, context) => {
4395
4395
  return {
4396
- message: (0, smithy_client_1.expectString)(output.message),
4396
+ message: smithy_client_1.expectString(output.message),
4397
4397
  };
4398
4398
  };
4399
4399
  const deserializeAws_json1_1ActionRevision = (output, context) => {
4400
4400
  return {
4401
- created: output.created !== undefined && output.created !== null ? new Date(Math.round(output.created * 1000)) : undefined,
4402
- revisionChangeId: (0, smithy_client_1.expectString)(output.revisionChangeId),
4403
- revisionId: (0, smithy_client_1.expectString)(output.revisionId),
4401
+ created: output.created !== undefined && output.created !== null
4402
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
4403
+ : undefined,
4404
+ revisionChangeId: smithy_client_1.expectString(output.revisionChangeId),
4405
+ revisionId: smithy_client_1.expectString(output.revisionId),
4404
4406
  };
4405
4407
  };
4406
4408
  const deserializeAws_json1_1ActionState = (output, context) => {
4407
4409
  return {
4408
- actionName: (0, smithy_client_1.expectString)(output.actionName),
4410
+ actionName: smithy_client_1.expectString(output.actionName),
4409
4411
  currentRevision: output.currentRevision !== undefined && output.currentRevision !== null
4410
4412
  ? deserializeAws_json1_1ActionRevision(output.currentRevision, context)
4411
4413
  : undefined,
4412
- entityUrl: (0, smithy_client_1.expectString)(output.entityUrl),
4414
+ entityUrl: smithy_client_1.expectString(output.entityUrl),
4413
4415
  latestExecution: output.latestExecution !== undefined && output.latestExecution !== null
4414
4416
  ? deserializeAws_json1_1ActionExecution(output.latestExecution, context)
4415
4417
  : undefined,
4416
- revisionUrl: (0, smithy_client_1.expectString)(output.revisionUrl),
4418
+ revisionUrl: smithy_client_1.expectString(output.revisionUrl),
4417
4419
  };
4418
4420
  };
4419
4421
  const deserializeAws_json1_1ActionStateList = (output, context) => {
@@ -4447,13 +4449,13 @@ const deserializeAws_json1_1ActionType = (output, context) => {
4447
4449
  };
4448
4450
  const deserializeAws_json1_1ActionTypeArtifactDetails = (output, context) => {
4449
4451
  return {
4450
- maximumCount: (0, smithy_client_1.expectInt32)(output.maximumCount),
4451
- minimumCount: (0, smithy_client_1.expectInt32)(output.minimumCount),
4452
+ maximumCount: smithy_client_1.expectInt32(output.maximumCount),
4453
+ minimumCount: smithy_client_1.expectInt32(output.minimumCount),
4452
4454
  };
4453
4455
  };
4454
4456
  const deserializeAws_json1_1ActionTypeDeclaration = (output, context) => {
4455
4457
  return {
4456
- description: (0, smithy_client_1.expectString)(output.description),
4458
+ description: smithy_client_1.expectString(output.description),
4457
4459
  executor: output.executor !== undefined && output.executor !== null
4458
4460
  ? deserializeAws_json1_1ActionTypeExecutor(output.executor, context)
4459
4461
  : undefined,
@@ -4482,25 +4484,25 @@ const deserializeAws_json1_1ActionTypeExecutor = (output, context) => {
4482
4484
  configuration: output.configuration !== undefined && output.configuration !== null
4483
4485
  ? deserializeAws_json1_1ExecutorConfiguration(output.configuration, context)
4484
4486
  : undefined,
4485
- jobTimeout: (0, smithy_client_1.expectInt32)(output.jobTimeout),
4486
- policyStatementsTemplate: (0, smithy_client_1.expectString)(output.policyStatementsTemplate),
4487
- type: (0, smithy_client_1.expectString)(output.type),
4487
+ jobTimeout: smithy_client_1.expectInt32(output.jobTimeout),
4488
+ policyStatementsTemplate: smithy_client_1.expectString(output.policyStatementsTemplate),
4489
+ type: smithy_client_1.expectString(output.type),
4488
4490
  };
4489
4491
  };
4490
4492
  const deserializeAws_json1_1ActionTypeId = (output, context) => {
4491
4493
  return {
4492
- category: (0, smithy_client_1.expectString)(output.category),
4493
- owner: (0, smithy_client_1.expectString)(output.owner),
4494
- provider: (0, smithy_client_1.expectString)(output.provider),
4495
- version: (0, smithy_client_1.expectString)(output.version),
4494
+ category: smithy_client_1.expectString(output.category),
4495
+ owner: smithy_client_1.expectString(output.owner),
4496
+ provider: smithy_client_1.expectString(output.provider),
4497
+ version: smithy_client_1.expectString(output.version),
4496
4498
  };
4497
4499
  };
4498
4500
  const deserializeAws_json1_1ActionTypeIdentifier = (output, context) => {
4499
4501
  return {
4500
- category: (0, smithy_client_1.expectString)(output.category),
4501
- owner: (0, smithy_client_1.expectString)(output.owner),
4502
- provider: (0, smithy_client_1.expectString)(output.provider),
4503
- version: (0, smithy_client_1.expectString)(output.version),
4502
+ category: smithy_client_1.expectString(output.category),
4503
+ owner: smithy_client_1.expectString(output.owner),
4504
+ provider: smithy_client_1.expectString(output.provider),
4505
+ version: smithy_client_1.expectString(output.version),
4504
4506
  };
4505
4507
  };
4506
4508
  const deserializeAws_json1_1ActionTypeList = (output, context) => {
@@ -4515,7 +4517,7 @@ const deserializeAws_json1_1ActionTypeList = (output, context) => {
4515
4517
  };
4516
4518
  const deserializeAws_json1_1ActionTypeNotFoundException = (output, context) => {
4517
4519
  return {
4518
- message: (0, smithy_client_1.expectString)(output.message),
4520
+ message: smithy_client_1.expectString(output.message),
4519
4521
  };
4520
4522
  };
4521
4523
  const deserializeAws_json1_1ActionTypePermissions = (output, context) => {
@@ -4537,28 +4539,28 @@ const deserializeAws_json1_1ActionTypeProperties = (output, context) => {
4537
4539
  };
4538
4540
  const deserializeAws_json1_1ActionTypeProperty = (output, context) => {
4539
4541
  return {
4540
- description: (0, smithy_client_1.expectString)(output.description),
4541
- key: (0, smithy_client_1.expectBoolean)(output.key),
4542
- name: (0, smithy_client_1.expectString)(output.name),
4543
- noEcho: (0, smithy_client_1.expectBoolean)(output.noEcho),
4544
- optional: (0, smithy_client_1.expectBoolean)(output.optional),
4545
- queryable: (0, smithy_client_1.expectBoolean)(output.queryable),
4542
+ description: smithy_client_1.expectString(output.description),
4543
+ key: smithy_client_1.expectBoolean(output.key),
4544
+ name: smithy_client_1.expectString(output.name),
4545
+ noEcho: smithy_client_1.expectBoolean(output.noEcho),
4546
+ optional: smithy_client_1.expectBoolean(output.optional),
4547
+ queryable: smithy_client_1.expectBoolean(output.queryable),
4546
4548
  };
4547
4549
  };
4548
4550
  const deserializeAws_json1_1ActionTypeSettings = (output, context) => {
4549
4551
  return {
4550
- entityUrlTemplate: (0, smithy_client_1.expectString)(output.entityUrlTemplate),
4551
- executionUrlTemplate: (0, smithy_client_1.expectString)(output.executionUrlTemplate),
4552
- revisionUrlTemplate: (0, smithy_client_1.expectString)(output.revisionUrlTemplate),
4553
- thirdPartyConfigurationUrl: (0, smithy_client_1.expectString)(output.thirdPartyConfigurationUrl),
4552
+ entityUrlTemplate: smithy_client_1.expectString(output.entityUrlTemplate),
4553
+ executionUrlTemplate: smithy_client_1.expectString(output.executionUrlTemplate),
4554
+ revisionUrlTemplate: smithy_client_1.expectString(output.revisionUrlTemplate),
4555
+ thirdPartyConfigurationUrl: smithy_client_1.expectString(output.thirdPartyConfigurationUrl),
4554
4556
  };
4555
4557
  };
4556
4558
  const deserializeAws_json1_1ActionTypeUrls = (output, context) => {
4557
4559
  return {
4558
- configurationUrl: (0, smithy_client_1.expectString)(output.configurationUrl),
4559
- entityUrlTemplate: (0, smithy_client_1.expectString)(output.entityUrlTemplate),
4560
- executionUrlTemplate: (0, smithy_client_1.expectString)(output.executionUrlTemplate),
4561
- revisionUrlTemplate: (0, smithy_client_1.expectString)(output.revisionUrlTemplate),
4560
+ configurationUrl: smithy_client_1.expectString(output.configurationUrl),
4561
+ entityUrlTemplate: smithy_client_1.expectString(output.entityUrlTemplate),
4562
+ executionUrlTemplate: smithy_client_1.expectString(output.executionUrlTemplate),
4563
+ revisionUrlTemplate: smithy_client_1.expectString(output.revisionUrlTemplate),
4562
4564
  };
4563
4565
  };
4564
4566
  const deserializeAws_json1_1AllowedAccounts = (output, context) => {
@@ -4568,12 +4570,12 @@ const deserializeAws_json1_1AllowedAccounts = (output, context) => {
4568
4570
  if (entry === null) {
4569
4571
  return null;
4570
4572
  }
4571
- return (0, smithy_client_1.expectString)(entry);
4573
+ return smithy_client_1.expectString(entry);
4572
4574
  });
4573
4575
  };
4574
4576
  const deserializeAws_json1_1ApprovalAlreadyCompletedException = (output, context) => {
4575
4577
  return {
4576
- message: (0, smithy_client_1.expectString)(output.message),
4578
+ message: smithy_client_1.expectString(output.message),
4577
4579
  };
4578
4580
  };
4579
4581
  const deserializeAws_json1_1Artifact = (output, context) => {
@@ -4581,13 +4583,13 @@ const deserializeAws_json1_1Artifact = (output, context) => {
4581
4583
  location: output.location !== undefined && output.location !== null
4582
4584
  ? deserializeAws_json1_1ArtifactLocation(output.location, context)
4583
4585
  : undefined,
4584
- name: (0, smithy_client_1.expectString)(output.name),
4585
- revision: (0, smithy_client_1.expectString)(output.revision),
4586
+ name: smithy_client_1.expectString(output.name),
4587
+ revision: smithy_client_1.expectString(output.revision),
4586
4588
  };
4587
4589
  };
4588
4590
  const deserializeAws_json1_1ArtifactDetail = (output, context) => {
4589
4591
  return {
4590
- name: (0, smithy_client_1.expectString)(output.name),
4592
+ name: smithy_client_1.expectString(output.name),
4591
4593
  s3location: output.s3location !== undefined && output.s3location !== null
4592
4594
  ? deserializeAws_json1_1S3Location(output.s3location, context)
4593
4595
  : undefined,
@@ -4605,8 +4607,8 @@ const deserializeAws_json1_1ArtifactDetailList = (output, context) => {
4605
4607
  };
4606
4608
  const deserializeAws_json1_1ArtifactDetails = (output, context) => {
4607
4609
  return {
4608
- maximumCount: (0, smithy_client_1.expectInt32)(output.maximumCount),
4609
- minimumCount: (0, smithy_client_1.expectInt32)(output.minimumCount),
4610
+ maximumCount: smithy_client_1.expectInt32(output.maximumCount),
4611
+ minimumCount: smithy_client_1.expectInt32(output.minimumCount),
4610
4612
  };
4611
4613
  };
4612
4614
  const deserializeAws_json1_1ArtifactList = (output, context) => {
@@ -4624,17 +4626,19 @@ const deserializeAws_json1_1ArtifactLocation = (output, context) => {
4624
4626
  s3Location: output.s3Location !== undefined && output.s3Location !== null
4625
4627
  ? deserializeAws_json1_1S3ArtifactLocation(output.s3Location, context)
4626
4628
  : undefined,
4627
- type: (0, smithy_client_1.expectString)(output.type),
4629
+ type: smithy_client_1.expectString(output.type),
4628
4630
  };
4629
4631
  };
4630
4632
  const deserializeAws_json1_1ArtifactRevision = (output, context) => {
4631
4633
  return {
4632
- created: output.created !== undefined && output.created !== null ? new Date(Math.round(output.created * 1000)) : undefined,
4633
- name: (0, smithy_client_1.expectString)(output.name),
4634
- revisionChangeIdentifier: (0, smithy_client_1.expectString)(output.revisionChangeIdentifier),
4635
- revisionId: (0, smithy_client_1.expectString)(output.revisionId),
4636
- revisionSummary: (0, smithy_client_1.expectString)(output.revisionSummary),
4637
- revisionUrl: (0, smithy_client_1.expectString)(output.revisionUrl),
4634
+ created: output.created !== undefined && output.created !== null
4635
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
4636
+ : undefined,
4637
+ name: smithy_client_1.expectString(output.name),
4638
+ revisionChangeIdentifier: smithy_client_1.expectString(output.revisionChangeIdentifier),
4639
+ revisionId: smithy_client_1.expectString(output.revisionId),
4640
+ revisionSummary: smithy_client_1.expectString(output.revisionSummary),
4641
+ revisionUrl: smithy_client_1.expectString(output.revisionUrl),
4638
4642
  };
4639
4643
  };
4640
4644
  const deserializeAws_json1_1ArtifactRevisionList = (output, context) => {
@@ -4652,8 +4656,8 @@ const deserializeAws_json1_1ArtifactStore = (output, context) => {
4652
4656
  encryptionKey: output.encryptionKey !== undefined && output.encryptionKey !== null
4653
4657
  ? deserializeAws_json1_1EncryptionKey(output.encryptionKey, context)
4654
4658
  : undefined,
4655
- location: (0, smithy_client_1.expectString)(output.location),
4656
- type: (0, smithy_client_1.expectString)(output.type),
4659
+ location: smithy_client_1.expectString(output.location),
4660
+ type: smithy_client_1.expectString(output.type),
4657
4661
  };
4658
4662
  };
4659
4663
  const deserializeAws_json1_1ArtifactStoreMap = (output, context) => {
@@ -4669,25 +4673,25 @@ const deserializeAws_json1_1ArtifactStoreMap = (output, context) => {
4669
4673
  };
4670
4674
  const deserializeAws_json1_1AWSSessionCredentials = (output, context) => {
4671
4675
  return {
4672
- accessKeyId: (0, smithy_client_1.expectString)(output.accessKeyId),
4673
- secretAccessKey: (0, smithy_client_1.expectString)(output.secretAccessKey),
4674
- sessionToken: (0, smithy_client_1.expectString)(output.sessionToken),
4676
+ accessKeyId: smithy_client_1.expectString(output.accessKeyId),
4677
+ secretAccessKey: smithy_client_1.expectString(output.secretAccessKey),
4678
+ sessionToken: smithy_client_1.expectString(output.sessionToken),
4675
4679
  };
4676
4680
  };
4677
4681
  const deserializeAws_json1_1BlockerDeclaration = (output, context) => {
4678
4682
  return {
4679
- name: (0, smithy_client_1.expectString)(output.name),
4680
- type: (0, smithy_client_1.expectString)(output.type),
4683
+ name: smithy_client_1.expectString(output.name),
4684
+ type: smithy_client_1.expectString(output.type),
4681
4685
  };
4682
4686
  };
4683
4687
  const deserializeAws_json1_1ConcurrentModificationException = (output, context) => {
4684
4688
  return {
4685
- message: (0, smithy_client_1.expectString)(output.message),
4689
+ message: smithy_client_1.expectString(output.message),
4686
4690
  };
4687
4691
  };
4688
4692
  const deserializeAws_json1_1ConflictException = (output, context) => {
4689
4693
  return {
4690
- message: (0, smithy_client_1.expectString)(output.message),
4694
+ message: smithy_client_1.expectString(output.message),
4691
4695
  };
4692
4696
  };
4693
4697
  const deserializeAws_json1_1CreateCustomActionTypeOutput = (output, context) => {
@@ -4718,25 +4722,25 @@ const deserializeAws_json1_1DeregisterWebhookWithThirdPartyOutput = (output, con
4718
4722
  };
4719
4723
  const deserializeAws_json1_1DuplicatedStopRequestException = (output, context) => {
4720
4724
  return {
4721
- message: (0, smithy_client_1.expectString)(output.message),
4725
+ message: smithy_client_1.expectString(output.message),
4722
4726
  };
4723
4727
  };
4724
4728
  const deserializeAws_json1_1EncryptionKey = (output, context) => {
4725
4729
  return {
4726
- id: (0, smithy_client_1.expectString)(output.id),
4727
- type: (0, smithy_client_1.expectString)(output.type),
4730
+ id: smithy_client_1.expectString(output.id),
4731
+ type: smithy_client_1.expectString(output.type),
4728
4732
  };
4729
4733
  };
4730
4734
  const deserializeAws_json1_1ErrorDetails = (output, context) => {
4731
4735
  return {
4732
- code: (0, smithy_client_1.expectString)(output.code),
4733
- message: (0, smithy_client_1.expectString)(output.message),
4736
+ code: smithy_client_1.expectString(output.code),
4737
+ message: smithy_client_1.expectString(output.message),
4734
4738
  };
4735
4739
  };
4736
4740
  const deserializeAws_json1_1ExecutionTrigger = (output, context) => {
4737
4741
  return {
4738
- triggerDetail: (0, smithy_client_1.expectString)(output.triggerDetail),
4739
- triggerType: (0, smithy_client_1.expectString)(output.triggerType),
4742
+ triggerDetail: smithy_client_1.expectString(output.triggerDetail),
4743
+ triggerType: smithy_client_1.expectString(output.triggerType),
4740
4744
  };
4741
4745
  };
4742
4746
  const deserializeAws_json1_1ExecutorConfiguration = (output, context) => {
@@ -4782,13 +4786,17 @@ const deserializeAws_json1_1GetPipelineOutput = (output, context) => {
4782
4786
  };
4783
4787
  const deserializeAws_json1_1GetPipelineStateOutput = (output, context) => {
4784
4788
  return {
4785
- created: output.created !== undefined && output.created !== null ? new Date(Math.round(output.created * 1000)) : undefined,
4786
- pipelineName: (0, smithy_client_1.expectString)(output.pipelineName),
4787
- pipelineVersion: (0, smithy_client_1.expectInt32)(output.pipelineVersion),
4789
+ created: output.created !== undefined && output.created !== null
4790
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
4791
+ : undefined,
4792
+ pipelineName: smithy_client_1.expectString(output.pipelineName),
4793
+ pipelineVersion: smithy_client_1.expectInt32(output.pipelineVersion),
4788
4794
  stageStates: output.stageStates !== undefined && output.stageStates !== null
4789
4795
  ? deserializeAws_json1_1StageStateList(output.stageStates, context)
4790
4796
  : undefined,
4791
- updated: output.updated !== undefined && output.updated !== null ? new Date(Math.round(output.updated * 1000)) : undefined,
4797
+ updated: output.updated !== undefined && output.updated !== null
4798
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updated)))
4799
+ : undefined,
4792
4800
  };
4793
4801
  };
4794
4802
  const deserializeAws_json1_1GetThirdPartyJobDetailsOutput = (output, context) => {
@@ -4800,7 +4808,7 @@ const deserializeAws_json1_1GetThirdPartyJobDetailsOutput = (output, context) =>
4800
4808
  };
4801
4809
  const deserializeAws_json1_1InputArtifact = (output, context) => {
4802
4810
  return {
4803
- name: (0, smithy_client_1.expectString)(output.name),
4811
+ name: smithy_client_1.expectString(output.name),
4804
4812
  };
4805
4813
  };
4806
4814
  const deserializeAws_json1_1InputArtifactList = (output, context) => {
@@ -4815,82 +4823,82 @@ const deserializeAws_json1_1InputArtifactList = (output, context) => {
4815
4823
  };
4816
4824
  const deserializeAws_json1_1InvalidActionDeclarationException = (output, context) => {
4817
4825
  return {
4818
- message: (0, smithy_client_1.expectString)(output.message),
4826
+ message: smithy_client_1.expectString(output.message),
4819
4827
  };
4820
4828
  };
4821
4829
  const deserializeAws_json1_1InvalidApprovalTokenException = (output, context) => {
4822
4830
  return {
4823
- message: (0, smithy_client_1.expectString)(output.message),
4831
+ message: smithy_client_1.expectString(output.message),
4824
4832
  };
4825
4833
  };
4826
4834
  const deserializeAws_json1_1InvalidArnException = (output, context) => {
4827
4835
  return {
4828
- message: (0, smithy_client_1.expectString)(output.message),
4836
+ message: smithy_client_1.expectString(output.message),
4829
4837
  };
4830
4838
  };
4831
4839
  const deserializeAws_json1_1InvalidBlockerDeclarationException = (output, context) => {
4832
4840
  return {
4833
- message: (0, smithy_client_1.expectString)(output.message),
4841
+ message: smithy_client_1.expectString(output.message),
4834
4842
  };
4835
4843
  };
4836
4844
  const deserializeAws_json1_1InvalidClientTokenException = (output, context) => {
4837
4845
  return {
4838
- message: (0, smithy_client_1.expectString)(output.message),
4846
+ message: smithy_client_1.expectString(output.message),
4839
4847
  };
4840
4848
  };
4841
4849
  const deserializeAws_json1_1InvalidJobException = (output, context) => {
4842
4850
  return {
4843
- message: (0, smithy_client_1.expectString)(output.message),
4851
+ message: smithy_client_1.expectString(output.message),
4844
4852
  };
4845
4853
  };
4846
4854
  const deserializeAws_json1_1InvalidJobStateException = (output, context) => {
4847
4855
  return {
4848
- message: (0, smithy_client_1.expectString)(output.message),
4856
+ message: smithy_client_1.expectString(output.message),
4849
4857
  };
4850
4858
  };
4851
4859
  const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
4852
4860
  return {
4853
- message: (0, smithy_client_1.expectString)(output.message),
4861
+ message: smithy_client_1.expectString(output.message),
4854
4862
  };
4855
4863
  };
4856
4864
  const deserializeAws_json1_1InvalidNonceException = (output, context) => {
4857
4865
  return {
4858
- message: (0, smithy_client_1.expectString)(output.message),
4866
+ message: smithy_client_1.expectString(output.message),
4859
4867
  };
4860
4868
  };
4861
4869
  const deserializeAws_json1_1InvalidStageDeclarationException = (output, context) => {
4862
4870
  return {
4863
- message: (0, smithy_client_1.expectString)(output.message),
4871
+ message: smithy_client_1.expectString(output.message),
4864
4872
  };
4865
4873
  };
4866
4874
  const deserializeAws_json1_1InvalidStructureException = (output, context) => {
4867
4875
  return {
4868
- message: (0, smithy_client_1.expectString)(output.message),
4876
+ message: smithy_client_1.expectString(output.message),
4869
4877
  };
4870
4878
  };
4871
4879
  const deserializeAws_json1_1InvalidTagsException = (output, context) => {
4872
4880
  return {
4873
- message: (0, smithy_client_1.expectString)(output.message),
4881
+ message: smithy_client_1.expectString(output.message),
4874
4882
  };
4875
4883
  };
4876
4884
  const deserializeAws_json1_1InvalidWebhookAuthenticationParametersException = (output, context) => {
4877
4885
  return {
4878
- message: (0, smithy_client_1.expectString)(output.message),
4886
+ message: smithy_client_1.expectString(output.message),
4879
4887
  };
4880
4888
  };
4881
4889
  const deserializeAws_json1_1InvalidWebhookFilterPatternException = (output, context) => {
4882
4890
  return {
4883
- message: (0, smithy_client_1.expectString)(output.message),
4891
+ message: smithy_client_1.expectString(output.message),
4884
4892
  };
4885
4893
  };
4886
4894
  const deserializeAws_json1_1Job = (output, context) => {
4887
4895
  return {
4888
- accountId: (0, smithy_client_1.expectString)(output.accountId),
4896
+ accountId: smithy_client_1.expectString(output.accountId),
4889
4897
  data: output.data !== undefined && output.data !== null
4890
4898
  ? deserializeAws_json1_1JobData(output.data, context)
4891
4899
  : undefined,
4892
- id: (0, smithy_client_1.expectString)(output.id),
4893
- nonce: (0, smithy_client_1.expectString)(output.nonce),
4900
+ id: smithy_client_1.expectString(output.id),
4901
+ nonce: smithy_client_1.expectString(output.nonce),
4894
4902
  };
4895
4903
  };
4896
4904
  const deserializeAws_json1_1JobData = (output, context) => {
@@ -4904,7 +4912,7 @@ const deserializeAws_json1_1JobData = (output, context) => {
4904
4912
  artifactCredentials: output.artifactCredentials !== undefined && output.artifactCredentials !== null
4905
4913
  ? deserializeAws_json1_1AWSSessionCredentials(output.artifactCredentials, context)
4906
4914
  : undefined,
4907
- continuationToken: (0, smithy_client_1.expectString)(output.continuationToken),
4915
+ continuationToken: smithy_client_1.expectString(output.continuationToken),
4908
4916
  encryptionKey: output.encryptionKey !== undefined && output.encryptionKey !== null
4909
4917
  ? deserializeAws_json1_1EncryptionKey(output.encryptionKey, context)
4910
4918
  : undefined,
@@ -4921,11 +4929,11 @@ const deserializeAws_json1_1JobData = (output, context) => {
4921
4929
  };
4922
4930
  const deserializeAws_json1_1JobDetails = (output, context) => {
4923
4931
  return {
4924
- accountId: (0, smithy_client_1.expectString)(output.accountId),
4932
+ accountId: smithy_client_1.expectString(output.accountId),
4925
4933
  data: output.data !== undefined && output.data !== null
4926
4934
  ? deserializeAws_json1_1JobData(output.data, context)
4927
4935
  : undefined,
4928
- id: (0, smithy_client_1.expectString)(output.id),
4936
+ id: smithy_client_1.expectString(output.id),
4929
4937
  };
4930
4938
  };
4931
4939
  const deserializeAws_json1_1JobList = (output, context) => {
@@ -4940,7 +4948,7 @@ const deserializeAws_json1_1JobList = (output, context) => {
4940
4948
  };
4941
4949
  const deserializeAws_json1_1JobNotFoundException = (output, context) => {
4942
4950
  return {
4943
- message: (0, smithy_client_1.expectString)(output.message),
4951
+ message: smithy_client_1.expectString(output.message),
4944
4952
  };
4945
4953
  };
4946
4954
  const deserializeAws_json1_1JobWorkerExecutorConfiguration = (output, context) => {
@@ -4955,12 +4963,12 @@ const deserializeAws_json1_1JobWorkerExecutorConfiguration = (output, context) =
4955
4963
  };
4956
4964
  const deserializeAws_json1_1LambdaExecutorConfiguration = (output, context) => {
4957
4965
  return {
4958
- lambdaFunctionArn: (0, smithy_client_1.expectString)(output.lambdaFunctionArn),
4966
+ lambdaFunctionArn: smithy_client_1.expectString(output.lambdaFunctionArn),
4959
4967
  };
4960
4968
  };
4961
4969
  const deserializeAws_json1_1LimitExceededException = (output, context) => {
4962
4970
  return {
4963
- message: (0, smithy_client_1.expectString)(output.message),
4971
+ message: smithy_client_1.expectString(output.message),
4964
4972
  };
4965
4973
  };
4966
4974
  const deserializeAws_json1_1ListActionExecutionsOutput = (output, context) => {
@@ -4968,7 +4976,7 @@ const deserializeAws_json1_1ListActionExecutionsOutput = (output, context) => {
4968
4976
  actionExecutionDetails: output.actionExecutionDetails !== undefined && output.actionExecutionDetails !== null
4969
4977
  ? deserializeAws_json1_1ActionExecutionDetailList(output.actionExecutionDetails, context)
4970
4978
  : undefined,
4971
- nextToken: (0, smithy_client_1.expectString)(output.nextToken),
4979
+ nextToken: smithy_client_1.expectString(output.nextToken),
4972
4980
  };
4973
4981
  };
4974
4982
  const deserializeAws_json1_1ListActionTypesOutput = (output, context) => {
@@ -4976,12 +4984,12 @@ const deserializeAws_json1_1ListActionTypesOutput = (output, context) => {
4976
4984
  actionTypes: output.actionTypes !== undefined && output.actionTypes !== null
4977
4985
  ? deserializeAws_json1_1ActionTypeList(output.actionTypes, context)
4978
4986
  : undefined,
4979
- nextToken: (0, smithy_client_1.expectString)(output.nextToken),
4987
+ nextToken: smithy_client_1.expectString(output.nextToken),
4980
4988
  };
4981
4989
  };
4982
4990
  const deserializeAws_json1_1ListPipelineExecutionsOutput = (output, context) => {
4983
4991
  return {
4984
- nextToken: (0, smithy_client_1.expectString)(output.nextToken),
4992
+ nextToken: smithy_client_1.expectString(output.nextToken),
4985
4993
  pipelineExecutionSummaries: output.pipelineExecutionSummaries !== undefined && output.pipelineExecutionSummaries !== null
4986
4994
  ? deserializeAws_json1_1PipelineExecutionSummaryList(output.pipelineExecutionSummaries, context)
4987
4995
  : undefined,
@@ -4989,7 +4997,7 @@ const deserializeAws_json1_1ListPipelineExecutionsOutput = (output, context) =>
4989
4997
  };
4990
4998
  const deserializeAws_json1_1ListPipelinesOutput = (output, context) => {
4991
4999
  return {
4992
- nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5000
+ nextToken: smithy_client_1.expectString(output.nextToken),
4993
5001
  pipelines: output.pipelines !== undefined && output.pipelines !== null
4994
5002
  ? deserializeAws_json1_1PipelineList(output.pipelines, context)
4995
5003
  : undefined,
@@ -4997,7 +5005,7 @@ const deserializeAws_json1_1ListPipelinesOutput = (output, context) => {
4997
5005
  };
4998
5006
  const deserializeAws_json1_1ListTagsForResourceOutput = (output, context) => {
4999
5007
  return {
5000
- nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5008
+ nextToken: smithy_client_1.expectString(output.nextToken),
5001
5009
  tags: output.tags !== undefined && output.tags !== null
5002
5010
  ? deserializeAws_json1_1TagList(output.tags, context)
5003
5011
  : undefined,
@@ -5005,24 +5013,24 @@ const deserializeAws_json1_1ListTagsForResourceOutput = (output, context) => {
5005
5013
  };
5006
5014
  const deserializeAws_json1_1ListWebhookItem = (output, context) => {
5007
5015
  return {
5008
- arn: (0, smithy_client_1.expectString)(output.arn),
5016
+ arn: smithy_client_1.expectString(output.arn),
5009
5017
  definition: output.definition !== undefined && output.definition !== null
5010
5018
  ? deserializeAws_json1_1WebhookDefinition(output.definition, context)
5011
5019
  : undefined,
5012
- errorCode: (0, smithy_client_1.expectString)(output.errorCode),
5013
- errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
5020
+ errorCode: smithy_client_1.expectString(output.errorCode),
5021
+ errorMessage: smithy_client_1.expectString(output.errorMessage),
5014
5022
  lastTriggered: output.lastTriggered !== undefined && output.lastTriggered !== null
5015
- ? new Date(Math.round(output.lastTriggered * 1000))
5023
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastTriggered)))
5016
5024
  : undefined,
5017
5025
  tags: output.tags !== undefined && output.tags !== null
5018
5026
  ? deserializeAws_json1_1TagList(output.tags, context)
5019
5027
  : undefined,
5020
- url: (0, smithy_client_1.expectString)(output.url),
5028
+ url: smithy_client_1.expectString(output.url),
5021
5029
  };
5022
5030
  };
5023
5031
  const deserializeAws_json1_1ListWebhooksOutput = (output, context) => {
5024
5032
  return {
5025
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5033
+ NextToken: smithy_client_1.expectString(output.NextToken),
5026
5034
  webhooks: output.webhooks !== undefined && output.webhooks !== null
5027
5035
  ? deserializeAws_json1_1WebhookList(output.webhooks, context)
5028
5036
  : undefined,
@@ -5030,12 +5038,12 @@ const deserializeAws_json1_1ListWebhooksOutput = (output, context) => {
5030
5038
  };
5031
5039
  const deserializeAws_json1_1NotLatestPipelineExecutionException = (output, context) => {
5032
5040
  return {
5033
- message: (0, smithy_client_1.expectString)(output.message),
5041
+ message: smithy_client_1.expectString(output.message),
5034
5042
  };
5035
5043
  };
5036
5044
  const deserializeAws_json1_1OutputArtifact = (output, context) => {
5037
5045
  return {
5038
- name: (0, smithy_client_1.expectString)(output.name),
5046
+ name: smithy_client_1.expectString(output.name),
5039
5047
  };
5040
5048
  };
5041
5049
  const deserializeAws_json1_1OutputArtifactList = (output, context) => {
@@ -5055,13 +5063,13 @@ const deserializeAws_json1_1OutputVariablesMap = (output, context) => {
5055
5063
  }
5056
5064
  return {
5057
5065
  ...acc,
5058
- [key]: (0, smithy_client_1.expectString)(value),
5066
+ [key]: smithy_client_1.expectString(value),
5059
5067
  };
5060
5068
  }, {});
5061
5069
  };
5062
5070
  const deserializeAws_json1_1OutputVariablesSizeExceededException = (output, context) => {
5063
5071
  return {
5064
- message: (0, smithy_client_1.expectString)(output.message),
5072
+ message: smithy_client_1.expectString(output.message),
5065
5073
  };
5066
5074
  };
5067
5075
  const deserializeAws_json1_1PipelineContext = (output, context) => {
@@ -5069,9 +5077,9 @@ const deserializeAws_json1_1PipelineContext = (output, context) => {
5069
5077
  action: output.action !== undefined && output.action !== null
5070
5078
  ? deserializeAws_json1_1ActionContext(output.action, context)
5071
5079
  : undefined,
5072
- pipelineArn: (0, smithy_client_1.expectString)(output.pipelineArn),
5073
- pipelineExecutionId: (0, smithy_client_1.expectString)(output.pipelineExecutionId),
5074
- pipelineName: (0, smithy_client_1.expectString)(output.pipelineName),
5080
+ pipelineArn: smithy_client_1.expectString(output.pipelineArn),
5081
+ pipelineExecutionId: smithy_client_1.expectString(output.pipelineExecutionId),
5082
+ pipelineName: smithy_client_1.expectString(output.pipelineName),
5075
5083
  stage: output.stage !== undefined && output.stage !== null
5076
5084
  ? deserializeAws_json1_1StageContext(output.stage, context)
5077
5085
  : undefined,
@@ -5085,12 +5093,12 @@ const deserializeAws_json1_1PipelineDeclaration = (output, context) => {
5085
5093
  artifactStores: output.artifactStores !== undefined && output.artifactStores !== null
5086
5094
  ? deserializeAws_json1_1ArtifactStoreMap(output.artifactStores, context)
5087
5095
  : undefined,
5088
- name: (0, smithy_client_1.expectString)(output.name),
5089
- roleArn: (0, smithy_client_1.expectString)(output.roleArn),
5096
+ name: smithy_client_1.expectString(output.name),
5097
+ roleArn: smithy_client_1.expectString(output.roleArn),
5090
5098
  stages: output.stages !== undefined && output.stages !== null
5091
5099
  ? deserializeAws_json1_1PipelineStageDeclarationList(output.stages, context)
5092
5100
  : undefined,
5093
- version: (0, smithy_client_1.expectInt32)(output.version),
5101
+ version: smithy_client_1.expectInt32(output.version),
5094
5102
  };
5095
5103
  };
5096
5104
  const deserializeAws_json1_1PipelineExecution = (output, context) => {
@@ -5098,36 +5106,36 @@ const deserializeAws_json1_1PipelineExecution = (output, context) => {
5098
5106
  artifactRevisions: output.artifactRevisions !== undefined && output.artifactRevisions !== null
5099
5107
  ? deserializeAws_json1_1ArtifactRevisionList(output.artifactRevisions, context)
5100
5108
  : undefined,
5101
- pipelineExecutionId: (0, smithy_client_1.expectString)(output.pipelineExecutionId),
5102
- pipelineName: (0, smithy_client_1.expectString)(output.pipelineName),
5103
- pipelineVersion: (0, smithy_client_1.expectInt32)(output.pipelineVersion),
5104
- status: (0, smithy_client_1.expectString)(output.status),
5105
- statusSummary: (0, smithy_client_1.expectString)(output.statusSummary),
5109
+ pipelineExecutionId: smithy_client_1.expectString(output.pipelineExecutionId),
5110
+ pipelineName: smithy_client_1.expectString(output.pipelineName),
5111
+ pipelineVersion: smithy_client_1.expectInt32(output.pipelineVersion),
5112
+ status: smithy_client_1.expectString(output.status),
5113
+ statusSummary: smithy_client_1.expectString(output.statusSummary),
5106
5114
  };
5107
5115
  };
5108
5116
  const deserializeAws_json1_1PipelineExecutionNotFoundException = (output, context) => {
5109
5117
  return {
5110
- message: (0, smithy_client_1.expectString)(output.message),
5118
+ message: smithy_client_1.expectString(output.message),
5111
5119
  };
5112
5120
  };
5113
5121
  const deserializeAws_json1_1PipelineExecutionNotStoppableException = (output, context) => {
5114
5122
  return {
5115
- message: (0, smithy_client_1.expectString)(output.message),
5123
+ message: smithy_client_1.expectString(output.message),
5116
5124
  };
5117
5125
  };
5118
5126
  const deserializeAws_json1_1PipelineExecutionSummary = (output, context) => {
5119
5127
  return {
5120
5128
  lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
5121
- ? new Date(Math.round(output.lastUpdateTime * 1000))
5129
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdateTime)))
5122
5130
  : undefined,
5123
- pipelineExecutionId: (0, smithy_client_1.expectString)(output.pipelineExecutionId),
5131
+ pipelineExecutionId: smithy_client_1.expectString(output.pipelineExecutionId),
5124
5132
  sourceRevisions: output.sourceRevisions !== undefined && output.sourceRevisions !== null
5125
5133
  ? deserializeAws_json1_1SourceRevisionList(output.sourceRevisions, context)
5126
5134
  : undefined,
5127
5135
  startTime: output.startTime !== undefined && output.startTime !== null
5128
- ? new Date(Math.round(output.startTime * 1000))
5136
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
5129
5137
  : undefined,
5130
- status: (0, smithy_client_1.expectString)(output.status),
5138
+ status: smithy_client_1.expectString(output.status),
5131
5139
  stopTrigger: output.stopTrigger !== undefined && output.stopTrigger !== null
5132
5140
  ? deserializeAws_json1_1StopExecutionTrigger(output.stopTrigger, context)
5133
5141
  : undefined,
@@ -5158,19 +5166,23 @@ const deserializeAws_json1_1PipelineList = (output, context) => {
5158
5166
  };
5159
5167
  const deserializeAws_json1_1PipelineMetadata = (output, context) => {
5160
5168
  return {
5161
- created: output.created !== undefined && output.created !== null ? new Date(Math.round(output.created * 1000)) : undefined,
5162
- pipelineArn: (0, smithy_client_1.expectString)(output.pipelineArn),
5163
- updated: output.updated !== undefined && output.updated !== null ? new Date(Math.round(output.updated * 1000)) : undefined,
5169
+ created: output.created !== undefined && output.created !== null
5170
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
5171
+ : undefined,
5172
+ pipelineArn: smithy_client_1.expectString(output.pipelineArn),
5173
+ updated: output.updated !== undefined && output.updated !== null
5174
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updated)))
5175
+ : undefined,
5164
5176
  };
5165
5177
  };
5166
5178
  const deserializeAws_json1_1PipelineNameInUseException = (output, context) => {
5167
5179
  return {
5168
- message: (0, smithy_client_1.expectString)(output.message),
5180
+ message: smithy_client_1.expectString(output.message),
5169
5181
  };
5170
5182
  };
5171
5183
  const deserializeAws_json1_1PipelineNotFoundException = (output, context) => {
5172
5184
  return {
5173
- message: (0, smithy_client_1.expectString)(output.message),
5185
+ message: smithy_client_1.expectString(output.message),
5174
5186
  };
5175
5187
  };
5176
5188
  const deserializeAws_json1_1PipelineStageDeclarationList = (output, context) => {
@@ -5185,15 +5197,19 @@ const deserializeAws_json1_1PipelineStageDeclarationList = (output, context) =>
5185
5197
  };
5186
5198
  const deserializeAws_json1_1PipelineSummary = (output, context) => {
5187
5199
  return {
5188
- created: output.created !== undefined && output.created !== null ? new Date(Math.round(output.created * 1000)) : undefined,
5189
- name: (0, smithy_client_1.expectString)(output.name),
5190
- updated: output.updated !== undefined && output.updated !== null ? new Date(Math.round(output.updated * 1000)) : undefined,
5191
- version: (0, smithy_client_1.expectInt32)(output.version),
5200
+ created: output.created !== undefined && output.created !== null
5201
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
5202
+ : undefined,
5203
+ name: smithy_client_1.expectString(output.name),
5204
+ updated: output.updated !== undefined && output.updated !== null
5205
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updated)))
5206
+ : undefined,
5207
+ version: smithy_client_1.expectInt32(output.version),
5192
5208
  };
5193
5209
  };
5194
5210
  const deserializeAws_json1_1PipelineVersionNotFoundException = (output, context) => {
5195
5211
  return {
5196
- message: (0, smithy_client_1.expectString)(output.message),
5212
+ message: smithy_client_1.expectString(output.message),
5197
5213
  };
5198
5214
  };
5199
5215
  const deserializeAws_json1_1PollForJobsOutput = (output, context) => {
@@ -5217,7 +5233,7 @@ const deserializeAws_json1_1PollingAccountList = (output, context) => {
5217
5233
  if (entry === null) {
5218
5234
  return null;
5219
5235
  }
5220
- return (0, smithy_client_1.expectString)(entry);
5236
+ return smithy_client_1.expectString(entry);
5221
5237
  });
5222
5238
  };
5223
5239
  const deserializeAws_json1_1PollingServicePrincipalList = (output, context) => {
@@ -5227,19 +5243,19 @@ const deserializeAws_json1_1PollingServicePrincipalList = (output, context) => {
5227
5243
  if (entry === null) {
5228
5244
  return null;
5229
5245
  }
5230
- return (0, smithy_client_1.expectString)(entry);
5246
+ return smithy_client_1.expectString(entry);
5231
5247
  });
5232
5248
  };
5233
5249
  const deserializeAws_json1_1PutActionRevisionOutput = (output, context) => {
5234
5250
  return {
5235
- newRevision: (0, smithy_client_1.expectBoolean)(output.newRevision),
5236
- pipelineExecutionId: (0, smithy_client_1.expectString)(output.pipelineExecutionId),
5251
+ newRevision: smithy_client_1.expectBoolean(output.newRevision),
5252
+ pipelineExecutionId: smithy_client_1.expectString(output.pipelineExecutionId),
5237
5253
  };
5238
5254
  };
5239
5255
  const deserializeAws_json1_1PutApprovalResultOutput = (output, context) => {
5240
5256
  return {
5241
5257
  approvedAt: output.approvedAt !== undefined && output.approvedAt !== null
5242
- ? new Date(Math.round(output.approvedAt * 1000))
5258
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.approvedAt)))
5243
5259
  : undefined,
5244
5260
  };
5245
5261
  };
@@ -5255,7 +5271,7 @@ const deserializeAws_json1_1RegisterWebhookWithThirdPartyOutput = (output, conte
5255
5271
  };
5256
5272
  const deserializeAws_json1_1RequestFailedException = (output, context) => {
5257
5273
  return {
5258
- message: (0, smithy_client_1.expectString)(output.message),
5274
+ message: smithy_client_1.expectString(output.message),
5259
5275
  };
5260
5276
  };
5261
5277
  const deserializeAws_json1_1ResolvedActionConfigurationMap = (output, context) => {
@@ -5265,38 +5281,38 @@ const deserializeAws_json1_1ResolvedActionConfigurationMap = (output, context) =
5265
5281
  }
5266
5282
  return {
5267
5283
  ...acc,
5268
- [key]: (0, smithy_client_1.expectString)(value),
5284
+ [key]: smithy_client_1.expectString(value),
5269
5285
  };
5270
5286
  }, {});
5271
5287
  };
5272
5288
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
5273
5289
  return {
5274
- message: (0, smithy_client_1.expectString)(output.message),
5290
+ message: smithy_client_1.expectString(output.message),
5275
5291
  };
5276
5292
  };
5277
5293
  const deserializeAws_json1_1RetryStageExecutionOutput = (output, context) => {
5278
5294
  return {
5279
- pipelineExecutionId: (0, smithy_client_1.expectString)(output.pipelineExecutionId),
5295
+ pipelineExecutionId: smithy_client_1.expectString(output.pipelineExecutionId),
5280
5296
  };
5281
5297
  };
5282
5298
  const deserializeAws_json1_1S3ArtifactLocation = (output, context) => {
5283
5299
  return {
5284
- bucketName: (0, smithy_client_1.expectString)(output.bucketName),
5285
- objectKey: (0, smithy_client_1.expectString)(output.objectKey),
5300
+ bucketName: smithy_client_1.expectString(output.bucketName),
5301
+ objectKey: smithy_client_1.expectString(output.objectKey),
5286
5302
  };
5287
5303
  };
5288
5304
  const deserializeAws_json1_1S3Location = (output, context) => {
5289
5305
  return {
5290
- bucket: (0, smithy_client_1.expectString)(output.bucket),
5291
- key: (0, smithy_client_1.expectString)(output.key),
5306
+ bucket: smithy_client_1.expectString(output.bucket),
5307
+ key: smithy_client_1.expectString(output.key),
5292
5308
  };
5293
5309
  };
5294
5310
  const deserializeAws_json1_1SourceRevision = (output, context) => {
5295
5311
  return {
5296
- actionName: (0, smithy_client_1.expectString)(output.actionName),
5297
- revisionId: (0, smithy_client_1.expectString)(output.revisionId),
5298
- revisionSummary: (0, smithy_client_1.expectString)(output.revisionSummary),
5299
- revisionUrl: (0, smithy_client_1.expectString)(output.revisionUrl),
5312
+ actionName: smithy_client_1.expectString(output.actionName),
5313
+ revisionId: smithy_client_1.expectString(output.revisionId),
5314
+ revisionSummary: smithy_client_1.expectString(output.revisionSummary),
5315
+ revisionUrl: smithy_client_1.expectString(output.revisionUrl),
5300
5316
  };
5301
5317
  };
5302
5318
  const deserializeAws_json1_1SourceRevisionList = (output, context) => {
@@ -5331,7 +5347,7 @@ const deserializeAws_json1_1StageBlockerDeclarationList = (output, context) => {
5331
5347
  };
5332
5348
  const deserializeAws_json1_1StageContext = (output, context) => {
5333
5349
  return {
5334
- name: (0, smithy_client_1.expectString)(output.name),
5350
+ name: smithy_client_1.expectString(output.name),
5335
5351
  };
5336
5352
  };
5337
5353
  const deserializeAws_json1_1StageDeclaration = (output, context) => {
@@ -5342,23 +5358,23 @@ const deserializeAws_json1_1StageDeclaration = (output, context) => {
5342
5358
  blockers: output.blockers !== undefined && output.blockers !== null
5343
5359
  ? deserializeAws_json1_1StageBlockerDeclarationList(output.blockers, context)
5344
5360
  : undefined,
5345
- name: (0, smithy_client_1.expectString)(output.name),
5361
+ name: smithy_client_1.expectString(output.name),
5346
5362
  };
5347
5363
  };
5348
5364
  const deserializeAws_json1_1StageExecution = (output, context) => {
5349
5365
  return {
5350
- pipelineExecutionId: (0, smithy_client_1.expectString)(output.pipelineExecutionId),
5351
- status: (0, smithy_client_1.expectString)(output.status),
5366
+ pipelineExecutionId: smithy_client_1.expectString(output.pipelineExecutionId),
5367
+ status: smithy_client_1.expectString(output.status),
5352
5368
  };
5353
5369
  };
5354
5370
  const deserializeAws_json1_1StageNotFoundException = (output, context) => {
5355
5371
  return {
5356
- message: (0, smithy_client_1.expectString)(output.message),
5372
+ message: smithy_client_1.expectString(output.message),
5357
5373
  };
5358
5374
  };
5359
5375
  const deserializeAws_json1_1StageNotRetryableException = (output, context) => {
5360
5376
  return {
5361
- message: (0, smithy_client_1.expectString)(output.message),
5377
+ message: smithy_client_1.expectString(output.message),
5362
5378
  };
5363
5379
  };
5364
5380
  const deserializeAws_json1_1StageState = (output, context) => {
@@ -5375,7 +5391,7 @@ const deserializeAws_json1_1StageState = (output, context) => {
5375
5391
  latestExecution: output.latestExecution !== undefined && output.latestExecution !== null
5376
5392
  ? deserializeAws_json1_1StageExecution(output.latestExecution, context)
5377
5393
  : undefined,
5378
- stageName: (0, smithy_client_1.expectString)(output.stageName),
5394
+ stageName: smithy_client_1.expectString(output.stageName),
5379
5395
  };
5380
5396
  };
5381
5397
  const deserializeAws_json1_1StageStateList = (output, context) => {
@@ -5390,23 +5406,23 @@ const deserializeAws_json1_1StageStateList = (output, context) => {
5390
5406
  };
5391
5407
  const deserializeAws_json1_1StartPipelineExecutionOutput = (output, context) => {
5392
5408
  return {
5393
- pipelineExecutionId: (0, smithy_client_1.expectString)(output.pipelineExecutionId),
5409
+ pipelineExecutionId: smithy_client_1.expectString(output.pipelineExecutionId),
5394
5410
  };
5395
5411
  };
5396
5412
  const deserializeAws_json1_1StopExecutionTrigger = (output, context) => {
5397
5413
  return {
5398
- reason: (0, smithy_client_1.expectString)(output.reason),
5414
+ reason: smithy_client_1.expectString(output.reason),
5399
5415
  };
5400
5416
  };
5401
5417
  const deserializeAws_json1_1StopPipelineExecutionOutput = (output, context) => {
5402
5418
  return {
5403
- pipelineExecutionId: (0, smithy_client_1.expectString)(output.pipelineExecutionId),
5419
+ pipelineExecutionId: smithy_client_1.expectString(output.pipelineExecutionId),
5404
5420
  };
5405
5421
  };
5406
5422
  const deserializeAws_json1_1Tag = (output, context) => {
5407
5423
  return {
5408
- key: (0, smithy_client_1.expectString)(output.key),
5409
- value: (0, smithy_client_1.expectString)(output.value),
5424
+ key: smithy_client_1.expectString(output.key),
5425
+ value: smithy_client_1.expectString(output.value),
5410
5426
  };
5411
5427
  };
5412
5428
  const deserializeAws_json1_1TagList = (output, context) => {
@@ -5424,8 +5440,8 @@ const deserializeAws_json1_1TagResourceOutput = (output, context) => {
5424
5440
  };
5425
5441
  const deserializeAws_json1_1ThirdPartyJob = (output, context) => {
5426
5442
  return {
5427
- clientId: (0, smithy_client_1.expectString)(output.clientId),
5428
- jobId: (0, smithy_client_1.expectString)(output.jobId),
5443
+ clientId: smithy_client_1.expectString(output.clientId),
5444
+ jobId: smithy_client_1.expectString(output.jobId),
5429
5445
  };
5430
5446
  };
5431
5447
  const deserializeAws_json1_1ThirdPartyJobData = (output, context) => {
@@ -5439,7 +5455,7 @@ const deserializeAws_json1_1ThirdPartyJobData = (output, context) => {
5439
5455
  artifactCredentials: output.artifactCredentials !== undefined && output.artifactCredentials !== null
5440
5456
  ? deserializeAws_json1_1AWSSessionCredentials(output.artifactCredentials, context)
5441
5457
  : undefined,
5442
- continuationToken: (0, smithy_client_1.expectString)(output.continuationToken),
5458
+ continuationToken: smithy_client_1.expectString(output.continuationToken),
5443
5459
  encryptionKey: output.encryptionKey !== undefined && output.encryptionKey !== null
5444
5460
  ? deserializeAws_json1_1EncryptionKey(output.encryptionKey, context)
5445
5461
  : undefined,
@@ -5459,8 +5475,8 @@ const deserializeAws_json1_1ThirdPartyJobDetails = (output, context) => {
5459
5475
  data: output.data !== undefined && output.data !== null
5460
5476
  ? deserializeAws_json1_1ThirdPartyJobData(output.data, context)
5461
5477
  : undefined,
5462
- id: (0, smithy_client_1.expectString)(output.id),
5463
- nonce: (0, smithy_client_1.expectString)(output.nonce),
5478
+ id: smithy_client_1.expectString(output.id),
5479
+ nonce: smithy_client_1.expectString(output.nonce),
5464
5480
  };
5465
5481
  };
5466
5482
  const deserializeAws_json1_1ThirdPartyJobList = (output, context) => {
@@ -5475,17 +5491,17 @@ const deserializeAws_json1_1ThirdPartyJobList = (output, context) => {
5475
5491
  };
5476
5492
  const deserializeAws_json1_1TooManyTagsException = (output, context) => {
5477
5493
  return {
5478
- message: (0, smithy_client_1.expectString)(output.message),
5494
+ message: smithy_client_1.expectString(output.message),
5479
5495
  };
5480
5496
  };
5481
5497
  const deserializeAws_json1_1TransitionState = (output, context) => {
5482
5498
  return {
5483
- disabledReason: (0, smithy_client_1.expectString)(output.disabledReason),
5484
- enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
5499
+ disabledReason: smithy_client_1.expectString(output.disabledReason),
5500
+ enabled: smithy_client_1.expectBoolean(output.enabled),
5485
5501
  lastChangedAt: output.lastChangedAt !== undefined && output.lastChangedAt !== null
5486
- ? new Date(Math.round(output.lastChangedAt * 1000))
5502
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastChangedAt)))
5487
5503
  : undefined,
5488
- lastChangedBy: (0, smithy_client_1.expectString)(output.lastChangedBy),
5504
+ lastChangedBy: smithy_client_1.expectString(output.lastChangedBy),
5489
5505
  };
5490
5506
  };
5491
5507
  const deserializeAws_json1_1UntagResourceOutput = (output, context) => {
@@ -5500,33 +5516,33 @@ const deserializeAws_json1_1UpdatePipelineOutput = (output, context) => {
5500
5516
  };
5501
5517
  const deserializeAws_json1_1ValidationException = (output, context) => {
5502
5518
  return {
5503
- message: (0, smithy_client_1.expectString)(output.message),
5519
+ message: smithy_client_1.expectString(output.message),
5504
5520
  };
5505
5521
  };
5506
5522
  const deserializeAws_json1_1WebhookAuthConfiguration = (output, context) => {
5507
5523
  return {
5508
- AllowedIPRange: (0, smithy_client_1.expectString)(output.AllowedIPRange),
5509
- SecretToken: (0, smithy_client_1.expectString)(output.SecretToken),
5524
+ AllowedIPRange: smithy_client_1.expectString(output.AllowedIPRange),
5525
+ SecretToken: smithy_client_1.expectString(output.SecretToken),
5510
5526
  };
5511
5527
  };
5512
5528
  const deserializeAws_json1_1WebhookDefinition = (output, context) => {
5513
5529
  return {
5514
- authentication: (0, smithy_client_1.expectString)(output.authentication),
5530
+ authentication: smithy_client_1.expectString(output.authentication),
5515
5531
  authenticationConfiguration: output.authenticationConfiguration !== undefined && output.authenticationConfiguration !== null
5516
5532
  ? deserializeAws_json1_1WebhookAuthConfiguration(output.authenticationConfiguration, context)
5517
5533
  : undefined,
5518
5534
  filters: output.filters !== undefined && output.filters !== null
5519
5535
  ? deserializeAws_json1_1WebhookFilters(output.filters, context)
5520
5536
  : undefined,
5521
- name: (0, smithy_client_1.expectString)(output.name),
5522
- targetAction: (0, smithy_client_1.expectString)(output.targetAction),
5523
- targetPipeline: (0, smithy_client_1.expectString)(output.targetPipeline),
5537
+ name: smithy_client_1.expectString(output.name),
5538
+ targetAction: smithy_client_1.expectString(output.targetAction),
5539
+ targetPipeline: smithy_client_1.expectString(output.targetPipeline),
5524
5540
  };
5525
5541
  };
5526
5542
  const deserializeAws_json1_1WebhookFilterRule = (output, context) => {
5527
5543
  return {
5528
- jsonPath: (0, smithy_client_1.expectString)(output.jsonPath),
5529
- matchEquals: (0, smithy_client_1.expectString)(output.matchEquals),
5544
+ jsonPath: smithy_client_1.expectString(output.jsonPath),
5545
+ matchEquals: smithy_client_1.expectString(output.matchEquals),
5530
5546
  };
5531
5547
  };
5532
5548
  const deserializeAws_json1_1WebhookFilters = (output, context) => {