@aws-sdk/client-wisdom 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.
- package/dist-cjs/pagination/ListAssistantAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAssistantsPaginator.js +2 -24
- package/dist-cjs/pagination/ListContentsPaginator.js +2 -24
- package/dist-cjs/pagination/ListImportJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListKnowledgeBasesPaginator.js +2 -24
- package/dist-cjs/pagination/ListQuickResponsesPaginator.js +2 -24
- package/dist-cjs/pagination/QueryAssistantPaginator.js +2 -24
- package/dist-cjs/pagination/SearchContentPaginator.js +2 -24
- package/dist-cjs/pagination/SearchQuickResponsesPaginator.js +2 -24
- package/dist-cjs/pagination/SearchSessionsPaginator.js +2 -24
- package/dist-es/pagination/ListAssistantAssociationsPaginator.js +2 -23
- package/dist-es/pagination/ListAssistantsPaginator.js +2 -23
- package/dist-es/pagination/ListContentsPaginator.js +2 -23
- package/dist-es/pagination/ListImportJobsPaginator.js +2 -23
- package/dist-es/pagination/ListKnowledgeBasesPaginator.js +2 -23
- package/dist-es/pagination/ListQuickResponsesPaginator.js +2 -23
- package/dist-es/pagination/QueryAssistantPaginator.js +2 -23
- package/dist-es/pagination/SearchContentPaginator.js +2 -23
- package/dist-es/pagination/SearchQuickResponsesPaginator.js +2 -23
- package/dist-es/pagination/SearchSessionsPaginator.js +2 -23
- package/dist-types/pagination/ListAssistantAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAssistantsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListContentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImportJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListKnowledgeBasesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListQuickResponsesPaginator.d.ts +1 -1
- package/dist-types/pagination/QueryAssistantPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchContentPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchQuickResponsesPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchSessionsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListAssistantAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAssistantsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListContentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImportJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListKnowledgeBasesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListQuickResponsesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/QueryAssistantPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchContentPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchQuickResponsesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchSessionsPaginator.d.ts +3 -3
- package/package.json +5 -5
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAssistantAssociations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListAssistantAssociationsCommand_1 = require("../commands/ListAssistantAssociationsCommand");
|
|
5
6
|
const WisdomClient_1 = require("../WisdomClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListAssistantAssociationsCommand_1.ListAssistantAssociationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListAssistantAssociations(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 WisdomClient_1.WisdomClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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.paginateListAssistantAssociations = paginateListAssistantAssociations;
|
|
7
|
+
exports.paginateListAssistantAssociations = (0, core_1.createPaginator)(WisdomClient_1.WisdomClient, ListAssistantAssociationsCommand_1.ListAssistantAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAssistants = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListAssistantsCommand_1 = require("../commands/ListAssistantsCommand");
|
|
5
6
|
const WisdomClient_1 = require("../WisdomClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListAssistantsCommand_1.ListAssistantsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListAssistants(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 WisdomClient_1.WisdomClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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.paginateListAssistants = paginateListAssistants;
|
|
7
|
+
exports.paginateListAssistants = (0, core_1.createPaginator)(WisdomClient_1.WisdomClient, ListAssistantsCommand_1.ListAssistantsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListContents = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListContentsCommand_1 = require("../commands/ListContentsCommand");
|
|
5
6
|
const WisdomClient_1 = require("../WisdomClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListContentsCommand_1.ListContentsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListContents(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 WisdomClient_1.WisdomClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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.paginateListContents = paginateListContents;
|
|
7
|
+
exports.paginateListContents = (0, core_1.createPaginator)(WisdomClient_1.WisdomClient, ListContentsCommand_1.ListContentsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListImportJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListImportJobsCommand_1 = require("../commands/ListImportJobsCommand");
|
|
5
6
|
const WisdomClient_1 = require("../WisdomClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListImportJobsCommand_1.ListImportJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListImportJobs(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 WisdomClient_1.WisdomClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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.paginateListImportJobs = paginateListImportJobs;
|
|
7
|
+
exports.paginateListImportJobs = (0, core_1.createPaginator)(WisdomClient_1.WisdomClient, ListImportJobsCommand_1.ListImportJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListKnowledgeBases = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListKnowledgeBasesCommand_1 = require("../commands/ListKnowledgeBasesCommand");
|
|
5
6
|
const WisdomClient_1 = require("../WisdomClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListKnowledgeBasesCommand_1.ListKnowledgeBasesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListKnowledgeBases(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 WisdomClient_1.WisdomClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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.paginateListKnowledgeBases = paginateListKnowledgeBases;
|
|
7
|
+
exports.paginateListKnowledgeBases = (0, core_1.createPaginator)(WisdomClient_1.WisdomClient, ListKnowledgeBasesCommand_1.ListKnowledgeBasesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListQuickResponses = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListQuickResponsesCommand_1 = require("../commands/ListQuickResponsesCommand");
|
|
5
6
|
const WisdomClient_1 = require("../WisdomClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListQuickResponsesCommand_1.ListQuickResponsesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListQuickResponses(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 WisdomClient_1.WisdomClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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.paginateListQuickResponses = paginateListQuickResponses;
|
|
7
|
+
exports.paginateListQuickResponses = (0, core_1.createPaginator)(WisdomClient_1.WisdomClient, ListQuickResponsesCommand_1.ListQuickResponsesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateQueryAssistant = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const QueryAssistantCommand_1 = require("../commands/QueryAssistantCommand");
|
|
5
6
|
const WisdomClient_1 = require("../WisdomClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new QueryAssistantCommand_1.QueryAssistantCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateQueryAssistant(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 WisdomClient_1.WisdomClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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.paginateQueryAssistant = paginateQueryAssistant;
|
|
7
|
+
exports.paginateQueryAssistant = (0, core_1.createPaginator)(WisdomClient_1.WisdomClient, QueryAssistantCommand_1.QueryAssistantCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateSearchContent = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const SearchContentCommand_1 = require("../commands/SearchContentCommand");
|
|
5
6
|
const WisdomClient_1 = require("../WisdomClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new SearchContentCommand_1.SearchContentCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateSearchContent(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 WisdomClient_1.WisdomClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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.paginateSearchContent = paginateSearchContent;
|
|
7
|
+
exports.paginateSearchContent = (0, core_1.createPaginator)(WisdomClient_1.WisdomClient, SearchContentCommand_1.SearchContentCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateSearchQuickResponses = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const SearchQuickResponsesCommand_1 = require("../commands/SearchQuickResponsesCommand");
|
|
5
6
|
const WisdomClient_1 = require("../WisdomClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new SearchQuickResponsesCommand_1.SearchQuickResponsesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateSearchQuickResponses(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 WisdomClient_1.WisdomClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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.paginateSearchQuickResponses = paginateSearchQuickResponses;
|
|
7
|
+
exports.paginateSearchQuickResponses = (0, core_1.createPaginator)(WisdomClient_1.WisdomClient, SearchQuickResponsesCommand_1.SearchQuickResponsesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateSearchSessions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const SearchSessionsCommand_1 = require("../commands/SearchSessionsCommand");
|
|
5
6
|
const WisdomClient_1 = require("../WisdomClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new SearchSessionsCommand_1.SearchSessionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateSearchSessions(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 WisdomClient_1.WisdomClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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.paginateSearchSessions = paginateSearchSessions;
|
|
7
|
+
exports.paginateSearchSessions = (0, core_1.createPaginator)(WisdomClient_1.WisdomClient, SearchSessionsCommand_1.SearchSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAssistantAssociationsCommand, } from "../commands/ListAssistantAssociationsCommand";
|
|
2
3
|
import { WisdomClient } from "../WisdomClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAssistantAssociationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAssistantAssociations(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 WisdomClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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 paginateListAssistantAssociations = createPaginator(WisdomClient, ListAssistantAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAssistantsCommand, } from "../commands/ListAssistantsCommand";
|
|
2
3
|
import { WisdomClient } from "../WisdomClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAssistantsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAssistants(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 WisdomClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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 paginateListAssistants = createPaginator(WisdomClient, ListAssistantsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListContentsCommand, } from "../commands/ListContentsCommand";
|
|
2
3
|
import { WisdomClient } from "../WisdomClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListContentsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListContents(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 WisdomClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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 paginateListContents = createPaginator(WisdomClient, ListContentsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListImportJobsCommand, } from "../commands/ListImportJobsCommand";
|
|
2
3
|
import { WisdomClient } from "../WisdomClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListImportJobsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListImportJobs(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 WisdomClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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 paginateListImportJobs = createPaginator(WisdomClient, ListImportJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListKnowledgeBasesCommand, } from "../commands/ListKnowledgeBasesCommand";
|
|
2
3
|
import { WisdomClient } from "../WisdomClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListKnowledgeBasesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListKnowledgeBases(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 WisdomClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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 paginateListKnowledgeBases = createPaginator(WisdomClient, ListKnowledgeBasesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListQuickResponsesCommand, } from "../commands/ListQuickResponsesCommand";
|
|
2
3
|
import { WisdomClient } from "../WisdomClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListQuickResponsesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListQuickResponses(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 WisdomClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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 paginateListQuickResponses = createPaginator(WisdomClient, ListQuickResponsesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { QueryAssistantCommand, } from "../commands/QueryAssistantCommand";
|
|
2
3
|
import { WisdomClient } from "../WisdomClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new QueryAssistantCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateQueryAssistant(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 WisdomClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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 paginateQueryAssistant = createPaginator(WisdomClient, QueryAssistantCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { SearchContentCommand, } from "../commands/SearchContentCommand";
|
|
2
3
|
import { WisdomClient } from "../WisdomClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new SearchContentCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateSearchContent(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 WisdomClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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 paginateSearchContent = createPaginator(WisdomClient, SearchContentCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { SearchQuickResponsesCommand, } from "../commands/SearchQuickResponsesCommand";
|
|
2
3
|
import { WisdomClient } from "../WisdomClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new SearchQuickResponsesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateSearchQuickResponses(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 WisdomClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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 paginateSearchQuickResponses = createPaginator(WisdomClient, SearchQuickResponsesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { SearchSessionsCommand, } from "../commands/SearchSessionsCommand";
|
|
2
3
|
import { WisdomClient } from "../WisdomClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new SearchSessionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateSearchSessions(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 WisdomClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Wisdom | WisdomClient");
|
|
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 paginateSearchSessions = createPaginator(WisdomClient, SearchSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -4,4 +4,4 @@ import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAssistantAssociations: (config: WisdomPaginationConfiguration, input: ListAssistantAssociationsCommandInput, ...rest: any[]) => Paginator<ListAssistantAssociationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAssistants: (config: WisdomPaginationConfiguration, input: ListAssistantsCommandInput, ...rest: any[]) => Paginator<ListAssistantsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListContents: (config: WisdomPaginationConfiguration, input: ListContentsCommandInput, ...rest: any[]) => Paginator<ListContentsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListImportJobs: (config: WisdomPaginationConfiguration, input: ListImportJobsCommandInput, ...rest: any[]) => Paginator<ListImportJobsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListKnowledgeBases: (config: WisdomPaginationConfiguration, input: ListKnowledgeBasesCommandInput, ...rest: any[]) => Paginator<ListKnowledgeBasesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListQuickResponses: (config: WisdomPaginationConfiguration, input: ListQuickResponsesCommandInput, ...rest: any[]) => Paginator<ListQuickResponsesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateQueryAssistant: (config: WisdomPaginationConfiguration, input: QueryAssistantCommandInput, ...rest: any[]) => Paginator<QueryAssistantCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateSearchContent: (config: WisdomPaginationConfiguration, input: SearchContentCommandInput, ...rest: any[]) => Paginator<SearchContentCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateSearchQuickResponses: (config: WisdomPaginationConfiguration, input: SearchQuickResponsesCommandInput, ...rest: any[]) => Paginator<SearchQuickResponsesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateSearchSessions: (config: WisdomPaginationConfiguration, input: SearchSessionsCommandInput, ...rest: any[]) => Paginator<SearchSessionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListAssistantAssociationsCommandOutput,
|
|
5
5
|
} from "../commands/ListAssistantAssociationsCommand";
|
|
6
6
|
import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAssistantAssociations: (
|
|
8
8
|
config: WisdomPaginationConfiguration,
|
|
9
9
|
input: ListAssistantAssociationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAssistantAssociationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListAssistantsCommandOutput,
|
|
5
5
|
} from "../commands/ListAssistantsCommand";
|
|
6
6
|
import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAssistants: (
|
|
8
8
|
config: WisdomPaginationConfiguration,
|
|
9
9
|
input: ListAssistantsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAssistantsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListContentsCommandOutput,
|
|
5
5
|
} from "../commands/ListContentsCommand";
|
|
6
6
|
import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListContents: (
|
|
8
8
|
config: WisdomPaginationConfiguration,
|
|
9
9
|
input: ListContentsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListContentsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListImportJobsCommandOutput,
|
|
5
5
|
} from "../commands/ListImportJobsCommand";
|
|
6
6
|
import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListImportJobs: (
|
|
8
8
|
config: WisdomPaginationConfiguration,
|
|
9
9
|
input: ListImportJobsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListImportJobsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListKnowledgeBasesCommandOutput,
|
|
5
5
|
} from "../commands/ListKnowledgeBasesCommand";
|
|
6
6
|
import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListKnowledgeBases: (
|
|
8
8
|
config: WisdomPaginationConfiguration,
|
|
9
9
|
input: ListKnowledgeBasesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListKnowledgeBasesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListQuickResponsesCommandOutput,
|
|
5
5
|
} from "../commands/ListQuickResponsesCommand";
|
|
6
6
|
import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListQuickResponses: (
|
|
8
8
|
config: WisdomPaginationConfiguration,
|
|
9
9
|
input: ListQuickResponsesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListQuickResponsesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
QueryAssistantCommandOutput,
|
|
5
5
|
} from "../commands/QueryAssistantCommand";
|
|
6
6
|
import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateQueryAssistant: (
|
|
8
8
|
config: WisdomPaginationConfiguration,
|
|
9
9
|
input: QueryAssistantCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<QueryAssistantCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
SearchContentCommandOutput,
|
|
5
5
|
} from "../commands/SearchContentCommand";
|
|
6
6
|
import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateSearchContent: (
|
|
8
8
|
config: WisdomPaginationConfiguration,
|
|
9
9
|
input: SearchContentCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<SearchContentCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
SearchQuickResponsesCommandOutput,
|
|
5
5
|
} from "../commands/SearchQuickResponsesCommand";
|
|
6
6
|
import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateSearchQuickResponses: (
|
|
8
8
|
config: WisdomPaginationConfiguration,
|
|
9
9
|
input: SearchQuickResponsesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<SearchQuickResponsesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
SearchSessionsCommandOutput,
|
|
5
5
|
} from "../commands/SearchSessionsCommand";
|
|
6
6
|
import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateSearchSessions: (
|
|
8
8
|
config: WisdomPaginationConfiguration,
|
|
9
9
|
input: SearchSessionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<SearchSessionsCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wisdom",
|
|
3
3
|
"description": "AWS SDK for JavaScript Wisdom Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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.
|
|
23
|
+
"@aws-sdk/client-sts": "3.478.0",
|
|
24
24
|
"@aws-sdk/core": "3.477.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
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.
|
|
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.
|
|
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",
|