@aws-sdk/client-comprehend 3.476.0 → 3.478.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/pagination/ListDatasetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDocumentClassificationJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDocumentClassifierSummariesPaginator.js +2 -24
- package/dist-cjs/pagination/ListDocumentClassifiersPaginator.js +2 -24
- package/dist-cjs/pagination/ListDominantLanguageDetectionJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEndpointsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEntitiesDetectionJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEntityRecognizerSummariesPaginator.js +2 -24
- package/dist-cjs/pagination/ListEntityRecognizersPaginator.js +2 -24
- package/dist-cjs/pagination/ListEventsDetectionJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFlywheelIterationHistoryPaginator.js +2 -24
- package/dist-cjs/pagination/ListFlywheelsPaginator.js +2 -24
- package/dist-cjs/pagination/ListKeyPhrasesDetectionJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPiiEntitiesDetectionJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSentimentDetectionJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTargetedSentimentDetectionJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTopicsDetectionJobsPaginator.js +2 -24
- package/dist-es/pagination/ListDatasetsPaginator.js +2 -23
- package/dist-es/pagination/ListDocumentClassificationJobsPaginator.js +2 -23
- package/dist-es/pagination/ListDocumentClassifierSummariesPaginator.js +2 -23
- package/dist-es/pagination/ListDocumentClassifiersPaginator.js +2 -23
- package/dist-es/pagination/ListDominantLanguageDetectionJobsPaginator.js +2 -23
- package/dist-es/pagination/ListEndpointsPaginator.js +2 -23
- package/dist-es/pagination/ListEntitiesDetectionJobsPaginator.js +2 -23
- package/dist-es/pagination/ListEntityRecognizerSummariesPaginator.js +2 -23
- package/dist-es/pagination/ListEntityRecognizersPaginator.js +2 -23
- package/dist-es/pagination/ListEventsDetectionJobsPaginator.js +2 -23
- package/dist-es/pagination/ListFlywheelIterationHistoryPaginator.js +2 -23
- package/dist-es/pagination/ListFlywheelsPaginator.js +2 -23
- package/dist-es/pagination/ListKeyPhrasesDetectionJobsPaginator.js +2 -23
- package/dist-es/pagination/ListPiiEntitiesDetectionJobsPaginator.js +2 -23
- package/dist-es/pagination/ListSentimentDetectionJobsPaginator.js +2 -23
- package/dist-es/pagination/ListTargetedSentimentDetectionJobsPaginator.js +2 -23
- package/dist-es/pagination/ListTopicsDetectionJobsPaginator.js +2 -23
- package/dist-types/pagination/ListDatasetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDocumentClassificationJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDocumentClassifierSummariesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDocumentClassifiersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDominantLanguageDetectionJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEndpointsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEntitiesDetectionJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEntityRecognizerSummariesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEntityRecognizersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEventsDetectionJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFlywheelIterationHistoryPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFlywheelsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListKeyPhrasesDetectionJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPiiEntitiesDetectionJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSentimentDetectionJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTopicsDetectionJobsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListDatasetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDocumentClassificationJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDocumentClassifierSummariesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDocumentClassifiersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDominantLanguageDetectionJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEndpointsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEntitiesDetectionJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEntityRecognizerSummariesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEntityRecognizersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEventsDetectionJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFlywheelIterationHistoryPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFlywheelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListKeyPhrasesDetectionJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPiiEntitiesDetectionJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSentimentDetectionJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTopicsDetectionJobsPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDatasets = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDatasetsCommand_1 = require("../commands/ListDatasetsCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDatasetsCommand_1.ListDatasetsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDatasets(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 ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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.paginateListDatasets = paginateListDatasets;
|
|
7
|
+
exports.paginateListDatasets = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListDatasetsCommand_1.ListDatasetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDocumentClassificationJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDocumentClassificationJobsCommand_1 = require("../commands/ListDocumentClassificationJobsCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDocumentClassificationJobsCommand_1.ListDocumentClassificationJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDocumentClassificationJobs(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 ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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.paginateListDocumentClassificationJobs = paginateListDocumentClassificationJobs;
|
|
7
|
+
exports.paginateListDocumentClassificationJobs = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListDocumentClassificationJobsCommand_1.ListDocumentClassificationJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDocumentClassifierSummaries = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDocumentClassifierSummariesCommand_1 = require("../commands/ListDocumentClassifierSummariesCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDocumentClassifierSummariesCommand_1.ListDocumentClassifierSummariesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDocumentClassifierSummaries(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 ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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.paginateListDocumentClassifierSummaries = paginateListDocumentClassifierSummaries;
|
|
7
|
+
exports.paginateListDocumentClassifierSummaries = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListDocumentClassifierSummariesCommand_1.ListDocumentClassifierSummariesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDocumentClassifiers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDocumentClassifiersCommand_1 = require("../commands/ListDocumentClassifiersCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDocumentClassifiersCommand_1.ListDocumentClassifiersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDocumentClassifiers(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 ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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.paginateListDocumentClassifiers = paginateListDocumentClassifiers;
|
|
7
|
+
exports.paginateListDocumentClassifiers = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListDocumentClassifiersCommand_1.ListDocumentClassifiersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDominantLanguageDetectionJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDominantLanguageDetectionJobsCommand_1 = require("../commands/ListDominantLanguageDetectionJobsCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDominantLanguageDetectionJobsCommand_1.ListDominantLanguageDetectionJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDominantLanguageDetectionJobs(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 ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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.paginateListDominantLanguageDetectionJobs = paginateListDominantLanguageDetectionJobs;
|
|
7
|
+
exports.paginateListDominantLanguageDetectionJobs = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListDominantLanguageDetectionJobsCommand_1.ListDominantLanguageDetectionJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEndpoints = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEndpointsCommand_1 = require("../commands/ListEndpointsCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEndpointsCommand_1.ListEndpointsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEndpoints(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 ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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.paginateListEndpoints = paginateListEndpoints;
|
|
7
|
+
exports.paginateListEndpoints = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListEndpointsCommand_1.ListEndpointsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEntitiesDetectionJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEntitiesDetectionJobsCommand_1 = require("../commands/ListEntitiesDetectionJobsCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEntitiesDetectionJobsCommand_1.ListEntitiesDetectionJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEntitiesDetectionJobs(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 ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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.paginateListEntitiesDetectionJobs = paginateListEntitiesDetectionJobs;
|
|
7
|
+
exports.paginateListEntitiesDetectionJobs = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListEntitiesDetectionJobsCommand_1.ListEntitiesDetectionJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEntityRecognizerSummaries = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEntityRecognizerSummariesCommand_1 = require("../commands/ListEntityRecognizerSummariesCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEntityRecognizerSummariesCommand_1.ListEntityRecognizerSummariesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEntityRecognizerSummaries(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 ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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.paginateListEntityRecognizerSummaries = paginateListEntityRecognizerSummaries;
|
|
7
|
+
exports.paginateListEntityRecognizerSummaries = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListEntityRecognizerSummariesCommand_1.ListEntityRecognizerSummariesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEntityRecognizers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEntityRecognizersCommand_1 = require("../commands/ListEntityRecognizersCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEntityRecognizersCommand_1.ListEntityRecognizersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEntityRecognizers(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 ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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.paginateListEntityRecognizers = paginateListEntityRecognizers;
|
|
7
|
+
exports.paginateListEntityRecognizers = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListEntityRecognizersCommand_1.ListEntityRecognizersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEventsDetectionJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEventsDetectionJobsCommand_1 = require("../commands/ListEventsDetectionJobsCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEventsDetectionJobsCommand_1.ListEventsDetectionJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEventsDetectionJobs(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 ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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.paginateListEventsDetectionJobs = paginateListEventsDetectionJobs;
|
|
7
|
+
exports.paginateListEventsDetectionJobs = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListEventsDetectionJobsCommand_1.ListEventsDetectionJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListFlywheelIterationHistory = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListFlywheelIterationHistoryCommand_1 = require("../commands/ListFlywheelIterationHistoryCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListFlywheelIterationHistoryCommand_1.ListFlywheelIterationHistoryCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListFlywheelIterationHistory(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 ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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.paginateListFlywheelIterationHistory = paginateListFlywheelIterationHistory;
|
|
7
|
+
exports.paginateListFlywheelIterationHistory = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListFlywheelIterationHistoryCommand_1.ListFlywheelIterationHistoryCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListFlywheels = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListFlywheelsCommand_1 = require("../commands/ListFlywheelsCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListFlywheelsCommand_1.ListFlywheelsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListFlywheels(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 ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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.paginateListFlywheels = paginateListFlywheels;
|
|
7
|
+
exports.paginateListFlywheels = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListFlywheelsCommand_1.ListFlywheelsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListKeyPhrasesDetectionJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListKeyPhrasesDetectionJobsCommand_1 = require("../commands/ListKeyPhrasesDetectionJobsCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListKeyPhrasesDetectionJobsCommand_1.ListKeyPhrasesDetectionJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListKeyPhrasesDetectionJobs(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 ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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.paginateListKeyPhrasesDetectionJobs = paginateListKeyPhrasesDetectionJobs;
|
|
7
|
+
exports.paginateListKeyPhrasesDetectionJobs = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListKeyPhrasesDetectionJobsCommand_1.ListKeyPhrasesDetectionJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPiiEntitiesDetectionJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListPiiEntitiesDetectionJobsCommand_1 = require("../commands/ListPiiEntitiesDetectionJobsCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListPiiEntitiesDetectionJobsCommand_1.ListPiiEntitiesDetectionJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListPiiEntitiesDetectionJobs(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 ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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.paginateListPiiEntitiesDetectionJobs = paginateListPiiEntitiesDetectionJobs;
|
|
7
|
+
exports.paginateListPiiEntitiesDetectionJobs = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListPiiEntitiesDetectionJobsCommand_1.ListPiiEntitiesDetectionJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSentimentDetectionJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListSentimentDetectionJobsCommand_1 = require("../commands/ListSentimentDetectionJobsCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSentimentDetectionJobsCommand_1.ListSentimentDetectionJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSentimentDetectionJobs(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 ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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.paginateListSentimentDetectionJobs = paginateListSentimentDetectionJobs;
|
|
7
|
+
exports.paginateListSentimentDetectionJobs = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListSentimentDetectionJobsCommand_1.ListSentimentDetectionJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTargetedSentimentDetectionJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTargetedSentimentDetectionJobsCommand_1 = require("../commands/ListTargetedSentimentDetectionJobsCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTargetedSentimentDetectionJobsCommand_1.ListTargetedSentimentDetectionJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTargetedSentimentDetectionJobs(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 ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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.paginateListTargetedSentimentDetectionJobs = paginateListTargetedSentimentDetectionJobs;
|
|
7
|
+
exports.paginateListTargetedSentimentDetectionJobs = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListTargetedSentimentDetectionJobsCommand_1.ListTargetedSentimentDetectionJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTopicsDetectionJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTopicsDetectionJobsCommand_1 = require("../commands/ListTopicsDetectionJobsCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTopicsDetectionJobsCommand_1.ListTopicsDetectionJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTopicsDetectionJobs(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 ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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.paginateListTopicsDetectionJobs = paginateListTopicsDetectionJobs;
|
|
7
|
+
exports.paginateListTopicsDetectionJobs = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListTopicsDetectionJobsCommand_1.ListTopicsDetectionJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDatasetsCommand, } from "../commands/ListDatasetsCommand";
|
|
2
3
|
import { ComprehendClient } from "../ComprehendClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDatasetsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDatasets(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 ComprehendClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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 paginateListDatasets = createPaginator(ComprehendClient, ListDatasetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDocumentClassificationJobsCommand, } from "../commands/ListDocumentClassificationJobsCommand";
|
|
2
3
|
import { ComprehendClient } from "../ComprehendClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDocumentClassificationJobsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDocumentClassificationJobs(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 ComprehendClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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 paginateListDocumentClassificationJobs = createPaginator(ComprehendClient, ListDocumentClassificationJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDocumentClassifierSummariesCommand, } from "../commands/ListDocumentClassifierSummariesCommand";
|
|
2
3
|
import { ComprehendClient } from "../ComprehendClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDocumentClassifierSummariesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDocumentClassifierSummaries(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 ComprehendClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
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 paginateListDocumentClassifierSummaries = createPaginator(ComprehendClient, ListDocumentClassifierSummariesCommand, "NextToken", "NextToken", "MaxResults");
|