@aws-sdk/client-codebuild 3.476.0 → 3.478.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 (49) hide show
  1. package/dist-cjs/pagination/DescribeCodeCoveragesPaginator.js +2 -24
  2. package/dist-cjs/pagination/DescribeTestCasesPaginator.js +2 -24
  3. package/dist-cjs/pagination/ListBuildBatchesForProjectPaginator.js +2 -24
  4. package/dist-cjs/pagination/ListBuildBatchesPaginator.js +2 -24
  5. package/dist-cjs/pagination/ListBuildsForProjectPaginator.js +2 -23
  6. package/dist-cjs/pagination/ListBuildsPaginator.js +2 -23
  7. package/dist-cjs/pagination/ListProjectsPaginator.js +2 -23
  8. package/dist-cjs/pagination/ListReportGroupsPaginator.js +2 -24
  9. package/dist-cjs/pagination/ListReportsForReportGroupPaginator.js +2 -24
  10. package/dist-cjs/pagination/ListReportsPaginator.js +2 -24
  11. package/dist-cjs/pagination/ListSharedProjectsPaginator.js +2 -24
  12. package/dist-cjs/pagination/ListSharedReportGroupsPaginator.js +2 -24
  13. package/dist-es/pagination/DescribeCodeCoveragesPaginator.js +2 -23
  14. package/dist-es/pagination/DescribeTestCasesPaginator.js +2 -23
  15. package/dist-es/pagination/ListBuildBatchesForProjectPaginator.js +2 -23
  16. package/dist-es/pagination/ListBuildBatchesPaginator.js +2 -23
  17. package/dist-es/pagination/ListBuildsForProjectPaginator.js +2 -22
  18. package/dist-es/pagination/ListBuildsPaginator.js +2 -22
  19. package/dist-es/pagination/ListProjectsPaginator.js +2 -22
  20. package/dist-es/pagination/ListReportGroupsPaginator.js +2 -23
  21. package/dist-es/pagination/ListReportsForReportGroupPaginator.js +2 -23
  22. package/dist-es/pagination/ListReportsPaginator.js +2 -23
  23. package/dist-es/pagination/ListSharedProjectsPaginator.js +2 -23
  24. package/dist-es/pagination/ListSharedReportGroupsPaginator.js +2 -23
  25. package/dist-types/pagination/DescribeCodeCoveragesPaginator.d.ts +1 -1
  26. package/dist-types/pagination/DescribeTestCasesPaginator.d.ts +1 -1
  27. package/dist-types/pagination/ListBuildBatchesForProjectPaginator.d.ts +1 -1
  28. package/dist-types/pagination/ListBuildBatchesPaginator.d.ts +1 -1
  29. package/dist-types/pagination/ListBuildsForProjectPaginator.d.ts +1 -1
  30. package/dist-types/pagination/ListBuildsPaginator.d.ts +1 -1
  31. package/dist-types/pagination/ListProjectsPaginator.d.ts +1 -1
  32. package/dist-types/pagination/ListReportGroupsPaginator.d.ts +1 -1
  33. package/dist-types/pagination/ListReportsForReportGroupPaginator.d.ts +1 -1
  34. package/dist-types/pagination/ListReportsPaginator.d.ts +1 -1
  35. package/dist-types/pagination/ListSharedProjectsPaginator.d.ts +1 -1
  36. package/dist-types/pagination/ListSharedReportGroupsPaginator.d.ts +1 -1
  37. package/dist-types/ts3.4/pagination/DescribeCodeCoveragesPaginator.d.ts +3 -3
  38. package/dist-types/ts3.4/pagination/DescribeTestCasesPaginator.d.ts +3 -3
  39. package/dist-types/ts3.4/pagination/ListBuildBatchesForProjectPaginator.d.ts +3 -3
  40. package/dist-types/ts3.4/pagination/ListBuildBatchesPaginator.d.ts +3 -3
  41. package/dist-types/ts3.4/pagination/ListBuildsForProjectPaginator.d.ts +3 -3
  42. package/dist-types/ts3.4/pagination/ListBuildsPaginator.d.ts +3 -3
  43. package/dist-types/ts3.4/pagination/ListProjectsPaginator.d.ts +3 -3
  44. package/dist-types/ts3.4/pagination/ListReportGroupsPaginator.d.ts +3 -3
  45. package/dist-types/ts3.4/pagination/ListReportsForReportGroupPaginator.d.ts +3 -3
  46. package/dist-types/ts3.4/pagination/ListReportsPaginator.d.ts +3 -3
  47. package/dist-types/ts3.4/pagination/ListSharedProjectsPaginator.d.ts +3 -3
  48. package/dist-types/ts3.4/pagination/ListSharedReportGroupsPaginator.d.ts +3 -3
  49. package/package.json +7 -6
@@ -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,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodeBuildClient } from "../CodeBuildClient";
2
3
  import { DescribeCodeCoveragesCommand, } from "../commands/DescribeCodeCoveragesCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeCodeCoveragesCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeCodeCoverages(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof CodeBuildClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeCodeCoverages = createPaginator(CodeBuildClient, DescribeCodeCoveragesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodeBuildClient } from "../CodeBuildClient";
2
3
  import { DescribeTestCasesCommand, } from "../commands/DescribeTestCasesCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeTestCasesCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeTestCases(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof CodeBuildClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeTestCases = createPaginator(CodeBuildClient, DescribeTestCasesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodeBuildClient } from "../CodeBuildClient";
2
3
  import { ListBuildBatchesForProjectCommand, } from "../commands/ListBuildBatchesForProjectCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListBuildBatchesForProjectCommand(input), ...args);
5
- };
6
- export async function* paginateListBuildBatchesForProject(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof CodeBuildClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListBuildBatchesForProject = createPaginator(CodeBuildClient, ListBuildBatchesForProjectCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodeBuildClient } from "../CodeBuildClient";
2
3
  import { ListBuildBatchesCommand, } from "../commands/ListBuildBatchesCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListBuildBatchesCommand(input), ...args);
5
- };
6
- export async function* paginateListBuildBatches(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof CodeBuildClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListBuildBatches = createPaginator(CodeBuildClient, ListBuildBatchesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodeBuildClient } from "../CodeBuildClient";
2
3
  import { ListBuildsForProjectCommand, } from "../commands/ListBuildsForProjectCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListBuildsForProjectCommand(input), ...args);
5
- };
6
- export async function* paginateListBuildsForProject(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- if (config.client instanceof CodeBuildClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
17
- }
18
- yield page;
19
- const prevToken = token;
20
- token = page.nextToken;
21
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
- }
23
- return undefined;
24
- }
4
+ export const paginateListBuildsForProject = createPaginator(CodeBuildClient, ListBuildsForProjectCommand, "nextToken", "nextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodeBuildClient } from "../CodeBuildClient";
2
3
  import { ListBuildsCommand } from "../commands/ListBuildsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListBuildsCommand(input), ...args);
5
- };
6
- export async function* paginateListBuilds(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- if (config.client instanceof CodeBuildClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
17
- }
18
- yield page;
19
- const prevToken = token;
20
- token = page.nextToken;
21
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
- }
23
- return undefined;
24
- }
4
+ export const paginateListBuilds = createPaginator(CodeBuildClient, ListBuildsCommand, "nextToken", "nextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodeBuildClient } from "../CodeBuildClient";
2
3
  import { ListProjectsCommand, } from "../commands/ListProjectsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListProjectsCommand(input), ...args);
5
- };
6
- export async function* paginateListProjects(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- if (config.client instanceof CodeBuildClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
17
- }
18
- yield page;
19
- const prevToken = token;
20
- token = page.nextToken;
21
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
- }
23
- return undefined;
24
- }
4
+ export const paginateListProjects = createPaginator(CodeBuildClient, ListProjectsCommand, "nextToken", "nextToken", "");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodeBuildClient } from "../CodeBuildClient";
2
3
  import { ListReportGroupsCommand, } from "../commands/ListReportGroupsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListReportGroupsCommand(input), ...args);
5
- };
6
- export async function* paginateListReportGroups(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof CodeBuildClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListReportGroups = createPaginator(CodeBuildClient, ListReportGroupsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodeBuildClient } from "../CodeBuildClient";
2
3
  import { ListReportsForReportGroupCommand, } from "../commands/ListReportsForReportGroupCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListReportsForReportGroupCommand(input), ...args);
5
- };
6
- export async function* paginateListReportsForReportGroup(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof CodeBuildClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListReportsForReportGroup = createPaginator(CodeBuildClient, ListReportsForReportGroupCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodeBuildClient } from "../CodeBuildClient";
2
3
  import { ListReportsCommand } from "../commands/ListReportsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListReportsCommand(input), ...args);
5
- };
6
- export async function* paginateListReports(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof CodeBuildClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListReports = createPaginator(CodeBuildClient, ListReportsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodeBuildClient } from "../CodeBuildClient";
2
3
  import { ListSharedProjectsCommand, } from "../commands/ListSharedProjectsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListSharedProjectsCommand(input), ...args);
5
- };
6
- export async function* paginateListSharedProjects(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof CodeBuildClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListSharedProjects = createPaginator(CodeBuildClient, ListSharedProjectsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodeBuildClient } from "../CodeBuildClient";
2
3
  import { ListSharedReportGroupsCommand, } from "../commands/ListSharedReportGroupsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListSharedReportGroupsCommand(input), ...args);
5
- };
6
- export async function* paginateListSharedReportGroups(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof CodeBuildClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListSharedReportGroups = createPaginator(CodeBuildClient, ListSharedReportGroupsCommand, "nextToken", "nextToken", "maxResults");
@@ -4,4 +4,4 @@ import { CodeBuildPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateDescribeCodeCoverages(config: CodeBuildPaginationConfiguration, input: DescribeCodeCoveragesCommandInput, ...additionalArguments: any): Paginator<DescribeCodeCoveragesCommandOutput>;
7
+ export declare const paginateDescribeCodeCoverages: (config: CodeBuildPaginationConfiguration, input: DescribeCodeCoveragesCommandInput, ...rest: any[]) => Paginator<DescribeCodeCoveragesCommandOutput>;
@@ -4,4 +4,4 @@ import { CodeBuildPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateDescribeTestCases(config: CodeBuildPaginationConfiguration, input: DescribeTestCasesCommandInput, ...additionalArguments: any): Paginator<DescribeTestCasesCommandOutput>;
7
+ export declare const paginateDescribeTestCases: (config: CodeBuildPaginationConfiguration, input: DescribeTestCasesCommandInput, ...rest: any[]) => Paginator<DescribeTestCasesCommandOutput>;
@@ -4,4 +4,4 @@ import { CodeBuildPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListBuildBatchesForProject(config: CodeBuildPaginationConfiguration, input: ListBuildBatchesForProjectCommandInput, ...additionalArguments: any): Paginator<ListBuildBatchesForProjectCommandOutput>;
7
+ export declare const paginateListBuildBatchesForProject: (config: CodeBuildPaginationConfiguration, input: ListBuildBatchesForProjectCommandInput, ...rest: any[]) => Paginator<ListBuildBatchesForProjectCommandOutput>;
@@ -4,4 +4,4 @@ import { CodeBuildPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListBuildBatches(config: CodeBuildPaginationConfiguration, input: ListBuildBatchesCommandInput, ...additionalArguments: any): Paginator<ListBuildBatchesCommandOutput>;
7
+ export declare const paginateListBuildBatches: (config: CodeBuildPaginationConfiguration, input: ListBuildBatchesCommandInput, ...rest: any[]) => Paginator<ListBuildBatchesCommandOutput>;
@@ -4,4 +4,4 @@ import { CodeBuildPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListBuildsForProject(config: CodeBuildPaginationConfiguration, input: ListBuildsForProjectCommandInput, ...additionalArguments: any): Paginator<ListBuildsForProjectCommandOutput>;
7
+ export declare const paginateListBuildsForProject: (config: CodeBuildPaginationConfiguration, input: ListBuildsForProjectCommandInput, ...rest: any[]) => Paginator<ListBuildsForProjectCommandOutput>;
@@ -4,4 +4,4 @@ import { CodeBuildPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListBuilds(config: CodeBuildPaginationConfiguration, input: ListBuildsCommandInput, ...additionalArguments: any): Paginator<ListBuildsCommandOutput>;
7
+ export declare const paginateListBuilds: (config: CodeBuildPaginationConfiguration, input: ListBuildsCommandInput, ...rest: any[]) => Paginator<ListBuildsCommandOutput>;
@@ -4,4 +4,4 @@ import { CodeBuildPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListProjects(config: CodeBuildPaginationConfiguration, input: ListProjectsCommandInput, ...additionalArguments: any): Paginator<ListProjectsCommandOutput>;
7
+ export declare const paginateListProjects: (config: CodeBuildPaginationConfiguration, input: ListProjectsCommandInput, ...rest: any[]) => Paginator<ListProjectsCommandOutput>;
@@ -4,4 +4,4 @@ import { CodeBuildPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListReportGroups(config: CodeBuildPaginationConfiguration, input: ListReportGroupsCommandInput, ...additionalArguments: any): Paginator<ListReportGroupsCommandOutput>;
7
+ export declare const paginateListReportGroups: (config: CodeBuildPaginationConfiguration, input: ListReportGroupsCommandInput, ...rest: any[]) => Paginator<ListReportGroupsCommandOutput>;
@@ -4,4 +4,4 @@ import { CodeBuildPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListReportsForReportGroup(config: CodeBuildPaginationConfiguration, input: ListReportsForReportGroupCommandInput, ...additionalArguments: any): Paginator<ListReportsForReportGroupCommandOutput>;
7
+ export declare const paginateListReportsForReportGroup: (config: CodeBuildPaginationConfiguration, input: ListReportsForReportGroupCommandInput, ...rest: any[]) => Paginator<ListReportsForReportGroupCommandOutput>;
@@ -4,4 +4,4 @@ import { CodeBuildPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListReports(config: CodeBuildPaginationConfiguration, input: ListReportsCommandInput, ...additionalArguments: any): Paginator<ListReportsCommandOutput>;
7
+ export declare const paginateListReports: (config: CodeBuildPaginationConfiguration, input: ListReportsCommandInput, ...rest: any[]) => Paginator<ListReportsCommandOutput>;
@@ -4,4 +4,4 @@ import { CodeBuildPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListSharedProjects(config: CodeBuildPaginationConfiguration, input: ListSharedProjectsCommandInput, ...additionalArguments: any): Paginator<ListSharedProjectsCommandOutput>;
7
+ export declare const paginateListSharedProjects: (config: CodeBuildPaginationConfiguration, input: ListSharedProjectsCommandInput, ...rest: any[]) => Paginator<ListSharedProjectsCommandOutput>;
@@ -4,4 +4,4 @@ import { CodeBuildPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListSharedReportGroups(config: CodeBuildPaginationConfiguration, input: ListSharedReportGroupsCommandInput, ...additionalArguments: any): Paginator<ListSharedReportGroupsCommandOutput>;
7
+ export declare const paginateListSharedReportGroups: (config: CodeBuildPaginationConfiguration, input: ListSharedReportGroupsCommandInput, ...rest: any[]) => Paginator<ListSharedReportGroupsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  DescribeCodeCoveragesCommandOutput,
5
5
  } from "../commands/DescribeCodeCoveragesCommand";
6
6
  import { CodeBuildPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateDescribeCodeCoverages(
7
+ export declare const paginateDescribeCodeCoverages: (
8
8
  config: CodeBuildPaginationConfiguration,
9
9
  input: DescribeCodeCoveragesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<DescribeCodeCoveragesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeCodeCoveragesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  DescribeTestCasesCommandOutput,
5
5
  } from "../commands/DescribeTestCasesCommand";
6
6
  import { CodeBuildPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateDescribeTestCases(
7
+ export declare const paginateDescribeTestCases: (
8
8
  config: CodeBuildPaginationConfiguration,
9
9
  input: DescribeTestCasesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<DescribeTestCasesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeTestCasesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListBuildBatchesForProjectCommandOutput,
5
5
  } from "../commands/ListBuildBatchesForProjectCommand";
6
6
  import { CodeBuildPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListBuildBatchesForProject(
7
+ export declare const paginateListBuildBatchesForProject: (
8
8
  config: CodeBuildPaginationConfiguration,
9
9
  input: ListBuildBatchesForProjectCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListBuildBatchesForProjectCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListBuildBatchesForProjectCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListBuildBatchesCommandOutput,
5
5
  } from "../commands/ListBuildBatchesCommand";
6
6
  import { CodeBuildPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListBuildBatches(
7
+ export declare const paginateListBuildBatches: (
8
8
  config: CodeBuildPaginationConfiguration,
9
9
  input: ListBuildBatchesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListBuildBatchesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListBuildBatchesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListBuildsForProjectCommandOutput,
5
5
  } from "../commands/ListBuildsForProjectCommand";
6
6
  import { CodeBuildPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListBuildsForProject(
7
+ export declare const paginateListBuildsForProject: (
8
8
  config: CodeBuildPaginationConfiguration,
9
9
  input: ListBuildsForProjectCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListBuildsForProjectCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListBuildsForProjectCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListBuildsCommandOutput,
5
5
  } from "../commands/ListBuildsCommand";
6
6
  import { CodeBuildPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListBuilds(
7
+ export declare const paginateListBuilds: (
8
8
  config: CodeBuildPaginationConfiguration,
9
9
  input: ListBuildsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListBuildsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListBuildsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListProjectsCommandOutput,
5
5
  } from "../commands/ListProjectsCommand";
6
6
  import { CodeBuildPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListProjects(
7
+ export declare const paginateListProjects: (
8
8
  config: CodeBuildPaginationConfiguration,
9
9
  input: ListProjectsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListProjectsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListProjectsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListReportGroupsCommandOutput,
5
5
  } from "../commands/ListReportGroupsCommand";
6
6
  import { CodeBuildPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListReportGroups(
7
+ export declare const paginateListReportGroups: (
8
8
  config: CodeBuildPaginationConfiguration,
9
9
  input: ListReportGroupsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListReportGroupsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListReportGroupsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListReportsForReportGroupCommandOutput,
5
5
  } from "../commands/ListReportsForReportGroupCommand";
6
6
  import { CodeBuildPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListReportsForReportGroup(
7
+ export declare const paginateListReportsForReportGroup: (
8
8
  config: CodeBuildPaginationConfiguration,
9
9
  input: ListReportsForReportGroupCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListReportsForReportGroupCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListReportsForReportGroupCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListReportsCommandOutput,
5
5
  } from "../commands/ListReportsCommand";
6
6
  import { CodeBuildPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListReports(
7
+ export declare const paginateListReports: (
8
8
  config: CodeBuildPaginationConfiguration,
9
9
  input: ListReportsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListReportsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListReportsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListSharedProjectsCommandOutput,
5
5
  } from "../commands/ListSharedProjectsCommand";
6
6
  import { CodeBuildPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListSharedProjects(
7
+ export declare const paginateListSharedProjects: (
8
8
  config: CodeBuildPaginationConfiguration,
9
9
  input: ListSharedProjectsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListSharedProjectsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListSharedProjectsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListSharedReportGroupsCommandOutput,
5
5
  } from "../commands/ListSharedReportGroupsCommand";
6
6
  import { CodeBuildPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListSharedReportGroups(
7
+ export declare const paginateListSharedReportGroups: (
8
8
  config: CodeBuildPaginationConfiguration,
9
9
  input: ListSharedReportGroupsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListSharedReportGroupsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListSharedReportGroupsCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codebuild",
3
3
  "description": "AWS SDK for JavaScript Codebuild Client for Node.js, Browser and React Native",
4
- "version": "3.476.0",
4
+ "version": "3.478.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,20 +20,21 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.476.0",
24
- "@aws-sdk/core": "3.476.0",
25
- "@aws-sdk/credential-provider-node": "3.476.0",
23
+ "@aws-sdk/client-sts": "3.478.0",
24
+ "@aws-sdk/core": "3.477.0",
25
+ "@aws-sdk/credential-provider-node": "3.478.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
29
29
  "@aws-sdk/middleware-signing": "3.468.0",
30
- "@aws-sdk/middleware-user-agent": "3.470.0",
30
+ "@aws-sdk/middleware-user-agent": "3.478.0",
31
31
  "@aws-sdk/region-config-resolver": "3.470.0",
32
32
  "@aws-sdk/types": "3.468.0",
33
- "@aws-sdk/util-endpoints": "3.470.0",
33
+ "@aws-sdk/util-endpoints": "3.478.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",
37
+ "@smithy/core": "^1.2.0",
37
38
  "@smithy/fetch-http-handler": "^2.3.1",
38
39
  "@smithy/hash-node": "^2.0.17",
39
40
  "@smithy/invalid-dependency": "^2.0.15",