@aws-sdk/client-api-gateway 3.477.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/GetApiKeysPaginator.js +2 -24
  2. package/dist-cjs/pagination/GetBasePathMappingsPaginator.js +2 -24
  3. package/dist-cjs/pagination/GetClientCertificatesPaginator.js +2 -24
  4. package/dist-cjs/pagination/GetDeploymentsPaginator.js +2 -24
  5. package/dist-cjs/pagination/GetDomainNamesPaginator.js +2 -24
  6. package/dist-cjs/pagination/GetModelsPaginator.js +2 -24
  7. package/dist-cjs/pagination/GetResourcesPaginator.js +2 -24
  8. package/dist-cjs/pagination/GetRestApisPaginator.js +2 -24
  9. package/dist-cjs/pagination/GetUsagePaginator.js +2 -24
  10. package/dist-cjs/pagination/GetUsagePlanKeysPaginator.js +2 -24
  11. package/dist-cjs/pagination/GetUsagePlansPaginator.js +2 -24
  12. package/dist-cjs/pagination/GetVpcLinksPaginator.js +2 -24
  13. package/dist-es/pagination/GetApiKeysPaginator.js +2 -23
  14. package/dist-es/pagination/GetBasePathMappingsPaginator.js +2 -23
  15. package/dist-es/pagination/GetClientCertificatesPaginator.js +2 -23
  16. package/dist-es/pagination/GetDeploymentsPaginator.js +2 -23
  17. package/dist-es/pagination/GetDomainNamesPaginator.js +2 -23
  18. package/dist-es/pagination/GetModelsPaginator.js +2 -23
  19. package/dist-es/pagination/GetResourcesPaginator.js +2 -23
  20. package/dist-es/pagination/GetRestApisPaginator.js +2 -23
  21. package/dist-es/pagination/GetUsagePaginator.js +2 -23
  22. package/dist-es/pagination/GetUsagePlanKeysPaginator.js +2 -23
  23. package/dist-es/pagination/GetUsagePlansPaginator.js +2 -23
  24. package/dist-es/pagination/GetVpcLinksPaginator.js +2 -23
  25. package/dist-types/pagination/GetApiKeysPaginator.d.ts +1 -1
  26. package/dist-types/pagination/GetBasePathMappingsPaginator.d.ts +1 -1
  27. package/dist-types/pagination/GetClientCertificatesPaginator.d.ts +1 -1
  28. package/dist-types/pagination/GetDeploymentsPaginator.d.ts +1 -1
  29. package/dist-types/pagination/GetDomainNamesPaginator.d.ts +1 -1
  30. package/dist-types/pagination/GetModelsPaginator.d.ts +1 -1
  31. package/dist-types/pagination/GetResourcesPaginator.d.ts +1 -1
  32. package/dist-types/pagination/GetRestApisPaginator.d.ts +1 -1
  33. package/dist-types/pagination/GetUsagePaginator.d.ts +1 -1
  34. package/dist-types/pagination/GetUsagePlanKeysPaginator.d.ts +1 -1
  35. package/dist-types/pagination/GetUsagePlansPaginator.d.ts +1 -1
  36. package/dist-types/pagination/GetVpcLinksPaginator.d.ts +1 -1
  37. package/dist-types/ts3.4/pagination/GetApiKeysPaginator.d.ts +3 -3
  38. package/dist-types/ts3.4/pagination/GetBasePathMappingsPaginator.d.ts +3 -3
  39. package/dist-types/ts3.4/pagination/GetClientCertificatesPaginator.d.ts +3 -3
  40. package/dist-types/ts3.4/pagination/GetDeploymentsPaginator.d.ts +3 -3
  41. package/dist-types/ts3.4/pagination/GetDomainNamesPaginator.d.ts +3 -3
  42. package/dist-types/ts3.4/pagination/GetModelsPaginator.d.ts +3 -3
  43. package/dist-types/ts3.4/pagination/GetResourcesPaginator.d.ts +3 -3
  44. package/dist-types/ts3.4/pagination/GetRestApisPaginator.d.ts +3 -3
  45. package/dist-types/ts3.4/pagination/GetUsagePaginator.d.ts +3 -3
  46. package/dist-types/ts3.4/pagination/GetUsagePlanKeysPaginator.d.ts +3 -3
  47. package/dist-types/ts3.4/pagination/GetUsagePlansPaginator.d.ts +3 -3
  48. package/dist-types/ts3.4/pagination/GetVpcLinksPaginator.d.ts +3 -3
  49. package/package.json +5 -5
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetApiKeys = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const APIGatewayClient_1 = require("../APIGatewayClient");
5
6
  const GetApiKeysCommand_1 = require("../commands/GetApiKeysCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetApiKeysCommand_1.GetApiKeysCommand(input), ...args);
8
- };
9
- async function* paginateGetApiKeys(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.position = token;
15
- input["limit"] = config.pageSize;
16
- if (config.client instanceof APIGatewayClient_1.APIGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.position;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetApiKeys = paginateGetApiKeys;
7
+ exports.paginateGetApiKeys = (0, core_1.createPaginator)(APIGatewayClient_1.APIGatewayClient, GetApiKeysCommand_1.GetApiKeysCommand, "position", "position", "limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetBasePathMappings = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const APIGatewayClient_1 = require("../APIGatewayClient");
5
6
  const GetBasePathMappingsCommand_1 = require("../commands/GetBasePathMappingsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetBasePathMappingsCommand_1.GetBasePathMappingsCommand(input), ...args);
8
- };
9
- async function* paginateGetBasePathMappings(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.position = token;
15
- input["limit"] = config.pageSize;
16
- if (config.client instanceof APIGatewayClient_1.APIGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.position;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetBasePathMappings = paginateGetBasePathMappings;
7
+ exports.paginateGetBasePathMappings = (0, core_1.createPaginator)(APIGatewayClient_1.APIGatewayClient, GetBasePathMappingsCommand_1.GetBasePathMappingsCommand, "position", "position", "limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetClientCertificates = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const APIGatewayClient_1 = require("../APIGatewayClient");
5
6
  const GetClientCertificatesCommand_1 = require("../commands/GetClientCertificatesCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetClientCertificatesCommand_1.GetClientCertificatesCommand(input), ...args);
8
- };
9
- async function* paginateGetClientCertificates(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.position = token;
15
- input["limit"] = config.pageSize;
16
- if (config.client instanceof APIGatewayClient_1.APIGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.position;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetClientCertificates = paginateGetClientCertificates;
7
+ exports.paginateGetClientCertificates = (0, core_1.createPaginator)(APIGatewayClient_1.APIGatewayClient, GetClientCertificatesCommand_1.GetClientCertificatesCommand, "position", "position", "limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetDeployments = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const APIGatewayClient_1 = require("../APIGatewayClient");
5
6
  const GetDeploymentsCommand_1 = require("../commands/GetDeploymentsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetDeploymentsCommand_1.GetDeploymentsCommand(input), ...args);
8
- };
9
- async function* paginateGetDeployments(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.position = token;
15
- input["limit"] = config.pageSize;
16
- if (config.client instanceof APIGatewayClient_1.APIGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.position;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetDeployments = paginateGetDeployments;
7
+ exports.paginateGetDeployments = (0, core_1.createPaginator)(APIGatewayClient_1.APIGatewayClient, GetDeploymentsCommand_1.GetDeploymentsCommand, "position", "position", "limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetDomainNames = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const APIGatewayClient_1 = require("../APIGatewayClient");
5
6
  const GetDomainNamesCommand_1 = require("../commands/GetDomainNamesCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetDomainNamesCommand_1.GetDomainNamesCommand(input), ...args);
8
- };
9
- async function* paginateGetDomainNames(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.position = token;
15
- input["limit"] = config.pageSize;
16
- if (config.client instanceof APIGatewayClient_1.APIGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.position;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetDomainNames = paginateGetDomainNames;
7
+ exports.paginateGetDomainNames = (0, core_1.createPaginator)(APIGatewayClient_1.APIGatewayClient, GetDomainNamesCommand_1.GetDomainNamesCommand, "position", "position", "limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetModels = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const APIGatewayClient_1 = require("../APIGatewayClient");
5
6
  const GetModelsCommand_1 = require("../commands/GetModelsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetModelsCommand_1.GetModelsCommand(input), ...args);
8
- };
9
- async function* paginateGetModels(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.position = token;
15
- input["limit"] = config.pageSize;
16
- if (config.client instanceof APIGatewayClient_1.APIGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.position;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetModels = paginateGetModels;
7
+ exports.paginateGetModels = (0, core_1.createPaginator)(APIGatewayClient_1.APIGatewayClient, GetModelsCommand_1.GetModelsCommand, "position", "position", "limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetResources = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const APIGatewayClient_1 = require("../APIGatewayClient");
5
6
  const GetResourcesCommand_1 = require("../commands/GetResourcesCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetResourcesCommand_1.GetResourcesCommand(input), ...args);
8
- };
9
- async function* paginateGetResources(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.position = token;
15
- input["limit"] = config.pageSize;
16
- if (config.client instanceof APIGatewayClient_1.APIGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.position;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetResources = paginateGetResources;
7
+ exports.paginateGetResources = (0, core_1.createPaginator)(APIGatewayClient_1.APIGatewayClient, GetResourcesCommand_1.GetResourcesCommand, "position", "position", "limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetRestApis = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const APIGatewayClient_1 = require("../APIGatewayClient");
5
6
  const GetRestApisCommand_1 = require("../commands/GetRestApisCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetRestApisCommand_1.GetRestApisCommand(input), ...args);
8
- };
9
- async function* paginateGetRestApis(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.position = token;
15
- input["limit"] = config.pageSize;
16
- if (config.client instanceof APIGatewayClient_1.APIGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.position;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetRestApis = paginateGetRestApis;
7
+ exports.paginateGetRestApis = (0, core_1.createPaginator)(APIGatewayClient_1.APIGatewayClient, GetRestApisCommand_1.GetRestApisCommand, "position", "position", "limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetUsage = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const APIGatewayClient_1 = require("../APIGatewayClient");
5
6
  const GetUsageCommand_1 = require("../commands/GetUsageCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetUsageCommand_1.GetUsageCommand(input), ...args);
8
- };
9
- async function* paginateGetUsage(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.position = token;
15
- input["limit"] = config.pageSize;
16
- if (config.client instanceof APIGatewayClient_1.APIGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.position;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetUsage = paginateGetUsage;
7
+ exports.paginateGetUsage = (0, core_1.createPaginator)(APIGatewayClient_1.APIGatewayClient, GetUsageCommand_1.GetUsageCommand, "position", "position", "limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetUsagePlanKeys = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const APIGatewayClient_1 = require("../APIGatewayClient");
5
6
  const GetUsagePlanKeysCommand_1 = require("../commands/GetUsagePlanKeysCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetUsagePlanKeysCommand_1.GetUsagePlanKeysCommand(input), ...args);
8
- };
9
- async function* paginateGetUsagePlanKeys(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.position = token;
15
- input["limit"] = config.pageSize;
16
- if (config.client instanceof APIGatewayClient_1.APIGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.position;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetUsagePlanKeys = paginateGetUsagePlanKeys;
7
+ exports.paginateGetUsagePlanKeys = (0, core_1.createPaginator)(APIGatewayClient_1.APIGatewayClient, GetUsagePlanKeysCommand_1.GetUsagePlanKeysCommand, "position", "position", "limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetUsagePlans = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const APIGatewayClient_1 = require("../APIGatewayClient");
5
6
  const GetUsagePlansCommand_1 = require("../commands/GetUsagePlansCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetUsagePlansCommand_1.GetUsagePlansCommand(input), ...args);
8
- };
9
- async function* paginateGetUsagePlans(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.position = token;
15
- input["limit"] = config.pageSize;
16
- if (config.client instanceof APIGatewayClient_1.APIGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.position;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetUsagePlans = paginateGetUsagePlans;
7
+ exports.paginateGetUsagePlans = (0, core_1.createPaginator)(APIGatewayClient_1.APIGatewayClient, GetUsagePlansCommand_1.GetUsagePlansCommand, "position", "position", "limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetVpcLinks = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const APIGatewayClient_1 = require("../APIGatewayClient");
5
6
  const GetVpcLinksCommand_1 = require("../commands/GetVpcLinksCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetVpcLinksCommand_1.GetVpcLinksCommand(input), ...args);
8
- };
9
- async function* paginateGetVpcLinks(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.position = token;
15
- input["limit"] = config.pageSize;
16
- if (config.client instanceof APIGatewayClient_1.APIGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.position;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetVpcLinks = paginateGetVpcLinks;
7
+ exports.paginateGetVpcLinks = (0, core_1.createPaginator)(APIGatewayClient_1.APIGatewayClient, GetVpcLinksCommand_1.GetVpcLinksCommand, "position", "position", "limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { APIGatewayClient } from "../APIGatewayClient";
2
3
  import { GetApiKeysCommand } from "../commands/GetApiKeysCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetApiKeysCommand(input), ...args);
5
- };
6
- export async function* paginateGetApiKeys(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.position = token;
12
- input["limit"] = config.pageSize;
13
- if (config.client instanceof APIGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.position;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetApiKeys = createPaginator(APIGatewayClient, GetApiKeysCommand, "position", "position", "limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { APIGatewayClient } from "../APIGatewayClient";
2
3
  import { GetBasePathMappingsCommand, } from "../commands/GetBasePathMappingsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetBasePathMappingsCommand(input), ...args);
5
- };
6
- export async function* paginateGetBasePathMappings(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.position = token;
12
- input["limit"] = config.pageSize;
13
- if (config.client instanceof APIGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.position;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetBasePathMappings = createPaginator(APIGatewayClient, GetBasePathMappingsCommand, "position", "position", "limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { APIGatewayClient } from "../APIGatewayClient";
2
3
  import { GetClientCertificatesCommand, } from "../commands/GetClientCertificatesCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetClientCertificatesCommand(input), ...args);
5
- };
6
- export async function* paginateGetClientCertificates(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.position = token;
12
- input["limit"] = config.pageSize;
13
- if (config.client instanceof APIGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.position;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetClientCertificates = createPaginator(APIGatewayClient, GetClientCertificatesCommand, "position", "position", "limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { APIGatewayClient } from "../APIGatewayClient";
2
3
  import { GetDeploymentsCommand, } from "../commands/GetDeploymentsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetDeploymentsCommand(input), ...args);
5
- };
6
- export async function* paginateGetDeployments(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.position = token;
12
- input["limit"] = config.pageSize;
13
- if (config.client instanceof APIGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.position;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetDeployments = createPaginator(APIGatewayClient, GetDeploymentsCommand, "position", "position", "limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { APIGatewayClient } from "../APIGatewayClient";
2
3
  import { GetDomainNamesCommand, } from "../commands/GetDomainNamesCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetDomainNamesCommand(input), ...args);
5
- };
6
- export async function* paginateGetDomainNames(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.position = token;
12
- input["limit"] = config.pageSize;
13
- if (config.client instanceof APIGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.position;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetDomainNames = createPaginator(APIGatewayClient, GetDomainNamesCommand, "position", "position", "limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { APIGatewayClient } from "../APIGatewayClient";
2
3
  import { GetModelsCommand } from "../commands/GetModelsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetModelsCommand(input), ...args);
5
- };
6
- export async function* paginateGetModels(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.position = token;
12
- input["limit"] = config.pageSize;
13
- if (config.client instanceof APIGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.position;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetModels = createPaginator(APIGatewayClient, GetModelsCommand, "position", "position", "limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { APIGatewayClient } from "../APIGatewayClient";
2
3
  import { GetResourcesCommand, } from "../commands/GetResourcesCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetResourcesCommand(input), ...args);
5
- };
6
- export async function* paginateGetResources(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.position = token;
12
- input["limit"] = config.pageSize;
13
- if (config.client instanceof APIGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.position;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetResources = createPaginator(APIGatewayClient, GetResourcesCommand, "position", "position", "limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { APIGatewayClient } from "../APIGatewayClient";
2
3
  import { GetRestApisCommand } from "../commands/GetRestApisCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetRestApisCommand(input), ...args);
5
- };
6
- export async function* paginateGetRestApis(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.position = token;
12
- input["limit"] = config.pageSize;
13
- if (config.client instanceof APIGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.position;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetRestApis = createPaginator(APIGatewayClient, GetRestApisCommand, "position", "position", "limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { APIGatewayClient } from "../APIGatewayClient";
2
3
  import { GetUsageCommand } from "../commands/GetUsageCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetUsageCommand(input), ...args);
5
- };
6
- export async function* paginateGetUsage(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.position = token;
12
- input["limit"] = config.pageSize;
13
- if (config.client instanceof APIGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.position;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetUsage = createPaginator(APIGatewayClient, GetUsageCommand, "position", "position", "limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { APIGatewayClient } from "../APIGatewayClient";
2
3
  import { GetUsagePlanKeysCommand, } from "../commands/GetUsagePlanKeysCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetUsagePlanKeysCommand(input), ...args);
5
- };
6
- export async function* paginateGetUsagePlanKeys(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.position = token;
12
- input["limit"] = config.pageSize;
13
- if (config.client instanceof APIGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.position;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetUsagePlanKeys = createPaginator(APIGatewayClient, GetUsagePlanKeysCommand, "position", "position", "limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { APIGatewayClient } from "../APIGatewayClient";
2
3
  import { GetUsagePlansCommand, } from "../commands/GetUsagePlansCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetUsagePlansCommand(input), ...args);
5
- };
6
- export async function* paginateGetUsagePlans(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.position = token;
12
- input["limit"] = config.pageSize;
13
- if (config.client instanceof APIGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.position;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetUsagePlans = createPaginator(APIGatewayClient, GetUsagePlansCommand, "position", "position", "limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { APIGatewayClient } from "../APIGatewayClient";
2
3
  import { GetVpcLinksCommand } from "../commands/GetVpcLinksCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetVpcLinksCommand(input), ...args);
5
- };
6
- export async function* paginateGetVpcLinks(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.position = token;
12
- input["limit"] = config.pageSize;
13
- if (config.client instanceof APIGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected APIGateway | APIGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.position;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetVpcLinks = createPaginator(APIGatewayClient, GetVpcLinksCommand, "position", "position", "limit");
@@ -4,4 +4,4 @@ import { APIGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetApiKeys(config: APIGatewayPaginationConfiguration, input: GetApiKeysCommandInput, ...additionalArguments: any): Paginator<GetApiKeysCommandOutput>;
7
+ export declare const paginateGetApiKeys: (config: APIGatewayPaginationConfiguration, input: GetApiKeysCommandInput, ...rest: any[]) => Paginator<GetApiKeysCommandOutput>;
@@ -4,4 +4,4 @@ import { APIGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetBasePathMappings(config: APIGatewayPaginationConfiguration, input: GetBasePathMappingsCommandInput, ...additionalArguments: any): Paginator<GetBasePathMappingsCommandOutput>;
7
+ export declare const paginateGetBasePathMappings: (config: APIGatewayPaginationConfiguration, input: GetBasePathMappingsCommandInput, ...rest: any[]) => Paginator<GetBasePathMappingsCommandOutput>;
@@ -4,4 +4,4 @@ import { APIGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetClientCertificates(config: APIGatewayPaginationConfiguration, input: GetClientCertificatesCommandInput, ...additionalArguments: any): Paginator<GetClientCertificatesCommandOutput>;
7
+ export declare const paginateGetClientCertificates: (config: APIGatewayPaginationConfiguration, input: GetClientCertificatesCommandInput, ...rest: any[]) => Paginator<GetClientCertificatesCommandOutput>;
@@ -4,4 +4,4 @@ import { APIGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetDeployments(config: APIGatewayPaginationConfiguration, input: GetDeploymentsCommandInput, ...additionalArguments: any): Paginator<GetDeploymentsCommandOutput>;
7
+ export declare const paginateGetDeployments: (config: APIGatewayPaginationConfiguration, input: GetDeploymentsCommandInput, ...rest: any[]) => Paginator<GetDeploymentsCommandOutput>;
@@ -4,4 +4,4 @@ import { APIGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetDomainNames(config: APIGatewayPaginationConfiguration, input: GetDomainNamesCommandInput, ...additionalArguments: any): Paginator<GetDomainNamesCommandOutput>;
7
+ export declare const paginateGetDomainNames: (config: APIGatewayPaginationConfiguration, input: GetDomainNamesCommandInput, ...rest: any[]) => Paginator<GetDomainNamesCommandOutput>;
@@ -4,4 +4,4 @@ import { APIGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetModels(config: APIGatewayPaginationConfiguration, input: GetModelsCommandInput, ...additionalArguments: any): Paginator<GetModelsCommandOutput>;
7
+ export declare const paginateGetModels: (config: APIGatewayPaginationConfiguration, input: GetModelsCommandInput, ...rest: any[]) => Paginator<GetModelsCommandOutput>;
@@ -4,4 +4,4 @@ import { APIGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetResources(config: APIGatewayPaginationConfiguration, input: GetResourcesCommandInput, ...additionalArguments: any): Paginator<GetResourcesCommandOutput>;
7
+ export declare const paginateGetResources: (config: APIGatewayPaginationConfiguration, input: GetResourcesCommandInput, ...rest: any[]) => Paginator<GetResourcesCommandOutput>;
@@ -4,4 +4,4 @@ import { APIGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetRestApis(config: APIGatewayPaginationConfiguration, input: GetRestApisCommandInput, ...additionalArguments: any): Paginator<GetRestApisCommandOutput>;
7
+ export declare const paginateGetRestApis: (config: APIGatewayPaginationConfiguration, input: GetRestApisCommandInput, ...rest: any[]) => Paginator<GetRestApisCommandOutput>;
@@ -4,4 +4,4 @@ import { APIGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetUsage(config: APIGatewayPaginationConfiguration, input: GetUsageCommandInput, ...additionalArguments: any): Paginator<GetUsageCommandOutput>;
7
+ export declare const paginateGetUsage: (config: APIGatewayPaginationConfiguration, input: GetUsageCommandInput, ...rest: any[]) => Paginator<GetUsageCommandOutput>;
@@ -4,4 +4,4 @@ import { APIGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetUsagePlanKeys(config: APIGatewayPaginationConfiguration, input: GetUsagePlanKeysCommandInput, ...additionalArguments: any): Paginator<GetUsagePlanKeysCommandOutput>;
7
+ export declare const paginateGetUsagePlanKeys: (config: APIGatewayPaginationConfiguration, input: GetUsagePlanKeysCommandInput, ...rest: any[]) => Paginator<GetUsagePlanKeysCommandOutput>;
@@ -4,4 +4,4 @@ import { APIGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetUsagePlans(config: APIGatewayPaginationConfiguration, input: GetUsagePlansCommandInput, ...additionalArguments: any): Paginator<GetUsagePlansCommandOutput>;
7
+ export declare const paginateGetUsagePlans: (config: APIGatewayPaginationConfiguration, input: GetUsagePlansCommandInput, ...rest: any[]) => Paginator<GetUsagePlansCommandOutput>;
@@ -4,4 +4,4 @@ import { APIGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetVpcLinks(config: APIGatewayPaginationConfiguration, input: GetVpcLinksCommandInput, ...additionalArguments: any): Paginator<GetVpcLinksCommandOutput>;
7
+ export declare const paginateGetVpcLinks: (config: APIGatewayPaginationConfiguration, input: GetVpcLinksCommandInput, ...rest: any[]) => Paginator<GetVpcLinksCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetApiKeysCommandOutput,
5
5
  } from "../commands/GetApiKeysCommand";
6
6
  import { APIGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetApiKeys(
7
+ export declare const paginateGetApiKeys: (
8
8
  config: APIGatewayPaginationConfiguration,
9
9
  input: GetApiKeysCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetApiKeysCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetApiKeysCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetBasePathMappingsCommandOutput,
5
5
  } from "../commands/GetBasePathMappingsCommand";
6
6
  import { APIGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetBasePathMappings(
7
+ export declare const paginateGetBasePathMappings: (
8
8
  config: APIGatewayPaginationConfiguration,
9
9
  input: GetBasePathMappingsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetBasePathMappingsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetBasePathMappingsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetClientCertificatesCommandOutput,
5
5
  } from "../commands/GetClientCertificatesCommand";
6
6
  import { APIGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetClientCertificates(
7
+ export declare const paginateGetClientCertificates: (
8
8
  config: APIGatewayPaginationConfiguration,
9
9
  input: GetClientCertificatesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetClientCertificatesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetClientCertificatesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetDeploymentsCommandOutput,
5
5
  } from "../commands/GetDeploymentsCommand";
6
6
  import { APIGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetDeployments(
7
+ export declare const paginateGetDeployments: (
8
8
  config: APIGatewayPaginationConfiguration,
9
9
  input: GetDeploymentsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetDeploymentsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetDeploymentsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetDomainNamesCommandOutput,
5
5
  } from "../commands/GetDomainNamesCommand";
6
6
  import { APIGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetDomainNames(
7
+ export declare const paginateGetDomainNames: (
8
8
  config: APIGatewayPaginationConfiguration,
9
9
  input: GetDomainNamesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetDomainNamesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetDomainNamesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetModelsCommandOutput,
5
5
  } from "../commands/GetModelsCommand";
6
6
  import { APIGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetModels(
7
+ export declare const paginateGetModels: (
8
8
  config: APIGatewayPaginationConfiguration,
9
9
  input: GetModelsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetModelsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetModelsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetResourcesCommandOutput,
5
5
  } from "../commands/GetResourcesCommand";
6
6
  import { APIGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetResources(
7
+ export declare const paginateGetResources: (
8
8
  config: APIGatewayPaginationConfiguration,
9
9
  input: GetResourcesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetResourcesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetResourcesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetRestApisCommandOutput,
5
5
  } from "../commands/GetRestApisCommand";
6
6
  import { APIGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetRestApis(
7
+ export declare const paginateGetRestApis: (
8
8
  config: APIGatewayPaginationConfiguration,
9
9
  input: GetRestApisCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetRestApisCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetRestApisCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetUsageCommandOutput,
5
5
  } from "../commands/GetUsageCommand";
6
6
  import { APIGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetUsage(
7
+ export declare const paginateGetUsage: (
8
8
  config: APIGatewayPaginationConfiguration,
9
9
  input: GetUsageCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetUsageCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetUsageCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetUsagePlanKeysCommandOutput,
5
5
  } from "../commands/GetUsagePlanKeysCommand";
6
6
  import { APIGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetUsagePlanKeys(
7
+ export declare const paginateGetUsagePlanKeys: (
8
8
  config: APIGatewayPaginationConfiguration,
9
9
  input: GetUsagePlanKeysCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetUsagePlanKeysCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetUsagePlanKeysCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetUsagePlansCommandOutput,
5
5
  } from "../commands/GetUsagePlansCommand";
6
6
  import { APIGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetUsagePlans(
7
+ export declare const paginateGetUsagePlans: (
8
8
  config: APIGatewayPaginationConfiguration,
9
9
  input: GetUsagePlansCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetUsagePlansCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetUsagePlansCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetVpcLinksCommandOutput,
5
5
  } from "../commands/GetVpcLinksCommand";
6
6
  import { APIGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetVpcLinks(
7
+ export declare const paginateGetVpcLinks: (
8
8
  config: APIGatewayPaginationConfiguration,
9
9
  input: GetVpcLinksCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetVpcLinksCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetVpcLinksCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-api-gateway",
3
3
  "description": "AWS SDK for JavaScript Api Gateway Client for Node.js, Browser and React Native",
4
- "version": "3.477.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,18 +20,18 @@
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.477.0",
23
+ "@aws-sdk/client-sts": "3.478.0",
24
24
  "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "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-sdk-api-gateway": "3.468.0",
30
30
  "@aws-sdk/middleware-signing": "3.468.0",
31
- "@aws-sdk/middleware-user-agent": "3.470.0",
31
+ "@aws-sdk/middleware-user-agent": "3.478.0",
32
32
  "@aws-sdk/region-config-resolver": "3.470.0",
33
33
  "@aws-sdk/types": "3.468.0",
34
- "@aws-sdk/util-endpoints": "3.470.0",
34
+ "@aws-sdk/util-endpoints": "3.478.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.468.0",
36
36
  "@aws-sdk/util-user-agent-node": "3.470.0",
37
37
  "@smithy/config-resolver": "^2.0.21",