@aws-sdk/client-rekognition 3.288.0 → 3.290.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.
Files changed (64) hide show
  1. package/dist-types/commands/CompareFacesCommand.d.ts +80 -0
  2. package/dist-types/commands/CopyProjectVersionCommand.d.ts +61 -0
  3. package/dist-types/commands/CreateCollectionCommand.d.ts +43 -0
  4. package/dist-types/commands/CreateDatasetCommand.d.ts +32 -0
  5. package/dist-types/commands/CreateProjectCommand.d.ts +26 -0
  6. package/dist-types/commands/CreateProjectVersionCommand.d.ts +34 -0
  7. package/dist-types/commands/CreateStreamProcessorCommand.d.ts +31 -0
  8. package/dist-types/commands/DeleteCollectionCommand.d.ts +37 -0
  9. package/dist-types/commands/DeleteDatasetCommand.d.ts +29 -0
  10. package/dist-types/commands/DeleteFacesCommand.d.ts +42 -0
  11. package/dist-types/commands/DeleteProjectCommand.d.ts +24 -0
  12. package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +37 -0
  13. package/dist-types/commands/DeleteProjectVersionCommand.d.ts +24 -0
  14. package/dist-types/commands/DeleteStreamProcessorCommand.d.ts +24 -0
  15. package/dist-types/commands/DescribeCollectionCommand.d.ts +21 -0
  16. package/dist-types/commands/DescribeDatasetCommand.d.ts +21 -0
  17. package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +24 -0
  18. package/dist-types/commands/DescribeProjectsCommand.d.ts +21 -0
  19. package/dist-types/commands/DescribeStreamProcessorCommand.d.ts +21 -0
  20. package/dist-types/commands/DetectCustomLabelsCommand.d.ts +43 -0
  21. package/dist-types/commands/DetectFacesCommand.d.ts +98 -0
  22. package/dist-types/commands/DetectLabelsCommand.d.ts +62 -0
  23. package/dist-types/commands/DetectModerationLabelsCommand.d.ts +33 -0
  24. package/dist-types/commands/DetectProtectiveEquipmentCommand.d.ts +30 -0
  25. package/dist-types/commands/DetectTextCommand.d.ts +30 -0
  26. package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +26 -0
  27. package/dist-types/commands/GetCelebrityInfoCommand.d.ts +21 -0
  28. package/dist-types/commands/GetCelebrityRecognitionCommand.d.ts +24 -0
  29. package/dist-types/commands/GetContentModerationCommand.d.ts +24 -0
  30. package/dist-types/commands/GetFaceDetectionCommand.d.ts +24 -0
  31. package/dist-types/commands/GetFaceSearchCommand.d.ts +24 -0
  32. package/dist-types/commands/GetLabelDetectionCommand.d.ts +24 -0
  33. package/dist-types/commands/GetPersonTrackingCommand.d.ts +24 -0
  34. package/dist-types/commands/GetSegmentDetectionCommand.d.ts +24 -0
  35. package/dist-types/commands/GetTextDetectionCommand.d.ts +24 -0
  36. package/dist-types/commands/IndexFacesCommand.d.ts +180 -0
  37. package/dist-types/commands/ListCollectionsCommand.d.ts +40 -0
  38. package/dist-types/commands/ListDatasetEntriesCommand.d.ts +32 -0
  39. package/dist-types/commands/ListDatasetLabelsCommand.d.ts +32 -0
  40. package/dist-types/commands/ListFacesCommand.d.ts +163 -0
  41. package/dist-types/commands/ListProjectPoliciesCommand.d.ts +52 -0
  42. package/dist-types/commands/ListStreamProcessorsCommand.d.ts +21 -0
  43. package/dist-types/commands/ListTagsForResourceCommand.d.ts +21 -0
  44. package/dist-types/commands/PutProjectPolicyCommand.d.ts +60 -0
  45. package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +30 -0
  46. package/dist-types/commands/SearchFacesByImageCommand.d.ts +79 -0
  47. package/dist-types/commands/SearchFacesCommand.d.ts +84 -0
  48. package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +34 -0
  49. package/dist-types/commands/StartContentModerationCommand.d.ts +34 -0
  50. package/dist-types/commands/StartFaceDetectionCommand.d.ts +34 -0
  51. package/dist-types/commands/StartFaceSearchCommand.d.ts +37 -0
  52. package/dist-types/commands/StartLabelDetectionCommand.d.ts +34 -0
  53. package/dist-types/commands/StartPersonTrackingCommand.d.ts +34 -0
  54. package/dist-types/commands/StartProjectVersionCommand.d.ts +29 -0
  55. package/dist-types/commands/StartSegmentDetectionCommand.d.ts +34 -0
  56. package/dist-types/commands/StartStreamProcessorCommand.d.ts +24 -0
  57. package/dist-types/commands/StartTextDetectionCommand.d.ts +34 -0
  58. package/dist-types/commands/StopProjectVersionCommand.d.ts +24 -0
  59. package/dist-types/commands/StopStreamProcessorCommand.d.ts +24 -0
  60. package/dist-types/commands/TagResourceCommand.d.ts +26 -0
  61. package/dist-types/commands/UntagResourceCommand.d.ts +21 -0
  62. package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +29 -0
  63. package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +21 -0
  64. package/package.json +30 -30
@@ -33,6 +33,27 @@ export interface DescribeDatasetCommandOutput extends DescribeDatasetResponse, _
33
33
  * @see {@link DescribeDatasetCommandOutput} for command's `response` shape.
34
34
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
35
35
  *
36
+ * @throws {@link AccessDeniedException} (client fault)
37
+ * <p>You are not authorized to perform the action.</p>
38
+ *
39
+ * @throws {@link InternalServerError} (server fault)
40
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
41
+ *
42
+ * @throws {@link InvalidParameterException} (client fault)
43
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
44
+ * operation again.</p>
45
+ *
46
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
47
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
48
+ * limit, contact Amazon Rekognition.</p>
49
+ *
50
+ * @throws {@link ResourceNotFoundException} (client fault)
51
+ * <p>The resource specified in the request cannot be found.</p>
52
+ *
53
+ * @throws {@link ThrottlingException} (server fault)
54
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
55
+ *
56
+ *
36
57
  */
37
58
  export declare class DescribeDatasetCommand extends $Command<DescribeDatasetCommandInput, DescribeDatasetCommandOutput, RekognitionClientResolvedConfig> {
38
59
  readonly input: DescribeDatasetCommandInput;
@@ -33,6 +33,30 @@ export interface DescribeProjectVersionsCommandOutput extends DescribeProjectVer
33
33
  * @see {@link DescribeProjectVersionsCommandOutput} for command's `response` shape.
34
34
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
35
35
  *
36
+ * @throws {@link AccessDeniedException} (client fault)
37
+ * <p>You are not authorized to perform the action.</p>
38
+ *
39
+ * @throws {@link InternalServerError} (server fault)
40
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
41
+ *
42
+ * @throws {@link InvalidPaginationTokenException} (client fault)
43
+ * <p>Pagination token in the request is not valid.</p>
44
+ *
45
+ * @throws {@link InvalidParameterException} (client fault)
46
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
47
+ * operation again.</p>
48
+ *
49
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
50
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
51
+ * limit, contact Amazon Rekognition.</p>
52
+ *
53
+ * @throws {@link ResourceNotFoundException} (client fault)
54
+ * <p>The resource specified in the request cannot be found.</p>
55
+ *
56
+ * @throws {@link ThrottlingException} (server fault)
57
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
58
+ *
59
+ *
36
60
  */
37
61
  export declare class DescribeProjectVersionsCommand extends $Command<DescribeProjectVersionsCommandInput, DescribeProjectVersionsCommandOutput, RekognitionClientResolvedConfig> {
38
62
  readonly input: DescribeProjectVersionsCommandInput;
@@ -30,6 +30,27 @@ export interface DescribeProjectsCommandOutput extends DescribeProjectsResponse,
30
30
  * @see {@link DescribeProjectsCommandOutput} for command's `response` shape.
31
31
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
32
32
  *
33
+ * @throws {@link AccessDeniedException} (client fault)
34
+ * <p>You are not authorized to perform the action.</p>
35
+ *
36
+ * @throws {@link InternalServerError} (server fault)
37
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
38
+ *
39
+ * @throws {@link InvalidPaginationTokenException} (client fault)
40
+ * <p>Pagination token in the request is not valid.</p>
41
+ *
42
+ * @throws {@link InvalidParameterException} (client fault)
43
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
44
+ * operation again.</p>
45
+ *
46
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
47
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
48
+ * limit, contact Amazon Rekognition.</p>
49
+ *
50
+ * @throws {@link ThrottlingException} (server fault)
51
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
52
+ *
53
+ *
33
54
  */
34
55
  export declare class DescribeProjectsCommand extends $Command<DescribeProjectsCommandInput, DescribeProjectsCommandOutput, RekognitionClientResolvedConfig> {
35
56
  readonly input: DescribeProjectsCommandInput;
@@ -30,6 +30,27 @@ export interface DescribeStreamProcessorCommandOutput extends DescribeStreamProc
30
30
  * @see {@link DescribeStreamProcessorCommandOutput} for command's `response` shape.
31
31
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
32
32
  *
33
+ * @throws {@link AccessDeniedException} (client fault)
34
+ * <p>You are not authorized to perform the action.</p>
35
+ *
36
+ * @throws {@link InternalServerError} (server fault)
37
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
38
+ *
39
+ * @throws {@link InvalidParameterException} (client fault)
40
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
41
+ * operation again.</p>
42
+ *
43
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
44
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
45
+ * limit, contact Amazon Rekognition.</p>
46
+ *
47
+ * @throws {@link ResourceNotFoundException} (client fault)
48
+ * <p>The resource specified in the request cannot be found.</p>
49
+ *
50
+ * @throws {@link ThrottlingException} (server fault)
51
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
52
+ *
53
+ *
33
54
  */
34
55
  export declare class DescribeStreamProcessorCommand extends $Command<DescribeStreamProcessorCommandInput, DescribeStreamProcessorCommandOutput, RekognitionClientResolvedConfig> {
35
56
  readonly input: DescribeStreamProcessorCommandInput;
@@ -60,6 +60,49 @@ export interface DetectCustomLabelsCommandOutput extends DetectCustomLabelsRespo
60
60
  * @see {@link DetectCustomLabelsCommandOutput} for command's `response` shape.
61
61
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
62
62
  *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>You are not authorized to perform the action.</p>
65
+ *
66
+ * @throws {@link ImageTooLargeException} (client fault)
67
+ * <p>The input image size exceeds the allowed limit. If you are calling
68
+ * DetectProtectiveEquipment, the image size or resolution exceeds the allowed limit. For more
69
+ * information, see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition Developer Guide.
70
+ * </p>
71
+ *
72
+ * @throws {@link InternalServerError} (server fault)
73
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
74
+ *
75
+ * @throws {@link InvalidImageFormatException} (client fault)
76
+ * <p>The provided image format is not supported. </p>
77
+ *
78
+ * @throws {@link InvalidParameterException} (client fault)
79
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
80
+ * operation again.</p>
81
+ *
82
+ * @throws {@link InvalidS3ObjectException} (client fault)
83
+ * <p>Amazon Rekognition is unable to access the S3 object specified in the request.</p>
84
+ *
85
+ * @throws {@link LimitExceededException} (client fault)
86
+ * <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many Amazon Rekognition Video jobs concurrently, calls to start operations
87
+ * (<code>StartLabelDetection</code>, for example) will raise a <code>LimitExceededException</code> exception (HTTP status code: 400) until
88
+ * the number of concurrently running jobs is below the Amazon Rekognition service limit. </p>
89
+ *
90
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
91
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
92
+ * limit, contact Amazon Rekognition.</p>
93
+ *
94
+ * @throws {@link ResourceNotFoundException} (client fault)
95
+ * <p>The resource specified in the request cannot be found.</p>
96
+ *
97
+ * @throws {@link ResourceNotReadyException} (client fault)
98
+ * <p>The requested resource isn't ready. For example,
99
+ * this exception occurs when you call <code>DetectCustomLabels</code> with a
100
+ * model version that isn't deployed. </p>
101
+ *
102
+ * @throws {@link ThrottlingException} (server fault)
103
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
104
+ *
105
+ *
63
106
  */
64
107
  export declare class DetectCustomLabelsCommand extends $Command<DetectCustomLabelsCommandInput, DetectCustomLabelsCommandOutput, RekognitionClientResolvedConfig> {
65
108
  readonly input: DetectCustomLabelsCommandInput;
@@ -47,6 +47,104 @@ export interface DetectFacesCommandOutput extends DetectFacesResponse, __Metadat
47
47
  * @see {@link DetectFacesCommandOutput} for command's `response` shape.
48
48
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
49
49
  *
50
+ * @throws {@link AccessDeniedException} (client fault)
51
+ * <p>You are not authorized to perform the action.</p>
52
+ *
53
+ * @throws {@link ImageTooLargeException} (client fault)
54
+ * <p>The input image size exceeds the allowed limit. If you are calling
55
+ * DetectProtectiveEquipment, the image size or resolution exceeds the allowed limit. For more
56
+ * information, see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition Developer Guide.
57
+ * </p>
58
+ *
59
+ * @throws {@link InternalServerError} (server fault)
60
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
61
+ *
62
+ * @throws {@link InvalidImageFormatException} (client fault)
63
+ * <p>The provided image format is not supported. </p>
64
+ *
65
+ * @throws {@link InvalidParameterException} (client fault)
66
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
67
+ * operation again.</p>
68
+ *
69
+ * @throws {@link InvalidS3ObjectException} (client fault)
70
+ * <p>Amazon Rekognition is unable to access the S3 object specified in the request.</p>
71
+ *
72
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
73
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
74
+ * limit, contact Amazon Rekognition.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (server fault)
77
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
78
+ *
79
+ *
80
+ * @example To detect faces in an image
81
+ * ```javascript
82
+ * // This operation detects faces in an image stored in an AWS S3 bucket.
83
+ * const input = {
84
+ * "Image": {
85
+ * "S3Object": {
86
+ * "Bucket": "mybucket",
87
+ * "Name": "myphoto"
88
+ * }
89
+ * }
90
+ * };
91
+ * const command = new DetectFacesCommand(input);
92
+ * const response = await client.send(command);
93
+ * /* response ==
94
+ * {
95
+ * "FaceDetails": [
96
+ * {
97
+ * "BoundingBox": {
98
+ * "Height": 0.18000000715255737,
99
+ * "Left": 0.5555555820465088,
100
+ * "Top": 0.33666667342185974,
101
+ * "Width": 0.23999999463558197
102
+ * },
103
+ * "Confidence": 100,
104
+ * "Landmarks": [
105
+ * {
106
+ * "Type": "eyeLeft",
107
+ * "X": 0.6394737362861633,
108
+ * "Y": 0.40819624066352844
109
+ * },
110
+ * {
111
+ * "Type": "eyeRight",
112
+ * "X": 0.7266660928726196,
113
+ * "Y": 0.41039225459098816
114
+ * },
115
+ * {
116
+ * "Type": "eyeRight",
117
+ * "X": 0.6912462115287781,
118
+ * "Y": 0.44240960478782654
119
+ * },
120
+ * {
121
+ * "Type": "mouthDown",
122
+ * "X": 0.6306198239326477,
123
+ * "Y": 0.46700039505958557
124
+ * },
125
+ * {
126
+ * "Type": "mouthUp",
127
+ * "X": 0.7215608954429626,
128
+ * "Y": 0.47114261984825134
129
+ * }
130
+ * ],
131
+ * "Pose": {
132
+ * "Pitch": 4.050806522369385,
133
+ * "Roll": 0.9950747489929199,
134
+ * "Yaw": 13.693790435791016
135
+ * },
136
+ * "Quality": {
137
+ * "Brightness": 37.60169982910156,
138
+ * "Sharpness": 80
139
+ * }
140
+ * }
141
+ * ],
142
+ * "OrientationCorrection": "ROTATE_0"
143
+ * }
144
+ * *\/
145
+ * // example id: to-detect-faces-in-an-image-1481841782793
146
+ * ```
147
+ *
50
148
  */
51
149
  export declare class DetectFacesCommand extends $Command<DetectFacesCommandInput, DetectFacesCommandOutput, RekognitionClientResolvedConfig> {
52
150
  readonly input: DetectFacesCommandInput;
@@ -141,6 +141,68 @@ export interface DetectLabelsCommandOutput extends DetectLabelsResponse, __Metad
141
141
  * @see {@link DetectLabelsCommandOutput} for command's `response` shape.
142
142
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
143
143
  *
144
+ * @throws {@link AccessDeniedException} (client fault)
145
+ * <p>You are not authorized to perform the action.</p>
146
+ *
147
+ * @throws {@link ImageTooLargeException} (client fault)
148
+ * <p>The input image size exceeds the allowed limit. If you are calling
149
+ * DetectProtectiveEquipment, the image size or resolution exceeds the allowed limit. For more
150
+ * information, see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition Developer Guide.
151
+ * </p>
152
+ *
153
+ * @throws {@link InternalServerError} (server fault)
154
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
155
+ *
156
+ * @throws {@link InvalidImageFormatException} (client fault)
157
+ * <p>The provided image format is not supported. </p>
158
+ *
159
+ * @throws {@link InvalidParameterException} (client fault)
160
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
161
+ * operation again.</p>
162
+ *
163
+ * @throws {@link InvalidS3ObjectException} (client fault)
164
+ * <p>Amazon Rekognition is unable to access the S3 object specified in the request.</p>
165
+ *
166
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
167
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
168
+ * limit, contact Amazon Rekognition.</p>
169
+ *
170
+ * @throws {@link ThrottlingException} (server fault)
171
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
172
+ *
173
+ *
174
+ * @example To detect labels
175
+ * ```javascript
176
+ * // This operation detects labels in the supplied image
177
+ * const input = {
178
+ * "Image": {
179
+ * "S3Object": {
180
+ * "Bucket": "mybucket",
181
+ * "Name": "myphoto"
182
+ * }
183
+ * },
184
+ * "MaxLabels": 123,
185
+ * "MinConfidence": 70
186
+ * };
187
+ * const command = new DetectLabelsCommand(input);
188
+ * const response = await client.send(command);
189
+ * /* response ==
190
+ * {
191
+ * "Labels": [
192
+ * {
193
+ * "Confidence": 99.25072479248047,
194
+ * "Name": "People"
195
+ * },
196
+ * {
197
+ * "Confidence": 99.25074005126953,
198
+ * "Name": "Person"
199
+ * }
200
+ * ]
201
+ * }
202
+ * *\/
203
+ * // example id: to-detect-labels-1481834255770
204
+ * ```
205
+ *
144
206
  */
145
207
  export declare class DetectLabelsCommand extends $Command<DetectLabelsCommandInput, DetectLabelsCommandOutput, RekognitionClientResolvedConfig> {
146
208
  readonly input: DetectLabelsCommandInput;
@@ -41,6 +41,39 @@ export interface DetectModerationLabelsCommandOutput extends DetectModerationLab
41
41
  * @see {@link DetectModerationLabelsCommandOutput} for command's `response` shape.
42
42
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
43
43
  *
44
+ * @throws {@link AccessDeniedException} (client fault)
45
+ * <p>You are not authorized to perform the action.</p>
46
+ *
47
+ * @throws {@link HumanLoopQuotaExceededException} (client fault)
48
+ * <p>The number of in-progress human reviews you have has exceeded the number allowed.</p>
49
+ *
50
+ * @throws {@link ImageTooLargeException} (client fault)
51
+ * <p>The input image size exceeds the allowed limit. If you are calling
52
+ * DetectProtectiveEquipment, the image size or resolution exceeds the allowed limit. For more
53
+ * information, see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition Developer Guide.
54
+ * </p>
55
+ *
56
+ * @throws {@link InternalServerError} (server fault)
57
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
58
+ *
59
+ * @throws {@link InvalidImageFormatException} (client fault)
60
+ * <p>The provided image format is not supported. </p>
61
+ *
62
+ * @throws {@link InvalidParameterException} (client fault)
63
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
64
+ * operation again.</p>
65
+ *
66
+ * @throws {@link InvalidS3ObjectException} (client fault)
67
+ * <p>Amazon Rekognition is unable to access the S3 object specified in the request.</p>
68
+ *
69
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
70
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
71
+ * limit, contact Amazon Rekognition.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (server fault)
74
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
75
+ *
76
+ *
44
77
  */
45
78
  export declare class DetectModerationLabelsCommand extends $Command<DetectModerationLabelsCommandInput, DetectModerationLabelsCommandOutput, RekognitionClientResolvedConfig> {
46
79
  readonly input: DetectModerationLabelsCommandInput;
@@ -65,6 +65,36 @@ export interface DetectProtectiveEquipmentCommandOutput extends DetectProtective
65
65
  * @see {@link DetectProtectiveEquipmentCommandOutput} for command's `response` shape.
66
66
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
67
67
  *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>You are not authorized to perform the action.</p>
70
+ *
71
+ * @throws {@link ImageTooLargeException} (client fault)
72
+ * <p>The input image size exceeds the allowed limit. If you are calling
73
+ * DetectProtectiveEquipment, the image size or resolution exceeds the allowed limit. For more
74
+ * information, see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition Developer Guide.
75
+ * </p>
76
+ *
77
+ * @throws {@link InternalServerError} (server fault)
78
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
79
+ *
80
+ * @throws {@link InvalidImageFormatException} (client fault)
81
+ * <p>The provided image format is not supported. </p>
82
+ *
83
+ * @throws {@link InvalidParameterException} (client fault)
84
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
85
+ * operation again.</p>
86
+ *
87
+ * @throws {@link InvalidS3ObjectException} (client fault)
88
+ * <p>Amazon Rekognition is unable to access the S3 object specified in the request.</p>
89
+ *
90
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
91
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
92
+ * limit, contact Amazon Rekognition.</p>
93
+ *
94
+ * @throws {@link ThrottlingException} (server fault)
95
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
96
+ *
97
+ *
68
98
  */
69
99
  export declare class DetectProtectiveEquipmentCommand extends $Command<DetectProtectiveEquipmentCommandInput, DetectProtectiveEquipmentCommandOutput, RekognitionClientResolvedConfig> {
70
100
  readonly input: DetectProtectiveEquipmentCommandInput;
@@ -51,6 +51,36 @@ export interface DetectTextCommandOutput extends DetectTextResponse, __MetadataB
51
51
  * @see {@link DetectTextCommandOutput} for command's `response` shape.
52
52
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
53
53
  *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>You are not authorized to perform the action.</p>
56
+ *
57
+ * @throws {@link ImageTooLargeException} (client fault)
58
+ * <p>The input image size exceeds the allowed limit. If you are calling
59
+ * DetectProtectiveEquipment, the image size or resolution exceeds the allowed limit. For more
60
+ * information, see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition Developer Guide.
61
+ * </p>
62
+ *
63
+ * @throws {@link InternalServerError} (server fault)
64
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
65
+ *
66
+ * @throws {@link InvalidImageFormatException} (client fault)
67
+ * <p>The provided image format is not supported. </p>
68
+ *
69
+ * @throws {@link InvalidParameterException} (client fault)
70
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
71
+ * operation again.</p>
72
+ *
73
+ * @throws {@link InvalidS3ObjectException} (client fault)
74
+ * <p>Amazon Rekognition is unable to access the S3 object specified in the request.</p>
75
+ *
76
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
77
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
78
+ * limit, contact Amazon Rekognition.</p>
79
+ *
80
+ * @throws {@link ThrottlingException} (server fault)
81
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
82
+ *
83
+ *
54
84
  */
55
85
  export declare class DetectTextCommand extends $Command<DetectTextCommandInput, DetectTextCommandOutput, RekognitionClientResolvedConfig> {
56
86
  readonly input: DetectTextCommandInput;
@@ -39,6 +39,32 @@ export interface DistributeDatasetEntriesCommandOutput extends DistributeDataset
39
39
  * @see {@link DistributeDatasetEntriesCommandOutput} for command's `response` shape.
40
40
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
41
41
  *
42
+ * @throws {@link AccessDeniedException} (client fault)
43
+ * <p>You are not authorized to perform the action.</p>
44
+ *
45
+ * @throws {@link InternalServerError} (server fault)
46
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
47
+ *
48
+ * @throws {@link InvalidParameterException} (client fault)
49
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
50
+ * operation again.</p>
51
+ *
52
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
53
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
54
+ * limit, contact Amazon Rekognition.</p>
55
+ *
56
+ * @throws {@link ResourceNotFoundException} (client fault)
57
+ * <p>The resource specified in the request cannot be found.</p>
58
+ *
59
+ * @throws {@link ResourceNotReadyException} (client fault)
60
+ * <p>The requested resource isn't ready. For example,
61
+ * this exception occurs when you call <code>DetectCustomLabels</code> with a
62
+ * model version that isn't deployed. </p>
63
+ *
64
+ * @throws {@link ThrottlingException} (server fault)
65
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
66
+ *
67
+ *
42
68
  */
43
69
  export declare class DistributeDatasetEntriesCommand extends $Command<DistributeDatasetEntriesCommandInput, DistributeDatasetEntriesCommandOutput, RekognitionClientResolvedConfig> {
44
70
  readonly input: DistributeDatasetEntriesCommandInput;
@@ -35,6 +35,27 @@ export interface GetCelebrityInfoCommandOutput extends GetCelebrityInfoResponse,
35
35
  * @see {@link GetCelebrityInfoCommandOutput} for command's `response` shape.
36
36
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
37
37
  *
38
+ * @throws {@link AccessDeniedException} (client fault)
39
+ * <p>You are not authorized to perform the action.</p>
40
+ *
41
+ * @throws {@link InternalServerError} (server fault)
42
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
43
+ *
44
+ * @throws {@link InvalidParameterException} (client fault)
45
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
46
+ * operation again.</p>
47
+ *
48
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
49
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
50
+ * limit, contact Amazon Rekognition.</p>
51
+ *
52
+ * @throws {@link ResourceNotFoundException} (client fault)
53
+ * <p>The resource specified in the request cannot be found.</p>
54
+ *
55
+ * @throws {@link ThrottlingException} (server fault)
56
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
57
+ *
58
+ *
38
59
  */
39
60
  export declare class GetCelebrityInfoCommand extends $Command<GetCelebrityInfoCommandInput, GetCelebrityInfoCommandOutput, RekognitionClientResolvedConfig> {
40
61
  readonly input: GetCelebrityInfoCommandInput;
@@ -67,6 +67,30 @@ export interface GetCelebrityRecognitionCommandOutput extends GetCelebrityRecogn
67
67
  * @see {@link GetCelebrityRecognitionCommandOutput} for command's `response` shape.
68
68
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
69
69
  *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>You are not authorized to perform the action.</p>
72
+ *
73
+ * @throws {@link InternalServerError} (server fault)
74
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
75
+ *
76
+ * @throws {@link InvalidPaginationTokenException} (client fault)
77
+ * <p>Pagination token in the request is not valid.</p>
78
+ *
79
+ * @throws {@link InvalidParameterException} (client fault)
80
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
81
+ * operation again.</p>
82
+ *
83
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
84
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
85
+ * limit, contact Amazon Rekognition.</p>
86
+ *
87
+ * @throws {@link ResourceNotFoundException} (client fault)
88
+ * <p>The resource specified in the request cannot be found.</p>
89
+ *
90
+ * @throws {@link ThrottlingException} (server fault)
91
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
92
+ *
93
+ *
70
94
  */
71
95
  export declare class GetCelebrityRecognitionCommand extends $Command<GetCelebrityRecognitionCommandInput, GetCelebrityRecognitionCommandOutput, RekognitionClientResolvedConfig> {
72
96
  readonly input: GetCelebrityRecognitionCommandInput;
@@ -55,6 +55,30 @@ export interface GetContentModerationCommandOutput extends GetContentModerationR
55
55
  * @see {@link GetContentModerationCommandOutput} for command's `response` shape.
56
56
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
57
57
  *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>You are not authorized to perform the action.</p>
60
+ *
61
+ * @throws {@link InternalServerError} (server fault)
62
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
63
+ *
64
+ * @throws {@link InvalidPaginationTokenException} (client fault)
65
+ * <p>Pagination token in the request is not valid.</p>
66
+ *
67
+ * @throws {@link InvalidParameterException} (client fault)
68
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
69
+ * operation again.</p>
70
+ *
71
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
72
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
73
+ * limit, contact Amazon Rekognition.</p>
74
+ *
75
+ * @throws {@link ResourceNotFoundException} (client fault)
76
+ * <p>The resource specified in the request cannot be found.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (server fault)
79
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
80
+ *
81
+ *
58
82
  */
59
83
  export declare class GetContentModerationCommand extends $Command<GetContentModerationCommandInput, GetContentModerationCommandOutput, RekognitionClientResolvedConfig> {
60
84
  readonly input: GetContentModerationCommandInput;
@@ -41,6 +41,30 @@ export interface GetFaceDetectionCommandOutput extends GetFaceDetectionResponse,
41
41
  * @see {@link GetFaceDetectionCommandOutput} for command's `response` shape.
42
42
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
43
43
  *
44
+ * @throws {@link AccessDeniedException} (client fault)
45
+ * <p>You are not authorized to perform the action.</p>
46
+ *
47
+ * @throws {@link InternalServerError} (server fault)
48
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
49
+ *
50
+ * @throws {@link InvalidPaginationTokenException} (client fault)
51
+ * <p>Pagination token in the request is not valid.</p>
52
+ *
53
+ * @throws {@link InvalidParameterException} (client fault)
54
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
55
+ * operation again.</p>
56
+ *
57
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
58
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
59
+ * limit, contact Amazon Rekognition.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The resource specified in the request cannot be found.</p>
63
+ *
64
+ * @throws {@link ThrottlingException} (server fault)
65
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
66
+ *
67
+ *
44
68
  */
45
69
  export declare class GetFaceDetectionCommand extends $Command<GetFaceDetectionCommandInput, GetFaceDetectionCommandOutput, RekognitionClientResolvedConfig> {
46
70
  readonly input: GetFaceDetectionCommandInput;
@@ -57,6 +57,30 @@ export interface GetFaceSearchCommandOutput extends GetFaceSearchResponse, __Met
57
57
  * @see {@link GetFaceSearchCommandOutput} for command's `response` shape.
58
58
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
59
59
  *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>You are not authorized to perform the action.</p>
62
+ *
63
+ * @throws {@link InternalServerError} (server fault)
64
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
65
+ *
66
+ * @throws {@link InvalidPaginationTokenException} (client fault)
67
+ * <p>Pagination token in the request is not valid.</p>
68
+ *
69
+ * @throws {@link InvalidParameterException} (client fault)
70
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
71
+ * operation again.</p>
72
+ *
73
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
74
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
75
+ * limit, contact Amazon Rekognition.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>The resource specified in the request cannot be found.</p>
79
+ *
80
+ * @throws {@link ThrottlingException} (server fault)
81
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
82
+ *
83
+ *
60
84
  */
61
85
  export declare class GetFaceSearchCommand extends $Command<GetFaceSearchCommandInput, GetFaceSearchCommandOutput, RekognitionClientResolvedConfig> {
62
86
  readonly input: GetFaceSearchCommandInput;