@aws-sdk/client-codepipeline 3.183.0 → 3.185.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/CodePipeline.js +165 -158
  4. package/dist-es/CodePipelineClient.js +28 -22
  5. package/dist-es/commands/AcknowledgeJobCommand.js +28 -21
  6. package/dist-es/commands/AcknowledgeThirdPartyJobCommand.js +28 -21
  7. package/dist-es/commands/CreateCustomActionTypeCommand.js +28 -21
  8. package/dist-es/commands/CreatePipelineCommand.js +28 -21
  9. package/dist-es/commands/DeleteCustomActionTypeCommand.js +29 -22
  10. package/dist-es/commands/DeletePipelineCommand.js +29 -22
  11. package/dist-es/commands/DeleteWebhookCommand.js +28 -21
  12. package/dist-es/commands/DeregisterWebhookWithThirdPartyCommand.js +28 -21
  13. package/dist-es/commands/DisableStageTransitionCommand.js +29 -22
  14. package/dist-es/commands/EnableStageTransitionCommand.js +29 -22
  15. package/dist-es/commands/GetActionTypeCommand.js +28 -21
  16. package/dist-es/commands/GetJobDetailsCommand.js +28 -21
  17. package/dist-es/commands/GetPipelineCommand.js +28 -21
  18. package/dist-es/commands/GetPipelineExecutionCommand.js +28 -21
  19. package/dist-es/commands/GetPipelineStateCommand.js +28 -21
  20. package/dist-es/commands/GetThirdPartyJobDetailsCommand.js +28 -21
  21. package/dist-es/commands/ListActionExecutionsCommand.js +28 -21
  22. package/dist-es/commands/ListActionTypesCommand.js +28 -21
  23. package/dist-es/commands/ListPipelineExecutionsCommand.js +28 -21
  24. package/dist-es/commands/ListPipelinesCommand.js +28 -21
  25. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  26. package/dist-es/commands/ListWebhooksCommand.js +28 -21
  27. package/dist-es/commands/PollForJobsCommand.js +28 -21
  28. package/dist-es/commands/PollForThirdPartyJobsCommand.js +28 -21
  29. package/dist-es/commands/PutActionRevisionCommand.js +28 -21
  30. package/dist-es/commands/PutApprovalResultCommand.js +28 -21
  31. package/dist-es/commands/PutJobFailureResultCommand.js +29 -22
  32. package/dist-es/commands/PutJobSuccessResultCommand.js +29 -22
  33. package/dist-es/commands/PutThirdPartyJobFailureResultCommand.js +29 -22
  34. package/dist-es/commands/PutThirdPartyJobSuccessResultCommand.js +29 -22
  35. package/dist-es/commands/PutWebhookCommand.js +28 -21
  36. package/dist-es/commands/RegisterWebhookWithThirdPartyCommand.js +28 -21
  37. package/dist-es/commands/RetryStageExecutionCommand.js +28 -21
  38. package/dist-es/commands/StartPipelineExecutionCommand.js +28 -21
  39. package/dist-es/commands/StopPipelineExecutionCommand.js +28 -21
  40. package/dist-es/commands/TagResourceCommand.js +28 -21
  41. package/dist-es/commands/UntagResourceCommand.js +28 -21
  42. package/dist-es/commands/UpdateActionTypeCommand.js +29 -22
  43. package/dist-es/commands/UpdatePipelineCommand.js +28 -21
  44. package/dist-es/endpoints.js +8 -8
  45. package/dist-es/models/CodePipelineServiceException.js +10 -5
  46. package/dist-es/models/models_0.js +570 -854
  47. package/dist-es/pagination/ListActionExecutionsPaginator.js +68 -25
  48. package/dist-es/pagination/ListActionTypesPaginator.js +67 -24
  49. package/dist-es/pagination/ListPipelineExecutionsPaginator.js +68 -25
  50. package/dist-es/pagination/ListPipelinesPaginator.js +68 -25
  51. package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
  52. package/dist-es/pagination/ListWebhooksPaginator.js +68 -25
  53. package/dist-es/protocols/Aws_json1_1.js +3746 -3101
  54. package/dist-es/runtimeConfig.browser.js +12 -26
  55. package/dist-es/runtimeConfig.js +12 -30
  56. package/dist-es/runtimeConfig.native.js +5 -8
  57. package/dist-es/runtimeConfig.shared.js +11 -8
  58. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
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));
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;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ CodePipelineClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return CodePipelineClient;
38
+ }(__Client));
39
+ export { CodePipelineClient };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AcknowledgeJobInputFilterSensitiveLog, AcknowledgeJobOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1AcknowledgeJobCommand, serializeAws_json1_1AcknowledgeJobCommand, } from "../protocols/Aws_json1_1";
5
- export class AcknowledgeJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AcknowledgeJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "AcknowledgeJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "AcknowledgeJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AcknowledgeJobInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AcknowledgeJobOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AcknowledgeJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1AcknowledgeJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AcknowledgeJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1AcknowledgeJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AcknowledgeJobCommand;
38
+ }($Command));
39
+ export { AcknowledgeJobCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AcknowledgeThirdPartyJobInputFilterSensitiveLog, AcknowledgeThirdPartyJobOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1AcknowledgeThirdPartyJobCommand, serializeAws_json1_1AcknowledgeThirdPartyJobCommand, } from "../protocols/Aws_json1_1";
5
- export class AcknowledgeThirdPartyJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AcknowledgeThirdPartyJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "AcknowledgeThirdPartyJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "AcknowledgeThirdPartyJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AcknowledgeThirdPartyJobInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AcknowledgeThirdPartyJobOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AcknowledgeThirdPartyJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1AcknowledgeThirdPartyJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AcknowledgeThirdPartyJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1AcknowledgeThirdPartyJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AcknowledgeThirdPartyJobCommand;
38
+ }($Command));
39
+ export { AcknowledgeThirdPartyJobCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateCustomActionTypeInputFilterSensitiveLog, CreateCustomActionTypeOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateCustomActionTypeCommand, serializeAws_json1_1CreateCustomActionTypeCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateCustomActionTypeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateCustomActionTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "CreateCustomActionTypeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "CreateCustomActionTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateCustomActionTypeInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateCustomActionTypeOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateCustomActionTypeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateCustomActionTypeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateCustomActionTypeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateCustomActionTypeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateCustomActionTypeCommand;
38
+ }($Command));
39
+ export { CreateCustomActionTypeCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreatePipelineInputFilterSensitiveLog, CreatePipelineOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreatePipelineCommand, serializeAws_json1_1CreatePipelineCommand, } from "../protocols/Aws_json1_1";
5
- export class CreatePipelineCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreatePipelineCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "CreatePipelineCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "CreatePipelineCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreatePipelineInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreatePipelineOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreatePipelineCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreatePipelineCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreatePipelineCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreatePipelineCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreatePipelineCommand;
38
+ }($Command));
39
+ export { CreatePipelineCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteCustomActionTypeInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteCustomActionTypeCommand, serializeAws_json1_1DeleteCustomActionTypeCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteCustomActionTypeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteCustomActionTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "DeleteCustomActionTypeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "DeleteCustomActionTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteCustomActionTypeInputFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteCustomActionTypeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteCustomActionTypeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteCustomActionTypeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteCustomActionTypeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteCustomActionTypeCommand;
38
+ }($Command));
39
+ export { DeleteCustomActionTypeCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeletePipelineInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeletePipelineCommand, serializeAws_json1_1DeletePipelineCommand, } from "../protocols/Aws_json1_1";
5
- export class DeletePipelineCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeletePipelineCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "DeletePipelineCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "DeletePipelineCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeletePipelineInputFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeletePipelineCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeletePipelineCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeletePipelineCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeletePipelineCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeletePipelineCommand;
38
+ }($Command));
39
+ export { DeletePipelineCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteWebhookInputFilterSensitiveLog, DeleteWebhookOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteWebhookCommand, serializeAws_json1_1DeleteWebhookCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteWebhookCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteWebhookCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "DeleteWebhookCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "DeleteWebhookCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteWebhookInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteWebhookOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteWebhookCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteWebhookCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteWebhookCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteWebhookCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteWebhookCommand;
38
+ }($Command));
39
+ export { DeleteWebhookCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeregisterWebhookWithThirdPartyInputFilterSensitiveLog, DeregisterWebhookWithThirdPartyOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommand, serializeAws_json1_1DeregisterWebhookWithThirdPartyCommand, } from "../protocols/Aws_json1_1";
5
- export class DeregisterWebhookWithThirdPartyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeregisterWebhookWithThirdPartyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "DeregisterWebhookWithThirdPartyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "DeregisterWebhookWithThirdPartyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeregisterWebhookWithThirdPartyInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeregisterWebhookWithThirdPartyOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeregisterWebhookWithThirdPartyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeregisterWebhookWithThirdPartyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeregisterWebhookWithThirdPartyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeregisterWebhookWithThirdPartyCommand;
38
+ }($Command));
39
+ export { DeregisterWebhookWithThirdPartyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DisableStageTransitionInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DisableStageTransitionCommand, serializeAws_json1_1DisableStageTransitionCommand, } from "../protocols/Aws_json1_1";
5
- export class DisableStageTransitionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisableStageTransitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodePipelineClient";
15
- const commandName = "DisableStageTransitionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodePipelineClient";
18
+ var commandName = "DisableStageTransitionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisableStageTransitionInputFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DisableStageTransitionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DisableStageTransitionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisableStageTransitionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DisableStageTransitionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisableStageTransitionCommand;
38
+ }($Command));
39
+ export { DisableStageTransitionCommand };