@aws-sdk/client-rekognition 3.39.0 → 3.43.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 +39 -0
- package/dist-cjs/Rekognition.js +105 -0
- package/dist-cjs/commands/CreateDatasetCommand.js +36 -0
- package/dist-cjs/commands/DeleteDatasetCommand.js +36 -0
- package/dist-cjs/commands/DescribeDatasetCommand.js +36 -0
- package/dist-cjs/commands/DistributeDatasetEntriesCommand.js +36 -0
- package/dist-cjs/commands/ListDatasetEntriesCommand.js +36 -0
- package/dist-cjs/commands/ListDatasetLabelsCommand.js +36 -0
- package/dist-cjs/commands/UpdateDatasetEntriesCommand.js +36 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/endpoints.js +157 -24
- package/dist-cjs/models/models_0.js +170 -16
- package/dist-cjs/pagination/ListDatasetEntriesPaginator.js +35 -0
- package/dist-cjs/pagination/ListDatasetLabelsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1077 -54
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/Rekognition.js +105 -0
- package/dist-es/commands/CreateDatasetCommand.js +39 -0
- package/dist-es/commands/DeleteDatasetCommand.js +39 -0
- package/dist-es/commands/DescribeDatasetCommand.js +39 -0
- package/dist-es/commands/DistributeDatasetEntriesCommand.js +39 -0
- package/dist-es/commands/ListDatasetEntriesCommand.js +39 -0
- package/dist-es/commands/ListDatasetLabelsCommand.js +39 -0
- package/dist-es/commands/UpdateDatasetEntriesCommand.js +39 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoints.js +157 -24
- package/dist-es/models/models_0.js +117 -8
- package/dist-es/pagination/ListDatasetEntriesPaginator.js +74 -0
- package/dist-es/pagination/ListDatasetLabelsPaginator.js +74 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +1111 -51
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/Rekognition.d.ts +209 -29
- package/dist-types/RekognitionClient.d.ts +17 -2
- package/dist-types/commands/CompareFacesCommand.d.ts +1 -1
- package/dist-types/commands/CreateCollectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateDatasetCommand.d.ts +59 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +3 -3
- package/dist-types/commands/CreateProjectVersionCommand.d.ts +33 -5
- package/dist-types/commands/CreateStreamProcessorCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCollectionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDatasetCommand.d.ts +44 -0
- package/dist-types/commands/DeleteFacesCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProjectCommand.d.ts +5 -1
- package/dist-types/commands/DeleteProjectVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStreamProcessorCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCollectionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDatasetCommand.d.ts +39 -0
- package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeProjectsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeStreamProcessorCommand.d.ts +1 -1
- package/dist-types/commands/DetectCustomLabelsCommand.d.ts +1 -1
- package/dist-types/commands/DetectFacesCommand.d.ts +1 -1
- package/dist-types/commands/DetectLabelsCommand.d.ts +1 -1
- package/dist-types/commands/DetectModerationLabelsCommand.d.ts +1 -1
- package/dist-types/commands/DetectProtectiveEquipmentCommand.d.ts +1 -1
- package/dist-types/commands/DetectTextCommand.d.ts +1 -1
- package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +46 -0
- package/dist-types/commands/GetCelebrityInfoCommand.d.ts +1 -1
- package/dist-types/commands/GetCelebrityRecognitionCommand.d.ts +23 -18
- package/dist-types/commands/GetContentModerationCommand.d.ts +1 -1
- package/dist-types/commands/GetFaceDetectionCommand.d.ts +1 -1
- package/dist-types/commands/GetFaceSearchCommand.d.ts +1 -1
- package/dist-types/commands/GetLabelDetectionCommand.d.ts +1 -1
- package/dist-types/commands/GetPersonTrackingCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentDetectionCommand.d.ts +1 -1
- package/dist-types/commands/GetTextDetectionCommand.d.ts +1 -1
- package/dist-types/commands/IndexFacesCommand.d.ts +1 -1
- package/dist-types/commands/ListCollectionsCommand.d.ts +1 -1
- package/dist-types/commands/ListDatasetEntriesCommand.d.ts +49 -0
- package/dist-types/commands/ListDatasetLabelsCommand.d.ts +40 -0
- package/dist-types/commands/ListFacesCommand.d.ts +1 -1
- package/dist-types/commands/ListStreamProcessorsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +4 -4
- package/dist-types/commands/SearchFacesByImageCommand.d.ts +1 -1
- package/dist-types/commands/SearchFacesCommand.d.ts +1 -1
- package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +1 -1
- package/dist-types/commands/StartContentModerationCommand.d.ts +1 -1
- package/dist-types/commands/StartFaceDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StartFaceSearchCommand.d.ts +1 -1
- package/dist-types/commands/StartLabelDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StartPersonTrackingCommand.d.ts +1 -1
- package/dist-types/commands/StartProjectVersionCommand.d.ts +1 -1
- package/dist-types/commands/StartSegmentDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StartStreamProcessorCommand.d.ts +1 -1
- package/dist-types/commands/StartTextDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StopProjectVersionCommand.d.ts +1 -1
- package/dist-types/commands/StopStreamProcessorCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +62 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +622 -51
- package/dist-types/pagination/ListDatasetEntriesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDatasetLabelsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +21 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/Rekognition.d.ts +35 -0
- package/dist-types/ts3.4/RekognitionClient.d.ts +13 -2
- package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DistributeDatasetEntriesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDatasetEntriesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDatasetLabelsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDatasetEntriesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +283 -23
- package/dist-types/ts3.4/pagination/ListDatasetEntriesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDatasetLabelsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +21 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +24 -24
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ListDatasetLabelsRequest, ListDatasetLabelsResponse } from "../models/models_0";
|
|
4
|
+
import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
|
|
5
|
+
export interface ListDatasetLabelsCommandInput extends ListDatasetLabelsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListDatasetLabelsCommandOutput extends ListDatasetLabelsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists the labels in a dataset. Amazon Rekognition Custom Labels uses labels to describe images. For more information, see
|
|
11
|
+
* <a href="https://docs.aws.amazon.com/rekognition/latest/customlabels-dg/md-labeling-images.html">Labeling images</a>.
|
|
12
|
+
* </p>
|
|
13
|
+
* <p>
|
|
14
|
+
* Lists the labels in a dataset. Amazon Rekognition Custom Labels uses labels to describe images. For more information, see Labeling images
|
|
15
|
+
* in the <i>Amazon Rekognition Custom Labels Developer Guide</i>. </p>
|
|
16
|
+
* @example
|
|
17
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
+
* ```javascript
|
|
19
|
+
* import { RekognitionClient, ListDatasetLabelsCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
20
|
+
* // const { RekognitionClient, ListDatasetLabelsCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
21
|
+
* const client = new RekognitionClient(config);
|
|
22
|
+
* const command = new ListDatasetLabelsCommand(input);
|
|
23
|
+
* const response = await client.send(command);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @see {@link ListDatasetLabelsCommandInput} for command's `input` shape.
|
|
27
|
+
* @see {@link ListDatasetLabelsCommandOutput} for command's `response` shape.
|
|
28
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
export declare class ListDatasetLabelsCommand extends $Command<ListDatasetLabelsCommandInput, ListDatasetLabelsCommandOutput, RekognitionClientResolvedConfig> {
|
|
32
|
+
readonly input: ListDatasetLabelsCommandInput;
|
|
33
|
+
constructor(input: ListDatasetLabelsCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDatasetLabelsCommandInput, ListDatasetLabelsCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|
|
@@ -27,7 +27,7 @@ export interface ListFacesCommandOutput extends ListFacesResponse, __MetadataBea
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link ListFacesCommandInput} for command's `input` shape.
|
|
29
29
|
* @see {@link ListFacesCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
30
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
export declare class ListFacesCommand extends $Command<ListFacesCommandInput, ListFacesCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface ListStreamProcessorsCommandOutput extends ListStreamProcessorsR
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link ListStreamProcessorsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link ListStreamProcessorsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class ListStreamProcessorsCommand extends $Command<ListStreamProcessorsCommandInput, ListStreamProcessorsCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -24,7 +24,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
24
24
|
*
|
|
25
25
|
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
26
26
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
27
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
28
28
|
*
|
|
29
29
|
*/
|
|
30
30
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -10,9 +10,9 @@ export interface RecognizeCelebritiesCommandOutput extends RecognizeCelebritiesR
|
|
|
10
10
|
* <p>Returns an array of celebrities recognized in the input image. For more information, see Recognizing Celebrities
|
|
11
11
|
* in the Amazon Rekognition Developer Guide. </p>
|
|
12
12
|
* <p>
|
|
13
|
-
* <code>RecognizeCelebrities</code> returns the 64 largest faces in the image. It lists
|
|
14
|
-
* recognized celebrities in the <code>CelebrityFaces</code> array and unrecognized faces in
|
|
15
|
-
*
|
|
13
|
+
* <code>RecognizeCelebrities</code> returns the 64 largest faces in the image. It lists the
|
|
14
|
+
* recognized celebrities in the <code>CelebrityFaces</code> array and any unrecognized faces in
|
|
15
|
+
* the <code>UnrecognizedFaces</code> array. <code>RecognizeCelebrities</code> doesn't return
|
|
16
16
|
* celebrities whose faces aren't among the largest 64 faces in the image.</p>
|
|
17
17
|
*
|
|
18
18
|
* <p>For each celebrity recognized, <code>RecognizeCelebrities</code> returns a
|
|
@@ -50,7 +50,7 @@ export interface RecognizeCelebritiesCommandOutput extends RecognizeCelebritiesR
|
|
|
50
50
|
*
|
|
51
51
|
* @see {@link RecognizeCelebritiesCommandInput} for command's `input` shape.
|
|
52
52
|
* @see {@link RecognizeCelebritiesCommandOutput} for command's `response` shape.
|
|
53
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
53
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
54
54
|
*
|
|
55
55
|
*/
|
|
56
56
|
export declare class RecognizeCelebritiesCommand extends $Command<RecognizeCelebritiesCommandInput, RecognizeCelebritiesCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -66,7 +66,7 @@ export interface SearchFacesByImageCommandOutput extends SearchFacesByImageRespo
|
|
|
66
66
|
*
|
|
67
67
|
* @see {@link SearchFacesByImageCommandInput} for command's `input` shape.
|
|
68
68
|
* @see {@link SearchFacesByImageCommandOutput} for command's `response` shape.
|
|
69
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
69
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
70
70
|
*
|
|
71
71
|
*/
|
|
72
72
|
export declare class SearchFacesByImageCommand extends $Command<SearchFacesByImageCommandInput, SearchFacesByImageCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -40,7 +40,7 @@ export interface SearchFacesCommandOutput extends SearchFacesResponse, __Metadat
|
|
|
40
40
|
*
|
|
41
41
|
* @see {@link SearchFacesCommandInput} for command's `input` shape.
|
|
42
42
|
* @see {@link SearchFacesCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
43
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
44
44
|
*
|
|
45
45
|
*/
|
|
46
46
|
export declare class SearchFacesCommand extends $Command<SearchFacesCommandInput, SearchFacesCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -31,7 +31,7 @@ export interface StartCelebrityRecognitionCommandOutput extends StartCelebrityRe
|
|
|
31
31
|
*
|
|
32
32
|
* @see {@link StartCelebrityRecognitionCommandInput} for command's `input` shape.
|
|
33
33
|
* @see {@link StartCelebrityRecognitionCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
34
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
35
35
|
*
|
|
36
36
|
*/
|
|
37
37
|
export declare class StartCelebrityRecognitionCommand extends $Command<StartCelebrityRecognitionCommandInput, StartCelebrityRecognitionCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -31,7 +31,7 @@ export interface StartContentModerationCommandOutput extends StartContentModerat
|
|
|
31
31
|
*
|
|
32
32
|
* @see {@link StartContentModerationCommandInput} for command's `input` shape.
|
|
33
33
|
* @see {@link StartContentModerationCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
34
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
35
35
|
*
|
|
36
36
|
*/
|
|
37
37
|
export declare class StartContentModerationCommand extends $Command<StartContentModerationCommandInput, StartContentModerationCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -32,7 +32,7 @@ export interface StartFaceDetectionCommandOutput extends StartFaceDetectionRespo
|
|
|
32
32
|
*
|
|
33
33
|
* @see {@link StartFaceDetectionCommandInput} for command's `input` shape.
|
|
34
34
|
* @see {@link StartFaceDetectionCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
35
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
36
36
|
*
|
|
37
37
|
*/
|
|
38
38
|
export declare class StartFaceDetectionCommand extends $Command<StartFaceDetectionCommandInput, StartFaceDetectionCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -29,7 +29,7 @@ export interface StartFaceSearchCommandOutput extends StartFaceSearchResponse, _
|
|
|
29
29
|
*
|
|
30
30
|
* @see {@link StartFaceSearchCommandInput} for command's `input` shape.
|
|
31
31
|
* @see {@link StartFaceSearchCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
32
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
33
33
|
*
|
|
34
34
|
*/
|
|
35
35
|
export declare class StartFaceSearchCommand extends $Command<StartFaceSearchCommandInput, StartFaceSearchCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -34,7 +34,7 @@ export interface StartLabelDetectionCommandOutput extends StartLabelDetectionRes
|
|
|
34
34
|
*
|
|
35
35
|
* @see {@link StartLabelDetectionCommandInput} for command's `input` shape.
|
|
36
36
|
* @see {@link StartLabelDetectionCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
37
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
38
38
|
*
|
|
39
39
|
*/
|
|
40
40
|
export declare class StartLabelDetectionCommand extends $Command<StartLabelDetectionCommandInput, StartLabelDetectionCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -28,7 +28,7 @@ export interface StartPersonTrackingCommandOutput extends StartPersonTrackingRes
|
|
|
28
28
|
*
|
|
29
29
|
* @see {@link StartPersonTrackingCommandInput} for command's `input` shape.
|
|
30
30
|
* @see {@link StartPersonTrackingCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
31
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
32
32
|
*
|
|
33
33
|
*/
|
|
34
34
|
export declare class StartPersonTrackingCommand extends $Command<StartPersonTrackingCommandInput, StartPersonTrackingCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -29,7 +29,7 @@ export interface StartProjectVersionCommandOutput extends StartProjectVersionRes
|
|
|
29
29
|
*
|
|
30
30
|
* @see {@link StartProjectVersionCommandInput} for command's `input` shape.
|
|
31
31
|
* @see {@link StartProjectVersionCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
32
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
33
33
|
*
|
|
34
34
|
*/
|
|
35
35
|
export declare class StartProjectVersionCommand extends $Command<StartProjectVersionCommandInput, StartProjectVersionCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -35,7 +35,7 @@ export interface StartSegmentDetectionCommandOutput extends StartSegmentDetectio
|
|
|
35
35
|
*
|
|
36
36
|
* @see {@link StartSegmentDetectionCommandInput} for command's `input` shape.
|
|
37
37
|
* @see {@link StartSegmentDetectionCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
38
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
39
39
|
*
|
|
40
40
|
*/
|
|
41
41
|
export declare class StartSegmentDetectionCommand extends $Command<StartSegmentDetectionCommandInput, StartSegmentDetectionCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -22,7 +22,7 @@ export interface StartStreamProcessorCommandOutput extends StartStreamProcessorR
|
|
|
22
22
|
*
|
|
23
23
|
* @see {@link StartStreamProcessorCommandInput} for command's `input` shape.
|
|
24
24
|
* @see {@link StartStreamProcessorCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare class StartStreamProcessorCommand extends $Command<StartStreamProcessorCommandInput, StartStreamProcessorCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -27,7 +27,7 @@ export interface StartTextDetectionCommandOutput extends StartTextDetectionRespo
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link StartTextDetectionCommandInput} for command's `input` shape.
|
|
29
29
|
* @see {@link StartTextDetectionCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
30
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
export declare class StartTextDetectionCommand extends $Command<StartTextDetectionCommandInput, StartTextDetectionCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface StopProjectVersionCommandOutput extends StopProjectVersionRespo
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link StopProjectVersionCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link StopProjectVersionCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class StopProjectVersionCommand extends $Command<StopProjectVersionCommandInput, StopProjectVersionCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface StopStreamProcessorCommandOutput extends StopStreamProcessorRes
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link StopStreamProcessorCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link StopStreamProcessorCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class StopStreamProcessorCommand extends $Command<StopStreamProcessorCommandInput, StopStreamProcessorCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -24,7 +24,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
24
24
|
*
|
|
25
25
|
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
26
26
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
27
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
28
28
|
*
|
|
29
29
|
*/
|
|
30
30
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -24,7 +24,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
24
24
|
*
|
|
25
25
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
26
26
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
27
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
28
28
|
*
|
|
29
29
|
*/
|
|
30
30
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { UpdateDatasetEntriesRequest, UpdateDatasetEntriesResponse } from "../models/models_0";
|
|
4
|
+
import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
|
|
5
|
+
export interface UpdateDatasetEntriesCommandInput extends UpdateDatasetEntriesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateDatasetEntriesCommandOutput extends UpdateDatasetEntriesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Adds or updates one or more entries (images) in a dataset. An entry is a JSON Line which contains the
|
|
11
|
+
* information for a single image, including
|
|
12
|
+
* the image location, assigned labels, and object location bounding boxes. For more information,
|
|
13
|
+
* see Image-Level labels in manifest files and Object localization in manifest files in the <i>Amazon Rekognition Custom Labels Developer Guide</i>.
|
|
14
|
+
* </p>
|
|
15
|
+
*
|
|
16
|
+
*
|
|
17
|
+
*
|
|
18
|
+
* <p>If the <code>source-ref</code> field in the JSON line references an existing image, the existing image in the dataset
|
|
19
|
+
* is updated.
|
|
20
|
+
* If <code>source-ref</code> field doesn't reference an existing image, the image is added as a new image to the dataset. </p>
|
|
21
|
+
*
|
|
22
|
+
* <p>You specify the changes that you want to make in the <code>Changes</code> input parameter.
|
|
23
|
+
* There isn't a limit to the number JSON Lines that you can change, but the size of <code>Changes</code> must be less
|
|
24
|
+
* than 5MB.</p>
|
|
25
|
+
*
|
|
26
|
+
*
|
|
27
|
+
* <p>
|
|
28
|
+
* <code>UpdateDatasetEntries</code> returns immediatly, but the dataset update might take a while to complete.
|
|
29
|
+
* Use <a>DescribeDataset</a> to check the
|
|
30
|
+
* current status. The dataset updated successfully if the value of <code>Status</code> is
|
|
31
|
+
* <code>UPDATE_COMPLETE</code>. </p>
|
|
32
|
+
* <p>To check if any non-terminal errors occured, call <a>ListDatasetEntries</a>
|
|
33
|
+
* and check for the presence of <code>errors</code> lists in the JSON Lines.</p>
|
|
34
|
+
* <p>Dataset update fails if a terminal error occurs (<code>Status</code> = <code>UPDATE_FAILED</code>).
|
|
35
|
+
* Currently, you can't access the terminal error information from the Amazon Rekognition Custom Labels SDK.
|
|
36
|
+
* </p>
|
|
37
|
+
* <p>This operation requires permissions to perform the <code>rekognition:UpdateDatasetEntries</code> action.</p>
|
|
38
|
+
* @example
|
|
39
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
+
* ```javascript
|
|
41
|
+
* import { RekognitionClient, UpdateDatasetEntriesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
42
|
+
* // const { RekognitionClient, UpdateDatasetEntriesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
43
|
+
* const client = new RekognitionClient(config);
|
|
44
|
+
* const command = new UpdateDatasetEntriesCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @see {@link UpdateDatasetEntriesCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link UpdateDatasetEntriesCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
export declare class UpdateDatasetEntriesCommand extends $Command<UpdateDatasetEntriesCommandInput, UpdateDatasetEntriesCommandOutput, RekognitionClientResolvedConfig> {
|
|
54
|
+
readonly input: UpdateDatasetEntriesCommandInput;
|
|
55
|
+
constructor(input: UpdateDatasetEntriesCommandInput);
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateDatasetEntriesCommandInput, UpdateDatasetEntriesCommandOutput>;
|
|
60
|
+
private serialize;
|
|
61
|
+
private deserialize;
|
|
62
|
+
}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
export * from "./CompareFacesCommand";
|
|
2
2
|
export * from "./CreateCollectionCommand";
|
|
3
|
+
export * from "./CreateDatasetCommand";
|
|
3
4
|
export * from "./CreateProjectCommand";
|
|
4
5
|
export * from "./CreateProjectVersionCommand";
|
|
5
6
|
export * from "./CreateStreamProcessorCommand";
|
|
6
7
|
export * from "./DeleteCollectionCommand";
|
|
8
|
+
export * from "./DeleteDatasetCommand";
|
|
7
9
|
export * from "./DeleteFacesCommand";
|
|
8
10
|
export * from "./DeleteProjectCommand";
|
|
9
11
|
export * from "./DeleteProjectVersionCommand";
|
|
10
12
|
export * from "./DeleteStreamProcessorCommand";
|
|
11
13
|
export * from "./DescribeCollectionCommand";
|
|
14
|
+
export * from "./DescribeDatasetCommand";
|
|
12
15
|
export * from "./DescribeProjectVersionsCommand";
|
|
13
16
|
export * from "./DescribeProjectsCommand";
|
|
14
17
|
export * from "./DescribeStreamProcessorCommand";
|
|
@@ -18,6 +21,7 @@ export * from "./DetectLabelsCommand";
|
|
|
18
21
|
export * from "./DetectModerationLabelsCommand";
|
|
19
22
|
export * from "./DetectProtectiveEquipmentCommand";
|
|
20
23
|
export * from "./DetectTextCommand";
|
|
24
|
+
export * from "./DistributeDatasetEntriesCommand";
|
|
21
25
|
export * from "./GetCelebrityInfoCommand";
|
|
22
26
|
export * from "./GetCelebrityRecognitionCommand";
|
|
23
27
|
export * from "./GetContentModerationCommand";
|
|
@@ -29,6 +33,8 @@ export * from "./GetSegmentDetectionCommand";
|
|
|
29
33
|
export * from "./GetTextDetectionCommand";
|
|
30
34
|
export * from "./IndexFacesCommand";
|
|
31
35
|
export * from "./ListCollectionsCommand";
|
|
36
|
+
export * from "./ListDatasetEntriesCommand";
|
|
37
|
+
export * from "./ListDatasetLabelsCommand";
|
|
32
38
|
export * from "./ListFacesCommand";
|
|
33
39
|
export * from "./ListStreamProcessorsCommand";
|
|
34
40
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -49,3 +55,4 @@ export * from "./StopProjectVersionCommand";
|
|
|
49
55
|
export * from "./StopStreamProcessorCommand";
|
|
50
56
|
export * from "./TagResourceCommand";
|
|
51
57
|
export * from "./UntagResourceCommand";
|
|
58
|
+
export * from "./UpdateDatasetEntriesCommand";
|