@aws-sdk/client-codepipeline 3.183.0 → 3.185.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 (58) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/CodePipeline.js +165 -158
  4. package/dist-es/CodePipelineClient.js +28 -22
  5. package/dist-es/commands/AcknowledgeJobCommand.js +28 -21
  6. package/dist-es/commands/AcknowledgeThirdPartyJobCommand.js +28 -21
  7. package/dist-es/commands/CreateCustomActionTypeCommand.js +28 -21
  8. package/dist-es/commands/CreatePipelineCommand.js +28 -21
  9. package/dist-es/commands/DeleteCustomActionTypeCommand.js +29 -22
  10. package/dist-es/commands/DeletePipelineCommand.js +29 -22
  11. package/dist-es/commands/DeleteWebhookCommand.js +28 -21
  12. package/dist-es/commands/DeregisterWebhookWithThirdPartyCommand.js +28 -21
  13. package/dist-es/commands/DisableStageTransitionCommand.js +29 -22
  14. package/dist-es/commands/EnableStageTransitionCommand.js +29 -22
  15. package/dist-es/commands/GetActionTypeCommand.js +28 -21
  16. package/dist-es/commands/GetJobDetailsCommand.js +28 -21
  17. package/dist-es/commands/GetPipelineCommand.js +28 -21
  18. package/dist-es/commands/GetPipelineExecutionCommand.js +28 -21
  19. package/dist-es/commands/GetPipelineStateCommand.js +28 -21
  20. package/dist-es/commands/GetThirdPartyJobDetailsCommand.js +28 -21
  21. package/dist-es/commands/ListActionExecutionsCommand.js +28 -21
  22. package/dist-es/commands/ListActionTypesCommand.js +28 -21
  23. package/dist-es/commands/ListPipelineExecutionsCommand.js +28 -21
  24. package/dist-es/commands/ListPipelinesCommand.js +28 -21
  25. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  26. package/dist-es/commands/ListWebhooksCommand.js +28 -21
  27. package/dist-es/commands/PollForJobsCommand.js +28 -21
  28. package/dist-es/commands/PollForThirdPartyJobsCommand.js +28 -21
  29. package/dist-es/commands/PutActionRevisionCommand.js +28 -21
  30. package/dist-es/commands/PutApprovalResultCommand.js +28 -21
  31. package/dist-es/commands/PutJobFailureResultCommand.js +29 -22
  32. package/dist-es/commands/PutJobSuccessResultCommand.js +29 -22
  33. package/dist-es/commands/PutThirdPartyJobFailureResultCommand.js +29 -22
  34. package/dist-es/commands/PutThirdPartyJobSuccessResultCommand.js +29 -22
  35. package/dist-es/commands/PutWebhookCommand.js +28 -21
  36. package/dist-es/commands/RegisterWebhookWithThirdPartyCommand.js +28 -21
  37. package/dist-es/commands/RetryStageExecutionCommand.js +28 -21
  38. package/dist-es/commands/StartPipelineExecutionCommand.js +28 -21
  39. package/dist-es/commands/StopPipelineExecutionCommand.js +28 -21
  40. package/dist-es/commands/TagResourceCommand.js +28 -21
  41. package/dist-es/commands/UntagResourceCommand.js +28 -21
  42. package/dist-es/commands/UpdateActionTypeCommand.js +29 -22
  43. package/dist-es/commands/UpdatePipelineCommand.js +28 -21
  44. package/dist-es/endpoints.js +8 -8
  45. package/dist-es/models/CodePipelineServiceException.js +10 -5
  46. package/dist-es/models/models_0.js +570 -854
  47. package/dist-es/pagination/ListActionExecutionsPaginator.js +68 -25
  48. package/dist-es/pagination/ListActionTypesPaginator.js +67 -24
  49. package/dist-es/pagination/ListPipelineExecutionsPaginator.js +68 -25
  50. package/dist-es/pagination/ListPipelinesPaginator.js +68 -25
  51. package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
  52. package/dist-es/pagination/ListWebhooksPaginator.js +68 -25
  53. package/dist-es/protocols/Aws_json1_1.js +3746 -3101
  54. package/dist-es/runtimeConfig.browser.js +12 -26
  55. package/dist-es/runtimeConfig.js +12 -30
  56. package/dist-es/runtimeConfig.native.js +5 -8
  57. package/dist-es/runtimeConfig.shared.js +11 -8
  58. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListPipelinesInputFilterSensitiveLog, ListPipelinesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListPipelinesCommand, serializeAws_json1_1ListPipelinesCommand, } from "../protocols/Aws_json1_1";
5
- export class ListPipelinesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPipelinesCommand = (function (_super) {
7
+ __extends(ListPipelinesCommand, _super);
8
+ function ListPipelinesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPipelinesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "ListPipelinesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "ListPipelinesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPipelinesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPipelinesOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListPipelinesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListPipelinesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPipelinesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListPipelinesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPipelinesCommand;
38
+ }($Command));
39
+ export { ListPipelinesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceInputFilterSensitiveLog, ListTagsForResourceOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListWebhooksInputFilterSensitiveLog, ListWebhooksOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListWebhooksCommand, serializeAws_json1_1ListWebhooksCommand, } from "../protocols/Aws_json1_1";
5
- export class ListWebhooksCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListWebhooksCommand = (function (_super) {
7
+ __extends(ListWebhooksCommand, _super);
8
+ function ListWebhooksCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListWebhooksCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "ListWebhooksCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "ListWebhooksCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListWebhooksInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListWebhooksOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListWebhooksCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListWebhooksCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListWebhooksCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListWebhooksCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListWebhooksCommand;
38
+ }($Command));
39
+ export { ListWebhooksCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PollForJobsInputFilterSensitiveLog, PollForJobsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1PollForJobsCommand, serializeAws_json1_1PollForJobsCommand, } from "../protocols/Aws_json1_1";
5
- export class PollForJobsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PollForJobsCommand = (function (_super) {
7
+ __extends(PollForJobsCommand, _super);
8
+ function PollForJobsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PollForJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "PollForJobsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "PollForJobsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PollForJobsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PollForJobsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PollForJobsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1PollForJobsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PollForJobsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1PollForJobsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PollForJobsCommand;
38
+ }($Command));
39
+ export { PollForJobsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PollForThirdPartyJobsInputFilterSensitiveLog, PollForThirdPartyJobsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1PollForThirdPartyJobsCommand, serializeAws_json1_1PollForThirdPartyJobsCommand, } from "../protocols/Aws_json1_1";
5
- export class PollForThirdPartyJobsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PollForThirdPartyJobsCommand = (function (_super) {
7
+ __extends(PollForThirdPartyJobsCommand, _super);
8
+ function PollForThirdPartyJobsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PollForThirdPartyJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "PollForThirdPartyJobsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "PollForThirdPartyJobsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PollForThirdPartyJobsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PollForThirdPartyJobsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PollForThirdPartyJobsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1PollForThirdPartyJobsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PollForThirdPartyJobsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1PollForThirdPartyJobsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PollForThirdPartyJobsCommand;
38
+ }($Command));
39
+ export { PollForThirdPartyJobsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PutActionRevisionInputFilterSensitiveLog, PutActionRevisionOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1PutActionRevisionCommand, serializeAws_json1_1PutActionRevisionCommand, } from "../protocols/Aws_json1_1";
5
- export class PutActionRevisionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutActionRevisionCommand = (function (_super) {
7
+ __extends(PutActionRevisionCommand, _super);
8
+ function PutActionRevisionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutActionRevisionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "PutActionRevisionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "PutActionRevisionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutActionRevisionInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutActionRevisionOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PutActionRevisionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1PutActionRevisionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutActionRevisionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1PutActionRevisionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutActionRevisionCommand;
38
+ }($Command));
39
+ export { PutActionRevisionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PutApprovalResultInputFilterSensitiveLog, PutApprovalResultOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1PutApprovalResultCommand, serializeAws_json1_1PutApprovalResultCommand, } from "../protocols/Aws_json1_1";
5
- export class PutApprovalResultCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutApprovalResultCommand = (function (_super) {
7
+ __extends(PutApprovalResultCommand, _super);
8
+ function PutApprovalResultCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutApprovalResultCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "PutApprovalResultCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "PutApprovalResultCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutApprovalResultInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutApprovalResultOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PutApprovalResultCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1PutApprovalResultCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutApprovalResultCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1PutApprovalResultCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutApprovalResultCommand;
38
+ }($Command));
39
+ export { PutApprovalResultCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PutJobFailureResultInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1PutJobFailureResultCommand, serializeAws_json1_1PutJobFailureResultCommand, } from "../protocols/Aws_json1_1";
5
- export class PutJobFailureResultCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutJobFailureResultCommand = (function (_super) {
7
+ __extends(PutJobFailureResultCommand, _super);
8
+ function PutJobFailureResultCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutJobFailureResultCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "PutJobFailureResultCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "PutJobFailureResultCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutJobFailureResultInputFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PutJobFailureResultCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1PutJobFailureResultCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutJobFailureResultCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1PutJobFailureResultCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutJobFailureResultCommand;
38
+ }($Command));
39
+ export { PutJobFailureResultCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PutJobSuccessResultInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1PutJobSuccessResultCommand, serializeAws_json1_1PutJobSuccessResultCommand, } from "../protocols/Aws_json1_1";
5
- export class PutJobSuccessResultCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutJobSuccessResultCommand = (function (_super) {
7
+ __extends(PutJobSuccessResultCommand, _super);
8
+ function PutJobSuccessResultCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutJobSuccessResultCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "PutJobSuccessResultCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "PutJobSuccessResultCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutJobSuccessResultInputFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PutJobSuccessResultCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1PutJobSuccessResultCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutJobSuccessResultCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1PutJobSuccessResultCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutJobSuccessResultCommand;
38
+ }($Command));
39
+ export { PutJobSuccessResultCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PutThirdPartyJobFailureResultInputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1PutThirdPartyJobFailureResultCommand, serializeAws_json1_1PutThirdPartyJobFailureResultCommand, } from "../protocols/Aws_json1_1";
5
- export class PutThirdPartyJobFailureResultCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutThirdPartyJobFailureResultCommand = (function (_super) {
7
+ __extends(PutThirdPartyJobFailureResultCommand, _super);
8
+ function PutThirdPartyJobFailureResultCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutThirdPartyJobFailureResultCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "PutThirdPartyJobFailureResultCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "PutThirdPartyJobFailureResultCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutThirdPartyJobFailureResultInputFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PutThirdPartyJobFailureResultCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1PutThirdPartyJobFailureResultCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutThirdPartyJobFailureResultCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1PutThirdPartyJobFailureResultCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutThirdPartyJobFailureResultCommand;
38
+ }($Command));
39
+ export { PutThirdPartyJobFailureResultCommand };