@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
|
@@ -8,14 +8,42 @@ export interface CreateProjectVersionCommandOutput extends CreateProjectVersionR
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates a new version of a model and begins training.
|
|
11
|
-
* Models are managed as part of an Amazon Rekognition Custom Labels project.
|
|
12
|
-
*
|
|
11
|
+
* Models are managed as part of an Amazon Rekognition Custom Labels project.
|
|
12
|
+
* The response from <code>CreateProjectVersion</code>
|
|
13
13
|
* is an Amazon Resource Name (ARN) for the version of the model. </p>
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* <p>Training uses the training and test datasets associated with the project.
|
|
17
|
+
* For more information, see Creating training and test dataset in the <i>Amazon Rekognition Custom Labels Developer Guide</i>.
|
|
18
|
+
* </p>
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
* <note>
|
|
22
|
+
* <p>You can train a modelin a project that doesn't have associated datasets by specifying manifest files in the
|
|
23
|
+
* <code>TrainingData</code> and <code>TestingData</code> fields.
|
|
24
|
+
* </p>
|
|
25
|
+
* <p>If you open the console after training a model with manifest files, Amazon Rekognition Custom Labels creates
|
|
26
|
+
* the datasets for you using the most recent manifest files. You can no longer train
|
|
27
|
+
* a model version for the project by specifying manifest files. </p>
|
|
28
|
+
* <p>Instead of training with a project without associated datasets,
|
|
29
|
+
* we recommend that you use the manifest
|
|
30
|
+
* files to create training and test datasets for the project.</p>
|
|
31
|
+
* </note>
|
|
32
|
+
*
|
|
33
|
+
*
|
|
14
34
|
* <p>Training takes a while to complete. You can get the current status by calling
|
|
15
|
-
* <a>DescribeProjectVersions</a
|
|
35
|
+
* <a>DescribeProjectVersions</a>. Training completed successfully if
|
|
36
|
+
* the value of the <code>Status</code> field is <code>TRAINING_COMPLETED</code>.</p>
|
|
37
|
+
*
|
|
38
|
+
* <p>If training
|
|
39
|
+
* fails, see Debugging a failed model training in the <i>Amazon Rekognition Custom Labels</i> developer guide. </p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
16
42
|
* <p>Once training has successfully completed, call <a>DescribeProjectVersions</a> to
|
|
17
|
-
* get the training results and evaluate the model.
|
|
43
|
+
* get the training results and evaluate the model. For more information, see Improving a trained Amazon Rekognition Custom Labels model
|
|
44
|
+
* in the <i>Amazon Rekognition Custom Labels</i> developers guide.
|
|
18
45
|
* </p>
|
|
46
|
+
*
|
|
19
47
|
* <p>After evaluating the model, you start the model
|
|
20
48
|
* by calling <a>StartProjectVersion</a>.</p>
|
|
21
49
|
* <p>This operation requires permissions to perform the <code>rekognition:CreateProjectVersion</code> action.</p>
|
|
@@ -31,7 +59,7 @@ export interface CreateProjectVersionCommandOutput extends CreateProjectVersionR
|
|
|
31
59
|
*
|
|
32
60
|
* @see {@link CreateProjectVersionCommandInput} for command's `input` shape.
|
|
33
61
|
* @see {@link CreateProjectVersionCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
62
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
35
63
|
*
|
|
36
64
|
*/
|
|
37
65
|
export declare class CreateProjectVersionCommand extends $Command<CreateProjectVersionCommandInput, CreateProjectVersionCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -30,7 +30,7 @@ export interface CreateStreamProcessorCommandOutput extends CreateStreamProcesso
|
|
|
30
30
|
*
|
|
31
31
|
* @see {@link CreateStreamProcessorCommandInput} for command's `input` shape.
|
|
32
32
|
* @see {@link CreateStreamProcessorCommandOutput} for command's `response` shape.
|
|
33
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
33
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
34
34
|
*
|
|
35
35
|
*/
|
|
36
36
|
export declare class CreateStreamProcessorCommand extends $Command<CreateStreamProcessorCommandInput, CreateStreamProcessorCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -24,7 +24,7 @@ export interface DeleteCollectionCommandOutput extends DeleteCollectionResponse,
|
|
|
24
24
|
*
|
|
25
25
|
* @see {@link DeleteCollectionCommandInput} for command's `input` shape.
|
|
26
26
|
* @see {@link DeleteCollectionCommandOutput} 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 DeleteCollectionCommand extends $Command<DeleteCollectionCommandInput, DeleteCollectionCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { DeleteDatasetRequest, DeleteDatasetResponse } from "../models/models_0";
|
|
4
|
+
import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
|
|
5
|
+
export interface DeleteDatasetCommandInput extends DeleteDatasetRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteDatasetCommandOutput extends DeleteDatasetResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes an existing Amazon Rekognition Custom Labels dataset.
|
|
11
|
+
* Deleting a dataset might take while. Use <a>DescribeDataset</a> to check the
|
|
12
|
+
* current status. The dataset is still deleting if the value of <code>Status</code> is
|
|
13
|
+
* <code>DELETE_IN_PROGRESS</code>. If you try to access the dataset after it is deleted, you get
|
|
14
|
+
* a <code>ResourceNotFoundException</code> exception.
|
|
15
|
+
*
|
|
16
|
+
* </p>
|
|
17
|
+
* <p>You can't delete a dataset while it is creating (<code>Status</code> = <code>CREATE_IN_PROGRESS</code>)
|
|
18
|
+
* or if the dataset is updating (<code>Status</code> = <code>UPDATE_IN_PROGRESS</code>).</p>
|
|
19
|
+
* <p>This operation requires permissions to perform the <code>rekognition:DeleteDataset</code> action.</p>
|
|
20
|
+
* @example
|
|
21
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
+
* ```javascript
|
|
23
|
+
* import { RekognitionClient, DeleteDatasetCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
24
|
+
* // const { RekognitionClient, DeleteDatasetCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
25
|
+
* const client = new RekognitionClient(config);
|
|
26
|
+
* const command = new DeleteDatasetCommand(input);
|
|
27
|
+
* const response = await client.send(command);
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @see {@link DeleteDatasetCommandInput} for command's `input` shape.
|
|
31
|
+
* @see {@link DeleteDatasetCommandOutput} for command's `response` shape.
|
|
32
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
export declare class DeleteDatasetCommand extends $Command<DeleteDatasetCommandInput, DeleteDatasetCommandOutput, RekognitionClientResolvedConfig> {
|
|
36
|
+
readonly input: DeleteDatasetCommandInput;
|
|
37
|
+
constructor(input: DeleteDatasetCommandInput);
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDatasetCommandInput, DeleteDatasetCommandOutput>;
|
|
42
|
+
private serialize;
|
|
43
|
+
private deserialize;
|
|
44
|
+
}
|
|
@@ -23,7 +23,7 @@ export interface DeleteFacesCommandOutput extends DeleteFacesResponse, __Metadat
|
|
|
23
23
|
*
|
|
24
24
|
* @see {@link DeleteFacesCommandInput} for command's `input` shape.
|
|
25
25
|
* @see {@link DeleteFacesCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
26
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
export declare class DeleteFacesCommand extends $Command<DeleteFacesCommandInput, DeleteFacesCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -9,6 +9,10 @@ export interface DeleteProjectCommandOutput extends DeleteProjectResponse, __Met
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Deletes an Amazon Rekognition Custom Labels project. To delete a project you must first delete all models associated
|
|
11
11
|
* with the project. To delete a model, see <a>DeleteProjectVersion</a>.</p>
|
|
12
|
+
* <p>
|
|
13
|
+
* <code>DeleteProject</code> is an asynchronous operation. To check if the project is deleted,
|
|
14
|
+
* call <a>DescribeProjects</a>. The project is deleted when the project no longer appears in the
|
|
15
|
+
* response.</p>
|
|
12
16
|
* <p>This operation requires permissions to perform the
|
|
13
17
|
* <code>rekognition:DeleteProject</code> action. </p>
|
|
14
18
|
* @example
|
|
@@ -23,7 +27,7 @@ export interface DeleteProjectCommandOutput extends DeleteProjectResponse, __Met
|
|
|
23
27
|
*
|
|
24
28
|
* @see {@link DeleteProjectCommandInput} for command's `input` shape.
|
|
25
29
|
* @see {@link DeleteProjectCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
30
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
27
31
|
*
|
|
28
32
|
*/
|
|
29
33
|
export declare class DeleteProjectCommand extends $Command<DeleteProjectCommandInput, DeleteProjectCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -27,7 +27,7 @@ export interface DeleteProjectVersionCommandOutput extends DeleteProjectVersionR
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link DeleteProjectVersionCommandInput} for command's `input` shape.
|
|
29
29
|
* @see {@link DeleteProjectVersionCommandOutput} 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 DeleteProjectVersionCommand extends $Command<DeleteProjectVersionCommandInput, DeleteProjectVersionCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface DeleteStreamProcessorCommandOutput extends DeleteStreamProcesso
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link DeleteStreamProcessorCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link DeleteStreamProcessorCommandOutput} 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 DeleteStreamProcessorCommand extends $Command<DeleteStreamProcessorCommandInput, DeleteStreamProcessorCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -25,7 +25,7 @@ export interface DescribeCollectionCommandOutput extends DescribeCollectionRespo
|
|
|
25
25
|
*
|
|
26
26
|
* @see {@link DescribeCollectionCommandInput} for command's `input` shape.
|
|
27
27
|
* @see {@link DescribeCollectionCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
28
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
31
|
export declare class DescribeCollectionCommand extends $Command<DescribeCollectionCommandInput, DescribeCollectionCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { DescribeDatasetRequest, DescribeDatasetResponse } from "../models/models_0";
|
|
4
|
+
import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
|
|
5
|
+
export interface DescribeDatasetCommandInput extends DescribeDatasetRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeDatasetCommandOutput extends DescribeDatasetResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* Describes an Amazon Rekognition Custom Labels dataset. You can get information such as the current status of a dataset and
|
|
12
|
+
* statistics about the images and labels in a dataset.
|
|
13
|
+
* </p>
|
|
14
|
+
* <p>This operation requires permissions to perform the <code>rekognition:DescribeDataset</code> action.</p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { RekognitionClient, DescribeDatasetCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
19
|
+
* // const { RekognitionClient, DescribeDatasetCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
20
|
+
* const client = new RekognitionClient(config);
|
|
21
|
+
* const command = new DescribeDatasetCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DescribeDatasetCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DescribeDatasetCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class DescribeDatasetCommand extends $Command<DescribeDatasetCommandInput, DescribeDatasetCommandOutput, RekognitionClientResolvedConfig> {
|
|
31
|
+
readonly input: DescribeDatasetCommandInput;
|
|
32
|
+
constructor(input: DescribeDatasetCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDatasetCommandInput, DescribeDatasetCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -7,9 +7,9 @@ export interface DescribeProjectVersionsCommandInput extends DescribeProjectVers
|
|
|
7
7
|
export interface DescribeProjectVersionsCommandOutput extends DescribeProjectVersionsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Lists and describes the
|
|
10
|
+
* <p>Lists and describes the versions of a model in an Amazon Rekognition Custom Labels project. You
|
|
11
11
|
* can specify up to 10 model versions in <code>ProjectVersionArns</code>. If
|
|
12
|
-
* you don't specify a value, descriptions for all
|
|
12
|
+
* you don't specify a value, descriptions for all model versions in the project are returned.</p>
|
|
13
13
|
* <p>This operation requires permissions to perform the <code>rekognition:DescribeProjectVersions</code>
|
|
14
14
|
* action.</p>
|
|
15
15
|
* @example
|
|
@@ -24,7 +24,7 @@ export interface DescribeProjectVersionsCommandOutput extends DescribeProjectVer
|
|
|
24
24
|
*
|
|
25
25
|
* @see {@link DescribeProjectVersionsCommandInput} for command's `input` shape.
|
|
26
26
|
* @see {@link DescribeProjectVersionsCommandOutput} 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 DescribeProjectVersionsCommand extends $Command<DescribeProjectVersionsCommandInput, DescribeProjectVersionsCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -7,7 +7,7 @@ export interface DescribeProjectsCommandInput extends DescribeProjectsRequest {
|
|
|
7
7
|
export interface DescribeProjectsCommandOutput extends DescribeProjectsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
10
|
+
* <p>Gets information about your Amazon Rekognition Custom Labels projects. </p>
|
|
11
11
|
* <p>This operation requires permissions to perform the <code>rekognition:DescribeProjects</code> action.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -21,7 +21,7 @@ export interface DescribeProjectsCommandOutput extends DescribeProjectsResponse,
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link DescribeProjectsCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link DescribeProjectsCommandOutput} 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 DescribeProjectsCommand extends $Command<DescribeProjectsCommandInput, DescribeProjectsCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface DescribeStreamProcessorCommandOutput extends DescribeStreamProc
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link DescribeStreamProcessorCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link DescribeStreamProcessorCommandOutput} 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 DescribeStreamProcessorCommand extends $Command<DescribeStreamProcessorCommandInput, DescribeStreamProcessorCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -70,7 +70,7 @@ export interface DetectCustomLabelsCommandOutput extends DetectCustomLabelsRespo
|
|
|
70
70
|
*
|
|
71
71
|
* @see {@link DetectCustomLabelsCommandInput} for command's `input` shape.
|
|
72
72
|
* @see {@link DetectCustomLabelsCommandOutput} for command's `response` shape.
|
|
73
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
73
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
74
74
|
*
|
|
75
75
|
*/
|
|
76
76
|
export declare class DetectCustomLabelsCommand extends $Command<DetectCustomLabelsCommandInput, DetectCustomLabelsCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -42,7 +42,7 @@ export interface DetectFacesCommandOutput extends DetectFacesResponse, __Metadat
|
|
|
42
42
|
*
|
|
43
43
|
* @see {@link DetectFacesCommandInput} for command's `input` shape.
|
|
44
44
|
* @see {@link DetectFacesCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
45
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
46
46
|
*
|
|
47
47
|
*/
|
|
48
48
|
export declare class DetectFacesCommand extends $Command<DetectFacesCommandInput, DetectFacesCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -92,7 +92,7 @@ export interface DetectLabelsCommandOutput extends DetectLabelsResponse, __Metad
|
|
|
92
92
|
*
|
|
93
93
|
* @see {@link DetectLabelsCommandInput} for command's `input` shape.
|
|
94
94
|
* @see {@link DetectLabelsCommandOutput} for command's `response` shape.
|
|
95
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
95
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
96
96
|
*
|
|
97
97
|
*/
|
|
98
98
|
export declare class DetectLabelsCommand extends $Command<DetectLabelsCommandInput, DetectLabelsCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -33,7 +33,7 @@ export interface DetectModerationLabelsCommandOutput extends DetectModerationLab
|
|
|
33
33
|
*
|
|
34
34
|
* @see {@link DetectModerationLabelsCommandInput} for command's `input` shape.
|
|
35
35
|
* @see {@link DetectModerationLabelsCommandOutput} for command's `response` shape.
|
|
36
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
36
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
39
|
export declare class DetectModerationLabelsCommand extends $Command<DetectModerationLabelsCommandInput, DetectModerationLabelsCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -59,7 +59,7 @@ export interface DetectProtectiveEquipmentCommandOutput extends DetectProtective
|
|
|
59
59
|
*
|
|
60
60
|
* @see {@link DetectProtectiveEquipmentCommandInput} for command's `input` shape.
|
|
61
61
|
* @see {@link DetectProtectiveEquipmentCommandOutput} for command's `response` shape.
|
|
62
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
62
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
63
63
|
*
|
|
64
64
|
*/
|
|
65
65
|
export declare class DetectProtectiveEquipmentCommand extends $Command<DetectProtectiveEquipmentCommandInput, DetectProtectiveEquipmentCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -41,7 +41,7 @@ export interface DetectTextCommandOutput extends DetectTextResponse, __MetadataB
|
|
|
41
41
|
*
|
|
42
42
|
* @see {@link DetectTextCommandInput} for command's `input` shape.
|
|
43
43
|
* @see {@link DetectTextCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
44
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
45
45
|
*
|
|
46
46
|
*/
|
|
47
47
|
export declare class DetectTextCommand extends $Command<DetectTextCommandInput, DetectTextCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { DistributeDatasetEntriesRequest, DistributeDatasetEntriesResponse } from "../models/models_0";
|
|
4
|
+
import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
|
|
5
|
+
export interface DistributeDatasetEntriesCommandInput extends DistributeDatasetEntriesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DistributeDatasetEntriesCommandOutput extends DistributeDatasetEntriesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Distributes the entries (images) in a training dataset across the training dataset and the test dataset for a project.
|
|
11
|
+
* <code>DistributeDatasetEntries</code> moves 20% of the training dataset images to the test dataset.
|
|
12
|
+
* An entry is a JSON Line that describes an image.
|
|
13
|
+
* </p>
|
|
14
|
+
* <p>You supply the Amazon Resource Names (ARN) of a project's training dataset and test dataset.
|
|
15
|
+
* The training dataset must contain the images that you want to split. The test dataset
|
|
16
|
+
* must be empty. The datasets must belong to the same project. To create training and test datasets for a project, call <a>CreateDataset</a>.</p>
|
|
17
|
+
* <p>Distributing a dataset takes a while to complete. To check the status call <code>DescribeDataset</code>. The operation
|
|
18
|
+
* is complete when the <code>Status</code> field for the training dataset and the test dataset is <code>UPDATE_COMPLETE</code>.
|
|
19
|
+
* If the dataset split fails, the value of <code>Status</code> is <code>UPDATE_FAILED</code>.</p>
|
|
20
|
+
*
|
|
21
|
+
* <p>This operation requires permissions to perform the <code>rekognition:DistributeDatasetEntries</code> action.</p>
|
|
22
|
+
* @example
|
|
23
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
24
|
+
* ```javascript
|
|
25
|
+
* import { RekognitionClient, DistributeDatasetEntriesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
26
|
+
* // const { RekognitionClient, DistributeDatasetEntriesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
27
|
+
* const client = new RekognitionClient(config);
|
|
28
|
+
* const command = new DistributeDatasetEntriesCommand(input);
|
|
29
|
+
* const response = await client.send(command);
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* @see {@link DistributeDatasetEntriesCommandInput} for command's `input` shape.
|
|
33
|
+
* @see {@link DistributeDatasetEntriesCommandOutput} for command's `response` shape.
|
|
34
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
export declare class DistributeDatasetEntriesCommand extends $Command<DistributeDatasetEntriesCommandInput, DistributeDatasetEntriesCommandOutput, RekognitionClientResolvedConfig> {
|
|
38
|
+
readonly input: DistributeDatasetEntriesCommandInput;
|
|
39
|
+
constructor(input: DistributeDatasetEntriesCommandInput);
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DistributeDatasetEntriesCommandInput, DistributeDatasetEntriesCommandOutput>;
|
|
44
|
+
private serialize;
|
|
45
|
+
private deserialize;
|
|
46
|
+
}
|
|
@@ -27,7 +27,7 @@ export interface GetCelebrityInfoCommandOutput extends GetCelebrityInfoResponse,
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link GetCelebrityInfoCommandInput} for command's `input` shape.
|
|
29
29
|
* @see {@link GetCelebrityInfoCommandOutput} 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 GetCelebrityInfoCommand extends $Command<GetCelebrityInfoCommandInput, GetCelebrityInfoCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -9,28 +9,33 @@ export interface GetCelebrityRecognitionCommandOutput extends GetCelebrityRecogn
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Gets the celebrity recognition results for a Amazon Rekognition Video analysis started by
|
|
11
11
|
* <a>StartCelebrityRecognition</a>.</p>
|
|
12
|
-
* <p>Celebrity recognition in a video is an asynchronous operation. Analysis is started by a
|
|
13
|
-
* to <a>StartCelebrityRecognition</a>
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
12
|
+
* <p>Celebrity recognition in a video is an asynchronous operation. Analysis is started by a
|
|
13
|
+
* call to <a>StartCelebrityRecognition</a> which returns a job identifier
|
|
14
|
+
* (<code>JobId</code>). </p>
|
|
15
|
+
* <p>When the celebrity recognition operation finishes, Amazon Rekognition Video publishes a completion
|
|
16
|
+
* status to the Amazon Simple Notification Service topic registered in the initial call to
|
|
17
|
+
* <code>StartCelebrityRecognition</code>. To get the results of the celebrity recognition
|
|
18
|
+
* analysis, first check that the status value published to the Amazon SNS topic is
|
|
19
|
+
* <code>SUCCEEDED</code>. If so, call <code>GetCelebrityDetection</code> and pass the job
|
|
20
|
+
* identifier (<code>JobId</code>) from the initial call to <code>StartCelebrityDetection</code>. </p>
|
|
19
21
|
*
|
|
20
22
|
* <p>For more information, see Working With Stored Videos in the Amazon Rekognition Developer Guide.</p>
|
|
21
23
|
* <p>
|
|
22
|
-
* <code>GetCelebrityRecognition</code> returns detected celebrities and the time(s) they
|
|
23
|
-
* (<code>Celebrities</code>) of <a>CelebrityRecognition</a>
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* </
|
|
24
|
+
* <code>GetCelebrityRecognition</code> returns detected celebrities and the time(s) they
|
|
25
|
+
* are detected in an array (<code>Celebrities</code>) of <a>CelebrityRecognition</a>
|
|
26
|
+
* objects. Each <code>CelebrityRecognition</code>
|
|
27
|
+
* contains information about the celebrity in a <a>CelebrityDetail</a> object and the
|
|
28
|
+
* time, <code>Timestamp</code>, the celebrity was detected. This <a>CelebrityDetail</a> object stores information about the detected celebrity's face
|
|
29
|
+
* attributes, a face bounding box, known gender, the celebrity's name, and a confidence
|
|
30
|
+
* estimate.</p>
|
|
27
31
|
* <note>
|
|
28
32
|
* <p>
|
|
29
|
-
* <code>GetCelebrityRecognition</code> only returns the default
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
33
|
+
* <code>GetCelebrityRecognition</code> only returns the default facial
|
|
34
|
+
* attributes (<code>BoundingBox</code>, <code>Confidence</code>, <code>Landmarks</code>,
|
|
35
|
+
* <code>Pose</code>, and <code>Quality</code>). The <code>BoundingBox</code> field only
|
|
36
|
+
* applies to the detected face instance. The other facial attributes listed in the
|
|
37
|
+
* <code>Face</code> object of the following response syntax are not returned. For more
|
|
38
|
+
* information, see FaceDetail in the Amazon Rekognition Developer Guide. </p>
|
|
34
39
|
* </note>
|
|
35
40
|
* <p>By default, the <code>Celebrities</code> array is sorted by time (milliseconds from the start of the video).
|
|
36
41
|
* You can also sort the array by celebrity by specifying the value <code>ID</code> in the <code>SortBy</code> input parameter.</p>
|
|
@@ -54,7 +59,7 @@ export interface GetCelebrityRecognitionCommandOutput extends GetCelebrityRecogn
|
|
|
54
59
|
*
|
|
55
60
|
* @see {@link GetCelebrityRecognitionCommandInput} for command's `input` shape.
|
|
56
61
|
* @see {@link GetCelebrityRecognitionCommandOutput} for command's `response` shape.
|
|
57
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
62
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
58
63
|
*
|
|
59
64
|
*/
|
|
60
65
|
export declare class GetCelebrityRecognitionCommand extends $Command<GetCelebrityRecognitionCommandInput, GetCelebrityRecognitionCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -49,7 +49,7 @@ export interface GetContentModerationCommandOutput extends GetContentModerationR
|
|
|
49
49
|
*
|
|
50
50
|
* @see {@link GetContentModerationCommandInput} for command's `input` shape.
|
|
51
51
|
* @see {@link GetContentModerationCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
52
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
53
53
|
*
|
|
54
54
|
*/
|
|
55
55
|
export declare class GetContentModerationCommand extends $Command<GetContentModerationCommandInput, GetContentModerationCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -32,7 +32,7 @@ export interface GetFaceDetectionCommandOutput extends GetFaceDetectionResponse,
|
|
|
32
32
|
*
|
|
33
33
|
* @see {@link GetFaceDetectionCommandInput} for command's `input` shape.
|
|
34
34
|
* @see {@link GetFaceDetectionCommandOutput} 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 GetFaceDetectionCommand extends $Command<GetFaceDetectionCommandInput, GetFaceDetectionCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -50,7 +50,7 @@ export interface GetFaceSearchCommandOutput extends GetFaceSearchResponse, __Met
|
|
|
50
50
|
*
|
|
51
51
|
* @see {@link GetFaceSearchCommandInput} for command's `input` shape.
|
|
52
52
|
* @see {@link GetFaceSearchCommandOutput} 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 GetFaceSearchCommand extends $Command<GetFaceSearchCommandInput, GetFaceSearchCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -40,7 +40,7 @@ export interface GetLabelDetectionCommandOutput extends GetLabelDetectionRespons
|
|
|
40
40
|
*
|
|
41
41
|
* @see {@link GetLabelDetectionCommandInput} for command's `input` shape.
|
|
42
42
|
* @see {@link GetLabelDetectionCommandOutput} 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 GetLabelDetectionCommand extends $Command<GetLabelDetectionCommandInput, GetLabelDetectionCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -49,7 +49,7 @@ export interface GetPersonTrackingCommandOutput extends GetPersonTrackingRespons
|
|
|
49
49
|
*
|
|
50
50
|
* @see {@link GetPersonTrackingCommandInput} for command's `input` shape.
|
|
51
51
|
* @see {@link GetPersonTrackingCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
52
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
53
53
|
*
|
|
54
54
|
*/
|
|
55
55
|
export declare class GetPersonTrackingCommand extends $Command<GetPersonTrackingCommandInput, GetPersonTrackingCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -42,7 +42,7 @@ export interface GetSegmentDetectionCommandOutput extends GetSegmentDetectionRes
|
|
|
42
42
|
*
|
|
43
43
|
* @see {@link GetSegmentDetectionCommandInput} for command's `input` shape.
|
|
44
44
|
* @see {@link GetSegmentDetectionCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
45
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
46
46
|
*
|
|
47
47
|
*/
|
|
48
48
|
export declare class GetSegmentDetectionCommand extends $Command<GetSegmentDetectionCommandInput, GetSegmentDetectionCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -38,7 +38,7 @@ export interface GetTextDetectionCommandOutput extends GetTextDetectionResponse,
|
|
|
38
38
|
*
|
|
39
39
|
* @see {@link GetTextDetectionCommandInput} for command's `input` shape.
|
|
40
40
|
* @see {@link GetTextDetectionCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
41
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
42
42
|
*
|
|
43
43
|
*/
|
|
44
44
|
export declare class GetTextDetectionCommand extends $Command<GetTextDetectionCommandInput, GetTextDetectionCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -119,7 +119,7 @@ export interface IndexFacesCommandOutput extends IndexFacesResponse, __MetadataB
|
|
|
119
119
|
*
|
|
120
120
|
* @see {@link IndexFacesCommandInput} for command's `input` shape.
|
|
121
121
|
* @see {@link IndexFacesCommandOutput} for command's `response` shape.
|
|
122
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
122
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
123
123
|
*
|
|
124
124
|
*/
|
|
125
125
|
export declare class IndexFacesCommand extends $Command<IndexFacesCommandInput, IndexFacesCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -25,7 +25,7 @@ export interface ListCollectionsCommandOutput extends ListCollectionsResponse, _
|
|
|
25
25
|
*
|
|
26
26
|
* @see {@link ListCollectionsCommandInput} for command's `input` shape.
|
|
27
27
|
* @see {@link ListCollectionsCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link RekognitionClientResolvedConfig | config} for
|
|
28
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
31
|
export declare class ListCollectionsCommand extends $Command<ListCollectionsCommandInput, ListCollectionsCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { ListDatasetEntriesRequest, ListDatasetEntriesResponse } from "../models/models_0";
|
|
4
|
+
import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
|
|
5
|
+
export interface ListDatasetEntriesCommandInput extends ListDatasetEntriesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListDatasetEntriesCommandOutput extends ListDatasetEntriesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* Lists the entries (images) within a dataset. An entry is a
|
|
12
|
+
* JSON Line that contains the information for a single image, including
|
|
13
|
+
* the image location, assigned labels, and object location bounding boxes. For
|
|
14
|
+
* more information, see <a href="https://docs.aws.amazon.com/rekognition/latest/customlabels-dg/md-manifest-files.html">Creating a manifest file</a>.</p>
|
|
15
|
+
* <p>JSON Lines in the response include information about non-terminal
|
|
16
|
+
* errors found in the dataset.
|
|
17
|
+
* Non terminal errors are reported in <code>errors</code> lists within each JSON Line. The
|
|
18
|
+
* same information is reported in the training and testing validation result manifests that
|
|
19
|
+
* Amazon Rekognition Custom Labels creates during model training.
|
|
20
|
+
* </p>
|
|
21
|
+
*
|
|
22
|
+
* <p>You can filter the response in variety of ways, such as choosing which labels to return and returning JSON Lines created after a specific date.
|
|
23
|
+
* </p>
|
|
24
|
+
* <p>This operation requires permissions to perform the <code>rekognition:ListDatasetEntries</code> action.</p>
|
|
25
|
+
* @example
|
|
26
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
+
* ```javascript
|
|
28
|
+
* import { RekognitionClient, ListDatasetEntriesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
29
|
+
* // const { RekognitionClient, ListDatasetEntriesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
30
|
+
* const client = new RekognitionClient(config);
|
|
31
|
+
* const command = new ListDatasetEntriesCommand(input);
|
|
32
|
+
* const response = await client.send(command);
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* @see {@link ListDatasetEntriesCommandInput} for command's `input` shape.
|
|
36
|
+
* @see {@link ListDatasetEntriesCommandOutput} for command's `response` shape.
|
|
37
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
export declare class ListDatasetEntriesCommand extends $Command<ListDatasetEntriesCommandInput, ListDatasetEntriesCommandOutput, RekognitionClientResolvedConfig> {
|
|
41
|
+
readonly input: ListDatasetEntriesCommandInput;
|
|
42
|
+
constructor(input: ListDatasetEntriesCommandInput);
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDatasetEntriesCommandInput, ListDatasetEntriesCommandOutput>;
|
|
47
|
+
private serialize;
|
|
48
|
+
private deserialize;
|
|
49
|
+
}
|