@aws-sdk/client-rekognition 3.289.0 → 3.292.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 +30 -0
  2. package/dist-types/commands/CopyProjectVersionCommand.d.ts +34 -0
  3. package/dist-types/commands/CreateCollectionCommand.d.ts +26 -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 +21 -0
  9. package/dist-types/commands/DeleteDatasetCommand.d.ts +29 -0
  10. package/dist-types/commands/DeleteFacesCommand.d.ts +21 -0
  11. package/dist-types/commands/DeleteProjectCommand.d.ts +24 -0
  12. package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +24 -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 +30 -0
  22. package/dist-types/commands/DetectLabelsCommand.d.ts +30 -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 +38 -0
  37. package/dist-types/commands/ListCollectionsCommand.d.ts +24 -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 +24 -0
  41. package/dist-types/commands/ListProjectPoliciesCommand.d.ts +24 -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 +41 -0
  45. package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +30 -0
  46. package/dist-types/commands/SearchFacesByImageCommand.d.ts +33 -0
  47. package/dist-types/commands/SearchFacesCommand.d.ts +21 -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 +36 -41
@@ -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,36 @@ 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
+ *
50
80
  * @example To detect faces in an image
51
81
  * ```javascript
52
82
  * // This operation detects faces in an image stored in an AWS S3 bucket.
@@ -141,6 +141,36 @@ 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
+ *
144
174
  * @example To detect labels
145
175
  * ```javascript
146
176
  * // This operation detects labels in the supplied image
@@ -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;
@@ -94,6 +94,30 @@ export interface GetLabelDetectionCommandOutput extends GetLabelDetectionRespons
94
94
  * @see {@link GetLabelDetectionCommandOutput} for command's `response` shape.
95
95
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
96
96
  *
97
+ * @throws {@link AccessDeniedException} (client fault)
98
+ * <p>You are not authorized to perform the action.</p>
99
+ *
100
+ * @throws {@link InternalServerError} (server fault)
101
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
102
+ *
103
+ * @throws {@link InvalidPaginationTokenException} (client fault)
104
+ * <p>Pagination token in the request is not valid.</p>
105
+ *
106
+ * @throws {@link InvalidParameterException} (client fault)
107
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
108
+ * operation again.</p>
109
+ *
110
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
111
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
112
+ * limit, contact Amazon Rekognition.</p>
113
+ *
114
+ * @throws {@link ResourceNotFoundException} (client fault)
115
+ * <p>The resource specified in the request cannot be found.</p>
116
+ *
117
+ * @throws {@link ThrottlingException} (server fault)
118
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
119
+ *
120
+ *
97
121
  */
98
122
  export declare class GetLabelDetectionCommand extends $Command<GetLabelDetectionCommandInput, GetLabelDetectionCommandOutput, RekognitionClientResolvedConfig> {
99
123
  readonly input: GetLabelDetectionCommandInput;
@@ -53,6 +53,30 @@ export interface GetPersonTrackingCommandOutput extends GetPersonTrackingRespons
53
53
  * @see {@link GetPersonTrackingCommandOutput} for command's `response` shape.
54
54
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
55
55
  *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>You are not authorized to perform the action.</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 InvalidPaginationTokenException} (client fault)
63
+ * <p>Pagination token in the request is not valid.</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 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 ResourceNotFoundException} (client fault)
74
+ * <p>The resource specified in the request cannot be found.</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
+ *
56
80
  */
57
81
  export declare class GetPersonTrackingCommand extends $Command<GetPersonTrackingCommandInput, GetPersonTrackingCommandOutput, RekognitionClientResolvedConfig> {
58
82
  readonly input: GetPersonTrackingCommandInput;
@@ -50,6 +50,30 @@ export interface GetSegmentDetectionCommandOutput extends GetSegmentDetectionRes
50
50
  * @see {@link GetSegmentDetectionCommandOutput} for command's `response` shape.
51
51
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
52
52
  *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>You are not authorized to perform the action.</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 InvalidPaginationTokenException} (client fault)
60
+ * <p>Pagination token in the request is not valid.</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 ProvisionedThroughputExceededException} (client fault)
67
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
68
+ * limit, contact Amazon Rekognition.</p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>The resource specified in the request cannot be found.</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
+ *
53
77
  */
54
78
  export declare class GetSegmentDetectionCommand extends $Command<GetSegmentDetectionCommandInput, GetSegmentDetectionCommandOutput, RekognitionClientResolvedConfig> {
55
79
  readonly input: GetSegmentDetectionCommandInput;
@@ -47,6 +47,30 @@ export interface GetTextDetectionCommandOutput extends GetTextDetectionResponse,
47
47
  * @see {@link GetTextDetectionCommandOutput} 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 InternalServerError} (server fault)
54
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
55
+ *
56
+ * @throws {@link InvalidPaginationTokenException} (client fault)
57
+ * <p>Pagination token in the request is not valid.</p>
58
+ *
59
+ * @throws {@link InvalidParameterException} (client fault)
60
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
61
+ * operation again.</p>
62
+ *
63
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
64
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
65
+ * limit, contact Amazon Rekognition.</p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>The resource specified in the request cannot be found.</p>
69
+ *
70
+ * @throws {@link ThrottlingException} (server fault)
71
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
72
+ *
73
+ *
50
74
  */
51
75
  export declare class GetTextDetectionCommand extends $Command<GetTextDetectionCommandInput, GetTextDetectionCommandOutput, RekognitionClientResolvedConfig> {
52
76
  readonly input: GetTextDetectionCommandInput;
@@ -119,6 +119,44 @@ export interface IndexFacesCommandOutput extends IndexFacesResponse, __MetadataB
119
119
  * @see {@link IndexFacesCommandOutput} for command's `response` shape.
120
120
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
121
121
  *
122
+ * @throws {@link AccessDeniedException} (client fault)
123
+ * <p>You are not authorized to perform the action.</p>
124
+ *
125
+ * @throws {@link ImageTooLargeException} (client fault)
126
+ * <p>The input image size exceeds the allowed limit. If you are calling
127
+ * DetectProtectiveEquipment, the image size or resolution exceeds the allowed limit. For more
128
+ * information, see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition Developer Guide.
129
+ * </p>
130
+ *
131
+ * @throws {@link InternalServerError} (server fault)
132
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
133
+ *
134
+ * @throws {@link InvalidImageFormatException} (client fault)
135
+ * <p>The provided image format is not supported. </p>
136
+ *
137
+ * @throws {@link InvalidParameterException} (client fault)
138
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
139
+ * operation again.</p>
140
+ *
141
+ * @throws {@link InvalidS3ObjectException} (client fault)
142
+ * <p>Amazon Rekognition is unable to access the S3 object specified in the request.</p>
143
+ *
144
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
145
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
146
+ * limit, contact Amazon Rekognition.</p>
147
+ *
148
+ * @throws {@link ResourceNotFoundException} (client fault)
149
+ * <p>The resource specified in the request cannot be found.</p>
150
+ *
151
+ * @throws {@link ServiceQuotaExceededException} (client fault)
152
+ * <p></p>
153
+ * <p>The size of the collection exceeds the allowed limit. For more information,
154
+ * see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition Developer Guide. </p>
155
+ *
156
+ * @throws {@link ThrottlingException} (server fault)
157
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
158
+ *
159
+ *
122
160
  * @example To add a face to a collection
123
161
  * ```javascript
124
162
  * // This operation detects faces in an image and adds them to the specified Rekognition collection.
@@ -35,6 +35,30 @@ export interface ListCollectionsCommandOutput extends ListCollectionsResponse, _
35
35
  * @see {@link ListCollectionsCommandOutput} 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 InvalidPaginationTokenException} (client fault)
45
+ * <p>Pagination token in the request is not valid.</p>
46
+ *
47
+ * @throws {@link InvalidParameterException} (client fault)
48
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
49
+ * operation again.</p>
50
+ *
51
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
52
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
53
+ * limit, contact Amazon Rekognition.</p>
54
+ *
55
+ * @throws {@link ResourceNotFoundException} (client fault)
56
+ * <p>The resource specified in the request cannot be found.</p>
57
+ *
58
+ * @throws {@link ThrottlingException} (server fault)
59
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
60
+ *
61
+ *
38
62
  * @example To list the collections
39
63
  * ```javascript
40
64
  * // This operation returns a list of Rekognition collections.