@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
|
@@ -36,6 +36,27 @@ export interface DescribeProjectsCommandOutput extends DescribeProjectsResponse,
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new DescribeProjectsCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // DescribeProjectsResponse
|
|
40
|
+
* // ProjectDescriptions: [ // ProjectDescriptions
|
|
41
|
+
* // { // ProjectDescription
|
|
42
|
+
* // ProjectArn: "STRING_VALUE",
|
|
43
|
+
* // CreationTimestamp: new Date("TIMESTAMP"),
|
|
44
|
+
* // Status: "CREATING" || "CREATED" || "DELETING",
|
|
45
|
+
* // Datasets: [ // DatasetMetadataList
|
|
46
|
+
* // { // DatasetMetadata
|
|
47
|
+
* // CreationTimestamp: new Date("TIMESTAMP"),
|
|
48
|
+
* // DatasetType: "TRAIN" || "TEST",
|
|
49
|
+
* // DatasetArn: "STRING_VALUE",
|
|
50
|
+
* // Status: "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED" || "DELETE_IN_PROGRESS",
|
|
51
|
+
* // StatusMessage: "STRING_VALUE",
|
|
52
|
+
* // StatusMessageCode: "SUCCESS" || "SERVICE_ERROR" || "CLIENT_ERROR",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // NextToken: "STRING_VALUE",
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
39
60
|
* ```
|
|
40
61
|
*
|
|
41
62
|
* @param DescribeProjectsCommandInput - {@link DescribeProjectsCommandInput}
|
|
@@ -64,6 +85,8 @@ export interface DescribeProjectsCommandOutput extends DescribeProjectsResponse,
|
|
|
64
85
|
* @throws {@link ThrottlingException} (server fault)
|
|
65
86
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
66
87
|
*
|
|
88
|
+
* @throws {@link RekognitionServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
67
90
|
*
|
|
68
91
|
*/
|
|
69
92
|
export declare class DescribeProjectsCommand extends $Command<DescribeProjectsCommandInput, DescribeProjectsCommandOutput, RekognitionClientResolvedConfig> {
|
|
@@ -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> {
|
|
@@ -24,8 +24,8 @@ export interface DetectFacesCommandOutput extends DetectFacesResponse, __Metadat
|
|
|
24
24
|
* <code>DetectFaces</code> detects the 100 largest faces in the image. For each face
|
|
25
25
|
* detected, the operation returns face details. These details include a bounding box of the
|
|
26
26
|
* face, a confidence value (that the bounding box contains a face), and a fixed set of
|
|
27
|
-
* attributes such as facial landmarks (for example, coordinates of eye and mouth),
|
|
28
|
-
*
|
|
27
|
+
* attributes such as facial landmarks (for example, coordinates of eye and mouth), pose,
|
|
28
|
+
* presence of facial occlusion, and so on.</p>
|
|
29
29
|
* <p>The face-detection algorithm is most effective on frontal faces. For non-frontal or
|
|
30
30
|
* obscured faces, the algorithm might not detect the faces or might detect faces with lower
|
|
31
31
|
* confidence. </p>
|
|
@@ -54,11 +54,88 @@ export interface DetectFacesCommandOutput extends DetectFacesResponse, __Metadat
|
|
|
54
54
|
* },
|
|
55
55
|
* },
|
|
56
56
|
* Attributes: [ // Attributes
|
|
57
|
-
* "DEFAULT" || "ALL",
|
|
57
|
+
* "DEFAULT" || "ALL" || "AGE_RANGE" || "BEARD" || "EMOTIONS" || "EYEGLASSES" || "EYES_OPEN" || "GENDER" || "MOUTH_OPEN" || "MUSTACHE" || "FACE_OCCLUDED" || "SMILE" || "SUNGLASSES",
|
|
58
58
|
* ],
|
|
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
|
+
* // FaceOccluded: { // FaceOccluded
|
|
131
|
+
* // Value: true || false,
|
|
132
|
+
* // Confidence: Number("float"),
|
|
133
|
+
* // },
|
|
134
|
+
* // },
|
|
135
|
+
* // ],
|
|
136
|
+
* // OrientationCorrection: "ROTATE_0" || "ROTATE_90" || "ROTATE_180" || "ROTATE_270",
|
|
137
|
+
* // };
|
|
138
|
+
*
|
|
62
139
|
* ```
|
|
63
140
|
*
|
|
64
141
|
* @param DetectFacesCommandInput - {@link DetectFacesCommandInput}
|
|
@@ -96,6 +173,8 @@ export interface DetectFacesCommandOutput extends DetectFacesResponse, __Metadat
|
|
|
96
173
|
* @throws {@link ThrottlingException} (server fault)
|
|
97
174
|
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
98
175
|
*
|
|
176
|
+
* @throws {@link RekognitionServiceException}
|
|
177
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
99
178
|
*
|
|
100
179
|
* @example To detect faces in an image
|
|
101
180
|
* ```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> {
|