@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,19 @@ export interface DescribeEndpointCommandOutput extends DescribeEndpointResponse,
31
31
  * @see {@link DescribeEndpointCommandOutput} 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 DescribeEndpointCommand extends $Command<DescribeEndpointCommandInput, DescribeEndpointCommandOutput, ComprehendClientResolvedConfig> {
36
49
  readonly input: DescribeEndpointCommandInput;
@@ -30,6 +30,19 @@ export interface DescribeEntitiesDetectionJobCommandOutput extends DescribeEntit
30
30
  * @see {@link DescribeEntitiesDetectionJobCommandOutput} 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 DescribeEntitiesDetectionJobCommand extends $Command<DescribeEntitiesDetectionJobCommandInput, DescribeEntitiesDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
35
48
  readonly input: DescribeEntitiesDetectionJobCommandInput;
@@ -30,6 +30,19 @@ export interface DescribeEntityRecognizerCommandOutput extends DescribeEntityRec
30
30
  * @see {@link DescribeEntityRecognizerCommandOutput} 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 ResourceNotFoundException} (client fault)
40
+ * <p>The specified resource ARN was not found. Check the ARN and try your request 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 DescribeEntityRecognizerCommand extends $Command<DescribeEntityRecognizerCommandInput, DescribeEntityRecognizerCommandOutput, ComprehendClientResolvedConfig> {
35
48
  readonly input: DescribeEntityRecognizerCommandInput;
@@ -29,6 +29,19 @@ export interface DescribeEventsDetectionJobCommandOutput extends DescribeEventsD
29
29
  * @see {@link DescribeEventsDetectionJobCommandOutput} 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 JobNotFoundException} (client fault)
39
+ * <p>The specified job was not found. Check the job ID and try 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 DescribeEventsDetectionJobCommand extends $Command<DescribeEventsDetectionJobCommandInput, DescribeEventsDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
34
47
  readonly input: DescribeEventsDetectionJobCommandInput;
@@ -30,6 +30,19 @@ export interface DescribeFlywheelCommandOutput extends DescribeFlywheelResponse,
30
30
  * @see {@link DescribeFlywheelCommandOutput} 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 ResourceNotFoundException} (client fault)
40
+ * <p>The specified resource ARN was not found. Check the ARN and try your request 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 DescribeFlywheelCommand extends $Command<DescribeFlywheelCommandInput, DescribeFlywheelCommandOutput, ComprehendClientResolvedConfig> {
35
48
  readonly input: DescribeFlywheelCommandInput;
@@ -31,6 +31,19 @@ export interface DescribeFlywheelIterationCommandOutput extends DescribeFlywheel
31
31
  * @see {@link DescribeFlywheelIterationCommandOutput} 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 DescribeFlywheelIterationCommand extends $Command<DescribeFlywheelIterationCommandInput, DescribeFlywheelIterationCommandOutput, ComprehendClientResolvedConfig> {
36
49
  readonly input: DescribeFlywheelIterationCommandInput;
@@ -30,6 +30,19 @@ export interface DescribeKeyPhrasesDetectionJobCommandOutput extends DescribeKey
30
30
  * @see {@link DescribeKeyPhrasesDetectionJobCommandOutput} 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 DescribeKeyPhrasesDetectionJobCommand extends $Command<DescribeKeyPhrasesDetectionJobCommandInput, DescribeKeyPhrasesDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
35
48
  readonly input: DescribeKeyPhrasesDetectionJobCommandInput;
@@ -30,6 +30,19 @@ export interface DescribePiiEntitiesDetectionJobCommandOutput extends DescribePi
30
30
  * @see {@link DescribePiiEntitiesDetectionJobCommandOutput} 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 DescribePiiEntitiesDetectionJobCommand extends $Command<DescribePiiEntitiesDetectionJobCommandInput, DescribePiiEntitiesDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
35
48
  readonly input: DescribePiiEntitiesDetectionJobCommandInput;
@@ -30,6 +30,16 @@ export interface DescribeResourcePolicyCommandOutput extends DescribeResourcePol
30
30
  * @see {@link DescribeResourcePolicyCommandOutput} 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 ResourceNotFoundException} (client fault)
40
+ * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
41
+ *
42
+ *
33
43
  */
34
44
  export declare class DescribeResourcePolicyCommand extends $Command<DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput, ComprehendClientResolvedConfig> {
35
45
  readonly input: DescribeResourcePolicyCommandInput;
@@ -30,6 +30,19 @@ export interface DescribeSentimentDetectionJobCommandOutput extends DescribeSent
30
30
  * @see {@link DescribeSentimentDetectionJobCommandOutput} 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 DescribeSentimentDetectionJobCommand extends $Command<DescribeSentimentDetectionJobCommandInput, DescribeSentimentDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
35
48
  readonly input: DescribeSentimentDetectionJobCommandInput;
@@ -30,6 +30,19 @@ export interface DescribeTargetedSentimentDetectionJobCommandOutput extends Desc
30
30
  * @see {@link DescribeTargetedSentimentDetectionJobCommandOutput} 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 DescribeTargetedSentimentDetectionJobCommand extends $Command<DescribeTargetedSentimentDetectionJobCommandInput, DescribeTargetedSentimentDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
35
48
  readonly input: DescribeTargetedSentimentDetectionJobCommandInput;
@@ -30,6 +30,19 @@ export interface DescribeTopicsDetectionJobCommandOutput extends DescribeTopicsD
30
30
  * @see {@link DescribeTopicsDetectionJobCommandOutput} 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 DescribeTopicsDetectionJobCommand extends $Command<DescribeTopicsDetectionJobCommandInput, DescribeTopicsDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
35
48
  readonly input: DescribeTopicsDetectionJobCommandInput;
@@ -30,6 +30,16 @@ export interface DetectDominantLanguageCommandOutput extends DetectDominantLangu
30
30
  * @see {@link DetectDominantLanguageCommandOutput} 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 TextSizeLimitExceededException} (client fault)
40
+ * <p>The size of the input text exceeds the limit. Use a smaller document.</p>
41
+ *
42
+ *
33
43
  */
34
44
  export declare class DetectDominantLanguageCommand extends $Command<DetectDominantLanguageCommandInput, DetectDominantLanguageCommandOutput, ComprehendClientResolvedConfig> {
35
45
  readonly input: DetectDominantLanguageCommandInput;
@@ -44,6 +44,27 @@ export interface DetectEntitiesCommandOutput extends DetectEntitiesResponse, __M
44
44
  * @see {@link DetectEntitiesCommandOutput} for command's `response` shape.
45
45
  * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
46
46
  *
47
+ * @throws {@link InternalServerException} (server fault)
48
+ * <p>An internal server error occurred. Retry your request.</p>
49
+ *
50
+ * @throws {@link InvalidRequestException} (client fault)
51
+ * <p>The request is invalid.</p>
52
+ *
53
+ * @throws {@link ResourceUnavailableException} (client fault)
54
+ * <p>The specified resource is not available. Check the resource and try your request
55
+ * again.</p>
56
+ *
57
+ * @throws {@link TextSizeLimitExceededException} (client fault)
58
+ * <p>The size of the input text exceeds the limit. Use a smaller document.</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
+ *
47
68
  */
48
69
  export declare class DetectEntitiesCommand extends $Command<DetectEntitiesCommandInput, DetectEntitiesCommandOutput, ComprehendClientResolvedConfig> {
49
70
  readonly input: DetectEntitiesCommandInput;
@@ -29,6 +29,23 @@ export interface DetectKeyPhrasesCommandOutput extends DetectKeyPhrasesResponse,
29
29
  * @see {@link DetectKeyPhrasesCommandOutput} 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 TextSizeLimitExceededException} (client fault)
39
+ * <p>The size of the input text exceeds the limit. Use a smaller document.</p>
40
+ *
41
+ * @throws {@link UnsupportedLanguageException} (client fault)
42
+ * <p>Amazon Comprehend can't process the language of the input text. For custom entity
43
+ * recognition APIs, only English, Spanish, French, Italian, German, or Portuguese are accepted.
44
+ * For a list of supported languages,
45
+ * <a href="https://docs.aws.amazon.com/comprehend/latest/dg/supported-languages.html">Supported languages</a> in the Comprehend Developer Guide.
46
+ * </p>
47
+ *
48
+ *
32
49
  */
33
50
  export declare class DetectKeyPhrasesCommand extends $Command<DetectKeyPhrasesCommandInput, DetectKeyPhrasesCommandOutput, ComprehendClientResolvedConfig> {
34
51
  readonly input: DetectKeyPhrasesCommandInput;
@@ -30,6 +30,23 @@ export interface DetectPiiEntitiesCommandOutput extends DetectPiiEntitiesRespons
30
30
  * @see {@link DetectPiiEntitiesCommandOutput} 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 TextSizeLimitExceededException} (client fault)
40
+ * <p>The size of the input text exceeds the limit. Use a smaller document.</p>
41
+ *
42
+ * @throws {@link UnsupportedLanguageException} (client fault)
43
+ * <p>Amazon Comprehend can't process the language of the input text. For custom entity
44
+ * recognition APIs, only English, Spanish, French, Italian, German, or Portuguese are accepted.
45
+ * For a list of supported languages,
46
+ * <a href="https://docs.aws.amazon.com/comprehend/latest/dg/supported-languages.html">Supported languages</a> in the Comprehend Developer Guide.
47
+ * </p>
48
+ *
49
+ *
33
50
  */
34
51
  export declare class DetectPiiEntitiesCommand extends $Command<DetectPiiEntitiesCommandInput, DetectPiiEntitiesCommandOutput, ComprehendClientResolvedConfig> {
35
52
  readonly input: DetectPiiEntitiesCommandInput;
@@ -30,6 +30,23 @@ export interface DetectSentimentCommandOutput extends DetectSentimentResponse, _
30
30
  * @see {@link DetectSentimentCommandOutput} 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 TextSizeLimitExceededException} (client fault)
40
+ * <p>The size of the input text exceeds the limit. Use a smaller document.</p>
41
+ *
42
+ * @throws {@link UnsupportedLanguageException} (client fault)
43
+ * <p>Amazon Comprehend can't process the language of the input text. For custom entity
44
+ * recognition APIs, only English, Spanish, French, Italian, German, or Portuguese are accepted.
45
+ * For a list of supported languages,
46
+ * <a href="https://docs.aws.amazon.com/comprehend/latest/dg/supported-languages.html">Supported languages</a> in the Comprehend Developer Guide.
47
+ * </p>
48
+ *
49
+ *
33
50
  */
34
51
  export declare class DetectSentimentCommand extends $Command<DetectSentimentCommandInput, DetectSentimentCommandOutput, ComprehendClientResolvedConfig> {
35
52
  readonly input: DetectSentimentCommandInput;
@@ -32,6 +32,23 @@ export interface DetectSyntaxCommandOutput extends DetectSyntaxResponse, __Metad
32
32
  * @see {@link DetectSyntaxCommandOutput} 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 TextSizeLimitExceededException} (client fault)
42
+ * <p>The size of the input text exceeds the limit. Use a smaller document.</p>
43
+ *
44
+ * @throws {@link UnsupportedLanguageException} (client fault)
45
+ * <p>Amazon Comprehend can't process the language of the input text. For custom entity
46
+ * recognition APIs, only English, Spanish, French, Italian, German, or Portuguese are accepted.
47
+ * For a list of supported languages,
48
+ * <a href="https://docs.aws.amazon.com/comprehend/latest/dg/supported-languages.html">Supported languages</a> in the Comprehend Developer Guide.
49
+ * </p>
50
+ *
51
+ *
35
52
  */
36
53
  export declare class DetectSyntaxCommand extends $Command<DetectSyntaxCommandInput, DetectSyntaxCommandOutput, ComprehendClientResolvedConfig> {
37
54
  readonly input: DetectSyntaxCommandInput;
@@ -30,6 +30,23 @@ export interface DetectTargetedSentimentCommandOutput extends DetectTargetedSent
30
30
  * @see {@link DetectTargetedSentimentCommandOutput} 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 TextSizeLimitExceededException} (client fault)
40
+ * <p>The size of the input text exceeds the limit. Use a smaller document.</p>
41
+ *
42
+ * @throws {@link UnsupportedLanguageException} (client fault)
43
+ * <p>Amazon Comprehend can't process the language of the input text. For custom entity
44
+ * recognition APIs, only English, Spanish, French, Italian, German, or Portuguese are accepted.
45
+ * For a list of supported languages,
46
+ * <a href="https://docs.aws.amazon.com/comprehend/latest/dg/supported-languages.html">Supported languages</a> in the Comprehend Developer Guide.
47
+ * </p>
48
+ *
49
+ *
33
50
  */
34
51
  export declare class DetectTargetedSentimentCommand extends $Command<DetectTargetedSentimentCommandInput, DetectTargetedSentimentCommandOutput, ComprehendClientResolvedConfig> {
35
52
  readonly input: DetectTargetedSentimentCommandInput;
@@ -34,6 +34,40 @@ export interface ImportModelCommandOutput extends ImportModelResponse, __Metadat
34
34
  * @see {@link ImportModelCommandOutput} 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 ResourceNotFoundException} (client fault)
56
+ * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
57
+ *
58
+ * @throws {@link ResourceUnavailableException} (client fault)
59
+ * <p>The specified resource is not available. Check the resource and try your request
60
+ * again.</p>
61
+ *
62
+ * @throws {@link TooManyRequestsException} (client fault)
63
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
64
+ *
65
+ * @throws {@link TooManyTagsException} (client fault)
66
+ * <p>The request contains more tags than can be associated with a resource (50 tags per
67
+ * resource). The maximum number of tags includes both existing tags and those included in your
68
+ * current request. </p>
69
+ *
70
+ *
37
71
  */
38
72
  export declare class ImportModelCommand extends $Command<ImportModelCommandInput, ImportModelCommandOutput, ComprehendClientResolvedConfig> {
39
73
  readonly input: ImportModelCommandInput;
@@ -30,6 +30,23 @@ export interface ListDatasetsCommandOutput extends ListDatasetsResponse, __Metad
30
30
  * @see {@link ListDatasetsCommandOutput} 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 InvalidFilterException} (client fault)
37
+ * <p>The filter specified for the operation is invalid. Specify a different
38
+ * filter.</p>
39
+ *
40
+ * @throws {@link InvalidRequestException} (client fault)
41
+ * <p>The request is invalid.</p>
42
+ *
43
+ * @throws {@link ResourceNotFoundException} (client fault)
44
+ * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
45
+ *
46
+ * @throws {@link TooManyRequestsException} (client fault)
47
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
48
+ *
49
+ *
33
50
  */
34
51
  export declare class ListDatasetsCommand extends $Command<ListDatasetsCommandInput, ListDatasetsCommandOutput, ComprehendClientResolvedConfig> {
35
52
  readonly input: ListDatasetsCommandInput;
@@ -29,6 +29,20 @@ export interface ListDocumentClassificationJobsCommandOutput extends ListDocumen
29
29
  * @see {@link ListDocumentClassificationJobsCommandOutput} 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 InvalidFilterException} (client fault)
36
+ * <p>The filter specified for the operation is invalid. Specify a different
37
+ * filter.</p>
38
+ *
39
+ * @throws {@link InvalidRequestException} (client fault)
40
+ * <p>The request is invalid.</p>
41
+ *
42
+ * @throws {@link TooManyRequestsException} (client fault)
43
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
44
+ *
45
+ *
32
46
  */
33
47
  export declare class ListDocumentClassificationJobsCommand extends $Command<ListDocumentClassificationJobsCommandInput, ListDocumentClassificationJobsCommandOutput, ComprehendClientResolvedConfig> {
34
48
  readonly input: ListDocumentClassificationJobsCommandInput;
@@ -29,6 +29,16 @@ export interface ListDocumentClassifierSummariesCommandOutput extends ListDocume
29
29
  * @see {@link ListDocumentClassifierSummariesCommandOutput} 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 TooManyRequestsException} (client fault)
39
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class ListDocumentClassifierSummariesCommand extends $Command<ListDocumentClassifierSummariesCommandInput, ListDocumentClassifierSummariesCommandOutput, ComprehendClientResolvedConfig> {
34
44
  readonly input: ListDocumentClassifierSummariesCommandInput;
@@ -29,6 +29,20 @@ export interface ListDocumentClassifiersCommandOutput extends ListDocumentClassi
29
29
  * @see {@link ListDocumentClassifiersCommandOutput} 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 InvalidFilterException} (client fault)
36
+ * <p>The filter specified for the operation is invalid. Specify a different
37
+ * filter.</p>
38
+ *
39
+ * @throws {@link InvalidRequestException} (client fault)
40
+ * <p>The request is invalid.</p>
41
+ *
42
+ * @throws {@link TooManyRequestsException} (client fault)
43
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
44
+ *
45
+ *
32
46
  */
33
47
  export declare class ListDocumentClassifiersCommand extends $Command<ListDocumentClassifiersCommandInput, ListDocumentClassifiersCommandOutput, ComprehendClientResolvedConfig> {
34
48
  readonly input: ListDocumentClassifiersCommandInput;
@@ -29,6 +29,20 @@ export interface ListDominantLanguageDetectionJobsCommandOutput extends ListDomi
29
29
  * @see {@link ListDominantLanguageDetectionJobsCommandOutput} 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 InvalidFilterException} (client fault)
36
+ * <p>The filter specified for the operation is invalid. Specify a different
37
+ * filter.</p>
38
+ *
39
+ * @throws {@link InvalidRequestException} (client fault)
40
+ * <p>The request is invalid.</p>
41
+ *
42
+ * @throws {@link TooManyRequestsException} (client fault)
43
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
44
+ *
45
+ *
32
46
  */
33
47
  export declare class ListDominantLanguageDetectionJobsCommand extends $Command<ListDominantLanguageDetectionJobsCommandInput, ListDominantLanguageDetectionJobsCommandOutput, ComprehendClientResolvedConfig> {
34
48
  readonly input: ListDominantLanguageDetectionJobsCommandInput;
@@ -30,6 +30,16 @@ export interface ListEndpointsCommandOutput extends ListEndpointsResponse, __Met
30
30
  * @see {@link ListEndpointsCommandOutput} 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 TooManyRequestsException} (client fault)
40
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
41
+ *
42
+ *
33
43
  */
34
44
  export declare class ListEndpointsCommand extends $Command<ListEndpointsCommandInput, ListEndpointsCommandOutput, ComprehendClientResolvedConfig> {
35
45
  readonly input: ListEndpointsCommandInput;
@@ -29,6 +29,20 @@ export interface ListEntitiesDetectionJobsCommandOutput extends ListEntitiesDete
29
29
  * @see {@link ListEntitiesDetectionJobsCommandOutput} 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 InvalidFilterException} (client fault)
36
+ * <p>The filter specified for the operation is invalid. Specify a different
37
+ * filter.</p>
38
+ *
39
+ * @throws {@link InvalidRequestException} (client fault)
40
+ * <p>The request is invalid.</p>
41
+ *
42
+ * @throws {@link TooManyRequestsException} (client fault)
43
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
44
+ *
45
+ *
32
46
  */
33
47
  export declare class ListEntitiesDetectionJobsCommand extends $Command<ListEntitiesDetectionJobsCommandInput, ListEntitiesDetectionJobsCommandOutput, ComprehendClientResolvedConfig> {
34
48
  readonly input: ListEntitiesDetectionJobsCommandInput;
@@ -29,6 +29,16 @@ export interface ListEntityRecognizerSummariesCommandOutput extends ListEntityRe
29
29
  * @see {@link ListEntityRecognizerSummariesCommandOutput} 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 TooManyRequestsException} (client fault)
39
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class ListEntityRecognizerSummariesCommand extends $Command<ListEntityRecognizerSummariesCommandInput, ListEntityRecognizerSummariesCommandOutput, ComprehendClientResolvedConfig> {
34
44
  readonly input: ListEntityRecognizerSummariesCommandInput;