@aws-sdk/client-comprehend 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 (85) hide show
  1. package/dist-types/commands/BatchDetectDominantLanguageCommand.d.ts +14 -0
  2. package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +21 -0
  3. package/dist-types/commands/BatchDetectKeyPhrasesCommand.d.ts +21 -0
  4. package/dist-types/commands/BatchDetectSentimentCommand.d.ts +21 -0
  5. package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +21 -0
  6. package/dist-types/commands/BatchDetectTargetedSentimentCommand.d.ts +21 -0
  7. package/dist-types/commands/ClassifyDocumentCommand.d.ts +14 -0
  8. package/dist-types/commands/ContainsPiiEntitiesCommand.d.ts +17 -0
  9. package/dist-types/commands/CreateDatasetCommand.d.ts +26 -0
  10. package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +34 -0
  11. package/dist-types/commands/CreateEndpointCommand.d.ts +30 -0
  12. package/dist-types/commands/CreateEntityRecognizerCommand.d.ts +34 -0
  13. package/dist-types/commands/CreateFlywheelCommand.d.ts +41 -0
  14. package/dist-types/commands/DeleteDocumentClassifierCommand.d.ts +21 -0
  15. package/dist-types/commands/DeleteEndpointCommand.d.ts +17 -0
  16. package/dist-types/commands/DeleteEntityRecognizerCommand.d.ts +21 -0
  17. package/dist-types/commands/DeleteFlywheelCommand.d.ts +21 -0
  18. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +10 -0
  19. package/dist-types/commands/DescribeDatasetCommand.d.ts +13 -0
  20. package/dist-types/commands/DescribeDocumentClassificationJobCommand.d.ts +13 -0
  21. package/dist-types/commands/DescribeDocumentClassifierCommand.d.ts +13 -0
  22. package/dist-types/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +13 -0
  23. package/dist-types/commands/DescribeEndpointCommand.d.ts +13 -0
  24. package/dist-types/commands/DescribeEntitiesDetectionJobCommand.d.ts +13 -0
  25. package/dist-types/commands/DescribeEntityRecognizerCommand.d.ts +13 -0
  26. package/dist-types/commands/DescribeEventsDetectionJobCommand.d.ts +13 -0
  27. package/dist-types/commands/DescribeFlywheelCommand.d.ts +13 -0
  28. package/dist-types/commands/DescribeFlywheelIterationCommand.d.ts +13 -0
  29. package/dist-types/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +13 -0
  30. package/dist-types/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +13 -0
  31. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +10 -0
  32. package/dist-types/commands/DescribeSentimentDetectionJobCommand.d.ts +13 -0
  33. package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +13 -0
  34. package/dist-types/commands/DescribeTopicsDetectionJobCommand.d.ts +13 -0
  35. package/dist-types/commands/DetectDominantLanguageCommand.d.ts +10 -0
  36. package/dist-types/commands/DetectEntitiesCommand.d.ts +21 -0
  37. package/dist-types/commands/DetectKeyPhrasesCommand.d.ts +17 -0
  38. package/dist-types/commands/DetectPiiEntitiesCommand.d.ts +17 -0
  39. package/dist-types/commands/DetectSentimentCommand.d.ts +17 -0
  40. package/dist-types/commands/DetectSyntaxCommand.d.ts +17 -0
  41. package/dist-types/commands/DetectTargetedSentimentCommand.d.ts +17 -0
  42. package/dist-types/commands/ImportModelCommand.d.ts +34 -0
  43. package/dist-types/commands/ListDatasetsCommand.d.ts +17 -0
  44. package/dist-types/commands/ListDocumentClassificationJobsCommand.d.ts +14 -0
  45. package/dist-types/commands/ListDocumentClassifierSummariesCommand.d.ts +10 -0
  46. package/dist-types/commands/ListDocumentClassifiersCommand.d.ts +14 -0
  47. package/dist-types/commands/ListDominantLanguageDetectionJobsCommand.d.ts +14 -0
  48. package/dist-types/commands/ListEndpointsCommand.d.ts +10 -0
  49. package/dist-types/commands/ListEntitiesDetectionJobsCommand.d.ts +14 -0
  50. package/dist-types/commands/ListEntityRecognizerSummariesCommand.d.ts +10 -0
  51. package/dist-types/commands/ListEntityRecognizersCommand.d.ts +14 -0
  52. package/dist-types/commands/ListEventsDetectionJobsCommand.d.ts +14 -0
  53. package/dist-types/commands/ListFlywheelIterationHistoryCommand.d.ts +17 -0
  54. package/dist-types/commands/ListFlywheelsCommand.d.ts +14 -0
  55. package/dist-types/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +14 -0
  56. package/dist-types/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +14 -0
  57. package/dist-types/commands/ListSentimentDetectionJobsCommand.d.ts +14 -0
  58. package/dist-types/commands/ListTagsForResourceCommand.d.ts +10 -0
  59. package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +14 -0
  60. package/dist-types/commands/ListTopicsDetectionJobsCommand.d.ts +14 -0
  61. package/dist-types/commands/PutResourcePolicyCommand.d.ts +10 -0
  62. package/dist-types/commands/StartDocumentClassificationJobCommand.d.ts +26 -0
  63. package/dist-types/commands/StartDominantLanguageDetectionJobCommand.d.ts +19 -0
  64. package/dist-types/commands/StartEntitiesDetectionJobCommand.d.ts +26 -0
  65. package/dist-types/commands/StartEventsDetectionJobCommand.d.ts +19 -0
  66. package/dist-types/commands/StartFlywheelIterationCommand.d.ts +17 -0
  67. package/dist-types/commands/StartKeyPhrasesDetectionJobCommand.d.ts +19 -0
  68. package/dist-types/commands/StartPiiEntitiesDetectionJobCommand.d.ts +19 -0
  69. package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +19 -0
  70. package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +19 -0
  71. package/dist-types/commands/StartTopicsDetectionJobCommand.d.ts +19 -0
  72. package/dist-types/commands/StopDominantLanguageDetectionJobCommand.d.ts +10 -0
  73. package/dist-types/commands/StopEntitiesDetectionJobCommand.d.ts +10 -0
  74. package/dist-types/commands/StopEventsDetectionJobCommand.d.ts +10 -0
  75. package/dist-types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +10 -0
  76. package/dist-types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +10 -0
  77. package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +10 -0
  78. package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +10 -0
  79. package/dist-types/commands/StopTrainingDocumentClassifierCommand.d.ts +13 -0
  80. package/dist-types/commands/StopTrainingEntityRecognizerCommand.d.ts +13 -0
  81. package/dist-types/commands/TagResourceCommand.d.ts +19 -0
  82. package/dist-types/commands/UntagResourceCommand.d.ts +18 -0
  83. package/dist-types/commands/UpdateEndpointCommand.d.ts +25 -0
  84. package/dist-types/commands/UpdateFlywheelCommand.d.ts +17 -0
  85. package/package.json +29 -29
@@ -31,6 +31,20 @@ export interface BatchDetectDominantLanguageCommandOutput extends BatchDetectDom
31
31
  * @see {@link BatchDetectDominantLanguageCommandOutput} for command's `response` shape.
32
32
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
33
33
  *
34
+ * @throws {@link BatchSizeLimitExceededException} (client fault)
35
+ * <p>The number of documents in the request exceeds the limit of 25. Try your request again
36
+ * with fewer documents.</p>
37
+ *
38
+ * @throws {@link InternalServerException} (server fault)
39
+ * <p>An internal server error occurred. Retry your request.</p>
40
+ *
41
+ * @throws {@link InvalidRequestException} (client fault)
42
+ * <p>The request is invalid.</p>
43
+ *
44
+ * @throws {@link TextSizeLimitExceededException} (client fault)
45
+ * <p>The size of the input text exceeds the limit. Use a smaller document.</p>
46
+ *
47
+ *
34
48
  */
35
49
  export declare class BatchDetectDominantLanguageCommand extends $Command<BatchDetectDominantLanguageCommandInput, BatchDetectDominantLanguageCommandOutput, ComprehendClientResolvedConfig> {
36
50
  readonly input: BatchDetectDominantLanguageCommandInput;
@@ -32,6 +32,27 @@ export interface BatchDetectEntitiesCommandOutput extends BatchDetectEntitiesRes
32
32
  * @see {@link BatchDetectEntitiesCommandOutput} for command's `response` shape.
33
33
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
34
34
  *
35
+ * @throws {@link BatchSizeLimitExceededException} (client fault)
36
+ * <p>The number of documents in the request exceeds the limit of 25. Try your request again
37
+ * with fewer documents.</p>
38
+ *
39
+ * @throws {@link InternalServerException} (server fault)
40
+ * <p>An internal server error occurred. Retry your request.</p>
41
+ *
42
+ * @throws {@link InvalidRequestException} (client fault)
43
+ * <p>The request is invalid.</p>
44
+ *
45
+ * @throws {@link TextSizeLimitExceededException} (client fault)
46
+ * <p>The size of the input text exceeds the limit. Use a smaller document.</p>
47
+ *
48
+ * @throws {@link UnsupportedLanguageException} (client fault)
49
+ * <p>Amazon Comprehend can't process the language of the input text. For custom entity
50
+ * recognition APIs, only English, Spanish, French, Italian, German, or Portuguese are accepted.
51
+ * For a list of supported languages,
52
+ * <a href="https://docs.aws.amazon.com/comprehend/latest/dg/supported-languages.html">Supported languages</a> in the Comprehend Developer Guide.
53
+ * </p>
54
+ *
55
+ *
35
56
  */
36
57
  export declare class BatchDetectEntitiesCommand extends $Command<BatchDetectEntitiesCommandInput, BatchDetectEntitiesCommandOutput, ComprehendClientResolvedConfig> {
37
58
  readonly input: BatchDetectEntitiesCommandInput;
@@ -29,6 +29,27 @@ export interface BatchDetectKeyPhrasesCommandOutput extends BatchDetectKeyPhrase
29
29
  * @see {@link BatchDetectKeyPhrasesCommandOutput} for command's `response` shape.
30
30
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
31
31
  *
32
+ * @throws {@link BatchSizeLimitExceededException} (client fault)
33
+ * <p>The number of documents in the request exceeds the limit of 25. Try your request again
34
+ * with fewer documents.</p>
35
+ *
36
+ * @throws {@link InternalServerException} (server fault)
37
+ * <p>An internal server error occurred. Retry your request.</p>
38
+ *
39
+ * @throws {@link InvalidRequestException} (client fault)
40
+ * <p>The request is invalid.</p>
41
+ *
42
+ * @throws {@link TextSizeLimitExceededException} (client fault)
43
+ * <p>The size of the input text exceeds the limit. Use a smaller document.</p>
44
+ *
45
+ * @throws {@link UnsupportedLanguageException} (client fault)
46
+ * <p>Amazon Comprehend can't process the language of the input text. For custom entity
47
+ * recognition APIs, only English, Spanish, French, Italian, German, or Portuguese are accepted.
48
+ * For a list of supported languages,
49
+ * <a href="https://docs.aws.amazon.com/comprehend/latest/dg/supported-languages.html">Supported languages</a> in the Comprehend Developer Guide.
50
+ * </p>
51
+ *
52
+ *
32
53
  */
33
54
  export declare class BatchDetectKeyPhrasesCommand extends $Command<BatchDetectKeyPhrasesCommandInput, BatchDetectKeyPhrasesCommandOutput, ComprehendClientResolvedConfig> {
34
55
  readonly input: BatchDetectKeyPhrasesCommandInput;
@@ -31,6 +31,27 @@ export interface BatchDetectSentimentCommandOutput extends BatchDetectSentimentR
31
31
  * @see {@link BatchDetectSentimentCommandOutput} for command's `response` shape.
32
32
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
33
33
  *
34
+ * @throws {@link BatchSizeLimitExceededException} (client fault)
35
+ * <p>The number of documents in the request exceeds the limit of 25. Try your request again
36
+ * with fewer documents.</p>
37
+ *
38
+ * @throws {@link InternalServerException} (server fault)
39
+ * <p>An internal server error occurred. Retry your request.</p>
40
+ *
41
+ * @throws {@link InvalidRequestException} (client fault)
42
+ * <p>The request is invalid.</p>
43
+ *
44
+ * @throws {@link TextSizeLimitExceededException} (client fault)
45
+ * <p>The size of the input text exceeds the limit. Use a smaller document.</p>
46
+ *
47
+ * @throws {@link UnsupportedLanguageException} (client fault)
48
+ * <p>Amazon Comprehend can't process the language of the input text. For custom entity
49
+ * recognition APIs, only English, Spanish, French, Italian, German, or Portuguese are accepted.
50
+ * For a list of supported languages,
51
+ * <a href="https://docs.aws.amazon.com/comprehend/latest/dg/supported-languages.html">Supported languages</a> in the Comprehend Developer Guide.
52
+ * </p>
53
+ *
54
+ *
34
55
  */
35
56
  export declare class BatchDetectSentimentCommand extends $Command<BatchDetectSentimentCommandInput, BatchDetectSentimentCommandOutput, ComprehendClientResolvedConfig> {
36
57
  readonly input: BatchDetectSentimentCommandInput;
@@ -32,6 +32,27 @@ export interface BatchDetectSyntaxCommandOutput extends BatchDetectSyntaxRespons
32
32
  * @see {@link BatchDetectSyntaxCommandOutput} for command's `response` shape.
33
33
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
34
34
  *
35
+ * @throws {@link BatchSizeLimitExceededException} (client fault)
36
+ * <p>The number of documents in the request exceeds the limit of 25. Try your request again
37
+ * with fewer documents.</p>
38
+ *
39
+ * @throws {@link InternalServerException} (server fault)
40
+ * <p>An internal server error occurred. Retry your request.</p>
41
+ *
42
+ * @throws {@link InvalidRequestException} (client fault)
43
+ * <p>The request is invalid.</p>
44
+ *
45
+ * @throws {@link TextSizeLimitExceededException} (client fault)
46
+ * <p>The size of the input text exceeds the limit. Use a smaller document.</p>
47
+ *
48
+ * @throws {@link UnsupportedLanguageException} (client fault)
49
+ * <p>Amazon Comprehend can't process the language of the input text. For custom entity
50
+ * recognition APIs, only English, Spanish, French, Italian, German, or Portuguese are accepted.
51
+ * For a list of supported languages,
52
+ * <a href="https://docs.aws.amazon.com/comprehend/latest/dg/supported-languages.html">Supported languages</a> in the Comprehend Developer Guide.
53
+ * </p>
54
+ *
55
+ *
35
56
  */
36
57
  export declare class BatchDetectSyntaxCommand extends $Command<BatchDetectSyntaxCommandInput, BatchDetectSyntaxCommandOutput, ComprehendClientResolvedConfig> {
37
58
  readonly input: BatchDetectSyntaxCommandInput;
@@ -31,6 +31,27 @@ export interface BatchDetectTargetedSentimentCommandOutput extends BatchDetectTa
31
31
  * @see {@link BatchDetectTargetedSentimentCommandOutput} for command's `response` shape.
32
32
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
33
33
  *
34
+ * @throws {@link BatchSizeLimitExceededException} (client fault)
35
+ * <p>The number of documents in the request exceeds the limit of 25. Try your request again
36
+ * with fewer documents.</p>
37
+ *
38
+ * @throws {@link InternalServerException} (server fault)
39
+ * <p>An internal server error occurred. Retry your request.</p>
40
+ *
41
+ * @throws {@link InvalidRequestException} (client fault)
42
+ * <p>The request is invalid.</p>
43
+ *
44
+ * @throws {@link TextSizeLimitExceededException} (client fault)
45
+ * <p>The size of the input text exceeds the limit. Use a smaller document.</p>
46
+ *
47
+ * @throws {@link UnsupportedLanguageException} (client fault)
48
+ * <p>Amazon Comprehend can't process the language of the input text. For custom entity
49
+ * recognition APIs, only English, Spanish, French, Italian, German, or Portuguese are accepted.
50
+ * For a list of supported languages,
51
+ * <a href="https://docs.aws.amazon.com/comprehend/latest/dg/supported-languages.html">Supported languages</a> in the Comprehend Developer Guide.
52
+ * </p>
53
+ *
54
+ *
34
55
  */
35
56
  export declare class BatchDetectTargetedSentimentCommand extends $Command<BatchDetectTargetedSentimentCommandInput, BatchDetectTargetedSentimentCommandOutput, ComprehendClientResolvedConfig> {
36
57
  readonly input: BatchDetectTargetedSentimentCommandInput;
@@ -39,6 +39,20 @@ export interface ClassifyDocumentCommandOutput extends ClassifyDocumentResponse,
39
39
  * @see {@link ClassifyDocumentCommandOutput} for command's `response` shape.
40
40
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
41
41
  *
42
+ * @throws {@link InternalServerException} (server fault)
43
+ * <p>An internal server error occurred. Retry your request.</p>
44
+ *
45
+ * @throws {@link InvalidRequestException} (client fault)
46
+ * <p>The request is invalid.</p>
47
+ *
48
+ * @throws {@link ResourceUnavailableException} (client fault)
49
+ * <p>The specified resource is not available. Check the resource and try your request
50
+ * again.</p>
51
+ *
52
+ * @throws {@link TextSizeLimitExceededException} (client fault)
53
+ * <p>The size of the input text exceeds the limit. Use a smaller document.</p>
54
+ *
55
+ *
42
56
  */
43
57
  export declare class ClassifyDocumentCommand extends $Command<ClassifyDocumentCommandInput, ClassifyDocumentCommandOutput, ComprehendClientResolvedConfig> {
44
58
  readonly input: ClassifyDocumentCommandInput;
@@ -31,6 +31,23 @@ export interface ContainsPiiEntitiesCommandOutput extends ContainsPiiEntitiesRes
31
31
  * @see {@link ContainsPiiEntitiesCommandOutput} for command's `response` shape.
32
32
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
33
33
  *
34
+ * @throws {@link InternalServerException} (server fault)
35
+ * <p>An internal server error occurred. Retry your request.</p>
36
+ *
37
+ * @throws {@link InvalidRequestException} (client fault)
38
+ * <p>The request is invalid.</p>
39
+ *
40
+ * @throws {@link TextSizeLimitExceededException} (client fault)
41
+ * <p>The size of the input text exceeds the limit. Use a smaller document.</p>
42
+ *
43
+ * @throws {@link UnsupportedLanguageException} (client fault)
44
+ * <p>Amazon Comprehend can't process the language of the input text. For custom entity
45
+ * recognition APIs, only English, Spanish, French, Italian, German, or Portuguese are accepted.
46
+ * For a list of supported languages,
47
+ * <a href="https://docs.aws.amazon.com/comprehend/latest/dg/supported-languages.html">Supported languages</a> in the Comprehend Developer Guide.
48
+ * </p>
49
+ *
50
+ *
34
51
  */
35
52
  export declare class ContainsPiiEntitiesCommand extends $Command<ContainsPiiEntitiesCommandInput, ContainsPiiEntitiesCommandOutput, ComprehendClientResolvedConfig> {
36
53
  readonly input: ContainsPiiEntitiesCommandInput;
@@ -31,6 +31,32 @@ export interface CreateDatasetCommandOutput extends CreateDatasetResponse, __Met
31
31
  * @see {@link CreateDatasetCommandOutput} for command's `response` shape.
32
32
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
33
33
  *
34
+ * @throws {@link InternalServerException} (server fault)
35
+ * <p>An internal server error occurred. Retry your request.</p>
36
+ *
37
+ * @throws {@link InvalidRequestException} (client fault)
38
+ * <p>The request is invalid.</p>
39
+ *
40
+ * @throws {@link ResourceInUseException} (client fault)
41
+ * <p>The specified resource name is already in use. Use a different name and try your request
42
+ * again.</p>
43
+ *
44
+ * @throws {@link ResourceLimitExceededException} (client fault)
45
+ * <p>The maximum number of resources per account has been exceeded. Review the resources, and
46
+ * then try your request again.</p>
47
+ *
48
+ * @throws {@link ResourceNotFoundException} (client fault)
49
+ * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
50
+ *
51
+ * @throws {@link TooManyRequestsException} (client fault)
52
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
53
+ *
54
+ * @throws {@link TooManyTagsException} (client fault)
55
+ * <p>The request contains more tags than can be associated with a resource (50 tags per
56
+ * resource). The maximum number of tags includes both existing tags and those included in your
57
+ * current request. </p>
58
+ *
59
+ *
34
60
  */
35
61
  export declare class CreateDatasetCommand extends $Command<CreateDatasetCommandInput, CreateDatasetCommandOutput, ComprehendClientResolvedConfig> {
36
62
  readonly input: CreateDatasetCommandInput;
@@ -34,6 +34,40 @@ export interface CreateDocumentClassifierCommandOutput extends CreateDocumentCla
34
34
  * @see {@link CreateDocumentClassifierCommandOutput} for command's `response` shape.
35
35
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
36
36
  *
37
+ * @throws {@link InternalServerException} (server fault)
38
+ * <p>An internal server error occurred. Retry your request.</p>
39
+ *
40
+ * @throws {@link InvalidRequestException} (client fault)
41
+ * <p>The request is invalid.</p>
42
+ *
43
+ * @throws {@link KmsKeyValidationException} (client fault)
44
+ * <p>The KMS customer managed key (CMK) entered cannot be validated. Verify the key and
45
+ * re-enter it.</p>
46
+ *
47
+ * @throws {@link ResourceInUseException} (client fault)
48
+ * <p>The specified resource name is already in use. Use a different name and try your request
49
+ * again.</p>
50
+ *
51
+ * @throws {@link ResourceLimitExceededException} (client fault)
52
+ * <p>The maximum number of resources per account has been exceeded. Review the resources, and
53
+ * then try your request again.</p>
54
+ *
55
+ * @throws {@link TooManyRequestsException} (client fault)
56
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
57
+ *
58
+ * @throws {@link TooManyTagsException} (client fault)
59
+ * <p>The request contains more tags than can be associated with a resource (50 tags per
60
+ * resource). The maximum number of tags includes both existing tags and those included in your
61
+ * current request. </p>
62
+ *
63
+ * @throws {@link UnsupportedLanguageException} (client fault)
64
+ * <p>Amazon Comprehend can't process the language of the input text. For custom entity
65
+ * recognition APIs, only English, Spanish, French, Italian, German, or Portuguese are accepted.
66
+ * For a list of supported languages,
67
+ * <a href="https://docs.aws.amazon.com/comprehend/latest/dg/supported-languages.html">Supported languages</a> in the Comprehend Developer Guide.
68
+ * </p>
69
+ *
70
+ *
37
71
  */
38
72
  export declare class CreateDocumentClassifierCommand extends $Command<CreateDocumentClassifierCommandInput, CreateDocumentClassifierCommandOutput, ComprehendClientResolvedConfig> {
39
73
  readonly input: CreateDocumentClassifierCommandInput;
@@ -31,6 +31,36 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
31
31
  * @see {@link CreateEndpointCommandOutput} for command's `response` shape.
32
32
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
33
33
  *
34
+ * @throws {@link InternalServerException} (server fault)
35
+ * <p>An internal server error occurred. Retry your request.</p>
36
+ *
37
+ * @throws {@link InvalidRequestException} (client fault)
38
+ * <p>The request is invalid.</p>
39
+ *
40
+ * @throws {@link ResourceInUseException} (client fault)
41
+ * <p>The specified resource name is already in use. Use a different name and try your request
42
+ * again.</p>
43
+ *
44
+ * @throws {@link ResourceLimitExceededException} (client fault)
45
+ * <p>The maximum number of resources per account has been exceeded. Review the resources, and
46
+ * then try your request again.</p>
47
+ *
48
+ * @throws {@link ResourceNotFoundException} (client fault)
49
+ * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
50
+ *
51
+ * @throws {@link ResourceUnavailableException} (client fault)
52
+ * <p>The specified resource is not available. Check the resource and try your request
53
+ * again.</p>
54
+ *
55
+ * @throws {@link TooManyRequestsException} (client fault)
56
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
57
+ *
58
+ * @throws {@link TooManyTagsException} (client fault)
59
+ * <p>The request contains more tags than can be associated with a resource (50 tags per
60
+ * resource). The maximum number of tags includes both existing tags and those included in your
61
+ * current request. </p>
62
+ *
63
+ *
34
64
  */
35
65
  export declare class CreateEndpointCommand extends $Command<CreateEndpointCommandInput, CreateEndpointCommandOutput, ComprehendClientResolvedConfig> {
36
66
  readonly input: CreateEndpointCommandInput;
@@ -31,6 +31,40 @@ export interface CreateEntityRecognizerCommandOutput extends CreateEntityRecogni
31
31
  * @see {@link CreateEntityRecognizerCommandOutput} for command's `response` shape.
32
32
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
33
33
  *
34
+ * @throws {@link InternalServerException} (server fault)
35
+ * <p>An internal server error occurred. Retry your request.</p>
36
+ *
37
+ * @throws {@link InvalidRequestException} (client fault)
38
+ * <p>The request is invalid.</p>
39
+ *
40
+ * @throws {@link KmsKeyValidationException} (client fault)
41
+ * <p>The KMS customer managed key (CMK) entered cannot be validated. Verify the key and
42
+ * re-enter it.</p>
43
+ *
44
+ * @throws {@link ResourceInUseException} (client fault)
45
+ * <p>The specified resource name is already in use. Use a different name and try your request
46
+ * again.</p>
47
+ *
48
+ * @throws {@link ResourceLimitExceededException} (client fault)
49
+ * <p>The maximum number of resources per account has been exceeded. Review the resources, and
50
+ * then try your request again.</p>
51
+ *
52
+ * @throws {@link TooManyRequestsException} (client fault)
53
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
54
+ *
55
+ * @throws {@link TooManyTagsException} (client fault)
56
+ * <p>The request contains more tags than can be associated with a resource (50 tags per
57
+ * resource). The maximum number of tags includes both existing tags and those included in your
58
+ * current request. </p>
59
+ *
60
+ * @throws {@link UnsupportedLanguageException} (client fault)
61
+ * <p>Amazon Comprehend can't process the language of the input text. For custom entity
62
+ * recognition APIs, only English, Spanish, French, Italian, German, or Portuguese are accepted.
63
+ * For a list of supported languages,
64
+ * <a href="https://docs.aws.amazon.com/comprehend/latest/dg/supported-languages.html">Supported languages</a> in the Comprehend Developer Guide.
65
+ * </p>
66
+ *
67
+ *
34
68
  */
35
69
  export declare class CreateEntityRecognizerCommand extends $Command<CreateEntityRecognizerCommandInput, CreateEntityRecognizerCommandOutput, ComprehendClientResolvedConfig> {
36
70
  readonly input: CreateEntityRecognizerCommandInput;
@@ -39,6 +39,47 @@ export interface CreateFlywheelCommandOutput extends CreateFlywheelResponse, __M
39
39
  * @see {@link CreateFlywheelCommandOutput} for command's `response` shape.
40
40
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
41
41
  *
42
+ * @throws {@link InternalServerException} (server fault)
43
+ * <p>An internal server error occurred. Retry your request.</p>
44
+ *
45
+ * @throws {@link InvalidRequestException} (client fault)
46
+ * <p>The request is invalid.</p>
47
+ *
48
+ * @throws {@link KmsKeyValidationException} (client fault)
49
+ * <p>The KMS customer managed key (CMK) entered cannot be validated. Verify the key and
50
+ * re-enter it.</p>
51
+ *
52
+ * @throws {@link ResourceInUseException} (client fault)
53
+ * <p>The specified resource name is already in use. Use a different name and try your request
54
+ * again.</p>
55
+ *
56
+ * @throws {@link ResourceLimitExceededException} (client fault)
57
+ * <p>The maximum number of resources per account has been exceeded. Review the resources, and
58
+ * then try your request again.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
62
+ *
63
+ * @throws {@link ResourceUnavailableException} (client fault)
64
+ * <p>The specified resource is not available. Check the resource and try your request
65
+ * again.</p>
66
+ *
67
+ * @throws {@link TooManyRequestsException} (client fault)
68
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
69
+ *
70
+ * @throws {@link TooManyTagsException} (client fault)
71
+ * <p>The request contains more tags than can be associated with a resource (50 tags per
72
+ * resource). The maximum number of tags includes both existing tags and those included in your
73
+ * current request. </p>
74
+ *
75
+ * @throws {@link UnsupportedLanguageException} (client fault)
76
+ * <p>Amazon Comprehend can't process the language of the input text. For custom entity
77
+ * recognition APIs, only English, Spanish, French, Italian, German, or Portuguese are accepted.
78
+ * For a list of supported languages,
79
+ * <a href="https://docs.aws.amazon.com/comprehend/latest/dg/supported-languages.html">Supported languages</a> in the Comprehend Developer Guide.
80
+ * </p>
81
+ *
82
+ *
42
83
  */
43
84
  export declare class CreateFlywheelCommand extends $Command<CreateFlywheelCommandInput, CreateFlywheelCommandOutput, ComprehendClientResolvedConfig> {
44
85
  readonly input: CreateFlywheelCommandInput;
@@ -35,6 +35,27 @@ export interface DeleteDocumentClassifierCommandOutput extends DeleteDocumentCla
35
35
  * @see {@link DeleteDocumentClassifierCommandOutput} for command's `response` shape.
36
36
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
37
37
  *
38
+ * @throws {@link InternalServerException} (server fault)
39
+ * <p>An internal server error occurred. Retry your request.</p>
40
+ *
41
+ * @throws {@link InvalidRequestException} (client fault)
42
+ * <p>The request is invalid.</p>
43
+ *
44
+ * @throws {@link ResourceInUseException} (client fault)
45
+ * <p>The specified resource name is already in use. Use a different name and try your request
46
+ * again.</p>
47
+ *
48
+ * @throws {@link ResourceNotFoundException} (client fault)
49
+ * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
50
+ *
51
+ * @throws {@link ResourceUnavailableException} (client fault)
52
+ * <p>The specified resource is not available. Check the resource and try your request
53
+ * again.</p>
54
+ *
55
+ * @throws {@link TooManyRequestsException} (client fault)
56
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
57
+ *
58
+ *
38
59
  */
39
60
  export declare class DeleteDocumentClassifierCommand extends $Command<DeleteDocumentClassifierCommandInput, DeleteDocumentClassifierCommandOutput, ComprehendClientResolvedConfig> {
40
61
  readonly input: DeleteDocumentClassifierCommandInput;
@@ -31,6 +31,23 @@ export interface DeleteEndpointCommandOutput extends DeleteEndpointResponse, __M
31
31
  * @see {@link DeleteEndpointCommandOutput} for command's `response` shape.
32
32
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
33
33
  *
34
+ * @throws {@link InternalServerException} (server fault)
35
+ * <p>An internal server error occurred. Retry your request.</p>
36
+ *
37
+ * @throws {@link InvalidRequestException} (client fault)
38
+ * <p>The request is invalid.</p>
39
+ *
40
+ * @throws {@link ResourceInUseException} (client fault)
41
+ * <p>The specified resource name is already in use. Use a different name and try your request
42
+ * again.</p>
43
+ *
44
+ * @throws {@link ResourceNotFoundException} (client fault)
45
+ * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
46
+ *
47
+ * @throws {@link TooManyRequestsException} (client fault)
48
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
49
+ *
50
+ *
34
51
  */
35
52
  export declare class DeleteEndpointCommand extends $Command<DeleteEndpointCommandInput, DeleteEndpointCommandOutput, ComprehendClientResolvedConfig> {
36
53
  readonly input: DeleteEndpointCommandInput;
@@ -35,6 +35,27 @@ export interface DeleteEntityRecognizerCommandOutput extends DeleteEntityRecogni
35
35
  * @see {@link DeleteEntityRecognizerCommandOutput} for command's `response` shape.
36
36
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
37
37
  *
38
+ * @throws {@link InternalServerException} (server fault)
39
+ * <p>An internal server error occurred. Retry your request.</p>
40
+ *
41
+ * @throws {@link InvalidRequestException} (client fault)
42
+ * <p>The request is invalid.</p>
43
+ *
44
+ * @throws {@link ResourceInUseException} (client fault)
45
+ * <p>The specified resource name is already in use. Use a different name and try your request
46
+ * again.</p>
47
+ *
48
+ * @throws {@link ResourceNotFoundException} (client fault)
49
+ * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
50
+ *
51
+ * @throws {@link ResourceUnavailableException} (client fault)
52
+ * <p>The specified resource is not available. Check the resource and try your request
53
+ * again.</p>
54
+ *
55
+ * @throws {@link TooManyRequestsException} (client fault)
56
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
57
+ *
58
+ *
38
59
  */
39
60
  export declare class DeleteEntityRecognizerCommand extends $Command<DeleteEntityRecognizerCommandInput, DeleteEntityRecognizerCommandOutput, ComprehendClientResolvedConfig> {
40
61
  readonly input: DeleteEntityRecognizerCommandInput;
@@ -32,6 +32,27 @@ export interface DeleteFlywheelCommandOutput extends DeleteFlywheelResponse, __M
32
32
  * @see {@link DeleteFlywheelCommandOutput} for command's `response` shape.
33
33
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
34
34
  *
35
+ * @throws {@link InternalServerException} (server fault)
36
+ * <p>An internal server error occurred. Retry your request.</p>
37
+ *
38
+ * @throws {@link InvalidRequestException} (client fault)
39
+ * <p>The request is invalid.</p>
40
+ *
41
+ * @throws {@link ResourceInUseException} (client fault)
42
+ * <p>The specified resource name is already in use. Use a different name and try your request
43
+ * again.</p>
44
+ *
45
+ * @throws {@link ResourceNotFoundException} (client fault)
46
+ * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
47
+ *
48
+ * @throws {@link ResourceUnavailableException} (client fault)
49
+ * <p>The specified resource is not available. Check the resource and try your request
50
+ * again.</p>
51
+ *
52
+ * @throws {@link TooManyRequestsException} (client fault)
53
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
54
+ *
55
+ *
35
56
  */
36
57
  export declare class DeleteFlywheelCommand extends $Command<DeleteFlywheelCommandInput, DeleteFlywheelCommandOutput, ComprehendClientResolvedConfig> {
37
58
  readonly input: DeleteFlywheelCommandInput;
@@ -29,6 +29,16 @@ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyR
29
29
  * @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
30
30
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
31
31
  *
32
+ * @throws {@link InternalServerException} (server fault)
33
+ * <p>An internal server error occurred. Retry your request.</p>
34
+ *
35
+ * @throws {@link InvalidRequestException} (client fault)
36
+ * <p>The request is invalid.</p>
37
+ *
38
+ * @throws {@link ResourceNotFoundException} (client fault)
39
+ * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class DeleteResourcePolicyCommand extends $Command<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, ComprehendClientResolvedConfig> {
34
44
  readonly input: DeleteResourcePolicyCommandInput;
@@ -31,6 +31,19 @@ export interface DescribeDatasetCommandOutput extends DescribeDatasetResponse, _
31
31
  * @see {@link DescribeDatasetCommandOutput} for command's `response` shape.
32
32
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
33
33
  *
34
+ * @throws {@link InternalServerException} (server fault)
35
+ * <p>An internal server error occurred. Retry your request.</p>
36
+ *
37
+ * @throws {@link InvalidRequestException} (client fault)
38
+ * <p>The request is invalid.</p>
39
+ *
40
+ * @throws {@link ResourceNotFoundException} (client fault)
41
+ * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
42
+ *
43
+ * @throws {@link TooManyRequestsException} (client fault)
44
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
45
+ *
46
+ *
34
47
  */
35
48
  export declare class DescribeDatasetCommand extends $Command<DescribeDatasetCommandInput, DescribeDatasetCommandOutput, ComprehendClientResolvedConfig> {
36
49
  readonly input: DescribeDatasetCommandInput;
@@ -30,6 +30,19 @@ export interface DescribeDocumentClassificationJobCommandOutput extends Describe
30
30
  * @see {@link DescribeDocumentClassificationJobCommandOutput} for command's `response` shape.
31
31
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
32
32
  *
33
+ * @throws {@link InternalServerException} (server fault)
34
+ * <p>An internal server error occurred. Retry your request.</p>
35
+ *
36
+ * @throws {@link InvalidRequestException} (client fault)
37
+ * <p>The request is invalid.</p>
38
+ *
39
+ * @throws {@link JobNotFoundException} (client fault)
40
+ * <p>The specified job was not found. Check the job ID and try again.</p>
41
+ *
42
+ * @throws {@link TooManyRequestsException} (client fault)
43
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
44
+ *
45
+ *
33
46
  */
34
47
  export declare class DescribeDocumentClassificationJobCommand extends $Command<DescribeDocumentClassificationJobCommandInput, DescribeDocumentClassificationJobCommandOutput, ComprehendClientResolvedConfig> {
35
48
  readonly input: DescribeDocumentClassificationJobCommandInput;
@@ -29,6 +29,19 @@ export interface DescribeDocumentClassifierCommandOutput extends DescribeDocumen
29
29
  * @see {@link DescribeDocumentClassifierCommandOutput} for command's `response` shape.
30
30
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
31
31
  *
32
+ * @throws {@link InternalServerException} (server fault)
33
+ * <p>An internal server error occurred. Retry your request.</p>
34
+ *
35
+ * @throws {@link InvalidRequestException} (client fault)
36
+ * <p>The request is invalid.</p>
37
+ *
38
+ * @throws {@link ResourceNotFoundException} (client fault)
39
+ * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
40
+ *
41
+ * @throws {@link TooManyRequestsException} (client fault)
42
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
43
+ *
44
+ *
32
45
  */
33
46
  export declare class DescribeDocumentClassifierCommand extends $Command<DescribeDocumentClassifierCommandInput, DescribeDocumentClassifierCommandOutput, ComprehendClientResolvedConfig> {
34
47
  readonly input: DescribeDocumentClassifierCommandInput;
@@ -30,6 +30,19 @@ export interface DescribeDominantLanguageDetectionJobCommandOutput extends Descr
30
30
  * @see {@link DescribeDominantLanguageDetectionJobCommandOutput} for command's `response` shape.
31
31
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
32
32
  *
33
+ * @throws {@link InternalServerException} (server fault)
34
+ * <p>An internal server error occurred. Retry your request.</p>
35
+ *
36
+ * @throws {@link InvalidRequestException} (client fault)
37
+ * <p>The request is invalid.</p>
38
+ *
39
+ * @throws {@link JobNotFoundException} (client fault)
40
+ * <p>The specified job was not found. Check the job ID and try again.</p>
41
+ *
42
+ * @throws {@link TooManyRequestsException} (client fault)
43
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
44
+ *
45
+ *
33
46
  */
34
47
  export declare class DescribeDominantLanguageDetectionJobCommand extends $Command<DescribeDominantLanguageDetectionJobCommandInput, DescribeDominantLanguageDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
35
48
  readonly input: DescribeDominantLanguageDetectionJobCommandInput;