@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 { PutThirdPartyJobSuccessResultInputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1PutThirdPartyJobSuccessResultCommand, serializeAws_json1_1PutThirdPartyJobSuccessResultCommand, } from "../protocols/Aws_json1_1";
6
- var PutThirdPartyJobSuccessResultCommand = (function (_super) {
7
- __extends(PutThirdPartyJobSuccessResultCommand, _super);
8
- function PutThirdPartyJobSuccessResultCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutThirdPartyJobSuccessResultCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutThirdPartyJobSuccessResultCommand.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 = "PutThirdPartyJobSuccessResultCommand";
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 = "PutThirdPartyJobSuccessResultCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutThirdPartyJobSuccessResultInputFilterSensitiveLog,
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
- PutThirdPartyJobSuccessResultCommand.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_1PutThirdPartyJobSuccessResultCommand(input, context);
33
- };
34
- PutThirdPartyJobSuccessResultCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1PutThirdPartyJobSuccessResultCommand(output, context);
36
- };
37
- return PutThirdPartyJobSuccessResultCommand;
38
- }($Command));
39
- export { PutThirdPartyJobSuccessResultCommand };
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 { PutWebhookInputFilterSensitiveLog, PutWebhookOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1PutWebhookCommand, serializeAws_json1_1PutWebhookCommand, } from "../protocols/Aws_json1_1";
6
- var PutWebhookCommand = (function (_super) {
7
- __extends(PutWebhookCommand, _super);
8
- function PutWebhookCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutWebhookCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutWebhookCommand.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 = "PutWebhookCommand";
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 = "PutWebhookCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutWebhookInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PutWebhookOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PutWebhookCommand.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_1PutWebhookCommand(input, context);
33
- };
34
- PutWebhookCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1PutWebhookCommand(output, context);
36
- };
37
- return PutWebhookCommand;
38
- }($Command));
39
- export { PutWebhookCommand };
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 { RegisterWebhookWithThirdPartyInputFilterSensitiveLog, RegisterWebhookWithThirdPartyOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1RegisterWebhookWithThirdPartyCommand, serializeAws_json1_1RegisterWebhookWithThirdPartyCommand, } from "../protocols/Aws_json1_1";
6
- var RegisterWebhookWithThirdPartyCommand = (function (_super) {
7
- __extends(RegisterWebhookWithThirdPartyCommand, _super);
8
- function RegisterWebhookWithThirdPartyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RegisterWebhookWithThirdPartyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RegisterWebhookWithThirdPartyCommand.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 = "RegisterWebhookWithThirdPartyCommand";
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 = "RegisterWebhookWithThirdPartyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RegisterWebhookWithThirdPartyInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RegisterWebhookWithThirdPartyOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RegisterWebhookWithThirdPartyCommand.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_1RegisterWebhookWithThirdPartyCommand(input, context);
33
- };
34
- RegisterWebhookWithThirdPartyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1RegisterWebhookWithThirdPartyCommand(output, context);
36
- };
37
- return RegisterWebhookWithThirdPartyCommand;
38
- }($Command));
39
- export { RegisterWebhookWithThirdPartyCommand };
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 { RetryStageExecutionInputFilterSensitiveLog, RetryStageExecutionOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1RetryStageExecutionCommand, serializeAws_json1_1RetryStageExecutionCommand, } from "../protocols/Aws_json1_1";
6
- var RetryStageExecutionCommand = (function (_super) {
7
- __extends(RetryStageExecutionCommand, _super);
8
- function RetryStageExecutionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RetryStageExecutionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RetryStageExecutionCommand.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 = "RetryStageExecutionCommand";
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 = "RetryStageExecutionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RetryStageExecutionInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RetryStageExecutionOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RetryStageExecutionCommand.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_1RetryStageExecutionCommand(input, context);
33
- };
34
- RetryStageExecutionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1RetryStageExecutionCommand(output, context);
36
- };
37
- return RetryStageExecutionCommand;
38
- }($Command));
39
- export { RetryStageExecutionCommand };
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 { StartPipelineExecutionInputFilterSensitiveLog, StartPipelineExecutionOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1StartPipelineExecutionCommand, serializeAws_json1_1StartPipelineExecutionCommand, } from "../protocols/Aws_json1_1";
6
- var StartPipelineExecutionCommand = (function (_super) {
7
- __extends(StartPipelineExecutionCommand, _super);
8
- function StartPipelineExecutionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StartPipelineExecutionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StartPipelineExecutionCommand.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 = "StartPipelineExecutionCommand";
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 = "StartPipelineExecutionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StartPipelineExecutionInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StartPipelineExecutionOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StartPipelineExecutionCommand.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_1StartPipelineExecutionCommand(input, context);
33
- };
34
- StartPipelineExecutionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1StartPipelineExecutionCommand(output, context);
36
- };
37
- return StartPipelineExecutionCommand;
38
- }($Command));
39
- export { StartPipelineExecutionCommand };
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 { StopPipelineExecutionInputFilterSensitiveLog, StopPipelineExecutionOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1StopPipelineExecutionCommand, serializeAws_json1_1StopPipelineExecutionCommand, } from "../protocols/Aws_json1_1";
6
- var StopPipelineExecutionCommand = (function (_super) {
7
- __extends(StopPipelineExecutionCommand, _super);
8
- function StopPipelineExecutionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StopPipelineExecutionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StopPipelineExecutionCommand.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 = "StopPipelineExecutionCommand";
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 = "StopPipelineExecutionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StopPipelineExecutionInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StopPipelineExecutionOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StopPipelineExecutionCommand.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_1StopPipelineExecutionCommand(input, context);
33
- };
34
- StopPipelineExecutionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1StopPipelineExecutionCommand(output, context);
36
- };
37
- return StopPipelineExecutionCommand;
38
- }($Command));
39
- export { StopPipelineExecutionCommand };
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 { TagResourceInputFilterSensitiveLog, TagResourceOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
6
- var TagResourceCommand = (function (_super) {
7
- __extends(TagResourceCommand, _super);
8
- function TagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class TagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- TagResourceCommand.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 = "TagResourceCommand";
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 = "TagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: TagResourceInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: TagResourceOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- TagResourceCommand.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_1TagResourceCommand(input, context);
33
- };
34
- TagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1TagResourceCommand(output, context);
36
- };
37
- return TagResourceCommand;
38
- }($Command));
39
- export { TagResourceCommand };
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 { UntagResourceInputFilterSensitiveLog, UntagResourceOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
6
- var UntagResourceCommand = (function (_super) {
7
- __extends(UntagResourceCommand, _super);
8
- function UntagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UntagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UntagResourceCommand.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 = "UntagResourceCommand";
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 = "UntagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UntagResourceInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UntagResourceOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UntagResourceCommand.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_1UntagResourceCommand(input, context);
33
- };
34
- UntagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UntagResourceCommand(output, context);
36
- };
37
- return UntagResourceCommand;
38
- }($Command));
39
- export { UntagResourceCommand };
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 { UpdateActionTypeInputFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateActionTypeCommand, serializeAws_json1_1UpdateActionTypeCommand, } from "../protocols/Aws_json1_1";
6
- var UpdateActionTypeCommand = (function (_super) {
7
- __extends(UpdateActionTypeCommand, _super);
8
- function UpdateActionTypeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateActionTypeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateActionTypeCommand.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 = "UpdateActionTypeCommand";
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 = "UpdateActionTypeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateActionTypeInputFilterSensitiveLog,
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
- UpdateActionTypeCommand.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_1UpdateActionTypeCommand(input, context);
33
- };
34
- UpdateActionTypeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdateActionTypeCommand(output, context);
36
- };
37
- return UpdateActionTypeCommand;
38
- }($Command));
39
- export { UpdateActionTypeCommand };
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 { UpdatePipelineInputFilterSensitiveLog, UpdatePipelineOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdatePipelineCommand, serializeAws_json1_1UpdatePipelineCommand, } from "../protocols/Aws_json1_1";
6
- var UpdatePipelineCommand = (function (_super) {
7
- __extends(UpdatePipelineCommand, _super);
8
- function UpdatePipelineCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdatePipelineCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdatePipelineCommand.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 = "UpdatePipelineCommand";
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 = "UpdatePipelineCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdatePipelineInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdatePipelineOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdatePipelineCommand.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_1UpdatePipelineCommand(input, context);
33
- };
34
- UpdatePipelineCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdatePipelineCommand(output, context);
36
- };
37
- return UpdatePipelineCommand;
38
- }($Command));
39
- export { UpdatePipelineCommand };
31
+ }
32
+ }