@aws-sdk/client-rekognition 3.323.0 → 3.326.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 +88 -0
- package/dist-types/commands/CopyProjectVersionCommand.d.ts +6 -0
- package/dist-types/commands/CreateCollectionCommand.d.ts +8 -0
- package/dist-types/commands/CreateDatasetCommand.d.ts +6 -0
- package/dist-types/commands/CreateFaceLivenessSessionCommand.d.ts +6 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +6 -0
- package/dist-types/commands/CreateProjectVersionCommand.d.ts +6 -0
- package/dist-types/commands/CreateStreamProcessorCommand.d.ts +6 -0
- package/dist-types/commands/DeleteCollectionCommand.d.ts +6 -0
- package/dist-types/commands/DeleteDatasetCommand.d.ts +4 -0
- package/dist-types/commands/DeleteFacesCommand.d.ts +8 -0
- package/dist-types/commands/DeleteProjectCommand.d.ts +6 -0
- package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteProjectVersionCommand.d.ts +6 -0
- package/dist-types/commands/DeleteStreamProcessorCommand.d.ts +4 -0
- package/dist-types/commands/DescribeCollectionCommand.d.ts +9 -0
- package/dist-types/commands/DescribeDatasetCommand.d.ts +18 -0
- package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +105 -0
- package/dist-types/commands/DescribeProjectsCommand.d.ts +23 -0
- package/dist-types/commands/DescribeStreamProcessorCommand.d.ts +61 -0
- package/dist-types/commands/DetectCustomLabelsCommand.d.ts +25 -0
- package/dist-types/commands/DetectFacesCommand.d.ts +75 -0
- package/dist-types/commands/DetectLabelsCommand.d.ts +84 -0
- package/dist-types/commands/DetectModerationLabelsCommand.d.ts +20 -0
- package/dist-types/commands/DetectProtectiveEquipmentCommand.d.ts +51 -0
- package/dist-types/commands/DetectTextCommand.d.ts +29 -0
- package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +4 -0
- package/dist-types/commands/GetCelebrityInfoCommand.d.ts +12 -0
- package/dist-types/commands/GetCelebrityRecognitionCommand.d.ts +115 -0
- package/dist-types/commands/GetContentModerationCommand.d.ts +44 -0
- package/dist-types/commands/GetFaceDetectionCommand.d.ts +98 -0
- package/dist-types/commands/GetFaceLivenessSessionResultsCommand.d.ts +38 -0
- package/dist-types/commands/GetFaceSearchCommand.d.ts +120 -0
- package/dist-types/commands/GetLabelDetectionCommand.d.ts +80 -0
- package/dist-types/commands/GetPersonTrackingCommand.d.ts +107 -0
- package/dist-types/commands/GetSegmentDetectionCommand.d.ts +64 -0
- package/dist-types/commands/GetTextDetectionCommand.d.ts +53 -0
- package/dist-types/commands/IndexFacesCommand.d.ts +165 -0
- package/dist-types/commands/ListCollectionsCommand.d.ts +12 -0
- package/dist-types/commands/ListDatasetEntriesCommand.d.ts +9 -0
- package/dist-types/commands/ListDatasetLabelsCommand.d.ts +15 -0
- package/dist-types/commands/ListFacesCommand.d.ts +22 -0
- package/dist-types/commands/ListProjectPoliciesCommand.d.ts +16 -0
- package/dist-types/commands/ListStreamProcessorsCommand.d.ts +12 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
- package/dist-types/commands/PutProjectPolicyCommand.d.ts +6 -0
- package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +91 -0
- package/dist-types/commands/SearchFacesByImageCommand.d.ts +31 -0
- package/dist-types/commands/SearchFacesCommand.d.ts +25 -0
- package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +6 -0
- package/dist-types/commands/StartContentModerationCommand.d.ts +6 -0
- package/dist-types/commands/StartFaceDetectionCommand.d.ts +6 -0
- package/dist-types/commands/StartFaceSearchCommand.d.ts +6 -0
- package/dist-types/commands/StartLabelDetectionCommand.d.ts +6 -0
- package/dist-types/commands/StartPersonTrackingCommand.d.ts +6 -0
- package/dist-types/commands/StartProjectVersionCommand.d.ts +6 -0
- package/dist-types/commands/StartSegmentDetectionCommand.d.ts +6 -0
- package/dist-types/commands/StartStreamProcessorCommand.d.ts +6 -0
- package/dist-types/commands/StartTextDetectionCommand.d.ts +6 -0
- package/dist-types/commands/StopProjectVersionCommand.d.ts +6 -0
- package/dist-types/commands/StopStreamProcessorCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +4 -0
- package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +4 -0
- package/package.json +16 -16
|
@@ -32,6 +32,65 @@ export interface DescribeStreamProcessorCommandOutput extends DescribeStreamProc
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DescribeStreamProcessorCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // DescribeStreamProcessorResponse
|
|
36
|
+
* // Name: "STRING_VALUE",
|
|
37
|
+
* // StreamProcessorArn: "STRING_VALUE",
|
|
38
|
+
* // Status: "STOPPED" || "STARTING" || "RUNNING" || "FAILED" || "STOPPING" || "UPDATING",
|
|
39
|
+
* // StatusMessage: "STRING_VALUE",
|
|
40
|
+
* // CreationTimestamp: new Date("TIMESTAMP"),
|
|
41
|
+
* // LastUpdateTimestamp: new Date("TIMESTAMP"),
|
|
42
|
+
* // Input: { // StreamProcessorInput
|
|
43
|
+
* // KinesisVideoStream: { // KinesisVideoStream
|
|
44
|
+
* // Arn: "STRING_VALUE",
|
|
45
|
+
* // },
|
|
46
|
+
* // },
|
|
47
|
+
* // Output: { // StreamProcessorOutput
|
|
48
|
+
* // KinesisDataStream: { // KinesisDataStream
|
|
49
|
+
* // Arn: "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // S3Destination: { // S3Destination
|
|
52
|
+
* // Bucket: "STRING_VALUE",
|
|
53
|
+
* // KeyPrefix: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // },
|
|
56
|
+
* // RoleArn: "STRING_VALUE",
|
|
57
|
+
* // Settings: { // StreamProcessorSettings
|
|
58
|
+
* // FaceSearch: { // FaceSearchSettings
|
|
59
|
+
* // CollectionId: "STRING_VALUE",
|
|
60
|
+
* // FaceMatchThreshold: Number("float"),
|
|
61
|
+
* // },
|
|
62
|
+
* // ConnectedHome: { // ConnectedHomeSettings
|
|
63
|
+
* // Labels: [ // ConnectedHomeLabels // required
|
|
64
|
+
* // "STRING_VALUE",
|
|
65
|
+
* // ],
|
|
66
|
+
* // MinConfidence: Number("float"),
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
69
|
+
* // NotificationChannel: { // StreamProcessorNotificationChannel
|
|
70
|
+
* // SNSTopicArn: "STRING_VALUE", // required
|
|
71
|
+
* // },
|
|
72
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
73
|
+
* // RegionsOfInterest: [ // RegionsOfInterest
|
|
74
|
+
* // { // RegionOfInterest
|
|
75
|
+
* // BoundingBox: { // BoundingBox
|
|
76
|
+
* // Width: Number("float"),
|
|
77
|
+
* // Height: Number("float"),
|
|
78
|
+
* // Left: Number("float"),
|
|
79
|
+
* // Top: Number("float"),
|
|
80
|
+
* // },
|
|
81
|
+
* // Polygon: [ // Polygon
|
|
82
|
+
* // { // Point
|
|
83
|
+
* // X: Number("float"),
|
|
84
|
+
* // Y: Number("float"),
|
|
85
|
+
* // },
|
|
86
|
+
* // ],
|
|
87
|
+
* // },
|
|
88
|
+
* // ],
|
|
89
|
+
* // DataSharingPreference: { // StreamProcessorDataSharingPreference
|
|
90
|
+
* // OptIn: true || false, // required
|
|
91
|
+
* // },
|
|
92
|
+
* // };
|
|
93
|
+
*
|
|
35
94
|
* ```
|
|
36
95
|
*
|
|
37
96
|
* @param DescribeStreamProcessorCommandInput - {@link DescribeStreamProcessorCommandInput}
|
|
@@ -60,6 +119,8 @@ export interface DescribeStreamProcessorCommandOutput extends DescribeStreamProc
|
|
|
60
119
|
* @throws {@link ThrottlingException} (server fault)
|
|
61
120
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
62
121
|
*
|
|
122
|
+
* @throws {@link RekognitionServiceException}
|
|
123
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
63
124
|
*
|
|
64
125
|
*/
|
|
65
126
|
export declare class DescribeStreamProcessorCommand extends $Command<DescribeStreamProcessorCommandInput, DescribeStreamProcessorCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -72,6 +72,29 @@ export interface DetectCustomLabelsCommandOutput extends DetectCustomLabelsRespo
|
|
|
72
72
|
* };
|
|
73
73
|
* const command = new DetectCustomLabelsCommand(input);
|
|
74
74
|
* const response = await client.send(command);
|
|
75
|
+
* // { // DetectCustomLabelsResponse
|
|
76
|
+
* // CustomLabels: [ // CustomLabels
|
|
77
|
+
* // { // CustomLabel
|
|
78
|
+
* // Name: "STRING_VALUE",
|
|
79
|
+
* // Confidence: Number("float"),
|
|
80
|
+
* // Geometry: { // Geometry
|
|
81
|
+
* // BoundingBox: { // BoundingBox
|
|
82
|
+
* // Width: Number("float"),
|
|
83
|
+
* // Height: Number("float"),
|
|
84
|
+
* // Left: Number("float"),
|
|
85
|
+
* // Top: Number("float"),
|
|
86
|
+
* // },
|
|
87
|
+
* // Polygon: [ // Polygon
|
|
88
|
+
* // { // Point
|
|
89
|
+
* // X: Number("float"),
|
|
90
|
+
* // Y: Number("float"),
|
|
91
|
+
* // },
|
|
92
|
+
* // ],
|
|
93
|
+
* // },
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // };
|
|
97
|
+
*
|
|
75
98
|
* ```
|
|
76
99
|
*
|
|
77
100
|
* @param DetectCustomLabelsCommandInput - {@link DetectCustomLabelsCommandInput}
|
|
@@ -122,6 +145,8 @@ export interface DetectCustomLabelsCommandOutput extends DetectCustomLabelsRespo
|
|
|
122
145
|
* @throws {@link ThrottlingException} (server fault)
|
|
123
146
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
124
147
|
*
|
|
148
|
+
* @throws {@link RekognitionServiceException}
|
|
149
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
125
150
|
*
|
|
126
151
|
*/
|
|
127
152
|
export declare class DetectCustomLabelsCommand extends $Command<DetectCustomLabelsCommandInput, DetectCustomLabelsCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -59,6 +59,79 @@ export interface DetectFacesCommandOutput extends DetectFacesResponse, __Metadat
|
|
|
59
59
|
* };
|
|
60
60
|
* const command = new DetectFacesCommand(input);
|
|
61
61
|
* const response = await client.send(command);
|
|
62
|
+
* // { // DetectFacesResponse
|
|
63
|
+
* // FaceDetails: [ // FaceDetailList
|
|
64
|
+
* // { // FaceDetail
|
|
65
|
+
* // BoundingBox: { // BoundingBox
|
|
66
|
+
* // Width: Number("float"),
|
|
67
|
+
* // Height: Number("float"),
|
|
68
|
+
* // Left: Number("float"),
|
|
69
|
+
* // Top: Number("float"),
|
|
70
|
+
* // },
|
|
71
|
+
* // AgeRange: { // AgeRange
|
|
72
|
+
* // Low: Number("int"),
|
|
73
|
+
* // High: Number("int"),
|
|
74
|
+
* // },
|
|
75
|
+
* // Smile: { // Smile
|
|
76
|
+
* // Value: true || false,
|
|
77
|
+
* // Confidence: Number("float"),
|
|
78
|
+
* // },
|
|
79
|
+
* // Eyeglasses: { // Eyeglasses
|
|
80
|
+
* // Value: true || false,
|
|
81
|
+
* // Confidence: Number("float"),
|
|
82
|
+
* // },
|
|
83
|
+
* // Sunglasses: { // Sunglasses
|
|
84
|
+
* // Value: true || false,
|
|
85
|
+
* // Confidence: Number("float"),
|
|
86
|
+
* // },
|
|
87
|
+
* // Gender: { // Gender
|
|
88
|
+
* // Value: "Male" || "Female",
|
|
89
|
+
* // Confidence: Number("float"),
|
|
90
|
+
* // },
|
|
91
|
+
* // Beard: { // Beard
|
|
92
|
+
* // Value: true || false,
|
|
93
|
+
* // Confidence: Number("float"),
|
|
94
|
+
* // },
|
|
95
|
+
* // Mustache: { // Mustache
|
|
96
|
+
* // Value: true || false,
|
|
97
|
+
* // Confidence: Number("float"),
|
|
98
|
+
* // },
|
|
99
|
+
* // EyesOpen: { // EyeOpen
|
|
100
|
+
* // Value: true || false,
|
|
101
|
+
* // Confidence: Number("float"),
|
|
102
|
+
* // },
|
|
103
|
+
* // MouthOpen: { // MouthOpen
|
|
104
|
+
* // Value: true || false,
|
|
105
|
+
* // Confidence: Number("float"),
|
|
106
|
+
* // },
|
|
107
|
+
* // Emotions: [ // Emotions
|
|
108
|
+
* // { // Emotion
|
|
109
|
+
* // Type: "HAPPY" || "SAD" || "ANGRY" || "CONFUSED" || "DISGUSTED" || "SURPRISED" || "CALM" || "UNKNOWN" || "FEAR",
|
|
110
|
+
* // Confidence: Number("float"),
|
|
111
|
+
* // },
|
|
112
|
+
* // ],
|
|
113
|
+
* // Landmarks: [ // Landmarks
|
|
114
|
+
* // { // Landmark
|
|
115
|
+
* // Type: "eyeLeft" || "eyeRight" || "nose" || "mouthLeft" || "mouthRight" || "leftEyeBrowLeft" || "leftEyeBrowRight" || "leftEyeBrowUp" || "rightEyeBrowLeft" || "rightEyeBrowRight" || "rightEyeBrowUp" || "leftEyeLeft" || "leftEyeRight" || "leftEyeUp" || "leftEyeDown" || "rightEyeLeft" || "rightEyeRight" || "rightEyeUp" || "rightEyeDown" || "noseLeft" || "noseRight" || "mouthUp" || "mouthDown" || "leftPupil" || "rightPupil" || "upperJawlineLeft" || "midJawlineLeft" || "chinBottom" || "midJawlineRight" || "upperJawlineRight",
|
|
116
|
+
* // X: Number("float"),
|
|
117
|
+
* // Y: Number("float"),
|
|
118
|
+
* // },
|
|
119
|
+
* // ],
|
|
120
|
+
* // Pose: { // Pose
|
|
121
|
+
* // Roll: Number("float"),
|
|
122
|
+
* // Yaw: Number("float"),
|
|
123
|
+
* // Pitch: Number("float"),
|
|
124
|
+
* // },
|
|
125
|
+
* // Quality: { // ImageQuality
|
|
126
|
+
* // Brightness: Number("float"),
|
|
127
|
+
* // Sharpness: Number("float"),
|
|
128
|
+
* // },
|
|
129
|
+
* // Confidence: Number("float"),
|
|
130
|
+
* // },
|
|
131
|
+
* // ],
|
|
132
|
+
* // OrientationCorrection: "ROTATE_0" || "ROTATE_90" || "ROTATE_180" || "ROTATE_270",
|
|
133
|
+
* // };
|
|
134
|
+
*
|
|
62
135
|
* ```
|
|
63
136
|
*
|
|
64
137
|
* @param DetectFacesCommandInput - {@link DetectFacesCommandInput}
|
|
@@ -96,6 +169,8 @@ export interface DetectFacesCommandOutput extends DetectFacesResponse, __Metadat
|
|
|
96
169
|
* @throws {@link ThrottlingException} (server fault)
|
|
97
170
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
98
171
|
*
|
|
172
|
+
* @throws {@link RekognitionServiceException}
|
|
173
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
99
174
|
*
|
|
100
175
|
* @example To detect faces in an image
|
|
101
176
|
* ```javascript
|
|
@@ -173,6 +173,88 @@ export interface DetectLabelsCommandOutput extends DetectLabelsResponse, __Metad
|
|
|
173
173
|
* };
|
|
174
174
|
* const command = new DetectLabelsCommand(input);
|
|
175
175
|
* const response = await client.send(command);
|
|
176
|
+
* // { // DetectLabelsResponse
|
|
177
|
+
* // Labels: [ // Labels
|
|
178
|
+
* // { // Label
|
|
179
|
+
* // Name: "STRING_VALUE",
|
|
180
|
+
* // Confidence: Number("float"),
|
|
181
|
+
* // Instances: [ // Instances
|
|
182
|
+
* // { // Instance
|
|
183
|
+
* // BoundingBox: { // BoundingBox
|
|
184
|
+
* // Width: Number("float"),
|
|
185
|
+
* // Height: Number("float"),
|
|
186
|
+
* // Left: Number("float"),
|
|
187
|
+
* // Top: Number("float"),
|
|
188
|
+
* // },
|
|
189
|
+
* // Confidence: Number("float"),
|
|
190
|
+
* // DominantColors: [ // DominantColors
|
|
191
|
+
* // { // DominantColor
|
|
192
|
+
* // Red: Number("int"),
|
|
193
|
+
* // Blue: Number("int"),
|
|
194
|
+
* // Green: Number("int"),
|
|
195
|
+
* // HexCode: "STRING_VALUE",
|
|
196
|
+
* // CSSColor: "STRING_VALUE",
|
|
197
|
+
* // SimplifiedColor: "STRING_VALUE",
|
|
198
|
+
* // PixelPercent: Number("float"),
|
|
199
|
+
* // },
|
|
200
|
+
* // ],
|
|
201
|
+
* // },
|
|
202
|
+
* // ],
|
|
203
|
+
* // Parents: [ // Parents
|
|
204
|
+
* // { // Parent
|
|
205
|
+
* // Name: "STRING_VALUE",
|
|
206
|
+
* // },
|
|
207
|
+
* // ],
|
|
208
|
+
* // Aliases: [ // LabelAliases
|
|
209
|
+
* // { // LabelAlias
|
|
210
|
+
* // Name: "STRING_VALUE",
|
|
211
|
+
* // },
|
|
212
|
+
* // ],
|
|
213
|
+
* // Categories: [ // LabelCategories
|
|
214
|
+
* // { // LabelCategory
|
|
215
|
+
* // Name: "STRING_VALUE",
|
|
216
|
+
* // },
|
|
217
|
+
* // ],
|
|
218
|
+
* // },
|
|
219
|
+
* // ],
|
|
220
|
+
* // OrientationCorrection: "ROTATE_0" || "ROTATE_90" || "ROTATE_180" || "ROTATE_270",
|
|
221
|
+
* // LabelModelVersion: "STRING_VALUE",
|
|
222
|
+
* // ImageProperties: { // DetectLabelsImageProperties
|
|
223
|
+
* // Quality: { // DetectLabelsImageQuality
|
|
224
|
+
* // Brightness: Number("float"),
|
|
225
|
+
* // Sharpness: Number("float"),
|
|
226
|
+
* // Contrast: Number("float"),
|
|
227
|
+
* // },
|
|
228
|
+
* // DominantColors: [
|
|
229
|
+
* // {
|
|
230
|
+
* // Red: Number("int"),
|
|
231
|
+
* // Blue: Number("int"),
|
|
232
|
+
* // Green: Number("int"),
|
|
233
|
+
* // HexCode: "STRING_VALUE",
|
|
234
|
+
* // CSSColor: "STRING_VALUE",
|
|
235
|
+
* // SimplifiedColor: "STRING_VALUE",
|
|
236
|
+
* // PixelPercent: Number("float"),
|
|
237
|
+
* // },
|
|
238
|
+
* // ],
|
|
239
|
+
* // Foreground: { // DetectLabelsImageForeground
|
|
240
|
+
* // Quality: {
|
|
241
|
+
* // Brightness: Number("float"),
|
|
242
|
+
* // Sharpness: Number("float"),
|
|
243
|
+
* // Contrast: Number("float"),
|
|
244
|
+
* // },
|
|
245
|
+
* // DominantColors: "<DominantColors>",
|
|
246
|
+
* // },
|
|
247
|
+
* // Background: { // DetectLabelsImageBackground
|
|
248
|
+
* // Quality: {
|
|
249
|
+
* // Brightness: Number("float"),
|
|
250
|
+
* // Sharpness: Number("float"),
|
|
251
|
+
* // Contrast: Number("float"),
|
|
252
|
+
* // },
|
|
253
|
+
* // DominantColors: "<DominantColors>",
|
|
254
|
+
* // },
|
|
255
|
+
* // },
|
|
256
|
+
* // };
|
|
257
|
+
*
|
|
176
258
|
* ```
|
|
177
259
|
*
|
|
178
260
|
* @param DetectLabelsCommandInput - {@link DetectLabelsCommandInput}
|
|
@@ -210,6 +292,8 @@ export interface DetectLabelsCommandOutput extends DetectLabelsResponse, __Metad
|
|
|
210
292
|
* @throws {@link ThrottlingException} (server fault)
|
|
211
293
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
212
294
|
*
|
|
295
|
+
* @throws {@link RekognitionServiceException}
|
|
296
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
213
297
|
*
|
|
214
298
|
* @example To detect labels
|
|
215
299
|
* ```javascript
|
|
@@ -60,6 +60,24 @@ export interface DetectModerationLabelsCommandOutput extends DetectModerationLab
|
|
|
60
60
|
* };
|
|
61
61
|
* const command = new DetectModerationLabelsCommand(input);
|
|
62
62
|
* const response = await client.send(command);
|
|
63
|
+
* // { // DetectModerationLabelsResponse
|
|
64
|
+
* // ModerationLabels: [ // ModerationLabels
|
|
65
|
+
* // { // ModerationLabel
|
|
66
|
+
* // Confidence: Number("float"),
|
|
67
|
+
* // Name: "STRING_VALUE",
|
|
68
|
+
* // ParentName: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // ModerationModelVersion: "STRING_VALUE",
|
|
72
|
+
* // HumanLoopActivationOutput: { // HumanLoopActivationOutput
|
|
73
|
+
* // HumanLoopArn: "STRING_VALUE",
|
|
74
|
+
* // HumanLoopActivationReasons: [ // HumanLoopActivationReasons
|
|
75
|
+
* // "STRING_VALUE",
|
|
76
|
+
* // ],
|
|
77
|
+
* // HumanLoopActivationConditionsEvaluationResults: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
79
|
+
* // };
|
|
80
|
+
*
|
|
63
81
|
* ```
|
|
64
82
|
*
|
|
65
83
|
* @param DetectModerationLabelsCommandInput - {@link DetectModerationLabelsCommandInput}
|
|
@@ -100,6 +118,8 @@ export interface DetectModerationLabelsCommandOutput extends DetectModerationLab
|
|
|
100
118
|
* @throws {@link ThrottlingException} (server fault)
|
|
101
119
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
102
120
|
*
|
|
121
|
+
* @throws {@link RekognitionServiceException}
|
|
122
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
103
123
|
*
|
|
104
124
|
*/
|
|
105
125
|
export declare class DetectModerationLabelsCommand extends $Command<DetectModerationLabelsCommandInput, DetectModerationLabelsCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -80,6 +80,55 @@ export interface DetectProtectiveEquipmentCommandOutput extends DetectProtective
|
|
|
80
80
|
* };
|
|
81
81
|
* const command = new DetectProtectiveEquipmentCommand(input);
|
|
82
82
|
* const response = await client.send(command);
|
|
83
|
+
* // { // DetectProtectiveEquipmentResponse
|
|
84
|
+
* // ProtectiveEquipmentModelVersion: "STRING_VALUE",
|
|
85
|
+
* // Persons: [ // ProtectiveEquipmentPersons
|
|
86
|
+
* // { // ProtectiveEquipmentPerson
|
|
87
|
+
* // BodyParts: [ // BodyParts
|
|
88
|
+
* // { // ProtectiveEquipmentBodyPart
|
|
89
|
+
* // Name: "FACE" || "HEAD" || "LEFT_HAND" || "RIGHT_HAND",
|
|
90
|
+
* // Confidence: Number("float"),
|
|
91
|
+
* // EquipmentDetections: [ // EquipmentDetections
|
|
92
|
+
* // { // EquipmentDetection
|
|
93
|
+
* // BoundingBox: { // BoundingBox
|
|
94
|
+
* // Width: Number("float"),
|
|
95
|
+
* // Height: Number("float"),
|
|
96
|
+
* // Left: Number("float"),
|
|
97
|
+
* // Top: Number("float"),
|
|
98
|
+
* // },
|
|
99
|
+
* // Confidence: Number("float"),
|
|
100
|
+
* // Type: "FACE_COVER" || "HAND_COVER" || "HEAD_COVER",
|
|
101
|
+
* // CoversBodyPart: { // CoversBodyPart
|
|
102
|
+
* // Confidence: Number("float"),
|
|
103
|
+
* // Value: true || false,
|
|
104
|
+
* // },
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
107
|
+
* // },
|
|
108
|
+
* // ],
|
|
109
|
+
* // BoundingBox: {
|
|
110
|
+
* // Width: Number("float"),
|
|
111
|
+
* // Height: Number("float"),
|
|
112
|
+
* // Left: Number("float"),
|
|
113
|
+
* // Top: Number("float"),
|
|
114
|
+
* // },
|
|
115
|
+
* // Confidence: Number("float"),
|
|
116
|
+
* // Id: Number("int"),
|
|
117
|
+
* // },
|
|
118
|
+
* // ],
|
|
119
|
+
* // Summary: { // ProtectiveEquipmentSummary
|
|
120
|
+
* // PersonsWithRequiredEquipment: [ // ProtectiveEquipmentPersonIds
|
|
121
|
+
* // Number("int"),
|
|
122
|
+
* // ],
|
|
123
|
+
* // PersonsWithoutRequiredEquipment: [
|
|
124
|
+
* // Number("int"),
|
|
125
|
+
* // ],
|
|
126
|
+
* // PersonsIndeterminate: [
|
|
127
|
+
* // Number("int"),
|
|
128
|
+
* // ],
|
|
129
|
+
* // },
|
|
130
|
+
* // };
|
|
131
|
+
*
|
|
83
132
|
* ```
|
|
84
133
|
*
|
|
85
134
|
* @param DetectProtectiveEquipmentCommandInput - {@link DetectProtectiveEquipmentCommandInput}
|
|
@@ -117,6 +166,8 @@ export interface DetectProtectiveEquipmentCommandOutput extends DetectProtective
|
|
|
117
166
|
* @throws {@link ThrottlingException} (server fault)
|
|
118
167
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
119
168
|
*
|
|
169
|
+
* @throws {@link RekognitionServiceException}
|
|
170
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
120
171
|
*
|
|
121
172
|
*/
|
|
122
173
|
export declare class DetectProtectiveEquipmentCommand extends $Command<DetectProtectiveEquipmentCommandInput, DetectProtectiveEquipmentCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -83,6 +83,33 @@ export interface DetectTextCommandOutput extends DetectTextResponse, __MetadataB
|
|
|
83
83
|
* };
|
|
84
84
|
* const command = new DetectTextCommand(input);
|
|
85
85
|
* const response = await client.send(command);
|
|
86
|
+
* // { // DetectTextResponse
|
|
87
|
+
* // TextDetections: [ // TextDetectionList
|
|
88
|
+
* // { // TextDetection
|
|
89
|
+
* // DetectedText: "STRING_VALUE",
|
|
90
|
+
* // Type: "LINE" || "WORD",
|
|
91
|
+
* // Id: Number("int"),
|
|
92
|
+
* // ParentId: Number("int"),
|
|
93
|
+
* // Confidence: Number("float"),
|
|
94
|
+
* // Geometry: { // Geometry
|
|
95
|
+
* // BoundingBox: { // BoundingBox
|
|
96
|
+
* // Width: Number("float"),
|
|
97
|
+
* // Height: Number("float"),
|
|
98
|
+
* // Left: Number("float"),
|
|
99
|
+
* // Top: Number("float"),
|
|
100
|
+
* // },
|
|
101
|
+
* // Polygon: [ // Polygon
|
|
102
|
+
* // { // Point
|
|
103
|
+
* // X: Number("float"),
|
|
104
|
+
* // Y: Number("float"),
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
107
|
+
* // },
|
|
108
|
+
* // },
|
|
109
|
+
* // ],
|
|
110
|
+
* // TextModelVersion: "STRING_VALUE",
|
|
111
|
+
* // };
|
|
112
|
+
*
|
|
86
113
|
* ```
|
|
87
114
|
*
|
|
88
115
|
* @param DetectTextCommandInput - {@link DetectTextCommandInput}
|
|
@@ -120,6 +147,8 @@ export interface DetectTextCommandOutput extends DetectTextResponse, __MetadataB
|
|
|
120
147
|
* @throws {@link ThrottlingException} (server fault)
|
|
121
148
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
122
149
|
*
|
|
150
|
+
* @throws {@link RekognitionServiceException}
|
|
151
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
123
152
|
*
|
|
124
153
|
*/
|
|
125
154
|
export declare class DetectTextCommand extends $Command<DetectTextCommandInput, DetectTextCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -45,6 +45,8 @@ export interface DistributeDatasetEntriesCommandOutput extends DistributeDataset
|
|
|
45
45
|
* };
|
|
46
46
|
* const command = new DistributeDatasetEntriesCommand(input);
|
|
47
47
|
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
48
50
|
* ```
|
|
49
51
|
*
|
|
50
52
|
* @param DistributeDatasetEntriesCommandInput - {@link DistributeDatasetEntriesCommandInput}
|
|
@@ -78,6 +80,8 @@ export interface DistributeDatasetEntriesCommandOutput extends DistributeDataset
|
|
|
78
80
|
* @throws {@link ThrottlingException} (server fault)
|
|
79
81
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
80
82
|
*
|
|
83
|
+
* @throws {@link RekognitionServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
81
85
|
*
|
|
82
86
|
*/
|
|
83
87
|
export declare class DistributeDatasetEntriesCommand extends $Command<DistributeDatasetEntriesCommandInput, DistributeDatasetEntriesCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -37,6 +37,16 @@ export interface GetCelebrityInfoCommandOutput extends GetCelebrityInfoResponse,
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new GetCelebrityInfoCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // GetCelebrityInfoResponse
|
|
41
|
+
* // Urls: [ // Urls
|
|
42
|
+
* // "STRING_VALUE",
|
|
43
|
+
* // ],
|
|
44
|
+
* // Name: "STRING_VALUE",
|
|
45
|
+
* // KnownGender: { // KnownGender
|
|
46
|
+
* // Type: "Male" || "Female" || "Nonbinary" || "Unlisted",
|
|
47
|
+
* // },
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
40
50
|
* ```
|
|
41
51
|
*
|
|
42
52
|
* @param GetCelebrityInfoCommandInput - {@link GetCelebrityInfoCommandInput}
|
|
@@ -65,6 +75,8 @@ export interface GetCelebrityInfoCommandOutput extends GetCelebrityInfoResponse,
|
|
|
65
75
|
* @throws {@link ThrottlingException} (server fault)
|
|
66
76
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
67
77
|
*
|
|
78
|
+
* @throws {@link RekognitionServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
68
80
|
*
|
|
69
81
|
*/
|
|
70
82
|
export declare class GetCelebrityInfoCommand extends $Command<GetCelebrityInfoCommandInput, GetCelebrityInfoCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -72,6 +72,119 @@ export interface GetCelebrityRecognitionCommandOutput extends GetCelebrityRecogn
|
|
|
72
72
|
* };
|
|
73
73
|
* const command = new GetCelebrityRecognitionCommand(input);
|
|
74
74
|
* const response = await client.send(command);
|
|
75
|
+
* // { // GetCelebrityRecognitionResponse
|
|
76
|
+
* // JobStatus: "IN_PROGRESS" || "SUCCEEDED" || "FAILED",
|
|
77
|
+
* // StatusMessage: "STRING_VALUE",
|
|
78
|
+
* // VideoMetadata: { // VideoMetadata
|
|
79
|
+
* // Codec: "STRING_VALUE",
|
|
80
|
+
* // DurationMillis: Number("long"),
|
|
81
|
+
* // Format: "STRING_VALUE",
|
|
82
|
+
* // FrameRate: Number("float"),
|
|
83
|
+
* // FrameHeight: Number("long"),
|
|
84
|
+
* // FrameWidth: Number("long"),
|
|
85
|
+
* // ColorRange: "FULL" || "LIMITED",
|
|
86
|
+
* // },
|
|
87
|
+
* // NextToken: "STRING_VALUE",
|
|
88
|
+
* // Celebrities: [ // CelebrityRecognitions
|
|
89
|
+
* // { // CelebrityRecognition
|
|
90
|
+
* // Timestamp: Number("long"),
|
|
91
|
+
* // Celebrity: { // CelebrityDetail
|
|
92
|
+
* // Urls: [ // Urls
|
|
93
|
+
* // "STRING_VALUE",
|
|
94
|
+
* // ],
|
|
95
|
+
* // Name: "STRING_VALUE",
|
|
96
|
+
* // Id: "STRING_VALUE",
|
|
97
|
+
* // Confidence: Number("float"),
|
|
98
|
+
* // BoundingBox: { // BoundingBox
|
|
99
|
+
* // Width: Number("float"),
|
|
100
|
+
* // Height: Number("float"),
|
|
101
|
+
* // Left: Number("float"),
|
|
102
|
+
* // Top: Number("float"),
|
|
103
|
+
* // },
|
|
104
|
+
* // Face: { // FaceDetail
|
|
105
|
+
* // BoundingBox: {
|
|
106
|
+
* // Width: Number("float"),
|
|
107
|
+
* // Height: Number("float"),
|
|
108
|
+
* // Left: Number("float"),
|
|
109
|
+
* // Top: Number("float"),
|
|
110
|
+
* // },
|
|
111
|
+
* // AgeRange: { // AgeRange
|
|
112
|
+
* // Low: Number("int"),
|
|
113
|
+
* // High: Number("int"),
|
|
114
|
+
* // },
|
|
115
|
+
* // Smile: { // Smile
|
|
116
|
+
* // Value: true || false,
|
|
117
|
+
* // Confidence: Number("float"),
|
|
118
|
+
* // },
|
|
119
|
+
* // Eyeglasses: { // Eyeglasses
|
|
120
|
+
* // Value: true || false,
|
|
121
|
+
* // Confidence: Number("float"),
|
|
122
|
+
* // },
|
|
123
|
+
* // Sunglasses: { // Sunglasses
|
|
124
|
+
* // Value: true || false,
|
|
125
|
+
* // Confidence: Number("float"),
|
|
126
|
+
* // },
|
|
127
|
+
* // Gender: { // Gender
|
|
128
|
+
* // Value: "Male" || "Female",
|
|
129
|
+
* // Confidence: Number("float"),
|
|
130
|
+
* // },
|
|
131
|
+
* // Beard: { // Beard
|
|
132
|
+
* // Value: true || false,
|
|
133
|
+
* // Confidence: Number("float"),
|
|
134
|
+
* // },
|
|
135
|
+
* // Mustache: { // Mustache
|
|
136
|
+
* // Value: true || false,
|
|
137
|
+
* // Confidence: Number("float"),
|
|
138
|
+
* // },
|
|
139
|
+
* // EyesOpen: { // EyeOpen
|
|
140
|
+
* // Value: true || false,
|
|
141
|
+
* // Confidence: Number("float"),
|
|
142
|
+
* // },
|
|
143
|
+
* // MouthOpen: { // MouthOpen
|
|
144
|
+
* // Value: true || false,
|
|
145
|
+
* // Confidence: Number("float"),
|
|
146
|
+
* // },
|
|
147
|
+
* // Emotions: [ // Emotions
|
|
148
|
+
* // { // Emotion
|
|
149
|
+
* // Type: "HAPPY" || "SAD" || "ANGRY" || "CONFUSED" || "DISGUSTED" || "SURPRISED" || "CALM" || "UNKNOWN" || "FEAR",
|
|
150
|
+
* // Confidence: Number("float"),
|
|
151
|
+
* // },
|
|
152
|
+
* // ],
|
|
153
|
+
* // Landmarks: [ // Landmarks
|
|
154
|
+
* // { // Landmark
|
|
155
|
+
* // Type: "eyeLeft" || "eyeRight" || "nose" || "mouthLeft" || "mouthRight" || "leftEyeBrowLeft" || "leftEyeBrowRight" || "leftEyeBrowUp" || "rightEyeBrowLeft" || "rightEyeBrowRight" || "rightEyeBrowUp" || "leftEyeLeft" || "leftEyeRight" || "leftEyeUp" || "leftEyeDown" || "rightEyeLeft" || "rightEyeRight" || "rightEyeUp" || "rightEyeDown" || "noseLeft" || "noseRight" || "mouthUp" || "mouthDown" || "leftPupil" || "rightPupil" || "upperJawlineLeft" || "midJawlineLeft" || "chinBottom" || "midJawlineRight" || "upperJawlineRight",
|
|
156
|
+
* // X: Number("float"),
|
|
157
|
+
* // Y: Number("float"),
|
|
158
|
+
* // },
|
|
159
|
+
* // ],
|
|
160
|
+
* // Pose: { // Pose
|
|
161
|
+
* // Roll: Number("float"),
|
|
162
|
+
* // Yaw: Number("float"),
|
|
163
|
+
* // Pitch: Number("float"),
|
|
164
|
+
* // },
|
|
165
|
+
* // Quality: { // ImageQuality
|
|
166
|
+
* // Brightness: Number("float"),
|
|
167
|
+
* // Sharpness: Number("float"),
|
|
168
|
+
* // },
|
|
169
|
+
* // Confidence: Number("float"),
|
|
170
|
+
* // },
|
|
171
|
+
* // KnownGender: { // KnownGender
|
|
172
|
+
* // Type: "Male" || "Female" || "Nonbinary" || "Unlisted",
|
|
173
|
+
* // },
|
|
174
|
+
* // },
|
|
175
|
+
* // },
|
|
176
|
+
* // ],
|
|
177
|
+
* // JobId: "STRING_VALUE",
|
|
178
|
+
* // Video: { // Video
|
|
179
|
+
* // S3Object: { // S3Object
|
|
180
|
+
* // Bucket: "STRING_VALUE",
|
|
181
|
+
* // Name: "STRING_VALUE",
|
|
182
|
+
* // Version: "STRING_VALUE",
|
|
183
|
+
* // },
|
|
184
|
+
* // },
|
|
185
|
+
* // JobTag: "STRING_VALUE",
|
|
186
|
+
* // };
|
|
187
|
+
*
|
|
75
188
|
* ```
|
|
76
189
|
*
|
|
77
190
|
* @param GetCelebrityRecognitionCommandInput - {@link GetCelebrityRecognitionCommandInput}
|
|
@@ -103,6 +216,8 @@ export interface GetCelebrityRecognitionCommandOutput extends GetCelebrityRecogn
|
|
|
103
216
|
* @throws {@link ThrottlingException} (server fault)
|
|
104
217
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
105
218
|
*
|
|
219
|
+
* @throws {@link RekognitionServiceException}
|
|
220
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
106
221
|
*
|
|
107
222
|
*/
|
|
108
223
|
export declare class GetCelebrityRecognitionCommand extends $Command<GetCelebrityRecognitionCommandInput, GetCelebrityRecognitionCommandOutput, RekognitionClientResolvedConfig> {
|