@aws-sdk/client-comprehend 3.36.0 → 3.39.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/CHANGELOG.md +42 -0
- package/dist-cjs/Comprehend.js +0 -6
- package/dist-cjs/ComprehendClient.js +0 -11
- package/dist-cjs/commands/BatchDetectDominantLanguageCommand.js +0 -26
- package/dist-cjs/commands/BatchDetectEntitiesCommand.js +0 -26
- package/dist-cjs/commands/BatchDetectKeyPhrasesCommand.js +0 -24
- package/dist-cjs/commands/BatchDetectSentimentCommand.js +0 -26
- package/dist-cjs/commands/BatchDetectSyntaxCommand.js +0 -25
- package/dist-cjs/commands/ClassifyDocumentCommand.js +0 -25
- package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +0 -26
- package/dist-cjs/commands/CreateDocumentClassifierCommand.js +0 -27
- package/dist-cjs/commands/CreateEndpointCommand.js +0 -26
- package/dist-cjs/commands/CreateEntityRecognizerCommand.js +0 -26
- package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +0 -30
- package/dist-cjs/commands/DeleteEndpointCommand.js +0 -25
- package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +0 -30
- package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +0 -25
- package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +0 -24
- package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +0 -25
- package/dist-cjs/commands/DescribeEndpointCommand.js +0 -25
- package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +0 -25
- package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +0 -25
- package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +0 -24
- package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +0 -25
- package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +0 -25
- package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +0 -25
- package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +0 -25
- package/dist-cjs/commands/DetectDominantLanguageCommand.js +0 -25
- package/dist-cjs/commands/DetectEntitiesCommand.js +0 -25
- package/dist-cjs/commands/DetectKeyPhrasesCommand.js +0 -24
- package/dist-cjs/commands/DetectPiiEntitiesCommand.js +0 -25
- package/dist-cjs/commands/DetectSentimentCommand.js +0 -25
- package/dist-cjs/commands/DetectSyntaxCommand.js +0 -25
- package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +0 -24
- package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +0 -24
- package/dist-cjs/commands/ListDocumentClassifiersCommand.js +0 -24
- package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +0 -24
- package/dist-cjs/commands/ListEndpointsCommand.js +0 -24
- package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +0 -24
- package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +0 -24
- package/dist-cjs/commands/ListEntityRecognizersCommand.js +0 -29
- package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +0 -24
- package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +0 -24
- package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +0 -24
- package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +0 -24
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
- package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +0 -24
- package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +0 -25
- package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +0 -26
- package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +0 -28
- package/dist-cjs/commands/StartEventsDetectionJobCommand.js +0 -24
- package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +0 -26
- package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +0 -24
- package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +0 -26
- package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +0 -25
- package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +0 -33
- package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +0 -33
- package/dist-cjs/commands/StopEventsDetectionJobCommand.js +0 -24
- package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +0 -33
- package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +0 -24
- package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +0 -33
- package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +0 -29
- package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +0 -29
- package/dist-cjs/commands/TagResourceCommand.js +0 -27
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UpdateEndpointCommand.js +0 -24
- package/dist-cjs/commands/index.js +66 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +4 -77
- package/dist-cjs/models/models_0.js +0 -609
- package/dist-cjs/pagination/ListDocumentClassificationJobsPaginator.js +0 -10
- package/dist-cjs/pagination/ListDocumentClassifierSummariesPaginator.js +0 -10
- package/dist-cjs/pagination/ListDocumentClassifiersPaginator.js +0 -10
- package/dist-cjs/pagination/ListDominantLanguageDetectionJobsPaginator.js +0 -10
- package/dist-cjs/pagination/ListEntitiesDetectionJobsPaginator.js +0 -10
- package/dist-cjs/pagination/ListEntityRecognizerSummariesPaginator.js +0 -10
- package/dist-cjs/pagination/ListEntityRecognizersPaginator.js +0 -10
- package/dist-cjs/pagination/ListEventsDetectionJobsPaginator.js +0 -10
- package/dist-cjs/pagination/ListKeyPhrasesDetectionJobsPaginator.js +0 -10
- package/dist-cjs/pagination/ListSentimentDetectionJobsPaginator.js +0 -10
- package/dist-cjs/pagination/ListTopicsDetectionJobsPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +15 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-es/commands/index.js +63 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +4 -77
- package/dist-es/pagination/index.js +12 -0
- package/dist-types/commands/index.d.ts +63 -0
- package/dist-types/index.d.ts +4 -77
- package/dist-types/pagination/index.d.ts +12 -0
- package/dist-types/ts3.4/Comprehend.d.ts +64 -305
- package/dist-types/ts3.4/ComprehendClient.d.ts +24 -92
- package/dist-types/ts3.4/commands/BatchDetectDominantLanguageCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/BatchDetectEntitiesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/BatchDetectKeyPhrasesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/BatchDetectSentimentCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/BatchDetectSyntaxCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ClassifyDocumentCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ContainsPiiEntitiesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateDocumentClassifierCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateEntityRecognizerCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteDocumentClassifierCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteEntityRecognizerCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DescribeDocumentClassificationJobCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeDocumentClassifierCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEntitiesDetectionJobCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEntityRecognizerCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEventsDetectionJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeSentimentDetectionJobCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeTopicsDetectionJobCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DetectDominantLanguageCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DetectEntitiesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DetectKeyPhrasesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DetectPiiEntitiesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DetectSentimentCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DetectSyntaxCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListDocumentClassificationJobsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListDocumentClassifierSummariesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListDocumentClassifiersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListDominantLanguageDetectionJobsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListEntitiesDetectionJobsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListEntityRecognizerSummariesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListEntityRecognizersCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListEventsDetectionJobsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListSentimentDetectionJobsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTopicsDetectionJobsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartDocumentClassificationJobCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/StartDominantLanguageDetectionJobCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StartEntitiesDetectionJobCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/StartEventsDetectionJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartKeyPhrasesDetectionJobCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StartPiiEntitiesDetectionJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartSentimentDetectionJobCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StartTopicsDetectionJobCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/StopDominantLanguageDetectionJobCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/StopEntitiesDetectionJobCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/StopEventsDetectionJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StopKeyPhrasesDetectionJobCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/StopPiiEntitiesDetectionJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StopSentimentDetectionJobCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/StopTrainingDocumentClassifierCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/StopTrainingEntityRecognizerCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +63 -0
- package/dist-types/ts3.4/index.d.ts +4 -77
- package/dist-types/ts3.4/models/models_0.d.ts +884 -3867
- package/dist-types/ts3.4/pagination/index.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +32 -32
|
@@ -4,22 +4,13 @@ exports.paginateListDocumentClassificationJobs = void 0;
|
|
|
4
4
|
const ListDocumentClassificationJobsCommand_1 = require("../commands/ListDocumentClassificationJobsCommand");
|
|
5
5
|
const Comprehend_1 = require("../Comprehend");
|
|
6
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListDocumentClassificationJobsCommand_1.ListDocumentClassificationJobsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listDocumentClassificationJobs(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListDocumentClassificationJobs(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListDocumentClassificationJobs(config, input, ...additio
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListDocumentClassificationJobs = paginateListDocumentClassificationJobs;
|
|
@@ -4,22 +4,13 @@ exports.paginateListDocumentClassifierSummaries = void 0;
|
|
|
4
4
|
const ListDocumentClassifierSummariesCommand_1 = require("../commands/ListDocumentClassifierSummariesCommand");
|
|
5
5
|
const Comprehend_1 = require("../Comprehend");
|
|
6
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListDocumentClassifierSummariesCommand_1.ListDocumentClassifierSummariesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listDocumentClassifierSummaries(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListDocumentClassifierSummaries(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListDocumentClassifierSummaries(config, input, ...additi
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListDocumentClassifierSummaries = paginateListDocumentClassifierSummaries;
|
|
@@ -4,22 +4,13 @@ exports.paginateListDocumentClassifiers = void 0;
|
|
|
4
4
|
const ListDocumentClassifiersCommand_1 = require("../commands/ListDocumentClassifiersCommand");
|
|
5
5
|
const Comprehend_1 = require("../Comprehend");
|
|
6
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListDocumentClassifiersCommand_1.ListDocumentClassifiersCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listDocumentClassifiers(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListDocumentClassifiers(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListDocumentClassifiers(config, input, ...additionalArgu
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListDocumentClassifiers = paginateListDocumentClassifiers;
|
|
@@ -4,22 +4,13 @@ exports.paginateListDominantLanguageDetectionJobs = void 0;
|
|
|
4
4
|
const ListDominantLanguageDetectionJobsCommand_1 = require("../commands/ListDominantLanguageDetectionJobsCommand");
|
|
5
5
|
const Comprehend_1 = require("../Comprehend");
|
|
6
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListDominantLanguageDetectionJobsCommand_1.ListDominantLanguageDetectionJobsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listDominantLanguageDetectionJobs(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListDominantLanguageDetectionJobs(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListDominantLanguageDetectionJobs(config, input, ...addi
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListDominantLanguageDetectionJobs = paginateListDominantLanguageDetectionJobs;
|
|
@@ -4,22 +4,13 @@ exports.paginateListEntitiesDetectionJobs = void 0;
|
|
|
4
4
|
const ListEntitiesDetectionJobsCommand_1 = require("../commands/ListEntitiesDetectionJobsCommand");
|
|
5
5
|
const Comprehend_1 = require("../Comprehend");
|
|
6
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListEntitiesDetectionJobsCommand_1.ListEntitiesDetectionJobsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listEntitiesDetectionJobs(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListEntitiesDetectionJobs(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListEntitiesDetectionJobs(config, input, ...additionalAr
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListEntitiesDetectionJobs = paginateListEntitiesDetectionJobs;
|
|
@@ -4,22 +4,13 @@ exports.paginateListEntityRecognizerSummaries = void 0;
|
|
|
4
4
|
const ListEntityRecognizerSummariesCommand_1 = require("../commands/ListEntityRecognizerSummariesCommand");
|
|
5
5
|
const Comprehend_1 = require("../Comprehend");
|
|
6
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListEntityRecognizerSummariesCommand_1.ListEntityRecognizerSummariesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listEntityRecognizerSummaries(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListEntityRecognizerSummaries(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListEntityRecognizerSummaries(config, input, ...addition
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListEntityRecognizerSummaries = paginateListEntityRecognizerSummaries;
|
|
@@ -4,22 +4,13 @@ exports.paginateListEntityRecognizers = void 0;
|
|
|
4
4
|
const ListEntityRecognizersCommand_1 = require("../commands/ListEntityRecognizersCommand");
|
|
5
5
|
const Comprehend_1 = require("../Comprehend");
|
|
6
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListEntityRecognizersCommand_1.ListEntityRecognizersCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listEntityRecognizers(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListEntityRecognizers(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListEntityRecognizers(config, input, ...additionalArgume
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListEntityRecognizers = paginateListEntityRecognizers;
|
|
@@ -4,22 +4,13 @@ exports.paginateListEventsDetectionJobs = void 0;
|
|
|
4
4
|
const ListEventsDetectionJobsCommand_1 = require("../commands/ListEventsDetectionJobsCommand");
|
|
5
5
|
const Comprehend_1 = require("../Comprehend");
|
|
6
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListEventsDetectionJobsCommand_1.ListEventsDetectionJobsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listEventsDetectionJobs(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListEventsDetectionJobs(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListEventsDetectionJobs(config, input, ...additionalArgu
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListEventsDetectionJobs = paginateListEventsDetectionJobs;
|
|
@@ -4,22 +4,13 @@ exports.paginateListKeyPhrasesDetectionJobs = void 0;
|
|
|
4
4
|
const ListKeyPhrasesDetectionJobsCommand_1 = require("../commands/ListKeyPhrasesDetectionJobsCommand");
|
|
5
5
|
const Comprehend_1 = require("../Comprehend");
|
|
6
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListKeyPhrasesDetectionJobsCommand_1.ListKeyPhrasesDetectionJobsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listKeyPhrasesDetectionJobs(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListKeyPhrasesDetectionJobs(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListKeyPhrasesDetectionJobs(config, input, ...additional
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListKeyPhrasesDetectionJobs = paginateListKeyPhrasesDetectionJobs;
|
|
@@ -4,22 +4,13 @@ exports.paginateListSentimentDetectionJobs = void 0;
|
|
|
4
4
|
const ListSentimentDetectionJobsCommand_1 = require("../commands/ListSentimentDetectionJobsCommand");
|
|
5
5
|
const Comprehend_1 = require("../Comprehend");
|
|
6
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListSentimentDetectionJobsCommand_1.ListSentimentDetectionJobsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listSentimentDetectionJobs(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListSentimentDetectionJobs(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListSentimentDetectionJobs(config, input, ...additionalA
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListSentimentDetectionJobs = paginateListSentimentDetectionJobs;
|
|
@@ -4,22 +4,13 @@ exports.paginateListTopicsDetectionJobs = void 0;
|
|
|
4
4
|
const ListTopicsDetectionJobsCommand_1 = require("../commands/ListTopicsDetectionJobsCommand");
|
|
5
5
|
const Comprehend_1 = require("../Comprehend");
|
|
6
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListTopicsDetectionJobsCommand_1.ListTopicsDetectionJobsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listTopicsDetectionJobs(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListTopicsDetectionJobs(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListTopicsDetectionJobs(config, input, ...additionalArgu
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListTopicsDetectionJobs = paginateListTopicsDetectionJobs;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListDocumentClassificationJobsPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListDocumentClassifierSummariesPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListDocumentClassifiersPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListDominantLanguageDetectionJobsPaginator"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListEntitiesDetectionJobsPaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListEntityRecognizerSummariesPaginator"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./ListEntityRecognizersPaginator"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./ListEventsDetectionJobsPaginator"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./ListKeyPhrasesDetectionJobsPaginator"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./ListSentimentDetectionJobsPaginator"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./ListTopicsDetectionJobsPaginator"), exports);
|
|
@@ -7991,14 +7991,12 @@ const deserializeMetadata = (output) => {
|
|
|
7991
7991
|
cfId: output.headers["x-amz-cf-id"],
|
|
7992
7992
|
});
|
|
7993
7993
|
};
|
|
7994
|
-
// Collect low-level response body stream to Uint8Array.
|
|
7995
7994
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
7996
7995
|
if (streamBody instanceof Uint8Array) {
|
|
7997
7996
|
return Promise.resolve(streamBody);
|
|
7998
7997
|
}
|
|
7999
7998
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
8000
7999
|
};
|
|
8001
|
-
// Encode Uint8Array data into string with utf-8.
|
|
8002
8000
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
8003
8001
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
8004
8002
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -8024,9 +8022,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
8024
8022
|
}
|
|
8025
8023
|
return {};
|
|
8026
8024
|
});
|
|
8027
|
-
/**
|
|
8028
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
8029
|
-
*/
|
|
8030
8025
|
const loadRestJsonErrorCode = (output, data) => {
|
|
8031
8026
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
8032
8027
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
7
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
8
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -13,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
15
|
const getRuntimeConfig = (config) => {
|
|
20
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
21
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
7
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
8
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
9
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -17,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
17
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
18
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
20
|
-
/**
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
23
19
|
const getRuntimeConfig = (config) => {
|
|
24
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
25
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpoints_1 = require("./endpoints");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export * from "./BatchDetectDominantLanguageCommand";
|
|
2
|
+
export * from "./BatchDetectEntitiesCommand";
|
|
3
|
+
export * from "./BatchDetectKeyPhrasesCommand";
|
|
4
|
+
export * from "./BatchDetectSentimentCommand";
|
|
5
|
+
export * from "./BatchDetectSyntaxCommand";
|
|
6
|
+
export * from "./ClassifyDocumentCommand";
|
|
7
|
+
export * from "./ContainsPiiEntitiesCommand";
|
|
8
|
+
export * from "./CreateDocumentClassifierCommand";
|
|
9
|
+
export * from "./CreateEndpointCommand";
|
|
10
|
+
export * from "./CreateEntityRecognizerCommand";
|
|
11
|
+
export * from "./DeleteDocumentClassifierCommand";
|
|
12
|
+
export * from "./DeleteEndpointCommand";
|
|
13
|
+
export * from "./DeleteEntityRecognizerCommand";
|
|
14
|
+
export * from "./DescribeDocumentClassificationJobCommand";
|
|
15
|
+
export * from "./DescribeDocumentClassifierCommand";
|
|
16
|
+
export * from "./DescribeDominantLanguageDetectionJobCommand";
|
|
17
|
+
export * from "./DescribeEndpointCommand";
|
|
18
|
+
export * from "./DescribeEntitiesDetectionJobCommand";
|
|
19
|
+
export * from "./DescribeEntityRecognizerCommand";
|
|
20
|
+
export * from "./DescribeEventsDetectionJobCommand";
|
|
21
|
+
export * from "./DescribeKeyPhrasesDetectionJobCommand";
|
|
22
|
+
export * from "./DescribePiiEntitiesDetectionJobCommand";
|
|
23
|
+
export * from "./DescribeSentimentDetectionJobCommand";
|
|
24
|
+
export * from "./DescribeTopicsDetectionJobCommand";
|
|
25
|
+
export * from "./DetectDominantLanguageCommand";
|
|
26
|
+
export * from "./DetectEntitiesCommand";
|
|
27
|
+
export * from "./DetectKeyPhrasesCommand";
|
|
28
|
+
export * from "./DetectPiiEntitiesCommand";
|
|
29
|
+
export * from "./DetectSentimentCommand";
|
|
30
|
+
export * from "./DetectSyntaxCommand";
|
|
31
|
+
export * from "./ListDocumentClassificationJobsCommand";
|
|
32
|
+
export * from "./ListDocumentClassifierSummariesCommand";
|
|
33
|
+
export * from "./ListDocumentClassifiersCommand";
|
|
34
|
+
export * from "./ListDominantLanguageDetectionJobsCommand";
|
|
35
|
+
export * from "./ListEndpointsCommand";
|
|
36
|
+
export * from "./ListEntitiesDetectionJobsCommand";
|
|
37
|
+
export * from "./ListEntityRecognizerSummariesCommand";
|
|
38
|
+
export * from "./ListEntityRecognizersCommand";
|
|
39
|
+
export * from "./ListEventsDetectionJobsCommand";
|
|
40
|
+
export * from "./ListKeyPhrasesDetectionJobsCommand";
|
|
41
|
+
export * from "./ListPiiEntitiesDetectionJobsCommand";
|
|
42
|
+
export * from "./ListSentimentDetectionJobsCommand";
|
|
43
|
+
export * from "./ListTagsForResourceCommand";
|
|
44
|
+
export * from "./ListTopicsDetectionJobsCommand";
|
|
45
|
+
export * from "./StartDocumentClassificationJobCommand";
|
|
46
|
+
export * from "./StartDominantLanguageDetectionJobCommand";
|
|
47
|
+
export * from "./StartEntitiesDetectionJobCommand";
|
|
48
|
+
export * from "./StartEventsDetectionJobCommand";
|
|
49
|
+
export * from "./StartKeyPhrasesDetectionJobCommand";
|
|
50
|
+
export * from "./StartPiiEntitiesDetectionJobCommand";
|
|
51
|
+
export * from "./StartSentimentDetectionJobCommand";
|
|
52
|
+
export * from "./StartTopicsDetectionJobCommand";
|
|
53
|
+
export * from "./StopDominantLanguageDetectionJobCommand";
|
|
54
|
+
export * from "./StopEntitiesDetectionJobCommand";
|
|
55
|
+
export * from "./StopEventsDetectionJobCommand";
|
|
56
|
+
export * from "./StopKeyPhrasesDetectionJobCommand";
|
|
57
|
+
export * from "./StopPiiEntitiesDetectionJobCommand";
|
|
58
|
+
export * from "./StopSentimentDetectionJobCommand";
|
|
59
|
+
export * from "./StopTrainingDocumentClassifierCommand";
|
|
60
|
+
export * from "./StopTrainingEntityRecognizerCommand";
|
|
61
|
+
export * from "./TagResourceCommand";
|
|
62
|
+
export * from "./UntagResourceCommand";
|
|
63
|
+
export * from "./UpdateEndpointCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -46,22 +46,27 @@ var partitionHash = {
|
|
|
46
46
|
"us-west-1",
|
|
47
47
|
"us-west-2",
|
|
48
48
|
],
|
|
49
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
49
50
|
hostname: "comprehend.{region}.amazonaws.com",
|
|
50
51
|
},
|
|
51
52
|
"aws-cn": {
|
|
52
53
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
54
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
53
55
|
hostname: "comprehend.{region}.amazonaws.com.cn",
|
|
54
56
|
},
|
|
55
57
|
"aws-iso": {
|
|
56
|
-
regions: ["us-iso-east-1"],
|
|
58
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
59
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
57
60
|
hostname: "comprehend.{region}.c2s.ic.gov",
|
|
58
61
|
},
|
|
59
62
|
"aws-iso-b": {
|
|
60
63
|
regions: ["us-isob-east-1"],
|
|
64
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
61
65
|
hostname: "comprehend.{region}.sc2s.sgov.gov",
|
|
62
66
|
},
|
|
63
67
|
"aws-us-gov": {
|
|
64
68
|
regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
69
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
65
70
|
hostname: "comprehend.{region}.amazonaws.com",
|
|
66
71
|
},
|
|
67
72
|
};
|
package/dist-es/index.js
CHANGED
|
@@ -1,78 +1,5 @@
|
|
|
1
|
-
export * from "./ComprehendClient";
|
|
2
1
|
export * from "./Comprehend";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./commands/BatchDetectSyntaxCommand";
|
|
8
|
-
export * from "./commands/ClassifyDocumentCommand";
|
|
9
|
-
export * from "./commands/ContainsPiiEntitiesCommand";
|
|
10
|
-
export * from "./commands/CreateDocumentClassifierCommand";
|
|
11
|
-
export * from "./commands/CreateEndpointCommand";
|
|
12
|
-
export * from "./commands/CreateEntityRecognizerCommand";
|
|
13
|
-
export * from "./commands/DeleteDocumentClassifierCommand";
|
|
14
|
-
export * from "./commands/DeleteEndpointCommand";
|
|
15
|
-
export * from "./commands/DeleteEntityRecognizerCommand";
|
|
16
|
-
export * from "./commands/DescribeDocumentClassificationJobCommand";
|
|
17
|
-
export * from "./commands/DescribeDocumentClassifierCommand";
|
|
18
|
-
export * from "./commands/DescribeDominantLanguageDetectionJobCommand";
|
|
19
|
-
export * from "./commands/DescribeEndpointCommand";
|
|
20
|
-
export * from "./commands/DescribeEntitiesDetectionJobCommand";
|
|
21
|
-
export * from "./commands/DescribeEntityRecognizerCommand";
|
|
22
|
-
export * from "./commands/DescribeEventsDetectionJobCommand";
|
|
23
|
-
export * from "./commands/DescribeKeyPhrasesDetectionJobCommand";
|
|
24
|
-
export * from "./commands/DescribePiiEntitiesDetectionJobCommand";
|
|
25
|
-
export * from "./commands/DescribeSentimentDetectionJobCommand";
|
|
26
|
-
export * from "./commands/DescribeTopicsDetectionJobCommand";
|
|
27
|
-
export * from "./commands/DetectDominantLanguageCommand";
|
|
28
|
-
export * from "./commands/DetectEntitiesCommand";
|
|
29
|
-
export * from "./commands/DetectKeyPhrasesCommand";
|
|
30
|
-
export * from "./commands/DetectPiiEntitiesCommand";
|
|
31
|
-
export * from "./commands/DetectSentimentCommand";
|
|
32
|
-
export * from "./commands/DetectSyntaxCommand";
|
|
33
|
-
export * from "./commands/ListDocumentClassificationJobsCommand";
|
|
34
|
-
export * from "./pagination/ListDocumentClassificationJobsPaginator";
|
|
35
|
-
export * from "./commands/ListDocumentClassifiersCommand";
|
|
36
|
-
export * from "./pagination/ListDocumentClassifiersPaginator";
|
|
37
|
-
export * from "./commands/ListDocumentClassifierSummariesCommand";
|
|
38
|
-
export * from "./pagination/ListDocumentClassifierSummariesPaginator";
|
|
39
|
-
export * from "./commands/ListDominantLanguageDetectionJobsCommand";
|
|
40
|
-
export * from "./pagination/ListDominantLanguageDetectionJobsPaginator";
|
|
41
|
-
export * from "./commands/ListEndpointsCommand";
|
|
42
|
-
export * from "./commands/ListEntitiesDetectionJobsCommand";
|
|
43
|
-
export * from "./pagination/ListEntitiesDetectionJobsPaginator";
|
|
44
|
-
export * from "./commands/ListEntityRecognizersCommand";
|
|
45
|
-
export * from "./pagination/ListEntityRecognizersPaginator";
|
|
46
|
-
export * from "./commands/ListEntityRecognizerSummariesCommand";
|
|
47
|
-
export * from "./pagination/ListEntityRecognizerSummariesPaginator";
|
|
48
|
-
export * from "./commands/ListEventsDetectionJobsCommand";
|
|
49
|
-
export * from "./pagination/ListEventsDetectionJobsPaginator";
|
|
50
|
-
export * from "./commands/ListKeyPhrasesDetectionJobsCommand";
|
|
51
|
-
export * from "./pagination/ListKeyPhrasesDetectionJobsPaginator";
|
|
52
|
-
export * from "./commands/ListPiiEntitiesDetectionJobsCommand";
|
|
53
|
-
export * from "./commands/ListSentimentDetectionJobsCommand";
|
|
54
|
-
export * from "./pagination/ListSentimentDetectionJobsPaginator";
|
|
55
|
-
export * from "./commands/ListTagsForResourceCommand";
|
|
56
|
-
export * from "./commands/ListTopicsDetectionJobsCommand";
|
|
57
|
-
export * from "./pagination/ListTopicsDetectionJobsPaginator";
|
|
58
|
-
export * from "./commands/StartDocumentClassificationJobCommand";
|
|
59
|
-
export * from "./commands/StartDominantLanguageDetectionJobCommand";
|
|
60
|
-
export * from "./commands/StartEntitiesDetectionJobCommand";
|
|
61
|
-
export * from "./commands/StartEventsDetectionJobCommand";
|
|
62
|
-
export * from "./commands/StartKeyPhrasesDetectionJobCommand";
|
|
63
|
-
export * from "./commands/StartPiiEntitiesDetectionJobCommand";
|
|
64
|
-
export * from "./commands/StartSentimentDetectionJobCommand";
|
|
65
|
-
export * from "./commands/StartTopicsDetectionJobCommand";
|
|
66
|
-
export * from "./commands/StopDominantLanguageDetectionJobCommand";
|
|
67
|
-
export * from "./commands/StopEntitiesDetectionJobCommand";
|
|
68
|
-
export * from "./commands/StopEventsDetectionJobCommand";
|
|
69
|
-
export * from "./commands/StopKeyPhrasesDetectionJobCommand";
|
|
70
|
-
export * from "./commands/StopPiiEntitiesDetectionJobCommand";
|
|
71
|
-
export * from "./commands/StopSentimentDetectionJobCommand";
|
|
72
|
-
export * from "./commands/StopTrainingDocumentClassifierCommand";
|
|
73
|
-
export * from "./commands/StopTrainingEntityRecognizerCommand";
|
|
74
|
-
export * from "./commands/TagResourceCommand";
|
|
75
|
-
export * from "./commands/UntagResourceCommand";
|
|
76
|
-
export * from "./commands/UpdateEndpointCommand";
|
|
77
|
-
export * from "./pagination/Interfaces";
|
|
78
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./ComprehendClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from "./Interfaces";
|
|
2
|
+
export * from "./ListDocumentClassificationJobsPaginator";
|
|
3
|
+
export * from "./ListDocumentClassifierSummariesPaginator";
|
|
4
|
+
export * from "./ListDocumentClassifiersPaginator";
|
|
5
|
+
export * from "./ListDominantLanguageDetectionJobsPaginator";
|
|
6
|
+
export * from "./ListEntitiesDetectionJobsPaginator";
|
|
7
|
+
export * from "./ListEntityRecognizerSummariesPaginator";
|
|
8
|
+
export * from "./ListEntityRecognizersPaginator";
|
|
9
|
+
export * from "./ListEventsDetectionJobsPaginator";
|
|
10
|
+
export * from "./ListKeyPhrasesDetectionJobsPaginator";
|
|
11
|
+
export * from "./ListSentimentDetectionJobsPaginator";
|
|
12
|
+
export * from "./ListTopicsDetectionJobsPaginator";
|