@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
@@ -42,6 +42,38 @@ export interface ListDatasetEntriesCommandOutput extends ListDatasetEntriesRespo
42
42
  * @see {@link ListDatasetEntriesCommandOutput} for command's `response` shape.
43
43
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
44
44
  *
45
+ * @throws {@link AccessDeniedException} (client fault)
46
+ * <p>You are not authorized to perform the action.</p>
47
+ *
48
+ * @throws {@link InternalServerError} (server fault)
49
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
50
+ *
51
+ * @throws {@link InvalidPaginationTokenException} (client fault)
52
+ * <p>Pagination token in the request is not valid.</p>
53
+ *
54
+ * @throws {@link InvalidParameterException} (client fault)
55
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
56
+ * operation again.</p>
57
+ *
58
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
59
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
60
+ * limit, contact Amazon Rekognition.</p>
61
+ *
62
+ * @throws {@link ResourceInUseException} (client fault)
63
+ * <p>The specified resource is already being used.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>The resource specified in the request cannot be found.</p>
67
+ *
68
+ * @throws {@link ResourceNotReadyException} (client fault)
69
+ * <p>The requested resource isn't ready. For example,
70
+ * this exception occurs when you call <code>DetectCustomLabels</code> with a
71
+ * model version that isn't deployed. </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
+ *
45
77
  */
46
78
  export declare class ListDatasetEntriesCommand extends $Command<ListDatasetEntriesCommandInput, ListDatasetEntriesCommandOutput, RekognitionClientResolvedConfig> {
47
79
  readonly input: ListDatasetEntriesCommandInput;
@@ -34,6 +34,38 @@ export interface ListDatasetLabelsCommandOutput extends ListDatasetLabelsRespons
34
34
  * @see {@link ListDatasetLabelsCommandOutput} for command's `response` shape.
35
35
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
36
36
  *
37
+ * @throws {@link AccessDeniedException} (client fault)
38
+ * <p>You are not authorized to perform the action.</p>
39
+ *
40
+ * @throws {@link InternalServerError} (server fault)
41
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
42
+ *
43
+ * @throws {@link InvalidPaginationTokenException} (client fault)
44
+ * <p>Pagination token in the request is not valid.</p>
45
+ *
46
+ * @throws {@link InvalidParameterException} (client fault)
47
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
48
+ * operation again.</p>
49
+ *
50
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
51
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
52
+ * limit, contact Amazon Rekognition.</p>
53
+ *
54
+ * @throws {@link ResourceInUseException} (client fault)
55
+ * <p>The specified resource is already being used.</p>
56
+ *
57
+ * @throws {@link ResourceNotFoundException} (client fault)
58
+ * <p>The resource specified in the request cannot be found.</p>
59
+ *
60
+ * @throws {@link ResourceNotReadyException} (client fault)
61
+ * <p>The requested resource isn't ready. For example,
62
+ * this exception occurs when you call <code>DetectCustomLabels</code> with a
63
+ * model version that isn't deployed. </p>
64
+ *
65
+ * @throws {@link ThrottlingException} (server fault)
66
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
67
+ *
68
+ *
37
69
  */
38
70
  export declare class ListDatasetLabelsCommand extends $Command<ListDatasetLabelsCommandInput, ListDatasetLabelsCommandOutput, RekognitionClientResolvedConfig> {
39
71
  readonly input: ListDatasetLabelsCommandInput;
@@ -34,6 +34,30 @@ export interface ListFacesCommandOutput extends ListFacesResponse, __MetadataBea
34
34
  * @see {@link ListFacesCommandOutput} for command's `response` shape.
35
35
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
36
36
  *
37
+ * @throws {@link AccessDeniedException} (client fault)
38
+ * <p>You are not authorized to perform the action.</p>
39
+ *
40
+ * @throws {@link InternalServerError} (server fault)
41
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
42
+ *
43
+ * @throws {@link InvalidPaginationTokenException} (client fault)
44
+ * <p>Pagination token in the request is not valid.</p>
45
+ *
46
+ * @throws {@link InvalidParameterException} (client fault)
47
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
48
+ * operation again.</p>
49
+ *
50
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
51
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
52
+ * limit, contact Amazon Rekognition.</p>
53
+ *
54
+ * @throws {@link ResourceNotFoundException} (client fault)
55
+ * <p>The resource specified in the request cannot be found.</p>
56
+ *
57
+ * @throws {@link ThrottlingException} (server fault)
58
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
59
+ *
60
+ *
37
61
  * @example To list the faces in a collection
38
62
  * ```javascript
39
63
  * // This operation lists the faces in a Rekognition collection.
@@ -30,6 +30,30 @@ export interface ListProjectPoliciesCommandOutput extends ListProjectPoliciesRes
30
30
  * @see {@link ListProjectPoliciesCommandOutput} 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 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
+ *
33
57
  * @example ListProjectPolicies
34
58
  * ```javascript
35
59
  * // This operation lists the project policies that are attached to an Amazon Rekognition Custom Labels project.
@@ -29,6 +29,27 @@ export interface ListStreamProcessorsCommandOutput extends ListStreamProcessorsR
29
29
  * @see {@link ListStreamProcessorsCommandOutput} for command's `response` shape.
30
30
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedException} (client fault)
33
+ * <p>You are not authorized to perform the action.</p>
34
+ *
35
+ * @throws {@link InternalServerError} (server fault)
36
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
37
+ *
38
+ * @throws {@link InvalidPaginationTokenException} (client fault)
39
+ * <p>Pagination token in the request is not valid.</p>
40
+ *
41
+ * @throws {@link InvalidParameterException} (client fault)
42
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
43
+ * operation again.</p>
44
+ *
45
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
46
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
47
+ * limit, contact Amazon Rekognition.</p>
48
+ *
49
+ * @throws {@link ThrottlingException} (server fault)
50
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
51
+ *
52
+ *
32
53
  */
33
54
  export declare class ListStreamProcessorsCommand extends $Command<ListStreamProcessorsCommandInput, ListStreamProcessorsCommandOutput, RekognitionClientResolvedConfig> {
34
55
  readonly input: ListStreamProcessorsCommandInput;
@@ -32,6 +32,27 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
32
32
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
33
33
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
34
34
  *
35
+ * @throws {@link AccessDeniedException} (client fault)
36
+ * <p>You are not authorized to perform the action.</p>
37
+ *
38
+ * @throws {@link InternalServerError} (server fault)
39
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
40
+ *
41
+ * @throws {@link InvalidParameterException} (client fault)
42
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
43
+ * operation again.</p>
44
+ *
45
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
46
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
47
+ * limit, contact Amazon Rekognition.</p>
48
+ *
49
+ * @throws {@link ResourceNotFoundException} (client fault)
50
+ * <p>The resource specified in the request cannot be found.</p>
51
+ *
52
+ * @throws {@link ThrottlingException} (server fault)
53
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
54
+ *
55
+ *
35
56
  */
36
57
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, RekognitionClientResolvedConfig> {
37
58
  readonly input: ListTagsForResourceCommandInput;
@@ -41,6 +41,47 @@ export interface PutProjectPolicyCommandOutput extends PutProjectPolicyResponse,
41
41
  * @see {@link PutProjectPolicyCommandOutput} 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 InvalidParameterException} (client fault)
51
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
52
+ * operation again.</p>
53
+ *
54
+ * @throws {@link InvalidPolicyRevisionIdException} (client fault)
55
+ * <p>The supplied revision id for the project policy is invalid.</p>
56
+ *
57
+ * @throws {@link LimitExceededException} (client fault)
58
+ * <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many Amazon Rekognition Video jobs concurrently, calls to start operations
59
+ * (<code>StartLabelDetection</code>, for example) will raise a <code>LimitExceededException</code> exception (HTTP status code: 400) until
60
+ * the number of concurrently running jobs is below the Amazon Rekognition service limit. </p>
61
+ *
62
+ * @throws {@link MalformedPolicyDocumentException} (client fault)
63
+ * <p>The format of the project policy document that you supplied to
64
+ * <code>PutProjectPolicy</code> is incorrect. </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 ResourceAlreadyExistsException} (client fault)
71
+ * <p>A resource with the specified ID already exists.</p>
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * <p>The resource specified in the request cannot be found.</p>
75
+ *
76
+ * @throws {@link ServiceQuotaExceededException} (client fault)
77
+ * <p></p>
78
+ * <p>The size of the collection exceeds the allowed limit. For more information,
79
+ * see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition Developer Guide. </p>
80
+ *
81
+ * @throws {@link ThrottlingException} (server fault)
82
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
83
+ *
84
+ *
44
85
  * @example PutProjectPolicy
45
86
  * ```javascript
46
87
  * // This operation attaches a project policy to a Amazon Rekognition Custom Labels project in a trusting AWS account.
@@ -55,6 +55,36 @@ export interface RecognizeCelebritiesCommandOutput extends RecognizeCelebritiesR
55
55
  * @see {@link RecognizeCelebritiesCommandOutput} 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 ImageTooLargeException} (client fault)
62
+ * <p>The input image size exceeds the allowed limit. If you are calling
63
+ * DetectProtectiveEquipment, the image size or resolution exceeds the allowed limit. For more
64
+ * information, see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition Developer Guide.
65
+ * </p>
66
+ *
67
+ * @throws {@link InternalServerError} (server fault)
68
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
69
+ *
70
+ * @throws {@link InvalidImageFormatException} (client fault)
71
+ * <p>The provided image format is not supported. </p>
72
+ *
73
+ * @throws {@link InvalidParameterException} (client fault)
74
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
75
+ * operation again.</p>
76
+ *
77
+ * @throws {@link InvalidS3ObjectException} (client fault)
78
+ * <p>Amazon Rekognition is unable to access the S3 object specified in the request.</p>
79
+ *
80
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
81
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
82
+ * limit, contact Amazon Rekognition.</p>
83
+ *
84
+ * @throws {@link ThrottlingException} (server fault)
85
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
86
+ *
87
+ *
58
88
  */
59
89
  export declare class RecognizeCelebritiesCommand extends $Command<RecognizeCelebritiesCommandInput, RecognizeCelebritiesCommandOutput, RekognitionClientResolvedConfig> {
60
90
  readonly input: RecognizeCelebritiesCommandInput;
@@ -65,6 +65,39 @@ export interface SearchFacesByImageCommandOutput extends SearchFacesByImageRespo
65
65
  * @see {@link SearchFacesByImageCommandOutput} 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 ResourceNotFoundException} (client fault)
95
+ * <p>The resource specified in the request cannot be found.</p>
96
+ *
97
+ * @throws {@link ThrottlingException} (server fault)
98
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
99
+ *
100
+ *
68
101
  * @example To search for faces matching a supplied image
69
102
  * ```javascript
70
103
  * // This operation searches for faces in a Rekognition collection that match the largest face in an S3 bucket stored image.
@@ -44,6 +44,27 @@ export interface SearchFacesCommandOutput extends SearchFacesResponse, __Metadat
44
44
  * @see {@link SearchFacesCommandOutput} for command's `response` shape.
45
45
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
46
46
  *
47
+ * @throws {@link AccessDeniedException} (client fault)
48
+ * <p>You are not authorized to perform the action.</p>
49
+ *
50
+ * @throws {@link InternalServerError} (server fault)
51
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</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
+ *
47
68
  * @example To delete a face
48
69
  * ```javascript
49
70
  * // This operation searches for matching faces in the collection the supplied face belongs to.
@@ -39,6 +39,40 @@ export interface StartCelebrityRecognitionCommandOutput extends StartCelebrityRe
39
39
  * @see {@link StartCelebrityRecognitionCommandOutput} 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 IdempotentParameterMismatchException} (client fault)
46
+ * <p>A <code>ClientRequestToken</code> input parameter was reused with an operation, but at least one of the other input
47
+ * parameters is different from the previous call to the operation.</p>
48
+ *
49
+ * @throws {@link InternalServerError} (server fault)
50
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
51
+ *
52
+ * @throws {@link InvalidParameterException} (client fault)
53
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
54
+ * operation again.</p>
55
+ *
56
+ * @throws {@link InvalidS3ObjectException} (client fault)
57
+ * <p>Amazon Rekognition is unable to access the S3 object specified in the request.</p>
58
+ *
59
+ * @throws {@link LimitExceededException} (client fault)
60
+ * <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many Amazon Rekognition Video jobs concurrently, calls to start operations
61
+ * (<code>StartLabelDetection</code>, for example) will raise a <code>LimitExceededException</code> exception (HTTP status code: 400) until
62
+ * the number of concurrently running jobs is below the Amazon Rekognition service limit. </p>
63
+ *
64
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
65
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
66
+ * limit, contact Amazon Rekognition.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (server fault)
69
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
70
+ *
71
+ * @throws {@link VideoTooLargeException} (client fault)
72
+ * <p>The file size or duration of the supplied media is too large. The maximum file size is 10GB.
73
+ * The maximum duration is 6 hours. </p>
74
+ *
75
+ *
42
76
  */
43
77
  export declare class StartCelebrityRecognitionCommand extends $Command<StartCelebrityRecognitionCommandInput, StartCelebrityRecognitionCommandOutput, RekognitionClientResolvedConfig> {
44
78
  readonly input: StartCelebrityRecognitionCommandInput;
@@ -39,6 +39,40 @@ export interface StartContentModerationCommandOutput extends StartContentModerat
39
39
  * @see {@link StartContentModerationCommandOutput} 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 IdempotentParameterMismatchException} (client fault)
46
+ * <p>A <code>ClientRequestToken</code> input parameter was reused with an operation, but at least one of the other input
47
+ * parameters is different from the previous call to the operation.</p>
48
+ *
49
+ * @throws {@link InternalServerError} (server fault)
50
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
51
+ *
52
+ * @throws {@link InvalidParameterException} (client fault)
53
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
54
+ * operation again.</p>
55
+ *
56
+ * @throws {@link InvalidS3ObjectException} (client fault)
57
+ * <p>Amazon Rekognition is unable to access the S3 object specified in the request.</p>
58
+ *
59
+ * @throws {@link LimitExceededException} (client fault)
60
+ * <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many Amazon Rekognition Video jobs concurrently, calls to start operations
61
+ * (<code>StartLabelDetection</code>, for example) will raise a <code>LimitExceededException</code> exception (HTTP status code: 400) until
62
+ * the number of concurrently running jobs is below the Amazon Rekognition service limit. </p>
63
+ *
64
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
65
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
66
+ * limit, contact Amazon Rekognition.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (server fault)
69
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
70
+ *
71
+ * @throws {@link VideoTooLargeException} (client fault)
72
+ * <p>The file size or duration of the supplied media is too large. The maximum file size is 10GB.
73
+ * The maximum duration is 6 hours. </p>
74
+ *
75
+ *
42
76
  */
43
77
  export declare class StartContentModerationCommand extends $Command<StartContentModerationCommandInput, StartContentModerationCommandOutput, RekognitionClientResolvedConfig> {
44
78
  readonly input: StartContentModerationCommandInput;
@@ -40,6 +40,40 @@ export interface StartFaceDetectionCommandOutput extends StartFaceDetectionRespo
40
40
  * @see {@link StartFaceDetectionCommandOutput} for command's `response` shape.
41
41
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
42
42
  *
43
+ * @throws {@link AccessDeniedException} (client fault)
44
+ * <p>You are not authorized to perform the action.</p>
45
+ *
46
+ * @throws {@link IdempotentParameterMismatchException} (client fault)
47
+ * <p>A <code>ClientRequestToken</code> input parameter was reused with an operation, but at least one of the other input
48
+ * parameters is different from the previous call to the operation.</p>
49
+ *
50
+ * @throws {@link InternalServerError} (server fault)
51
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</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 InvalidS3ObjectException} (client fault)
58
+ * <p>Amazon Rekognition is unable to access the S3 object specified in the request.</p>
59
+ *
60
+ * @throws {@link LimitExceededException} (client fault)
61
+ * <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many Amazon Rekognition Video jobs concurrently, calls to start operations
62
+ * (<code>StartLabelDetection</code>, for example) will raise a <code>LimitExceededException</code> exception (HTTP status code: 400) until
63
+ * the number of concurrently running jobs is below the Amazon Rekognition service limit. </p>
64
+ *
65
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
66
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
67
+ * limit, contact Amazon Rekognition.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (server fault)
70
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
71
+ *
72
+ * @throws {@link VideoTooLargeException} (client fault)
73
+ * <p>The file size or duration of the supplied media is too large. The maximum file size is 10GB.
74
+ * The maximum duration is 6 hours. </p>
75
+ *
76
+ *
43
77
  */
44
78
  export declare class StartFaceDetectionCommand extends $Command<StartFaceDetectionCommandInput, StartFaceDetectionCommandOutput, RekognitionClientResolvedConfig> {
45
79
  readonly input: StartFaceDetectionCommandInput;
@@ -39,6 +39,43 @@ export interface StartFaceSearchCommandOutput extends StartFaceSearchResponse, _
39
39
  * @see {@link StartFaceSearchCommandOutput} 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 IdempotentParameterMismatchException} (client fault)
46
+ * <p>A <code>ClientRequestToken</code> input parameter was reused with an operation, but at least one of the other input
47
+ * parameters is different from the previous call to the operation.</p>
48
+ *
49
+ * @throws {@link InternalServerError} (server fault)
50
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
51
+ *
52
+ * @throws {@link InvalidParameterException} (client fault)
53
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
54
+ * operation again.</p>
55
+ *
56
+ * @throws {@link InvalidS3ObjectException} (client fault)
57
+ * <p>Amazon Rekognition is unable to access the S3 object specified in the request.</p>
58
+ *
59
+ * @throws {@link LimitExceededException} (client fault)
60
+ * <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many Amazon Rekognition Video jobs concurrently, calls to start operations
61
+ * (<code>StartLabelDetection</code>, for example) will raise a <code>LimitExceededException</code> exception (HTTP status code: 400) until
62
+ * the number of concurrently running jobs is below the Amazon Rekognition service limit. </p>
63
+ *
64
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
65
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
66
+ * limit, contact Amazon Rekognition.</p>
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p>The resource specified in the request cannot be found.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (server fault)
72
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
73
+ *
74
+ * @throws {@link VideoTooLargeException} (client fault)
75
+ * <p>The file size or duration of the supplied media is too large. The maximum file size is 10GB.
76
+ * The maximum duration is 6 hours. </p>
77
+ *
78
+ *
42
79
  */
43
80
  export declare class StartFaceSearchCommand extends $Command<StartFaceSearchCommandInput, StartFaceSearchCommandOutput, RekognitionClientResolvedConfig> {
44
81
  readonly input: StartFaceSearchCommandInput;
@@ -53,6 +53,40 @@ export interface StartLabelDetectionCommandOutput extends StartLabelDetectionRes
53
53
  * @see {@link StartLabelDetectionCommandOutput} 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 IdempotentParameterMismatchException} (client fault)
60
+ * <p>A <code>ClientRequestToken</code> input parameter was reused with an operation, but at least one of the other input
61
+ * parameters is different from the previous call to the operation.</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 InvalidParameterException} (client fault)
67
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
68
+ * operation again.</p>
69
+ *
70
+ * @throws {@link InvalidS3ObjectException} (client fault)
71
+ * <p>Amazon Rekognition is unable to access the S3 object specified in the request.</p>
72
+ *
73
+ * @throws {@link LimitExceededException} (client fault)
74
+ * <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many Amazon Rekognition Video jobs concurrently, calls to start operations
75
+ * (<code>StartLabelDetection</code>, for example) will raise a <code>LimitExceededException</code> exception (HTTP status code: 400) until
76
+ * the number of concurrently running jobs is below the Amazon Rekognition service limit. </p>
77
+ *
78
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
79
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
80
+ * limit, contact Amazon Rekognition.</p>
81
+ *
82
+ * @throws {@link ThrottlingException} (server fault)
83
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
84
+ *
85
+ * @throws {@link VideoTooLargeException} (client fault)
86
+ * <p>The file size or duration of the supplied media is too large. The maximum file size is 10GB.
87
+ * The maximum duration is 6 hours. </p>
88
+ *
89
+ *
56
90
  */
57
91
  export declare class StartLabelDetectionCommand extends $Command<StartLabelDetectionCommandInput, StartLabelDetectionCommandOutput, RekognitionClientResolvedConfig> {
58
92
  readonly input: StartLabelDetectionCommandInput;
@@ -37,6 +37,40 @@ export interface StartPersonTrackingCommandOutput extends StartPersonTrackingRes
37
37
  * @see {@link StartPersonTrackingCommandOutput} for command's `response` shape.
38
38
  * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
39
39
  *
40
+ * @throws {@link AccessDeniedException} (client fault)
41
+ * <p>You are not authorized to perform the action.</p>
42
+ *
43
+ * @throws {@link IdempotentParameterMismatchException} (client fault)
44
+ * <p>A <code>ClientRequestToken</code> input parameter was reused with an operation, but at least one of the other input
45
+ * parameters is different from the previous call to the operation.</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 InvalidParameterException} (client fault)
51
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
52
+ * operation again.</p>
53
+ *
54
+ * @throws {@link InvalidS3ObjectException} (client fault)
55
+ * <p>Amazon Rekognition is unable to access the S3 object specified in the request.</p>
56
+ *
57
+ * @throws {@link LimitExceededException} (client fault)
58
+ * <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many Amazon Rekognition Video jobs concurrently, calls to start operations
59
+ * (<code>StartLabelDetection</code>, for example) will raise a <code>LimitExceededException</code> exception (HTTP status code: 400) until
60
+ * the number of concurrently running jobs is below the Amazon Rekognition service limit. </p>
61
+ *
62
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
63
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
64
+ * limit, contact Amazon Rekognition.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (server fault)
67
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
68
+ *
69
+ * @throws {@link VideoTooLargeException} (client fault)
70
+ * <p>The file size or duration of the supplied media is too large. The maximum file size is 10GB.
71
+ * The maximum duration is 6 hours. </p>
72
+ *
73
+ *
40
74
  */
41
75
  export declare class StartPersonTrackingCommand extends $Command<StartPersonTrackingCommandInput, StartPersonTrackingCommandOutput, RekognitionClientResolvedConfig> {
42
76
  readonly input: StartPersonTrackingCommandInput;
@@ -39,6 +39,35 @@ export interface StartProjectVersionCommandOutput extends StartProjectVersionRes
39
39
  * @see {@link StartProjectVersionCommandOutput} 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 LimitExceededException} (client fault)
53
+ * <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many Amazon Rekognition Video jobs concurrently, calls to start operations
54
+ * (<code>StartLabelDetection</code>, for example) will raise a <code>LimitExceededException</code> exception (HTTP status code: 400) until
55
+ * the number of concurrently running jobs is below the Amazon Rekognition service limit. </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 ResourceInUseException} (client fault)
62
+ * <p>The specified resource is already being used.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The resource specified in the request cannot be found.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (server fault)
68
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
69
+ *
70
+ *
42
71
  */
43
72
  export declare class StartProjectVersionCommand extends $Command<StartProjectVersionCommandInput, StartProjectVersionCommandOutput, RekognitionClientResolvedConfig> {
44
73
  readonly input: StartProjectVersionCommandInput;