@aws-sdk/client-rekognition 3.299.0 → 3.301.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/CompareFacesCommand.d.ts +20 -0
- package/dist-types/commands/CopyProjectVersionCommand.d.ts +14 -0
- package/dist-types/commands/CreateCollectionCommand.d.ts +6 -0
- package/dist-types/commands/CreateDatasetCommand.d.ts +14 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +3 -0
- package/dist-types/commands/CreateProjectVersionCommand.d.ts +39 -0
- package/dist-types/commands/CreateStreamProcessorCommand.d.ts +56 -0
- package/dist-types/commands/DeleteCollectionCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDatasetCommand.d.ts +3 -0
- package/dist-types/commands/DeleteFacesCommand.d.ts +6 -0
- package/dist-types/commands/DeleteProjectCommand.d.ts +3 -0
- package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +5 -0
- package/dist-types/commands/DeleteProjectVersionCommand.d.ts +3 -0
- package/dist-types/commands/DeleteStreamProcessorCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCollectionCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDatasetCommand.d.ts +3 -0
- package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeProjectsCommand.d.ts +7 -0
- package/dist-types/commands/DescribeStreamProcessorCommand.d.ts +3 -0
- package/dist-types/commands/DetectCustomLabelsCommand.d.ts +13 -0
- package/dist-types/commands/DetectFacesCommand.d.ts +13 -0
- package/dist-types/commands/DetectLabelsCommand.d.ts +34 -0
- package/dist-types/commands/DetectModerationLabelsCommand.d.ts +20 -0
- package/dist-types/commands/DetectProtectiveEquipmentCommand.d.ts +16 -0
- package/dist-types/commands/DetectTextCommand.d.ts +33 -0
- package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +7 -0
- package/dist-types/commands/GetCelebrityInfoCommand.d.ts +3 -0
- package/dist-types/commands/GetCelebrityRecognitionCommand.d.ts +6 -0
- package/dist-types/commands/GetContentModerationCommand.d.ts +6 -0
- package/dist-types/commands/GetFaceDetectionCommand.d.ts +5 -0
- package/dist-types/commands/GetFaceSearchCommand.d.ts +6 -0
- package/dist-types/commands/GetLabelDetectionCommand.d.ts +7 -0
- package/dist-types/commands/GetPersonTrackingCommand.d.ts +6 -0
- package/dist-types/commands/GetSegmentDetectionCommand.d.ts +5 -0
- package/dist-types/commands/GetTextDetectionCommand.d.ts +5 -0
- package/dist-types/commands/IndexFacesCommand.d.ts +17 -0
- package/dist-types/commands/ListCollectionsCommand.d.ts +4 -0
- package/dist-types/commands/ListDatasetEntriesCommand.d.ts +11 -0
- package/dist-types/commands/ListDatasetLabelsCommand.d.ts +5 -0
- package/dist-types/commands/ListFacesCommand.d.ts +5 -0
- package/dist-types/commands/ListProjectPoliciesCommand.d.ts +5 -0
- package/dist-types/commands/ListStreamProcessorsCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/PutProjectPolicyCommand.d.ts +6 -0
- package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +10 -0
- package/dist-types/commands/SearchFacesByImageCommand.d.ts +14 -0
- package/dist-types/commands/SearchFacesCommand.d.ts +6 -0
- package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +15 -0
- package/dist-types/commands/StartContentModerationCommand.d.ts +16 -0
- package/dist-types/commands/StartFaceDetectionCommand.d.ts +16 -0
- package/dist-types/commands/StartFaceSearchCommand.d.ts +17 -0
- package/dist-types/commands/StartLabelDetectionCommand.d.ts +35 -0
- package/dist-types/commands/StartPersonTrackingCommand.d.ts +15 -0
- package/dist-types/commands/StartProjectVersionCommand.d.ts +5 -0
- package/dist-types/commands/StartSegmentDetectionCommand.d.ts +30 -0
- package/dist-types/commands/StartStreamProcessorCommand.d.ts +12 -0
- package/dist-types/commands/StartTextDetectionCommand.d.ts +38 -0
- package/dist-types/commands/StopProjectVersionCommand.d.ts +3 -0
- package/dist-types/commands/StopStreamProcessorCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +6 -0
- package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +33 -0
- package/package.json +8 -8
|
@@ -47,6 +47,11 @@ export interface GetSegmentDetectionCommandOutput extends GetSegmentDetectionRes
|
|
|
47
47
|
* import { RekognitionClient, GetSegmentDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
48
48
|
* // const { RekognitionClient, GetSegmentDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
49
49
|
* const client = new RekognitionClient(config);
|
|
50
|
+
* const input = { // GetSegmentDetectionRequest
|
|
51
|
+
* JobId: "STRING_VALUE", // required
|
|
52
|
+
* MaxResults: Number("int"),
|
|
53
|
+
* NextToken: "STRING_VALUE",
|
|
54
|
+
* };
|
|
50
55
|
* const command = new GetSegmentDetectionCommand(input);
|
|
51
56
|
* const response = await client.send(command);
|
|
52
57
|
* ```
|
|
@@ -44,6 +44,11 @@ export interface GetTextDetectionCommandOutput extends GetTextDetectionResponse,
|
|
|
44
44
|
* import { RekognitionClient, GetTextDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
45
45
|
* // const { RekognitionClient, GetTextDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
46
46
|
* const client = new RekognitionClient(config);
|
|
47
|
+
* const input = { // GetTextDetectionRequest
|
|
48
|
+
* JobId: "STRING_VALUE", // required
|
|
49
|
+
* MaxResults: Number("int"),
|
|
50
|
+
* NextToken: "STRING_VALUE",
|
|
51
|
+
* };
|
|
47
52
|
* const command = new GetTextDetectionCommand(input);
|
|
48
53
|
* const response = await client.send(command);
|
|
49
54
|
* ```
|
|
@@ -116,6 +116,23 @@ export interface IndexFacesCommandOutput extends IndexFacesResponse, __MetadataB
|
|
|
116
116
|
* import { RekognitionClient, IndexFacesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
117
117
|
* // const { RekognitionClient, IndexFacesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
118
118
|
* const client = new RekognitionClient(config);
|
|
119
|
+
* const input = { // IndexFacesRequest
|
|
120
|
+
* CollectionId: "STRING_VALUE", // required
|
|
121
|
+
* Image: { // Image
|
|
122
|
+
* Bytes: "BLOB_VALUE",
|
|
123
|
+
* S3Object: { // S3Object
|
|
124
|
+
* Bucket: "STRING_VALUE",
|
|
125
|
+
* Name: "STRING_VALUE",
|
|
126
|
+
* Version: "STRING_VALUE",
|
|
127
|
+
* },
|
|
128
|
+
* },
|
|
129
|
+
* ExternalImageId: "STRING_VALUE",
|
|
130
|
+
* DetectionAttributes: [ // Attributes
|
|
131
|
+
* "DEFAULT" || "ALL",
|
|
132
|
+
* ],
|
|
133
|
+
* MaxFaces: Number("int"),
|
|
134
|
+
* QualityFilter: "NONE" || "AUTO" || "LOW" || "MEDIUM" || "HIGH",
|
|
135
|
+
* };
|
|
119
136
|
* const command = new IndexFacesCommand(input);
|
|
120
137
|
* const response = await client.send(command);
|
|
121
138
|
* ```
|
|
@@ -32,6 +32,10 @@ export interface ListCollectionsCommandOutput extends ListCollectionsResponse, _
|
|
|
32
32
|
* import { RekognitionClient, ListCollectionsCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
33
33
|
* // const { RekognitionClient, ListCollectionsCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
34
34
|
* const client = new RekognitionClient(config);
|
|
35
|
+
* const input = { // ListCollectionsRequest
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* };
|
|
35
39
|
* const command = new ListCollectionsCommand(input);
|
|
36
40
|
* const response = await client.send(command);
|
|
37
41
|
* ```
|
|
@@ -39,6 +39,17 @@ export interface ListDatasetEntriesCommandOutput extends ListDatasetEntriesRespo
|
|
|
39
39
|
* import { RekognitionClient, ListDatasetEntriesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
40
40
|
* // const { RekognitionClient, ListDatasetEntriesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
41
41
|
* const client = new RekognitionClient(config);
|
|
42
|
+
* const input = { // ListDatasetEntriesRequest
|
|
43
|
+
* DatasetArn: "STRING_VALUE", // required
|
|
44
|
+
* ContainsLabels: [ // DatasetLabels
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* Labeled: true || false,
|
|
48
|
+
* SourceRefContains: "STRING_VALUE",
|
|
49
|
+
* HasErrors: true || false,
|
|
50
|
+
* NextToken: "STRING_VALUE",
|
|
51
|
+
* MaxResults: Number("int"),
|
|
52
|
+
* };
|
|
42
53
|
* const command = new ListDatasetEntriesCommand(input);
|
|
43
54
|
* const response = await client.send(command);
|
|
44
55
|
* ```
|
|
@@ -31,6 +31,11 @@ export interface ListDatasetLabelsCommandOutput extends ListDatasetLabelsRespons
|
|
|
31
31
|
* import { RekognitionClient, ListDatasetLabelsCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
32
32
|
* // const { RekognitionClient, ListDatasetLabelsCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
33
33
|
* const client = new RekognitionClient(config);
|
|
34
|
+
* const input = { // ListDatasetLabelsRequest
|
|
35
|
+
* DatasetArn: "STRING_VALUE", // required
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* };
|
|
34
39
|
* const command = new ListDatasetLabelsCommand(input);
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
@@ -31,6 +31,11 @@ export interface ListFacesCommandOutput extends ListFacesResponse, __MetadataBea
|
|
|
31
31
|
* import { RekognitionClient, ListFacesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
32
32
|
* // const { RekognitionClient, ListFacesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
33
33
|
* const client = new RekognitionClient(config);
|
|
34
|
+
* const input = { // ListFacesRequest
|
|
35
|
+
* CollectionId: "STRING_VALUE", // required
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* };
|
|
34
39
|
* const command = new ListFacesCommand(input);
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListProjectPoliciesCommandOutput extends ListProjectPoliciesRes
|
|
|
27
27
|
* import { RekognitionClient, ListProjectPoliciesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
28
28
|
* // const { RekognitionClient, ListProjectPoliciesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
29
29
|
* const client = new RekognitionClient(config);
|
|
30
|
+
* const input = { // ListProjectPoliciesRequest
|
|
31
|
+
* ProjectArn: "STRING_VALUE", // required
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListProjectPoliciesCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListStreamProcessorsCommandOutput extends ListStreamProcessorsR
|
|
|
26
26
|
* import { RekognitionClient, ListStreamProcessorsCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
27
27
|
* // const { RekognitionClient, ListStreamProcessorsCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
28
28
|
* const client = new RekognitionClient(config);
|
|
29
|
+
* const input = { // ListStreamProcessorsRequest
|
|
30
|
+
* NextToken: "STRING_VALUE",
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListStreamProcessorsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
29
29
|
* import { RekognitionClient, ListTagsForResourceCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
30
30
|
* // const { RekognitionClient, ListTagsForResourceCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
31
31
|
* const client = new RekognitionClient(config);
|
|
32
|
+
* const input = { // ListTagsForResourceRequest
|
|
33
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new ListTagsForResourceCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -38,6 +38,12 @@ export interface PutProjectPolicyCommandOutput extends PutProjectPolicyResponse,
|
|
|
38
38
|
* import { RekognitionClient, PutProjectPolicyCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
39
39
|
* // const { RekognitionClient, PutProjectPolicyCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
40
40
|
* const client = new RekognitionClient(config);
|
|
41
|
+
* const input = { // PutProjectPolicyRequest
|
|
42
|
+
* ProjectArn: "STRING_VALUE", // required
|
|
43
|
+
* PolicyName: "STRING_VALUE", // required
|
|
44
|
+
* PolicyRevisionId: "STRING_VALUE",
|
|
45
|
+
* PolicyDocument: "STRING_VALUE", // required
|
|
46
|
+
* };
|
|
41
47
|
* const command = new PutProjectPolicyCommand(input);
|
|
42
48
|
* const response = await client.send(command);
|
|
43
49
|
* ```
|
|
@@ -52,6 +52,16 @@ export interface RecognizeCelebritiesCommandOutput extends RecognizeCelebritiesR
|
|
|
52
52
|
* import { RekognitionClient, RecognizeCelebritiesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
53
53
|
* // const { RekognitionClient, RecognizeCelebritiesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
54
54
|
* const client = new RekognitionClient(config);
|
|
55
|
+
* const input = { // RecognizeCelebritiesRequest
|
|
56
|
+
* Image: { // Image
|
|
57
|
+
* Bytes: "BLOB_VALUE",
|
|
58
|
+
* S3Object: { // S3Object
|
|
59
|
+
* Bucket: "STRING_VALUE",
|
|
60
|
+
* Name: "STRING_VALUE",
|
|
61
|
+
* Version: "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* };
|
|
55
65
|
* const command = new RecognizeCelebritiesCommand(input);
|
|
56
66
|
* const response = await client.send(command);
|
|
57
67
|
* ```
|
|
@@ -62,6 +62,20 @@ export interface SearchFacesByImageCommandOutput extends SearchFacesByImageRespo
|
|
|
62
62
|
* import { RekognitionClient, SearchFacesByImageCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
63
63
|
* // const { RekognitionClient, SearchFacesByImageCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
64
64
|
* const client = new RekognitionClient(config);
|
|
65
|
+
* const input = { // SearchFacesByImageRequest
|
|
66
|
+
* CollectionId: "STRING_VALUE", // required
|
|
67
|
+
* Image: { // Image
|
|
68
|
+
* Bytes: "BLOB_VALUE",
|
|
69
|
+
* S3Object: { // S3Object
|
|
70
|
+
* Bucket: "STRING_VALUE",
|
|
71
|
+
* Name: "STRING_VALUE",
|
|
72
|
+
* Version: "STRING_VALUE",
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* MaxFaces: Number("int"),
|
|
76
|
+
* FaceMatchThreshold: Number("float"),
|
|
77
|
+
* QualityFilter: "NONE" || "AUTO" || "LOW" || "MEDIUM" || "HIGH",
|
|
78
|
+
* };
|
|
65
79
|
* const command = new SearchFacesByImageCommand(input);
|
|
66
80
|
* const response = await client.send(command);
|
|
67
81
|
* ```
|
|
@@ -41,6 +41,12 @@ export interface SearchFacesCommandOutput extends SearchFacesResponse, __Metadat
|
|
|
41
41
|
* import { RekognitionClient, SearchFacesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
42
42
|
* // const { RekognitionClient, SearchFacesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
43
43
|
* const client = new RekognitionClient(config);
|
|
44
|
+
* const input = { // SearchFacesRequest
|
|
45
|
+
* CollectionId: "STRING_VALUE", // required
|
|
46
|
+
* FaceId: "STRING_VALUE", // required
|
|
47
|
+
* MaxFaces: Number("int"),
|
|
48
|
+
* FaceMatchThreshold: Number("float"),
|
|
49
|
+
* };
|
|
44
50
|
* const command = new SearchFacesCommand(input);
|
|
45
51
|
* const response = await client.send(command);
|
|
46
52
|
* ```
|
|
@@ -36,6 +36,21 @@ export interface StartCelebrityRecognitionCommandOutput extends StartCelebrityRe
|
|
|
36
36
|
* import { RekognitionClient, StartCelebrityRecognitionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
37
37
|
* // const { RekognitionClient, StartCelebrityRecognitionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
38
38
|
* const client = new RekognitionClient(config);
|
|
39
|
+
* const input = { // StartCelebrityRecognitionRequest
|
|
40
|
+
* Video: { // Video
|
|
41
|
+
* S3Object: { // S3Object
|
|
42
|
+
* Bucket: "STRING_VALUE",
|
|
43
|
+
* Name: "STRING_VALUE",
|
|
44
|
+
* Version: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* ClientRequestToken: "STRING_VALUE",
|
|
48
|
+
* NotificationChannel: { // NotificationChannel
|
|
49
|
+
* SNSTopicArn: "STRING_VALUE", // required
|
|
50
|
+
* RoleArn: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* JobTag: "STRING_VALUE",
|
|
53
|
+
* };
|
|
39
54
|
* const command = new StartCelebrityRecognitionCommand(input);
|
|
40
55
|
* const response = await client.send(command);
|
|
41
56
|
* ```
|
|
@@ -36,6 +36,22 @@ export interface StartContentModerationCommandOutput extends StartContentModerat
|
|
|
36
36
|
* import { RekognitionClient, StartContentModerationCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
37
37
|
* // const { RekognitionClient, StartContentModerationCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
38
38
|
* const client = new RekognitionClient(config);
|
|
39
|
+
* const input = { // StartContentModerationRequest
|
|
40
|
+
* Video: { // Video
|
|
41
|
+
* S3Object: { // S3Object
|
|
42
|
+
* Bucket: "STRING_VALUE",
|
|
43
|
+
* Name: "STRING_VALUE",
|
|
44
|
+
* Version: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* MinConfidence: Number("float"),
|
|
48
|
+
* ClientRequestToken: "STRING_VALUE",
|
|
49
|
+
* NotificationChannel: { // NotificationChannel
|
|
50
|
+
* SNSTopicArn: "STRING_VALUE", // required
|
|
51
|
+
* RoleArn: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* JobTag: "STRING_VALUE",
|
|
54
|
+
* };
|
|
39
55
|
* const command = new StartContentModerationCommand(input);
|
|
40
56
|
* const response = await client.send(command);
|
|
41
57
|
* ```
|
|
@@ -37,6 +37,22 @@ export interface StartFaceDetectionCommandOutput extends StartFaceDetectionRespo
|
|
|
37
37
|
* import { RekognitionClient, StartFaceDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
38
38
|
* // const { RekognitionClient, StartFaceDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
39
39
|
* const client = new RekognitionClient(config);
|
|
40
|
+
* const input = { // StartFaceDetectionRequest
|
|
41
|
+
* Video: { // Video
|
|
42
|
+
* S3Object: { // S3Object
|
|
43
|
+
* Bucket: "STRING_VALUE",
|
|
44
|
+
* Name: "STRING_VALUE",
|
|
45
|
+
* Version: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* ClientRequestToken: "STRING_VALUE",
|
|
49
|
+
* NotificationChannel: { // NotificationChannel
|
|
50
|
+
* SNSTopicArn: "STRING_VALUE", // required
|
|
51
|
+
* RoleArn: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* FaceAttributes: "DEFAULT" || "ALL",
|
|
54
|
+
* JobTag: "STRING_VALUE",
|
|
55
|
+
* };
|
|
40
56
|
* const command = new StartFaceDetectionCommand(input);
|
|
41
57
|
* const response = await client.send(command);
|
|
42
58
|
* ```
|
|
@@ -36,6 +36,23 @@ export interface StartFaceSearchCommandOutput extends StartFaceSearchResponse, _
|
|
|
36
36
|
* import { RekognitionClient, StartFaceSearchCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
37
37
|
* // const { RekognitionClient, StartFaceSearchCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
38
38
|
* const client = new RekognitionClient(config);
|
|
39
|
+
* const input = { // StartFaceSearchRequest
|
|
40
|
+
* Video: { // Video
|
|
41
|
+
* S3Object: { // S3Object
|
|
42
|
+
* Bucket: "STRING_VALUE",
|
|
43
|
+
* Name: "STRING_VALUE",
|
|
44
|
+
* Version: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* ClientRequestToken: "STRING_VALUE",
|
|
48
|
+
* FaceMatchThreshold: Number("float"),
|
|
49
|
+
* CollectionId: "STRING_VALUE", // required
|
|
50
|
+
* NotificationChannel: { // NotificationChannel
|
|
51
|
+
* SNSTopicArn: "STRING_VALUE", // required
|
|
52
|
+
* RoleArn: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* JobTag: "STRING_VALUE",
|
|
55
|
+
* };
|
|
39
56
|
* const command = new StartFaceSearchCommand(input);
|
|
40
57
|
* const response = await client.send(command);
|
|
41
58
|
* ```
|
|
@@ -50,6 +50,41 @@ export interface StartLabelDetectionCommandOutput extends StartLabelDetectionRes
|
|
|
50
50
|
* import { RekognitionClient, StartLabelDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
51
51
|
* // const { RekognitionClient, StartLabelDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
52
52
|
* const client = new RekognitionClient(config);
|
|
53
|
+
* const input = { // StartLabelDetectionRequest
|
|
54
|
+
* Video: { // Video
|
|
55
|
+
* S3Object: { // S3Object
|
|
56
|
+
* Bucket: "STRING_VALUE",
|
|
57
|
+
* Name: "STRING_VALUE",
|
|
58
|
+
* Version: "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* ClientRequestToken: "STRING_VALUE",
|
|
62
|
+
* MinConfidence: Number("float"),
|
|
63
|
+
* NotificationChannel: { // NotificationChannel
|
|
64
|
+
* SNSTopicArn: "STRING_VALUE", // required
|
|
65
|
+
* RoleArn: "STRING_VALUE", // required
|
|
66
|
+
* },
|
|
67
|
+
* JobTag: "STRING_VALUE",
|
|
68
|
+
* Features: [ // LabelDetectionFeatureList
|
|
69
|
+
* "GENERAL_LABELS",
|
|
70
|
+
* ],
|
|
71
|
+
* Settings: { // LabelDetectionSettings
|
|
72
|
+
* GeneralLabels: { // GeneralLabelsSettings
|
|
73
|
+
* LabelInclusionFilters: [ // GeneralLabelsFilterList
|
|
74
|
+
* "STRING_VALUE",
|
|
75
|
+
* ],
|
|
76
|
+
* LabelExclusionFilters: [
|
|
77
|
+
* "STRING_VALUE",
|
|
78
|
+
* ],
|
|
79
|
+
* LabelCategoryInclusionFilters: [
|
|
80
|
+
* "STRING_VALUE",
|
|
81
|
+
* ],
|
|
82
|
+
* LabelCategoryExclusionFilters: [
|
|
83
|
+
* "STRING_VALUE",
|
|
84
|
+
* ],
|
|
85
|
+
* },
|
|
86
|
+
* },
|
|
87
|
+
* };
|
|
53
88
|
* const command = new StartLabelDetectionCommand(input);
|
|
54
89
|
* const response = await client.send(command);
|
|
55
90
|
* ```
|
|
@@ -34,6 +34,21 @@ export interface StartPersonTrackingCommandOutput extends StartPersonTrackingRes
|
|
|
34
34
|
* import { RekognitionClient, StartPersonTrackingCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
35
35
|
* // const { RekognitionClient, StartPersonTrackingCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
36
36
|
* const client = new RekognitionClient(config);
|
|
37
|
+
* const input = { // StartPersonTrackingRequest
|
|
38
|
+
* Video: { // Video
|
|
39
|
+
* S3Object: { // S3Object
|
|
40
|
+
* Bucket: "STRING_VALUE",
|
|
41
|
+
* Name: "STRING_VALUE",
|
|
42
|
+
* Version: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* ClientRequestToken: "STRING_VALUE",
|
|
46
|
+
* NotificationChannel: { // NotificationChannel
|
|
47
|
+
* SNSTopicArn: "STRING_VALUE", // required
|
|
48
|
+
* RoleArn: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* JobTag: "STRING_VALUE",
|
|
51
|
+
* };
|
|
37
52
|
* const command = new StartPersonTrackingCommand(input);
|
|
38
53
|
* const response = await client.send(command);
|
|
39
54
|
* ```
|
|
@@ -36,6 +36,11 @@ export interface StartProjectVersionCommandOutput extends StartProjectVersionRes
|
|
|
36
36
|
* import { RekognitionClient, StartProjectVersionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
37
37
|
* // const { RekognitionClient, StartProjectVersionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
38
38
|
* const client = new RekognitionClient(config);
|
|
39
|
+
* const input = { // StartProjectVersionRequest
|
|
40
|
+
* ProjectVersionArn: "STRING_VALUE", // required
|
|
41
|
+
* MinInferenceUnits: Number("int"), // required
|
|
42
|
+
* MaxInferenceUnits: Number("int"),
|
|
43
|
+
* };
|
|
39
44
|
* const command = new StartProjectVersionCommand(input);
|
|
40
45
|
* const response = await client.send(command);
|
|
41
46
|
* ```
|
|
@@ -39,6 +39,36 @@ export interface StartSegmentDetectionCommandOutput extends StartSegmentDetectio
|
|
|
39
39
|
* import { RekognitionClient, StartSegmentDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
40
40
|
* // const { RekognitionClient, StartSegmentDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
41
41
|
* const client = new RekognitionClient(config);
|
|
42
|
+
* const input = { // StartSegmentDetectionRequest
|
|
43
|
+
* Video: { // Video
|
|
44
|
+
* S3Object: { // S3Object
|
|
45
|
+
* Bucket: "STRING_VALUE",
|
|
46
|
+
* Name: "STRING_VALUE",
|
|
47
|
+
* Version: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* ClientRequestToken: "STRING_VALUE",
|
|
51
|
+
* NotificationChannel: { // NotificationChannel
|
|
52
|
+
* SNSTopicArn: "STRING_VALUE", // required
|
|
53
|
+
* RoleArn: "STRING_VALUE", // required
|
|
54
|
+
* },
|
|
55
|
+
* JobTag: "STRING_VALUE",
|
|
56
|
+
* Filters: { // StartSegmentDetectionFilters
|
|
57
|
+
* TechnicalCueFilter: { // StartTechnicalCueDetectionFilter
|
|
58
|
+
* MinSegmentConfidence: Number("float"),
|
|
59
|
+
* BlackFrame: { // BlackFrame
|
|
60
|
+
* MaxPixelThreshold: Number("float"),
|
|
61
|
+
* MinCoveragePercentage: Number("float"),
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* ShotFilter: { // StartShotDetectionFilter
|
|
65
|
+
* MinSegmentConfidence: Number("float"),
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* SegmentTypes: [ // SegmentTypes // required
|
|
69
|
+
* "TECHNICAL_CUE" || "SHOT",
|
|
70
|
+
* ],
|
|
71
|
+
* };
|
|
42
72
|
* const command = new StartSegmentDetectionCommand(input);
|
|
43
73
|
* const response = await client.send(command);
|
|
44
74
|
* ```
|
|
@@ -29,6 +29,18 @@ export interface StartStreamProcessorCommandOutput extends StartStreamProcessorR
|
|
|
29
29
|
* import { RekognitionClient, StartStreamProcessorCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
30
30
|
* // const { RekognitionClient, StartStreamProcessorCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
31
31
|
* const client = new RekognitionClient(config);
|
|
32
|
+
* const input = { // StartStreamProcessorRequest
|
|
33
|
+
* Name: "STRING_VALUE", // required
|
|
34
|
+
* StartSelector: { // StreamProcessingStartSelector
|
|
35
|
+
* KVSStreamStartSelector: { // KinesisVideoStreamStartSelector
|
|
36
|
+
* ProducerTimestamp: Number("long"),
|
|
37
|
+
* FragmentNumber: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* },
|
|
40
|
+
* StopSelector: { // StreamProcessingStopSelector
|
|
41
|
+
* MaxDurationInSeconds: Number("long"),
|
|
42
|
+
* },
|
|
43
|
+
* };
|
|
32
44
|
* const command = new StartStreamProcessorCommand(input);
|
|
33
45
|
* const response = await client.send(command);
|
|
34
46
|
* ```
|
|
@@ -33,6 +33,44 @@ export interface StartTextDetectionCommandOutput extends StartTextDetectionRespo
|
|
|
33
33
|
* import { RekognitionClient, StartTextDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
34
34
|
* // const { RekognitionClient, StartTextDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
35
35
|
* const client = new RekognitionClient(config);
|
|
36
|
+
* const input = { // StartTextDetectionRequest
|
|
37
|
+
* Video: { // Video
|
|
38
|
+
* S3Object: { // S3Object
|
|
39
|
+
* Bucket: "STRING_VALUE",
|
|
40
|
+
* Name: "STRING_VALUE",
|
|
41
|
+
* Version: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* ClientRequestToken: "STRING_VALUE",
|
|
45
|
+
* NotificationChannel: { // NotificationChannel
|
|
46
|
+
* SNSTopicArn: "STRING_VALUE", // required
|
|
47
|
+
* RoleArn: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* JobTag: "STRING_VALUE",
|
|
50
|
+
* Filters: { // StartTextDetectionFilters
|
|
51
|
+
* WordFilter: { // DetectionFilter
|
|
52
|
+
* MinConfidence: Number("float"),
|
|
53
|
+
* MinBoundingBoxHeight: Number("float"),
|
|
54
|
+
* MinBoundingBoxWidth: Number("float"),
|
|
55
|
+
* },
|
|
56
|
+
* RegionsOfInterest: [ // RegionsOfInterest
|
|
57
|
+
* { // RegionOfInterest
|
|
58
|
+
* BoundingBox: { // BoundingBox
|
|
59
|
+
* Width: Number("float"),
|
|
60
|
+
* Height: Number("float"),
|
|
61
|
+
* Left: Number("float"),
|
|
62
|
+
* Top: Number("float"),
|
|
63
|
+
* },
|
|
64
|
+
* Polygon: [ // Polygon
|
|
65
|
+
* { // Point
|
|
66
|
+
* X: Number("float"),
|
|
67
|
+
* Y: Number("float"),
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* },
|
|
73
|
+
* };
|
|
36
74
|
* const command = new StartTextDetectionCommand(input);
|
|
37
75
|
* const response = await client.send(command);
|
|
38
76
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface StopProjectVersionCommandOutput extends StopProjectVersionRespo
|
|
|
27
27
|
* import { RekognitionClient, StopProjectVersionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
28
28
|
* // const { RekognitionClient, StopProjectVersionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
29
29
|
* const client = new RekognitionClient(config);
|
|
30
|
+
* const input = { // StopProjectVersionRequest
|
|
31
|
+
* ProjectVersionArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new StopProjectVersionCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface StopStreamProcessorCommandOutput extends StopStreamProcessorRes
|
|
|
26
26
|
* import { RekognitionClient, StopStreamProcessorCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
27
27
|
* // const { RekognitionClient, StopStreamProcessorCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
28
28
|
* const client = new RekognitionClient(config);
|
|
29
|
+
* const input = { // StopStreamProcessorRequest
|
|
30
|
+
* Name: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new StopStreamProcessorCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -30,6 +30,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
30
30
|
* import { RekognitionClient, TagResourceCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
31
31
|
* // const { RekognitionClient, TagResourceCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
32
32
|
* const client = new RekognitionClient(config);
|
|
33
|
+
* const input = { // TagResourceRequest
|
|
34
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
35
|
+
* Tags: { // TagMap // required
|
|
36
|
+
* "<keys>": "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* };
|
|
33
39
|
* const command = new TagResourceCommand(input);
|
|
34
40
|
* const response = await client.send(command);
|
|
35
41
|
* ```
|
|
@@ -29,6 +29,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
29
29
|
* import { RekognitionClient, UntagResourceCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
30
30
|
* // const { RekognitionClient, UntagResourceCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
31
31
|
* const client = new RekognitionClient(config);
|
|
32
|
+
* const input = { // UntagResourceRequest
|
|
33
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
34
|
+
* TagKeys: [ // TagKeyList // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
32
38
|
* const command = new UntagResourceCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
|
@@ -47,6 +47,12 @@ export interface UpdateDatasetEntriesCommandOutput extends UpdateDatasetEntriesR
|
|
|
47
47
|
* import { RekognitionClient, UpdateDatasetEntriesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
48
48
|
* // const { RekognitionClient, UpdateDatasetEntriesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
49
49
|
* const client = new RekognitionClient(config);
|
|
50
|
+
* const input = { // UpdateDatasetEntriesRequest
|
|
51
|
+
* DatasetArn: "STRING_VALUE", // required
|
|
52
|
+
* Changes: { // DatasetChanges
|
|
53
|
+
* GroundTruth: "BLOB_VALUE", // required
|
|
54
|
+
* },
|
|
55
|
+
* };
|
|
50
56
|
* const command = new UpdateDatasetEntriesCommand(input);
|
|
51
57
|
* const response = await client.send(command);
|
|
52
58
|
* ```
|
|
@@ -28,6 +28,39 @@ export interface UpdateStreamProcessorCommandOutput extends UpdateStreamProcesso
|
|
|
28
28
|
* import { RekognitionClient, UpdateStreamProcessorCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
29
29
|
* // const { RekognitionClient, UpdateStreamProcessorCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
30
30
|
* const client = new RekognitionClient(config);
|
|
31
|
+
* const input = { // UpdateStreamProcessorRequest
|
|
32
|
+
* Name: "STRING_VALUE", // required
|
|
33
|
+
* SettingsForUpdate: { // StreamProcessorSettingsForUpdate
|
|
34
|
+
* ConnectedHomeForUpdate: { // ConnectedHomeSettingsForUpdate
|
|
35
|
+
* Labels: [ // ConnectedHomeLabels
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* MinConfidence: Number("float"),
|
|
39
|
+
* },
|
|
40
|
+
* },
|
|
41
|
+
* RegionsOfInterestForUpdate: [ // RegionsOfInterest
|
|
42
|
+
* { // RegionOfInterest
|
|
43
|
+
* BoundingBox: { // BoundingBox
|
|
44
|
+
* Width: Number("float"),
|
|
45
|
+
* Height: Number("float"),
|
|
46
|
+
* Left: Number("float"),
|
|
47
|
+
* Top: Number("float"),
|
|
48
|
+
* },
|
|
49
|
+
* Polygon: [ // Polygon
|
|
50
|
+
* { // Point
|
|
51
|
+
* X: Number("float"),
|
|
52
|
+
* Y: Number("float"),
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* DataSharingPreferenceForUpdate: { // StreamProcessorDataSharingPreference
|
|
58
|
+
* OptIn: true || false, // required
|
|
59
|
+
* },
|
|
60
|
+
* ParametersToDelete: [ // StreamProcessorParametersToDelete
|
|
61
|
+
* "ConnectedHomeMinConfidence" || "RegionsOfInterest",
|
|
62
|
+
* ],
|
|
63
|
+
* };
|
|
31
64
|
* const command = new UpdateStreamProcessorCommand(input);
|
|
32
65
|
* const response = await client.send(command);
|
|
33
66
|
* ```
|