@aws-sdk/client-lex-model-building-service 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 (45) hide show
  1. package/dist-cjs/pagination/GetBotAliasesPaginator.js +2 -24
  2. package/dist-cjs/pagination/GetBotChannelAssociationsPaginator.js +2 -24
  3. package/dist-cjs/pagination/GetBotVersionsPaginator.js +2 -24
  4. package/dist-cjs/pagination/GetBotsPaginator.js +2 -24
  5. package/dist-cjs/pagination/GetBuiltinIntentsPaginator.js +2 -24
  6. package/dist-cjs/pagination/GetBuiltinSlotTypesPaginator.js +2 -24
  7. package/dist-cjs/pagination/GetIntentVersionsPaginator.js +2 -24
  8. package/dist-cjs/pagination/GetIntentsPaginator.js +2 -24
  9. package/dist-cjs/pagination/GetMigrationsPaginator.js +2 -24
  10. package/dist-cjs/pagination/GetSlotTypeVersionsPaginator.js +2 -24
  11. package/dist-cjs/pagination/GetSlotTypesPaginator.js +2 -24
  12. package/dist-es/pagination/GetBotAliasesPaginator.js +2 -23
  13. package/dist-es/pagination/GetBotChannelAssociationsPaginator.js +2 -23
  14. package/dist-es/pagination/GetBotVersionsPaginator.js +2 -23
  15. package/dist-es/pagination/GetBotsPaginator.js +2 -23
  16. package/dist-es/pagination/GetBuiltinIntentsPaginator.js +2 -23
  17. package/dist-es/pagination/GetBuiltinSlotTypesPaginator.js +2 -23
  18. package/dist-es/pagination/GetIntentVersionsPaginator.js +2 -23
  19. package/dist-es/pagination/GetIntentsPaginator.js +2 -23
  20. package/dist-es/pagination/GetMigrationsPaginator.js +2 -23
  21. package/dist-es/pagination/GetSlotTypeVersionsPaginator.js +2 -23
  22. package/dist-es/pagination/GetSlotTypesPaginator.js +2 -23
  23. package/dist-types/pagination/GetBotAliasesPaginator.d.ts +1 -1
  24. package/dist-types/pagination/GetBotChannelAssociationsPaginator.d.ts +1 -1
  25. package/dist-types/pagination/GetBotVersionsPaginator.d.ts +1 -1
  26. package/dist-types/pagination/GetBotsPaginator.d.ts +1 -1
  27. package/dist-types/pagination/GetBuiltinIntentsPaginator.d.ts +1 -1
  28. package/dist-types/pagination/GetBuiltinSlotTypesPaginator.d.ts +1 -1
  29. package/dist-types/pagination/GetIntentVersionsPaginator.d.ts +1 -1
  30. package/dist-types/pagination/GetIntentsPaginator.d.ts +1 -1
  31. package/dist-types/pagination/GetMigrationsPaginator.d.ts +1 -1
  32. package/dist-types/pagination/GetSlotTypeVersionsPaginator.d.ts +1 -1
  33. package/dist-types/pagination/GetSlotTypesPaginator.d.ts +1 -1
  34. package/dist-types/ts3.4/pagination/GetBotAliasesPaginator.d.ts +3 -3
  35. package/dist-types/ts3.4/pagination/GetBotChannelAssociationsPaginator.d.ts +3 -3
  36. package/dist-types/ts3.4/pagination/GetBotVersionsPaginator.d.ts +3 -3
  37. package/dist-types/ts3.4/pagination/GetBotsPaginator.d.ts +3 -3
  38. package/dist-types/ts3.4/pagination/GetBuiltinIntentsPaginator.d.ts +3 -3
  39. package/dist-types/ts3.4/pagination/GetBuiltinSlotTypesPaginator.d.ts +3 -3
  40. package/dist-types/ts3.4/pagination/GetIntentVersionsPaginator.d.ts +3 -3
  41. package/dist-types/ts3.4/pagination/GetIntentsPaginator.d.ts +3 -3
  42. package/dist-types/ts3.4/pagination/GetMigrationsPaginator.d.ts +3 -3
  43. package/dist-types/ts3.4/pagination/GetSlotTypeVersionsPaginator.d.ts +3 -3
  44. package/dist-types/ts3.4/pagination/GetSlotTypesPaginator.d.ts +3 -3
  45. package/package.json +5 -5
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetBotAliases = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetBotAliasesCommand_1 = require("../commands/GetBotAliasesCommand");
5
6
  const LexModelBuildingServiceClient_1 = require("../LexModelBuildingServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetBotAliasesCommand_1.GetBotAliasesCommand(input), ...args);
8
- };
9
- async function* paginateGetBotAliases(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 LexModelBuildingServiceClient_1.LexModelBuildingServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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.paginateGetBotAliases = paginateGetBotAliases;
7
+ exports.paginateGetBotAliases = (0, core_1.createPaginator)(LexModelBuildingServiceClient_1.LexModelBuildingServiceClient, GetBotAliasesCommand_1.GetBotAliasesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetBotChannelAssociations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetBotChannelAssociationsCommand_1 = require("../commands/GetBotChannelAssociationsCommand");
5
6
  const LexModelBuildingServiceClient_1 = require("../LexModelBuildingServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetBotChannelAssociationsCommand_1.GetBotChannelAssociationsCommand(input), ...args);
8
- };
9
- async function* paginateGetBotChannelAssociations(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 LexModelBuildingServiceClient_1.LexModelBuildingServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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.paginateGetBotChannelAssociations = paginateGetBotChannelAssociations;
7
+ exports.paginateGetBotChannelAssociations = (0, core_1.createPaginator)(LexModelBuildingServiceClient_1.LexModelBuildingServiceClient, GetBotChannelAssociationsCommand_1.GetBotChannelAssociationsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetBotVersions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetBotVersionsCommand_1 = require("../commands/GetBotVersionsCommand");
5
6
  const LexModelBuildingServiceClient_1 = require("../LexModelBuildingServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetBotVersionsCommand_1.GetBotVersionsCommand(input), ...args);
8
- };
9
- async function* paginateGetBotVersions(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 LexModelBuildingServiceClient_1.LexModelBuildingServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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.paginateGetBotVersions = paginateGetBotVersions;
7
+ exports.paginateGetBotVersions = (0, core_1.createPaginator)(LexModelBuildingServiceClient_1.LexModelBuildingServiceClient, GetBotVersionsCommand_1.GetBotVersionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetBots = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetBotsCommand_1 = require("../commands/GetBotsCommand");
5
6
  const LexModelBuildingServiceClient_1 = require("../LexModelBuildingServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetBotsCommand_1.GetBotsCommand(input), ...args);
8
- };
9
- async function* paginateGetBots(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 LexModelBuildingServiceClient_1.LexModelBuildingServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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.paginateGetBots = paginateGetBots;
7
+ exports.paginateGetBots = (0, core_1.createPaginator)(LexModelBuildingServiceClient_1.LexModelBuildingServiceClient, GetBotsCommand_1.GetBotsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetBuiltinIntents = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetBuiltinIntentsCommand_1 = require("../commands/GetBuiltinIntentsCommand");
5
6
  const LexModelBuildingServiceClient_1 = require("../LexModelBuildingServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetBuiltinIntentsCommand_1.GetBuiltinIntentsCommand(input), ...args);
8
- };
9
- async function* paginateGetBuiltinIntents(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 LexModelBuildingServiceClient_1.LexModelBuildingServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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.paginateGetBuiltinIntents = paginateGetBuiltinIntents;
7
+ exports.paginateGetBuiltinIntents = (0, core_1.createPaginator)(LexModelBuildingServiceClient_1.LexModelBuildingServiceClient, GetBuiltinIntentsCommand_1.GetBuiltinIntentsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetBuiltinSlotTypes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetBuiltinSlotTypesCommand_1 = require("../commands/GetBuiltinSlotTypesCommand");
5
6
  const LexModelBuildingServiceClient_1 = require("../LexModelBuildingServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetBuiltinSlotTypesCommand_1.GetBuiltinSlotTypesCommand(input), ...args);
8
- };
9
- async function* paginateGetBuiltinSlotTypes(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 LexModelBuildingServiceClient_1.LexModelBuildingServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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.paginateGetBuiltinSlotTypes = paginateGetBuiltinSlotTypes;
7
+ exports.paginateGetBuiltinSlotTypes = (0, core_1.createPaginator)(LexModelBuildingServiceClient_1.LexModelBuildingServiceClient, GetBuiltinSlotTypesCommand_1.GetBuiltinSlotTypesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetIntentVersions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetIntentVersionsCommand_1 = require("../commands/GetIntentVersionsCommand");
5
6
  const LexModelBuildingServiceClient_1 = require("../LexModelBuildingServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetIntentVersionsCommand_1.GetIntentVersionsCommand(input), ...args);
8
- };
9
- async function* paginateGetIntentVersions(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 LexModelBuildingServiceClient_1.LexModelBuildingServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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.paginateGetIntentVersions = paginateGetIntentVersions;
7
+ exports.paginateGetIntentVersions = (0, core_1.createPaginator)(LexModelBuildingServiceClient_1.LexModelBuildingServiceClient, GetIntentVersionsCommand_1.GetIntentVersionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetIntents = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetIntentsCommand_1 = require("../commands/GetIntentsCommand");
5
6
  const LexModelBuildingServiceClient_1 = require("../LexModelBuildingServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetIntentsCommand_1.GetIntentsCommand(input), ...args);
8
- };
9
- async function* paginateGetIntents(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 LexModelBuildingServiceClient_1.LexModelBuildingServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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.paginateGetIntents = paginateGetIntents;
7
+ exports.paginateGetIntents = (0, core_1.createPaginator)(LexModelBuildingServiceClient_1.LexModelBuildingServiceClient, GetIntentsCommand_1.GetIntentsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetMigrations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetMigrationsCommand_1 = require("../commands/GetMigrationsCommand");
5
6
  const LexModelBuildingServiceClient_1 = require("../LexModelBuildingServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetMigrationsCommand_1.GetMigrationsCommand(input), ...args);
8
- };
9
- async function* paginateGetMigrations(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 LexModelBuildingServiceClient_1.LexModelBuildingServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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.paginateGetMigrations = paginateGetMigrations;
7
+ exports.paginateGetMigrations = (0, core_1.createPaginator)(LexModelBuildingServiceClient_1.LexModelBuildingServiceClient, GetMigrationsCommand_1.GetMigrationsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetSlotTypeVersions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetSlotTypeVersionsCommand_1 = require("../commands/GetSlotTypeVersionsCommand");
5
6
  const LexModelBuildingServiceClient_1 = require("../LexModelBuildingServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetSlotTypeVersionsCommand_1.GetSlotTypeVersionsCommand(input), ...args);
8
- };
9
- async function* paginateGetSlotTypeVersions(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 LexModelBuildingServiceClient_1.LexModelBuildingServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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.paginateGetSlotTypeVersions = paginateGetSlotTypeVersions;
7
+ exports.paginateGetSlotTypeVersions = (0, core_1.createPaginator)(LexModelBuildingServiceClient_1.LexModelBuildingServiceClient, GetSlotTypeVersionsCommand_1.GetSlotTypeVersionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetSlotTypes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetSlotTypesCommand_1 = require("../commands/GetSlotTypesCommand");
5
6
  const LexModelBuildingServiceClient_1 = require("../LexModelBuildingServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetSlotTypesCommand_1.GetSlotTypesCommand(input), ...args);
8
- };
9
- async function* paginateGetSlotTypes(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 LexModelBuildingServiceClient_1.LexModelBuildingServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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.paginateGetSlotTypes = paginateGetSlotTypes;
7
+ exports.paginateGetSlotTypes = (0, core_1.createPaginator)(LexModelBuildingServiceClient_1.LexModelBuildingServiceClient, GetSlotTypesCommand_1.GetSlotTypesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetBotAliasesCommand, } from "../commands/GetBotAliasesCommand";
2
3
  import { LexModelBuildingServiceClient } from "../LexModelBuildingServiceClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetBotAliasesCommand(input), ...args);
5
- };
6
- export async function* paginateGetBotAliases(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 LexModelBuildingServiceClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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 paginateGetBotAliases = createPaginator(LexModelBuildingServiceClient, GetBotAliasesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetBotChannelAssociationsCommand, } from "../commands/GetBotChannelAssociationsCommand";
2
3
  import { LexModelBuildingServiceClient } from "../LexModelBuildingServiceClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetBotChannelAssociationsCommand(input), ...args);
5
- };
6
- export async function* paginateGetBotChannelAssociations(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 LexModelBuildingServiceClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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 paginateGetBotChannelAssociations = createPaginator(LexModelBuildingServiceClient, GetBotChannelAssociationsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetBotVersionsCommand, } from "../commands/GetBotVersionsCommand";
2
3
  import { LexModelBuildingServiceClient } from "../LexModelBuildingServiceClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetBotVersionsCommand(input), ...args);
5
- };
6
- export async function* paginateGetBotVersions(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 LexModelBuildingServiceClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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 paginateGetBotVersions = createPaginator(LexModelBuildingServiceClient, GetBotVersionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetBotsCommand } from "../commands/GetBotsCommand";
2
3
  import { LexModelBuildingServiceClient } from "../LexModelBuildingServiceClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetBotsCommand(input), ...args);
5
- };
6
- export async function* paginateGetBots(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 LexModelBuildingServiceClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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 paginateGetBots = createPaginator(LexModelBuildingServiceClient, GetBotsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetBuiltinIntentsCommand, } from "../commands/GetBuiltinIntentsCommand";
2
3
  import { LexModelBuildingServiceClient } from "../LexModelBuildingServiceClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetBuiltinIntentsCommand(input), ...args);
5
- };
6
- export async function* paginateGetBuiltinIntents(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 LexModelBuildingServiceClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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 paginateGetBuiltinIntents = createPaginator(LexModelBuildingServiceClient, GetBuiltinIntentsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetBuiltinSlotTypesCommand, } from "../commands/GetBuiltinSlotTypesCommand";
2
3
  import { LexModelBuildingServiceClient } from "../LexModelBuildingServiceClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetBuiltinSlotTypesCommand(input), ...args);
5
- };
6
- export async function* paginateGetBuiltinSlotTypes(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 LexModelBuildingServiceClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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 paginateGetBuiltinSlotTypes = createPaginator(LexModelBuildingServiceClient, GetBuiltinSlotTypesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetIntentVersionsCommand, } from "../commands/GetIntentVersionsCommand";
2
3
  import { LexModelBuildingServiceClient } from "../LexModelBuildingServiceClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetIntentVersionsCommand(input), ...args);
5
- };
6
- export async function* paginateGetIntentVersions(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 LexModelBuildingServiceClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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 paginateGetIntentVersions = createPaginator(LexModelBuildingServiceClient, GetIntentVersionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetIntentsCommand } from "../commands/GetIntentsCommand";
2
3
  import { LexModelBuildingServiceClient } from "../LexModelBuildingServiceClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetIntentsCommand(input), ...args);
5
- };
6
- export async function* paginateGetIntents(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 LexModelBuildingServiceClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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 paginateGetIntents = createPaginator(LexModelBuildingServiceClient, GetIntentsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetMigrationsCommand, } from "../commands/GetMigrationsCommand";
2
3
  import { LexModelBuildingServiceClient } from "../LexModelBuildingServiceClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetMigrationsCommand(input), ...args);
5
- };
6
- export async function* paginateGetMigrations(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 LexModelBuildingServiceClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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 paginateGetMigrations = createPaginator(LexModelBuildingServiceClient, GetMigrationsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetSlotTypeVersionsCommand, } from "../commands/GetSlotTypeVersionsCommand";
2
3
  import { LexModelBuildingServiceClient } from "../LexModelBuildingServiceClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetSlotTypeVersionsCommand(input), ...args);
5
- };
6
- export async function* paginateGetSlotTypeVersions(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 LexModelBuildingServiceClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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 paginateGetSlotTypeVersions = createPaginator(LexModelBuildingServiceClient, GetSlotTypeVersionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetSlotTypesCommand, } from "../commands/GetSlotTypesCommand";
2
3
  import { LexModelBuildingServiceClient } from "../LexModelBuildingServiceClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetSlotTypesCommand(input), ...args);
5
- };
6
- export async function* paginateGetSlotTypes(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 LexModelBuildingServiceClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected LexModelBuildingService | LexModelBuildingServiceClient");
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 paginateGetSlotTypes = createPaginator(LexModelBuildingServiceClient, GetSlotTypesCommand, "nextToken", "nextToken", "maxResults");
@@ -4,4 +4,4 @@ import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetBotAliases(config: LexModelBuildingServicePaginationConfiguration, input: GetBotAliasesCommandInput, ...additionalArguments: any): Paginator<GetBotAliasesCommandOutput>;
7
+ export declare const paginateGetBotAliases: (config: LexModelBuildingServicePaginationConfiguration, input: GetBotAliasesCommandInput, ...rest: any[]) => Paginator<GetBotAliasesCommandOutput>;
@@ -4,4 +4,4 @@ import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetBotChannelAssociations(config: LexModelBuildingServicePaginationConfiguration, input: GetBotChannelAssociationsCommandInput, ...additionalArguments: any): Paginator<GetBotChannelAssociationsCommandOutput>;
7
+ export declare const paginateGetBotChannelAssociations: (config: LexModelBuildingServicePaginationConfiguration, input: GetBotChannelAssociationsCommandInput, ...rest: any[]) => Paginator<GetBotChannelAssociationsCommandOutput>;
@@ -4,4 +4,4 @@ import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetBotVersions(config: LexModelBuildingServicePaginationConfiguration, input: GetBotVersionsCommandInput, ...additionalArguments: any): Paginator<GetBotVersionsCommandOutput>;
7
+ export declare const paginateGetBotVersions: (config: LexModelBuildingServicePaginationConfiguration, input: GetBotVersionsCommandInput, ...rest: any[]) => Paginator<GetBotVersionsCommandOutput>;
@@ -4,4 +4,4 @@ import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetBots(config: LexModelBuildingServicePaginationConfiguration, input: GetBotsCommandInput, ...additionalArguments: any): Paginator<GetBotsCommandOutput>;
7
+ export declare const paginateGetBots: (config: LexModelBuildingServicePaginationConfiguration, input: GetBotsCommandInput, ...rest: any[]) => Paginator<GetBotsCommandOutput>;
@@ -4,4 +4,4 @@ import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetBuiltinIntents(config: LexModelBuildingServicePaginationConfiguration, input: GetBuiltinIntentsCommandInput, ...additionalArguments: any): Paginator<GetBuiltinIntentsCommandOutput>;
7
+ export declare const paginateGetBuiltinIntents: (config: LexModelBuildingServicePaginationConfiguration, input: GetBuiltinIntentsCommandInput, ...rest: any[]) => Paginator<GetBuiltinIntentsCommandOutput>;
@@ -4,4 +4,4 @@ import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetBuiltinSlotTypes(config: LexModelBuildingServicePaginationConfiguration, input: GetBuiltinSlotTypesCommandInput, ...additionalArguments: any): Paginator<GetBuiltinSlotTypesCommandOutput>;
7
+ export declare const paginateGetBuiltinSlotTypes: (config: LexModelBuildingServicePaginationConfiguration, input: GetBuiltinSlotTypesCommandInput, ...rest: any[]) => Paginator<GetBuiltinSlotTypesCommandOutput>;
@@ -4,4 +4,4 @@ import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetIntentVersions(config: LexModelBuildingServicePaginationConfiguration, input: GetIntentVersionsCommandInput, ...additionalArguments: any): Paginator<GetIntentVersionsCommandOutput>;
7
+ export declare const paginateGetIntentVersions: (config: LexModelBuildingServicePaginationConfiguration, input: GetIntentVersionsCommandInput, ...rest: any[]) => Paginator<GetIntentVersionsCommandOutput>;
@@ -4,4 +4,4 @@ import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetIntents(config: LexModelBuildingServicePaginationConfiguration, input: GetIntentsCommandInput, ...additionalArguments: any): Paginator<GetIntentsCommandOutput>;
7
+ export declare const paginateGetIntents: (config: LexModelBuildingServicePaginationConfiguration, input: GetIntentsCommandInput, ...rest: any[]) => Paginator<GetIntentsCommandOutput>;
@@ -4,4 +4,4 @@ import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetMigrations(config: LexModelBuildingServicePaginationConfiguration, input: GetMigrationsCommandInput, ...additionalArguments: any): Paginator<GetMigrationsCommandOutput>;
7
+ export declare const paginateGetMigrations: (config: LexModelBuildingServicePaginationConfiguration, input: GetMigrationsCommandInput, ...rest: any[]) => Paginator<GetMigrationsCommandOutput>;
@@ -4,4 +4,4 @@ import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetSlotTypeVersions(config: LexModelBuildingServicePaginationConfiguration, input: GetSlotTypeVersionsCommandInput, ...additionalArguments: any): Paginator<GetSlotTypeVersionsCommandOutput>;
7
+ export declare const paginateGetSlotTypeVersions: (config: LexModelBuildingServicePaginationConfiguration, input: GetSlotTypeVersionsCommandInput, ...rest: any[]) => Paginator<GetSlotTypeVersionsCommandOutput>;
@@ -4,4 +4,4 @@ import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetSlotTypes(config: LexModelBuildingServicePaginationConfiguration, input: GetSlotTypesCommandInput, ...additionalArguments: any): Paginator<GetSlotTypesCommandOutput>;
7
+ export declare const paginateGetSlotTypes: (config: LexModelBuildingServicePaginationConfiguration, input: GetSlotTypesCommandInput, ...rest: any[]) => Paginator<GetSlotTypesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetBotAliasesCommandOutput,
5
5
  } from "../commands/GetBotAliasesCommand";
6
6
  import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetBotAliases(
7
+ export declare const paginateGetBotAliases: (
8
8
  config: LexModelBuildingServicePaginationConfiguration,
9
9
  input: GetBotAliasesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetBotAliasesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetBotAliasesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetBotChannelAssociationsCommandOutput,
5
5
  } from "../commands/GetBotChannelAssociationsCommand";
6
6
  import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetBotChannelAssociations(
7
+ export declare const paginateGetBotChannelAssociations: (
8
8
  config: LexModelBuildingServicePaginationConfiguration,
9
9
  input: GetBotChannelAssociationsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetBotChannelAssociationsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetBotChannelAssociationsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetBotVersionsCommandOutput,
5
5
  } from "../commands/GetBotVersionsCommand";
6
6
  import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetBotVersions(
7
+ export declare const paginateGetBotVersions: (
8
8
  config: LexModelBuildingServicePaginationConfiguration,
9
9
  input: GetBotVersionsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetBotVersionsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetBotVersionsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetBotsCommandOutput,
5
5
  } from "../commands/GetBotsCommand";
6
6
  import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetBots(
7
+ export declare const paginateGetBots: (
8
8
  config: LexModelBuildingServicePaginationConfiguration,
9
9
  input: GetBotsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetBotsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetBotsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetBuiltinIntentsCommandOutput,
5
5
  } from "../commands/GetBuiltinIntentsCommand";
6
6
  import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetBuiltinIntents(
7
+ export declare const paginateGetBuiltinIntents: (
8
8
  config: LexModelBuildingServicePaginationConfiguration,
9
9
  input: GetBuiltinIntentsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetBuiltinIntentsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetBuiltinIntentsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetBuiltinSlotTypesCommandOutput,
5
5
  } from "../commands/GetBuiltinSlotTypesCommand";
6
6
  import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetBuiltinSlotTypes(
7
+ export declare const paginateGetBuiltinSlotTypes: (
8
8
  config: LexModelBuildingServicePaginationConfiguration,
9
9
  input: GetBuiltinSlotTypesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetBuiltinSlotTypesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetBuiltinSlotTypesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetIntentVersionsCommandOutput,
5
5
  } from "../commands/GetIntentVersionsCommand";
6
6
  import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetIntentVersions(
7
+ export declare const paginateGetIntentVersions: (
8
8
  config: LexModelBuildingServicePaginationConfiguration,
9
9
  input: GetIntentVersionsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetIntentVersionsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetIntentVersionsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetIntentsCommandOutput,
5
5
  } from "../commands/GetIntentsCommand";
6
6
  import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetIntents(
7
+ export declare const paginateGetIntents: (
8
8
  config: LexModelBuildingServicePaginationConfiguration,
9
9
  input: GetIntentsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetIntentsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetIntentsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetMigrationsCommandOutput,
5
5
  } from "../commands/GetMigrationsCommand";
6
6
  import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetMigrations(
7
+ export declare const paginateGetMigrations: (
8
8
  config: LexModelBuildingServicePaginationConfiguration,
9
9
  input: GetMigrationsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetMigrationsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetMigrationsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetSlotTypeVersionsCommandOutput,
5
5
  } from "../commands/GetSlotTypeVersionsCommand";
6
6
  import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetSlotTypeVersions(
7
+ export declare const paginateGetSlotTypeVersions: (
8
8
  config: LexModelBuildingServicePaginationConfiguration,
9
9
  input: GetSlotTypeVersionsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetSlotTypeVersionsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetSlotTypeVersionsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetSlotTypesCommandOutput,
5
5
  } from "../commands/GetSlotTypesCommand";
6
6
  import { LexModelBuildingServicePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetSlotTypes(
7
+ export declare const paginateGetSlotTypes: (
8
8
  config: LexModelBuildingServicePaginationConfiguration,
9
9
  input: GetSlotTypesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetSlotTypesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetSlotTypesCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lex-model-building-service",
3
3
  "description": "AWS SDK for JavaScript Lex Model Building Service 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,17 +20,17 @@
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-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",