@aws-sdk/client-codepipeline 3.478.0 → 3.484.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 (161) hide show
  1. package/dist-cjs/commands/AcknowledgeJobCommand.js +18 -41
  2. package/dist-cjs/commands/AcknowledgeThirdPartyJobCommand.js +18 -41
  3. package/dist-cjs/commands/CreateCustomActionTypeCommand.js +18 -41
  4. package/dist-cjs/commands/CreatePipelineCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteCustomActionTypeCommand.js +18 -41
  6. package/dist-cjs/commands/DeletePipelineCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteWebhookCommand.js +18 -41
  8. package/dist-cjs/commands/DeregisterWebhookWithThirdPartyCommand.js +18 -41
  9. package/dist-cjs/commands/DisableStageTransitionCommand.js +18 -41
  10. package/dist-cjs/commands/EnableStageTransitionCommand.js +18 -41
  11. package/dist-cjs/commands/GetActionTypeCommand.js +18 -41
  12. package/dist-cjs/commands/GetJobDetailsCommand.js +18 -41
  13. package/dist-cjs/commands/GetPipelineCommand.js +18 -41
  14. package/dist-cjs/commands/GetPipelineExecutionCommand.js +18 -41
  15. package/dist-cjs/commands/GetPipelineStateCommand.js +18 -41
  16. package/dist-cjs/commands/GetThirdPartyJobDetailsCommand.js +18 -41
  17. package/dist-cjs/commands/ListActionExecutionsCommand.js +18 -41
  18. package/dist-cjs/commands/ListActionTypesCommand.js +18 -41
  19. package/dist-cjs/commands/ListPipelineExecutionsCommand.js +18 -41
  20. package/dist-cjs/commands/ListPipelinesCommand.js +18 -41
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  22. package/dist-cjs/commands/ListWebhooksCommand.js +18 -41
  23. package/dist-cjs/commands/PollForJobsCommand.js +18 -41
  24. package/dist-cjs/commands/PollForThirdPartyJobsCommand.js +18 -41
  25. package/dist-cjs/commands/PutActionRevisionCommand.js +18 -41
  26. package/dist-cjs/commands/PutApprovalResultCommand.js +18 -41
  27. package/dist-cjs/commands/PutJobFailureResultCommand.js +18 -41
  28. package/dist-cjs/commands/PutJobSuccessResultCommand.js +18 -41
  29. package/dist-cjs/commands/PutThirdPartyJobFailureResultCommand.js +18 -41
  30. package/dist-cjs/commands/PutThirdPartyJobSuccessResultCommand.js +18 -41
  31. package/dist-cjs/commands/PutWebhookCommand.js +18 -41
  32. package/dist-cjs/commands/RegisterWebhookWithThirdPartyCommand.js +18 -41
  33. package/dist-cjs/commands/RetryStageExecutionCommand.js +18 -41
  34. package/dist-cjs/commands/StartPipelineExecutionCommand.js +18 -41
  35. package/dist-cjs/commands/StopPipelineExecutionCommand.js +18 -41
  36. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  37. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  38. package/dist-cjs/commands/UpdateActionTypeCommand.js +18 -41
  39. package/dist-cjs/commands/UpdatePipelineCommand.js +18 -41
  40. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  41. package/dist-es/commands/AcknowledgeJobCommand.js +18 -41
  42. package/dist-es/commands/AcknowledgeThirdPartyJobCommand.js +18 -41
  43. package/dist-es/commands/CreateCustomActionTypeCommand.js +18 -41
  44. package/dist-es/commands/CreatePipelineCommand.js +18 -41
  45. package/dist-es/commands/DeleteCustomActionTypeCommand.js +18 -41
  46. package/dist-es/commands/DeletePipelineCommand.js +18 -41
  47. package/dist-es/commands/DeleteWebhookCommand.js +18 -41
  48. package/dist-es/commands/DeregisterWebhookWithThirdPartyCommand.js +18 -41
  49. package/dist-es/commands/DisableStageTransitionCommand.js +18 -41
  50. package/dist-es/commands/EnableStageTransitionCommand.js +18 -41
  51. package/dist-es/commands/GetActionTypeCommand.js +18 -41
  52. package/dist-es/commands/GetJobDetailsCommand.js +18 -41
  53. package/dist-es/commands/GetPipelineCommand.js +18 -41
  54. package/dist-es/commands/GetPipelineExecutionCommand.js +18 -41
  55. package/dist-es/commands/GetPipelineStateCommand.js +18 -41
  56. package/dist-es/commands/GetThirdPartyJobDetailsCommand.js +18 -41
  57. package/dist-es/commands/ListActionExecutionsCommand.js +18 -41
  58. package/dist-es/commands/ListActionTypesCommand.js +18 -41
  59. package/dist-es/commands/ListPipelineExecutionsCommand.js +18 -41
  60. package/dist-es/commands/ListPipelinesCommand.js +18 -41
  61. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  62. package/dist-es/commands/ListWebhooksCommand.js +18 -41
  63. package/dist-es/commands/PollForJobsCommand.js +18 -41
  64. package/dist-es/commands/PollForThirdPartyJobsCommand.js +18 -41
  65. package/dist-es/commands/PutActionRevisionCommand.js +18 -41
  66. package/dist-es/commands/PutApprovalResultCommand.js +18 -41
  67. package/dist-es/commands/PutJobFailureResultCommand.js +18 -41
  68. package/dist-es/commands/PutJobSuccessResultCommand.js +18 -41
  69. package/dist-es/commands/PutThirdPartyJobFailureResultCommand.js +18 -41
  70. package/dist-es/commands/PutThirdPartyJobSuccessResultCommand.js +18 -41
  71. package/dist-es/commands/PutWebhookCommand.js +18 -41
  72. package/dist-es/commands/RegisterWebhookWithThirdPartyCommand.js +18 -41
  73. package/dist-es/commands/RetryStageExecutionCommand.js +18 -41
  74. package/dist-es/commands/StartPipelineExecutionCommand.js +18 -41
  75. package/dist-es/commands/StopPipelineExecutionCommand.js +18 -41
  76. package/dist-es/commands/TagResourceCommand.js +18 -41
  77. package/dist-es/commands/UntagResourceCommand.js +18 -41
  78. package/dist-es/commands/UpdateActionTypeCommand.js +18 -41
  79. package/dist-es/commands/UpdatePipelineCommand.js +18 -41
  80. package/dist-es/endpoint/EndpointParameters.js +6 -0
  81. package/dist-types/commands/AcknowledgeJobCommand.d.ts +6 -21
  82. package/dist-types/commands/AcknowledgeThirdPartyJobCommand.d.ts +6 -21
  83. package/dist-types/commands/CreateCustomActionTypeCommand.d.ts +6 -21
  84. package/dist-types/commands/CreatePipelineCommand.d.ts +6 -21
  85. package/dist-types/commands/DeleteCustomActionTypeCommand.d.ts +6 -21
  86. package/dist-types/commands/DeletePipelineCommand.d.ts +6 -21
  87. package/dist-types/commands/DeleteWebhookCommand.d.ts +6 -21
  88. package/dist-types/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +6 -21
  89. package/dist-types/commands/DisableStageTransitionCommand.d.ts +6 -21
  90. package/dist-types/commands/EnableStageTransitionCommand.d.ts +6 -21
  91. package/dist-types/commands/GetActionTypeCommand.d.ts +6 -21
  92. package/dist-types/commands/GetJobDetailsCommand.d.ts +6 -21
  93. package/dist-types/commands/GetPipelineCommand.d.ts +6 -21
  94. package/dist-types/commands/GetPipelineExecutionCommand.d.ts +6 -21
  95. package/dist-types/commands/GetPipelineStateCommand.d.ts +6 -21
  96. package/dist-types/commands/GetThirdPartyJobDetailsCommand.d.ts +6 -21
  97. package/dist-types/commands/ListActionExecutionsCommand.d.ts +6 -21
  98. package/dist-types/commands/ListActionTypesCommand.d.ts +6 -21
  99. package/dist-types/commands/ListPipelineExecutionsCommand.d.ts +6 -21
  100. package/dist-types/commands/ListPipelinesCommand.d.ts +6 -21
  101. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  102. package/dist-types/commands/ListWebhooksCommand.d.ts +6 -21
  103. package/dist-types/commands/PollForJobsCommand.d.ts +6 -21
  104. package/dist-types/commands/PollForThirdPartyJobsCommand.d.ts +6 -21
  105. package/dist-types/commands/PutActionRevisionCommand.d.ts +6 -21
  106. package/dist-types/commands/PutApprovalResultCommand.d.ts +6 -21
  107. package/dist-types/commands/PutJobFailureResultCommand.d.ts +6 -21
  108. package/dist-types/commands/PutJobSuccessResultCommand.d.ts +6 -21
  109. package/dist-types/commands/PutThirdPartyJobFailureResultCommand.d.ts +6 -21
  110. package/dist-types/commands/PutThirdPartyJobSuccessResultCommand.d.ts +6 -21
  111. package/dist-types/commands/PutWebhookCommand.d.ts +6 -21
  112. package/dist-types/commands/RegisterWebhookWithThirdPartyCommand.d.ts +6 -21
  113. package/dist-types/commands/RetryStageExecutionCommand.d.ts +6 -21
  114. package/dist-types/commands/StartPipelineExecutionCommand.d.ts +6 -21
  115. package/dist-types/commands/StopPipelineExecutionCommand.d.ts +6 -21
  116. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  117. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  118. package/dist-types/commands/UpdateActionTypeCommand.d.ts +6 -21
  119. package/dist-types/commands/UpdatePipelineCommand.d.ts +6 -21
  120. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  121. package/dist-types/ts3.4/commands/AcknowledgeJobCommand.d.ts +14 -23
  122. package/dist-types/ts3.4/commands/AcknowledgeThirdPartyJobCommand.d.ts +12 -24
  123. package/dist-types/ts3.4/commands/CreateCustomActionTypeCommand.d.ts +12 -24
  124. package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +14 -23
  125. package/dist-types/ts3.4/commands/DeleteCustomActionTypeCommand.d.ts +12 -24
  126. package/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +14 -23
  127. package/dist-types/ts3.4/commands/DeleteWebhookCommand.d.ts +14 -23
  128. package/dist-types/ts3.4/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +12 -24
  129. package/dist-types/ts3.4/commands/DisableStageTransitionCommand.d.ts +12 -24
  130. package/dist-types/ts3.4/commands/EnableStageTransitionCommand.d.ts +12 -24
  131. package/dist-types/ts3.4/commands/GetActionTypeCommand.d.ts +14 -23
  132. package/dist-types/ts3.4/commands/GetJobDetailsCommand.d.ts +14 -23
  133. package/dist-types/ts3.4/commands/GetPipelineCommand.d.ts +14 -23
  134. package/dist-types/ts3.4/commands/GetPipelineExecutionCommand.d.ts +12 -24
  135. package/dist-types/ts3.4/commands/GetPipelineStateCommand.d.ts +14 -23
  136. package/dist-types/ts3.4/commands/GetThirdPartyJobDetailsCommand.d.ts +12 -24
  137. package/dist-types/ts3.4/commands/ListActionExecutionsCommand.d.ts +12 -24
  138. package/dist-types/ts3.4/commands/ListActionTypesCommand.d.ts +14 -23
  139. package/dist-types/ts3.4/commands/ListPipelineExecutionsCommand.d.ts +12 -24
  140. package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +14 -23
  141. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  142. package/dist-types/ts3.4/commands/ListWebhooksCommand.d.ts +14 -23
  143. package/dist-types/ts3.4/commands/PollForJobsCommand.d.ts +14 -23
  144. package/dist-types/ts3.4/commands/PollForThirdPartyJobsCommand.d.ts +12 -24
  145. package/dist-types/ts3.4/commands/PutActionRevisionCommand.d.ts +14 -23
  146. package/dist-types/ts3.4/commands/PutApprovalResultCommand.d.ts +14 -23
  147. package/dist-types/ts3.4/commands/PutJobFailureResultCommand.d.ts +14 -23
  148. package/dist-types/ts3.4/commands/PutJobSuccessResultCommand.d.ts +14 -23
  149. package/dist-types/ts3.4/commands/PutThirdPartyJobFailureResultCommand.d.ts +12 -24
  150. package/dist-types/ts3.4/commands/PutThirdPartyJobSuccessResultCommand.d.ts +12 -24
  151. package/dist-types/ts3.4/commands/PutWebhookCommand.d.ts +14 -23
  152. package/dist-types/ts3.4/commands/RegisterWebhookWithThirdPartyCommand.d.ts +12 -24
  153. package/dist-types/ts3.4/commands/RetryStageExecutionCommand.d.ts +14 -23
  154. package/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +12 -24
  155. package/dist-types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +12 -24
  156. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  157. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  158. package/dist-types/ts3.4/commands/UpdateActionTypeCommand.d.ts +14 -23
  159. package/dist-types/ts3.4/commands/UpdatePipelineCommand.d.ts +14 -23
  160. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  161. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StartPipelineExecutionCommand, se_StartPipelineExecutionCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StartPipelineExecutionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, StartPipelineExecutionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodePipelineClient";
26
- const commandName = "StartPipelineExecutionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodePipeline_20150709",
35
- operation: "StartPipelineExecution",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_StartPipelineExecutionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartPipelineExecutionCommand(output, context);
46
- }
7
+ export class StartPipelineExecutionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodePipeline_20150709", "StartPipelineExecution", {})
19
+ .n("CodePipelineClient", "StartPipelineExecutionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartPipelineExecutionCommand)
22
+ .de(de_StartPipelineExecutionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StopPipelineExecutionCommand, se_StopPipelineExecutionCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StopPipelineExecutionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, StopPipelineExecutionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodePipelineClient";
26
- const commandName = "StopPipelineExecutionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodePipeline_20150709",
35
- operation: "StopPipelineExecution",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_StopPipelineExecutionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StopPipelineExecutionCommand(output, context);
46
- }
7
+ export class StopPipelineExecutionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodePipeline_20150709", "StopPipelineExecution", {})
19
+ .n("CodePipelineClient", "StopPipelineExecutionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopPipelineExecutionCommand)
22
+ .de(de_StopPipelineExecutionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class TagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodePipelineClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodePipeline_20150709",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodePipeline_20150709", "TagResource", {})
19
+ .n("CodePipelineClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodePipelineClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodePipeline_20150709",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodePipeline_20150709", "UntagResource", {})
19
+ .n("CodePipelineClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateActionTypeCommand, se_UpdateActionTypeCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateActionTypeCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateActionTypeCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodePipelineClient";
26
- const commandName = "UpdateActionTypeCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodePipeline_20150709",
35
- operation: "UpdateActionType",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateActionTypeCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateActionTypeCommand(output, context);
46
- }
7
+ export class UpdateActionTypeCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodePipeline_20150709", "UpdateActionType", {})
19
+ .n("CodePipelineClient", "UpdateActionTypeCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateActionTypeCommand)
22
+ .de(de_UpdateActionTypeCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdatePipelineCommand, se_UpdatePipelineCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdatePipelineCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdatePipelineCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodePipelineClient";
26
- const commandName = "UpdatePipelineCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodePipeline_20150709",
35
- operation: "UpdatePipeline",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdatePipelineCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdatePipelineCommand(output, context);
46
- }
7
+ export class UpdatePipelineCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodePipeline_20150709", "UpdatePipeline", {})
19
+ .n("CodePipelineClient", "UpdatePipelineCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdatePipelineCommand)
22
+ .de(de_UpdatePipelineCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "codepipeline",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
4
  import { AcknowledgeJobInput, AcknowledgeJobOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AcknowledgeJobCommandInput extends AcknowledgeJobInput {
21
20
  */
22
21
  export interface AcknowledgeJobCommandOutput extends AcknowledgeJobOutput, __MetadataBearer {
23
22
  }
23
+ declare const AcknowledgeJobCommand_base: {
24
+ new (input: AcknowledgeJobCommandInput): import("@smithy/smithy-client").CommandImpl<AcknowledgeJobCommandInput, AcknowledgeJobCommandOutput, CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns information about a specified job and whether that job has been received by
@@ -62,23 +65,5 @@ export interface AcknowledgeJobCommandOutput extends AcknowledgeJobOutput, __Met
62
65
  * <p>Base exception class for all service exceptions from CodePipeline service.</p>
63
66
  *
64
67
  */
65
- export declare class AcknowledgeJobCommand extends $Command<AcknowledgeJobCommandInput, AcknowledgeJobCommandOutput, CodePipelineClientResolvedConfig> {
66
- readonly input: AcknowledgeJobCommandInput;
67
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
68
- /**
69
- * @public
70
- */
71
- constructor(input: AcknowledgeJobCommandInput);
72
- /**
73
- * @internal
74
- */
75
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AcknowledgeJobCommandInput, AcknowledgeJobCommandOutput>;
76
- /**
77
- * @internal
78
- */
79
- private serialize;
80
- /**
81
- * @internal
82
- */
83
- private deserialize;
68
+ export declare class AcknowledgeJobCommand extends AcknowledgeJobCommand_base {
84
69
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
4
  import { AcknowledgeThirdPartyJobInput, AcknowledgeThirdPartyJobOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AcknowledgeThirdPartyJobCommandInput extends AcknowledgeThirdPa
21
20
  */
22
21
  export interface AcknowledgeThirdPartyJobCommandOutput extends AcknowledgeThirdPartyJobOutput, __MetadataBearer {
23
22
  }
23
+ declare const AcknowledgeThirdPartyJobCommand_base: {
24
+ new (input: AcknowledgeThirdPartyJobCommandInput): import("@smithy/smithy-client").CommandImpl<AcknowledgeThirdPartyJobCommandInput, AcknowledgeThirdPartyJobCommandOutput, CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Confirms a job worker has received the specified job. Used for partner actions
@@ -66,23 +69,5 @@ export interface AcknowledgeThirdPartyJobCommandOutput extends AcknowledgeThirdP
66
69
  * <p>Base exception class for all service exceptions from CodePipeline service.</p>
67
70
  *
68
71
  */
69
- export declare class AcknowledgeThirdPartyJobCommand extends $Command<AcknowledgeThirdPartyJobCommandInput, AcknowledgeThirdPartyJobCommandOutput, CodePipelineClientResolvedConfig> {
70
- readonly input: AcknowledgeThirdPartyJobCommandInput;
71
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
72
- /**
73
- * @public
74
- */
75
- constructor(input: AcknowledgeThirdPartyJobCommandInput);
76
- /**
77
- * @internal
78
- */
79
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AcknowledgeThirdPartyJobCommandInput, AcknowledgeThirdPartyJobCommandOutput>;
80
- /**
81
- * @internal
82
- */
83
- private serialize;
84
- /**
85
- * @internal
86
- */
87
- private deserialize;
72
+ export declare class AcknowledgeThirdPartyJobCommand extends AcknowledgeThirdPartyJobCommand_base {
88
73
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
4
  import { CreateCustomActionTypeInput, CreateCustomActionTypeOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateCustomActionTypeCommandInput extends CreateCustomActionTy
21
20
  */
22
21
  export interface CreateCustomActionTypeCommandOutput extends CreateCustomActionTypeOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateCustomActionTypeCommand_base: {
24
+ new (input: CreateCustomActionTypeCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCustomActionTypeCommandInput, CreateCustomActionTypeCommandOutput, CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new custom action that can be used in all pipelines associated with the
@@ -139,23 +142,5 @@ export interface CreateCustomActionTypeCommandOutput extends CreateCustomActionT
139
142
  * <p>Base exception class for all service exceptions from CodePipeline service.</p>
140
143
  *
141
144
  */
142
- export declare class CreateCustomActionTypeCommand extends $Command<CreateCustomActionTypeCommandInput, CreateCustomActionTypeCommandOutput, CodePipelineClientResolvedConfig> {
143
- readonly input: CreateCustomActionTypeCommandInput;
144
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
145
- /**
146
- * @public
147
- */
148
- constructor(input: CreateCustomActionTypeCommandInput);
149
- /**
150
- * @internal
151
- */
152
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCustomActionTypeCommandInput, CreateCustomActionTypeCommandOutput>;
153
- /**
154
- * @internal
155
- */
156
- private serialize;
157
- /**
158
- * @internal
159
- */
160
- private deserialize;
145
+ export declare class CreateCustomActionTypeCommand extends CreateCustomActionTypeCommand_base {
161
146
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
4
  import { CreatePipelineInput, CreatePipelineOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreatePipelineCommandInput extends CreatePipelineInput {
21
20
  */
22
21
  export interface CreatePipelineCommandOutput extends CreatePipelineOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreatePipelineCommand_base: {
24
+ new (input: CreatePipelineCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePipelineCommandInput, CreatePipelineCommandOutput, CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a pipeline.</p>
@@ -278,23 +281,5 @@ export interface CreatePipelineCommandOutput extends CreatePipelineOutput, __Met
278
281
  * <p>Base exception class for all service exceptions from CodePipeline service.</p>
279
282
  *
280
283
  */
281
- export declare class CreatePipelineCommand extends $Command<CreatePipelineCommandInput, CreatePipelineCommandOutput, CodePipelineClientResolvedConfig> {
282
- readonly input: CreatePipelineCommandInput;
283
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
284
- /**
285
- * @public
286
- */
287
- constructor(input: CreatePipelineCommandInput);
288
- /**
289
- * @internal
290
- */
291
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePipelineCommandInput, CreatePipelineCommandOutput>;
292
- /**
293
- * @internal
294
- */
295
- private serialize;
296
- /**
297
- * @internal
298
- */
299
- private deserialize;
284
+ export declare class CreatePipelineCommand extends CreatePipelineCommand_base {
300
285
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
4
  import { DeleteCustomActionTypeInput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteCustomActionTypeCommandInput extends DeleteCustomActionTy
21
20
  */
22
21
  export interface DeleteCustomActionTypeCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteCustomActionTypeCommand_base: {
24
+ new (input: DeleteCustomActionTypeCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCustomActionTypeCommandInput, DeleteCustomActionTypeCommandOutput, CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Marks a custom action as deleted. <code>PollForJobs</code> for the custom action
@@ -65,23 +68,5 @@ export interface DeleteCustomActionTypeCommandOutput extends __MetadataBearer {
65
68
  * <p>Base exception class for all service exceptions from CodePipeline service.</p>
66
69
  *
67
70
  */
68
- export declare class DeleteCustomActionTypeCommand extends $Command<DeleteCustomActionTypeCommandInput, DeleteCustomActionTypeCommandOutput, CodePipelineClientResolvedConfig> {
69
- readonly input: DeleteCustomActionTypeCommandInput;
70
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
- /**
72
- * @public
73
- */
74
- constructor(input: DeleteCustomActionTypeCommandInput);
75
- /**
76
- * @internal
77
- */
78
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCustomActionTypeCommandInput, DeleteCustomActionTypeCommandOutput>;
79
- /**
80
- * @internal
81
- */
82
- private serialize;
83
- /**
84
- * @internal
85
- */
86
- private deserialize;
71
+ export declare class DeleteCustomActionTypeCommand extends DeleteCustomActionTypeCommand_base {
87
72
  }