@aws-sdk/client-rekognition 3.325.0 → 3.327.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-cjs/models/models_0.js +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +7 -0
- package/dist-es/models/models_0.js +11 -0
- package/dist-es/protocols/Aws_json1_1.js +7 -0
- 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 +82 -3
- 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 +119 -0
- package/dist-types/commands/GetContentModerationCommand.d.ts +44 -0
- package/dist-types/commands/GetFaceDetectionCommand.d.ts +102 -0
- package/dist-types/commands/GetFaceLivenessSessionResultsCommand.d.ts +38 -0
- package/dist-types/commands/GetFaceSearchCommand.d.ts +124 -0
- package/dist-types/commands/GetLabelDetectionCommand.d.ts +80 -0
- package/dist-types/commands/GetPersonTrackingCommand.d.ts +111 -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 +181 -6
- 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 +6 -1
- package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +4 -0
- package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +66 -22
- package/dist-types/models/models_1.d.ts +5 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +16 -1
- package/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/package.json +7 -7
|
@@ -58,6 +58,115 @@ export interface GetPersonTrackingCommandOutput extends GetPersonTrackingRespons
|
|
|
58
58
|
* };
|
|
59
59
|
* const command = new GetPersonTrackingCommand(input);
|
|
60
60
|
* const response = await client.send(command);
|
|
61
|
+
* // { // GetPersonTrackingResponse
|
|
62
|
+
* // JobStatus: "IN_PROGRESS" || "SUCCEEDED" || "FAILED",
|
|
63
|
+
* // StatusMessage: "STRING_VALUE",
|
|
64
|
+
* // VideoMetadata: { // VideoMetadata
|
|
65
|
+
* // Codec: "STRING_VALUE",
|
|
66
|
+
* // DurationMillis: Number("long"),
|
|
67
|
+
* // Format: "STRING_VALUE",
|
|
68
|
+
* // FrameRate: Number("float"),
|
|
69
|
+
* // FrameHeight: Number("long"),
|
|
70
|
+
* // FrameWidth: Number("long"),
|
|
71
|
+
* // ColorRange: "FULL" || "LIMITED",
|
|
72
|
+
* // },
|
|
73
|
+
* // NextToken: "STRING_VALUE",
|
|
74
|
+
* // Persons: [ // PersonDetections
|
|
75
|
+
* // { // PersonDetection
|
|
76
|
+
* // Timestamp: Number("long"),
|
|
77
|
+
* // Person: { // PersonDetail
|
|
78
|
+
* // Index: Number("long"),
|
|
79
|
+
* // BoundingBox: { // BoundingBox
|
|
80
|
+
* // Width: Number("float"),
|
|
81
|
+
* // Height: Number("float"),
|
|
82
|
+
* // Left: Number("float"),
|
|
83
|
+
* // Top: Number("float"),
|
|
84
|
+
* // },
|
|
85
|
+
* // Face: { // FaceDetail
|
|
86
|
+
* // BoundingBox: {
|
|
87
|
+
* // Width: Number("float"),
|
|
88
|
+
* // Height: Number("float"),
|
|
89
|
+
* // Left: Number("float"),
|
|
90
|
+
* // Top: Number("float"),
|
|
91
|
+
* // },
|
|
92
|
+
* // AgeRange: { // AgeRange
|
|
93
|
+
* // Low: Number("int"),
|
|
94
|
+
* // High: Number("int"),
|
|
95
|
+
* // },
|
|
96
|
+
* // Smile: { // Smile
|
|
97
|
+
* // Value: true || false,
|
|
98
|
+
* // Confidence: Number("float"),
|
|
99
|
+
* // },
|
|
100
|
+
* // Eyeglasses: { // Eyeglasses
|
|
101
|
+
* // Value: true || false,
|
|
102
|
+
* // Confidence: Number("float"),
|
|
103
|
+
* // },
|
|
104
|
+
* // Sunglasses: { // Sunglasses
|
|
105
|
+
* // Value: true || false,
|
|
106
|
+
* // Confidence: Number("float"),
|
|
107
|
+
* // },
|
|
108
|
+
* // Gender: { // Gender
|
|
109
|
+
* // Value: "Male" || "Female",
|
|
110
|
+
* // Confidence: Number("float"),
|
|
111
|
+
* // },
|
|
112
|
+
* // Beard: { // Beard
|
|
113
|
+
* // Value: true || false,
|
|
114
|
+
* // Confidence: Number("float"),
|
|
115
|
+
* // },
|
|
116
|
+
* // Mustache: { // Mustache
|
|
117
|
+
* // Value: true || false,
|
|
118
|
+
* // Confidence: Number("float"),
|
|
119
|
+
* // },
|
|
120
|
+
* // EyesOpen: { // EyeOpen
|
|
121
|
+
* // Value: true || false,
|
|
122
|
+
* // Confidence: Number("float"),
|
|
123
|
+
* // },
|
|
124
|
+
* // MouthOpen: { // MouthOpen
|
|
125
|
+
* // Value: true || false,
|
|
126
|
+
* // Confidence: Number("float"),
|
|
127
|
+
* // },
|
|
128
|
+
* // Emotions: [ // Emotions
|
|
129
|
+
* // { // Emotion
|
|
130
|
+
* // Type: "HAPPY" || "SAD" || "ANGRY" || "CONFUSED" || "DISGUSTED" || "SURPRISED" || "CALM" || "UNKNOWN" || "FEAR",
|
|
131
|
+
* // Confidence: Number("float"),
|
|
132
|
+
* // },
|
|
133
|
+
* // ],
|
|
134
|
+
* // Landmarks: [ // Landmarks
|
|
135
|
+
* // { // Landmark
|
|
136
|
+
* // 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",
|
|
137
|
+
* // X: Number("float"),
|
|
138
|
+
* // Y: Number("float"),
|
|
139
|
+
* // },
|
|
140
|
+
* // ],
|
|
141
|
+
* // Pose: { // Pose
|
|
142
|
+
* // Roll: Number("float"),
|
|
143
|
+
* // Yaw: Number("float"),
|
|
144
|
+
* // Pitch: Number("float"),
|
|
145
|
+
* // },
|
|
146
|
+
* // Quality: { // ImageQuality
|
|
147
|
+
* // Brightness: Number("float"),
|
|
148
|
+
* // Sharpness: Number("float"),
|
|
149
|
+
* // },
|
|
150
|
+
* // Confidence: Number("float"),
|
|
151
|
+
* // FaceOccluded: { // FaceOccluded
|
|
152
|
+
* // Value: true || false,
|
|
153
|
+
* // Confidence: Number("float"),
|
|
154
|
+
* // },
|
|
155
|
+
* // },
|
|
156
|
+
* // },
|
|
157
|
+
* // },
|
|
158
|
+
* // ],
|
|
159
|
+
* // JobId: "STRING_VALUE",
|
|
160
|
+
* // Video: { // Video
|
|
161
|
+
* // S3Object: { // S3Object
|
|
162
|
+
* // Bucket: "STRING_VALUE",
|
|
163
|
+
* // Name: "STRING_VALUE",
|
|
164
|
+
* // Version: "STRING_VALUE",
|
|
165
|
+
* // },
|
|
166
|
+
* // },
|
|
167
|
+
* // JobTag: "STRING_VALUE",
|
|
168
|
+
* // };
|
|
169
|
+
*
|
|
61
170
|
* ```
|
|
62
171
|
*
|
|
63
172
|
* @param GetPersonTrackingCommandInput - {@link GetPersonTrackingCommandInput}
|
|
@@ -89,6 +198,8 @@ export interface GetPersonTrackingCommandOutput extends GetPersonTrackingRespons
|
|
|
89
198
|
* @throws {@link ThrottlingException} (server fault)
|
|
90
199
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
91
200
|
*
|
|
201
|
+
* @throws {@link RekognitionServiceException}
|
|
202
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
92
203
|
*
|
|
93
204
|
*/
|
|
94
205
|
export declare class GetPersonTrackingCommand extends $Command<GetPersonTrackingCommandInput, GetPersonTrackingCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -54,6 +54,68 @@ export interface GetSegmentDetectionCommandOutput extends GetSegmentDetectionRes
|
|
|
54
54
|
* };
|
|
55
55
|
* const command = new GetSegmentDetectionCommand(input);
|
|
56
56
|
* const response = await client.send(command);
|
|
57
|
+
* // { // GetSegmentDetectionResponse
|
|
58
|
+
* // JobStatus: "IN_PROGRESS" || "SUCCEEDED" || "FAILED",
|
|
59
|
+
* // StatusMessage: "STRING_VALUE",
|
|
60
|
+
* // VideoMetadata: [ // VideoMetadataList
|
|
61
|
+
* // { // VideoMetadata
|
|
62
|
+
* // Codec: "STRING_VALUE",
|
|
63
|
+
* // DurationMillis: Number("long"),
|
|
64
|
+
* // Format: "STRING_VALUE",
|
|
65
|
+
* // FrameRate: Number("float"),
|
|
66
|
+
* // FrameHeight: Number("long"),
|
|
67
|
+
* // FrameWidth: Number("long"),
|
|
68
|
+
* // ColorRange: "FULL" || "LIMITED",
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // AudioMetadata: [ // AudioMetadataList
|
|
72
|
+
* // { // AudioMetadata
|
|
73
|
+
* // Codec: "STRING_VALUE",
|
|
74
|
+
* // DurationMillis: Number("long"),
|
|
75
|
+
* // SampleRate: Number("long"),
|
|
76
|
+
* // NumberOfChannels: Number("long"),
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // NextToken: "STRING_VALUE",
|
|
80
|
+
* // Segments: [ // SegmentDetections
|
|
81
|
+
* // { // SegmentDetection
|
|
82
|
+
* // Type: "TECHNICAL_CUE" || "SHOT",
|
|
83
|
+
* // StartTimestampMillis: Number("long"),
|
|
84
|
+
* // EndTimestampMillis: Number("long"),
|
|
85
|
+
* // DurationMillis: Number("long"),
|
|
86
|
+
* // StartTimecodeSMPTE: "STRING_VALUE",
|
|
87
|
+
* // EndTimecodeSMPTE: "STRING_VALUE",
|
|
88
|
+
* // DurationSMPTE: "STRING_VALUE",
|
|
89
|
+
* // TechnicalCueSegment: { // TechnicalCueSegment
|
|
90
|
+
* // Type: "ColorBars" || "EndCredits" || "BlackFrames" || "OpeningCredits" || "StudioLogo" || "Slate" || "Content",
|
|
91
|
+
* // Confidence: Number("float"),
|
|
92
|
+
* // },
|
|
93
|
+
* // ShotSegment: { // ShotSegment
|
|
94
|
+
* // Index: Number("long"),
|
|
95
|
+
* // Confidence: Number("float"),
|
|
96
|
+
* // },
|
|
97
|
+
* // StartFrameNumber: Number("long"),
|
|
98
|
+
* // EndFrameNumber: Number("long"),
|
|
99
|
+
* // DurationFrames: Number("long"),
|
|
100
|
+
* // },
|
|
101
|
+
* // ],
|
|
102
|
+
* // SelectedSegmentTypes: [ // SegmentTypesInfo
|
|
103
|
+
* // { // SegmentTypeInfo
|
|
104
|
+
* // Type: "TECHNICAL_CUE" || "SHOT",
|
|
105
|
+
* // ModelVersion: "STRING_VALUE",
|
|
106
|
+
* // },
|
|
107
|
+
* // ],
|
|
108
|
+
* // JobId: "STRING_VALUE",
|
|
109
|
+
* // Video: { // Video
|
|
110
|
+
* // S3Object: { // S3Object
|
|
111
|
+
* // Bucket: "STRING_VALUE",
|
|
112
|
+
* // Name: "STRING_VALUE",
|
|
113
|
+
* // Version: "STRING_VALUE",
|
|
114
|
+
* // },
|
|
115
|
+
* // },
|
|
116
|
+
* // JobTag: "STRING_VALUE",
|
|
117
|
+
* // };
|
|
118
|
+
*
|
|
57
119
|
* ```
|
|
58
120
|
*
|
|
59
121
|
* @param GetSegmentDetectionCommandInput - {@link GetSegmentDetectionCommandInput}
|
|
@@ -85,6 +147,8 @@ export interface GetSegmentDetectionCommandOutput extends GetSegmentDetectionRes
|
|
|
85
147
|
* @throws {@link ThrottlingException} (server fault)
|
|
86
148
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
87
149
|
*
|
|
150
|
+
* @throws {@link RekognitionServiceException}
|
|
151
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
88
152
|
*
|
|
89
153
|
*/
|
|
90
154
|
export declare class GetSegmentDetectionCommand extends $Command<GetSegmentDetectionCommandInput, GetSegmentDetectionCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -51,6 +51,57 @@ export interface GetTextDetectionCommandOutput extends GetTextDetectionResponse,
|
|
|
51
51
|
* };
|
|
52
52
|
* const command = new GetTextDetectionCommand(input);
|
|
53
53
|
* const response = await client.send(command);
|
|
54
|
+
* // { // GetTextDetectionResponse
|
|
55
|
+
* // JobStatus: "IN_PROGRESS" || "SUCCEEDED" || "FAILED",
|
|
56
|
+
* // StatusMessage: "STRING_VALUE",
|
|
57
|
+
* // VideoMetadata: { // VideoMetadata
|
|
58
|
+
* // Codec: "STRING_VALUE",
|
|
59
|
+
* // DurationMillis: Number("long"),
|
|
60
|
+
* // Format: "STRING_VALUE",
|
|
61
|
+
* // FrameRate: Number("float"),
|
|
62
|
+
* // FrameHeight: Number("long"),
|
|
63
|
+
* // FrameWidth: Number("long"),
|
|
64
|
+
* // ColorRange: "FULL" || "LIMITED",
|
|
65
|
+
* // },
|
|
66
|
+
* // TextDetections: [ // TextDetectionResults
|
|
67
|
+
* // { // TextDetectionResult
|
|
68
|
+
* // Timestamp: Number("long"),
|
|
69
|
+
* // TextDetection: { // TextDetection
|
|
70
|
+
* // DetectedText: "STRING_VALUE",
|
|
71
|
+
* // Type: "LINE" || "WORD",
|
|
72
|
+
* // Id: Number("int"),
|
|
73
|
+
* // ParentId: Number("int"),
|
|
74
|
+
* // Confidence: Number("float"),
|
|
75
|
+
* // Geometry: { // Geometry
|
|
76
|
+
* // BoundingBox: { // BoundingBox
|
|
77
|
+
* // Width: Number("float"),
|
|
78
|
+
* // Height: Number("float"),
|
|
79
|
+
* // Left: Number("float"),
|
|
80
|
+
* // Top: Number("float"),
|
|
81
|
+
* // },
|
|
82
|
+
* // Polygon: [ // Polygon
|
|
83
|
+
* // { // Point
|
|
84
|
+
* // X: Number("float"),
|
|
85
|
+
* // Y: Number("float"),
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
88
|
+
* // },
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // ],
|
|
92
|
+
* // NextToken: "STRING_VALUE",
|
|
93
|
+
* // TextModelVersion: "STRING_VALUE",
|
|
94
|
+
* // JobId: "STRING_VALUE",
|
|
95
|
+
* // Video: { // Video
|
|
96
|
+
* // S3Object: { // S3Object
|
|
97
|
+
* // Bucket: "STRING_VALUE",
|
|
98
|
+
* // Name: "STRING_VALUE",
|
|
99
|
+
* // Version: "STRING_VALUE",
|
|
100
|
+
* // },
|
|
101
|
+
* // },
|
|
102
|
+
* // JobTag: "STRING_VALUE",
|
|
103
|
+
* // };
|
|
104
|
+
*
|
|
54
105
|
* ```
|
|
55
106
|
*
|
|
56
107
|
* @param GetTextDetectionCommandInput - {@link GetTextDetectionCommandInput}
|
|
@@ -82,6 +133,8 @@ export interface GetTextDetectionCommandOutput extends GetTextDetectionResponse,
|
|
|
82
133
|
* @throws {@link ThrottlingException} (server fault)
|
|
83
134
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
84
135
|
*
|
|
136
|
+
* @throws {@link RekognitionServiceException}
|
|
137
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
85
138
|
*
|
|
86
139
|
*/
|
|
87
140
|
export declare class GetTextDetectionCommand extends $Command<GetTextDetectionCommandInput, GetTextDetectionCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -99,11 +99,13 @@ export interface IndexFacesCommandOutput extends IndexFacesResponse, __MetadataB
|
|
|
99
99
|
* <p>An image ID, <code>ImageId</code>, assigned by the service for the input image.</p>
|
|
100
100
|
* </li>
|
|
101
101
|
* </ul>
|
|
102
|
-
* <p>If you request
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
102
|
+
* <p>If you request <code>ALL</code> or specific facial attributes (e.g.,
|
|
103
|
+
* <code>FACE_OCCLUDED</code>) by using the detectionAttributes parameter, Amazon Rekognition
|
|
104
|
+
* returns detailed facial attributes, such as facial landmarks (for example, location of eye and
|
|
105
|
+
* mouth), facial occlusion, and other facial attributes.</p>
|
|
106
|
+
* <p>If you provide the same image, specify the same collection, and use the same external ID
|
|
107
|
+
* in the <code>IndexFaces</code> operation, Amazon Rekognition doesn't save duplicate face
|
|
108
|
+
* metadata.</p>
|
|
107
109
|
* <p></p>
|
|
108
110
|
* <p>The input image is passed either as base64-encoded image bytes, or as a reference to an
|
|
109
111
|
* image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations,
|
|
@@ -128,13 +130,184 @@ export interface IndexFacesCommandOutput extends IndexFacesResponse, __MetadataB
|
|
|
128
130
|
* },
|
|
129
131
|
* ExternalImageId: "STRING_VALUE",
|
|
130
132
|
* DetectionAttributes: [ // Attributes
|
|
131
|
-
* "DEFAULT" || "ALL",
|
|
133
|
+
* "DEFAULT" || "ALL" || "AGE_RANGE" || "BEARD" || "EMOTIONS" || "EYEGLASSES" || "EYES_OPEN" || "GENDER" || "MOUTH_OPEN" || "MUSTACHE" || "FACE_OCCLUDED" || "SMILE" || "SUNGLASSES",
|
|
132
134
|
* ],
|
|
133
135
|
* MaxFaces: Number("int"),
|
|
134
136
|
* QualityFilter: "NONE" || "AUTO" || "LOW" || "MEDIUM" || "HIGH",
|
|
135
137
|
* };
|
|
136
138
|
* const command = new IndexFacesCommand(input);
|
|
137
139
|
* const response = await client.send(command);
|
|
140
|
+
* // { // IndexFacesResponse
|
|
141
|
+
* // FaceRecords: [ // FaceRecordList
|
|
142
|
+
* // { // FaceRecord
|
|
143
|
+
* // Face: { // Face
|
|
144
|
+
* // FaceId: "STRING_VALUE",
|
|
145
|
+
* // BoundingBox: { // BoundingBox
|
|
146
|
+
* // Width: Number("float"),
|
|
147
|
+
* // Height: Number("float"),
|
|
148
|
+
* // Left: Number("float"),
|
|
149
|
+
* // Top: Number("float"),
|
|
150
|
+
* // },
|
|
151
|
+
* // ImageId: "STRING_VALUE",
|
|
152
|
+
* // ExternalImageId: "STRING_VALUE",
|
|
153
|
+
* // Confidence: Number("float"),
|
|
154
|
+
* // IndexFacesModelVersion: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
156
|
+
* // FaceDetail: { // FaceDetail
|
|
157
|
+
* // BoundingBox: {
|
|
158
|
+
* // Width: Number("float"),
|
|
159
|
+
* // Height: Number("float"),
|
|
160
|
+
* // Left: Number("float"),
|
|
161
|
+
* // Top: Number("float"),
|
|
162
|
+
* // },
|
|
163
|
+
* // AgeRange: { // AgeRange
|
|
164
|
+
* // Low: Number("int"),
|
|
165
|
+
* // High: Number("int"),
|
|
166
|
+
* // },
|
|
167
|
+
* // Smile: { // Smile
|
|
168
|
+
* // Value: true || false,
|
|
169
|
+
* // Confidence: Number("float"),
|
|
170
|
+
* // },
|
|
171
|
+
* // Eyeglasses: { // Eyeglasses
|
|
172
|
+
* // Value: true || false,
|
|
173
|
+
* // Confidence: Number("float"),
|
|
174
|
+
* // },
|
|
175
|
+
* // Sunglasses: { // Sunglasses
|
|
176
|
+
* // Value: true || false,
|
|
177
|
+
* // Confidence: Number("float"),
|
|
178
|
+
* // },
|
|
179
|
+
* // Gender: { // Gender
|
|
180
|
+
* // Value: "Male" || "Female",
|
|
181
|
+
* // Confidence: Number("float"),
|
|
182
|
+
* // },
|
|
183
|
+
* // Beard: { // Beard
|
|
184
|
+
* // Value: true || false,
|
|
185
|
+
* // Confidence: Number("float"),
|
|
186
|
+
* // },
|
|
187
|
+
* // Mustache: { // Mustache
|
|
188
|
+
* // Value: true || false,
|
|
189
|
+
* // Confidence: Number("float"),
|
|
190
|
+
* // },
|
|
191
|
+
* // EyesOpen: { // EyeOpen
|
|
192
|
+
* // Value: true || false,
|
|
193
|
+
* // Confidence: Number("float"),
|
|
194
|
+
* // },
|
|
195
|
+
* // MouthOpen: { // MouthOpen
|
|
196
|
+
* // Value: true || false,
|
|
197
|
+
* // Confidence: Number("float"),
|
|
198
|
+
* // },
|
|
199
|
+
* // Emotions: [ // Emotions
|
|
200
|
+
* // { // Emotion
|
|
201
|
+
* // Type: "HAPPY" || "SAD" || "ANGRY" || "CONFUSED" || "DISGUSTED" || "SURPRISED" || "CALM" || "UNKNOWN" || "FEAR",
|
|
202
|
+
* // Confidence: Number("float"),
|
|
203
|
+
* // },
|
|
204
|
+
* // ],
|
|
205
|
+
* // Landmarks: [ // Landmarks
|
|
206
|
+
* // { // Landmark
|
|
207
|
+
* // 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",
|
|
208
|
+
* // X: Number("float"),
|
|
209
|
+
* // Y: Number("float"),
|
|
210
|
+
* // },
|
|
211
|
+
* // ],
|
|
212
|
+
* // Pose: { // Pose
|
|
213
|
+
* // Roll: Number("float"),
|
|
214
|
+
* // Yaw: Number("float"),
|
|
215
|
+
* // Pitch: Number("float"),
|
|
216
|
+
* // },
|
|
217
|
+
* // Quality: { // ImageQuality
|
|
218
|
+
* // Brightness: Number("float"),
|
|
219
|
+
* // Sharpness: Number("float"),
|
|
220
|
+
* // },
|
|
221
|
+
* // Confidence: Number("float"),
|
|
222
|
+
* // FaceOccluded: { // FaceOccluded
|
|
223
|
+
* // Value: true || false,
|
|
224
|
+
* // Confidence: Number("float"),
|
|
225
|
+
* // },
|
|
226
|
+
* // },
|
|
227
|
+
* // },
|
|
228
|
+
* // ],
|
|
229
|
+
* // OrientationCorrection: "ROTATE_0" || "ROTATE_90" || "ROTATE_180" || "ROTATE_270",
|
|
230
|
+
* // FaceModelVersion: "STRING_VALUE",
|
|
231
|
+
* // UnindexedFaces: [ // UnindexedFaces
|
|
232
|
+
* // { // UnindexedFace
|
|
233
|
+
* // Reasons: [ // Reasons
|
|
234
|
+
* // "EXCEEDS_MAX_FACES" || "EXTREME_POSE" || "LOW_BRIGHTNESS" || "LOW_SHARPNESS" || "LOW_CONFIDENCE" || "SMALL_BOUNDING_BOX" || "LOW_FACE_QUALITY",
|
|
235
|
+
* // ],
|
|
236
|
+
* // FaceDetail: {
|
|
237
|
+
* // BoundingBox: {
|
|
238
|
+
* // Width: Number("float"),
|
|
239
|
+
* // Height: Number("float"),
|
|
240
|
+
* // Left: Number("float"),
|
|
241
|
+
* // Top: Number("float"),
|
|
242
|
+
* // },
|
|
243
|
+
* // AgeRange: {
|
|
244
|
+
* // Low: Number("int"),
|
|
245
|
+
* // High: Number("int"),
|
|
246
|
+
* // },
|
|
247
|
+
* // Smile: {
|
|
248
|
+
* // Value: true || false,
|
|
249
|
+
* // Confidence: Number("float"),
|
|
250
|
+
* // },
|
|
251
|
+
* // Eyeglasses: {
|
|
252
|
+
* // Value: true || false,
|
|
253
|
+
* // Confidence: Number("float"),
|
|
254
|
+
* // },
|
|
255
|
+
* // Sunglasses: {
|
|
256
|
+
* // Value: true || false,
|
|
257
|
+
* // Confidence: Number("float"),
|
|
258
|
+
* // },
|
|
259
|
+
* // Gender: {
|
|
260
|
+
* // Value: "Male" || "Female",
|
|
261
|
+
* // Confidence: Number("float"),
|
|
262
|
+
* // },
|
|
263
|
+
* // Beard: {
|
|
264
|
+
* // Value: true || false,
|
|
265
|
+
* // Confidence: Number("float"),
|
|
266
|
+
* // },
|
|
267
|
+
* // Mustache: {
|
|
268
|
+
* // Value: true || false,
|
|
269
|
+
* // Confidence: Number("float"),
|
|
270
|
+
* // },
|
|
271
|
+
* // EyesOpen: {
|
|
272
|
+
* // Value: true || false,
|
|
273
|
+
* // Confidence: Number("float"),
|
|
274
|
+
* // },
|
|
275
|
+
* // MouthOpen: {
|
|
276
|
+
* // Value: true || false,
|
|
277
|
+
* // Confidence: Number("float"),
|
|
278
|
+
* // },
|
|
279
|
+
* // Emotions: [
|
|
280
|
+
* // {
|
|
281
|
+
* // Type: "HAPPY" || "SAD" || "ANGRY" || "CONFUSED" || "DISGUSTED" || "SURPRISED" || "CALM" || "UNKNOWN" || "FEAR",
|
|
282
|
+
* // Confidence: Number("float"),
|
|
283
|
+
* // },
|
|
284
|
+
* // ],
|
|
285
|
+
* // Landmarks: [
|
|
286
|
+
* // {
|
|
287
|
+
* // 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",
|
|
288
|
+
* // X: Number("float"),
|
|
289
|
+
* // Y: Number("float"),
|
|
290
|
+
* // },
|
|
291
|
+
* // ],
|
|
292
|
+
* // Pose: {
|
|
293
|
+
* // Roll: Number("float"),
|
|
294
|
+
* // Yaw: Number("float"),
|
|
295
|
+
* // Pitch: Number("float"),
|
|
296
|
+
* // },
|
|
297
|
+
* // Quality: {
|
|
298
|
+
* // Brightness: Number("float"),
|
|
299
|
+
* // Sharpness: Number("float"),
|
|
300
|
+
* // },
|
|
301
|
+
* // Confidence: Number("float"),
|
|
302
|
+
* // FaceOccluded: {
|
|
303
|
+
* // Value: true || false,
|
|
304
|
+
* // Confidence: Number("float"),
|
|
305
|
+
* // },
|
|
306
|
+
* // },
|
|
307
|
+
* // },
|
|
308
|
+
* // ],
|
|
309
|
+
* // };
|
|
310
|
+
*
|
|
138
311
|
* ```
|
|
139
312
|
*
|
|
140
313
|
* @param IndexFacesCommandInput - {@link IndexFacesCommandInput}
|
|
@@ -180,6 +353,8 @@ export interface IndexFacesCommandOutput extends IndexFacesResponse, __MetadataB
|
|
|
180
353
|
* @throws {@link ThrottlingException} (server fault)
|
|
181
354
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
182
355
|
*
|
|
356
|
+
* @throws {@link RekognitionServiceException}
|
|
357
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
183
358
|
*
|
|
184
359
|
* @example To add a face to a collection
|
|
185
360
|
* ```javascript
|
|
@@ -38,6 +38,16 @@ export interface ListCollectionsCommandOutput extends ListCollectionsResponse, _
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new ListCollectionsCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // { // ListCollectionsResponse
|
|
42
|
+
* // CollectionIds: [ // CollectionIdList
|
|
43
|
+
* // "STRING_VALUE",
|
|
44
|
+
* // ],
|
|
45
|
+
* // NextToken: "STRING_VALUE",
|
|
46
|
+
* // FaceModelVersions: [ // FaceModelVersionList
|
|
47
|
+
* // "STRING_VALUE",
|
|
48
|
+
* // ],
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
41
51
|
* ```
|
|
42
52
|
*
|
|
43
53
|
* @param ListCollectionsCommandInput - {@link ListCollectionsCommandInput}
|
|
@@ -69,6 +79,8 @@ export interface ListCollectionsCommandOutput extends ListCollectionsResponse, _
|
|
|
69
79
|
* @throws {@link ThrottlingException} (server fault)
|
|
70
80
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
71
81
|
*
|
|
82
|
+
* @throws {@link RekognitionServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
72
84
|
*
|
|
73
85
|
* @example To list the collections
|
|
74
86
|
* ```javascript
|
|
@@ -52,6 +52,13 @@ export interface ListDatasetEntriesCommandOutput extends ListDatasetEntriesRespo
|
|
|
52
52
|
* };
|
|
53
53
|
* const command = new ListDatasetEntriesCommand(input);
|
|
54
54
|
* const response = await client.send(command);
|
|
55
|
+
* // { // ListDatasetEntriesResponse
|
|
56
|
+
* // DatasetEntries: [ // DatasetEntries
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
59
|
+
* // NextToken: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
55
62
|
* ```
|
|
56
63
|
*
|
|
57
64
|
* @param ListDatasetEntriesCommandInput - {@link ListDatasetEntriesCommandInput}
|
|
@@ -91,6 +98,8 @@ export interface ListDatasetEntriesCommandOutput extends ListDatasetEntriesRespo
|
|
|
91
98
|
* @throws {@link ThrottlingException} (server fault)
|
|
92
99
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
93
100
|
*
|
|
101
|
+
* @throws {@link RekognitionServiceException}
|
|
102
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
94
103
|
*
|
|
95
104
|
*/
|
|
96
105
|
export declare class ListDatasetEntriesCommand extends $Command<ListDatasetEntriesCommandInput, ListDatasetEntriesCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -38,6 +38,19 @@ export interface ListDatasetLabelsCommandOutput extends ListDatasetLabelsRespons
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new ListDatasetLabelsCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // { // ListDatasetLabelsResponse
|
|
42
|
+
* // DatasetLabelDescriptions: [ // DatasetLabelDescriptions
|
|
43
|
+
* // { // DatasetLabelDescription
|
|
44
|
+
* // LabelName: "STRING_VALUE",
|
|
45
|
+
* // LabelStats: { // DatasetLabelStats
|
|
46
|
+
* // EntryCount: Number("int"),
|
|
47
|
+
* // BoundingBoxCount: Number("int"),
|
|
48
|
+
* // },
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // NextToken: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
41
54
|
* ```
|
|
42
55
|
*
|
|
43
56
|
* @param ListDatasetLabelsCommandInput - {@link ListDatasetLabelsCommandInput}
|
|
@@ -77,6 +90,8 @@ export interface ListDatasetLabelsCommandOutput extends ListDatasetLabelsRespons
|
|
|
77
90
|
* @throws {@link ThrottlingException} (server fault)
|
|
78
91
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
79
92
|
*
|
|
93
|
+
* @throws {@link RekognitionServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
80
95
|
*
|
|
81
96
|
*/
|
|
82
97
|
export declare class ListDatasetLabelsCommand extends $Command<ListDatasetLabelsCommandInput, ListDatasetLabelsCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -38,6 +38,26 @@ export interface ListFacesCommandOutput extends ListFacesResponse, __MetadataBea
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new ListFacesCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // { // ListFacesResponse
|
|
42
|
+
* // Faces: [ // FaceList
|
|
43
|
+
* // { // Face
|
|
44
|
+
* // FaceId: "STRING_VALUE",
|
|
45
|
+
* // BoundingBox: { // BoundingBox
|
|
46
|
+
* // Width: Number("float"),
|
|
47
|
+
* // Height: Number("float"),
|
|
48
|
+
* // Left: Number("float"),
|
|
49
|
+
* // Top: Number("float"),
|
|
50
|
+
* // },
|
|
51
|
+
* // ImageId: "STRING_VALUE",
|
|
52
|
+
* // ExternalImageId: "STRING_VALUE",
|
|
53
|
+
* // Confidence: Number("float"),
|
|
54
|
+
* // IndexFacesModelVersion: "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // NextToken: "STRING_VALUE",
|
|
58
|
+
* // FaceModelVersion: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
41
61
|
* ```
|
|
42
62
|
*
|
|
43
63
|
* @param ListFacesCommandInput - {@link ListFacesCommandInput}
|
|
@@ -69,6 +89,8 @@ export interface ListFacesCommandOutput extends ListFacesResponse, __MetadataBea
|
|
|
69
89
|
* @throws {@link ThrottlingException} (server fault)
|
|
70
90
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
71
91
|
*
|
|
92
|
+
* @throws {@link RekognitionServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
72
94
|
*
|
|
73
95
|
* @example To list the faces in a collection
|
|
74
96
|
* ```javascript
|
|
@@ -35,6 +35,20 @@ export interface ListProjectPoliciesCommandOutput extends ListProjectPoliciesRes
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new ListProjectPoliciesCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // ListProjectPoliciesResponse
|
|
39
|
+
* // ProjectPolicies: [ // ProjectPolicies
|
|
40
|
+
* // { // ProjectPolicy
|
|
41
|
+
* // ProjectArn: "STRING_VALUE",
|
|
42
|
+
* // PolicyName: "STRING_VALUE",
|
|
43
|
+
* // PolicyRevisionId: "STRING_VALUE",
|
|
44
|
+
* // PolicyDocument: "STRING_VALUE",
|
|
45
|
+
* // CreationTimestamp: new Date("TIMESTAMP"),
|
|
46
|
+
* // LastUpdatedTimestamp: new Date("TIMESTAMP"),
|
|
47
|
+
* // },
|
|
48
|
+
* // ],
|
|
49
|
+
* // NextToken: "STRING_VALUE",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
38
52
|
* ```
|
|
39
53
|
*
|
|
40
54
|
* @param ListProjectPoliciesCommandInput - {@link ListProjectPoliciesCommandInput}
|
|
@@ -66,6 +80,8 @@ export interface ListProjectPoliciesCommandOutput extends ListProjectPoliciesRes
|
|
|
66
80
|
* @throws {@link ThrottlingException} (server fault)
|
|
67
81
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
68
82
|
*
|
|
83
|
+
* @throws {@link RekognitionServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
69
85
|
*
|
|
70
86
|
* @example ListProjectPolicies
|
|
71
87
|
* ```javascript
|
|
@@ -32,6 +32,16 @@ export interface ListStreamProcessorsCommandOutput extends ListStreamProcessorsR
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new ListStreamProcessorsCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // ListStreamProcessorsResponse
|
|
36
|
+
* // NextToken: "STRING_VALUE",
|
|
37
|
+
* // StreamProcessors: [ // StreamProcessorList
|
|
38
|
+
* // { // StreamProcessor
|
|
39
|
+
* // Name: "STRING_VALUE",
|
|
40
|
+
* // Status: "STOPPED" || "STARTING" || "RUNNING" || "FAILED" || "STOPPING" || "UPDATING",
|
|
41
|
+
* // },
|
|
42
|
+
* // ],
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
35
45
|
* ```
|
|
36
46
|
*
|
|
37
47
|
* @param ListStreamProcessorsCommandInput - {@link ListStreamProcessorsCommandInput}
|
|
@@ -60,6 +70,8 @@ export interface ListStreamProcessorsCommandOutput extends ListStreamProcessorsR
|
|
|
60
70
|
* @throws {@link ThrottlingException} (server fault)
|
|
61
71
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
62
72
|
*
|
|
73
|
+
* @throws {@link RekognitionServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
63
75
|
*
|
|
64
76
|
*/
|
|
65
77
|
export declare class ListStreamProcessorsCommand extends $Command<ListStreamProcessorsCommandInput, ListStreamProcessorsCommandOutput, RekognitionClientResolvedConfig> {
|