@aws-sdk/client-codepipeline 3.489.0 → 3.495.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 (59) hide show
  1. package/dist-cjs/CodePipeline.js +1 -89
  2. package/dist-cjs/CodePipelineClient.js +1 -43
  3. package/dist-cjs/commands/AcknowledgeJobCommand.js +1 -28
  4. package/dist-cjs/commands/AcknowledgeThirdPartyJobCommand.js +1 -28
  5. package/dist-cjs/commands/CreateCustomActionTypeCommand.js +1 -28
  6. package/dist-cjs/commands/CreatePipelineCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteCustomActionTypeCommand.js +1 -28
  8. package/dist-cjs/commands/DeletePipelineCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteWebhookCommand.js +1 -28
  10. package/dist-cjs/commands/DeregisterWebhookWithThirdPartyCommand.js +1 -28
  11. package/dist-cjs/commands/DisableStageTransitionCommand.js +1 -28
  12. package/dist-cjs/commands/EnableStageTransitionCommand.js +1 -28
  13. package/dist-cjs/commands/GetActionTypeCommand.js +1 -28
  14. package/dist-cjs/commands/GetJobDetailsCommand.js +1 -29
  15. package/dist-cjs/commands/GetPipelineCommand.js +1 -28
  16. package/dist-cjs/commands/GetPipelineExecutionCommand.js +1 -28
  17. package/dist-cjs/commands/GetPipelineStateCommand.js +1 -28
  18. package/dist-cjs/commands/GetThirdPartyJobDetailsCommand.js +1 -29
  19. package/dist-cjs/commands/ListActionExecutionsCommand.js +1 -28
  20. package/dist-cjs/commands/ListActionTypesCommand.js +1 -28
  21. package/dist-cjs/commands/ListPipelineExecutionsCommand.js +1 -28
  22. package/dist-cjs/commands/ListPipelinesCommand.js +1 -28
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  24. package/dist-cjs/commands/ListWebhooksCommand.js +1 -28
  25. package/dist-cjs/commands/PollForJobsCommand.js +1 -29
  26. package/dist-cjs/commands/PollForThirdPartyJobsCommand.js +1 -28
  27. package/dist-cjs/commands/PutActionRevisionCommand.js +1 -28
  28. package/dist-cjs/commands/PutApprovalResultCommand.js +1 -28
  29. package/dist-cjs/commands/PutJobFailureResultCommand.js +1 -28
  30. package/dist-cjs/commands/PutJobSuccessResultCommand.js +1 -28
  31. package/dist-cjs/commands/PutThirdPartyJobFailureResultCommand.js +1 -28
  32. package/dist-cjs/commands/PutThirdPartyJobSuccessResultCommand.js +1 -28
  33. package/dist-cjs/commands/PutWebhookCommand.js +1 -28
  34. package/dist-cjs/commands/RegisterWebhookWithThirdPartyCommand.js +1 -28
  35. package/dist-cjs/commands/RetryStageExecutionCommand.js +1 -28
  36. package/dist-cjs/commands/StartPipelineExecutionCommand.js +1 -28
  37. package/dist-cjs/commands/StopPipelineExecutionCommand.js +1 -28
  38. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  39. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  40. package/dist-cjs/commands/UpdateActionTypeCommand.js +1 -28
  41. package/dist-cjs/commands/UpdatePipelineCommand.js +1 -28
  42. package/dist-cjs/commands/index.js +1 -42
  43. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  44. package/dist-cjs/extensionConfiguration.js +1 -2
  45. package/dist-cjs/index.js +4299 -11
  46. package/dist-cjs/models/CodePipelineServiceException.js +1 -12
  47. package/dist-cjs/models/index.js +1 -4
  48. package/dist-cjs/models/models_0.js +1 -633
  49. package/dist-cjs/pagination/Interfaces.js +1 -2
  50. package/dist-cjs/pagination/ListActionExecutionsPaginator.js +1 -7
  51. package/dist-cjs/pagination/ListActionTypesPaginator.js +1 -7
  52. package/dist-cjs/pagination/ListPipelineExecutionsPaginator.js +1 -7
  53. package/dist-cjs/pagination/ListPipelinesPaginator.js +1 -7
  54. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +1 -7
  55. package/dist-cjs/pagination/ListWebhooksPaginator.js +1 -7
  56. package/dist-cjs/pagination/index.js +1 -10
  57. package/dist-cjs/protocols/Aws_json1_1.js +1 -2528
  58. package/dist-cjs/runtimeExtensions.js +1 -22
  59. package/package.json +40 -40
package/dist-cjs/index.js CHANGED
@@ -1,12 +1,4300 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CodePipelineServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./CodePipelineClient"), exports);
6
- tslib_1.__exportStar(require("./CodePipeline"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./models"), exports);
10
- require("@aws-sdk/util-endpoints");
11
- var CodePipelineServiceException_1 = require("./models/CodePipelineServiceException");
12
- Object.defineProperty(exports, "CodePipelineServiceException", { enumerable: true, get: function () { return CodePipelineServiceException_1.CodePipelineServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ AWSSessionCredentialsFilterSensitiveLog: () => AWSSessionCredentialsFilterSensitiveLog,
25
+ AcknowledgeJobCommand: () => AcknowledgeJobCommand,
26
+ AcknowledgeThirdPartyJobCommand: () => AcknowledgeThirdPartyJobCommand,
27
+ ActionCategory: () => ActionCategory,
28
+ ActionConfigurationPropertyType: () => ActionConfigurationPropertyType,
29
+ ActionExecutionStatus: () => ActionExecutionStatus,
30
+ ActionNotFoundException: () => ActionNotFoundException,
31
+ ActionOwner: () => ActionOwner,
32
+ ActionTypeNotFoundException: () => ActionTypeNotFoundException,
33
+ ApprovalAlreadyCompletedException: () => ApprovalAlreadyCompletedException,
34
+ ApprovalStatus: () => ApprovalStatus,
35
+ ArtifactLocationType: () => ArtifactLocationType,
36
+ ArtifactStoreType: () => ArtifactStoreType,
37
+ BlockerType: () => BlockerType,
38
+ CodePipeline: () => CodePipeline,
39
+ CodePipelineClient: () => CodePipelineClient,
40
+ CodePipelineServiceException: () => CodePipelineServiceException,
41
+ ConcurrentModificationException: () => ConcurrentModificationException,
42
+ ConflictException: () => ConflictException,
43
+ CreateCustomActionTypeCommand: () => CreateCustomActionTypeCommand,
44
+ CreatePipelineCommand: () => CreatePipelineCommand,
45
+ DeleteCustomActionTypeCommand: () => DeleteCustomActionTypeCommand,
46
+ DeletePipelineCommand: () => DeletePipelineCommand,
47
+ DeleteWebhookCommand: () => DeleteWebhookCommand,
48
+ DeregisterWebhookWithThirdPartyCommand: () => DeregisterWebhookWithThirdPartyCommand,
49
+ DisableStageTransitionCommand: () => DisableStageTransitionCommand,
50
+ DuplicatedStopRequestException: () => DuplicatedStopRequestException,
51
+ EnableStageTransitionCommand: () => EnableStageTransitionCommand,
52
+ EncryptionKeyType: () => EncryptionKeyType,
53
+ ExecutorType: () => ExecutorType,
54
+ FailureType: () => FailureType,
55
+ GetActionTypeCommand: () => GetActionTypeCommand,
56
+ GetJobDetailsCommand: () => GetJobDetailsCommand,
57
+ GetJobDetailsOutputFilterSensitiveLog: () => GetJobDetailsOutputFilterSensitiveLog,
58
+ GetPipelineCommand: () => GetPipelineCommand,
59
+ GetPipelineExecutionCommand: () => GetPipelineExecutionCommand,
60
+ GetPipelineStateCommand: () => GetPipelineStateCommand,
61
+ GetThirdPartyJobDetailsCommand: () => GetThirdPartyJobDetailsCommand,
62
+ GetThirdPartyJobDetailsOutputFilterSensitiveLog: () => GetThirdPartyJobDetailsOutputFilterSensitiveLog,
63
+ InvalidActionDeclarationException: () => InvalidActionDeclarationException,
64
+ InvalidApprovalTokenException: () => InvalidApprovalTokenException,
65
+ InvalidArnException: () => InvalidArnException,
66
+ InvalidBlockerDeclarationException: () => InvalidBlockerDeclarationException,
67
+ InvalidClientTokenException: () => InvalidClientTokenException,
68
+ InvalidJobException: () => InvalidJobException,
69
+ InvalidJobStateException: () => InvalidJobStateException,
70
+ InvalidNextTokenException: () => InvalidNextTokenException,
71
+ InvalidNonceException: () => InvalidNonceException,
72
+ InvalidStageDeclarationException: () => InvalidStageDeclarationException,
73
+ InvalidStructureException: () => InvalidStructureException,
74
+ InvalidTagsException: () => InvalidTagsException,
75
+ InvalidWebhookAuthenticationParametersException: () => InvalidWebhookAuthenticationParametersException,
76
+ InvalidWebhookFilterPatternException: () => InvalidWebhookFilterPatternException,
77
+ JobDataFilterSensitiveLog: () => JobDataFilterSensitiveLog,
78
+ JobDetailsFilterSensitiveLog: () => JobDetailsFilterSensitiveLog,
79
+ JobFilterSensitiveLog: () => JobFilterSensitiveLog,
80
+ JobNotFoundException: () => JobNotFoundException,
81
+ JobStatus: () => JobStatus,
82
+ LimitExceededException: () => LimitExceededException,
83
+ ListActionExecutionsCommand: () => ListActionExecutionsCommand,
84
+ ListActionTypesCommand: () => ListActionTypesCommand,
85
+ ListPipelineExecutionsCommand: () => ListPipelineExecutionsCommand,
86
+ ListPipelinesCommand: () => ListPipelinesCommand,
87
+ ListTagsForResourceCommand: () => ListTagsForResourceCommand,
88
+ ListWebhooksCommand: () => ListWebhooksCommand,
89
+ NotLatestPipelineExecutionException: () => NotLatestPipelineExecutionException,
90
+ OutputVariablesSizeExceededException: () => OutputVariablesSizeExceededException,
91
+ PipelineExecutionNotFoundException: () => PipelineExecutionNotFoundException,
92
+ PipelineExecutionNotStoppableException: () => PipelineExecutionNotStoppableException,
93
+ PipelineExecutionStatus: () => PipelineExecutionStatus,
94
+ PipelineNameInUseException: () => PipelineNameInUseException,
95
+ PipelineNotFoundException: () => PipelineNotFoundException,
96
+ PipelineTriggerProviderType: () => PipelineTriggerProviderType,
97
+ PipelineType: () => PipelineType,
98
+ PipelineVersionNotFoundException: () => PipelineVersionNotFoundException,
99
+ PollForJobsCommand: () => PollForJobsCommand,
100
+ PollForJobsOutputFilterSensitiveLog: () => PollForJobsOutputFilterSensitiveLog,
101
+ PollForThirdPartyJobsCommand: () => PollForThirdPartyJobsCommand,
102
+ PutActionRevisionCommand: () => PutActionRevisionCommand,
103
+ PutApprovalResultCommand: () => PutApprovalResultCommand,
104
+ PutJobFailureResultCommand: () => PutJobFailureResultCommand,
105
+ PutJobSuccessResultCommand: () => PutJobSuccessResultCommand,
106
+ PutThirdPartyJobFailureResultCommand: () => PutThirdPartyJobFailureResultCommand,
107
+ PutThirdPartyJobSuccessResultCommand: () => PutThirdPartyJobSuccessResultCommand,
108
+ PutWebhookCommand: () => PutWebhookCommand,
109
+ RegisterWebhookWithThirdPartyCommand: () => RegisterWebhookWithThirdPartyCommand,
110
+ RequestFailedException: () => RequestFailedException,
111
+ ResourceNotFoundException: () => ResourceNotFoundException,
112
+ RetryStageExecutionCommand: () => RetryStageExecutionCommand,
113
+ SourceRevisionType: () => SourceRevisionType,
114
+ StageExecutionStatus: () => StageExecutionStatus,
115
+ StageNotFoundException: () => StageNotFoundException,
116
+ StageNotRetryableException: () => StageNotRetryableException,
117
+ StageRetryMode: () => StageRetryMode,
118
+ StageTransitionType: () => StageTransitionType,
119
+ StartPipelineExecutionCommand: () => StartPipelineExecutionCommand,
120
+ StopPipelineExecutionCommand: () => StopPipelineExecutionCommand,
121
+ TagResourceCommand: () => TagResourceCommand,
122
+ ThirdPartyJobDataFilterSensitiveLog: () => ThirdPartyJobDataFilterSensitiveLog,
123
+ ThirdPartyJobDetailsFilterSensitiveLog: () => ThirdPartyJobDetailsFilterSensitiveLog,
124
+ TooManyTagsException: () => TooManyTagsException,
125
+ TriggerType: () => TriggerType,
126
+ UntagResourceCommand: () => UntagResourceCommand,
127
+ UpdateActionTypeCommand: () => UpdateActionTypeCommand,
128
+ UpdatePipelineCommand: () => UpdatePipelineCommand,
129
+ ValidationException: () => ValidationException,
130
+ WebhookAuthenticationType: () => WebhookAuthenticationType,
131
+ WebhookNotFoundException: () => WebhookNotFoundException,
132
+ __Client: () => import_smithy_client.Client,
133
+ paginateListActionExecutions: () => paginateListActionExecutions,
134
+ paginateListActionTypes: () => paginateListActionTypes,
135
+ paginateListPipelineExecutions: () => paginateListPipelineExecutions,
136
+ paginateListPipelines: () => paginateListPipelines,
137
+ paginateListTagsForResource: () => paginateListTagsForResource,
138
+ paginateListWebhooks: () => paginateListWebhooks
139
+ });
140
+ module.exports = __toCommonJS(src_exports);
141
+
142
+ // src/CodePipelineClient.ts
143
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
144
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
145
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
146
+ var import_middleware_signing = require("@aws-sdk/middleware-signing");
147
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
148
+ var import_config_resolver = require("@smithy/config-resolver");
149
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
150
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
151
+ var import_middleware_retry = require("@smithy/middleware-retry");
152
+
153
+
154
+ // src/endpoint/EndpointParameters.ts
155
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
156
+ return {
157
+ ...options,
158
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
159
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
160
+ defaultSigningName: "codepipeline"
161
+ };
162
+ }, "resolveClientEndpointParameters");
163
+ var commonParams = {
164
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
165
+ Endpoint: { type: "builtInParams", name: "endpoint" },
166
+ Region: { type: "builtInParams", name: "region" },
167
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
168
+ };
169
+
170
+ // src/CodePipelineClient.ts
171
+ var import_runtimeConfig = require("././runtimeConfig");
172
+
173
+ // src/runtimeExtensions.ts
174
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
175
+ var import_protocol_http = require("@smithy/protocol-http");
176
+ var import_smithy_client = require("@smithy/smithy-client");
177
+ var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
178
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
179
+ const extensionConfiguration = {
180
+ ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
181
+ ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
182
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
183
+ };
184
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
185
+ return {
186
+ ...runtimeConfig,
187
+ ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
188
+ ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
189
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
190
+ };
191
+ }, "resolveRuntimeExtensions");
192
+
193
+ // src/CodePipelineClient.ts
194
+ var _CodePipelineClient = class _CodePipelineClient extends import_smithy_client.Client {
195
+ constructor(...[configuration]) {
196
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
197
+ const _config_1 = resolveClientEndpointParameters(_config_0);
198
+ const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
199
+ const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
200
+ const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
201
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
202
+ const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
203
+ const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
204
+ const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
205
+ super(_config_8);
206
+ this.config = _config_8;
207
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
208
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
209
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
210
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
211
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
212
+ this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
213
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
214
+ }
215
+ /**
216
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
217
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
218
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
219
+ */
220
+ destroy() {
221
+ super.destroy();
222
+ }
223
+ };
224
+ __name(_CodePipelineClient, "CodePipelineClient");
225
+ var CodePipelineClient = _CodePipelineClient;
226
+
227
+ // src/CodePipeline.ts
228
+
229
+
230
+ // src/commands/AcknowledgeJobCommand.ts
231
+
232
+ var import_middleware_serde = require("@smithy/middleware-serde");
233
+
234
+ var import_types = require("@smithy/types");
235
+
236
+ // src/protocols/Aws_json1_1.ts
237
+
238
+
239
+ var import_uuid = require("uuid");
240
+
241
+ // src/models/CodePipelineServiceException.ts
242
+
243
+ var _CodePipelineServiceException = class _CodePipelineServiceException extends import_smithy_client.ServiceException {
244
+ /**
245
+ * @internal
246
+ */
247
+ constructor(options) {
248
+ super(options);
249
+ Object.setPrototypeOf(this, _CodePipelineServiceException.prototype);
250
+ }
251
+ };
252
+ __name(_CodePipelineServiceException, "CodePipelineServiceException");
253
+ var CodePipelineServiceException = _CodePipelineServiceException;
254
+
255
+ // src/models/models_0.ts
256
+
257
+ var JobStatus = {
258
+ Created: "Created",
259
+ Dispatched: "Dispatched",
260
+ Failed: "Failed",
261
+ InProgress: "InProgress",
262
+ Queued: "Queued",
263
+ Succeeded: "Succeeded",
264
+ TimedOut: "TimedOut"
265
+ };
266
+ var _InvalidNonceException = class _InvalidNonceException extends CodePipelineServiceException {
267
+ /**
268
+ * @internal
269
+ */
270
+ constructor(opts) {
271
+ super({
272
+ name: "InvalidNonceException",
273
+ $fault: "client",
274
+ ...opts
275
+ });
276
+ this.name = "InvalidNonceException";
277
+ this.$fault = "client";
278
+ Object.setPrototypeOf(this, _InvalidNonceException.prototype);
279
+ }
280
+ };
281
+ __name(_InvalidNonceException, "InvalidNonceException");
282
+ var InvalidNonceException = _InvalidNonceException;
283
+ var _JobNotFoundException = class _JobNotFoundException extends CodePipelineServiceException {
284
+ /**
285
+ * @internal
286
+ */
287
+ constructor(opts) {
288
+ super({
289
+ name: "JobNotFoundException",
290
+ $fault: "client",
291
+ ...opts
292
+ });
293
+ this.name = "JobNotFoundException";
294
+ this.$fault = "client";
295
+ Object.setPrototypeOf(this, _JobNotFoundException.prototype);
296
+ }
297
+ };
298
+ __name(_JobNotFoundException, "JobNotFoundException");
299
+ var JobNotFoundException = _JobNotFoundException;
300
+ var _ValidationException = class _ValidationException extends CodePipelineServiceException {
301
+ /**
302
+ * @internal
303
+ */
304
+ constructor(opts) {
305
+ super({
306
+ name: "ValidationException",
307
+ $fault: "client",
308
+ ...opts
309
+ });
310
+ this.name = "ValidationException";
311
+ this.$fault = "client";
312
+ Object.setPrototypeOf(this, _ValidationException.prototype);
313
+ }
314
+ };
315
+ __name(_ValidationException, "ValidationException");
316
+ var ValidationException = _ValidationException;
317
+ var _InvalidClientTokenException = class _InvalidClientTokenException extends CodePipelineServiceException {
318
+ /**
319
+ * @internal
320
+ */
321
+ constructor(opts) {
322
+ super({
323
+ name: "InvalidClientTokenException",
324
+ $fault: "client",
325
+ ...opts
326
+ });
327
+ this.name = "InvalidClientTokenException";
328
+ this.$fault = "client";
329
+ Object.setPrototypeOf(this, _InvalidClientTokenException.prototype);
330
+ }
331
+ };
332
+ __name(_InvalidClientTokenException, "InvalidClientTokenException");
333
+ var InvalidClientTokenException = _InvalidClientTokenException;
334
+ var ActionCategory = {
335
+ Approval: "Approval",
336
+ Build: "Build",
337
+ Deploy: "Deploy",
338
+ Invoke: "Invoke",
339
+ Source: "Source",
340
+ Test: "Test"
341
+ };
342
+ var ActionConfigurationPropertyType = {
343
+ Boolean: "Boolean",
344
+ Number: "Number",
345
+ String: "String"
346
+ };
347
+ var ActionOwner = {
348
+ AWS: "AWS",
349
+ Custom: "Custom",
350
+ ThirdParty: "ThirdParty"
351
+ };
352
+ var ActionExecutionStatus = {
353
+ Abandoned: "Abandoned",
354
+ Failed: "Failed",
355
+ InProgress: "InProgress",
356
+ Succeeded: "Succeeded"
357
+ };
358
+ var _ActionNotFoundException = class _ActionNotFoundException extends CodePipelineServiceException {
359
+ /**
360
+ * @internal
361
+ */
362
+ constructor(opts) {
363
+ super({
364
+ name: "ActionNotFoundException",
365
+ $fault: "client",
366
+ ...opts
367
+ });
368
+ this.name = "ActionNotFoundException";
369
+ this.$fault = "client";
370
+ Object.setPrototypeOf(this, _ActionNotFoundException.prototype);
371
+ }
372
+ };
373
+ __name(_ActionNotFoundException, "ActionNotFoundException");
374
+ var ActionNotFoundException = _ActionNotFoundException;
375
+ var ExecutorType = {
376
+ JobWorker: "JobWorker",
377
+ Lambda: "Lambda"
378
+ };
379
+ var _ActionTypeNotFoundException = class _ActionTypeNotFoundException extends CodePipelineServiceException {
380
+ /**
381
+ * @internal
382
+ */
383
+ constructor(opts) {
384
+ super({
385
+ name: "ActionTypeNotFoundException",
386
+ $fault: "client",
387
+ ...opts
388
+ });
389
+ this.name = "ActionTypeNotFoundException";
390
+ this.$fault = "client";
391
+ Object.setPrototypeOf(this, _ActionTypeNotFoundException.prototype);
392
+ }
393
+ };
394
+ __name(_ActionTypeNotFoundException, "ActionTypeNotFoundException");
395
+ var ActionTypeNotFoundException = _ActionTypeNotFoundException;
396
+ var _ApprovalAlreadyCompletedException = class _ApprovalAlreadyCompletedException extends CodePipelineServiceException {
397
+ /**
398
+ * @internal
399
+ */
400
+ constructor(opts) {
401
+ super({
402
+ name: "ApprovalAlreadyCompletedException",
403
+ $fault: "client",
404
+ ...opts
405
+ });
406
+ this.name = "ApprovalAlreadyCompletedException";
407
+ this.$fault = "client";
408
+ Object.setPrototypeOf(this, _ApprovalAlreadyCompletedException.prototype);
409
+ }
410
+ };
411
+ __name(_ApprovalAlreadyCompletedException, "ApprovalAlreadyCompletedException");
412
+ var ApprovalAlreadyCompletedException = _ApprovalAlreadyCompletedException;
413
+ var ApprovalStatus = {
414
+ Approved: "Approved",
415
+ Rejected: "Rejected"
416
+ };
417
+ var ArtifactLocationType = {
418
+ S3: "S3"
419
+ };
420
+ var EncryptionKeyType = {
421
+ KMS: "KMS"
422
+ };
423
+ var ArtifactStoreType = {
424
+ S3: "S3"
425
+ };
426
+ var BlockerType = {
427
+ Schedule: "Schedule"
428
+ };
429
+ var _ConcurrentModificationException = class _ConcurrentModificationException extends CodePipelineServiceException {
430
+ /**
431
+ * @internal
432
+ */
433
+ constructor(opts) {
434
+ super({
435
+ name: "ConcurrentModificationException",
436
+ $fault: "client",
437
+ ...opts
438
+ });
439
+ this.name = "ConcurrentModificationException";
440
+ this.$fault = "client";
441
+ Object.setPrototypeOf(this, _ConcurrentModificationException.prototype);
442
+ }
443
+ };
444
+ __name(_ConcurrentModificationException, "ConcurrentModificationException");
445
+ var ConcurrentModificationException = _ConcurrentModificationException;
446
+ var _InvalidTagsException = class _InvalidTagsException extends CodePipelineServiceException {
447
+ /**
448
+ * @internal
449
+ */
450
+ constructor(opts) {
451
+ super({
452
+ name: "InvalidTagsException",
453
+ $fault: "client",
454
+ ...opts
455
+ });
456
+ this.name = "InvalidTagsException";
457
+ this.$fault = "client";
458
+ Object.setPrototypeOf(this, _InvalidTagsException.prototype);
459
+ }
460
+ };
461
+ __name(_InvalidTagsException, "InvalidTagsException");
462
+ var InvalidTagsException = _InvalidTagsException;
463
+ var _LimitExceededException = class _LimitExceededException extends CodePipelineServiceException {
464
+ /**
465
+ * @internal
466
+ */
467
+ constructor(opts) {
468
+ super({
469
+ name: "LimitExceededException",
470
+ $fault: "client",
471
+ ...opts
472
+ });
473
+ this.name = "LimitExceededException";
474
+ this.$fault = "client";
475
+ Object.setPrototypeOf(this, _LimitExceededException.prototype);
476
+ }
477
+ };
478
+ __name(_LimitExceededException, "LimitExceededException");
479
+ var LimitExceededException = _LimitExceededException;
480
+ var _TooManyTagsException = class _TooManyTagsException extends CodePipelineServiceException {
481
+ /**
482
+ * @internal
483
+ */
484
+ constructor(opts) {
485
+ super({
486
+ name: "TooManyTagsException",
487
+ $fault: "client",
488
+ ...opts
489
+ });
490
+ this.name = "TooManyTagsException";
491
+ this.$fault = "client";
492
+ Object.setPrototypeOf(this, _TooManyTagsException.prototype);
493
+ }
494
+ };
495
+ __name(_TooManyTagsException, "TooManyTagsException");
496
+ var TooManyTagsException = _TooManyTagsException;
497
+ var PipelineType = {
498
+ V1: "V1",
499
+ V2: "V2"
500
+ };
501
+ var PipelineTriggerProviderType = {
502
+ CodeStarSourceConnection: "CodeStarSourceConnection"
503
+ };
504
+ var _InvalidActionDeclarationException = class _InvalidActionDeclarationException extends CodePipelineServiceException {
505
+ /**
506
+ * @internal
507
+ */
508
+ constructor(opts) {
509
+ super({
510
+ name: "InvalidActionDeclarationException",
511
+ $fault: "client",
512
+ ...opts
513
+ });
514
+ this.name = "InvalidActionDeclarationException";
515
+ this.$fault = "client";
516
+ Object.setPrototypeOf(this, _InvalidActionDeclarationException.prototype);
517
+ }
518
+ };
519
+ __name(_InvalidActionDeclarationException, "InvalidActionDeclarationException");
520
+ var InvalidActionDeclarationException = _InvalidActionDeclarationException;
521
+ var _InvalidBlockerDeclarationException = class _InvalidBlockerDeclarationException extends CodePipelineServiceException {
522
+ /**
523
+ * @internal
524
+ */
525
+ constructor(opts) {
526
+ super({
527
+ name: "InvalidBlockerDeclarationException",
528
+ $fault: "client",
529
+ ...opts
530
+ });
531
+ this.name = "InvalidBlockerDeclarationException";
532
+ this.$fault = "client";
533
+ Object.setPrototypeOf(this, _InvalidBlockerDeclarationException.prototype);
534
+ }
535
+ };
536
+ __name(_InvalidBlockerDeclarationException, "InvalidBlockerDeclarationException");
537
+ var InvalidBlockerDeclarationException = _InvalidBlockerDeclarationException;
538
+ var _InvalidStageDeclarationException = class _InvalidStageDeclarationException extends CodePipelineServiceException {
539
+ /**
540
+ * @internal
541
+ */
542
+ constructor(opts) {
543
+ super({
544
+ name: "InvalidStageDeclarationException",
545
+ $fault: "client",
546
+ ...opts
547
+ });
548
+ this.name = "InvalidStageDeclarationException";
549
+ this.$fault = "client";
550
+ Object.setPrototypeOf(this, _InvalidStageDeclarationException.prototype);
551
+ }
552
+ };
553
+ __name(_InvalidStageDeclarationException, "InvalidStageDeclarationException");
554
+ var InvalidStageDeclarationException = _InvalidStageDeclarationException;
555
+ var _InvalidStructureException = class _InvalidStructureException extends CodePipelineServiceException {
556
+ /**
557
+ * @internal
558
+ */
559
+ constructor(opts) {
560
+ super({
561
+ name: "InvalidStructureException",
562
+ $fault: "client",
563
+ ...opts
564
+ });
565
+ this.name = "InvalidStructureException";
566
+ this.$fault = "client";
567
+ Object.setPrototypeOf(this, _InvalidStructureException.prototype);
568
+ }
569
+ };
570
+ __name(_InvalidStructureException, "InvalidStructureException");
571
+ var InvalidStructureException = _InvalidStructureException;
572
+ var _PipelineNameInUseException = class _PipelineNameInUseException extends CodePipelineServiceException {
573
+ /**
574
+ * @internal
575
+ */
576
+ constructor(opts) {
577
+ super({
578
+ name: "PipelineNameInUseException",
579
+ $fault: "client",
580
+ ...opts
581
+ });
582
+ this.name = "PipelineNameInUseException";
583
+ this.$fault = "client";
584
+ Object.setPrototypeOf(this, _PipelineNameInUseException.prototype);
585
+ }
586
+ };
587
+ __name(_PipelineNameInUseException, "PipelineNameInUseException");
588
+ var PipelineNameInUseException = _PipelineNameInUseException;
589
+ var _WebhookNotFoundException = class _WebhookNotFoundException extends CodePipelineServiceException {
590
+ /**
591
+ * @internal
592
+ */
593
+ constructor(opts) {
594
+ super({
595
+ name: "WebhookNotFoundException",
596
+ $fault: "client",
597
+ ...opts
598
+ });
599
+ this.name = "WebhookNotFoundException";
600
+ this.$fault = "client";
601
+ Object.setPrototypeOf(this, _WebhookNotFoundException.prototype);
602
+ }
603
+ };
604
+ __name(_WebhookNotFoundException, "WebhookNotFoundException");
605
+ var WebhookNotFoundException = _WebhookNotFoundException;
606
+ var StageTransitionType = {
607
+ Inbound: "Inbound",
608
+ Outbound: "Outbound"
609
+ };
610
+ var _PipelineNotFoundException = class _PipelineNotFoundException extends CodePipelineServiceException {
611
+ /**
612
+ * @internal
613
+ */
614
+ constructor(opts) {
615
+ super({
616
+ name: "PipelineNotFoundException",
617
+ $fault: "client",
618
+ ...opts
619
+ });
620
+ this.name = "PipelineNotFoundException";
621
+ this.$fault = "client";
622
+ Object.setPrototypeOf(this, _PipelineNotFoundException.prototype);
623
+ }
624
+ };
625
+ __name(_PipelineNotFoundException, "PipelineNotFoundException");
626
+ var PipelineNotFoundException = _PipelineNotFoundException;
627
+ var _StageNotFoundException = class _StageNotFoundException extends CodePipelineServiceException {
628
+ /**
629
+ * @internal
630
+ */
631
+ constructor(opts) {
632
+ super({
633
+ name: "StageNotFoundException",
634
+ $fault: "client",
635
+ ...opts
636
+ });
637
+ this.name = "StageNotFoundException";
638
+ this.$fault = "client";
639
+ Object.setPrototypeOf(this, _StageNotFoundException.prototype);
640
+ }
641
+ };
642
+ __name(_StageNotFoundException, "StageNotFoundException");
643
+ var StageNotFoundException = _StageNotFoundException;
644
+ var _PipelineVersionNotFoundException = class _PipelineVersionNotFoundException extends CodePipelineServiceException {
645
+ /**
646
+ * @internal
647
+ */
648
+ constructor(opts) {
649
+ super({
650
+ name: "PipelineVersionNotFoundException",
651
+ $fault: "client",
652
+ ...opts
653
+ });
654
+ this.name = "PipelineVersionNotFoundException";
655
+ this.$fault = "client";
656
+ Object.setPrototypeOf(this, _PipelineVersionNotFoundException.prototype);
657
+ }
658
+ };
659
+ __name(_PipelineVersionNotFoundException, "PipelineVersionNotFoundException");
660
+ var PipelineVersionNotFoundException = _PipelineVersionNotFoundException;
661
+ var PipelineExecutionStatus = {
662
+ Cancelled: "Cancelled",
663
+ Failed: "Failed",
664
+ InProgress: "InProgress",
665
+ Stopped: "Stopped",
666
+ Stopping: "Stopping",
667
+ Succeeded: "Succeeded",
668
+ Superseded: "Superseded"
669
+ };
670
+ var TriggerType = {
671
+ CloudWatchEvent: "CloudWatchEvent",
672
+ CreatePipeline: "CreatePipeline",
673
+ PollForSourceChanges: "PollForSourceChanges",
674
+ PutActionRevision: "PutActionRevision",
675
+ StartPipelineExecution: "StartPipelineExecution",
676
+ Webhook: "Webhook",
677
+ WebhookV2: "WebhookV2"
678
+ };
679
+ var _PipelineExecutionNotFoundException = class _PipelineExecutionNotFoundException extends CodePipelineServiceException {
680
+ /**
681
+ * @internal
682
+ */
683
+ constructor(opts) {
684
+ super({
685
+ name: "PipelineExecutionNotFoundException",
686
+ $fault: "client",
687
+ ...opts
688
+ });
689
+ this.name = "PipelineExecutionNotFoundException";
690
+ this.$fault = "client";
691
+ Object.setPrototypeOf(this, _PipelineExecutionNotFoundException.prototype);
692
+ }
693
+ };
694
+ __name(_PipelineExecutionNotFoundException, "PipelineExecutionNotFoundException");
695
+ var PipelineExecutionNotFoundException = _PipelineExecutionNotFoundException;
696
+ var StageExecutionStatus = {
697
+ Cancelled: "Cancelled",
698
+ Failed: "Failed",
699
+ InProgress: "InProgress",
700
+ Stopped: "Stopped",
701
+ Stopping: "Stopping",
702
+ Succeeded: "Succeeded"
703
+ };
704
+ var _InvalidJobException = class _InvalidJobException extends CodePipelineServiceException {
705
+ /**
706
+ * @internal
707
+ */
708
+ constructor(opts) {
709
+ super({
710
+ name: "InvalidJobException",
711
+ $fault: "client",
712
+ ...opts
713
+ });
714
+ this.name = "InvalidJobException";
715
+ this.$fault = "client";
716
+ Object.setPrototypeOf(this, _InvalidJobException.prototype);
717
+ }
718
+ };
719
+ __name(_InvalidJobException, "InvalidJobException");
720
+ var InvalidJobException = _InvalidJobException;
721
+ var _InvalidNextTokenException = class _InvalidNextTokenException extends CodePipelineServiceException {
722
+ /**
723
+ * @internal
724
+ */
725
+ constructor(opts) {
726
+ super({
727
+ name: "InvalidNextTokenException",
728
+ $fault: "client",
729
+ ...opts
730
+ });
731
+ this.name = "InvalidNextTokenException";
732
+ this.$fault = "client";
733
+ Object.setPrototypeOf(this, _InvalidNextTokenException.prototype);
734
+ }
735
+ };
736
+ __name(_InvalidNextTokenException, "InvalidNextTokenException");
737
+ var InvalidNextTokenException = _InvalidNextTokenException;
738
+ var _InvalidArnException = class _InvalidArnException extends CodePipelineServiceException {
739
+ /**
740
+ * @internal
741
+ */
742
+ constructor(opts) {
743
+ super({
744
+ name: "InvalidArnException",
745
+ $fault: "client",
746
+ ...opts
747
+ });
748
+ this.name = "InvalidArnException";
749
+ this.$fault = "client";
750
+ Object.setPrototypeOf(this, _InvalidArnException.prototype);
751
+ }
752
+ };
753
+ __name(_InvalidArnException, "InvalidArnException");
754
+ var InvalidArnException = _InvalidArnException;
755
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends CodePipelineServiceException {
756
+ /**
757
+ * @internal
758
+ */
759
+ constructor(opts) {
760
+ super({
761
+ name: "ResourceNotFoundException",
762
+ $fault: "client",
763
+ ...opts
764
+ });
765
+ this.name = "ResourceNotFoundException";
766
+ this.$fault = "client";
767
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
768
+ }
769
+ };
770
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
771
+ var ResourceNotFoundException = _ResourceNotFoundException;
772
+ var WebhookAuthenticationType = {
773
+ GITHUB_HMAC: "GITHUB_HMAC",
774
+ IP: "IP",
775
+ UNAUTHENTICATED: "UNAUTHENTICATED"
776
+ };
777
+ var _InvalidApprovalTokenException = class _InvalidApprovalTokenException extends CodePipelineServiceException {
778
+ /**
779
+ * @internal
780
+ */
781
+ constructor(opts) {
782
+ super({
783
+ name: "InvalidApprovalTokenException",
784
+ $fault: "client",
785
+ ...opts
786
+ });
787
+ this.name = "InvalidApprovalTokenException";
788
+ this.$fault = "client";
789
+ Object.setPrototypeOf(this, _InvalidApprovalTokenException.prototype);
790
+ }
791
+ };
792
+ __name(_InvalidApprovalTokenException, "InvalidApprovalTokenException");
793
+ var InvalidApprovalTokenException = _InvalidApprovalTokenException;
794
+ var _InvalidJobStateException = class _InvalidJobStateException extends CodePipelineServiceException {
795
+ /**
796
+ * @internal
797
+ */
798
+ constructor(opts) {
799
+ super({
800
+ name: "InvalidJobStateException",
801
+ $fault: "client",
802
+ ...opts
803
+ });
804
+ this.name = "InvalidJobStateException";
805
+ this.$fault = "client";
806
+ Object.setPrototypeOf(this, _InvalidJobStateException.prototype);
807
+ }
808
+ };
809
+ __name(_InvalidJobStateException, "InvalidJobStateException");
810
+ var InvalidJobStateException = _InvalidJobStateException;
811
+ var FailureType = {
812
+ ConfigurationError: "ConfigurationError",
813
+ JobFailed: "JobFailed",
814
+ PermissionError: "PermissionError",
815
+ RevisionOutOfSync: "RevisionOutOfSync",
816
+ RevisionUnavailable: "RevisionUnavailable",
817
+ SystemUnavailable: "SystemUnavailable"
818
+ };
819
+ var _OutputVariablesSizeExceededException = class _OutputVariablesSizeExceededException extends CodePipelineServiceException {
820
+ /**
821
+ * @internal
822
+ */
823
+ constructor(opts) {
824
+ super({
825
+ name: "OutputVariablesSizeExceededException",
826
+ $fault: "client",
827
+ ...opts
828
+ });
829
+ this.name = "OutputVariablesSizeExceededException";
830
+ this.$fault = "client";
831
+ Object.setPrototypeOf(this, _OutputVariablesSizeExceededException.prototype);
832
+ }
833
+ };
834
+ __name(_OutputVariablesSizeExceededException, "OutputVariablesSizeExceededException");
835
+ var OutputVariablesSizeExceededException = _OutputVariablesSizeExceededException;
836
+ var _InvalidWebhookAuthenticationParametersException = class _InvalidWebhookAuthenticationParametersException extends CodePipelineServiceException {
837
+ /**
838
+ * @internal
839
+ */
840
+ constructor(opts) {
841
+ super({
842
+ name: "InvalidWebhookAuthenticationParametersException",
843
+ $fault: "client",
844
+ ...opts
845
+ });
846
+ this.name = "InvalidWebhookAuthenticationParametersException";
847
+ this.$fault = "client";
848
+ Object.setPrototypeOf(this, _InvalidWebhookAuthenticationParametersException.prototype);
849
+ }
850
+ };
851
+ __name(_InvalidWebhookAuthenticationParametersException, "InvalidWebhookAuthenticationParametersException");
852
+ var InvalidWebhookAuthenticationParametersException = _InvalidWebhookAuthenticationParametersException;
853
+ var _InvalidWebhookFilterPatternException = class _InvalidWebhookFilterPatternException extends CodePipelineServiceException {
854
+ /**
855
+ * @internal
856
+ */
857
+ constructor(opts) {
858
+ super({
859
+ name: "InvalidWebhookFilterPatternException",
860
+ $fault: "client",
861
+ ...opts
862
+ });
863
+ this.name = "InvalidWebhookFilterPatternException";
864
+ this.$fault = "client";
865
+ Object.setPrototypeOf(this, _InvalidWebhookFilterPatternException.prototype);
866
+ }
867
+ };
868
+ __name(_InvalidWebhookFilterPatternException, "InvalidWebhookFilterPatternException");
869
+ var InvalidWebhookFilterPatternException = _InvalidWebhookFilterPatternException;
870
+ var _ConflictException = class _ConflictException extends CodePipelineServiceException {
871
+ /**
872
+ * @internal
873
+ */
874
+ constructor(opts) {
875
+ super({
876
+ name: "ConflictException",
877
+ $fault: "client",
878
+ ...opts
879
+ });
880
+ this.name = "ConflictException";
881
+ this.$fault = "client";
882
+ Object.setPrototypeOf(this, _ConflictException.prototype);
883
+ }
884
+ };
885
+ __name(_ConflictException, "ConflictException");
886
+ var ConflictException = _ConflictException;
887
+ var _NotLatestPipelineExecutionException = class _NotLatestPipelineExecutionException extends CodePipelineServiceException {
888
+ /**
889
+ * @internal
890
+ */
891
+ constructor(opts) {
892
+ super({
893
+ name: "NotLatestPipelineExecutionException",
894
+ $fault: "client",
895
+ ...opts
896
+ });
897
+ this.name = "NotLatestPipelineExecutionException";
898
+ this.$fault = "client";
899
+ Object.setPrototypeOf(this, _NotLatestPipelineExecutionException.prototype);
900
+ }
901
+ };
902
+ __name(_NotLatestPipelineExecutionException, "NotLatestPipelineExecutionException");
903
+ var NotLatestPipelineExecutionException = _NotLatestPipelineExecutionException;
904
+ var StageRetryMode = {
905
+ ALL_ACTIONS: "ALL_ACTIONS",
906
+ FAILED_ACTIONS: "FAILED_ACTIONS"
907
+ };
908
+ var _StageNotRetryableException = class _StageNotRetryableException extends CodePipelineServiceException {
909
+ /**
910
+ * @internal
911
+ */
912
+ constructor(opts) {
913
+ super({
914
+ name: "StageNotRetryableException",
915
+ $fault: "client",
916
+ ...opts
917
+ });
918
+ this.name = "StageNotRetryableException";
919
+ this.$fault = "client";
920
+ Object.setPrototypeOf(this, _StageNotRetryableException.prototype);
921
+ }
922
+ };
923
+ __name(_StageNotRetryableException, "StageNotRetryableException");
924
+ var StageNotRetryableException = _StageNotRetryableException;
925
+ var SourceRevisionType = {
926
+ COMMIT_ID: "COMMIT_ID",
927
+ IMAGE_DIGEST: "IMAGE_DIGEST",
928
+ S3_OBJECT_VERSION_ID: "S3_OBJECT_VERSION_ID"
929
+ };
930
+ var _DuplicatedStopRequestException = class _DuplicatedStopRequestException extends CodePipelineServiceException {
931
+ /**
932
+ * @internal
933
+ */
934
+ constructor(opts) {
935
+ super({
936
+ name: "DuplicatedStopRequestException",
937
+ $fault: "client",
938
+ ...opts
939
+ });
940
+ this.name = "DuplicatedStopRequestException";
941
+ this.$fault = "client";
942
+ Object.setPrototypeOf(this, _DuplicatedStopRequestException.prototype);
943
+ }
944
+ };
945
+ __name(_DuplicatedStopRequestException, "DuplicatedStopRequestException");
946
+ var DuplicatedStopRequestException = _DuplicatedStopRequestException;
947
+ var _PipelineExecutionNotStoppableException = class _PipelineExecutionNotStoppableException extends CodePipelineServiceException {
948
+ /**
949
+ * @internal
950
+ */
951
+ constructor(opts) {
952
+ super({
953
+ name: "PipelineExecutionNotStoppableException",
954
+ $fault: "client",
955
+ ...opts
956
+ });
957
+ this.name = "PipelineExecutionNotStoppableException";
958
+ this.$fault = "client";
959
+ Object.setPrototypeOf(this, _PipelineExecutionNotStoppableException.prototype);
960
+ }
961
+ };
962
+ __name(_PipelineExecutionNotStoppableException, "PipelineExecutionNotStoppableException");
963
+ var PipelineExecutionNotStoppableException = _PipelineExecutionNotStoppableException;
964
+ var _RequestFailedException = class _RequestFailedException extends CodePipelineServiceException {
965
+ /**
966
+ * @internal
967
+ */
968
+ constructor(opts) {
969
+ super({
970
+ name: "RequestFailedException",
971
+ $fault: "client",
972
+ ...opts
973
+ });
974
+ this.name = "RequestFailedException";
975
+ this.$fault = "client";
976
+ Object.setPrototypeOf(this, _RequestFailedException.prototype);
977
+ }
978
+ };
979
+ __name(_RequestFailedException, "RequestFailedException");
980
+ var RequestFailedException = _RequestFailedException;
981
+ var AWSSessionCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
982
+ ...obj,
983
+ ...obj.accessKeyId && { accessKeyId: import_smithy_client.SENSITIVE_STRING },
984
+ ...obj.secretAccessKey && { secretAccessKey: import_smithy_client.SENSITIVE_STRING },
985
+ ...obj.sessionToken && { sessionToken: import_smithy_client.SENSITIVE_STRING }
986
+ }), "AWSSessionCredentialsFilterSensitiveLog");
987
+ var JobDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
988
+ ...obj,
989
+ ...obj.artifactCredentials && { artifactCredentials: import_smithy_client.SENSITIVE_STRING }
990
+ }), "JobDataFilterSensitiveLog");
991
+ var JobDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
992
+ ...obj,
993
+ ...obj.data && { data: JobDataFilterSensitiveLog(obj.data) }
994
+ }), "JobDetailsFilterSensitiveLog");
995
+ var GetJobDetailsOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
996
+ ...obj,
997
+ ...obj.jobDetails && { jobDetails: JobDetailsFilterSensitiveLog(obj.jobDetails) }
998
+ }), "GetJobDetailsOutputFilterSensitiveLog");
999
+ var ThirdPartyJobDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1000
+ ...obj,
1001
+ ...obj.artifactCredentials && { artifactCredentials: import_smithy_client.SENSITIVE_STRING }
1002
+ }), "ThirdPartyJobDataFilterSensitiveLog");
1003
+ var ThirdPartyJobDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1004
+ ...obj,
1005
+ ...obj.data && { data: ThirdPartyJobDataFilterSensitiveLog(obj.data) }
1006
+ }), "ThirdPartyJobDetailsFilterSensitiveLog");
1007
+ var GetThirdPartyJobDetailsOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1008
+ ...obj,
1009
+ ...obj.jobDetails && { jobDetails: ThirdPartyJobDetailsFilterSensitiveLog(obj.jobDetails) }
1010
+ }), "GetThirdPartyJobDetailsOutputFilterSensitiveLog");
1011
+ var JobFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1012
+ ...obj,
1013
+ ...obj.data && { data: JobDataFilterSensitiveLog(obj.data) }
1014
+ }), "JobFilterSensitiveLog");
1015
+ var PollForJobsOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1016
+ ...obj,
1017
+ ...obj.jobs && { jobs: obj.jobs.map((item) => JobFilterSensitiveLog(item)) }
1018
+ }), "PollForJobsOutputFilterSensitiveLog");
1019
+
1020
+ // src/protocols/Aws_json1_1.ts
1021
+ var se_AcknowledgeJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1022
+ const headers = sharedHeaders("AcknowledgeJob");
1023
+ let body;
1024
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1025
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1026
+ }, "se_AcknowledgeJobCommand");
1027
+ var se_AcknowledgeThirdPartyJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1028
+ const headers = sharedHeaders("AcknowledgeThirdPartyJob");
1029
+ let body;
1030
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1031
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1032
+ }, "se_AcknowledgeThirdPartyJobCommand");
1033
+ var se_CreateCustomActionTypeCommand = /* @__PURE__ */ __name(async (input, context) => {
1034
+ const headers = sharedHeaders("CreateCustomActionType");
1035
+ let body;
1036
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1037
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1038
+ }, "se_CreateCustomActionTypeCommand");
1039
+ var se_CreatePipelineCommand = /* @__PURE__ */ __name(async (input, context) => {
1040
+ const headers = sharedHeaders("CreatePipeline");
1041
+ let body;
1042
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1043
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1044
+ }, "se_CreatePipelineCommand");
1045
+ var se_DeleteCustomActionTypeCommand = /* @__PURE__ */ __name(async (input, context) => {
1046
+ const headers = sharedHeaders("DeleteCustomActionType");
1047
+ let body;
1048
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1049
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1050
+ }, "se_DeleteCustomActionTypeCommand");
1051
+ var se_DeletePipelineCommand = /* @__PURE__ */ __name(async (input, context) => {
1052
+ const headers = sharedHeaders("DeletePipeline");
1053
+ let body;
1054
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1055
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1056
+ }, "se_DeletePipelineCommand");
1057
+ var se_DeleteWebhookCommand = /* @__PURE__ */ __name(async (input, context) => {
1058
+ const headers = sharedHeaders("DeleteWebhook");
1059
+ let body;
1060
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1061
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1062
+ }, "se_DeleteWebhookCommand");
1063
+ var se_DeregisterWebhookWithThirdPartyCommand = /* @__PURE__ */ __name(async (input, context) => {
1064
+ const headers = sharedHeaders("DeregisterWebhookWithThirdParty");
1065
+ let body;
1066
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1067
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1068
+ }, "se_DeregisterWebhookWithThirdPartyCommand");
1069
+ var se_DisableStageTransitionCommand = /* @__PURE__ */ __name(async (input, context) => {
1070
+ const headers = sharedHeaders("DisableStageTransition");
1071
+ let body;
1072
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1073
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1074
+ }, "se_DisableStageTransitionCommand");
1075
+ var se_EnableStageTransitionCommand = /* @__PURE__ */ __name(async (input, context) => {
1076
+ const headers = sharedHeaders("EnableStageTransition");
1077
+ let body;
1078
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1079
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1080
+ }, "se_EnableStageTransitionCommand");
1081
+ var se_GetActionTypeCommand = /* @__PURE__ */ __name(async (input, context) => {
1082
+ const headers = sharedHeaders("GetActionType");
1083
+ let body;
1084
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1085
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1086
+ }, "se_GetActionTypeCommand");
1087
+ var se_GetJobDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
1088
+ const headers = sharedHeaders("GetJobDetails");
1089
+ let body;
1090
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1091
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1092
+ }, "se_GetJobDetailsCommand");
1093
+ var se_GetPipelineCommand = /* @__PURE__ */ __name(async (input, context) => {
1094
+ const headers = sharedHeaders("GetPipeline");
1095
+ let body;
1096
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1097
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1098
+ }, "se_GetPipelineCommand");
1099
+ var se_GetPipelineExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
1100
+ const headers = sharedHeaders("GetPipelineExecution");
1101
+ let body;
1102
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1103
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1104
+ }, "se_GetPipelineExecutionCommand");
1105
+ var se_GetPipelineStateCommand = /* @__PURE__ */ __name(async (input, context) => {
1106
+ const headers = sharedHeaders("GetPipelineState");
1107
+ let body;
1108
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1109
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1110
+ }, "se_GetPipelineStateCommand");
1111
+ var se_GetThirdPartyJobDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
1112
+ const headers = sharedHeaders("GetThirdPartyJobDetails");
1113
+ let body;
1114
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1115
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1116
+ }, "se_GetThirdPartyJobDetailsCommand");
1117
+ var se_ListActionExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => {
1118
+ const headers = sharedHeaders("ListActionExecutions");
1119
+ let body;
1120
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1121
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1122
+ }, "se_ListActionExecutionsCommand");
1123
+ var se_ListActionTypesCommand = /* @__PURE__ */ __name(async (input, context) => {
1124
+ const headers = sharedHeaders("ListActionTypes");
1125
+ let body;
1126
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1127
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1128
+ }, "se_ListActionTypesCommand");
1129
+ var se_ListPipelineExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => {
1130
+ const headers = sharedHeaders("ListPipelineExecutions");
1131
+ let body;
1132
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1133
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1134
+ }, "se_ListPipelineExecutionsCommand");
1135
+ var se_ListPipelinesCommand = /* @__PURE__ */ __name(async (input, context) => {
1136
+ const headers = sharedHeaders("ListPipelines");
1137
+ let body;
1138
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1139
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1140
+ }, "se_ListPipelinesCommand");
1141
+ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1142
+ const headers = sharedHeaders("ListTagsForResource");
1143
+ let body;
1144
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1145
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1146
+ }, "se_ListTagsForResourceCommand");
1147
+ var se_ListWebhooksCommand = /* @__PURE__ */ __name(async (input, context) => {
1148
+ const headers = sharedHeaders("ListWebhooks");
1149
+ let body;
1150
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1151
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1152
+ }, "se_ListWebhooksCommand");
1153
+ var se_PollForJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
1154
+ const headers = sharedHeaders("PollForJobs");
1155
+ let body;
1156
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1157
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1158
+ }, "se_PollForJobsCommand");
1159
+ var se_PollForThirdPartyJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
1160
+ const headers = sharedHeaders("PollForThirdPartyJobs");
1161
+ let body;
1162
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1163
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1164
+ }, "se_PollForThirdPartyJobsCommand");
1165
+ var se_PutActionRevisionCommand = /* @__PURE__ */ __name(async (input, context) => {
1166
+ const headers = sharedHeaders("PutActionRevision");
1167
+ let body;
1168
+ body = JSON.stringify(se_PutActionRevisionInput(input, context));
1169
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1170
+ }, "se_PutActionRevisionCommand");
1171
+ var se_PutApprovalResultCommand = /* @__PURE__ */ __name(async (input, context) => {
1172
+ const headers = sharedHeaders("PutApprovalResult");
1173
+ let body;
1174
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1175
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1176
+ }, "se_PutApprovalResultCommand");
1177
+ var se_PutJobFailureResultCommand = /* @__PURE__ */ __name(async (input, context) => {
1178
+ const headers = sharedHeaders("PutJobFailureResult");
1179
+ let body;
1180
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1181
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1182
+ }, "se_PutJobFailureResultCommand");
1183
+ var se_PutJobSuccessResultCommand = /* @__PURE__ */ __name(async (input, context) => {
1184
+ const headers = sharedHeaders("PutJobSuccessResult");
1185
+ let body;
1186
+ body = JSON.stringify(se_PutJobSuccessResultInput(input, context));
1187
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1188
+ }, "se_PutJobSuccessResultCommand");
1189
+ var se_PutThirdPartyJobFailureResultCommand = /* @__PURE__ */ __name(async (input, context) => {
1190
+ const headers = sharedHeaders("PutThirdPartyJobFailureResult");
1191
+ let body;
1192
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1193
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1194
+ }, "se_PutThirdPartyJobFailureResultCommand");
1195
+ var se_PutThirdPartyJobSuccessResultCommand = /* @__PURE__ */ __name(async (input, context) => {
1196
+ const headers = sharedHeaders("PutThirdPartyJobSuccessResult");
1197
+ let body;
1198
+ body = JSON.stringify(se_PutThirdPartyJobSuccessResultInput(input, context));
1199
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1200
+ }, "se_PutThirdPartyJobSuccessResultCommand");
1201
+ var se_PutWebhookCommand = /* @__PURE__ */ __name(async (input, context) => {
1202
+ const headers = sharedHeaders("PutWebhook");
1203
+ let body;
1204
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1205
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1206
+ }, "se_PutWebhookCommand");
1207
+ var se_RegisterWebhookWithThirdPartyCommand = /* @__PURE__ */ __name(async (input, context) => {
1208
+ const headers = sharedHeaders("RegisterWebhookWithThirdParty");
1209
+ let body;
1210
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1211
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1212
+ }, "se_RegisterWebhookWithThirdPartyCommand");
1213
+ var se_RetryStageExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
1214
+ const headers = sharedHeaders("RetryStageExecution");
1215
+ let body;
1216
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1217
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1218
+ }, "se_RetryStageExecutionCommand");
1219
+ var se_StartPipelineExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
1220
+ const headers = sharedHeaders("StartPipelineExecution");
1221
+ let body;
1222
+ body = JSON.stringify(se_StartPipelineExecutionInput(input, context));
1223
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1224
+ }, "se_StartPipelineExecutionCommand");
1225
+ var se_StopPipelineExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
1226
+ const headers = sharedHeaders("StopPipelineExecution");
1227
+ let body;
1228
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1229
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1230
+ }, "se_StopPipelineExecutionCommand");
1231
+ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1232
+ const headers = sharedHeaders("TagResource");
1233
+ let body;
1234
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1235
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1236
+ }, "se_TagResourceCommand");
1237
+ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1238
+ const headers = sharedHeaders("UntagResource");
1239
+ let body;
1240
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1241
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1242
+ }, "se_UntagResourceCommand");
1243
+ var se_UpdateActionTypeCommand = /* @__PURE__ */ __name(async (input, context) => {
1244
+ const headers = sharedHeaders("UpdateActionType");
1245
+ let body;
1246
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1247
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1248
+ }, "se_UpdateActionTypeCommand");
1249
+ var se_UpdatePipelineCommand = /* @__PURE__ */ __name(async (input, context) => {
1250
+ const headers = sharedHeaders("UpdatePipeline");
1251
+ let body;
1252
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1253
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1254
+ }, "se_UpdatePipelineCommand");
1255
+ var de_AcknowledgeJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1256
+ if (output.statusCode >= 300) {
1257
+ return de_AcknowledgeJobCommandError(output, context);
1258
+ }
1259
+ const data = await parseBody(output.body, context);
1260
+ let contents = {};
1261
+ contents = (0, import_smithy_client._json)(data);
1262
+ const response = {
1263
+ $metadata: deserializeMetadata(output),
1264
+ ...contents
1265
+ };
1266
+ return response;
1267
+ }, "de_AcknowledgeJobCommand");
1268
+ var de_AcknowledgeJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
1269
+ const parsedOutput = {
1270
+ ...output,
1271
+ body: await parseErrorBody(output.body, context)
1272
+ };
1273
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1274
+ switch (errorCode) {
1275
+ case "InvalidNonceException":
1276
+ case "com.amazonaws.codepipeline#InvalidNonceException":
1277
+ throw await de_InvalidNonceExceptionRes(parsedOutput, context);
1278
+ case "JobNotFoundException":
1279
+ case "com.amazonaws.codepipeline#JobNotFoundException":
1280
+ throw await de_JobNotFoundExceptionRes(parsedOutput, context);
1281
+ case "ValidationException":
1282
+ case "com.amazonaws.codepipeline#ValidationException":
1283
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1284
+ default:
1285
+ const parsedBody = parsedOutput.body;
1286
+ return throwDefaultError({
1287
+ output,
1288
+ parsedBody,
1289
+ errorCode
1290
+ });
1291
+ }
1292
+ }, "de_AcknowledgeJobCommandError");
1293
+ var de_AcknowledgeThirdPartyJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1294
+ if (output.statusCode >= 300) {
1295
+ return de_AcknowledgeThirdPartyJobCommandError(output, context);
1296
+ }
1297
+ const data = await parseBody(output.body, context);
1298
+ let contents = {};
1299
+ contents = (0, import_smithy_client._json)(data);
1300
+ const response = {
1301
+ $metadata: deserializeMetadata(output),
1302
+ ...contents
1303
+ };
1304
+ return response;
1305
+ }, "de_AcknowledgeThirdPartyJobCommand");
1306
+ var de_AcknowledgeThirdPartyJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
1307
+ const parsedOutput = {
1308
+ ...output,
1309
+ body: await parseErrorBody(output.body, context)
1310
+ };
1311
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1312
+ switch (errorCode) {
1313
+ case "InvalidClientTokenException":
1314
+ case "com.amazonaws.codepipeline#InvalidClientTokenException":
1315
+ throw await de_InvalidClientTokenExceptionRes(parsedOutput, context);
1316
+ case "InvalidNonceException":
1317
+ case "com.amazonaws.codepipeline#InvalidNonceException":
1318
+ throw await de_InvalidNonceExceptionRes(parsedOutput, context);
1319
+ case "JobNotFoundException":
1320
+ case "com.amazonaws.codepipeline#JobNotFoundException":
1321
+ throw await de_JobNotFoundExceptionRes(parsedOutput, context);
1322
+ case "ValidationException":
1323
+ case "com.amazonaws.codepipeline#ValidationException":
1324
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1325
+ default:
1326
+ const parsedBody = parsedOutput.body;
1327
+ return throwDefaultError({
1328
+ output,
1329
+ parsedBody,
1330
+ errorCode
1331
+ });
1332
+ }
1333
+ }, "de_AcknowledgeThirdPartyJobCommandError");
1334
+ var de_CreateCustomActionTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
1335
+ if (output.statusCode >= 300) {
1336
+ return de_CreateCustomActionTypeCommandError(output, context);
1337
+ }
1338
+ const data = await parseBody(output.body, context);
1339
+ let contents = {};
1340
+ contents = (0, import_smithy_client._json)(data);
1341
+ const response = {
1342
+ $metadata: deserializeMetadata(output),
1343
+ ...contents
1344
+ };
1345
+ return response;
1346
+ }, "de_CreateCustomActionTypeCommand");
1347
+ var de_CreateCustomActionTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
1348
+ const parsedOutput = {
1349
+ ...output,
1350
+ body: await parseErrorBody(output.body, context)
1351
+ };
1352
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1353
+ switch (errorCode) {
1354
+ case "ConcurrentModificationException":
1355
+ case "com.amazonaws.codepipeline#ConcurrentModificationException":
1356
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1357
+ case "InvalidTagsException":
1358
+ case "com.amazonaws.codepipeline#InvalidTagsException":
1359
+ throw await de_InvalidTagsExceptionRes(parsedOutput, context);
1360
+ case "LimitExceededException":
1361
+ case "com.amazonaws.codepipeline#LimitExceededException":
1362
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1363
+ case "TooManyTagsException":
1364
+ case "com.amazonaws.codepipeline#TooManyTagsException":
1365
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
1366
+ case "ValidationException":
1367
+ case "com.amazonaws.codepipeline#ValidationException":
1368
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1369
+ default:
1370
+ const parsedBody = parsedOutput.body;
1371
+ return throwDefaultError({
1372
+ output,
1373
+ parsedBody,
1374
+ errorCode
1375
+ });
1376
+ }
1377
+ }, "de_CreateCustomActionTypeCommandError");
1378
+ var de_CreatePipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
1379
+ if (output.statusCode >= 300) {
1380
+ return de_CreatePipelineCommandError(output, context);
1381
+ }
1382
+ const data = await parseBody(output.body, context);
1383
+ let contents = {};
1384
+ contents = (0, import_smithy_client._json)(data);
1385
+ const response = {
1386
+ $metadata: deserializeMetadata(output),
1387
+ ...contents
1388
+ };
1389
+ return response;
1390
+ }, "de_CreatePipelineCommand");
1391
+ var de_CreatePipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
1392
+ const parsedOutput = {
1393
+ ...output,
1394
+ body: await parseErrorBody(output.body, context)
1395
+ };
1396
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1397
+ switch (errorCode) {
1398
+ case "ConcurrentModificationException":
1399
+ case "com.amazonaws.codepipeline#ConcurrentModificationException":
1400
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1401
+ case "InvalidActionDeclarationException":
1402
+ case "com.amazonaws.codepipeline#InvalidActionDeclarationException":
1403
+ throw await de_InvalidActionDeclarationExceptionRes(parsedOutput, context);
1404
+ case "InvalidBlockerDeclarationException":
1405
+ case "com.amazonaws.codepipeline#InvalidBlockerDeclarationException":
1406
+ throw await de_InvalidBlockerDeclarationExceptionRes(parsedOutput, context);
1407
+ case "InvalidStageDeclarationException":
1408
+ case "com.amazonaws.codepipeline#InvalidStageDeclarationException":
1409
+ throw await de_InvalidStageDeclarationExceptionRes(parsedOutput, context);
1410
+ case "InvalidStructureException":
1411
+ case "com.amazonaws.codepipeline#InvalidStructureException":
1412
+ throw await de_InvalidStructureExceptionRes(parsedOutput, context);
1413
+ case "InvalidTagsException":
1414
+ case "com.amazonaws.codepipeline#InvalidTagsException":
1415
+ throw await de_InvalidTagsExceptionRes(parsedOutput, context);
1416
+ case "LimitExceededException":
1417
+ case "com.amazonaws.codepipeline#LimitExceededException":
1418
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1419
+ case "PipelineNameInUseException":
1420
+ case "com.amazonaws.codepipeline#PipelineNameInUseException":
1421
+ throw await de_PipelineNameInUseExceptionRes(parsedOutput, context);
1422
+ case "TooManyTagsException":
1423
+ case "com.amazonaws.codepipeline#TooManyTagsException":
1424
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
1425
+ case "ValidationException":
1426
+ case "com.amazonaws.codepipeline#ValidationException":
1427
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1428
+ default:
1429
+ const parsedBody = parsedOutput.body;
1430
+ return throwDefaultError({
1431
+ output,
1432
+ parsedBody,
1433
+ errorCode
1434
+ });
1435
+ }
1436
+ }, "de_CreatePipelineCommandError");
1437
+ var de_DeleteCustomActionTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
1438
+ if (output.statusCode >= 300) {
1439
+ return de_DeleteCustomActionTypeCommandError(output, context);
1440
+ }
1441
+ await (0, import_smithy_client.collectBody)(output.body, context);
1442
+ const response = {
1443
+ $metadata: deserializeMetadata(output)
1444
+ };
1445
+ return response;
1446
+ }, "de_DeleteCustomActionTypeCommand");
1447
+ var de_DeleteCustomActionTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
1448
+ const parsedOutput = {
1449
+ ...output,
1450
+ body: await parseErrorBody(output.body, context)
1451
+ };
1452
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1453
+ switch (errorCode) {
1454
+ case "ConcurrentModificationException":
1455
+ case "com.amazonaws.codepipeline#ConcurrentModificationException":
1456
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1457
+ case "ValidationException":
1458
+ case "com.amazonaws.codepipeline#ValidationException":
1459
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1460
+ default:
1461
+ const parsedBody = parsedOutput.body;
1462
+ return throwDefaultError({
1463
+ output,
1464
+ parsedBody,
1465
+ errorCode
1466
+ });
1467
+ }
1468
+ }, "de_DeleteCustomActionTypeCommandError");
1469
+ var de_DeletePipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
1470
+ if (output.statusCode >= 300) {
1471
+ return de_DeletePipelineCommandError(output, context);
1472
+ }
1473
+ await (0, import_smithy_client.collectBody)(output.body, context);
1474
+ const response = {
1475
+ $metadata: deserializeMetadata(output)
1476
+ };
1477
+ return response;
1478
+ }, "de_DeletePipelineCommand");
1479
+ var de_DeletePipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
1480
+ const parsedOutput = {
1481
+ ...output,
1482
+ body: await parseErrorBody(output.body, context)
1483
+ };
1484
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1485
+ switch (errorCode) {
1486
+ case "ConcurrentModificationException":
1487
+ case "com.amazonaws.codepipeline#ConcurrentModificationException":
1488
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1489
+ case "ValidationException":
1490
+ case "com.amazonaws.codepipeline#ValidationException":
1491
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1492
+ default:
1493
+ const parsedBody = parsedOutput.body;
1494
+ return throwDefaultError({
1495
+ output,
1496
+ parsedBody,
1497
+ errorCode
1498
+ });
1499
+ }
1500
+ }, "de_DeletePipelineCommandError");
1501
+ var de_DeleteWebhookCommand = /* @__PURE__ */ __name(async (output, context) => {
1502
+ if (output.statusCode >= 300) {
1503
+ return de_DeleteWebhookCommandError(output, context);
1504
+ }
1505
+ const data = await parseBody(output.body, context);
1506
+ let contents = {};
1507
+ contents = (0, import_smithy_client._json)(data);
1508
+ const response = {
1509
+ $metadata: deserializeMetadata(output),
1510
+ ...contents
1511
+ };
1512
+ return response;
1513
+ }, "de_DeleteWebhookCommand");
1514
+ var de_DeleteWebhookCommandError = /* @__PURE__ */ __name(async (output, context) => {
1515
+ const parsedOutput = {
1516
+ ...output,
1517
+ body: await parseErrorBody(output.body, context)
1518
+ };
1519
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1520
+ switch (errorCode) {
1521
+ case "ConcurrentModificationException":
1522
+ case "com.amazonaws.codepipeline#ConcurrentModificationException":
1523
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1524
+ case "ValidationException":
1525
+ case "com.amazonaws.codepipeline#ValidationException":
1526
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1527
+ default:
1528
+ const parsedBody = parsedOutput.body;
1529
+ return throwDefaultError({
1530
+ output,
1531
+ parsedBody,
1532
+ errorCode
1533
+ });
1534
+ }
1535
+ }, "de_DeleteWebhookCommandError");
1536
+ var de_DeregisterWebhookWithThirdPartyCommand = /* @__PURE__ */ __name(async (output, context) => {
1537
+ if (output.statusCode >= 300) {
1538
+ return de_DeregisterWebhookWithThirdPartyCommandError(output, context);
1539
+ }
1540
+ const data = await parseBody(output.body, context);
1541
+ let contents = {};
1542
+ contents = (0, import_smithy_client._json)(data);
1543
+ const response = {
1544
+ $metadata: deserializeMetadata(output),
1545
+ ...contents
1546
+ };
1547
+ return response;
1548
+ }, "de_DeregisterWebhookWithThirdPartyCommand");
1549
+ var de_DeregisterWebhookWithThirdPartyCommandError = /* @__PURE__ */ __name(async (output, context) => {
1550
+ const parsedOutput = {
1551
+ ...output,
1552
+ body: await parseErrorBody(output.body, context)
1553
+ };
1554
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1555
+ switch (errorCode) {
1556
+ case "ValidationException":
1557
+ case "com.amazonaws.codepipeline#ValidationException":
1558
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1559
+ case "WebhookNotFoundException":
1560
+ case "com.amazonaws.codepipeline#WebhookNotFoundException":
1561
+ throw await de_WebhookNotFoundExceptionRes(parsedOutput, context);
1562
+ default:
1563
+ const parsedBody = parsedOutput.body;
1564
+ return throwDefaultError({
1565
+ output,
1566
+ parsedBody,
1567
+ errorCode
1568
+ });
1569
+ }
1570
+ }, "de_DeregisterWebhookWithThirdPartyCommandError");
1571
+ var de_DisableStageTransitionCommand = /* @__PURE__ */ __name(async (output, context) => {
1572
+ if (output.statusCode >= 300) {
1573
+ return de_DisableStageTransitionCommandError(output, context);
1574
+ }
1575
+ await (0, import_smithy_client.collectBody)(output.body, context);
1576
+ const response = {
1577
+ $metadata: deserializeMetadata(output)
1578
+ };
1579
+ return response;
1580
+ }, "de_DisableStageTransitionCommand");
1581
+ var de_DisableStageTransitionCommandError = /* @__PURE__ */ __name(async (output, context) => {
1582
+ const parsedOutput = {
1583
+ ...output,
1584
+ body: await parseErrorBody(output.body, context)
1585
+ };
1586
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1587
+ switch (errorCode) {
1588
+ case "PipelineNotFoundException":
1589
+ case "com.amazonaws.codepipeline#PipelineNotFoundException":
1590
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
1591
+ case "StageNotFoundException":
1592
+ case "com.amazonaws.codepipeline#StageNotFoundException":
1593
+ throw await de_StageNotFoundExceptionRes(parsedOutput, context);
1594
+ case "ValidationException":
1595
+ case "com.amazonaws.codepipeline#ValidationException":
1596
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1597
+ default:
1598
+ const parsedBody = parsedOutput.body;
1599
+ return throwDefaultError({
1600
+ output,
1601
+ parsedBody,
1602
+ errorCode
1603
+ });
1604
+ }
1605
+ }, "de_DisableStageTransitionCommandError");
1606
+ var de_EnableStageTransitionCommand = /* @__PURE__ */ __name(async (output, context) => {
1607
+ if (output.statusCode >= 300) {
1608
+ return de_EnableStageTransitionCommandError(output, context);
1609
+ }
1610
+ await (0, import_smithy_client.collectBody)(output.body, context);
1611
+ const response = {
1612
+ $metadata: deserializeMetadata(output)
1613
+ };
1614
+ return response;
1615
+ }, "de_EnableStageTransitionCommand");
1616
+ var de_EnableStageTransitionCommandError = /* @__PURE__ */ __name(async (output, context) => {
1617
+ const parsedOutput = {
1618
+ ...output,
1619
+ body: await parseErrorBody(output.body, context)
1620
+ };
1621
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1622
+ switch (errorCode) {
1623
+ case "PipelineNotFoundException":
1624
+ case "com.amazonaws.codepipeline#PipelineNotFoundException":
1625
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
1626
+ case "StageNotFoundException":
1627
+ case "com.amazonaws.codepipeline#StageNotFoundException":
1628
+ throw await de_StageNotFoundExceptionRes(parsedOutput, context);
1629
+ case "ValidationException":
1630
+ case "com.amazonaws.codepipeline#ValidationException":
1631
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1632
+ default:
1633
+ const parsedBody = parsedOutput.body;
1634
+ return throwDefaultError({
1635
+ output,
1636
+ parsedBody,
1637
+ errorCode
1638
+ });
1639
+ }
1640
+ }, "de_EnableStageTransitionCommandError");
1641
+ var de_GetActionTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
1642
+ if (output.statusCode >= 300) {
1643
+ return de_GetActionTypeCommandError(output, context);
1644
+ }
1645
+ const data = await parseBody(output.body, context);
1646
+ let contents = {};
1647
+ contents = (0, import_smithy_client._json)(data);
1648
+ const response = {
1649
+ $metadata: deserializeMetadata(output),
1650
+ ...contents
1651
+ };
1652
+ return response;
1653
+ }, "de_GetActionTypeCommand");
1654
+ var de_GetActionTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
1655
+ const parsedOutput = {
1656
+ ...output,
1657
+ body: await parseErrorBody(output.body, context)
1658
+ };
1659
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1660
+ switch (errorCode) {
1661
+ case "ActionTypeNotFoundException":
1662
+ case "com.amazonaws.codepipeline#ActionTypeNotFoundException":
1663
+ throw await de_ActionTypeNotFoundExceptionRes(parsedOutput, context);
1664
+ case "ValidationException":
1665
+ case "com.amazonaws.codepipeline#ValidationException":
1666
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1667
+ default:
1668
+ const parsedBody = parsedOutput.body;
1669
+ return throwDefaultError({
1670
+ output,
1671
+ parsedBody,
1672
+ errorCode
1673
+ });
1674
+ }
1675
+ }, "de_GetActionTypeCommandError");
1676
+ var de_GetJobDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
1677
+ if (output.statusCode >= 300) {
1678
+ return de_GetJobDetailsCommandError(output, context);
1679
+ }
1680
+ const data = await parseBody(output.body, context);
1681
+ let contents = {};
1682
+ contents = (0, import_smithy_client._json)(data);
1683
+ const response = {
1684
+ $metadata: deserializeMetadata(output),
1685
+ ...contents
1686
+ };
1687
+ return response;
1688
+ }, "de_GetJobDetailsCommand");
1689
+ var de_GetJobDetailsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1690
+ const parsedOutput = {
1691
+ ...output,
1692
+ body: await parseErrorBody(output.body, context)
1693
+ };
1694
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1695
+ switch (errorCode) {
1696
+ case "JobNotFoundException":
1697
+ case "com.amazonaws.codepipeline#JobNotFoundException":
1698
+ throw await de_JobNotFoundExceptionRes(parsedOutput, context);
1699
+ case "ValidationException":
1700
+ case "com.amazonaws.codepipeline#ValidationException":
1701
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1702
+ default:
1703
+ const parsedBody = parsedOutput.body;
1704
+ return throwDefaultError({
1705
+ output,
1706
+ parsedBody,
1707
+ errorCode
1708
+ });
1709
+ }
1710
+ }, "de_GetJobDetailsCommandError");
1711
+ var de_GetPipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
1712
+ if (output.statusCode >= 300) {
1713
+ return de_GetPipelineCommandError(output, context);
1714
+ }
1715
+ const data = await parseBody(output.body, context);
1716
+ let contents = {};
1717
+ contents = de_GetPipelineOutput(data, context);
1718
+ const response = {
1719
+ $metadata: deserializeMetadata(output),
1720
+ ...contents
1721
+ };
1722
+ return response;
1723
+ }, "de_GetPipelineCommand");
1724
+ var de_GetPipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
1725
+ const parsedOutput = {
1726
+ ...output,
1727
+ body: await parseErrorBody(output.body, context)
1728
+ };
1729
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1730
+ switch (errorCode) {
1731
+ case "PipelineNotFoundException":
1732
+ case "com.amazonaws.codepipeline#PipelineNotFoundException":
1733
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
1734
+ case "PipelineVersionNotFoundException":
1735
+ case "com.amazonaws.codepipeline#PipelineVersionNotFoundException":
1736
+ throw await de_PipelineVersionNotFoundExceptionRes(parsedOutput, context);
1737
+ case "ValidationException":
1738
+ case "com.amazonaws.codepipeline#ValidationException":
1739
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1740
+ default:
1741
+ const parsedBody = parsedOutput.body;
1742
+ return throwDefaultError({
1743
+ output,
1744
+ parsedBody,
1745
+ errorCode
1746
+ });
1747
+ }
1748
+ }, "de_GetPipelineCommandError");
1749
+ var de_GetPipelineExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
1750
+ if (output.statusCode >= 300) {
1751
+ return de_GetPipelineExecutionCommandError(output, context);
1752
+ }
1753
+ const data = await parseBody(output.body, context);
1754
+ let contents = {};
1755
+ contents = de_GetPipelineExecutionOutput(data, context);
1756
+ const response = {
1757
+ $metadata: deserializeMetadata(output),
1758
+ ...contents
1759
+ };
1760
+ return response;
1761
+ }, "de_GetPipelineExecutionCommand");
1762
+ var de_GetPipelineExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
1763
+ const parsedOutput = {
1764
+ ...output,
1765
+ body: await parseErrorBody(output.body, context)
1766
+ };
1767
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1768
+ switch (errorCode) {
1769
+ case "PipelineExecutionNotFoundException":
1770
+ case "com.amazonaws.codepipeline#PipelineExecutionNotFoundException":
1771
+ throw await de_PipelineExecutionNotFoundExceptionRes(parsedOutput, context);
1772
+ case "PipelineNotFoundException":
1773
+ case "com.amazonaws.codepipeline#PipelineNotFoundException":
1774
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
1775
+ case "ValidationException":
1776
+ case "com.amazonaws.codepipeline#ValidationException":
1777
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1778
+ default:
1779
+ const parsedBody = parsedOutput.body;
1780
+ return throwDefaultError({
1781
+ output,
1782
+ parsedBody,
1783
+ errorCode
1784
+ });
1785
+ }
1786
+ }, "de_GetPipelineExecutionCommandError");
1787
+ var de_GetPipelineStateCommand = /* @__PURE__ */ __name(async (output, context) => {
1788
+ if (output.statusCode >= 300) {
1789
+ return de_GetPipelineStateCommandError(output, context);
1790
+ }
1791
+ const data = await parseBody(output.body, context);
1792
+ let contents = {};
1793
+ contents = de_GetPipelineStateOutput(data, context);
1794
+ const response = {
1795
+ $metadata: deserializeMetadata(output),
1796
+ ...contents
1797
+ };
1798
+ return response;
1799
+ }, "de_GetPipelineStateCommand");
1800
+ var de_GetPipelineStateCommandError = /* @__PURE__ */ __name(async (output, context) => {
1801
+ const parsedOutput = {
1802
+ ...output,
1803
+ body: await parseErrorBody(output.body, context)
1804
+ };
1805
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1806
+ switch (errorCode) {
1807
+ case "PipelineNotFoundException":
1808
+ case "com.amazonaws.codepipeline#PipelineNotFoundException":
1809
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
1810
+ case "ValidationException":
1811
+ case "com.amazonaws.codepipeline#ValidationException":
1812
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1813
+ default:
1814
+ const parsedBody = parsedOutput.body;
1815
+ return throwDefaultError({
1816
+ output,
1817
+ parsedBody,
1818
+ errorCode
1819
+ });
1820
+ }
1821
+ }, "de_GetPipelineStateCommandError");
1822
+ var de_GetThirdPartyJobDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
1823
+ if (output.statusCode >= 300) {
1824
+ return de_GetThirdPartyJobDetailsCommandError(output, context);
1825
+ }
1826
+ const data = await parseBody(output.body, context);
1827
+ let contents = {};
1828
+ contents = (0, import_smithy_client._json)(data);
1829
+ const response = {
1830
+ $metadata: deserializeMetadata(output),
1831
+ ...contents
1832
+ };
1833
+ return response;
1834
+ }, "de_GetThirdPartyJobDetailsCommand");
1835
+ var de_GetThirdPartyJobDetailsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1836
+ const parsedOutput = {
1837
+ ...output,
1838
+ body: await parseErrorBody(output.body, context)
1839
+ };
1840
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1841
+ switch (errorCode) {
1842
+ case "InvalidClientTokenException":
1843
+ case "com.amazonaws.codepipeline#InvalidClientTokenException":
1844
+ throw await de_InvalidClientTokenExceptionRes(parsedOutput, context);
1845
+ case "InvalidJobException":
1846
+ case "com.amazonaws.codepipeline#InvalidJobException":
1847
+ throw await de_InvalidJobExceptionRes(parsedOutput, context);
1848
+ case "JobNotFoundException":
1849
+ case "com.amazonaws.codepipeline#JobNotFoundException":
1850
+ throw await de_JobNotFoundExceptionRes(parsedOutput, context);
1851
+ case "ValidationException":
1852
+ case "com.amazonaws.codepipeline#ValidationException":
1853
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1854
+ default:
1855
+ const parsedBody = parsedOutput.body;
1856
+ return throwDefaultError({
1857
+ output,
1858
+ parsedBody,
1859
+ errorCode
1860
+ });
1861
+ }
1862
+ }, "de_GetThirdPartyJobDetailsCommandError");
1863
+ var de_ListActionExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1864
+ if (output.statusCode >= 300) {
1865
+ return de_ListActionExecutionsCommandError(output, context);
1866
+ }
1867
+ const data = await parseBody(output.body, context);
1868
+ let contents = {};
1869
+ contents = de_ListActionExecutionsOutput(data, context);
1870
+ const response = {
1871
+ $metadata: deserializeMetadata(output),
1872
+ ...contents
1873
+ };
1874
+ return response;
1875
+ }, "de_ListActionExecutionsCommand");
1876
+ var de_ListActionExecutionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1877
+ const parsedOutput = {
1878
+ ...output,
1879
+ body: await parseErrorBody(output.body, context)
1880
+ };
1881
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1882
+ switch (errorCode) {
1883
+ case "InvalidNextTokenException":
1884
+ case "com.amazonaws.codepipeline#InvalidNextTokenException":
1885
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
1886
+ case "PipelineExecutionNotFoundException":
1887
+ case "com.amazonaws.codepipeline#PipelineExecutionNotFoundException":
1888
+ throw await de_PipelineExecutionNotFoundExceptionRes(parsedOutput, context);
1889
+ case "PipelineNotFoundException":
1890
+ case "com.amazonaws.codepipeline#PipelineNotFoundException":
1891
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
1892
+ case "ValidationException":
1893
+ case "com.amazonaws.codepipeline#ValidationException":
1894
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1895
+ default:
1896
+ const parsedBody = parsedOutput.body;
1897
+ return throwDefaultError({
1898
+ output,
1899
+ parsedBody,
1900
+ errorCode
1901
+ });
1902
+ }
1903
+ }, "de_ListActionExecutionsCommandError");
1904
+ var de_ListActionTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
1905
+ if (output.statusCode >= 300) {
1906
+ return de_ListActionTypesCommandError(output, context);
1907
+ }
1908
+ const data = await parseBody(output.body, context);
1909
+ let contents = {};
1910
+ contents = (0, import_smithy_client._json)(data);
1911
+ const response = {
1912
+ $metadata: deserializeMetadata(output),
1913
+ ...contents
1914
+ };
1915
+ return response;
1916
+ }, "de_ListActionTypesCommand");
1917
+ var de_ListActionTypesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1918
+ const parsedOutput = {
1919
+ ...output,
1920
+ body: await parseErrorBody(output.body, context)
1921
+ };
1922
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1923
+ switch (errorCode) {
1924
+ case "InvalidNextTokenException":
1925
+ case "com.amazonaws.codepipeline#InvalidNextTokenException":
1926
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
1927
+ case "ValidationException":
1928
+ case "com.amazonaws.codepipeline#ValidationException":
1929
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1930
+ default:
1931
+ const parsedBody = parsedOutput.body;
1932
+ return throwDefaultError({
1933
+ output,
1934
+ parsedBody,
1935
+ errorCode
1936
+ });
1937
+ }
1938
+ }, "de_ListActionTypesCommandError");
1939
+ var de_ListPipelineExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1940
+ if (output.statusCode >= 300) {
1941
+ return de_ListPipelineExecutionsCommandError(output, context);
1942
+ }
1943
+ const data = await parseBody(output.body, context);
1944
+ let contents = {};
1945
+ contents = de_ListPipelineExecutionsOutput(data, context);
1946
+ const response = {
1947
+ $metadata: deserializeMetadata(output),
1948
+ ...contents
1949
+ };
1950
+ return response;
1951
+ }, "de_ListPipelineExecutionsCommand");
1952
+ var de_ListPipelineExecutionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1953
+ const parsedOutput = {
1954
+ ...output,
1955
+ body: await parseErrorBody(output.body, context)
1956
+ };
1957
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1958
+ switch (errorCode) {
1959
+ case "InvalidNextTokenException":
1960
+ case "com.amazonaws.codepipeline#InvalidNextTokenException":
1961
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
1962
+ case "PipelineNotFoundException":
1963
+ case "com.amazonaws.codepipeline#PipelineNotFoundException":
1964
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
1965
+ case "ValidationException":
1966
+ case "com.amazonaws.codepipeline#ValidationException":
1967
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1968
+ default:
1969
+ const parsedBody = parsedOutput.body;
1970
+ return throwDefaultError({
1971
+ output,
1972
+ parsedBody,
1973
+ errorCode
1974
+ });
1975
+ }
1976
+ }, "de_ListPipelineExecutionsCommandError");
1977
+ var de_ListPipelinesCommand = /* @__PURE__ */ __name(async (output, context) => {
1978
+ if (output.statusCode >= 300) {
1979
+ return de_ListPipelinesCommandError(output, context);
1980
+ }
1981
+ const data = await parseBody(output.body, context);
1982
+ let contents = {};
1983
+ contents = de_ListPipelinesOutput(data, context);
1984
+ const response = {
1985
+ $metadata: deserializeMetadata(output),
1986
+ ...contents
1987
+ };
1988
+ return response;
1989
+ }, "de_ListPipelinesCommand");
1990
+ var de_ListPipelinesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1991
+ const parsedOutput = {
1992
+ ...output,
1993
+ body: await parseErrorBody(output.body, context)
1994
+ };
1995
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1996
+ switch (errorCode) {
1997
+ case "InvalidNextTokenException":
1998
+ case "com.amazonaws.codepipeline#InvalidNextTokenException":
1999
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
2000
+ case "ValidationException":
2001
+ case "com.amazonaws.codepipeline#ValidationException":
2002
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2003
+ default:
2004
+ const parsedBody = parsedOutput.body;
2005
+ return throwDefaultError({
2006
+ output,
2007
+ parsedBody,
2008
+ errorCode
2009
+ });
2010
+ }
2011
+ }, "de_ListPipelinesCommandError");
2012
+ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2013
+ if (output.statusCode >= 300) {
2014
+ return de_ListTagsForResourceCommandError(output, context);
2015
+ }
2016
+ const data = await parseBody(output.body, context);
2017
+ let contents = {};
2018
+ contents = (0, import_smithy_client._json)(data);
2019
+ const response = {
2020
+ $metadata: deserializeMetadata(output),
2021
+ ...contents
2022
+ };
2023
+ return response;
2024
+ }, "de_ListTagsForResourceCommand");
2025
+ var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2026
+ const parsedOutput = {
2027
+ ...output,
2028
+ body: await parseErrorBody(output.body, context)
2029
+ };
2030
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2031
+ switch (errorCode) {
2032
+ case "InvalidArnException":
2033
+ case "com.amazonaws.codepipeline#InvalidArnException":
2034
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
2035
+ case "InvalidNextTokenException":
2036
+ case "com.amazonaws.codepipeline#InvalidNextTokenException":
2037
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
2038
+ case "ResourceNotFoundException":
2039
+ case "com.amazonaws.codepipeline#ResourceNotFoundException":
2040
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2041
+ case "ValidationException":
2042
+ case "com.amazonaws.codepipeline#ValidationException":
2043
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2044
+ default:
2045
+ const parsedBody = parsedOutput.body;
2046
+ return throwDefaultError({
2047
+ output,
2048
+ parsedBody,
2049
+ errorCode
2050
+ });
2051
+ }
2052
+ }, "de_ListTagsForResourceCommandError");
2053
+ var de_ListWebhooksCommand = /* @__PURE__ */ __name(async (output, context) => {
2054
+ if (output.statusCode >= 300) {
2055
+ return de_ListWebhooksCommandError(output, context);
2056
+ }
2057
+ const data = await parseBody(output.body, context);
2058
+ let contents = {};
2059
+ contents = de_ListWebhooksOutput(data, context);
2060
+ const response = {
2061
+ $metadata: deserializeMetadata(output),
2062
+ ...contents
2063
+ };
2064
+ return response;
2065
+ }, "de_ListWebhooksCommand");
2066
+ var de_ListWebhooksCommandError = /* @__PURE__ */ __name(async (output, context) => {
2067
+ const parsedOutput = {
2068
+ ...output,
2069
+ body: await parseErrorBody(output.body, context)
2070
+ };
2071
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2072
+ switch (errorCode) {
2073
+ case "InvalidNextTokenException":
2074
+ case "com.amazonaws.codepipeline#InvalidNextTokenException":
2075
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
2076
+ case "ValidationException":
2077
+ case "com.amazonaws.codepipeline#ValidationException":
2078
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2079
+ default:
2080
+ const parsedBody = parsedOutput.body;
2081
+ return throwDefaultError({
2082
+ output,
2083
+ parsedBody,
2084
+ errorCode
2085
+ });
2086
+ }
2087
+ }, "de_ListWebhooksCommandError");
2088
+ var de_PollForJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
2089
+ if (output.statusCode >= 300) {
2090
+ return de_PollForJobsCommandError(output, context);
2091
+ }
2092
+ const data = await parseBody(output.body, context);
2093
+ let contents = {};
2094
+ contents = (0, import_smithy_client._json)(data);
2095
+ const response = {
2096
+ $metadata: deserializeMetadata(output),
2097
+ ...contents
2098
+ };
2099
+ return response;
2100
+ }, "de_PollForJobsCommand");
2101
+ var de_PollForJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2102
+ const parsedOutput = {
2103
+ ...output,
2104
+ body: await parseErrorBody(output.body, context)
2105
+ };
2106
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2107
+ switch (errorCode) {
2108
+ case "ActionTypeNotFoundException":
2109
+ case "com.amazonaws.codepipeline#ActionTypeNotFoundException":
2110
+ throw await de_ActionTypeNotFoundExceptionRes(parsedOutput, context);
2111
+ case "ValidationException":
2112
+ case "com.amazonaws.codepipeline#ValidationException":
2113
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2114
+ default:
2115
+ const parsedBody = parsedOutput.body;
2116
+ return throwDefaultError({
2117
+ output,
2118
+ parsedBody,
2119
+ errorCode
2120
+ });
2121
+ }
2122
+ }, "de_PollForJobsCommandError");
2123
+ var de_PollForThirdPartyJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
2124
+ if (output.statusCode >= 300) {
2125
+ return de_PollForThirdPartyJobsCommandError(output, context);
2126
+ }
2127
+ const data = await parseBody(output.body, context);
2128
+ let contents = {};
2129
+ contents = (0, import_smithy_client._json)(data);
2130
+ const response = {
2131
+ $metadata: deserializeMetadata(output),
2132
+ ...contents
2133
+ };
2134
+ return response;
2135
+ }, "de_PollForThirdPartyJobsCommand");
2136
+ var de_PollForThirdPartyJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2137
+ const parsedOutput = {
2138
+ ...output,
2139
+ body: await parseErrorBody(output.body, context)
2140
+ };
2141
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2142
+ switch (errorCode) {
2143
+ case "ActionTypeNotFoundException":
2144
+ case "com.amazonaws.codepipeline#ActionTypeNotFoundException":
2145
+ throw await de_ActionTypeNotFoundExceptionRes(parsedOutput, context);
2146
+ case "ValidationException":
2147
+ case "com.amazonaws.codepipeline#ValidationException":
2148
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2149
+ default:
2150
+ const parsedBody = parsedOutput.body;
2151
+ return throwDefaultError({
2152
+ output,
2153
+ parsedBody,
2154
+ errorCode
2155
+ });
2156
+ }
2157
+ }, "de_PollForThirdPartyJobsCommandError");
2158
+ var de_PutActionRevisionCommand = /* @__PURE__ */ __name(async (output, context) => {
2159
+ if (output.statusCode >= 300) {
2160
+ return de_PutActionRevisionCommandError(output, context);
2161
+ }
2162
+ const data = await parseBody(output.body, context);
2163
+ let contents = {};
2164
+ contents = (0, import_smithy_client._json)(data);
2165
+ const response = {
2166
+ $metadata: deserializeMetadata(output),
2167
+ ...contents
2168
+ };
2169
+ return response;
2170
+ }, "de_PutActionRevisionCommand");
2171
+ var de_PutActionRevisionCommandError = /* @__PURE__ */ __name(async (output, context) => {
2172
+ const parsedOutput = {
2173
+ ...output,
2174
+ body: await parseErrorBody(output.body, context)
2175
+ };
2176
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2177
+ switch (errorCode) {
2178
+ case "ActionNotFoundException":
2179
+ case "com.amazonaws.codepipeline#ActionNotFoundException":
2180
+ throw await de_ActionNotFoundExceptionRes(parsedOutput, context);
2181
+ case "PipelineNotFoundException":
2182
+ case "com.amazonaws.codepipeline#PipelineNotFoundException":
2183
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
2184
+ case "StageNotFoundException":
2185
+ case "com.amazonaws.codepipeline#StageNotFoundException":
2186
+ throw await de_StageNotFoundExceptionRes(parsedOutput, context);
2187
+ case "ValidationException":
2188
+ case "com.amazonaws.codepipeline#ValidationException":
2189
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2190
+ default:
2191
+ const parsedBody = parsedOutput.body;
2192
+ return throwDefaultError({
2193
+ output,
2194
+ parsedBody,
2195
+ errorCode
2196
+ });
2197
+ }
2198
+ }, "de_PutActionRevisionCommandError");
2199
+ var de_PutApprovalResultCommand = /* @__PURE__ */ __name(async (output, context) => {
2200
+ if (output.statusCode >= 300) {
2201
+ return de_PutApprovalResultCommandError(output, context);
2202
+ }
2203
+ const data = await parseBody(output.body, context);
2204
+ let contents = {};
2205
+ contents = de_PutApprovalResultOutput(data, context);
2206
+ const response = {
2207
+ $metadata: deserializeMetadata(output),
2208
+ ...contents
2209
+ };
2210
+ return response;
2211
+ }, "de_PutApprovalResultCommand");
2212
+ var de_PutApprovalResultCommandError = /* @__PURE__ */ __name(async (output, context) => {
2213
+ const parsedOutput = {
2214
+ ...output,
2215
+ body: await parseErrorBody(output.body, context)
2216
+ };
2217
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2218
+ switch (errorCode) {
2219
+ case "ActionNotFoundException":
2220
+ case "com.amazonaws.codepipeline#ActionNotFoundException":
2221
+ throw await de_ActionNotFoundExceptionRes(parsedOutput, context);
2222
+ case "ApprovalAlreadyCompletedException":
2223
+ case "com.amazonaws.codepipeline#ApprovalAlreadyCompletedException":
2224
+ throw await de_ApprovalAlreadyCompletedExceptionRes(parsedOutput, context);
2225
+ case "InvalidApprovalTokenException":
2226
+ case "com.amazonaws.codepipeline#InvalidApprovalTokenException":
2227
+ throw await de_InvalidApprovalTokenExceptionRes(parsedOutput, context);
2228
+ case "PipelineNotFoundException":
2229
+ case "com.amazonaws.codepipeline#PipelineNotFoundException":
2230
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
2231
+ case "StageNotFoundException":
2232
+ case "com.amazonaws.codepipeline#StageNotFoundException":
2233
+ throw await de_StageNotFoundExceptionRes(parsedOutput, context);
2234
+ case "ValidationException":
2235
+ case "com.amazonaws.codepipeline#ValidationException":
2236
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2237
+ default:
2238
+ const parsedBody = parsedOutput.body;
2239
+ return throwDefaultError({
2240
+ output,
2241
+ parsedBody,
2242
+ errorCode
2243
+ });
2244
+ }
2245
+ }, "de_PutApprovalResultCommandError");
2246
+ var de_PutJobFailureResultCommand = /* @__PURE__ */ __name(async (output, context) => {
2247
+ if (output.statusCode >= 300) {
2248
+ return de_PutJobFailureResultCommandError(output, context);
2249
+ }
2250
+ await (0, import_smithy_client.collectBody)(output.body, context);
2251
+ const response = {
2252
+ $metadata: deserializeMetadata(output)
2253
+ };
2254
+ return response;
2255
+ }, "de_PutJobFailureResultCommand");
2256
+ var de_PutJobFailureResultCommandError = /* @__PURE__ */ __name(async (output, context) => {
2257
+ const parsedOutput = {
2258
+ ...output,
2259
+ body: await parseErrorBody(output.body, context)
2260
+ };
2261
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2262
+ switch (errorCode) {
2263
+ case "InvalidJobStateException":
2264
+ case "com.amazonaws.codepipeline#InvalidJobStateException":
2265
+ throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
2266
+ case "JobNotFoundException":
2267
+ case "com.amazonaws.codepipeline#JobNotFoundException":
2268
+ throw await de_JobNotFoundExceptionRes(parsedOutput, context);
2269
+ case "ValidationException":
2270
+ case "com.amazonaws.codepipeline#ValidationException":
2271
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2272
+ default:
2273
+ const parsedBody = parsedOutput.body;
2274
+ return throwDefaultError({
2275
+ output,
2276
+ parsedBody,
2277
+ errorCode
2278
+ });
2279
+ }
2280
+ }, "de_PutJobFailureResultCommandError");
2281
+ var de_PutJobSuccessResultCommand = /* @__PURE__ */ __name(async (output, context) => {
2282
+ if (output.statusCode >= 300) {
2283
+ return de_PutJobSuccessResultCommandError(output, context);
2284
+ }
2285
+ await (0, import_smithy_client.collectBody)(output.body, context);
2286
+ const response = {
2287
+ $metadata: deserializeMetadata(output)
2288
+ };
2289
+ return response;
2290
+ }, "de_PutJobSuccessResultCommand");
2291
+ var de_PutJobSuccessResultCommandError = /* @__PURE__ */ __name(async (output, context) => {
2292
+ const parsedOutput = {
2293
+ ...output,
2294
+ body: await parseErrorBody(output.body, context)
2295
+ };
2296
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2297
+ switch (errorCode) {
2298
+ case "InvalidJobStateException":
2299
+ case "com.amazonaws.codepipeline#InvalidJobStateException":
2300
+ throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
2301
+ case "JobNotFoundException":
2302
+ case "com.amazonaws.codepipeline#JobNotFoundException":
2303
+ throw await de_JobNotFoundExceptionRes(parsedOutput, context);
2304
+ case "OutputVariablesSizeExceededException":
2305
+ case "com.amazonaws.codepipeline#OutputVariablesSizeExceededException":
2306
+ throw await de_OutputVariablesSizeExceededExceptionRes(parsedOutput, context);
2307
+ case "ValidationException":
2308
+ case "com.amazonaws.codepipeline#ValidationException":
2309
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2310
+ default:
2311
+ const parsedBody = parsedOutput.body;
2312
+ return throwDefaultError({
2313
+ output,
2314
+ parsedBody,
2315
+ errorCode
2316
+ });
2317
+ }
2318
+ }, "de_PutJobSuccessResultCommandError");
2319
+ var de_PutThirdPartyJobFailureResultCommand = /* @__PURE__ */ __name(async (output, context) => {
2320
+ if (output.statusCode >= 300) {
2321
+ return de_PutThirdPartyJobFailureResultCommandError(output, context);
2322
+ }
2323
+ await (0, import_smithy_client.collectBody)(output.body, context);
2324
+ const response = {
2325
+ $metadata: deserializeMetadata(output)
2326
+ };
2327
+ return response;
2328
+ }, "de_PutThirdPartyJobFailureResultCommand");
2329
+ var de_PutThirdPartyJobFailureResultCommandError = /* @__PURE__ */ __name(async (output, context) => {
2330
+ const parsedOutput = {
2331
+ ...output,
2332
+ body: await parseErrorBody(output.body, context)
2333
+ };
2334
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2335
+ switch (errorCode) {
2336
+ case "InvalidClientTokenException":
2337
+ case "com.amazonaws.codepipeline#InvalidClientTokenException":
2338
+ throw await de_InvalidClientTokenExceptionRes(parsedOutput, context);
2339
+ case "InvalidJobStateException":
2340
+ case "com.amazonaws.codepipeline#InvalidJobStateException":
2341
+ throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
2342
+ case "JobNotFoundException":
2343
+ case "com.amazonaws.codepipeline#JobNotFoundException":
2344
+ throw await de_JobNotFoundExceptionRes(parsedOutput, context);
2345
+ case "ValidationException":
2346
+ case "com.amazonaws.codepipeline#ValidationException":
2347
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2348
+ default:
2349
+ const parsedBody = parsedOutput.body;
2350
+ return throwDefaultError({
2351
+ output,
2352
+ parsedBody,
2353
+ errorCode
2354
+ });
2355
+ }
2356
+ }, "de_PutThirdPartyJobFailureResultCommandError");
2357
+ var de_PutThirdPartyJobSuccessResultCommand = /* @__PURE__ */ __name(async (output, context) => {
2358
+ if (output.statusCode >= 300) {
2359
+ return de_PutThirdPartyJobSuccessResultCommandError(output, context);
2360
+ }
2361
+ await (0, import_smithy_client.collectBody)(output.body, context);
2362
+ const response = {
2363
+ $metadata: deserializeMetadata(output)
2364
+ };
2365
+ return response;
2366
+ }, "de_PutThirdPartyJobSuccessResultCommand");
2367
+ var de_PutThirdPartyJobSuccessResultCommandError = /* @__PURE__ */ __name(async (output, context) => {
2368
+ const parsedOutput = {
2369
+ ...output,
2370
+ body: await parseErrorBody(output.body, context)
2371
+ };
2372
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2373
+ switch (errorCode) {
2374
+ case "InvalidClientTokenException":
2375
+ case "com.amazonaws.codepipeline#InvalidClientTokenException":
2376
+ throw await de_InvalidClientTokenExceptionRes(parsedOutput, context);
2377
+ case "InvalidJobStateException":
2378
+ case "com.amazonaws.codepipeline#InvalidJobStateException":
2379
+ throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
2380
+ case "JobNotFoundException":
2381
+ case "com.amazonaws.codepipeline#JobNotFoundException":
2382
+ throw await de_JobNotFoundExceptionRes(parsedOutput, context);
2383
+ case "ValidationException":
2384
+ case "com.amazonaws.codepipeline#ValidationException":
2385
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2386
+ default:
2387
+ const parsedBody = parsedOutput.body;
2388
+ return throwDefaultError({
2389
+ output,
2390
+ parsedBody,
2391
+ errorCode
2392
+ });
2393
+ }
2394
+ }, "de_PutThirdPartyJobSuccessResultCommandError");
2395
+ var de_PutWebhookCommand = /* @__PURE__ */ __name(async (output, context) => {
2396
+ if (output.statusCode >= 300) {
2397
+ return de_PutWebhookCommandError(output, context);
2398
+ }
2399
+ const data = await parseBody(output.body, context);
2400
+ let contents = {};
2401
+ contents = de_PutWebhookOutput(data, context);
2402
+ const response = {
2403
+ $metadata: deserializeMetadata(output),
2404
+ ...contents
2405
+ };
2406
+ return response;
2407
+ }, "de_PutWebhookCommand");
2408
+ var de_PutWebhookCommandError = /* @__PURE__ */ __name(async (output, context) => {
2409
+ const parsedOutput = {
2410
+ ...output,
2411
+ body: await parseErrorBody(output.body, context)
2412
+ };
2413
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2414
+ switch (errorCode) {
2415
+ case "ConcurrentModificationException":
2416
+ case "com.amazonaws.codepipeline#ConcurrentModificationException":
2417
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2418
+ case "InvalidTagsException":
2419
+ case "com.amazonaws.codepipeline#InvalidTagsException":
2420
+ throw await de_InvalidTagsExceptionRes(parsedOutput, context);
2421
+ case "InvalidWebhookAuthenticationParametersException":
2422
+ case "com.amazonaws.codepipeline#InvalidWebhookAuthenticationParametersException":
2423
+ throw await de_InvalidWebhookAuthenticationParametersExceptionRes(parsedOutput, context);
2424
+ case "InvalidWebhookFilterPatternException":
2425
+ case "com.amazonaws.codepipeline#InvalidWebhookFilterPatternException":
2426
+ throw await de_InvalidWebhookFilterPatternExceptionRes(parsedOutput, context);
2427
+ case "LimitExceededException":
2428
+ case "com.amazonaws.codepipeline#LimitExceededException":
2429
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2430
+ case "PipelineNotFoundException":
2431
+ case "com.amazonaws.codepipeline#PipelineNotFoundException":
2432
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
2433
+ case "TooManyTagsException":
2434
+ case "com.amazonaws.codepipeline#TooManyTagsException":
2435
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
2436
+ case "ValidationException":
2437
+ case "com.amazonaws.codepipeline#ValidationException":
2438
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2439
+ default:
2440
+ const parsedBody = parsedOutput.body;
2441
+ return throwDefaultError({
2442
+ output,
2443
+ parsedBody,
2444
+ errorCode
2445
+ });
2446
+ }
2447
+ }, "de_PutWebhookCommandError");
2448
+ var de_RegisterWebhookWithThirdPartyCommand = /* @__PURE__ */ __name(async (output, context) => {
2449
+ if (output.statusCode >= 300) {
2450
+ return de_RegisterWebhookWithThirdPartyCommandError(output, context);
2451
+ }
2452
+ const data = await parseBody(output.body, context);
2453
+ let contents = {};
2454
+ contents = (0, import_smithy_client._json)(data);
2455
+ const response = {
2456
+ $metadata: deserializeMetadata(output),
2457
+ ...contents
2458
+ };
2459
+ return response;
2460
+ }, "de_RegisterWebhookWithThirdPartyCommand");
2461
+ var de_RegisterWebhookWithThirdPartyCommandError = /* @__PURE__ */ __name(async (output, context) => {
2462
+ const parsedOutput = {
2463
+ ...output,
2464
+ body: await parseErrorBody(output.body, context)
2465
+ };
2466
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2467
+ switch (errorCode) {
2468
+ case "ValidationException":
2469
+ case "com.amazonaws.codepipeline#ValidationException":
2470
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2471
+ case "WebhookNotFoundException":
2472
+ case "com.amazonaws.codepipeline#WebhookNotFoundException":
2473
+ throw await de_WebhookNotFoundExceptionRes(parsedOutput, context);
2474
+ default:
2475
+ const parsedBody = parsedOutput.body;
2476
+ return throwDefaultError({
2477
+ output,
2478
+ parsedBody,
2479
+ errorCode
2480
+ });
2481
+ }
2482
+ }, "de_RegisterWebhookWithThirdPartyCommandError");
2483
+ var de_RetryStageExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
2484
+ if (output.statusCode >= 300) {
2485
+ return de_RetryStageExecutionCommandError(output, context);
2486
+ }
2487
+ const data = await parseBody(output.body, context);
2488
+ let contents = {};
2489
+ contents = (0, import_smithy_client._json)(data);
2490
+ const response = {
2491
+ $metadata: deserializeMetadata(output),
2492
+ ...contents
2493
+ };
2494
+ return response;
2495
+ }, "de_RetryStageExecutionCommand");
2496
+ var de_RetryStageExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
2497
+ const parsedOutput = {
2498
+ ...output,
2499
+ body: await parseErrorBody(output.body, context)
2500
+ };
2501
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2502
+ switch (errorCode) {
2503
+ case "ConflictException":
2504
+ case "com.amazonaws.codepipeline#ConflictException":
2505
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2506
+ case "NotLatestPipelineExecutionException":
2507
+ case "com.amazonaws.codepipeline#NotLatestPipelineExecutionException":
2508
+ throw await de_NotLatestPipelineExecutionExceptionRes(parsedOutput, context);
2509
+ case "PipelineNotFoundException":
2510
+ case "com.amazonaws.codepipeline#PipelineNotFoundException":
2511
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
2512
+ case "StageNotFoundException":
2513
+ case "com.amazonaws.codepipeline#StageNotFoundException":
2514
+ throw await de_StageNotFoundExceptionRes(parsedOutput, context);
2515
+ case "StageNotRetryableException":
2516
+ case "com.amazonaws.codepipeline#StageNotRetryableException":
2517
+ throw await de_StageNotRetryableExceptionRes(parsedOutput, context);
2518
+ case "ValidationException":
2519
+ case "com.amazonaws.codepipeline#ValidationException":
2520
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2521
+ default:
2522
+ const parsedBody = parsedOutput.body;
2523
+ return throwDefaultError({
2524
+ output,
2525
+ parsedBody,
2526
+ errorCode
2527
+ });
2528
+ }
2529
+ }, "de_RetryStageExecutionCommandError");
2530
+ var de_StartPipelineExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
2531
+ if (output.statusCode >= 300) {
2532
+ return de_StartPipelineExecutionCommandError(output, context);
2533
+ }
2534
+ const data = await parseBody(output.body, context);
2535
+ let contents = {};
2536
+ contents = (0, import_smithy_client._json)(data);
2537
+ const response = {
2538
+ $metadata: deserializeMetadata(output),
2539
+ ...contents
2540
+ };
2541
+ return response;
2542
+ }, "de_StartPipelineExecutionCommand");
2543
+ var de_StartPipelineExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
2544
+ const parsedOutput = {
2545
+ ...output,
2546
+ body: await parseErrorBody(output.body, context)
2547
+ };
2548
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2549
+ switch (errorCode) {
2550
+ case "ConflictException":
2551
+ case "com.amazonaws.codepipeline#ConflictException":
2552
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2553
+ case "PipelineNotFoundException":
2554
+ case "com.amazonaws.codepipeline#PipelineNotFoundException":
2555
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
2556
+ case "ValidationException":
2557
+ case "com.amazonaws.codepipeline#ValidationException":
2558
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2559
+ default:
2560
+ const parsedBody = parsedOutput.body;
2561
+ return throwDefaultError({
2562
+ output,
2563
+ parsedBody,
2564
+ errorCode
2565
+ });
2566
+ }
2567
+ }, "de_StartPipelineExecutionCommandError");
2568
+ var de_StopPipelineExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
2569
+ if (output.statusCode >= 300) {
2570
+ return de_StopPipelineExecutionCommandError(output, context);
2571
+ }
2572
+ const data = await parseBody(output.body, context);
2573
+ let contents = {};
2574
+ contents = (0, import_smithy_client._json)(data);
2575
+ const response = {
2576
+ $metadata: deserializeMetadata(output),
2577
+ ...contents
2578
+ };
2579
+ return response;
2580
+ }, "de_StopPipelineExecutionCommand");
2581
+ var de_StopPipelineExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
2582
+ const parsedOutput = {
2583
+ ...output,
2584
+ body: await parseErrorBody(output.body, context)
2585
+ };
2586
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2587
+ switch (errorCode) {
2588
+ case "ConflictException":
2589
+ case "com.amazonaws.codepipeline#ConflictException":
2590
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2591
+ case "DuplicatedStopRequestException":
2592
+ case "com.amazonaws.codepipeline#DuplicatedStopRequestException":
2593
+ throw await de_DuplicatedStopRequestExceptionRes(parsedOutput, context);
2594
+ case "PipelineExecutionNotStoppableException":
2595
+ case "com.amazonaws.codepipeline#PipelineExecutionNotStoppableException":
2596
+ throw await de_PipelineExecutionNotStoppableExceptionRes(parsedOutput, context);
2597
+ case "PipelineNotFoundException":
2598
+ case "com.amazonaws.codepipeline#PipelineNotFoundException":
2599
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
2600
+ case "ValidationException":
2601
+ case "com.amazonaws.codepipeline#ValidationException":
2602
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2603
+ default:
2604
+ const parsedBody = parsedOutput.body;
2605
+ return throwDefaultError({
2606
+ output,
2607
+ parsedBody,
2608
+ errorCode
2609
+ });
2610
+ }
2611
+ }, "de_StopPipelineExecutionCommandError");
2612
+ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2613
+ if (output.statusCode >= 300) {
2614
+ return de_TagResourceCommandError(output, context);
2615
+ }
2616
+ const data = await parseBody(output.body, context);
2617
+ let contents = {};
2618
+ contents = (0, import_smithy_client._json)(data);
2619
+ const response = {
2620
+ $metadata: deserializeMetadata(output),
2621
+ ...contents
2622
+ };
2623
+ return response;
2624
+ }, "de_TagResourceCommand");
2625
+ var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2626
+ const parsedOutput = {
2627
+ ...output,
2628
+ body: await parseErrorBody(output.body, context)
2629
+ };
2630
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2631
+ switch (errorCode) {
2632
+ case "ConcurrentModificationException":
2633
+ case "com.amazonaws.codepipeline#ConcurrentModificationException":
2634
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2635
+ case "InvalidArnException":
2636
+ case "com.amazonaws.codepipeline#InvalidArnException":
2637
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
2638
+ case "InvalidTagsException":
2639
+ case "com.amazonaws.codepipeline#InvalidTagsException":
2640
+ throw await de_InvalidTagsExceptionRes(parsedOutput, context);
2641
+ case "ResourceNotFoundException":
2642
+ case "com.amazonaws.codepipeline#ResourceNotFoundException":
2643
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2644
+ case "TooManyTagsException":
2645
+ case "com.amazonaws.codepipeline#TooManyTagsException":
2646
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
2647
+ case "ValidationException":
2648
+ case "com.amazonaws.codepipeline#ValidationException":
2649
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2650
+ default:
2651
+ const parsedBody = parsedOutput.body;
2652
+ return throwDefaultError({
2653
+ output,
2654
+ parsedBody,
2655
+ errorCode
2656
+ });
2657
+ }
2658
+ }, "de_TagResourceCommandError");
2659
+ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2660
+ if (output.statusCode >= 300) {
2661
+ return de_UntagResourceCommandError(output, context);
2662
+ }
2663
+ const data = await parseBody(output.body, context);
2664
+ let contents = {};
2665
+ contents = (0, import_smithy_client._json)(data);
2666
+ const response = {
2667
+ $metadata: deserializeMetadata(output),
2668
+ ...contents
2669
+ };
2670
+ return response;
2671
+ }, "de_UntagResourceCommand");
2672
+ var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2673
+ const parsedOutput = {
2674
+ ...output,
2675
+ body: await parseErrorBody(output.body, context)
2676
+ };
2677
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2678
+ switch (errorCode) {
2679
+ case "ConcurrentModificationException":
2680
+ case "com.amazonaws.codepipeline#ConcurrentModificationException":
2681
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2682
+ case "InvalidArnException":
2683
+ case "com.amazonaws.codepipeline#InvalidArnException":
2684
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
2685
+ case "InvalidTagsException":
2686
+ case "com.amazonaws.codepipeline#InvalidTagsException":
2687
+ throw await de_InvalidTagsExceptionRes(parsedOutput, context);
2688
+ case "ResourceNotFoundException":
2689
+ case "com.amazonaws.codepipeline#ResourceNotFoundException":
2690
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2691
+ case "ValidationException":
2692
+ case "com.amazonaws.codepipeline#ValidationException":
2693
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2694
+ default:
2695
+ const parsedBody = parsedOutput.body;
2696
+ return throwDefaultError({
2697
+ output,
2698
+ parsedBody,
2699
+ errorCode
2700
+ });
2701
+ }
2702
+ }, "de_UntagResourceCommandError");
2703
+ var de_UpdateActionTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
2704
+ if (output.statusCode >= 300) {
2705
+ return de_UpdateActionTypeCommandError(output, context);
2706
+ }
2707
+ await (0, import_smithy_client.collectBody)(output.body, context);
2708
+ const response = {
2709
+ $metadata: deserializeMetadata(output)
2710
+ };
2711
+ return response;
2712
+ }, "de_UpdateActionTypeCommand");
2713
+ var de_UpdateActionTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
2714
+ const parsedOutput = {
2715
+ ...output,
2716
+ body: await parseErrorBody(output.body, context)
2717
+ };
2718
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2719
+ switch (errorCode) {
2720
+ case "ActionTypeNotFoundException":
2721
+ case "com.amazonaws.codepipeline#ActionTypeNotFoundException":
2722
+ throw await de_ActionTypeNotFoundExceptionRes(parsedOutput, context);
2723
+ case "RequestFailedException":
2724
+ case "com.amazonaws.codepipeline#RequestFailedException":
2725
+ throw await de_RequestFailedExceptionRes(parsedOutput, context);
2726
+ case "ValidationException":
2727
+ case "com.amazonaws.codepipeline#ValidationException":
2728
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2729
+ default:
2730
+ const parsedBody = parsedOutput.body;
2731
+ return throwDefaultError({
2732
+ output,
2733
+ parsedBody,
2734
+ errorCode
2735
+ });
2736
+ }
2737
+ }, "de_UpdateActionTypeCommandError");
2738
+ var de_UpdatePipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
2739
+ if (output.statusCode >= 300) {
2740
+ return de_UpdatePipelineCommandError(output, context);
2741
+ }
2742
+ const data = await parseBody(output.body, context);
2743
+ let contents = {};
2744
+ contents = (0, import_smithy_client._json)(data);
2745
+ const response = {
2746
+ $metadata: deserializeMetadata(output),
2747
+ ...contents
2748
+ };
2749
+ return response;
2750
+ }, "de_UpdatePipelineCommand");
2751
+ var de_UpdatePipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
2752
+ const parsedOutput = {
2753
+ ...output,
2754
+ body: await parseErrorBody(output.body, context)
2755
+ };
2756
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2757
+ switch (errorCode) {
2758
+ case "InvalidActionDeclarationException":
2759
+ case "com.amazonaws.codepipeline#InvalidActionDeclarationException":
2760
+ throw await de_InvalidActionDeclarationExceptionRes(parsedOutput, context);
2761
+ case "InvalidBlockerDeclarationException":
2762
+ case "com.amazonaws.codepipeline#InvalidBlockerDeclarationException":
2763
+ throw await de_InvalidBlockerDeclarationExceptionRes(parsedOutput, context);
2764
+ case "InvalidStageDeclarationException":
2765
+ case "com.amazonaws.codepipeline#InvalidStageDeclarationException":
2766
+ throw await de_InvalidStageDeclarationExceptionRes(parsedOutput, context);
2767
+ case "InvalidStructureException":
2768
+ case "com.amazonaws.codepipeline#InvalidStructureException":
2769
+ throw await de_InvalidStructureExceptionRes(parsedOutput, context);
2770
+ case "LimitExceededException":
2771
+ case "com.amazonaws.codepipeline#LimitExceededException":
2772
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2773
+ case "ValidationException":
2774
+ case "com.amazonaws.codepipeline#ValidationException":
2775
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2776
+ default:
2777
+ const parsedBody = parsedOutput.body;
2778
+ return throwDefaultError({
2779
+ output,
2780
+ parsedBody,
2781
+ errorCode
2782
+ });
2783
+ }
2784
+ }, "de_UpdatePipelineCommandError");
2785
+ var de_ActionNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2786
+ const body = parsedOutput.body;
2787
+ const deserialized = (0, import_smithy_client._json)(body);
2788
+ const exception = new ActionNotFoundException({
2789
+ $metadata: deserializeMetadata(parsedOutput),
2790
+ ...deserialized
2791
+ });
2792
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2793
+ }, "de_ActionNotFoundExceptionRes");
2794
+ var de_ActionTypeNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2795
+ const body = parsedOutput.body;
2796
+ const deserialized = (0, import_smithy_client._json)(body);
2797
+ const exception = new ActionTypeNotFoundException({
2798
+ $metadata: deserializeMetadata(parsedOutput),
2799
+ ...deserialized
2800
+ });
2801
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2802
+ }, "de_ActionTypeNotFoundExceptionRes");
2803
+ var de_ApprovalAlreadyCompletedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2804
+ const body = parsedOutput.body;
2805
+ const deserialized = (0, import_smithy_client._json)(body);
2806
+ const exception = new ApprovalAlreadyCompletedException({
2807
+ $metadata: deserializeMetadata(parsedOutput),
2808
+ ...deserialized
2809
+ });
2810
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2811
+ }, "de_ApprovalAlreadyCompletedExceptionRes");
2812
+ var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2813
+ const body = parsedOutput.body;
2814
+ const deserialized = (0, import_smithy_client._json)(body);
2815
+ const exception = new ConcurrentModificationException({
2816
+ $metadata: deserializeMetadata(parsedOutput),
2817
+ ...deserialized
2818
+ });
2819
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2820
+ }, "de_ConcurrentModificationExceptionRes");
2821
+ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2822
+ const body = parsedOutput.body;
2823
+ const deserialized = (0, import_smithy_client._json)(body);
2824
+ const exception = new ConflictException({
2825
+ $metadata: deserializeMetadata(parsedOutput),
2826
+ ...deserialized
2827
+ });
2828
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2829
+ }, "de_ConflictExceptionRes");
2830
+ var de_DuplicatedStopRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2831
+ const body = parsedOutput.body;
2832
+ const deserialized = (0, import_smithy_client._json)(body);
2833
+ const exception = new DuplicatedStopRequestException({
2834
+ $metadata: deserializeMetadata(parsedOutput),
2835
+ ...deserialized
2836
+ });
2837
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2838
+ }, "de_DuplicatedStopRequestExceptionRes");
2839
+ var de_InvalidActionDeclarationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2840
+ const body = parsedOutput.body;
2841
+ const deserialized = (0, import_smithy_client._json)(body);
2842
+ const exception = new InvalidActionDeclarationException({
2843
+ $metadata: deserializeMetadata(parsedOutput),
2844
+ ...deserialized
2845
+ });
2846
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2847
+ }, "de_InvalidActionDeclarationExceptionRes");
2848
+ var de_InvalidApprovalTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2849
+ const body = parsedOutput.body;
2850
+ const deserialized = (0, import_smithy_client._json)(body);
2851
+ const exception = new InvalidApprovalTokenException({
2852
+ $metadata: deserializeMetadata(parsedOutput),
2853
+ ...deserialized
2854
+ });
2855
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2856
+ }, "de_InvalidApprovalTokenExceptionRes");
2857
+ var de_InvalidArnExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2858
+ const body = parsedOutput.body;
2859
+ const deserialized = (0, import_smithy_client._json)(body);
2860
+ const exception = new InvalidArnException({
2861
+ $metadata: deserializeMetadata(parsedOutput),
2862
+ ...deserialized
2863
+ });
2864
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2865
+ }, "de_InvalidArnExceptionRes");
2866
+ var de_InvalidBlockerDeclarationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2867
+ const body = parsedOutput.body;
2868
+ const deserialized = (0, import_smithy_client._json)(body);
2869
+ const exception = new InvalidBlockerDeclarationException({
2870
+ $metadata: deserializeMetadata(parsedOutput),
2871
+ ...deserialized
2872
+ });
2873
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2874
+ }, "de_InvalidBlockerDeclarationExceptionRes");
2875
+ var de_InvalidClientTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2876
+ const body = parsedOutput.body;
2877
+ const deserialized = (0, import_smithy_client._json)(body);
2878
+ const exception = new InvalidClientTokenException({
2879
+ $metadata: deserializeMetadata(parsedOutput),
2880
+ ...deserialized
2881
+ });
2882
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2883
+ }, "de_InvalidClientTokenExceptionRes");
2884
+ var de_InvalidJobExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2885
+ const body = parsedOutput.body;
2886
+ const deserialized = (0, import_smithy_client._json)(body);
2887
+ const exception = new InvalidJobException({
2888
+ $metadata: deserializeMetadata(parsedOutput),
2889
+ ...deserialized
2890
+ });
2891
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2892
+ }, "de_InvalidJobExceptionRes");
2893
+ var de_InvalidJobStateExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2894
+ const body = parsedOutput.body;
2895
+ const deserialized = (0, import_smithy_client._json)(body);
2896
+ const exception = new InvalidJobStateException({
2897
+ $metadata: deserializeMetadata(parsedOutput),
2898
+ ...deserialized
2899
+ });
2900
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2901
+ }, "de_InvalidJobStateExceptionRes");
2902
+ var de_InvalidNextTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2903
+ const body = parsedOutput.body;
2904
+ const deserialized = (0, import_smithy_client._json)(body);
2905
+ const exception = new InvalidNextTokenException({
2906
+ $metadata: deserializeMetadata(parsedOutput),
2907
+ ...deserialized
2908
+ });
2909
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2910
+ }, "de_InvalidNextTokenExceptionRes");
2911
+ var de_InvalidNonceExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2912
+ const body = parsedOutput.body;
2913
+ const deserialized = (0, import_smithy_client._json)(body);
2914
+ const exception = new InvalidNonceException({
2915
+ $metadata: deserializeMetadata(parsedOutput),
2916
+ ...deserialized
2917
+ });
2918
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2919
+ }, "de_InvalidNonceExceptionRes");
2920
+ var de_InvalidStageDeclarationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2921
+ const body = parsedOutput.body;
2922
+ const deserialized = (0, import_smithy_client._json)(body);
2923
+ const exception = new InvalidStageDeclarationException({
2924
+ $metadata: deserializeMetadata(parsedOutput),
2925
+ ...deserialized
2926
+ });
2927
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2928
+ }, "de_InvalidStageDeclarationExceptionRes");
2929
+ var de_InvalidStructureExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2930
+ const body = parsedOutput.body;
2931
+ const deserialized = (0, import_smithy_client._json)(body);
2932
+ const exception = new InvalidStructureException({
2933
+ $metadata: deserializeMetadata(parsedOutput),
2934
+ ...deserialized
2935
+ });
2936
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2937
+ }, "de_InvalidStructureExceptionRes");
2938
+ var de_InvalidTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2939
+ const body = parsedOutput.body;
2940
+ const deserialized = (0, import_smithy_client._json)(body);
2941
+ const exception = new InvalidTagsException({
2942
+ $metadata: deserializeMetadata(parsedOutput),
2943
+ ...deserialized
2944
+ });
2945
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2946
+ }, "de_InvalidTagsExceptionRes");
2947
+ var de_InvalidWebhookAuthenticationParametersExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2948
+ const body = parsedOutput.body;
2949
+ const deserialized = (0, import_smithy_client._json)(body);
2950
+ const exception = new InvalidWebhookAuthenticationParametersException({
2951
+ $metadata: deserializeMetadata(parsedOutput),
2952
+ ...deserialized
2953
+ });
2954
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2955
+ }, "de_InvalidWebhookAuthenticationParametersExceptionRes");
2956
+ var de_InvalidWebhookFilterPatternExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2957
+ const body = parsedOutput.body;
2958
+ const deserialized = (0, import_smithy_client._json)(body);
2959
+ const exception = new InvalidWebhookFilterPatternException({
2960
+ $metadata: deserializeMetadata(parsedOutput),
2961
+ ...deserialized
2962
+ });
2963
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2964
+ }, "de_InvalidWebhookFilterPatternExceptionRes");
2965
+ var de_JobNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2966
+ const body = parsedOutput.body;
2967
+ const deserialized = (0, import_smithy_client._json)(body);
2968
+ const exception = new JobNotFoundException({
2969
+ $metadata: deserializeMetadata(parsedOutput),
2970
+ ...deserialized
2971
+ });
2972
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2973
+ }, "de_JobNotFoundExceptionRes");
2974
+ var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2975
+ const body = parsedOutput.body;
2976
+ const deserialized = (0, import_smithy_client._json)(body);
2977
+ const exception = new LimitExceededException({
2978
+ $metadata: deserializeMetadata(parsedOutput),
2979
+ ...deserialized
2980
+ });
2981
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2982
+ }, "de_LimitExceededExceptionRes");
2983
+ var de_NotLatestPipelineExecutionExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2984
+ const body = parsedOutput.body;
2985
+ const deserialized = (0, import_smithy_client._json)(body);
2986
+ const exception = new NotLatestPipelineExecutionException({
2987
+ $metadata: deserializeMetadata(parsedOutput),
2988
+ ...deserialized
2989
+ });
2990
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2991
+ }, "de_NotLatestPipelineExecutionExceptionRes");
2992
+ var de_OutputVariablesSizeExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2993
+ const body = parsedOutput.body;
2994
+ const deserialized = (0, import_smithy_client._json)(body);
2995
+ const exception = new OutputVariablesSizeExceededException({
2996
+ $metadata: deserializeMetadata(parsedOutput),
2997
+ ...deserialized
2998
+ });
2999
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3000
+ }, "de_OutputVariablesSizeExceededExceptionRes");
3001
+ var de_PipelineExecutionNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3002
+ const body = parsedOutput.body;
3003
+ const deserialized = (0, import_smithy_client._json)(body);
3004
+ const exception = new PipelineExecutionNotFoundException({
3005
+ $metadata: deserializeMetadata(parsedOutput),
3006
+ ...deserialized
3007
+ });
3008
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3009
+ }, "de_PipelineExecutionNotFoundExceptionRes");
3010
+ var de_PipelineExecutionNotStoppableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3011
+ const body = parsedOutput.body;
3012
+ const deserialized = (0, import_smithy_client._json)(body);
3013
+ const exception = new PipelineExecutionNotStoppableException({
3014
+ $metadata: deserializeMetadata(parsedOutput),
3015
+ ...deserialized
3016
+ });
3017
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3018
+ }, "de_PipelineExecutionNotStoppableExceptionRes");
3019
+ var de_PipelineNameInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3020
+ const body = parsedOutput.body;
3021
+ const deserialized = (0, import_smithy_client._json)(body);
3022
+ const exception = new PipelineNameInUseException({
3023
+ $metadata: deserializeMetadata(parsedOutput),
3024
+ ...deserialized
3025
+ });
3026
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3027
+ }, "de_PipelineNameInUseExceptionRes");
3028
+ var de_PipelineNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3029
+ const body = parsedOutput.body;
3030
+ const deserialized = (0, import_smithy_client._json)(body);
3031
+ const exception = new PipelineNotFoundException({
3032
+ $metadata: deserializeMetadata(parsedOutput),
3033
+ ...deserialized
3034
+ });
3035
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3036
+ }, "de_PipelineNotFoundExceptionRes");
3037
+ var de_PipelineVersionNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3038
+ const body = parsedOutput.body;
3039
+ const deserialized = (0, import_smithy_client._json)(body);
3040
+ const exception = new PipelineVersionNotFoundException({
3041
+ $metadata: deserializeMetadata(parsedOutput),
3042
+ ...deserialized
3043
+ });
3044
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3045
+ }, "de_PipelineVersionNotFoundExceptionRes");
3046
+ var de_RequestFailedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3047
+ const body = parsedOutput.body;
3048
+ const deserialized = (0, import_smithy_client._json)(body);
3049
+ const exception = new RequestFailedException({
3050
+ $metadata: deserializeMetadata(parsedOutput),
3051
+ ...deserialized
3052
+ });
3053
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3054
+ }, "de_RequestFailedExceptionRes");
3055
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3056
+ const body = parsedOutput.body;
3057
+ const deserialized = (0, import_smithy_client._json)(body);
3058
+ const exception = new ResourceNotFoundException({
3059
+ $metadata: deserializeMetadata(parsedOutput),
3060
+ ...deserialized
3061
+ });
3062
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3063
+ }, "de_ResourceNotFoundExceptionRes");
3064
+ var de_StageNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3065
+ const body = parsedOutput.body;
3066
+ const deserialized = (0, import_smithy_client._json)(body);
3067
+ const exception = new StageNotFoundException({
3068
+ $metadata: deserializeMetadata(parsedOutput),
3069
+ ...deserialized
3070
+ });
3071
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3072
+ }, "de_StageNotFoundExceptionRes");
3073
+ var de_StageNotRetryableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3074
+ const body = parsedOutput.body;
3075
+ const deserialized = (0, import_smithy_client._json)(body);
3076
+ const exception = new StageNotRetryableException({
3077
+ $metadata: deserializeMetadata(parsedOutput),
3078
+ ...deserialized
3079
+ });
3080
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3081
+ }, "de_StageNotRetryableExceptionRes");
3082
+ var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3083
+ const body = parsedOutput.body;
3084
+ const deserialized = (0, import_smithy_client._json)(body);
3085
+ const exception = new TooManyTagsException({
3086
+ $metadata: deserializeMetadata(parsedOutput),
3087
+ ...deserialized
3088
+ });
3089
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3090
+ }, "de_TooManyTagsExceptionRes");
3091
+ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3092
+ const body = parsedOutput.body;
3093
+ const deserialized = (0, import_smithy_client._json)(body);
3094
+ const exception = new ValidationException({
3095
+ $metadata: deserializeMetadata(parsedOutput),
3096
+ ...deserialized
3097
+ });
3098
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3099
+ }, "de_ValidationExceptionRes");
3100
+ var de_WebhookNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3101
+ const body = parsedOutput.body;
3102
+ const deserialized = (0, import_smithy_client._json)(body);
3103
+ const exception = new WebhookNotFoundException({
3104
+ $metadata: deserializeMetadata(parsedOutput),
3105
+ ...deserialized
3106
+ });
3107
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3108
+ }, "de_WebhookNotFoundExceptionRes");
3109
+ var se_ActionRevision = /* @__PURE__ */ __name((input, context) => {
3110
+ return (0, import_smithy_client.take)(input, {
3111
+ created: (_) => Math.round(_.getTime() / 1e3),
3112
+ revisionChangeId: [],
3113
+ revisionId: []
3114
+ });
3115
+ }, "se_ActionRevision");
3116
+ var se_CurrentRevision = /* @__PURE__ */ __name((input, context) => {
3117
+ return (0, import_smithy_client.take)(input, {
3118
+ changeIdentifier: [],
3119
+ created: (_) => Math.round(_.getTime() / 1e3),
3120
+ revision: [],
3121
+ revisionSummary: []
3122
+ });
3123
+ }, "se_CurrentRevision");
3124
+ var se_PutActionRevisionInput = /* @__PURE__ */ __name((input, context) => {
3125
+ return (0, import_smithy_client.take)(input, {
3126
+ actionName: [],
3127
+ actionRevision: (_) => se_ActionRevision(_, context),
3128
+ pipelineName: [],
3129
+ stageName: []
3130
+ });
3131
+ }, "se_PutActionRevisionInput");
3132
+ var se_PutJobSuccessResultInput = /* @__PURE__ */ __name((input, context) => {
3133
+ return (0, import_smithy_client.take)(input, {
3134
+ continuationToken: [],
3135
+ currentRevision: (_) => se_CurrentRevision(_, context),
3136
+ executionDetails: import_smithy_client._json,
3137
+ jobId: [],
3138
+ outputVariables: import_smithy_client._json
3139
+ });
3140
+ }, "se_PutJobSuccessResultInput");
3141
+ var se_PutThirdPartyJobSuccessResultInput = /* @__PURE__ */ __name((input, context) => {
3142
+ return (0, import_smithy_client.take)(input, {
3143
+ clientToken: [],
3144
+ continuationToken: [],
3145
+ currentRevision: (_) => se_CurrentRevision(_, context),
3146
+ executionDetails: import_smithy_client._json,
3147
+ jobId: []
3148
+ });
3149
+ }, "se_PutThirdPartyJobSuccessResultInput");
3150
+ var se_StartPipelineExecutionInput = /* @__PURE__ */ __name((input, context) => {
3151
+ return (0, import_smithy_client.take)(input, {
3152
+ clientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
3153
+ name: [],
3154
+ sourceRevisions: import_smithy_client._json,
3155
+ variables: import_smithy_client._json
3156
+ });
3157
+ }, "se_StartPipelineExecutionInput");
3158
+ var de_ActionExecution = /* @__PURE__ */ __name((output, context) => {
3159
+ return (0, import_smithy_client.take)(output, {
3160
+ actionExecutionId: import_smithy_client.expectString,
3161
+ errorDetails: import_smithy_client._json,
3162
+ externalExecutionId: import_smithy_client.expectString,
3163
+ externalExecutionUrl: import_smithy_client.expectString,
3164
+ lastStatusChange: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3165
+ lastUpdatedBy: import_smithy_client.expectString,
3166
+ percentComplete: import_smithy_client.expectInt32,
3167
+ status: import_smithy_client.expectString,
3168
+ summary: import_smithy_client.expectString,
3169
+ token: import_smithy_client.expectString
3170
+ });
3171
+ }, "de_ActionExecution");
3172
+ var de_ActionExecutionDetail = /* @__PURE__ */ __name((output, context) => {
3173
+ return (0, import_smithy_client.take)(output, {
3174
+ actionExecutionId: import_smithy_client.expectString,
3175
+ actionName: import_smithy_client.expectString,
3176
+ input: import_smithy_client._json,
3177
+ lastUpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3178
+ output: import_smithy_client._json,
3179
+ pipelineExecutionId: import_smithy_client.expectString,
3180
+ pipelineVersion: import_smithy_client.expectInt32,
3181
+ stageName: import_smithy_client.expectString,
3182
+ startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3183
+ status: import_smithy_client.expectString
3184
+ });
3185
+ }, "de_ActionExecutionDetail");
3186
+ var de_ActionExecutionDetailList = /* @__PURE__ */ __name((output, context) => {
3187
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3188
+ return de_ActionExecutionDetail(entry, context);
3189
+ });
3190
+ return retVal;
3191
+ }, "de_ActionExecutionDetailList");
3192
+ var de_ActionRevision = /* @__PURE__ */ __name((output, context) => {
3193
+ return (0, import_smithy_client.take)(output, {
3194
+ created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3195
+ revisionChangeId: import_smithy_client.expectString,
3196
+ revisionId: import_smithy_client.expectString
3197
+ });
3198
+ }, "de_ActionRevision");
3199
+ var de_ActionState = /* @__PURE__ */ __name((output, context) => {
3200
+ return (0, import_smithy_client.take)(output, {
3201
+ actionName: import_smithy_client.expectString,
3202
+ currentRevision: (_) => de_ActionRevision(_, context),
3203
+ entityUrl: import_smithy_client.expectString,
3204
+ latestExecution: (_) => de_ActionExecution(_, context),
3205
+ revisionUrl: import_smithy_client.expectString
3206
+ });
3207
+ }, "de_ActionState");
3208
+ var de_ActionStateList = /* @__PURE__ */ __name((output, context) => {
3209
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3210
+ return de_ActionState(entry, context);
3211
+ });
3212
+ return retVal;
3213
+ }, "de_ActionStateList");
3214
+ var de_ArtifactRevision = /* @__PURE__ */ __name((output, context) => {
3215
+ return (0, import_smithy_client.take)(output, {
3216
+ created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3217
+ name: import_smithy_client.expectString,
3218
+ revisionChangeIdentifier: import_smithy_client.expectString,
3219
+ revisionId: import_smithy_client.expectString,
3220
+ revisionSummary: import_smithy_client.expectString,
3221
+ revisionUrl: import_smithy_client.expectString
3222
+ });
3223
+ }, "de_ArtifactRevision");
3224
+ var de_ArtifactRevisionList = /* @__PURE__ */ __name((output, context) => {
3225
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3226
+ return de_ArtifactRevision(entry, context);
3227
+ });
3228
+ return retVal;
3229
+ }, "de_ArtifactRevisionList");
3230
+ var de_GetPipelineExecutionOutput = /* @__PURE__ */ __name((output, context) => {
3231
+ return (0, import_smithy_client.take)(output, {
3232
+ pipelineExecution: (_) => de_PipelineExecution(_, context)
3233
+ });
3234
+ }, "de_GetPipelineExecutionOutput");
3235
+ var de_GetPipelineOutput = /* @__PURE__ */ __name((output, context) => {
3236
+ return (0, import_smithy_client.take)(output, {
3237
+ metadata: (_) => de_PipelineMetadata(_, context),
3238
+ pipeline: import_smithy_client._json
3239
+ });
3240
+ }, "de_GetPipelineOutput");
3241
+ var de_GetPipelineStateOutput = /* @__PURE__ */ __name((output, context) => {
3242
+ return (0, import_smithy_client.take)(output, {
3243
+ created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3244
+ pipelineName: import_smithy_client.expectString,
3245
+ pipelineVersion: import_smithy_client.expectInt32,
3246
+ stageStates: (_) => de_StageStateList(_, context),
3247
+ updated: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
3248
+ });
3249
+ }, "de_GetPipelineStateOutput");
3250
+ var de_ListActionExecutionsOutput = /* @__PURE__ */ __name((output, context) => {
3251
+ return (0, import_smithy_client.take)(output, {
3252
+ actionExecutionDetails: (_) => de_ActionExecutionDetailList(_, context),
3253
+ nextToken: import_smithy_client.expectString
3254
+ });
3255
+ }, "de_ListActionExecutionsOutput");
3256
+ var de_ListPipelineExecutionsOutput = /* @__PURE__ */ __name((output, context) => {
3257
+ return (0, import_smithy_client.take)(output, {
3258
+ nextToken: import_smithy_client.expectString,
3259
+ pipelineExecutionSummaries: (_) => de_PipelineExecutionSummaryList(_, context)
3260
+ });
3261
+ }, "de_ListPipelineExecutionsOutput");
3262
+ var de_ListPipelinesOutput = /* @__PURE__ */ __name((output, context) => {
3263
+ return (0, import_smithy_client.take)(output, {
3264
+ nextToken: import_smithy_client.expectString,
3265
+ pipelines: (_) => de_PipelineList(_, context)
3266
+ });
3267
+ }, "de_ListPipelinesOutput");
3268
+ var de_ListWebhookItem = /* @__PURE__ */ __name((output, context) => {
3269
+ return (0, import_smithy_client.take)(output, {
3270
+ arn: import_smithy_client.expectString,
3271
+ definition: import_smithy_client._json,
3272
+ errorCode: import_smithy_client.expectString,
3273
+ errorMessage: import_smithy_client.expectString,
3274
+ lastTriggered: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3275
+ tags: import_smithy_client._json,
3276
+ url: import_smithy_client.expectString
3277
+ });
3278
+ }, "de_ListWebhookItem");
3279
+ var de_ListWebhooksOutput = /* @__PURE__ */ __name((output, context) => {
3280
+ return (0, import_smithy_client.take)(output, {
3281
+ NextToken: import_smithy_client.expectString,
3282
+ webhooks: (_) => de_WebhookList(_, context)
3283
+ });
3284
+ }, "de_ListWebhooksOutput");
3285
+ var de_PipelineExecution = /* @__PURE__ */ __name((output, context) => {
3286
+ return (0, import_smithy_client.take)(output, {
3287
+ artifactRevisions: (_) => de_ArtifactRevisionList(_, context),
3288
+ pipelineExecutionId: import_smithy_client.expectString,
3289
+ pipelineName: import_smithy_client.expectString,
3290
+ pipelineVersion: import_smithy_client.expectInt32,
3291
+ status: import_smithy_client.expectString,
3292
+ statusSummary: import_smithy_client.expectString,
3293
+ trigger: import_smithy_client._json,
3294
+ variables: import_smithy_client._json
3295
+ });
3296
+ }, "de_PipelineExecution");
3297
+ var de_PipelineExecutionSummary = /* @__PURE__ */ __name((output, context) => {
3298
+ return (0, import_smithy_client.take)(output, {
3299
+ lastUpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3300
+ pipelineExecutionId: import_smithy_client.expectString,
3301
+ sourceRevisions: import_smithy_client._json,
3302
+ startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3303
+ status: import_smithy_client.expectString,
3304
+ stopTrigger: import_smithy_client._json,
3305
+ trigger: import_smithy_client._json
3306
+ });
3307
+ }, "de_PipelineExecutionSummary");
3308
+ var de_PipelineExecutionSummaryList = /* @__PURE__ */ __name((output, context) => {
3309
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3310
+ return de_PipelineExecutionSummary(entry, context);
3311
+ });
3312
+ return retVal;
3313
+ }, "de_PipelineExecutionSummaryList");
3314
+ var de_PipelineList = /* @__PURE__ */ __name((output, context) => {
3315
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3316
+ return de_PipelineSummary(entry, context);
3317
+ });
3318
+ return retVal;
3319
+ }, "de_PipelineList");
3320
+ var de_PipelineMetadata = /* @__PURE__ */ __name((output, context) => {
3321
+ return (0, import_smithy_client.take)(output, {
3322
+ created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3323
+ pipelineArn: import_smithy_client.expectString,
3324
+ pollingDisabledAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3325
+ updated: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
3326
+ });
3327
+ }, "de_PipelineMetadata");
3328
+ var de_PipelineSummary = /* @__PURE__ */ __name((output, context) => {
3329
+ return (0, import_smithy_client.take)(output, {
3330
+ created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3331
+ name: import_smithy_client.expectString,
3332
+ pipelineType: import_smithy_client.expectString,
3333
+ updated: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3334
+ version: import_smithy_client.expectInt32
3335
+ });
3336
+ }, "de_PipelineSummary");
3337
+ var de_PutApprovalResultOutput = /* @__PURE__ */ __name((output, context) => {
3338
+ return (0, import_smithy_client.take)(output, {
3339
+ approvedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
3340
+ });
3341
+ }, "de_PutApprovalResultOutput");
3342
+ var de_PutWebhookOutput = /* @__PURE__ */ __name((output, context) => {
3343
+ return (0, import_smithy_client.take)(output, {
3344
+ webhook: (_) => de_ListWebhookItem(_, context)
3345
+ });
3346
+ }, "de_PutWebhookOutput");
3347
+ var de_StageState = /* @__PURE__ */ __name((output, context) => {
3348
+ return (0, import_smithy_client.take)(output, {
3349
+ actionStates: (_) => de_ActionStateList(_, context),
3350
+ inboundExecution: import_smithy_client._json,
3351
+ inboundTransitionState: (_) => de_TransitionState(_, context),
3352
+ latestExecution: import_smithy_client._json,
3353
+ stageName: import_smithy_client.expectString
3354
+ });
3355
+ }, "de_StageState");
3356
+ var de_StageStateList = /* @__PURE__ */ __name((output, context) => {
3357
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3358
+ return de_StageState(entry, context);
3359
+ });
3360
+ return retVal;
3361
+ }, "de_StageStateList");
3362
+ var de_TransitionState = /* @__PURE__ */ __name((output, context) => {
3363
+ return (0, import_smithy_client.take)(output, {
3364
+ disabledReason: import_smithy_client.expectString,
3365
+ enabled: import_smithy_client.expectBoolean,
3366
+ lastChangedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3367
+ lastChangedBy: import_smithy_client.expectString
3368
+ });
3369
+ }, "de_TransitionState");
3370
+ var de_WebhookList = /* @__PURE__ */ __name((output, context) => {
3371
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3372
+ return de_ListWebhookItem(entry, context);
3373
+ });
3374
+ return retVal;
3375
+ }, "de_WebhookList");
3376
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
3377
+ httpStatusCode: output.statusCode,
3378
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
3379
+ extendedRequestId: output.headers["x-amz-id-2"],
3380
+ cfId: output.headers["x-amz-cf-id"]
3381
+ }), "deserializeMetadata");
3382
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
3383
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(CodePipelineServiceException);
3384
+ var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
3385
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3386
+ const contents = {
3387
+ protocol,
3388
+ hostname,
3389
+ port,
3390
+ method: "POST",
3391
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
3392
+ headers
3393
+ };
3394
+ if (resolvedHostname !== void 0) {
3395
+ contents.hostname = resolvedHostname;
3396
+ }
3397
+ if (body !== void 0) {
3398
+ contents.body = body;
3399
+ }
3400
+ return new import_protocol_http.HttpRequest(contents);
3401
+ }, "buildHttpRpcRequest");
3402
+ function sharedHeaders(operation) {
3403
+ return {
3404
+ "content-type": "application/x-amz-json-1.1",
3405
+ "x-amz-target": `CodePipeline_20150709.${operation}`
3406
+ };
3407
+ }
3408
+ __name(sharedHeaders, "sharedHeaders");
3409
+ var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
3410
+ if (encoded.length) {
3411
+ return JSON.parse(encoded);
3412
+ }
3413
+ return {};
3414
+ }), "parseBody");
3415
+ var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
3416
+ const value = await parseBody(errorBody, context);
3417
+ value.message = value.message ?? value.Message;
3418
+ return value;
3419
+ }, "parseErrorBody");
3420
+ var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
3421
+ const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
3422
+ const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
3423
+ let cleanValue = rawValue;
3424
+ if (typeof cleanValue === "number") {
3425
+ cleanValue = cleanValue.toString();
3426
+ }
3427
+ if (cleanValue.indexOf(",") >= 0) {
3428
+ cleanValue = cleanValue.split(",")[0];
3429
+ }
3430
+ if (cleanValue.indexOf(":") >= 0) {
3431
+ cleanValue = cleanValue.split(":")[0];
3432
+ }
3433
+ if (cleanValue.indexOf("#") >= 0) {
3434
+ cleanValue = cleanValue.split("#")[1];
3435
+ }
3436
+ return cleanValue;
3437
+ }, "sanitizeErrorCode");
3438
+ const headerKey = findKey(output.headers, "x-amzn-errortype");
3439
+ if (headerKey !== void 0) {
3440
+ return sanitizeErrorCode(output.headers[headerKey]);
3441
+ }
3442
+ if (data.code !== void 0) {
3443
+ return sanitizeErrorCode(data.code);
3444
+ }
3445
+ if (data["__type"] !== void 0) {
3446
+ return sanitizeErrorCode(data["__type"]);
3447
+ }
3448
+ }, "loadRestJsonErrorCode");
3449
+
3450
+ // src/commands/AcknowledgeJobCommand.ts
3451
+ var _AcknowledgeJobCommand = class _AcknowledgeJobCommand extends import_smithy_client.Command.classBuilder().ep({
3452
+ ...commonParams
3453
+ }).m(function(Command, cs, config, o) {
3454
+ return [
3455
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3456
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3457
+ ];
3458
+ }).s("CodePipeline_20150709", "AcknowledgeJob", {}).n("CodePipelineClient", "AcknowledgeJobCommand").f(void 0, void 0).ser(se_AcknowledgeJobCommand).de(de_AcknowledgeJobCommand).build() {
3459
+ };
3460
+ __name(_AcknowledgeJobCommand, "AcknowledgeJobCommand");
3461
+ var AcknowledgeJobCommand = _AcknowledgeJobCommand;
3462
+
3463
+ // src/commands/AcknowledgeThirdPartyJobCommand.ts
3464
+
3465
+
3466
+
3467
+
3468
+ var _AcknowledgeThirdPartyJobCommand = class _AcknowledgeThirdPartyJobCommand extends import_smithy_client.Command.classBuilder().ep({
3469
+ ...commonParams
3470
+ }).m(function(Command, cs, config, o) {
3471
+ return [
3472
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3473
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3474
+ ];
3475
+ }).s("CodePipeline_20150709", "AcknowledgeThirdPartyJob", {}).n("CodePipelineClient", "AcknowledgeThirdPartyJobCommand").f(void 0, void 0).ser(se_AcknowledgeThirdPartyJobCommand).de(de_AcknowledgeThirdPartyJobCommand).build() {
3476
+ };
3477
+ __name(_AcknowledgeThirdPartyJobCommand, "AcknowledgeThirdPartyJobCommand");
3478
+ var AcknowledgeThirdPartyJobCommand = _AcknowledgeThirdPartyJobCommand;
3479
+
3480
+ // src/commands/CreateCustomActionTypeCommand.ts
3481
+
3482
+
3483
+
3484
+
3485
+ var _CreateCustomActionTypeCommand = class _CreateCustomActionTypeCommand extends import_smithy_client.Command.classBuilder().ep({
3486
+ ...commonParams
3487
+ }).m(function(Command, cs, config, o) {
3488
+ return [
3489
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3490
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3491
+ ];
3492
+ }).s("CodePipeline_20150709", "CreateCustomActionType", {}).n("CodePipelineClient", "CreateCustomActionTypeCommand").f(void 0, void 0).ser(se_CreateCustomActionTypeCommand).de(de_CreateCustomActionTypeCommand).build() {
3493
+ };
3494
+ __name(_CreateCustomActionTypeCommand, "CreateCustomActionTypeCommand");
3495
+ var CreateCustomActionTypeCommand = _CreateCustomActionTypeCommand;
3496
+
3497
+ // src/commands/CreatePipelineCommand.ts
3498
+
3499
+
3500
+
3501
+
3502
+ var _CreatePipelineCommand = class _CreatePipelineCommand extends import_smithy_client.Command.classBuilder().ep({
3503
+ ...commonParams
3504
+ }).m(function(Command, cs, config, o) {
3505
+ return [
3506
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3507
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3508
+ ];
3509
+ }).s("CodePipeline_20150709", "CreatePipeline", {}).n("CodePipelineClient", "CreatePipelineCommand").f(void 0, void 0).ser(se_CreatePipelineCommand).de(de_CreatePipelineCommand).build() {
3510
+ };
3511
+ __name(_CreatePipelineCommand, "CreatePipelineCommand");
3512
+ var CreatePipelineCommand = _CreatePipelineCommand;
3513
+
3514
+ // src/commands/DeleteCustomActionTypeCommand.ts
3515
+
3516
+
3517
+
3518
+
3519
+ var _DeleteCustomActionTypeCommand = class _DeleteCustomActionTypeCommand extends import_smithy_client.Command.classBuilder().ep({
3520
+ ...commonParams
3521
+ }).m(function(Command, cs, config, o) {
3522
+ return [
3523
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3524
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3525
+ ];
3526
+ }).s("CodePipeline_20150709", "DeleteCustomActionType", {}).n("CodePipelineClient", "DeleteCustomActionTypeCommand").f(void 0, void 0).ser(se_DeleteCustomActionTypeCommand).de(de_DeleteCustomActionTypeCommand).build() {
3527
+ };
3528
+ __name(_DeleteCustomActionTypeCommand, "DeleteCustomActionTypeCommand");
3529
+ var DeleteCustomActionTypeCommand = _DeleteCustomActionTypeCommand;
3530
+
3531
+ // src/commands/DeletePipelineCommand.ts
3532
+
3533
+
3534
+
3535
+
3536
+ var _DeletePipelineCommand = class _DeletePipelineCommand extends import_smithy_client.Command.classBuilder().ep({
3537
+ ...commonParams
3538
+ }).m(function(Command, cs, config, o) {
3539
+ return [
3540
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3541
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3542
+ ];
3543
+ }).s("CodePipeline_20150709", "DeletePipeline", {}).n("CodePipelineClient", "DeletePipelineCommand").f(void 0, void 0).ser(se_DeletePipelineCommand).de(de_DeletePipelineCommand).build() {
3544
+ };
3545
+ __name(_DeletePipelineCommand, "DeletePipelineCommand");
3546
+ var DeletePipelineCommand = _DeletePipelineCommand;
3547
+
3548
+ // src/commands/DeleteWebhookCommand.ts
3549
+
3550
+
3551
+
3552
+
3553
+ var _DeleteWebhookCommand = class _DeleteWebhookCommand extends import_smithy_client.Command.classBuilder().ep({
3554
+ ...commonParams
3555
+ }).m(function(Command, cs, config, o) {
3556
+ return [
3557
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3558
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3559
+ ];
3560
+ }).s("CodePipeline_20150709", "DeleteWebhook", {}).n("CodePipelineClient", "DeleteWebhookCommand").f(void 0, void 0).ser(se_DeleteWebhookCommand).de(de_DeleteWebhookCommand).build() {
3561
+ };
3562
+ __name(_DeleteWebhookCommand, "DeleteWebhookCommand");
3563
+ var DeleteWebhookCommand = _DeleteWebhookCommand;
3564
+
3565
+ // src/commands/DeregisterWebhookWithThirdPartyCommand.ts
3566
+
3567
+
3568
+
3569
+
3570
+ var _DeregisterWebhookWithThirdPartyCommand = class _DeregisterWebhookWithThirdPartyCommand extends import_smithy_client.Command.classBuilder().ep({
3571
+ ...commonParams
3572
+ }).m(function(Command, cs, config, o) {
3573
+ return [
3574
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3575
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3576
+ ];
3577
+ }).s("CodePipeline_20150709", "DeregisterWebhookWithThirdParty", {}).n("CodePipelineClient", "DeregisterWebhookWithThirdPartyCommand").f(void 0, void 0).ser(se_DeregisterWebhookWithThirdPartyCommand).de(de_DeregisterWebhookWithThirdPartyCommand).build() {
3578
+ };
3579
+ __name(_DeregisterWebhookWithThirdPartyCommand, "DeregisterWebhookWithThirdPartyCommand");
3580
+ var DeregisterWebhookWithThirdPartyCommand = _DeregisterWebhookWithThirdPartyCommand;
3581
+
3582
+ // src/commands/DisableStageTransitionCommand.ts
3583
+
3584
+
3585
+
3586
+
3587
+ var _DisableStageTransitionCommand = class _DisableStageTransitionCommand extends import_smithy_client.Command.classBuilder().ep({
3588
+ ...commonParams
3589
+ }).m(function(Command, cs, config, o) {
3590
+ return [
3591
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3592
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3593
+ ];
3594
+ }).s("CodePipeline_20150709", "DisableStageTransition", {}).n("CodePipelineClient", "DisableStageTransitionCommand").f(void 0, void 0).ser(se_DisableStageTransitionCommand).de(de_DisableStageTransitionCommand).build() {
3595
+ };
3596
+ __name(_DisableStageTransitionCommand, "DisableStageTransitionCommand");
3597
+ var DisableStageTransitionCommand = _DisableStageTransitionCommand;
3598
+
3599
+ // src/commands/EnableStageTransitionCommand.ts
3600
+
3601
+
3602
+
3603
+
3604
+ var _EnableStageTransitionCommand = class _EnableStageTransitionCommand extends import_smithy_client.Command.classBuilder().ep({
3605
+ ...commonParams
3606
+ }).m(function(Command, cs, config, o) {
3607
+ return [
3608
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3609
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3610
+ ];
3611
+ }).s("CodePipeline_20150709", "EnableStageTransition", {}).n("CodePipelineClient", "EnableStageTransitionCommand").f(void 0, void 0).ser(se_EnableStageTransitionCommand).de(de_EnableStageTransitionCommand).build() {
3612
+ };
3613
+ __name(_EnableStageTransitionCommand, "EnableStageTransitionCommand");
3614
+ var EnableStageTransitionCommand = _EnableStageTransitionCommand;
3615
+
3616
+ // src/commands/GetActionTypeCommand.ts
3617
+
3618
+
3619
+
3620
+
3621
+ var _GetActionTypeCommand = class _GetActionTypeCommand extends import_smithy_client.Command.classBuilder().ep({
3622
+ ...commonParams
3623
+ }).m(function(Command, cs, config, o) {
3624
+ return [
3625
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3626
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3627
+ ];
3628
+ }).s("CodePipeline_20150709", "GetActionType", {}).n("CodePipelineClient", "GetActionTypeCommand").f(void 0, void 0).ser(se_GetActionTypeCommand).de(de_GetActionTypeCommand).build() {
3629
+ };
3630
+ __name(_GetActionTypeCommand, "GetActionTypeCommand");
3631
+ var GetActionTypeCommand = _GetActionTypeCommand;
3632
+
3633
+ // src/commands/GetJobDetailsCommand.ts
3634
+
3635
+
3636
+
3637
+
3638
+ var _GetJobDetailsCommand = class _GetJobDetailsCommand extends import_smithy_client.Command.classBuilder().ep({
3639
+ ...commonParams
3640
+ }).m(function(Command, cs, config, o) {
3641
+ return [
3642
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3643
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3644
+ ];
3645
+ }).s("CodePipeline_20150709", "GetJobDetails", {}).n("CodePipelineClient", "GetJobDetailsCommand").f(void 0, GetJobDetailsOutputFilterSensitiveLog).ser(se_GetJobDetailsCommand).de(de_GetJobDetailsCommand).build() {
3646
+ };
3647
+ __name(_GetJobDetailsCommand, "GetJobDetailsCommand");
3648
+ var GetJobDetailsCommand = _GetJobDetailsCommand;
3649
+
3650
+ // src/commands/GetPipelineCommand.ts
3651
+
3652
+
3653
+
3654
+
3655
+ var _GetPipelineCommand = class _GetPipelineCommand extends import_smithy_client.Command.classBuilder().ep({
3656
+ ...commonParams
3657
+ }).m(function(Command, cs, config, o) {
3658
+ return [
3659
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3660
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3661
+ ];
3662
+ }).s("CodePipeline_20150709", "GetPipeline", {}).n("CodePipelineClient", "GetPipelineCommand").f(void 0, void 0).ser(se_GetPipelineCommand).de(de_GetPipelineCommand).build() {
3663
+ };
3664
+ __name(_GetPipelineCommand, "GetPipelineCommand");
3665
+ var GetPipelineCommand = _GetPipelineCommand;
3666
+
3667
+ // src/commands/GetPipelineExecutionCommand.ts
3668
+
3669
+
3670
+
3671
+
3672
+ var _GetPipelineExecutionCommand = class _GetPipelineExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
3673
+ ...commonParams
3674
+ }).m(function(Command, cs, config, o) {
3675
+ return [
3676
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3677
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3678
+ ];
3679
+ }).s("CodePipeline_20150709", "GetPipelineExecution", {}).n("CodePipelineClient", "GetPipelineExecutionCommand").f(void 0, void 0).ser(se_GetPipelineExecutionCommand).de(de_GetPipelineExecutionCommand).build() {
3680
+ };
3681
+ __name(_GetPipelineExecutionCommand, "GetPipelineExecutionCommand");
3682
+ var GetPipelineExecutionCommand = _GetPipelineExecutionCommand;
3683
+
3684
+ // src/commands/GetPipelineStateCommand.ts
3685
+
3686
+
3687
+
3688
+
3689
+ var _GetPipelineStateCommand = class _GetPipelineStateCommand extends import_smithy_client.Command.classBuilder().ep({
3690
+ ...commonParams
3691
+ }).m(function(Command, cs, config, o) {
3692
+ return [
3693
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3694
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3695
+ ];
3696
+ }).s("CodePipeline_20150709", "GetPipelineState", {}).n("CodePipelineClient", "GetPipelineStateCommand").f(void 0, void 0).ser(se_GetPipelineStateCommand).de(de_GetPipelineStateCommand).build() {
3697
+ };
3698
+ __name(_GetPipelineStateCommand, "GetPipelineStateCommand");
3699
+ var GetPipelineStateCommand = _GetPipelineStateCommand;
3700
+
3701
+ // src/commands/GetThirdPartyJobDetailsCommand.ts
3702
+
3703
+
3704
+
3705
+
3706
+ var _GetThirdPartyJobDetailsCommand = class _GetThirdPartyJobDetailsCommand extends import_smithy_client.Command.classBuilder().ep({
3707
+ ...commonParams
3708
+ }).m(function(Command, cs, config, o) {
3709
+ return [
3710
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3711
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3712
+ ];
3713
+ }).s("CodePipeline_20150709", "GetThirdPartyJobDetails", {}).n("CodePipelineClient", "GetThirdPartyJobDetailsCommand").f(void 0, GetThirdPartyJobDetailsOutputFilterSensitiveLog).ser(se_GetThirdPartyJobDetailsCommand).de(de_GetThirdPartyJobDetailsCommand).build() {
3714
+ };
3715
+ __name(_GetThirdPartyJobDetailsCommand, "GetThirdPartyJobDetailsCommand");
3716
+ var GetThirdPartyJobDetailsCommand = _GetThirdPartyJobDetailsCommand;
3717
+
3718
+ // src/commands/ListActionExecutionsCommand.ts
3719
+
3720
+
3721
+
3722
+
3723
+ var _ListActionExecutionsCommand = class _ListActionExecutionsCommand extends import_smithy_client.Command.classBuilder().ep({
3724
+ ...commonParams
3725
+ }).m(function(Command, cs, config, o) {
3726
+ return [
3727
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3728
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3729
+ ];
3730
+ }).s("CodePipeline_20150709", "ListActionExecutions", {}).n("CodePipelineClient", "ListActionExecutionsCommand").f(void 0, void 0).ser(se_ListActionExecutionsCommand).de(de_ListActionExecutionsCommand).build() {
3731
+ };
3732
+ __name(_ListActionExecutionsCommand, "ListActionExecutionsCommand");
3733
+ var ListActionExecutionsCommand = _ListActionExecutionsCommand;
3734
+
3735
+ // src/commands/ListActionTypesCommand.ts
3736
+
3737
+
3738
+
3739
+
3740
+ var _ListActionTypesCommand = class _ListActionTypesCommand extends import_smithy_client.Command.classBuilder().ep({
3741
+ ...commonParams
3742
+ }).m(function(Command, cs, config, o) {
3743
+ return [
3744
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3745
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3746
+ ];
3747
+ }).s("CodePipeline_20150709", "ListActionTypes", {}).n("CodePipelineClient", "ListActionTypesCommand").f(void 0, void 0).ser(se_ListActionTypesCommand).de(de_ListActionTypesCommand).build() {
3748
+ };
3749
+ __name(_ListActionTypesCommand, "ListActionTypesCommand");
3750
+ var ListActionTypesCommand = _ListActionTypesCommand;
3751
+
3752
+ // src/commands/ListPipelineExecutionsCommand.ts
3753
+
3754
+
3755
+
3756
+
3757
+ var _ListPipelineExecutionsCommand = class _ListPipelineExecutionsCommand extends import_smithy_client.Command.classBuilder().ep({
3758
+ ...commonParams
3759
+ }).m(function(Command, cs, config, o) {
3760
+ return [
3761
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3762
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3763
+ ];
3764
+ }).s("CodePipeline_20150709", "ListPipelineExecutions", {}).n("CodePipelineClient", "ListPipelineExecutionsCommand").f(void 0, void 0).ser(se_ListPipelineExecutionsCommand).de(de_ListPipelineExecutionsCommand).build() {
3765
+ };
3766
+ __name(_ListPipelineExecutionsCommand, "ListPipelineExecutionsCommand");
3767
+ var ListPipelineExecutionsCommand = _ListPipelineExecutionsCommand;
3768
+
3769
+ // src/commands/ListPipelinesCommand.ts
3770
+
3771
+
3772
+
3773
+
3774
+ var _ListPipelinesCommand = class _ListPipelinesCommand extends import_smithy_client.Command.classBuilder().ep({
3775
+ ...commonParams
3776
+ }).m(function(Command, cs, config, o) {
3777
+ return [
3778
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3779
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3780
+ ];
3781
+ }).s("CodePipeline_20150709", "ListPipelines", {}).n("CodePipelineClient", "ListPipelinesCommand").f(void 0, void 0).ser(se_ListPipelinesCommand).de(de_ListPipelinesCommand).build() {
3782
+ };
3783
+ __name(_ListPipelinesCommand, "ListPipelinesCommand");
3784
+ var ListPipelinesCommand = _ListPipelinesCommand;
3785
+
3786
+ // src/commands/ListTagsForResourceCommand.ts
3787
+
3788
+
3789
+
3790
+
3791
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3792
+ ...commonParams
3793
+ }).m(function(Command, cs, config, o) {
3794
+ return [
3795
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3796
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3797
+ ];
3798
+ }).s("CodePipeline_20150709", "ListTagsForResource", {}).n("CodePipelineClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
3799
+ };
3800
+ __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
3801
+ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
3802
+
3803
+ // src/commands/ListWebhooksCommand.ts
3804
+
3805
+
3806
+
3807
+
3808
+ var _ListWebhooksCommand = class _ListWebhooksCommand extends import_smithy_client.Command.classBuilder().ep({
3809
+ ...commonParams
3810
+ }).m(function(Command, cs, config, o) {
3811
+ return [
3812
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3813
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3814
+ ];
3815
+ }).s("CodePipeline_20150709", "ListWebhooks", {}).n("CodePipelineClient", "ListWebhooksCommand").f(void 0, void 0).ser(se_ListWebhooksCommand).de(de_ListWebhooksCommand).build() {
3816
+ };
3817
+ __name(_ListWebhooksCommand, "ListWebhooksCommand");
3818
+ var ListWebhooksCommand = _ListWebhooksCommand;
3819
+
3820
+ // src/commands/PollForJobsCommand.ts
3821
+
3822
+
3823
+
3824
+
3825
+ var _PollForJobsCommand = class _PollForJobsCommand extends import_smithy_client.Command.classBuilder().ep({
3826
+ ...commonParams
3827
+ }).m(function(Command, cs, config, o) {
3828
+ return [
3829
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3830
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3831
+ ];
3832
+ }).s("CodePipeline_20150709", "PollForJobs", {}).n("CodePipelineClient", "PollForJobsCommand").f(void 0, PollForJobsOutputFilterSensitiveLog).ser(se_PollForJobsCommand).de(de_PollForJobsCommand).build() {
3833
+ };
3834
+ __name(_PollForJobsCommand, "PollForJobsCommand");
3835
+ var PollForJobsCommand = _PollForJobsCommand;
3836
+
3837
+ // src/commands/PollForThirdPartyJobsCommand.ts
3838
+
3839
+
3840
+
3841
+
3842
+ var _PollForThirdPartyJobsCommand = class _PollForThirdPartyJobsCommand extends import_smithy_client.Command.classBuilder().ep({
3843
+ ...commonParams
3844
+ }).m(function(Command, cs, config, o) {
3845
+ return [
3846
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3847
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3848
+ ];
3849
+ }).s("CodePipeline_20150709", "PollForThirdPartyJobs", {}).n("CodePipelineClient", "PollForThirdPartyJobsCommand").f(void 0, void 0).ser(se_PollForThirdPartyJobsCommand).de(de_PollForThirdPartyJobsCommand).build() {
3850
+ };
3851
+ __name(_PollForThirdPartyJobsCommand, "PollForThirdPartyJobsCommand");
3852
+ var PollForThirdPartyJobsCommand = _PollForThirdPartyJobsCommand;
3853
+
3854
+ // src/commands/PutActionRevisionCommand.ts
3855
+
3856
+
3857
+
3858
+
3859
+ var _PutActionRevisionCommand = class _PutActionRevisionCommand extends import_smithy_client.Command.classBuilder().ep({
3860
+ ...commonParams
3861
+ }).m(function(Command, cs, config, o) {
3862
+ return [
3863
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3864
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3865
+ ];
3866
+ }).s("CodePipeline_20150709", "PutActionRevision", {}).n("CodePipelineClient", "PutActionRevisionCommand").f(void 0, void 0).ser(se_PutActionRevisionCommand).de(de_PutActionRevisionCommand).build() {
3867
+ };
3868
+ __name(_PutActionRevisionCommand, "PutActionRevisionCommand");
3869
+ var PutActionRevisionCommand = _PutActionRevisionCommand;
3870
+
3871
+ // src/commands/PutApprovalResultCommand.ts
3872
+
3873
+
3874
+
3875
+
3876
+ var _PutApprovalResultCommand = class _PutApprovalResultCommand extends import_smithy_client.Command.classBuilder().ep({
3877
+ ...commonParams
3878
+ }).m(function(Command, cs, config, o) {
3879
+ return [
3880
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3881
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3882
+ ];
3883
+ }).s("CodePipeline_20150709", "PutApprovalResult", {}).n("CodePipelineClient", "PutApprovalResultCommand").f(void 0, void 0).ser(se_PutApprovalResultCommand).de(de_PutApprovalResultCommand).build() {
3884
+ };
3885
+ __name(_PutApprovalResultCommand, "PutApprovalResultCommand");
3886
+ var PutApprovalResultCommand = _PutApprovalResultCommand;
3887
+
3888
+ // src/commands/PutJobFailureResultCommand.ts
3889
+
3890
+
3891
+
3892
+
3893
+ var _PutJobFailureResultCommand = class _PutJobFailureResultCommand extends import_smithy_client.Command.classBuilder().ep({
3894
+ ...commonParams
3895
+ }).m(function(Command, cs, config, o) {
3896
+ return [
3897
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3898
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3899
+ ];
3900
+ }).s("CodePipeline_20150709", "PutJobFailureResult", {}).n("CodePipelineClient", "PutJobFailureResultCommand").f(void 0, void 0).ser(se_PutJobFailureResultCommand).de(de_PutJobFailureResultCommand).build() {
3901
+ };
3902
+ __name(_PutJobFailureResultCommand, "PutJobFailureResultCommand");
3903
+ var PutJobFailureResultCommand = _PutJobFailureResultCommand;
3904
+
3905
+ // src/commands/PutJobSuccessResultCommand.ts
3906
+
3907
+
3908
+
3909
+
3910
+ var _PutJobSuccessResultCommand = class _PutJobSuccessResultCommand extends import_smithy_client.Command.classBuilder().ep({
3911
+ ...commonParams
3912
+ }).m(function(Command, cs, config, o) {
3913
+ return [
3914
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3915
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3916
+ ];
3917
+ }).s("CodePipeline_20150709", "PutJobSuccessResult", {}).n("CodePipelineClient", "PutJobSuccessResultCommand").f(void 0, void 0).ser(se_PutJobSuccessResultCommand).de(de_PutJobSuccessResultCommand).build() {
3918
+ };
3919
+ __name(_PutJobSuccessResultCommand, "PutJobSuccessResultCommand");
3920
+ var PutJobSuccessResultCommand = _PutJobSuccessResultCommand;
3921
+
3922
+ // src/commands/PutThirdPartyJobFailureResultCommand.ts
3923
+
3924
+
3925
+
3926
+
3927
+ var _PutThirdPartyJobFailureResultCommand = class _PutThirdPartyJobFailureResultCommand extends import_smithy_client.Command.classBuilder().ep({
3928
+ ...commonParams
3929
+ }).m(function(Command, cs, config, o) {
3930
+ return [
3931
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3932
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3933
+ ];
3934
+ }).s("CodePipeline_20150709", "PutThirdPartyJobFailureResult", {}).n("CodePipelineClient", "PutThirdPartyJobFailureResultCommand").f(void 0, void 0).ser(se_PutThirdPartyJobFailureResultCommand).de(de_PutThirdPartyJobFailureResultCommand).build() {
3935
+ };
3936
+ __name(_PutThirdPartyJobFailureResultCommand, "PutThirdPartyJobFailureResultCommand");
3937
+ var PutThirdPartyJobFailureResultCommand = _PutThirdPartyJobFailureResultCommand;
3938
+
3939
+ // src/commands/PutThirdPartyJobSuccessResultCommand.ts
3940
+
3941
+
3942
+
3943
+
3944
+ var _PutThirdPartyJobSuccessResultCommand = class _PutThirdPartyJobSuccessResultCommand extends import_smithy_client.Command.classBuilder().ep({
3945
+ ...commonParams
3946
+ }).m(function(Command, cs, config, o) {
3947
+ return [
3948
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3949
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3950
+ ];
3951
+ }).s("CodePipeline_20150709", "PutThirdPartyJobSuccessResult", {}).n("CodePipelineClient", "PutThirdPartyJobSuccessResultCommand").f(void 0, void 0).ser(se_PutThirdPartyJobSuccessResultCommand).de(de_PutThirdPartyJobSuccessResultCommand).build() {
3952
+ };
3953
+ __name(_PutThirdPartyJobSuccessResultCommand, "PutThirdPartyJobSuccessResultCommand");
3954
+ var PutThirdPartyJobSuccessResultCommand = _PutThirdPartyJobSuccessResultCommand;
3955
+
3956
+ // src/commands/PutWebhookCommand.ts
3957
+
3958
+
3959
+
3960
+
3961
+ var _PutWebhookCommand = class _PutWebhookCommand extends import_smithy_client.Command.classBuilder().ep({
3962
+ ...commonParams
3963
+ }).m(function(Command, cs, config, o) {
3964
+ return [
3965
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3966
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3967
+ ];
3968
+ }).s("CodePipeline_20150709", "PutWebhook", {}).n("CodePipelineClient", "PutWebhookCommand").f(void 0, void 0).ser(se_PutWebhookCommand).de(de_PutWebhookCommand).build() {
3969
+ };
3970
+ __name(_PutWebhookCommand, "PutWebhookCommand");
3971
+ var PutWebhookCommand = _PutWebhookCommand;
3972
+
3973
+ // src/commands/RegisterWebhookWithThirdPartyCommand.ts
3974
+
3975
+
3976
+
3977
+
3978
+ var _RegisterWebhookWithThirdPartyCommand = class _RegisterWebhookWithThirdPartyCommand extends import_smithy_client.Command.classBuilder().ep({
3979
+ ...commonParams
3980
+ }).m(function(Command, cs, config, o) {
3981
+ return [
3982
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3983
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3984
+ ];
3985
+ }).s("CodePipeline_20150709", "RegisterWebhookWithThirdParty", {}).n("CodePipelineClient", "RegisterWebhookWithThirdPartyCommand").f(void 0, void 0).ser(se_RegisterWebhookWithThirdPartyCommand).de(de_RegisterWebhookWithThirdPartyCommand).build() {
3986
+ };
3987
+ __name(_RegisterWebhookWithThirdPartyCommand, "RegisterWebhookWithThirdPartyCommand");
3988
+ var RegisterWebhookWithThirdPartyCommand = _RegisterWebhookWithThirdPartyCommand;
3989
+
3990
+ // src/commands/RetryStageExecutionCommand.ts
3991
+
3992
+
3993
+
3994
+
3995
+ var _RetryStageExecutionCommand = class _RetryStageExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
3996
+ ...commonParams
3997
+ }).m(function(Command, cs, config, o) {
3998
+ return [
3999
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4000
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4001
+ ];
4002
+ }).s("CodePipeline_20150709", "RetryStageExecution", {}).n("CodePipelineClient", "RetryStageExecutionCommand").f(void 0, void 0).ser(se_RetryStageExecutionCommand).de(de_RetryStageExecutionCommand).build() {
4003
+ };
4004
+ __name(_RetryStageExecutionCommand, "RetryStageExecutionCommand");
4005
+ var RetryStageExecutionCommand = _RetryStageExecutionCommand;
4006
+
4007
+ // src/commands/StartPipelineExecutionCommand.ts
4008
+
4009
+
4010
+
4011
+
4012
+ var _StartPipelineExecutionCommand = class _StartPipelineExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
4013
+ ...commonParams
4014
+ }).m(function(Command, cs, config, o) {
4015
+ return [
4016
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4017
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4018
+ ];
4019
+ }).s("CodePipeline_20150709", "StartPipelineExecution", {}).n("CodePipelineClient", "StartPipelineExecutionCommand").f(void 0, void 0).ser(se_StartPipelineExecutionCommand).de(de_StartPipelineExecutionCommand).build() {
4020
+ };
4021
+ __name(_StartPipelineExecutionCommand, "StartPipelineExecutionCommand");
4022
+ var StartPipelineExecutionCommand = _StartPipelineExecutionCommand;
4023
+
4024
+ // src/commands/StopPipelineExecutionCommand.ts
4025
+
4026
+
4027
+
4028
+
4029
+ var _StopPipelineExecutionCommand = class _StopPipelineExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
4030
+ ...commonParams
4031
+ }).m(function(Command, cs, config, o) {
4032
+ return [
4033
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4034
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4035
+ ];
4036
+ }).s("CodePipeline_20150709", "StopPipelineExecution", {}).n("CodePipelineClient", "StopPipelineExecutionCommand").f(void 0, void 0).ser(se_StopPipelineExecutionCommand).de(de_StopPipelineExecutionCommand).build() {
4037
+ };
4038
+ __name(_StopPipelineExecutionCommand, "StopPipelineExecutionCommand");
4039
+ var StopPipelineExecutionCommand = _StopPipelineExecutionCommand;
4040
+
4041
+ // src/commands/TagResourceCommand.ts
4042
+
4043
+
4044
+
4045
+
4046
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
4047
+ ...commonParams
4048
+ }).m(function(Command, cs, config, o) {
4049
+ return [
4050
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4051
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4052
+ ];
4053
+ }).s("CodePipeline_20150709", "TagResource", {}).n("CodePipelineClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
4054
+ };
4055
+ __name(_TagResourceCommand, "TagResourceCommand");
4056
+ var TagResourceCommand = _TagResourceCommand;
4057
+
4058
+ // src/commands/UntagResourceCommand.ts
4059
+
4060
+
4061
+
4062
+
4063
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
4064
+ ...commonParams
4065
+ }).m(function(Command, cs, config, o) {
4066
+ return [
4067
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4068
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4069
+ ];
4070
+ }).s("CodePipeline_20150709", "UntagResource", {}).n("CodePipelineClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
4071
+ };
4072
+ __name(_UntagResourceCommand, "UntagResourceCommand");
4073
+ var UntagResourceCommand = _UntagResourceCommand;
4074
+
4075
+ // src/commands/UpdateActionTypeCommand.ts
4076
+
4077
+
4078
+
4079
+
4080
+ var _UpdateActionTypeCommand = class _UpdateActionTypeCommand extends import_smithy_client.Command.classBuilder().ep({
4081
+ ...commonParams
4082
+ }).m(function(Command, cs, config, o) {
4083
+ return [
4084
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4085
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4086
+ ];
4087
+ }).s("CodePipeline_20150709", "UpdateActionType", {}).n("CodePipelineClient", "UpdateActionTypeCommand").f(void 0, void 0).ser(se_UpdateActionTypeCommand).de(de_UpdateActionTypeCommand).build() {
4088
+ };
4089
+ __name(_UpdateActionTypeCommand, "UpdateActionTypeCommand");
4090
+ var UpdateActionTypeCommand = _UpdateActionTypeCommand;
4091
+
4092
+ // src/commands/UpdatePipelineCommand.ts
4093
+
4094
+
4095
+
4096
+
4097
+ var _UpdatePipelineCommand = class _UpdatePipelineCommand extends import_smithy_client.Command.classBuilder().ep({
4098
+ ...commonParams
4099
+ }).m(function(Command, cs, config, o) {
4100
+ return [
4101
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4102
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4103
+ ];
4104
+ }).s("CodePipeline_20150709", "UpdatePipeline", {}).n("CodePipelineClient", "UpdatePipelineCommand").f(void 0, void 0).ser(se_UpdatePipelineCommand).de(de_UpdatePipelineCommand).build() {
4105
+ };
4106
+ __name(_UpdatePipelineCommand, "UpdatePipelineCommand");
4107
+ var UpdatePipelineCommand = _UpdatePipelineCommand;
4108
+
4109
+ // src/CodePipeline.ts
4110
+ var commands = {
4111
+ AcknowledgeJobCommand,
4112
+ AcknowledgeThirdPartyJobCommand,
4113
+ CreateCustomActionTypeCommand,
4114
+ CreatePipelineCommand,
4115
+ DeleteCustomActionTypeCommand,
4116
+ DeletePipelineCommand,
4117
+ DeleteWebhookCommand,
4118
+ DeregisterWebhookWithThirdPartyCommand,
4119
+ DisableStageTransitionCommand,
4120
+ EnableStageTransitionCommand,
4121
+ GetActionTypeCommand,
4122
+ GetJobDetailsCommand,
4123
+ GetPipelineCommand,
4124
+ GetPipelineExecutionCommand,
4125
+ GetPipelineStateCommand,
4126
+ GetThirdPartyJobDetailsCommand,
4127
+ ListActionExecutionsCommand,
4128
+ ListActionTypesCommand,
4129
+ ListPipelineExecutionsCommand,
4130
+ ListPipelinesCommand,
4131
+ ListTagsForResourceCommand,
4132
+ ListWebhooksCommand,
4133
+ PollForJobsCommand,
4134
+ PollForThirdPartyJobsCommand,
4135
+ PutActionRevisionCommand,
4136
+ PutApprovalResultCommand,
4137
+ PutJobFailureResultCommand,
4138
+ PutJobSuccessResultCommand,
4139
+ PutThirdPartyJobFailureResultCommand,
4140
+ PutThirdPartyJobSuccessResultCommand,
4141
+ PutWebhookCommand,
4142
+ RegisterWebhookWithThirdPartyCommand,
4143
+ RetryStageExecutionCommand,
4144
+ StartPipelineExecutionCommand,
4145
+ StopPipelineExecutionCommand,
4146
+ TagResourceCommand,
4147
+ UntagResourceCommand,
4148
+ UpdateActionTypeCommand,
4149
+ UpdatePipelineCommand
4150
+ };
4151
+ var _CodePipeline = class _CodePipeline extends CodePipelineClient {
4152
+ };
4153
+ __name(_CodePipeline, "CodePipeline");
4154
+ var CodePipeline = _CodePipeline;
4155
+ (0, import_smithy_client.createAggregatedClient)(commands, CodePipeline);
4156
+
4157
+ // src/pagination/ListActionExecutionsPaginator.ts
4158
+ var import_core = require("@smithy/core");
4159
+ var paginateListActionExecutions = (0, import_core.createPaginator)(CodePipelineClient, ListActionExecutionsCommand, "nextToken", "nextToken", "maxResults");
4160
+
4161
+ // src/pagination/ListActionTypesPaginator.ts
4162
+
4163
+ var paginateListActionTypes = (0, import_core.createPaginator)(CodePipelineClient, ListActionTypesCommand, "nextToken", "nextToken", "");
4164
+
4165
+ // src/pagination/ListPipelineExecutionsPaginator.ts
4166
+
4167
+ var paginateListPipelineExecutions = (0, import_core.createPaginator)(CodePipelineClient, ListPipelineExecutionsCommand, "nextToken", "nextToken", "maxResults");
4168
+
4169
+ // src/pagination/ListPipelinesPaginator.ts
4170
+
4171
+ var paginateListPipelines = (0, import_core.createPaginator)(CodePipelineClient, ListPipelinesCommand, "nextToken", "nextToken", "maxResults");
4172
+
4173
+ // src/pagination/ListTagsForResourcePaginator.ts
4174
+
4175
+ var paginateListTagsForResource = (0, import_core.createPaginator)(CodePipelineClient, ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults");
4176
+
4177
+ // src/pagination/ListWebhooksPaginator.ts
4178
+
4179
+ var paginateListWebhooks = (0, import_core.createPaginator)(CodePipelineClient, ListWebhooksCommand, "NextToken", "NextToken", "MaxResults");
4180
+
4181
+ // src/index.ts
4182
+ var import_util_endpoints = require("@aws-sdk/util-endpoints");
4183
+ // Annotate the CommonJS export names for ESM import in node:
4184
+ 0 && (module.exports = {
4185
+ AWSSessionCredentialsFilterSensitiveLog,
4186
+ AcknowledgeJobCommand,
4187
+ AcknowledgeThirdPartyJobCommand,
4188
+ ActionCategory,
4189
+ ActionConfigurationPropertyType,
4190
+ ActionExecutionStatus,
4191
+ ActionNotFoundException,
4192
+ ActionOwner,
4193
+ ActionTypeNotFoundException,
4194
+ ApprovalAlreadyCompletedException,
4195
+ ApprovalStatus,
4196
+ ArtifactLocationType,
4197
+ ArtifactStoreType,
4198
+ BlockerType,
4199
+ CodePipeline,
4200
+ CodePipelineClient,
4201
+ CodePipelineServiceException,
4202
+ ConcurrentModificationException,
4203
+ ConflictException,
4204
+ CreateCustomActionTypeCommand,
4205
+ CreatePipelineCommand,
4206
+ DeleteCustomActionTypeCommand,
4207
+ DeletePipelineCommand,
4208
+ DeleteWebhookCommand,
4209
+ DeregisterWebhookWithThirdPartyCommand,
4210
+ DisableStageTransitionCommand,
4211
+ DuplicatedStopRequestException,
4212
+ EnableStageTransitionCommand,
4213
+ EncryptionKeyType,
4214
+ ExecutorType,
4215
+ FailureType,
4216
+ GetActionTypeCommand,
4217
+ GetJobDetailsCommand,
4218
+ GetJobDetailsOutputFilterSensitiveLog,
4219
+ GetPipelineCommand,
4220
+ GetPipelineExecutionCommand,
4221
+ GetPipelineStateCommand,
4222
+ GetThirdPartyJobDetailsCommand,
4223
+ GetThirdPartyJobDetailsOutputFilterSensitiveLog,
4224
+ InvalidActionDeclarationException,
4225
+ InvalidApprovalTokenException,
4226
+ InvalidArnException,
4227
+ InvalidBlockerDeclarationException,
4228
+ InvalidClientTokenException,
4229
+ InvalidJobException,
4230
+ InvalidJobStateException,
4231
+ InvalidNextTokenException,
4232
+ InvalidNonceException,
4233
+ InvalidStageDeclarationException,
4234
+ InvalidStructureException,
4235
+ InvalidTagsException,
4236
+ InvalidWebhookAuthenticationParametersException,
4237
+ InvalidWebhookFilterPatternException,
4238
+ JobDataFilterSensitiveLog,
4239
+ JobDetailsFilterSensitiveLog,
4240
+ JobFilterSensitiveLog,
4241
+ JobNotFoundException,
4242
+ JobStatus,
4243
+ LimitExceededException,
4244
+ ListActionExecutionsCommand,
4245
+ ListActionTypesCommand,
4246
+ ListPipelineExecutionsCommand,
4247
+ ListPipelinesCommand,
4248
+ ListTagsForResourceCommand,
4249
+ ListWebhooksCommand,
4250
+ NotLatestPipelineExecutionException,
4251
+ OutputVariablesSizeExceededException,
4252
+ PipelineExecutionNotFoundException,
4253
+ PipelineExecutionNotStoppableException,
4254
+ PipelineExecutionStatus,
4255
+ PipelineNameInUseException,
4256
+ PipelineNotFoundException,
4257
+ PipelineTriggerProviderType,
4258
+ PipelineType,
4259
+ PipelineVersionNotFoundException,
4260
+ PollForJobsCommand,
4261
+ PollForJobsOutputFilterSensitiveLog,
4262
+ PollForThirdPartyJobsCommand,
4263
+ PutActionRevisionCommand,
4264
+ PutApprovalResultCommand,
4265
+ PutJobFailureResultCommand,
4266
+ PutJobSuccessResultCommand,
4267
+ PutThirdPartyJobFailureResultCommand,
4268
+ PutThirdPartyJobSuccessResultCommand,
4269
+ PutWebhookCommand,
4270
+ RegisterWebhookWithThirdPartyCommand,
4271
+ RequestFailedException,
4272
+ ResourceNotFoundException,
4273
+ RetryStageExecutionCommand,
4274
+ SourceRevisionType,
4275
+ StageExecutionStatus,
4276
+ StageNotFoundException,
4277
+ StageNotRetryableException,
4278
+ StageRetryMode,
4279
+ StageTransitionType,
4280
+ StartPipelineExecutionCommand,
4281
+ StopPipelineExecutionCommand,
4282
+ TagResourceCommand,
4283
+ ThirdPartyJobDataFilterSensitiveLog,
4284
+ ThirdPartyJobDetailsFilterSensitiveLog,
4285
+ TooManyTagsException,
4286
+ TriggerType,
4287
+ UntagResourceCommand,
4288
+ UpdateActionTypeCommand,
4289
+ UpdatePipelineCommand,
4290
+ ValidationException,
4291
+ WebhookAuthenticationType,
4292
+ WebhookNotFoundException,
4293
+ __Client,
4294
+ paginateListActionExecutions,
4295
+ paginateListActionTypes,
4296
+ paginateListPipelineExecutions,
4297
+ paginateListPipelines,
4298
+ paginateListTagsForResource,
4299
+ paginateListWebhooks
4300
+ });