@aws-sdk/client-codebuild 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 (233) hide show
  1. package/dist-cjs/commands/BatchDeleteBuildsCommand.js +18 -41
  2. package/dist-cjs/commands/BatchGetBuildBatchesCommand.js +18 -41
  3. package/dist-cjs/commands/BatchGetBuildsCommand.js +18 -41
  4. package/dist-cjs/commands/BatchGetProjectsCommand.js +18 -41
  5. package/dist-cjs/commands/BatchGetReportGroupsCommand.js +18 -41
  6. package/dist-cjs/commands/BatchGetReportsCommand.js +18 -41
  7. package/dist-cjs/commands/CreateProjectCommand.js +18 -41
  8. package/dist-cjs/commands/CreateReportGroupCommand.js +18 -41
  9. package/dist-cjs/commands/CreateWebhookCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteBuildBatchCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteProjectCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteReportCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteReportGroupCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteSourceCredentialsCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteWebhookCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeCodeCoveragesCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeTestCasesCommand.js +18 -41
  19. package/dist-cjs/commands/GetReportGroupTrendCommand.js +18 -41
  20. package/dist-cjs/commands/GetResourcePolicyCommand.js +18 -41
  21. package/dist-cjs/commands/ImportSourceCredentialsCommand.js +18 -41
  22. package/dist-cjs/commands/InvalidateProjectCacheCommand.js +18 -41
  23. package/dist-cjs/commands/ListBuildBatchesCommand.js +18 -41
  24. package/dist-cjs/commands/ListBuildBatchesForProjectCommand.js +18 -41
  25. package/dist-cjs/commands/ListBuildsCommand.js +18 -41
  26. package/dist-cjs/commands/ListBuildsForProjectCommand.js +18 -41
  27. package/dist-cjs/commands/ListCuratedEnvironmentImagesCommand.js +18 -41
  28. package/dist-cjs/commands/ListProjectsCommand.js +18 -41
  29. package/dist-cjs/commands/ListReportGroupsCommand.js +18 -41
  30. package/dist-cjs/commands/ListReportsCommand.js +18 -41
  31. package/dist-cjs/commands/ListReportsForReportGroupCommand.js +18 -41
  32. package/dist-cjs/commands/ListSharedProjectsCommand.js +18 -41
  33. package/dist-cjs/commands/ListSharedReportGroupsCommand.js +18 -41
  34. package/dist-cjs/commands/ListSourceCredentialsCommand.js +18 -41
  35. package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
  36. package/dist-cjs/commands/RetryBuildBatchCommand.js +18 -41
  37. package/dist-cjs/commands/RetryBuildCommand.js +18 -41
  38. package/dist-cjs/commands/StartBuildBatchCommand.js +18 -41
  39. package/dist-cjs/commands/StartBuildCommand.js +18 -41
  40. package/dist-cjs/commands/StopBuildBatchCommand.js +18 -41
  41. package/dist-cjs/commands/StopBuildCommand.js +18 -41
  42. package/dist-cjs/commands/UpdateProjectCommand.js +18 -41
  43. package/dist-cjs/commands/UpdateProjectVisibilityCommand.js +18 -41
  44. package/dist-cjs/commands/UpdateReportGroupCommand.js +18 -41
  45. package/dist-cjs/commands/UpdateWebhookCommand.js +18 -41
  46. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  47. package/dist-cjs/pagination/DescribeCodeCoveragesPaginator.js +2 -24
  48. package/dist-cjs/pagination/DescribeTestCasesPaginator.js +2 -24
  49. package/dist-cjs/pagination/ListBuildBatchesForProjectPaginator.js +2 -24
  50. package/dist-cjs/pagination/ListBuildBatchesPaginator.js +2 -24
  51. package/dist-cjs/pagination/ListBuildsForProjectPaginator.js +2 -23
  52. package/dist-cjs/pagination/ListBuildsPaginator.js +2 -23
  53. package/dist-cjs/pagination/ListProjectsPaginator.js +2 -23
  54. package/dist-cjs/pagination/ListReportGroupsPaginator.js +2 -24
  55. package/dist-cjs/pagination/ListReportsForReportGroupPaginator.js +2 -24
  56. package/dist-cjs/pagination/ListReportsPaginator.js +2 -24
  57. package/dist-cjs/pagination/ListSharedProjectsPaginator.js +2 -24
  58. package/dist-cjs/pagination/ListSharedReportGroupsPaginator.js +2 -24
  59. package/dist-es/commands/BatchDeleteBuildsCommand.js +18 -41
  60. package/dist-es/commands/BatchGetBuildBatchesCommand.js +18 -41
  61. package/dist-es/commands/BatchGetBuildsCommand.js +18 -41
  62. package/dist-es/commands/BatchGetProjectsCommand.js +18 -41
  63. package/dist-es/commands/BatchGetReportGroupsCommand.js +18 -41
  64. package/dist-es/commands/BatchGetReportsCommand.js +18 -41
  65. package/dist-es/commands/CreateProjectCommand.js +18 -41
  66. package/dist-es/commands/CreateReportGroupCommand.js +18 -41
  67. package/dist-es/commands/CreateWebhookCommand.js +18 -41
  68. package/dist-es/commands/DeleteBuildBatchCommand.js +18 -41
  69. package/dist-es/commands/DeleteProjectCommand.js +18 -41
  70. package/dist-es/commands/DeleteReportCommand.js +18 -41
  71. package/dist-es/commands/DeleteReportGroupCommand.js +18 -41
  72. package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
  73. package/dist-es/commands/DeleteSourceCredentialsCommand.js +18 -41
  74. package/dist-es/commands/DeleteWebhookCommand.js +18 -41
  75. package/dist-es/commands/DescribeCodeCoveragesCommand.js +18 -41
  76. package/dist-es/commands/DescribeTestCasesCommand.js +18 -41
  77. package/dist-es/commands/GetReportGroupTrendCommand.js +18 -41
  78. package/dist-es/commands/GetResourcePolicyCommand.js +18 -41
  79. package/dist-es/commands/ImportSourceCredentialsCommand.js +18 -41
  80. package/dist-es/commands/InvalidateProjectCacheCommand.js +18 -41
  81. package/dist-es/commands/ListBuildBatchesCommand.js +18 -41
  82. package/dist-es/commands/ListBuildBatchesForProjectCommand.js +18 -41
  83. package/dist-es/commands/ListBuildsCommand.js +18 -41
  84. package/dist-es/commands/ListBuildsForProjectCommand.js +18 -41
  85. package/dist-es/commands/ListCuratedEnvironmentImagesCommand.js +18 -41
  86. package/dist-es/commands/ListProjectsCommand.js +18 -41
  87. package/dist-es/commands/ListReportGroupsCommand.js +18 -41
  88. package/dist-es/commands/ListReportsCommand.js +18 -41
  89. package/dist-es/commands/ListReportsForReportGroupCommand.js +18 -41
  90. package/dist-es/commands/ListSharedProjectsCommand.js +18 -41
  91. package/dist-es/commands/ListSharedReportGroupsCommand.js +18 -41
  92. package/dist-es/commands/ListSourceCredentialsCommand.js +18 -41
  93. package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
  94. package/dist-es/commands/RetryBuildBatchCommand.js +18 -41
  95. package/dist-es/commands/RetryBuildCommand.js +18 -41
  96. package/dist-es/commands/StartBuildBatchCommand.js +18 -41
  97. package/dist-es/commands/StartBuildCommand.js +18 -41
  98. package/dist-es/commands/StopBuildBatchCommand.js +18 -41
  99. package/dist-es/commands/StopBuildCommand.js +18 -41
  100. package/dist-es/commands/UpdateProjectCommand.js +18 -41
  101. package/dist-es/commands/UpdateProjectVisibilityCommand.js +18 -41
  102. package/dist-es/commands/UpdateReportGroupCommand.js +18 -41
  103. package/dist-es/commands/UpdateWebhookCommand.js +18 -41
  104. package/dist-es/endpoint/EndpointParameters.js +6 -0
  105. package/dist-es/pagination/DescribeCodeCoveragesPaginator.js +2 -23
  106. package/dist-es/pagination/DescribeTestCasesPaginator.js +2 -23
  107. package/dist-es/pagination/ListBuildBatchesForProjectPaginator.js +2 -23
  108. package/dist-es/pagination/ListBuildBatchesPaginator.js +2 -23
  109. package/dist-es/pagination/ListBuildsForProjectPaginator.js +2 -22
  110. package/dist-es/pagination/ListBuildsPaginator.js +2 -22
  111. package/dist-es/pagination/ListProjectsPaginator.js +2 -22
  112. package/dist-es/pagination/ListReportGroupsPaginator.js +2 -23
  113. package/dist-es/pagination/ListReportsForReportGroupPaginator.js +2 -23
  114. package/dist-es/pagination/ListReportsPaginator.js +2 -23
  115. package/dist-es/pagination/ListSharedProjectsPaginator.js +2 -23
  116. package/dist-es/pagination/ListSharedReportGroupsPaginator.js +2 -23
  117. package/dist-types/commands/BatchDeleteBuildsCommand.d.ts +6 -21
  118. package/dist-types/commands/BatchGetBuildBatchesCommand.d.ts +6 -21
  119. package/dist-types/commands/BatchGetBuildsCommand.d.ts +6 -21
  120. package/dist-types/commands/BatchGetProjectsCommand.d.ts +6 -21
  121. package/dist-types/commands/BatchGetReportGroupsCommand.d.ts +6 -21
  122. package/dist-types/commands/BatchGetReportsCommand.d.ts +6 -21
  123. package/dist-types/commands/CreateProjectCommand.d.ts +6 -21
  124. package/dist-types/commands/CreateReportGroupCommand.d.ts +6 -21
  125. package/dist-types/commands/CreateWebhookCommand.d.ts +6 -21
  126. package/dist-types/commands/DeleteBuildBatchCommand.d.ts +6 -21
  127. package/dist-types/commands/DeleteProjectCommand.d.ts +6 -21
  128. package/dist-types/commands/DeleteReportCommand.d.ts +6 -21
  129. package/dist-types/commands/DeleteReportGroupCommand.d.ts +6 -21
  130. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
  131. package/dist-types/commands/DeleteSourceCredentialsCommand.d.ts +6 -21
  132. package/dist-types/commands/DeleteWebhookCommand.d.ts +6 -21
  133. package/dist-types/commands/DescribeCodeCoveragesCommand.d.ts +6 -21
  134. package/dist-types/commands/DescribeTestCasesCommand.d.ts +6 -21
  135. package/dist-types/commands/GetReportGroupTrendCommand.d.ts +6 -21
  136. package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -21
  137. package/dist-types/commands/ImportSourceCredentialsCommand.d.ts +6 -21
  138. package/dist-types/commands/InvalidateProjectCacheCommand.d.ts +6 -21
  139. package/dist-types/commands/ListBuildBatchesCommand.d.ts +6 -21
  140. package/dist-types/commands/ListBuildBatchesForProjectCommand.d.ts +6 -21
  141. package/dist-types/commands/ListBuildsCommand.d.ts +6 -21
  142. package/dist-types/commands/ListBuildsForProjectCommand.d.ts +6 -21
  143. package/dist-types/commands/ListCuratedEnvironmentImagesCommand.d.ts +6 -21
  144. package/dist-types/commands/ListProjectsCommand.d.ts +6 -21
  145. package/dist-types/commands/ListReportGroupsCommand.d.ts +6 -21
  146. package/dist-types/commands/ListReportsCommand.d.ts +6 -21
  147. package/dist-types/commands/ListReportsForReportGroupCommand.d.ts +6 -21
  148. package/dist-types/commands/ListSharedProjectsCommand.d.ts +6 -21
  149. package/dist-types/commands/ListSharedReportGroupsCommand.d.ts +6 -21
  150. package/dist-types/commands/ListSourceCredentialsCommand.d.ts +6 -21
  151. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
  152. package/dist-types/commands/RetryBuildBatchCommand.d.ts +6 -21
  153. package/dist-types/commands/RetryBuildCommand.d.ts +6 -21
  154. package/dist-types/commands/StartBuildBatchCommand.d.ts +6 -21
  155. package/dist-types/commands/StartBuildCommand.d.ts +6 -21
  156. package/dist-types/commands/StopBuildBatchCommand.d.ts +6 -21
  157. package/dist-types/commands/StopBuildCommand.d.ts +6 -21
  158. package/dist-types/commands/UpdateProjectCommand.d.ts +6 -21
  159. package/dist-types/commands/UpdateProjectVisibilityCommand.d.ts +6 -21
  160. package/dist-types/commands/UpdateReportGroupCommand.d.ts +6 -21
  161. package/dist-types/commands/UpdateWebhookCommand.d.ts +6 -21
  162. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  163. package/dist-types/pagination/DescribeCodeCoveragesPaginator.d.ts +1 -1
  164. package/dist-types/pagination/DescribeTestCasesPaginator.d.ts +1 -1
  165. package/dist-types/pagination/ListBuildBatchesForProjectPaginator.d.ts +1 -1
  166. package/dist-types/pagination/ListBuildBatchesPaginator.d.ts +1 -1
  167. package/dist-types/pagination/ListBuildsForProjectPaginator.d.ts +1 -1
  168. package/dist-types/pagination/ListBuildsPaginator.d.ts +1 -1
  169. package/dist-types/pagination/ListProjectsPaginator.d.ts +1 -1
  170. package/dist-types/pagination/ListReportGroupsPaginator.d.ts +1 -1
  171. package/dist-types/pagination/ListReportsForReportGroupPaginator.d.ts +1 -1
  172. package/dist-types/pagination/ListReportsPaginator.d.ts +1 -1
  173. package/dist-types/pagination/ListSharedProjectsPaginator.d.ts +1 -1
  174. package/dist-types/pagination/ListSharedReportGroupsPaginator.d.ts +1 -1
  175. package/dist-types/ts3.4/commands/BatchDeleteBuildsCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/BatchGetBuildBatchesCommand.d.ts +12 -24
  177. package/dist-types/ts3.4/commands/BatchGetBuildsCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/commands/BatchGetProjectsCommand.d.ts +14 -23
  179. package/dist-types/ts3.4/commands/BatchGetReportGroupsCommand.d.ts +12 -24
  180. package/dist-types/ts3.4/commands/BatchGetReportsCommand.d.ts +14 -23
  181. package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +14 -23
  182. package/dist-types/ts3.4/commands/CreateReportGroupCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/CreateWebhookCommand.d.ts +14 -23
  184. package/dist-types/ts3.4/commands/DeleteBuildBatchCommand.d.ts +14 -23
  185. package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/DeleteReportCommand.d.ts +14 -23
  187. package/dist-types/ts3.4/commands/DeleteReportGroupCommand.d.ts +14 -23
  188. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
  189. package/dist-types/ts3.4/commands/DeleteSourceCredentialsCommand.d.ts +12 -24
  190. package/dist-types/ts3.4/commands/DeleteWebhookCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/DescribeCodeCoveragesCommand.d.ts +12 -24
  192. package/dist-types/ts3.4/commands/DescribeTestCasesCommand.d.ts +14 -23
  193. package/dist-types/ts3.4/commands/GetReportGroupTrendCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/ImportSourceCredentialsCommand.d.ts +12 -24
  196. package/dist-types/ts3.4/commands/InvalidateProjectCacheCommand.d.ts +12 -24
  197. package/dist-types/ts3.4/commands/ListBuildBatchesCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/ListBuildBatchesForProjectCommand.d.ts +12 -24
  199. package/dist-types/ts3.4/commands/ListBuildsCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/ListBuildsForProjectCommand.d.ts +12 -24
  201. package/dist-types/ts3.4/commands/ListCuratedEnvironmentImagesCommand.d.ts +12 -24
  202. package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +14 -23
  203. package/dist-types/ts3.4/commands/ListReportGroupsCommand.d.ts +14 -23
  204. package/dist-types/ts3.4/commands/ListReportsCommand.d.ts +14 -23
  205. package/dist-types/ts3.4/commands/ListReportsForReportGroupCommand.d.ts +12 -24
  206. package/dist-types/ts3.4/commands/ListSharedProjectsCommand.d.ts +14 -23
  207. package/dist-types/ts3.4/commands/ListSharedReportGroupsCommand.d.ts +12 -24
  208. package/dist-types/ts3.4/commands/ListSourceCredentialsCommand.d.ts +12 -24
  209. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
  210. package/dist-types/ts3.4/commands/RetryBuildBatchCommand.d.ts +14 -23
  211. package/dist-types/ts3.4/commands/RetryBuildCommand.d.ts +14 -23
  212. package/dist-types/ts3.4/commands/StartBuildBatchCommand.d.ts +14 -23
  213. package/dist-types/ts3.4/commands/StartBuildCommand.d.ts +14 -23
  214. package/dist-types/ts3.4/commands/StopBuildBatchCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/commands/StopBuildCommand.d.ts +14 -23
  216. package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +14 -23
  217. package/dist-types/ts3.4/commands/UpdateProjectVisibilityCommand.d.ts +12 -24
  218. package/dist-types/ts3.4/commands/UpdateReportGroupCommand.d.ts +14 -23
  219. package/dist-types/ts3.4/commands/UpdateWebhookCommand.d.ts +14 -23
  220. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  221. package/dist-types/ts3.4/pagination/DescribeCodeCoveragesPaginator.d.ts +3 -3
  222. package/dist-types/ts3.4/pagination/DescribeTestCasesPaginator.d.ts +3 -3
  223. package/dist-types/ts3.4/pagination/ListBuildBatchesForProjectPaginator.d.ts +3 -3
  224. package/dist-types/ts3.4/pagination/ListBuildBatchesPaginator.d.ts +3 -3
  225. package/dist-types/ts3.4/pagination/ListBuildsForProjectPaginator.d.ts +3 -3
  226. package/dist-types/ts3.4/pagination/ListBuildsPaginator.d.ts +3 -3
  227. package/dist-types/ts3.4/pagination/ListProjectsPaginator.d.ts +3 -3
  228. package/dist-types/ts3.4/pagination/ListReportGroupsPaginator.d.ts +3 -3
  229. package/dist-types/ts3.4/pagination/ListReportsForReportGroupPaginator.d.ts +3 -3
  230. package/dist-types/ts3.4/pagination/ListReportsPaginator.d.ts +3 -3
  231. package/dist-types/ts3.4/pagination/ListSharedProjectsPaginator.d.ts +3 -3
  232. package/dist-types/ts3.4/pagination/ListSharedReportGroupsPaginator.d.ts +3 -3
  233. package/package.json +11 -10
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeCodeCoverages = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
5
6
  const DescribeCodeCoveragesCommand_1 = require("../commands/DescribeCodeCoveragesCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeCodeCoveragesCommand_1.DescribeCodeCoveragesCommand(input), ...args);
8
- };
9
- async function* paginateDescribeCodeCoverages(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 CodeBuildClient_1.CodeBuildClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
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.paginateDescribeCodeCoverages = paginateDescribeCodeCoverages;
7
+ exports.paginateDescribeCodeCoverages = (0, core_1.createPaginator)(CodeBuildClient_1.CodeBuildClient, DescribeCodeCoveragesCommand_1.DescribeCodeCoveragesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeTestCases = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
5
6
  const DescribeTestCasesCommand_1 = require("../commands/DescribeTestCasesCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeTestCasesCommand_1.DescribeTestCasesCommand(input), ...args);
8
- };
9
- async function* paginateDescribeTestCases(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 CodeBuildClient_1.CodeBuildClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
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.paginateDescribeTestCases = paginateDescribeTestCases;
7
+ exports.paginateDescribeTestCases = (0, core_1.createPaginator)(CodeBuildClient_1.CodeBuildClient, DescribeTestCasesCommand_1.DescribeTestCasesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListBuildBatchesForProject = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
5
6
  const ListBuildBatchesForProjectCommand_1 = require("../commands/ListBuildBatchesForProjectCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListBuildBatchesForProjectCommand_1.ListBuildBatchesForProjectCommand(input), ...args);
8
- };
9
- async function* paginateListBuildBatchesForProject(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 CodeBuildClient_1.CodeBuildClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
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.paginateListBuildBatchesForProject = paginateListBuildBatchesForProject;
7
+ exports.paginateListBuildBatchesForProject = (0, core_1.createPaginator)(CodeBuildClient_1.CodeBuildClient, ListBuildBatchesForProjectCommand_1.ListBuildBatchesForProjectCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListBuildBatches = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
5
6
  const ListBuildBatchesCommand_1 = require("../commands/ListBuildBatchesCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListBuildBatchesCommand_1.ListBuildBatchesCommand(input), ...args);
8
- };
9
- async function* paginateListBuildBatches(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 CodeBuildClient_1.CodeBuildClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
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.paginateListBuildBatches = paginateListBuildBatches;
7
+ exports.paginateListBuildBatches = (0, core_1.createPaginator)(CodeBuildClient_1.CodeBuildClient, ListBuildBatchesCommand_1.ListBuildBatchesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListBuildsForProject = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
5
6
  const ListBuildsForProjectCommand_1 = require("../commands/ListBuildsForProjectCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListBuildsForProjectCommand_1.ListBuildsForProjectCommand(input), ...args);
8
- };
9
- async function* paginateListBuildsForProject(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 CodeBuildClient_1.CodeBuildClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
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.paginateListBuildsForProject = paginateListBuildsForProject;
7
+ exports.paginateListBuildsForProject = (0, core_1.createPaginator)(CodeBuildClient_1.CodeBuildClient, ListBuildsForProjectCommand_1.ListBuildsForProjectCommand, "nextToken", "nextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListBuilds = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
5
6
  const ListBuildsCommand_1 = require("../commands/ListBuildsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListBuildsCommand_1.ListBuildsCommand(input), ...args);
8
- };
9
- async function* paginateListBuilds(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 CodeBuildClient_1.CodeBuildClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
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.paginateListBuilds = paginateListBuilds;
7
+ exports.paginateListBuilds = (0, core_1.createPaginator)(CodeBuildClient_1.CodeBuildClient, ListBuildsCommand_1.ListBuildsCommand, "nextToken", "nextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListProjects = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
5
6
  const ListProjectsCommand_1 = require("../commands/ListProjectsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListProjectsCommand_1.ListProjectsCommand(input), ...args);
8
- };
9
- async function* paginateListProjects(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 CodeBuildClient_1.CodeBuildClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
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.paginateListProjects = paginateListProjects;
7
+ exports.paginateListProjects = (0, core_1.createPaginator)(CodeBuildClient_1.CodeBuildClient, ListProjectsCommand_1.ListProjectsCommand, "nextToken", "nextToken", "");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListReportGroups = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
5
6
  const ListReportGroupsCommand_1 = require("../commands/ListReportGroupsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListReportGroupsCommand_1.ListReportGroupsCommand(input), ...args);
8
- };
9
- async function* paginateListReportGroups(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 CodeBuildClient_1.CodeBuildClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
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.paginateListReportGroups = paginateListReportGroups;
7
+ exports.paginateListReportGroups = (0, core_1.createPaginator)(CodeBuildClient_1.CodeBuildClient, ListReportGroupsCommand_1.ListReportGroupsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListReportsForReportGroup = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
5
6
  const ListReportsForReportGroupCommand_1 = require("../commands/ListReportsForReportGroupCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListReportsForReportGroupCommand_1.ListReportsForReportGroupCommand(input), ...args);
8
- };
9
- async function* paginateListReportsForReportGroup(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 CodeBuildClient_1.CodeBuildClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
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.paginateListReportsForReportGroup = paginateListReportsForReportGroup;
7
+ exports.paginateListReportsForReportGroup = (0, core_1.createPaginator)(CodeBuildClient_1.CodeBuildClient, ListReportsForReportGroupCommand_1.ListReportsForReportGroupCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListReports = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
5
6
  const ListReportsCommand_1 = require("../commands/ListReportsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListReportsCommand_1.ListReportsCommand(input), ...args);
8
- };
9
- async function* paginateListReports(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 CodeBuildClient_1.CodeBuildClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
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.paginateListReports = paginateListReports;
7
+ exports.paginateListReports = (0, core_1.createPaginator)(CodeBuildClient_1.CodeBuildClient, ListReportsCommand_1.ListReportsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListSharedProjects = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
5
6
  const ListSharedProjectsCommand_1 = require("../commands/ListSharedProjectsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListSharedProjectsCommand_1.ListSharedProjectsCommand(input), ...args);
8
- };
9
- async function* paginateListSharedProjects(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 CodeBuildClient_1.CodeBuildClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
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.paginateListSharedProjects = paginateListSharedProjects;
7
+ exports.paginateListSharedProjects = (0, core_1.createPaginator)(CodeBuildClient_1.CodeBuildClient, ListSharedProjectsCommand_1.ListSharedProjectsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListSharedReportGroups = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
5
6
  const ListSharedReportGroupsCommand_1 = require("../commands/ListSharedReportGroupsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListSharedReportGroupsCommand_1.ListSharedReportGroupsCommand(input), ...args);
8
- };
9
- async function* paginateListSharedReportGroups(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 CodeBuildClient_1.CodeBuildClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
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.paginateListSharedReportGroups = paginateListSharedReportGroups;
7
+ exports.paginateListSharedReportGroups = (0, core_1.createPaginator)(CodeBuildClient_1.CodeBuildClient, ListSharedReportGroupsCommand_1.ListSharedReportGroupsCommand, "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_BatchDeleteBuildsCommand, se_BatchDeleteBuildsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class BatchDeleteBuildsCommand 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, BatchDeleteBuildsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeBuildClient";
26
- const commandName = "BatchDeleteBuildsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeBuild_20161006",
35
- operation: "BatchDeleteBuilds",
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_BatchDeleteBuildsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_BatchDeleteBuildsCommand(output, context);
46
- }
7
+ export class BatchDeleteBuildsCommand 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("CodeBuild_20161006", "BatchDeleteBuilds", {})
19
+ .n("CodeBuildClient", "BatchDeleteBuildsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchDeleteBuildsCommand)
22
+ .de(de_BatchDeleteBuildsCommand)
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_BatchGetBuildBatchesCommand, se_BatchGetBuildBatchesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class BatchGetBuildBatchesCommand 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, BatchGetBuildBatchesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeBuildClient";
26
- const commandName = "BatchGetBuildBatchesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeBuild_20161006",
35
- operation: "BatchGetBuildBatches",
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_BatchGetBuildBatchesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_BatchGetBuildBatchesCommand(output, context);
46
- }
7
+ export class BatchGetBuildBatchesCommand 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("CodeBuild_20161006", "BatchGetBuildBatches", {})
19
+ .n("CodeBuildClient", "BatchGetBuildBatchesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchGetBuildBatchesCommand)
22
+ .de(de_BatchGetBuildBatchesCommand)
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_BatchGetBuildsCommand, se_BatchGetBuildsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class BatchGetBuildsCommand 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, BatchGetBuildsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeBuildClient";
26
- const commandName = "BatchGetBuildsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeBuild_20161006",
35
- operation: "BatchGetBuilds",
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_BatchGetBuildsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_BatchGetBuildsCommand(output, context);
46
- }
7
+ export class BatchGetBuildsCommand 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("CodeBuild_20161006", "BatchGetBuilds", {})
19
+ .n("CodeBuildClient", "BatchGetBuildsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchGetBuildsCommand)
22
+ .de(de_BatchGetBuildsCommand)
23
+ .build() {
47
24
  }