@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,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var CodePipelineClient = (function (_super) {
13
- __extends(CodePipelineClient, _super);
14
- function CodePipelineClient(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- return _this;
11
+ export class CodePipelineClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- CodePipelineClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return CodePipelineClient;
38
- }(__Client));
39
- export { CodePipelineClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
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 { AcknowledgeJobInputFilterSensitiveLog, AcknowledgeJobOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1AcknowledgeJobCommand, serializeAws_json1_1AcknowledgeJobCommand, } from "../protocols/Aws_json1_1";
6
- var AcknowledgeJobCommand = (function (_super) {
7
- __extends(AcknowledgeJobCommand, _super);
8
- function AcknowledgeJobCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AcknowledgeJobCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AcknowledgeJobCommand.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 = "AcknowledgeJobCommand";
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 = "AcknowledgeJobCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AcknowledgeJobInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AcknowledgeJobOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AcknowledgeJobCommand.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_1AcknowledgeJobCommand(input, context);
33
- };
34
- AcknowledgeJobCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1AcknowledgeJobCommand(output, context);
36
- };
37
- return AcknowledgeJobCommand;
38
- }($Command));
39
- export { AcknowledgeJobCommand };
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 { AcknowledgeThirdPartyJobInputFilterSensitiveLog, AcknowledgeThirdPartyJobOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1AcknowledgeThirdPartyJobCommand, serializeAws_json1_1AcknowledgeThirdPartyJobCommand, } from "../protocols/Aws_json1_1";
6
- var AcknowledgeThirdPartyJobCommand = (function (_super) {
7
- __extends(AcknowledgeThirdPartyJobCommand, _super);
8
- function AcknowledgeThirdPartyJobCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AcknowledgeThirdPartyJobCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AcknowledgeThirdPartyJobCommand.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 = "AcknowledgeThirdPartyJobCommand";
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 = "AcknowledgeThirdPartyJobCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AcknowledgeThirdPartyJobInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AcknowledgeThirdPartyJobOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AcknowledgeThirdPartyJobCommand.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_1AcknowledgeThirdPartyJobCommand(input, context);
33
- };
34
- AcknowledgeThirdPartyJobCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1AcknowledgeThirdPartyJobCommand(output, context);
36
- };
37
- return AcknowledgeThirdPartyJobCommand;
38
- }($Command));
39
- export { AcknowledgeThirdPartyJobCommand };
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 { CreateCustomActionTypeInputFilterSensitiveLog, CreateCustomActionTypeOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateCustomActionTypeCommand, serializeAws_json1_1CreateCustomActionTypeCommand, } from "../protocols/Aws_json1_1";
6
- var CreateCustomActionTypeCommand = (function (_super) {
7
- __extends(CreateCustomActionTypeCommand, _super);
8
- function CreateCustomActionTypeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateCustomActionTypeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateCustomActionTypeCommand.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 = "CreateCustomActionTypeCommand";
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 = "CreateCustomActionTypeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateCustomActionTypeInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateCustomActionTypeOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateCustomActionTypeCommand.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_1CreateCustomActionTypeCommand(input, context);
33
- };
34
- CreateCustomActionTypeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateCustomActionTypeCommand(output, context);
36
- };
37
- return CreateCustomActionTypeCommand;
38
- }($Command));
39
- export { CreateCustomActionTypeCommand };
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 { CreatePipelineInputFilterSensitiveLog, CreatePipelineOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreatePipelineCommand, serializeAws_json1_1CreatePipelineCommand, } from "../protocols/Aws_json1_1";
6
- var CreatePipelineCommand = (function (_super) {
7
- __extends(CreatePipelineCommand, _super);
8
- function CreatePipelineCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreatePipelineCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreatePipelineCommand.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 = "CreatePipelineCommand";
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 = "CreatePipelineCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreatePipelineInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreatePipelineOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreatePipelineCommand.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_1CreatePipelineCommand(input, context);
33
- };
34
- CreatePipelineCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreatePipelineCommand(output, context);
36
- };
37
- return CreatePipelineCommand;
38
- }($Command));
39
- export { CreatePipelineCommand };
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 { DeleteCustomActionTypeInputFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteCustomActionTypeCommand, serializeAws_json1_1DeleteCustomActionTypeCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteCustomActionTypeCommand = (function (_super) {
7
- __extends(DeleteCustomActionTypeCommand, _super);
8
- function DeleteCustomActionTypeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteCustomActionTypeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteCustomActionTypeCommand.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 = "DeleteCustomActionTypeCommand";
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 = "DeleteCustomActionTypeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteCustomActionTypeInputFilterSensitiveLog,
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
- DeleteCustomActionTypeCommand.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_1DeleteCustomActionTypeCommand(input, context);
33
- };
34
- DeleteCustomActionTypeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteCustomActionTypeCommand(output, context);
36
- };
37
- return DeleteCustomActionTypeCommand;
38
- }($Command));
39
- export { DeleteCustomActionTypeCommand };
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 { DeletePipelineInputFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeletePipelineCommand, serializeAws_json1_1DeletePipelineCommand, } from "../protocols/Aws_json1_1";
6
- var DeletePipelineCommand = (function (_super) {
7
- __extends(DeletePipelineCommand, _super);
8
- function DeletePipelineCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeletePipelineCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeletePipelineCommand.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 = "DeletePipelineCommand";
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 = "DeletePipelineCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeletePipelineInputFilterSensitiveLog,
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
- DeletePipelineCommand.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_1DeletePipelineCommand(input, context);
33
- };
34
- DeletePipelineCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeletePipelineCommand(output, context);
36
- };
37
- return DeletePipelineCommand;
38
- }($Command));
39
- export { DeletePipelineCommand };
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 { DeleteWebhookInputFilterSensitiveLog, DeleteWebhookOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteWebhookCommand, serializeAws_json1_1DeleteWebhookCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteWebhookCommand = (function (_super) {
7
- __extends(DeleteWebhookCommand, _super);
8
- function DeleteWebhookCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteWebhookCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteWebhookCommand.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 = "DeleteWebhookCommand";
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 = "DeleteWebhookCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteWebhookInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteWebhookOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteWebhookCommand.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_1DeleteWebhookCommand(input, context);
33
- };
34
- DeleteWebhookCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteWebhookCommand(output, context);
36
- };
37
- return DeleteWebhookCommand;
38
- }($Command));
39
- export { DeleteWebhookCommand };
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 { DeregisterWebhookWithThirdPartyInputFilterSensitiveLog, DeregisterWebhookWithThirdPartyOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommand, serializeAws_json1_1DeregisterWebhookWithThirdPartyCommand, } from "../protocols/Aws_json1_1";
6
- var DeregisterWebhookWithThirdPartyCommand = (function (_super) {
7
- __extends(DeregisterWebhookWithThirdPartyCommand, _super);
8
- function DeregisterWebhookWithThirdPartyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeregisterWebhookWithThirdPartyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeregisterWebhookWithThirdPartyCommand.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 = "DeregisterWebhookWithThirdPartyCommand";
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 = "DeregisterWebhookWithThirdPartyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeregisterWebhookWithThirdPartyInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeregisterWebhookWithThirdPartyOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeregisterWebhookWithThirdPartyCommand.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_1DeregisterWebhookWithThirdPartyCommand(input, context);
33
- };
34
- DeregisterWebhookWithThirdPartyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommand(output, context);
36
- };
37
- return DeregisterWebhookWithThirdPartyCommand;
38
- }($Command));
39
- export { DeregisterWebhookWithThirdPartyCommand };
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 { DisableStageTransitionInputFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DisableStageTransitionCommand, serializeAws_json1_1DisableStageTransitionCommand, } from "../protocols/Aws_json1_1";
6
- var DisableStageTransitionCommand = (function (_super) {
7
- __extends(DisableStageTransitionCommand, _super);
8
- function DisableStageTransitionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisableStageTransitionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisableStageTransitionCommand.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 = "DisableStageTransitionCommand";
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 = "DisableStageTransitionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisableStageTransitionInputFilterSensitiveLog,
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
- DisableStageTransitionCommand.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_1DisableStageTransitionCommand(input, context);
33
- };
34
- DisableStageTransitionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DisableStageTransitionCommand(output, context);
36
- };
37
- return DisableStageTransitionCommand;
38
- }($Command));
39
- export { DisableStageTransitionCommand };
31
+ }
32
+ }