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