@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 { EnableStageTransitionInputFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1EnableStageTransitionCommand, serializeAws_json1_1EnableStageTransitionCommand, } from "../protocols/Aws_json1_1";
6
- var EnableStageTransitionCommand = (function (_super) {
7
- __extends(EnableStageTransitionCommand, _super);
8
- function EnableStageTransitionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class EnableStageTransitionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- EnableStageTransitionCommand.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 = "EnableStageTransitionCommand";
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 = "EnableStageTransitionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: EnableStageTransitionInputFilterSensitiveLog,
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
- EnableStageTransitionCommand.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_1EnableStageTransitionCommand(input, context);
33
- };
34
- EnableStageTransitionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1EnableStageTransitionCommand(output, context);
36
- };
37
- return EnableStageTransitionCommand;
38
- }($Command));
39
- export { EnableStageTransitionCommand };
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 { GetActionTypeInputFilterSensitiveLog, GetActionTypeOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetActionTypeCommand, serializeAws_json1_1GetActionTypeCommand, } from "../protocols/Aws_json1_1";
6
- var GetActionTypeCommand = (function (_super) {
7
- __extends(GetActionTypeCommand, _super);
8
- function GetActionTypeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetActionTypeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetActionTypeCommand.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 = "GetActionTypeCommand";
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 = "GetActionTypeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetActionTypeInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetActionTypeOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetActionTypeCommand.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_1GetActionTypeCommand(input, context);
33
- };
34
- GetActionTypeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetActionTypeCommand(output, context);
36
- };
37
- return GetActionTypeCommand;
38
- }($Command));
39
- export { GetActionTypeCommand };
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 { GetJobDetailsInputFilterSensitiveLog, GetJobDetailsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetJobDetailsCommand, serializeAws_json1_1GetJobDetailsCommand, } from "../protocols/Aws_json1_1";
6
- var GetJobDetailsCommand = (function (_super) {
7
- __extends(GetJobDetailsCommand, _super);
8
- function GetJobDetailsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetJobDetailsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetJobDetailsCommand.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 = "GetJobDetailsCommand";
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 = "GetJobDetailsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetJobDetailsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetJobDetailsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetJobDetailsCommand.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_1GetJobDetailsCommand(input, context);
33
- };
34
- GetJobDetailsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetJobDetailsCommand(output, context);
36
- };
37
- return GetJobDetailsCommand;
38
- }($Command));
39
- export { GetJobDetailsCommand };
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 { GetPipelineInputFilterSensitiveLog, GetPipelineOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetPipelineCommand, serializeAws_json1_1GetPipelineCommand, } from "../protocols/Aws_json1_1";
6
- var GetPipelineCommand = (function (_super) {
7
- __extends(GetPipelineCommand, _super);
8
- function GetPipelineCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetPipelineCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetPipelineCommand.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 = "GetPipelineCommand";
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 = "GetPipelineCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetPipelineInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetPipelineOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetPipelineCommand.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_1GetPipelineCommand(input, context);
33
- };
34
- GetPipelineCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetPipelineCommand(output, context);
36
- };
37
- return GetPipelineCommand;
38
- }($Command));
39
- export { GetPipelineCommand };
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 { GetPipelineExecutionInputFilterSensitiveLog, GetPipelineExecutionOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetPipelineExecutionCommand, serializeAws_json1_1GetPipelineExecutionCommand, } from "../protocols/Aws_json1_1";
6
- var GetPipelineExecutionCommand = (function (_super) {
7
- __extends(GetPipelineExecutionCommand, _super);
8
- function GetPipelineExecutionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetPipelineExecutionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetPipelineExecutionCommand.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 = "GetPipelineExecutionCommand";
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 = "GetPipelineExecutionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetPipelineExecutionInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetPipelineExecutionOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetPipelineExecutionCommand.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_1GetPipelineExecutionCommand(input, context);
33
- };
34
- GetPipelineExecutionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetPipelineExecutionCommand(output, context);
36
- };
37
- return GetPipelineExecutionCommand;
38
- }($Command));
39
- export { GetPipelineExecutionCommand };
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 { GetPipelineStateInputFilterSensitiveLog, GetPipelineStateOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetPipelineStateCommand, serializeAws_json1_1GetPipelineStateCommand, } from "../protocols/Aws_json1_1";
6
- var GetPipelineStateCommand = (function (_super) {
7
- __extends(GetPipelineStateCommand, _super);
8
- function GetPipelineStateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetPipelineStateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetPipelineStateCommand.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 = "GetPipelineStateCommand";
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 = "GetPipelineStateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetPipelineStateInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetPipelineStateOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetPipelineStateCommand.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_1GetPipelineStateCommand(input, context);
33
- };
34
- GetPipelineStateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetPipelineStateCommand(output, context);
36
- };
37
- return GetPipelineStateCommand;
38
- }($Command));
39
- export { GetPipelineStateCommand };
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 { GetThirdPartyJobDetailsInputFilterSensitiveLog, GetThirdPartyJobDetailsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetThirdPartyJobDetailsCommand, serializeAws_json1_1GetThirdPartyJobDetailsCommand, } from "../protocols/Aws_json1_1";
6
- var GetThirdPartyJobDetailsCommand = (function (_super) {
7
- __extends(GetThirdPartyJobDetailsCommand, _super);
8
- function GetThirdPartyJobDetailsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetThirdPartyJobDetailsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetThirdPartyJobDetailsCommand.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 = "GetThirdPartyJobDetailsCommand";
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 = "GetThirdPartyJobDetailsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetThirdPartyJobDetailsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetThirdPartyJobDetailsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetThirdPartyJobDetailsCommand.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_1GetThirdPartyJobDetailsCommand(input, context);
33
- };
34
- GetThirdPartyJobDetailsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetThirdPartyJobDetailsCommand(output, context);
36
- };
37
- return GetThirdPartyJobDetailsCommand;
38
- }($Command));
39
- export { GetThirdPartyJobDetailsCommand };
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 { ListActionExecutionsInputFilterSensitiveLog, ListActionExecutionsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListActionExecutionsCommand, serializeAws_json1_1ListActionExecutionsCommand, } from "../protocols/Aws_json1_1";
6
- var ListActionExecutionsCommand = (function (_super) {
7
- __extends(ListActionExecutionsCommand, _super);
8
- function ListActionExecutionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListActionExecutionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListActionExecutionsCommand.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 = "ListActionExecutionsCommand";
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 = "ListActionExecutionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListActionExecutionsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListActionExecutionsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListActionExecutionsCommand.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_1ListActionExecutionsCommand(input, context);
33
- };
34
- ListActionExecutionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListActionExecutionsCommand(output, context);
36
- };
37
- return ListActionExecutionsCommand;
38
- }($Command));
39
- export { ListActionExecutionsCommand };
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 { ListActionTypesInputFilterSensitiveLog, ListActionTypesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListActionTypesCommand, serializeAws_json1_1ListActionTypesCommand, } from "../protocols/Aws_json1_1";
6
- var ListActionTypesCommand = (function (_super) {
7
- __extends(ListActionTypesCommand, _super);
8
- function ListActionTypesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListActionTypesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListActionTypesCommand.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 = "ListActionTypesCommand";
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 = "ListActionTypesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListActionTypesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListActionTypesOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListActionTypesCommand.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_1ListActionTypesCommand(input, context);
33
- };
34
- ListActionTypesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListActionTypesCommand(output, context);
36
- };
37
- return ListActionTypesCommand;
38
- }($Command));
39
- export { ListActionTypesCommand };
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 { ListPipelineExecutionsInputFilterSensitiveLog, ListPipelineExecutionsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListPipelineExecutionsCommand, serializeAws_json1_1ListPipelineExecutionsCommand, } from "../protocols/Aws_json1_1";
6
- var ListPipelineExecutionsCommand = (function (_super) {
7
- __extends(ListPipelineExecutionsCommand, _super);
8
- function ListPipelineExecutionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListPipelineExecutionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListPipelineExecutionsCommand.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 = "ListPipelineExecutionsCommand";
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 = "ListPipelineExecutionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListPipelineExecutionsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListPipelineExecutionsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListPipelineExecutionsCommand.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_1ListPipelineExecutionsCommand(input, context);
33
- };
34
- ListPipelineExecutionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListPipelineExecutionsCommand(output, context);
36
- };
37
- return ListPipelineExecutionsCommand;
38
- }($Command));
39
- export { ListPipelineExecutionsCommand };
31
+ }
32
+ }