@aws-sdk/client-rekognition 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/Rekognition.js +0 -3
- package/dist-cjs/RekognitionClient.js +0 -8
- package/dist-cjs/commands/CompareFacesCommand.js +0 -86
- package/dist-cjs/commands/CreateCollectionCommand.js +0 -36
- package/dist-cjs/commands/CreateProjectCommand.js +0 -26
- package/dist-cjs/commands/CreateProjectVersionCommand.js +0 -35
- package/dist-cjs/commands/CreateStreamProcessorCommand.js +0 -34
- package/dist-cjs/commands/DeleteCollectionCommand.js +0 -28
- package/dist-cjs/commands/DeleteFacesCommand.js +0 -27
- package/dist-cjs/commands/DeleteProjectCommand.js +0 -27
- package/dist-cjs/commands/DeleteProjectVersionCommand.js +0 -31
- package/dist-cjs/commands/DeleteStreamProcessorCommand.js +0 -25
- package/dist-cjs/commands/DescribeCollectionCommand.js +0 -29
- package/dist-cjs/commands/DescribeProjectVersionsCommand.js +0 -28
- package/dist-cjs/commands/DescribeProjectsCommand.js +0 -25
- package/dist-cjs/commands/DescribeStreamProcessorCommand.js +0 -25
- package/dist-cjs/commands/DetectCustomLabelsCommand.js +0 -74
- package/dist-cjs/commands/DetectFacesCommand.js +0 -46
- package/dist-cjs/commands/DetectLabelsCommand.js +0 -96
- package/dist-cjs/commands/DetectModerationLabelsCommand.js +0 -37
- package/dist-cjs/commands/DetectProtectiveEquipmentCommand.js +0 -63
- package/dist-cjs/commands/DetectTextCommand.js +0 -45
- package/dist-cjs/commands/GetCelebrityInfoCommand.js +0 -31
- package/dist-cjs/commands/GetCelebrityRecognitionCommand.js +0 -58
- package/dist-cjs/commands/GetContentModerationCommand.js +0 -53
- package/dist-cjs/commands/GetFaceDetectionCommand.js +0 -36
- package/dist-cjs/commands/GetFaceSearchCommand.js +0 -54
- package/dist-cjs/commands/GetLabelDetectionCommand.js +0 -44
- package/dist-cjs/commands/GetPersonTrackingCommand.js +0 -53
- package/dist-cjs/commands/GetSegmentDetectionCommand.js +0 -46
- package/dist-cjs/commands/GetTextDetectionCommand.js +0 -42
- package/dist-cjs/commands/IndexFacesCommand.js +0 -123
- package/dist-cjs/commands/ListCollectionsCommand.js +0 -29
- package/dist-cjs/commands/ListFacesCommand.js +0 -31
- package/dist-cjs/commands/ListStreamProcessorsCommand.js +0 -24
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -28
- package/dist-cjs/commands/RecognizeCelebritiesCommand.js +0 -54
- package/dist-cjs/commands/SearchFacesByImageCommand.js +0 -70
- package/dist-cjs/commands/SearchFacesCommand.js +0 -44
- package/dist-cjs/commands/StartCelebrityRecognitionCommand.js +0 -35
- package/dist-cjs/commands/StartContentModerationCommand.js +0 -35
- package/dist-cjs/commands/StartFaceDetectionCommand.js +0 -36
- package/dist-cjs/commands/StartFaceSearchCommand.js +0 -33
- package/dist-cjs/commands/StartLabelDetectionCommand.js +0 -38
- package/dist-cjs/commands/StartPersonTrackingCommand.js +0 -32
- package/dist-cjs/commands/StartProjectVersionCommand.js +0 -33
- package/dist-cjs/commands/StartSegmentDetectionCommand.js +0 -39
- package/dist-cjs/commands/StartStreamProcessorCommand.js +0 -26
- package/dist-cjs/commands/StartTextDetectionCommand.js +0 -31
- package/dist-cjs/commands/StopProjectVersionCommand.js +0 -25
- package/dist-cjs/commands/StopStreamProcessorCommand.js +0 -24
- package/dist-cjs/commands/TagResourceCommand.js +0 -28
- package/dist-cjs/commands/UntagResourceCommand.js +0 -28
- package/dist-cjs/commands/index.js +54 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +5 -69
- package/dist-cjs/models/models_0.js +0 -621
- package/dist-cjs/pagination/DescribeProjectVersionsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeProjectsPaginator.js +0 -10
- package/dist-cjs/pagination/GetCelebrityRecognitionPaginator.js +0 -10
- package/dist-cjs/pagination/GetContentModerationPaginator.js +0 -10
- package/dist-cjs/pagination/GetFaceDetectionPaginator.js +0 -10
- package/dist-cjs/pagination/GetFaceSearchPaginator.js +0 -10
- package/dist-cjs/pagination/GetLabelDetectionPaginator.js +0 -10
- package/dist-cjs/pagination/GetPersonTrackingPaginator.js +0 -10
- package/dist-cjs/pagination/GetSegmentDetectionPaginator.js +0 -10
- package/dist-cjs/pagination/GetTextDetectionPaginator.js +0 -10
- package/dist-cjs/pagination/ListCollectionsPaginator.js +0 -10
- package/dist-cjs/pagination/ListFacesPaginator.js +0 -10
- package/dist-cjs/pagination/ListStreamProcessorsPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +17 -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-cjs/waiters/index.js +5 -0
- package/dist-cjs/waiters/waitForProjectVersionRunning.js +0 -9
- package/dist-cjs/waiters/waitForProjectVersionTrainingCompleted.js +0 -9
- package/dist-es/commands/index.js +51 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +5 -69
- package/dist-es/pagination/index.js +14 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-types/commands/index.d.ts +51 -0
- package/dist-types/index.d.ts +5 -69
- package/dist-types/pagination/index.d.ts +14 -0
- package/dist-types/ts3.4/Rekognition.d.ts +52 -1018
- package/dist-types/ts3.4/RekognitionClient.d.ts +24 -89
- package/dist-types/ts3.4/commands/CompareFacesCommand.d.ts +2 -82
- package/dist-types/ts3.4/commands/CreateCollectionCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateProjectVersionCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/CreateStreamProcessorCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/DeleteCollectionCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteFacesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteProjectVersionCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DeleteStreamProcessorCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeCollectionCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeProjectVersionsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DescribeProjectsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeStreamProcessorCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DetectCustomLabelsCommand.d.ts +2 -70
- package/dist-types/ts3.4/commands/DetectFacesCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/DetectLabelsCommand.d.ts +2 -92
- package/dist-types/ts3.4/commands/DetectModerationLabelsCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/DetectProtectiveEquipmentCommand.d.ts +2 -59
- package/dist-types/ts3.4/commands/DetectTextCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/GetCelebrityInfoCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/GetCelebrityRecognitionCommand.d.ts +2 -54
- package/dist-types/ts3.4/commands/GetContentModerationCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/GetFaceDetectionCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/GetFaceSearchCommand.d.ts +2 -50
- package/dist-types/ts3.4/commands/GetLabelDetectionCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/GetPersonTrackingCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/GetSegmentDetectionCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/GetTextDetectionCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/IndexFacesCommand.d.ts +2 -119
- package/dist-types/ts3.4/commands/ListCollectionsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListFacesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListStreamProcessorsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/RecognizeCelebritiesCommand.d.ts +2 -50
- package/dist-types/ts3.4/commands/SearchFacesByImageCommand.d.ts +2 -66
- package/dist-types/ts3.4/commands/SearchFacesCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/StartContentModerationCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/StartFaceDetectionCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/StartFaceSearchCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/StartLabelDetectionCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/StartPersonTrackingCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/StartProjectVersionCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/StartSegmentDetectionCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/StartStreamProcessorCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StartTextDetectionCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/StopProjectVersionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/StopStreamProcessorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/index.d.ts +51 -0
- package/dist-types/ts3.4/index.d.ts +5 -69
- package/dist-types/ts3.4/models/models_0.d.ts +856 -3431
- package/dist-types/ts3.4/pagination/index.d.ts +14 -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/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForProjectVersionRunning.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForProjectVersionTrainingCompleted.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +2 -0
- package/package.json +33 -33
|
@@ -4,22 +4,13 @@ exports.paginateDescribeProjectVersions = void 0;
|
|
|
4
4
|
const DescribeProjectVersionsCommand_1 = require("../commands/DescribeProjectVersionsCommand");
|
|
5
5
|
const Rekognition_1 = require("../Rekognition");
|
|
6
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new DescribeProjectVersionsCommand_1.DescribeProjectVersionsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.describeProjectVersions(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateDescribeProjectVersions(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* paginateDescribeProjectVersions(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.paginateDescribeProjectVersions = paginateDescribeProjectVersions;
|
|
@@ -4,22 +4,13 @@ exports.paginateDescribeProjects = void 0;
|
|
|
4
4
|
const DescribeProjectsCommand_1 = require("../commands/DescribeProjectsCommand");
|
|
5
5
|
const Rekognition_1 = require("../Rekognition");
|
|
6
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new DescribeProjectsCommand_1.DescribeProjectsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.describeProjects(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateDescribeProjects(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* paginateDescribeProjects(config, input, ...additionalArguments)
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateDescribeProjects = paginateDescribeProjects;
|
|
@@ -4,22 +4,13 @@ exports.paginateGetCelebrityRecognition = void 0;
|
|
|
4
4
|
const GetCelebrityRecognitionCommand_1 = require("../commands/GetCelebrityRecognitionCommand");
|
|
5
5
|
const Rekognition_1 = require("../Rekognition");
|
|
6
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new GetCelebrityRecognitionCommand_1.GetCelebrityRecognitionCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.getCelebrityRecognition(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateGetCelebrityRecognition(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* paginateGetCelebrityRecognition(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.paginateGetCelebrityRecognition = paginateGetCelebrityRecognition;
|
|
@@ -4,22 +4,13 @@ exports.paginateGetContentModeration = void 0;
|
|
|
4
4
|
const GetContentModerationCommand_1 = require("../commands/GetContentModerationCommand");
|
|
5
5
|
const Rekognition_1 = require("../Rekognition");
|
|
6
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new GetContentModerationCommand_1.GetContentModerationCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.getContentModeration(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateGetContentModeration(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* paginateGetContentModeration(config, input, ...additionalArgumen
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateGetContentModeration = paginateGetContentModeration;
|
|
@@ -4,22 +4,13 @@ exports.paginateGetFaceDetection = void 0;
|
|
|
4
4
|
const GetFaceDetectionCommand_1 = require("../commands/GetFaceDetectionCommand");
|
|
5
5
|
const Rekognition_1 = require("../Rekognition");
|
|
6
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new GetFaceDetectionCommand_1.GetFaceDetectionCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.getFaceDetection(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateGetFaceDetection(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* paginateGetFaceDetection(config, input, ...additionalArguments)
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateGetFaceDetection = paginateGetFaceDetection;
|
|
@@ -4,22 +4,13 @@ exports.paginateGetFaceSearch = void 0;
|
|
|
4
4
|
const GetFaceSearchCommand_1 = require("../commands/GetFaceSearchCommand");
|
|
5
5
|
const Rekognition_1 = require("../Rekognition");
|
|
6
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new GetFaceSearchCommand_1.GetFaceSearchCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.getFaceSearch(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateGetFaceSearch(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* paginateGetFaceSearch(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateGetFaceSearch = paginateGetFaceSearch;
|
|
@@ -4,22 +4,13 @@ exports.paginateGetLabelDetection = void 0;
|
|
|
4
4
|
const GetLabelDetectionCommand_1 = require("../commands/GetLabelDetectionCommand");
|
|
5
5
|
const Rekognition_1 = require("../Rekognition");
|
|
6
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new GetLabelDetectionCommand_1.GetLabelDetectionCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.getLabelDetection(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateGetLabelDetection(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* paginateGetLabelDetection(config, input, ...additionalArguments)
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateGetLabelDetection = paginateGetLabelDetection;
|
|
@@ -4,22 +4,13 @@ exports.paginateGetPersonTracking = void 0;
|
|
|
4
4
|
const GetPersonTrackingCommand_1 = require("../commands/GetPersonTrackingCommand");
|
|
5
5
|
const Rekognition_1 = require("../Rekognition");
|
|
6
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new GetPersonTrackingCommand_1.GetPersonTrackingCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.getPersonTracking(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateGetPersonTracking(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* paginateGetPersonTracking(config, input, ...additionalArguments)
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateGetPersonTracking = paginateGetPersonTracking;
|
|
@@ -4,22 +4,13 @@ exports.paginateGetSegmentDetection = void 0;
|
|
|
4
4
|
const GetSegmentDetectionCommand_1 = require("../commands/GetSegmentDetectionCommand");
|
|
5
5
|
const Rekognition_1 = require("../Rekognition");
|
|
6
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new GetSegmentDetectionCommand_1.GetSegmentDetectionCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.getSegmentDetection(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateGetSegmentDetection(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* paginateGetSegmentDetection(config, input, ...additionalArgument
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateGetSegmentDetection = paginateGetSegmentDetection;
|
|
@@ -4,22 +4,13 @@ exports.paginateGetTextDetection = void 0;
|
|
|
4
4
|
const GetTextDetectionCommand_1 = require("../commands/GetTextDetectionCommand");
|
|
5
5
|
const Rekognition_1 = require("../Rekognition");
|
|
6
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new GetTextDetectionCommand_1.GetTextDetectionCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.getTextDetection(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateGetTextDetection(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* paginateGetTextDetection(config, input, ...additionalArguments)
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateGetTextDetection = paginateGetTextDetection;
|
|
@@ -4,22 +4,13 @@ exports.paginateListCollections = void 0;
|
|
|
4
4
|
const ListCollectionsCommand_1 = require("../commands/ListCollectionsCommand");
|
|
5
5
|
const Rekognition_1 = require("../Rekognition");
|
|
6
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListCollectionsCommand_1.ListCollectionsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listCollections(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListCollections(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* paginateListCollections(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListCollections = paginateListCollections;
|
|
@@ -4,22 +4,13 @@ exports.paginateListFaces = void 0;
|
|
|
4
4
|
const ListFacesCommand_1 = require("../commands/ListFacesCommand");
|
|
5
5
|
const Rekognition_1 = require("../Rekognition");
|
|
6
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListFacesCommand_1.ListFacesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listFaces(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListFaces(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* paginateListFaces(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListFaces = paginateListFaces;
|
|
@@ -4,22 +4,13 @@ exports.paginateListStreamProcessors = void 0;
|
|
|
4
4
|
const ListStreamProcessorsCommand_1 = require("../commands/ListStreamProcessorsCommand");
|
|
5
5
|
const Rekognition_1 = require("../Rekognition");
|
|
6
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListStreamProcessorsCommand_1.ListStreamProcessorsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listStreamProcessors(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListStreamProcessors(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* paginateListStreamProcessors(config, input, ...additionalArgumen
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListStreamProcessors = paginateListStreamProcessors;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./DescribeProjectVersionsPaginator"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./DescribeProjectsPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./GetCelebrityRecognitionPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./GetContentModerationPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./GetFaceDetectionPaginator"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./GetFaceSearchPaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./GetLabelDetectionPaginator"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./GetPersonTrackingPaginator"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./GetSegmentDetectionPaginator"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./GetTextDetectionPaginator"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./ListCollectionsPaginator"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./ListFacesPaginator"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./ListStreamProcessorsPaginator"), exports);
|
|
@@ -8214,14 +8214,12 @@ const deserializeMetadata = (output) => {
|
|
|
8214
8214
|
cfId: output.headers["x-amz-cf-id"],
|
|
8215
8215
|
});
|
|
8216
8216
|
};
|
|
8217
|
-
// Collect low-level response body stream to Uint8Array.
|
|
8218
8217
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
8219
8218
|
if (streamBody instanceof Uint8Array) {
|
|
8220
8219
|
return Promise.resolve(streamBody);
|
|
8221
8220
|
}
|
|
8222
8221
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
8223
8222
|
};
|
|
8224
|
-
// Encode Uint8Array data into string with utf-8.
|
|
8225
8223
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
8226
8224
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
8227
8225
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -8247,9 +8245,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
8247
8245
|
}
|
|
8248
8246
|
return {};
|
|
8249
8247
|
});
|
|
8250
|
-
/**
|
|
8251
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
8252
|
-
*/
|
|
8253
8248
|
const loadRestJsonErrorCode = (output, data) => {
|
|
8254
8249
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
8255
8250
|
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,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./waitForProjectVersionRunning"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./waitForProjectVersionTrainingCompleted"), exports);
|
|
@@ -46,20 +46,11 @@ const checkState = async (client, input) => {
|
|
|
46
46
|
}
|
|
47
47
|
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
48
48
|
};
|
|
49
|
-
/**
|
|
50
|
-
* Wait until the ProjectVersion is running.
|
|
51
|
-
* @deprecated Use waitUntilProjectVersionRunning instead. waitForProjectVersionRunning does not throw error in non-success cases.
|
|
52
|
-
*/
|
|
53
49
|
const waitForProjectVersionRunning = async (params, input) => {
|
|
54
50
|
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
55
51
|
return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
56
52
|
};
|
|
57
53
|
exports.waitForProjectVersionRunning = waitForProjectVersionRunning;
|
|
58
|
-
/**
|
|
59
|
-
* Wait until the ProjectVersion is running.
|
|
60
|
-
* @param params - Waiter configuration options.
|
|
61
|
-
* @param input - The input to DescribeProjectVersionsCommand for polling.
|
|
62
|
-
*/
|
|
63
54
|
const waitUntilProjectVersionRunning = async (params, input) => {
|
|
64
55
|
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
65
56
|
const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
@@ -46,20 +46,11 @@ const checkState = async (client, input) => {
|
|
|
46
46
|
}
|
|
47
47
|
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
48
48
|
};
|
|
49
|
-
/**
|
|
50
|
-
* Wait until the ProjectVersion training completes.
|
|
51
|
-
* @deprecated Use waitUntilProjectVersionTrainingCompleted instead. waitForProjectVersionTrainingCompleted does not throw error in non-success cases.
|
|
52
|
-
*/
|
|
53
49
|
const waitForProjectVersionTrainingCompleted = async (params, input) => {
|
|
54
50
|
const serviceDefaults = { minDelay: 120, maxDelay: 120 };
|
|
55
51
|
return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
56
52
|
};
|
|
57
53
|
exports.waitForProjectVersionTrainingCompleted = waitForProjectVersionTrainingCompleted;
|
|
58
|
-
/**
|
|
59
|
-
* Wait until the ProjectVersion training completes.
|
|
60
|
-
* @param params - Waiter configuration options.
|
|
61
|
-
* @param input - The input to DescribeProjectVersionsCommand for polling.
|
|
62
|
-
*/
|
|
63
54
|
const waitUntilProjectVersionTrainingCompleted = async (params, input) => {
|
|
64
55
|
const serviceDefaults = { minDelay: 120, maxDelay: 120 };
|
|
65
56
|
const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export * from "./CompareFacesCommand";
|
|
2
|
+
export * from "./CreateCollectionCommand";
|
|
3
|
+
export * from "./CreateProjectCommand";
|
|
4
|
+
export * from "./CreateProjectVersionCommand";
|
|
5
|
+
export * from "./CreateStreamProcessorCommand";
|
|
6
|
+
export * from "./DeleteCollectionCommand";
|
|
7
|
+
export * from "./DeleteFacesCommand";
|
|
8
|
+
export * from "./DeleteProjectCommand";
|
|
9
|
+
export * from "./DeleteProjectVersionCommand";
|
|
10
|
+
export * from "./DeleteStreamProcessorCommand";
|
|
11
|
+
export * from "./DescribeCollectionCommand";
|
|
12
|
+
export * from "./DescribeProjectVersionsCommand";
|
|
13
|
+
export * from "./DescribeProjectsCommand";
|
|
14
|
+
export * from "./DescribeStreamProcessorCommand";
|
|
15
|
+
export * from "./DetectCustomLabelsCommand";
|
|
16
|
+
export * from "./DetectFacesCommand";
|
|
17
|
+
export * from "./DetectLabelsCommand";
|
|
18
|
+
export * from "./DetectModerationLabelsCommand";
|
|
19
|
+
export * from "./DetectProtectiveEquipmentCommand";
|
|
20
|
+
export * from "./DetectTextCommand";
|
|
21
|
+
export * from "./GetCelebrityInfoCommand";
|
|
22
|
+
export * from "./GetCelebrityRecognitionCommand";
|
|
23
|
+
export * from "./GetContentModerationCommand";
|
|
24
|
+
export * from "./GetFaceDetectionCommand";
|
|
25
|
+
export * from "./GetFaceSearchCommand";
|
|
26
|
+
export * from "./GetLabelDetectionCommand";
|
|
27
|
+
export * from "./GetPersonTrackingCommand";
|
|
28
|
+
export * from "./GetSegmentDetectionCommand";
|
|
29
|
+
export * from "./GetTextDetectionCommand";
|
|
30
|
+
export * from "./IndexFacesCommand";
|
|
31
|
+
export * from "./ListCollectionsCommand";
|
|
32
|
+
export * from "./ListFacesCommand";
|
|
33
|
+
export * from "./ListStreamProcessorsCommand";
|
|
34
|
+
export * from "./ListTagsForResourceCommand";
|
|
35
|
+
export * from "./RecognizeCelebritiesCommand";
|
|
36
|
+
export * from "./SearchFacesByImageCommand";
|
|
37
|
+
export * from "./SearchFacesCommand";
|
|
38
|
+
export * from "./StartCelebrityRecognitionCommand";
|
|
39
|
+
export * from "./StartContentModerationCommand";
|
|
40
|
+
export * from "./StartFaceDetectionCommand";
|
|
41
|
+
export * from "./StartFaceSearchCommand";
|
|
42
|
+
export * from "./StartLabelDetectionCommand";
|
|
43
|
+
export * from "./StartPersonTrackingCommand";
|
|
44
|
+
export * from "./StartProjectVersionCommand";
|
|
45
|
+
export * from "./StartSegmentDetectionCommand";
|
|
46
|
+
export * from "./StartStreamProcessorCommand";
|
|
47
|
+
export * from "./StartTextDetectionCommand";
|
|
48
|
+
export * from "./StopProjectVersionCommand";
|
|
49
|
+
export * from "./StopStreamProcessorCommand";
|
|
50
|
+
export * from "./TagResourceCommand";
|
|
51
|
+
export * from "./UntagResourceCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -56,22 +56,27 @@ var partitionHash = {
|
|
|
56
56
|
"us-west-1",
|
|
57
57
|
"us-west-2",
|
|
58
58
|
],
|
|
59
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
59
60
|
hostname: "rekognition.{region}.amazonaws.com",
|
|
60
61
|
},
|
|
61
62
|
"aws-cn": {
|
|
62
63
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
64
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
63
65
|
hostname: "rekognition.{region}.amazonaws.com.cn",
|
|
64
66
|
},
|
|
65
67
|
"aws-iso": {
|
|
66
|
-
regions: ["us-iso-east-1"],
|
|
68
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
69
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
67
70
|
hostname: "rekognition.{region}.c2s.ic.gov",
|
|
68
71
|
},
|
|
69
72
|
"aws-iso-b": {
|
|
70
73
|
regions: ["us-isob-east-1"],
|
|
74
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
71
75
|
hostname: "rekognition.{region}.sc2s.sgov.gov",
|
|
72
76
|
},
|
|
73
77
|
"aws-us-gov": {
|
|
74
78
|
regions: ["rekognition-fips.us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
79
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
75
80
|
hostname: "rekognition.{region}.amazonaws.com",
|
|
76
81
|
},
|
|
77
82
|
};
|