@aws-sdk/client-codepipeline 3.477.0 → 3.481.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 (185) 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-cjs/pagination/ListActionExecutionsPaginator.js +2 -24
  42. package/dist-cjs/pagination/ListActionTypesPaginator.js +2 -23
  43. package/dist-cjs/pagination/ListPipelineExecutionsPaginator.js +2 -24
  44. package/dist-cjs/pagination/ListPipelinesPaginator.js +2 -24
  45. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -24
  46. package/dist-cjs/pagination/ListWebhooksPaginator.js +2 -24
  47. package/dist-es/commands/AcknowledgeJobCommand.js +18 -41
  48. package/dist-es/commands/AcknowledgeThirdPartyJobCommand.js +18 -41
  49. package/dist-es/commands/CreateCustomActionTypeCommand.js +18 -41
  50. package/dist-es/commands/CreatePipelineCommand.js +18 -41
  51. package/dist-es/commands/DeleteCustomActionTypeCommand.js +18 -41
  52. package/dist-es/commands/DeletePipelineCommand.js +18 -41
  53. package/dist-es/commands/DeleteWebhookCommand.js +18 -41
  54. package/dist-es/commands/DeregisterWebhookWithThirdPartyCommand.js +18 -41
  55. package/dist-es/commands/DisableStageTransitionCommand.js +18 -41
  56. package/dist-es/commands/EnableStageTransitionCommand.js +18 -41
  57. package/dist-es/commands/GetActionTypeCommand.js +18 -41
  58. package/dist-es/commands/GetJobDetailsCommand.js +18 -41
  59. package/dist-es/commands/GetPipelineCommand.js +18 -41
  60. package/dist-es/commands/GetPipelineExecutionCommand.js +18 -41
  61. package/dist-es/commands/GetPipelineStateCommand.js +18 -41
  62. package/dist-es/commands/GetThirdPartyJobDetailsCommand.js +18 -41
  63. package/dist-es/commands/ListActionExecutionsCommand.js +18 -41
  64. package/dist-es/commands/ListActionTypesCommand.js +18 -41
  65. package/dist-es/commands/ListPipelineExecutionsCommand.js +18 -41
  66. package/dist-es/commands/ListPipelinesCommand.js +18 -41
  67. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  68. package/dist-es/commands/ListWebhooksCommand.js +18 -41
  69. package/dist-es/commands/PollForJobsCommand.js +18 -41
  70. package/dist-es/commands/PollForThirdPartyJobsCommand.js +18 -41
  71. package/dist-es/commands/PutActionRevisionCommand.js +18 -41
  72. package/dist-es/commands/PutApprovalResultCommand.js +18 -41
  73. package/dist-es/commands/PutJobFailureResultCommand.js +18 -41
  74. package/dist-es/commands/PutJobSuccessResultCommand.js +18 -41
  75. package/dist-es/commands/PutThirdPartyJobFailureResultCommand.js +18 -41
  76. package/dist-es/commands/PutThirdPartyJobSuccessResultCommand.js +18 -41
  77. package/dist-es/commands/PutWebhookCommand.js +18 -41
  78. package/dist-es/commands/RegisterWebhookWithThirdPartyCommand.js +18 -41
  79. package/dist-es/commands/RetryStageExecutionCommand.js +18 -41
  80. package/dist-es/commands/StartPipelineExecutionCommand.js +18 -41
  81. package/dist-es/commands/StopPipelineExecutionCommand.js +18 -41
  82. package/dist-es/commands/TagResourceCommand.js +18 -41
  83. package/dist-es/commands/UntagResourceCommand.js +18 -41
  84. package/dist-es/commands/UpdateActionTypeCommand.js +18 -41
  85. package/dist-es/commands/UpdatePipelineCommand.js +18 -41
  86. package/dist-es/endpoint/EndpointParameters.js +6 -0
  87. package/dist-es/pagination/ListActionExecutionsPaginator.js +2 -23
  88. package/dist-es/pagination/ListActionTypesPaginator.js +2 -22
  89. package/dist-es/pagination/ListPipelineExecutionsPaginator.js +2 -23
  90. package/dist-es/pagination/ListPipelinesPaginator.js +2 -23
  91. package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -23
  92. package/dist-es/pagination/ListWebhooksPaginator.js +2 -23
  93. package/dist-types/commands/AcknowledgeJobCommand.d.ts +6 -21
  94. package/dist-types/commands/AcknowledgeThirdPartyJobCommand.d.ts +6 -21
  95. package/dist-types/commands/CreateCustomActionTypeCommand.d.ts +6 -21
  96. package/dist-types/commands/CreatePipelineCommand.d.ts +6 -21
  97. package/dist-types/commands/DeleteCustomActionTypeCommand.d.ts +6 -21
  98. package/dist-types/commands/DeletePipelineCommand.d.ts +6 -21
  99. package/dist-types/commands/DeleteWebhookCommand.d.ts +6 -21
  100. package/dist-types/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +6 -21
  101. package/dist-types/commands/DisableStageTransitionCommand.d.ts +6 -21
  102. package/dist-types/commands/EnableStageTransitionCommand.d.ts +6 -21
  103. package/dist-types/commands/GetActionTypeCommand.d.ts +6 -21
  104. package/dist-types/commands/GetJobDetailsCommand.d.ts +6 -21
  105. package/dist-types/commands/GetPipelineCommand.d.ts +6 -21
  106. package/dist-types/commands/GetPipelineExecutionCommand.d.ts +6 -21
  107. package/dist-types/commands/GetPipelineStateCommand.d.ts +6 -21
  108. package/dist-types/commands/GetThirdPartyJobDetailsCommand.d.ts +6 -21
  109. package/dist-types/commands/ListActionExecutionsCommand.d.ts +6 -21
  110. package/dist-types/commands/ListActionTypesCommand.d.ts +6 -21
  111. package/dist-types/commands/ListPipelineExecutionsCommand.d.ts +6 -21
  112. package/dist-types/commands/ListPipelinesCommand.d.ts +6 -21
  113. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  114. package/dist-types/commands/ListWebhooksCommand.d.ts +6 -21
  115. package/dist-types/commands/PollForJobsCommand.d.ts +6 -21
  116. package/dist-types/commands/PollForThirdPartyJobsCommand.d.ts +6 -21
  117. package/dist-types/commands/PutActionRevisionCommand.d.ts +6 -21
  118. package/dist-types/commands/PutApprovalResultCommand.d.ts +6 -21
  119. package/dist-types/commands/PutJobFailureResultCommand.d.ts +6 -21
  120. package/dist-types/commands/PutJobSuccessResultCommand.d.ts +6 -21
  121. package/dist-types/commands/PutThirdPartyJobFailureResultCommand.d.ts +6 -21
  122. package/dist-types/commands/PutThirdPartyJobSuccessResultCommand.d.ts +6 -21
  123. package/dist-types/commands/PutWebhookCommand.d.ts +6 -21
  124. package/dist-types/commands/RegisterWebhookWithThirdPartyCommand.d.ts +6 -21
  125. package/dist-types/commands/RetryStageExecutionCommand.d.ts +6 -21
  126. package/dist-types/commands/StartPipelineExecutionCommand.d.ts +6 -21
  127. package/dist-types/commands/StopPipelineExecutionCommand.d.ts +6 -21
  128. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  129. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  130. package/dist-types/commands/UpdateActionTypeCommand.d.ts +6 -21
  131. package/dist-types/commands/UpdatePipelineCommand.d.ts +6 -21
  132. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  133. package/dist-types/pagination/ListActionExecutionsPaginator.d.ts +1 -1
  134. package/dist-types/pagination/ListActionTypesPaginator.d.ts +1 -1
  135. package/dist-types/pagination/ListPipelineExecutionsPaginator.d.ts +1 -1
  136. package/dist-types/pagination/ListPipelinesPaginator.d.ts +1 -1
  137. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  138. package/dist-types/pagination/ListWebhooksPaginator.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/AcknowledgeJobCommand.d.ts +14 -23
  140. package/dist-types/ts3.4/commands/AcknowledgeThirdPartyJobCommand.d.ts +12 -24
  141. package/dist-types/ts3.4/commands/CreateCustomActionTypeCommand.d.ts +12 -24
  142. package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +14 -23
  143. package/dist-types/ts3.4/commands/DeleteCustomActionTypeCommand.d.ts +12 -24
  144. package/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +14 -23
  145. package/dist-types/ts3.4/commands/DeleteWebhookCommand.d.ts +14 -23
  146. package/dist-types/ts3.4/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +12 -24
  147. package/dist-types/ts3.4/commands/DisableStageTransitionCommand.d.ts +12 -24
  148. package/dist-types/ts3.4/commands/EnableStageTransitionCommand.d.ts +12 -24
  149. package/dist-types/ts3.4/commands/GetActionTypeCommand.d.ts +14 -23
  150. package/dist-types/ts3.4/commands/GetJobDetailsCommand.d.ts +14 -23
  151. package/dist-types/ts3.4/commands/GetPipelineCommand.d.ts +14 -23
  152. package/dist-types/ts3.4/commands/GetPipelineExecutionCommand.d.ts +12 -24
  153. package/dist-types/ts3.4/commands/GetPipelineStateCommand.d.ts +14 -23
  154. package/dist-types/ts3.4/commands/GetThirdPartyJobDetailsCommand.d.ts +12 -24
  155. package/dist-types/ts3.4/commands/ListActionExecutionsCommand.d.ts +12 -24
  156. package/dist-types/ts3.4/commands/ListActionTypesCommand.d.ts +14 -23
  157. package/dist-types/ts3.4/commands/ListPipelineExecutionsCommand.d.ts +12 -24
  158. package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +14 -23
  159. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  160. package/dist-types/ts3.4/commands/ListWebhooksCommand.d.ts +14 -23
  161. package/dist-types/ts3.4/commands/PollForJobsCommand.d.ts +14 -23
  162. package/dist-types/ts3.4/commands/PollForThirdPartyJobsCommand.d.ts +12 -24
  163. package/dist-types/ts3.4/commands/PutActionRevisionCommand.d.ts +14 -23
  164. package/dist-types/ts3.4/commands/PutApprovalResultCommand.d.ts +14 -23
  165. package/dist-types/ts3.4/commands/PutJobFailureResultCommand.d.ts +14 -23
  166. package/dist-types/ts3.4/commands/PutJobSuccessResultCommand.d.ts +14 -23
  167. package/dist-types/ts3.4/commands/PutThirdPartyJobFailureResultCommand.d.ts +12 -24
  168. package/dist-types/ts3.4/commands/PutThirdPartyJobSuccessResultCommand.d.ts +12 -24
  169. package/dist-types/ts3.4/commands/PutWebhookCommand.d.ts +14 -23
  170. package/dist-types/ts3.4/commands/RegisterWebhookWithThirdPartyCommand.d.ts +12 -24
  171. package/dist-types/ts3.4/commands/RetryStageExecutionCommand.d.ts +14 -23
  172. package/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +12 -24
  173. package/dist-types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +12 -24
  174. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  175. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/UpdateActionTypeCommand.d.ts +14 -23
  177. package/dist-types/ts3.4/commands/UpdatePipelineCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  179. package/dist-types/ts3.4/pagination/ListActionExecutionsPaginator.d.ts +3 -3
  180. package/dist-types/ts3.4/pagination/ListActionTypesPaginator.d.ts +3 -3
  181. package/dist-types/ts3.4/pagination/ListPipelineExecutionsPaginator.d.ts +3 -3
  182. package/dist-types/ts3.4/pagination/ListPipelinesPaginator.d.ts +3 -3
  183. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
  184. package/dist-types/ts3.4/pagination/ListWebhooksPaginator.d.ts +3 -3
  185. package/package.json +11 -10
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UntagResourceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodePipelineClient";
29
- const commandName = "UntagResourceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CodePipeline_20150709",
38
- operation: "UntagResource",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UntagResourceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UntagResourceCommand)(output, context);
49
- }
10
+ class UntagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CodePipeline_20150709", "UntagResource", {})
22
+ .n("CodePipelineClient", "UntagResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UntagResourceCommand)
25
+ .de(Aws_json1_1_1.de_UntagResourceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateActionTypeCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateActionTypeCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodePipelineClient";
29
- const commandName = "UpdateActionTypeCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CodePipeline_20150709",
38
- operation: "UpdateActionType",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateActionTypeCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateActionTypeCommand)(output, context);
49
- }
10
+ class UpdateActionTypeCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CodePipeline_20150709", "UpdateActionType", {})
22
+ .n("CodePipelineClient", "UpdateActionTypeCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateActionTypeCommand)
25
+ .de(Aws_json1_1_1.de_UpdateActionTypeCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateActionTypeCommand = UpdateActionTypeCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdatePipelineCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdatePipelineCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodePipelineClient";
29
- const commandName = "UpdatePipelineCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CodePipeline_20150709",
38
- operation: "UpdatePipeline",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdatePipelineCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdatePipelineCommand)(output, context);
49
- }
10
+ class UpdatePipelineCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CodePipeline_20150709", "UpdatePipeline", {})
22
+ .n("CodePipelineClient", "UpdatePipelineCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdatePipelineCommand)
25
+ .de(Aws_json1_1_1.de_UpdatePipelineCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdatePipelineCommand = UpdatePipelineCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListActionExecutions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CodePipelineClient_1 = require("../CodePipelineClient");
5
6
  const ListActionExecutionsCommand_1 = require("../commands/ListActionExecutionsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListActionExecutionsCommand_1.ListActionExecutionsCommand(input), ...args);
8
- };
9
- async function* paginateListActionExecutions(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof CodePipelineClient_1.CodePipelineClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CodePipeline | CodePipelineClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListActionExecutions = paginateListActionExecutions;
7
+ exports.paginateListActionExecutions = (0, core_1.createPaginator)(CodePipelineClient_1.CodePipelineClient, ListActionExecutionsCommand_1.ListActionExecutionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListActionTypes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CodePipelineClient_1 = require("../CodePipelineClient");
5
6
  const ListActionTypesCommand_1 = require("../commands/ListActionTypesCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListActionTypesCommand_1.ListActionTypesCommand(input), ...args);
8
- };
9
- async function* paginateListActionTypes(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- if (config.client instanceof CodePipelineClient_1.CodePipelineClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected CodePipeline | CodePipelineClient");
20
- }
21
- yield page;
22
- const prevToken = token;
23
- token = page.nextToken;
24
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
25
- }
26
- return undefined;
27
- }
28
- exports.paginateListActionTypes = paginateListActionTypes;
7
+ exports.paginateListActionTypes = (0, core_1.createPaginator)(CodePipelineClient_1.CodePipelineClient, ListActionTypesCommand_1.ListActionTypesCommand, "nextToken", "nextToken", "");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListPipelineExecutions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CodePipelineClient_1 = require("../CodePipelineClient");
5
6
  const ListPipelineExecutionsCommand_1 = require("../commands/ListPipelineExecutionsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListPipelineExecutionsCommand_1.ListPipelineExecutionsCommand(input), ...args);
8
- };
9
- async function* paginateListPipelineExecutions(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof CodePipelineClient_1.CodePipelineClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CodePipeline | CodePipelineClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListPipelineExecutions = paginateListPipelineExecutions;
7
+ exports.paginateListPipelineExecutions = (0, core_1.createPaginator)(CodePipelineClient_1.CodePipelineClient, ListPipelineExecutionsCommand_1.ListPipelineExecutionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListPipelines = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CodePipelineClient_1 = require("../CodePipelineClient");
5
6
  const ListPipelinesCommand_1 = require("../commands/ListPipelinesCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListPipelinesCommand_1.ListPipelinesCommand(input), ...args);
8
- };
9
- async function* paginateListPipelines(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof CodePipelineClient_1.CodePipelineClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CodePipeline | CodePipelineClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListPipelines = paginateListPipelines;
7
+ exports.paginateListPipelines = (0, core_1.createPaginator)(CodePipelineClient_1.CodePipelineClient, ListPipelinesCommand_1.ListPipelinesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTagsForResource = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CodePipelineClient_1 = require("../CodePipelineClient");
5
6
  const ListTagsForResourceCommand_1 = require("../commands/ListTagsForResourceCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListTagsForResourceCommand_1.ListTagsForResourceCommand(input), ...args);
8
- };
9
- async function* paginateListTagsForResource(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof CodePipelineClient_1.CodePipelineClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CodePipeline | CodePipelineClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListTagsForResource = paginateListTagsForResource;
7
+ exports.paginateListTagsForResource = (0, core_1.createPaginator)(CodePipelineClient_1.CodePipelineClient, ListTagsForResourceCommand_1.ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListWebhooks = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CodePipelineClient_1 = require("../CodePipelineClient");
5
6
  const ListWebhooksCommand_1 = require("../commands/ListWebhooksCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListWebhooksCommand_1.ListWebhooksCommand(input), ...args);
8
- };
9
- async function* paginateListWebhooks(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof CodePipelineClient_1.CodePipelineClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CodePipeline | CodePipelineClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListWebhooks = paginateListWebhooks;
7
+ exports.paginateListWebhooks = (0, core_1.createPaginator)(CodePipelineClient_1.CodePipelineClient, ListWebhooksCommand_1.ListWebhooksCommand, "NextToken", "NextToken", "MaxResults");
@@ -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_AcknowledgeJobCommand, se_AcknowledgeJobCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class AcknowledgeJobCommand 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, AcknowledgeJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodePipelineClient";
26
- const commandName = "AcknowledgeJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodePipeline_20150709",
35
- operation: "AcknowledgeJob",
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_AcknowledgeJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AcknowledgeJobCommand(output, context);
46
- }
7
+ export class AcknowledgeJobCommand 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", "AcknowledgeJob", {})
19
+ .n("CodePipelineClient", "AcknowledgeJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AcknowledgeJobCommand)
22
+ .de(de_AcknowledgeJobCommand)
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_AcknowledgeThirdPartyJobCommand, se_AcknowledgeThirdPartyJobCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class AcknowledgeThirdPartyJobCommand 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, AcknowledgeThirdPartyJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodePipelineClient";
26
- const commandName = "AcknowledgeThirdPartyJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodePipeline_20150709",
35
- operation: "AcknowledgeThirdPartyJob",
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_AcknowledgeThirdPartyJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AcknowledgeThirdPartyJobCommand(output, context);
46
- }
7
+ export class AcknowledgeThirdPartyJobCommand 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", "AcknowledgeThirdPartyJob", {})
19
+ .n("CodePipelineClient", "AcknowledgeThirdPartyJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AcknowledgeThirdPartyJobCommand)
22
+ .de(de_AcknowledgeThirdPartyJobCommand)
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_CreateCustomActionTypeCommand, se_CreateCustomActionTypeCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class CreateCustomActionTypeCommand 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, CreateCustomActionTypeCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodePipelineClient";
26
- const commandName = "CreateCustomActionTypeCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodePipeline_20150709",
35
- operation: "CreateCustomActionType",
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_CreateCustomActionTypeCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateCustomActionTypeCommand(output, context);
46
- }
7
+ export class CreateCustomActionTypeCommand 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", "CreateCustomActionType", {})
19
+ .n("CodePipelineClient", "CreateCustomActionTypeCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateCustomActionTypeCommand)
22
+ .de(de_CreateCustomActionTypeCommand)
23
+ .build() {
47
24
  }