@aws-sdk/client-comprehend 3.321.1 → 3.326.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 +23 -0
  2. package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +40 -0
  3. package/dist-types/commands/BatchDetectKeyPhrasesCommand.d.ts +25 -0
  4. package/dist-types/commands/BatchDetectSentimentCommand.d.ts +24 -0
  5. package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +29 -0
  6. package/dist-types/commands/BatchDetectTargetedSentimentCommand.d.ts +43 -0
  7. package/dist-types/commands/ClassifyDocumentCommand.d.ts +48 -0
  8. package/dist-types/commands/ContainsPiiEntitiesCommand.d.ts +11 -0
  9. package/dist-types/commands/CreateDatasetCommand.d.ts +6 -0
  10. package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +6 -0
  11. package/dist-types/commands/CreateEndpointCommand.d.ts +7 -0
  12. package/dist-types/commands/CreateEntityRecognizerCommand.d.ts +6 -0
  13. package/dist-types/commands/CreateFlywheelCommand.d.ts +7 -0
  14. package/dist-types/commands/DeleteDocumentClassifierCommand.d.ts +4 -0
  15. package/dist-types/commands/DeleteEndpointCommand.d.ts +4 -0
  16. package/dist-types/commands/DeleteEntityRecognizerCommand.d.ts +4 -0
  17. package/dist-types/commands/DeleteFlywheelCommand.d.ts +4 -0
  18. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
  19. package/dist-types/commands/DescribeDatasetCommand.d.ts +17 -0
  20. package/dist-types/commands/DescribeDocumentClassificationJobCommand.d.ts +41 -0
  21. package/dist-types/commands/DescribeDocumentClassifierCommand.d.ts +80 -0
  22. package/dist-types/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +39 -0
  23. package/dist-types/commands/DescribeEndpointCommand.d.ts +19 -0
  24. package/dist-types/commands/DescribeEntitiesDetectionJobCommand.d.ts +42 -0
  25. package/dist-types/commands/DescribeEntityRecognizerCommand.d.ts +84 -0
  26. package/dist-types/commands/DescribeEventsDetectionJobCommand.d.ts +34 -0
  27. package/dist-types/commands/DescribeFlywheelCommand.d.ts +46 -0
  28. package/dist-types/commands/DescribeFlywheelIterationCommand.d.ts +28 -0
  29. package/dist-types/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +40 -0
  30. package/dist-types/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +39 -0
  31. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +9 -0
  32. package/dist-types/commands/DescribeSentimentDetectionJobCommand.d.ts +40 -0
  33. package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +40 -0
  34. package/dist-types/commands/DescribeTopicsDetectionJobCommand.d.ts +40 -0
  35. package/dist-types/commands/DetectDominantLanguageCommand.d.ts +11 -0
  36. package/dist-types/commands/DetectEntitiesCommand.d.ts +80 -0
  37. package/dist-types/commands/DetectKeyPhrasesCommand.d.ts +13 -0
  38. package/dist-types/commands/DetectPiiEntitiesCommand.d.ts +13 -0
  39. package/dist-types/commands/DetectSentimentCommand.d.ts +12 -0
  40. package/dist-types/commands/DetectSyntaxCommand.d.ts +17 -0
  41. package/dist-types/commands/DetectTargetedSentimentCommand.d.ts +31 -0
  42. package/dist-types/commands/ImportModelCommand.d.ts +6 -0
  43. package/dist-types/commands/ListDatasetsCommand.d.ts +20 -0
  44. package/dist-types/commands/ListDocumentClassificationJobsCommand.d.ts +44 -0
  45. package/dist-types/commands/ListDocumentClassifierSummariesCommand.d.ts +15 -0
  46. package/dist-types/commands/ListDocumentClassifiersCommand.d.ts +83 -0
  47. package/dist-types/commands/ListDominantLanguageDetectionJobsCommand.d.ts +42 -0
  48. package/dist-types/commands/ListEndpointsCommand.d.ts +22 -0
  49. package/dist-types/commands/ListEntitiesDetectionJobsCommand.d.ts +45 -0
  50. package/dist-types/commands/ListEntityRecognizerSummariesCommand.d.ts +15 -0
  51. package/dist-types/commands/ListEntityRecognizersCommand.d.ts +87 -0
  52. package/dist-types/commands/ListEventsDetectionJobsCommand.d.ts +37 -0
  53. package/dist-types/commands/ListFlywheelIterationHistoryCommand.d.ts +31 -0
  54. package/dist-types/commands/ListFlywheelsCommand.d.ts +19 -0
  55. package/dist-types/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +43 -0
  56. package/dist-types/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +42 -0
  57. package/dist-types/commands/ListSentimentDetectionJobsCommand.d.ts +43 -0
  58. package/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -0
  59. package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +43 -0
  60. package/dist-types/commands/ListTopicsDetectionJobsCommand.d.ts +43 -0
  61. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -0
  62. package/dist-types/commands/StartDocumentClassificationJobCommand.d.ts +9 -0
  63. package/dist-types/commands/StartDominantLanguageDetectionJobCommand.d.ts +8 -0
  64. package/dist-types/commands/StartEntitiesDetectionJobCommand.d.ts +9 -0
  65. package/dist-types/commands/StartEventsDetectionJobCommand.d.ts +8 -0
  66. package/dist-types/commands/StartFlywheelIterationCommand.d.ts +7 -0
  67. package/dist-types/commands/StartKeyPhrasesDetectionJobCommand.d.ts +8 -0
  68. package/dist-types/commands/StartPiiEntitiesDetectionJobCommand.d.ts +8 -0
  69. package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +8 -0
  70. package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +8 -0
  71. package/dist-types/commands/StartTopicsDetectionJobCommand.d.ts +8 -0
  72. package/dist-types/commands/StopDominantLanguageDetectionJobCommand.d.ts +7 -0
  73. package/dist-types/commands/StopEntitiesDetectionJobCommand.d.ts +7 -0
  74. package/dist-types/commands/StopEventsDetectionJobCommand.d.ts +7 -0
  75. package/dist-types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +7 -0
  76. package/dist-types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +7 -0
  77. package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +7 -0
  78. package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +7 -0
  79. package/dist-types/commands/StopTrainingDocumentClassifierCommand.d.ts +4 -0
  80. package/dist-types/commands/StopTrainingEntityRecognizerCommand.d.ts +4 -0
  81. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  82. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  83. package/dist-types/commands/UpdateEndpointCommand.d.ts +6 -0
  84. package/dist-types/commands/UpdateFlywheelCommand.d.ts +46 -0
  85. package/package.json +16 -16
@@ -38,6 +38,47 @@ export interface ListSentimentDetectionJobsCommandOutput extends ListSentimentDe
38
38
  * };
39
39
  * const command = new ListSentimentDetectionJobsCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // ListSentimentDetectionJobsResponse
42
+ * // SentimentDetectionJobPropertiesList: [ // SentimentDetectionJobPropertiesList
43
+ * // { // SentimentDetectionJobProperties
44
+ * // JobId: "STRING_VALUE",
45
+ * // JobArn: "STRING_VALUE",
46
+ * // JobName: "STRING_VALUE",
47
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
48
+ * // Message: "STRING_VALUE",
49
+ * // SubmitTime: new Date("TIMESTAMP"),
50
+ * // EndTime: new Date("TIMESTAMP"),
51
+ * // InputDataConfig: { // InputDataConfig
52
+ * // S3Uri: "STRING_VALUE", // required
53
+ * // InputFormat: "ONE_DOC_PER_FILE" || "ONE_DOC_PER_LINE",
54
+ * // DocumentReaderConfig: { // DocumentReaderConfig
55
+ * // DocumentReadAction: "TEXTRACT_DETECT_DOCUMENT_TEXT" || "TEXTRACT_ANALYZE_DOCUMENT", // required
56
+ * // DocumentReadMode: "SERVICE_DEFAULT" || "FORCE_DOCUMENT_READ_ACTION",
57
+ * // FeatureTypes: [ // ListOfDocumentReadFeatureTypes
58
+ * // "TABLES" || "FORMS",
59
+ * // ],
60
+ * // },
61
+ * // },
62
+ * // OutputDataConfig: { // OutputDataConfig
63
+ * // S3Uri: "STRING_VALUE", // required
64
+ * // KmsKeyId: "STRING_VALUE",
65
+ * // },
66
+ * // LanguageCode: "en" || "es" || "fr" || "de" || "it" || "pt" || "ar" || "hi" || "ja" || "ko" || "zh" || "zh-TW",
67
+ * // DataAccessRoleArn: "STRING_VALUE",
68
+ * // VolumeKmsKeyId: "STRING_VALUE",
69
+ * // VpcConfig: { // VpcConfig
70
+ * // SecurityGroupIds: [ // SecurityGroupIds // required
71
+ * // "STRING_VALUE",
72
+ * // ],
73
+ * // Subnets: [ // Subnets // required
74
+ * // "STRING_VALUE",
75
+ * // ],
76
+ * // },
77
+ * // },
78
+ * // ],
79
+ * // NextToken: "STRING_VALUE",
80
+ * // };
81
+ *
41
82
  * ```
42
83
  *
43
84
  * @param ListSentimentDetectionJobsCommandInput - {@link ListSentimentDetectionJobsCommandInput}
@@ -59,6 +100,8 @@ export interface ListSentimentDetectionJobsCommandOutput extends ListSentimentDe
59
100
  * @throws {@link TooManyRequestsException} (client fault)
60
101
  * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
61
102
  *
103
+ * @throws {@link ComprehendServiceException}
104
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
62
105
  *
63
106
  */
64
107
  export declare class ListSentimentDetectionJobsCommand extends $Command<ListSentimentDetectionJobsCommandInput, ListSentimentDetectionJobsCommandOutput, ComprehendClientResolvedConfig> {
@@ -31,6 +31,16 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceResponse
35
+ * // ResourceArn: "STRING_VALUE",
36
+ * // Tags: [ // TagList
37
+ * // { // Tag
38
+ * // Key: "STRING_VALUE", // required
39
+ * // Value: "STRING_VALUE",
40
+ * // },
41
+ * // ],
42
+ * // };
43
+ *
34
44
  * ```
35
45
  *
36
46
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -48,6 +58,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
48
58
  * @throws {@link ResourceNotFoundException} (client fault)
49
59
  * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
50
60
  *
61
+ * @throws {@link ComprehendServiceException}
62
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
51
63
  *
52
64
  */
53
65
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ComprehendClientResolvedConfig> {
@@ -38,6 +38,47 @@ export interface ListTargetedSentimentDetectionJobsCommandOutput extends ListTar
38
38
  * };
39
39
  * const command = new ListTargetedSentimentDetectionJobsCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // ListTargetedSentimentDetectionJobsResponse
42
+ * // TargetedSentimentDetectionJobPropertiesList: [ // TargetedSentimentDetectionJobPropertiesList
43
+ * // { // TargetedSentimentDetectionJobProperties
44
+ * // JobId: "STRING_VALUE",
45
+ * // JobArn: "STRING_VALUE",
46
+ * // JobName: "STRING_VALUE",
47
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
48
+ * // Message: "STRING_VALUE",
49
+ * // SubmitTime: new Date("TIMESTAMP"),
50
+ * // EndTime: new Date("TIMESTAMP"),
51
+ * // InputDataConfig: { // InputDataConfig
52
+ * // S3Uri: "STRING_VALUE", // required
53
+ * // InputFormat: "ONE_DOC_PER_FILE" || "ONE_DOC_PER_LINE",
54
+ * // DocumentReaderConfig: { // DocumentReaderConfig
55
+ * // DocumentReadAction: "TEXTRACT_DETECT_DOCUMENT_TEXT" || "TEXTRACT_ANALYZE_DOCUMENT", // required
56
+ * // DocumentReadMode: "SERVICE_DEFAULT" || "FORCE_DOCUMENT_READ_ACTION",
57
+ * // FeatureTypes: [ // ListOfDocumentReadFeatureTypes
58
+ * // "TABLES" || "FORMS",
59
+ * // ],
60
+ * // },
61
+ * // },
62
+ * // OutputDataConfig: { // OutputDataConfig
63
+ * // S3Uri: "STRING_VALUE", // required
64
+ * // KmsKeyId: "STRING_VALUE",
65
+ * // },
66
+ * // LanguageCode: "en" || "es" || "fr" || "de" || "it" || "pt" || "ar" || "hi" || "ja" || "ko" || "zh" || "zh-TW",
67
+ * // DataAccessRoleArn: "STRING_VALUE",
68
+ * // VolumeKmsKeyId: "STRING_VALUE",
69
+ * // VpcConfig: { // VpcConfig
70
+ * // SecurityGroupIds: [ // SecurityGroupIds // required
71
+ * // "STRING_VALUE",
72
+ * // ],
73
+ * // Subnets: [ // Subnets // required
74
+ * // "STRING_VALUE",
75
+ * // ],
76
+ * // },
77
+ * // },
78
+ * // ],
79
+ * // NextToken: "STRING_VALUE",
80
+ * // };
81
+ *
41
82
  * ```
42
83
  *
43
84
  * @param ListTargetedSentimentDetectionJobsCommandInput - {@link ListTargetedSentimentDetectionJobsCommandInput}
@@ -59,6 +100,8 @@ export interface ListTargetedSentimentDetectionJobsCommandOutput extends ListTar
59
100
  * @throws {@link TooManyRequestsException} (client fault)
60
101
  * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
61
102
  *
103
+ * @throws {@link ComprehendServiceException}
104
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
62
105
  *
63
106
  */
64
107
  export declare class ListTargetedSentimentDetectionJobsCommand extends $Command<ListTargetedSentimentDetectionJobsCommandInput, ListTargetedSentimentDetectionJobsCommandOutput, ComprehendClientResolvedConfig> {
@@ -38,6 +38,47 @@ export interface ListTopicsDetectionJobsCommandOutput extends ListTopicsDetectio
38
38
  * };
39
39
  * const command = new ListTopicsDetectionJobsCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // ListTopicsDetectionJobsResponse
42
+ * // TopicsDetectionJobPropertiesList: [ // TopicsDetectionJobPropertiesList
43
+ * // { // TopicsDetectionJobProperties
44
+ * // JobId: "STRING_VALUE",
45
+ * // JobArn: "STRING_VALUE",
46
+ * // JobName: "STRING_VALUE",
47
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
48
+ * // Message: "STRING_VALUE",
49
+ * // SubmitTime: new Date("TIMESTAMP"),
50
+ * // EndTime: new Date("TIMESTAMP"),
51
+ * // InputDataConfig: { // InputDataConfig
52
+ * // S3Uri: "STRING_VALUE", // required
53
+ * // InputFormat: "ONE_DOC_PER_FILE" || "ONE_DOC_PER_LINE",
54
+ * // DocumentReaderConfig: { // DocumentReaderConfig
55
+ * // DocumentReadAction: "TEXTRACT_DETECT_DOCUMENT_TEXT" || "TEXTRACT_ANALYZE_DOCUMENT", // required
56
+ * // DocumentReadMode: "SERVICE_DEFAULT" || "FORCE_DOCUMENT_READ_ACTION",
57
+ * // FeatureTypes: [ // ListOfDocumentReadFeatureTypes
58
+ * // "TABLES" || "FORMS",
59
+ * // ],
60
+ * // },
61
+ * // },
62
+ * // OutputDataConfig: { // OutputDataConfig
63
+ * // S3Uri: "STRING_VALUE", // required
64
+ * // KmsKeyId: "STRING_VALUE",
65
+ * // },
66
+ * // NumberOfTopics: Number("int"),
67
+ * // DataAccessRoleArn: "STRING_VALUE",
68
+ * // VolumeKmsKeyId: "STRING_VALUE",
69
+ * // VpcConfig: { // VpcConfig
70
+ * // SecurityGroupIds: [ // SecurityGroupIds // required
71
+ * // "STRING_VALUE",
72
+ * // ],
73
+ * // Subnets: [ // Subnets // required
74
+ * // "STRING_VALUE",
75
+ * // ],
76
+ * // },
77
+ * // },
78
+ * // ],
79
+ * // NextToken: "STRING_VALUE",
80
+ * // };
81
+ *
41
82
  * ```
42
83
  *
43
84
  * @param ListTopicsDetectionJobsCommandInput - {@link ListTopicsDetectionJobsCommandInput}
@@ -59,6 +100,8 @@ export interface ListTopicsDetectionJobsCommandOutput extends ListTopicsDetectio
59
100
  * @throws {@link TooManyRequestsException} (client fault)
60
101
  * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
61
102
  *
103
+ * @throws {@link ComprehendServiceException}
104
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
62
105
  *
63
106
  */
64
107
  export declare class ListTopicsDetectionJobsCommand extends $Command<ListTopicsDetectionJobsCommandInput, ListTopicsDetectionJobsCommandOutput, ComprehendClientResolvedConfig> {
@@ -35,6 +35,10 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
35
35
  * };
36
36
  * const command = new PutResourcePolicyCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // PutResourcePolicyResponse
39
+ * // PolicyRevisionId: "STRING_VALUE",
40
+ * // };
41
+ *
38
42
  * ```
39
43
  *
40
44
  * @param PutResourcePolicyCommandInput - {@link PutResourcePolicyCommandInput}
@@ -52,6 +56,8 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
52
56
  * @throws {@link ResourceNotFoundException} (client fault)
53
57
  * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
54
58
  *
59
+ * @throws {@link ComprehendServiceException}
60
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
55
61
  *
56
62
  */
57
63
  export declare class PutResourcePolicyCommand extends $Command<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, ComprehendClientResolvedConfig> {
@@ -67,6 +67,13 @@ export interface StartDocumentClassificationJobCommandOutput extends StartDocume
67
67
  * };
68
68
  * const command = new StartDocumentClassificationJobCommand(input);
69
69
  * const response = await client.send(command);
70
+ * // { // StartDocumentClassificationJobResponse
71
+ * // JobId: "STRING_VALUE",
72
+ * // JobArn: "STRING_VALUE",
73
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
74
+ * // DocumentClassifierArn: "STRING_VALUE",
75
+ * // };
76
+ *
70
77
  * ```
71
78
  *
72
79
  * @param StartDocumentClassificationJobCommandInput - {@link StartDocumentClassificationJobCommandInput}
@@ -104,6 +111,8 @@ export interface StartDocumentClassificationJobCommandOutput extends StartDocume
104
111
  * resource). The maximum number of tags includes both existing tags and those included in your
105
112
  * current request. </p>
106
113
  *
114
+ * @throws {@link ComprehendServiceException}
115
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
107
116
  *
108
117
  */
109
118
  export declare class StartDocumentClassificationJobCommand extends $Command<StartDocumentClassificationJobCommandInput, StartDocumentClassificationJobCommandOutput, ComprehendClientResolvedConfig> {
@@ -65,6 +65,12 @@ export interface StartDominantLanguageDetectionJobCommandOutput extends StartDom
65
65
  * };
66
66
  * const command = new StartDominantLanguageDetectionJobCommand(input);
67
67
  * const response = await client.send(command);
68
+ * // { // StartDominantLanguageDetectionJobResponse
69
+ * // JobId: "STRING_VALUE",
70
+ * // JobArn: "STRING_VALUE",
71
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
72
+ * // };
73
+ *
68
74
  * ```
69
75
  *
70
76
  * @param StartDominantLanguageDetectionJobCommandInput - {@link StartDominantLanguageDetectionJobCommandInput}
@@ -95,6 +101,8 @@ export interface StartDominantLanguageDetectionJobCommandOutput extends StartDom
95
101
  * resource). The maximum number of tags includes both existing tags and those included in your
96
102
  * current request. </p>
97
103
  *
104
+ * @throws {@link ComprehendServiceException}
105
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
98
106
  *
99
107
  */
100
108
  export declare class StartDominantLanguageDetectionJobCommand extends $Command<StartDominantLanguageDetectionJobCommandInput, StartDominantLanguageDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
@@ -70,6 +70,13 @@ export interface StartEntitiesDetectionJobCommandOutput extends StartEntitiesDet
70
70
  * };
71
71
  * const command = new StartEntitiesDetectionJobCommand(input);
72
72
  * const response = await client.send(command);
73
+ * // { // StartEntitiesDetectionJobResponse
74
+ * // JobId: "STRING_VALUE",
75
+ * // JobArn: "STRING_VALUE",
76
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
77
+ * // EntityRecognizerArn: "STRING_VALUE",
78
+ * // };
79
+ *
73
80
  * ```
74
81
  *
75
82
  * @param StartEntitiesDetectionJobCommandInput - {@link StartEntitiesDetectionJobCommandInput}
@@ -107,6 +114,8 @@ export interface StartEntitiesDetectionJobCommandOutput extends StartEntitiesDet
107
114
  * resource). The maximum number of tags includes both existing tags and those included in your
108
115
  * current request. </p>
109
116
  *
117
+ * @throws {@link ComprehendServiceException}
118
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
110
119
  *
111
120
  */
112
121
  export declare class StartEntitiesDetectionJobCommand extends $Command<StartEntitiesDetectionJobCommandInput, StartEntitiesDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
@@ -58,6 +58,12 @@ export interface StartEventsDetectionJobCommandOutput extends StartEventsDetecti
58
58
  * };
59
59
  * const command = new StartEventsDetectionJobCommand(input);
60
60
  * const response = await client.send(command);
61
+ * // { // StartEventsDetectionJobResponse
62
+ * // JobId: "STRING_VALUE",
63
+ * // JobArn: "STRING_VALUE",
64
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
65
+ * // };
66
+ *
61
67
  * ```
62
68
  *
63
69
  * @param StartEventsDetectionJobCommandInput - {@link StartEventsDetectionJobCommandInput}
@@ -88,6 +94,8 @@ export interface StartEventsDetectionJobCommandOutput extends StartEventsDetecti
88
94
  * resource). The maximum number of tags includes both existing tags and those included in your
89
95
  * current request. </p>
90
96
  *
97
+ * @throws {@link ComprehendServiceException}
98
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
91
99
  *
92
100
  */
93
101
  export declare class StartEventsDetectionJobCommand extends $Command<StartEventsDetectionJobCommandInput, StartEventsDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
@@ -34,6 +34,11 @@ export interface StartFlywheelIterationCommandOutput extends StartFlywheelIterat
34
34
  * };
35
35
  * const command = new StartFlywheelIterationCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // StartFlywheelIterationResponse
38
+ * // FlywheelArn: "STRING_VALUE",
39
+ * // FlywheelIterationId: "STRING_VALUE",
40
+ * // };
41
+ *
37
42
  * ```
38
43
  *
39
44
  * @param StartFlywheelIterationCommandInput - {@link StartFlywheelIterationCommandInput}
@@ -58,6 +63,8 @@ export interface StartFlywheelIterationCommandOutput extends StartFlywheelIterat
58
63
  * @throws {@link TooManyRequestsException} (client fault)
59
64
  * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
60
65
  *
66
+ * @throws {@link ComprehendServiceException}
67
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
61
68
  *
62
69
  */
63
70
  export declare class StartFlywheelIterationCommand extends $Command<StartFlywheelIterationCommandInput, StartFlywheelIterationCommandOutput, ComprehendClientResolvedConfig> {
@@ -66,6 +66,12 @@ export interface StartKeyPhrasesDetectionJobCommandOutput extends StartKeyPhrase
66
66
  * };
67
67
  * const command = new StartKeyPhrasesDetectionJobCommand(input);
68
68
  * const response = await client.send(command);
69
+ * // { // StartKeyPhrasesDetectionJobResponse
70
+ * // JobId: "STRING_VALUE",
71
+ * // JobArn: "STRING_VALUE",
72
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
73
+ * // };
74
+ *
69
75
  * ```
70
76
  *
71
77
  * @param StartKeyPhrasesDetectionJobCommandInput - {@link StartKeyPhrasesDetectionJobCommandInput}
@@ -96,6 +102,8 @@ export interface StartKeyPhrasesDetectionJobCommandOutput extends StartKeyPhrase
96
102
  * resource). The maximum number of tags includes both existing tags and those included in your
97
103
  * current request. </p>
98
104
  *
105
+ * @throws {@link ComprehendServiceException}
106
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
99
107
  *
100
108
  */
101
109
  export declare class StartKeyPhrasesDetectionJobCommand extends $Command<StartKeyPhrasesDetectionJobCommandInput, StartKeyPhrasesDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
@@ -63,6 +63,12 @@ export interface StartPiiEntitiesDetectionJobCommandOutput extends StartPiiEntit
63
63
  * };
64
64
  * const command = new StartPiiEntitiesDetectionJobCommand(input);
65
65
  * const response = await client.send(command);
66
+ * // { // StartPiiEntitiesDetectionJobResponse
67
+ * // JobId: "STRING_VALUE",
68
+ * // JobArn: "STRING_VALUE",
69
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
70
+ * // };
71
+ *
66
72
  * ```
67
73
  *
68
74
  * @param StartPiiEntitiesDetectionJobCommandInput - {@link StartPiiEntitiesDetectionJobCommandInput}
@@ -93,6 +99,8 @@ export interface StartPiiEntitiesDetectionJobCommandOutput extends StartPiiEntit
93
99
  * resource). The maximum number of tags includes both existing tags and those included in your
94
100
  * current request. </p>
95
101
  *
102
+ * @throws {@link ComprehendServiceException}
103
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
96
104
  *
97
105
  */
98
106
  export declare class StartPiiEntitiesDetectionJobCommand extends $Command<StartPiiEntitiesDetectionJobCommandInput, StartPiiEntitiesDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
@@ -66,6 +66,12 @@ export interface StartSentimentDetectionJobCommandOutput extends StartSentimentD
66
66
  * };
67
67
  * const command = new StartSentimentDetectionJobCommand(input);
68
68
  * const response = await client.send(command);
69
+ * // { // StartSentimentDetectionJobResponse
70
+ * // JobId: "STRING_VALUE",
71
+ * // JobArn: "STRING_VALUE",
72
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
73
+ * // };
74
+ *
69
75
  * ```
70
76
  *
71
77
  * @param StartSentimentDetectionJobCommandInput - {@link StartSentimentDetectionJobCommandInput}
@@ -96,6 +102,8 @@ export interface StartSentimentDetectionJobCommandOutput extends StartSentimentD
96
102
  * resource). The maximum number of tags includes both existing tags and those included in your
97
103
  * current request. </p>
98
104
  *
105
+ * @throws {@link ComprehendServiceException}
106
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
99
107
  *
100
108
  */
101
109
  export declare class StartSentimentDetectionJobCommand extends $Command<StartSentimentDetectionJobCommandInput, StartSentimentDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
@@ -66,6 +66,12 @@ export interface StartTargetedSentimentDetectionJobCommandOutput extends StartTa
66
66
  * };
67
67
  * const command = new StartTargetedSentimentDetectionJobCommand(input);
68
68
  * const response = await client.send(command);
69
+ * // { // StartTargetedSentimentDetectionJobResponse
70
+ * // JobId: "STRING_VALUE",
71
+ * // JobArn: "STRING_VALUE",
72
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
73
+ * // };
74
+ *
69
75
  * ```
70
76
  *
71
77
  * @param StartTargetedSentimentDetectionJobCommandInput - {@link StartTargetedSentimentDetectionJobCommandInput}
@@ -96,6 +102,8 @@ export interface StartTargetedSentimentDetectionJobCommandOutput extends StartTa
96
102
  * resource). The maximum number of tags includes both existing tags and those included in your
97
103
  * current request. </p>
98
104
  *
105
+ * @throws {@link ComprehendServiceException}
106
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
99
107
  *
100
108
  */
101
109
  export declare class StartTargetedSentimentDetectionJobCommand extends $Command<StartTargetedSentimentDetectionJobCommandInput, StartTargetedSentimentDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
@@ -65,6 +65,12 @@ export interface StartTopicsDetectionJobCommandOutput extends StartTopicsDetecti
65
65
  * };
66
66
  * const command = new StartTopicsDetectionJobCommand(input);
67
67
  * const response = await client.send(command);
68
+ * // { // StartTopicsDetectionJobResponse
69
+ * // JobId: "STRING_VALUE",
70
+ * // JobArn: "STRING_VALUE",
71
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
72
+ * // };
73
+ *
68
74
  * ```
69
75
  *
70
76
  * @param StartTopicsDetectionJobCommandInput - {@link StartTopicsDetectionJobCommandInput}
@@ -95,6 +101,8 @@ export interface StartTopicsDetectionJobCommandOutput extends StartTopicsDetecti
95
101
  * resource). The maximum number of tags includes both existing tags and those included in your
96
102
  * current request. </p>
97
103
  *
104
+ * @throws {@link ComprehendServiceException}
105
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
98
106
  *
99
107
  */
100
108
  export declare class StartTopicsDetectionJobCommand extends $Command<StartTopicsDetectionJobCommandInput, StartTopicsDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
@@ -40,6 +40,11 @@ export interface StopDominantLanguageDetectionJobCommandOutput extends StopDomin
40
40
  * };
41
41
  * const command = new StopDominantLanguageDetectionJobCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // StopDominantLanguageDetectionJobResponse
44
+ * // JobId: "STRING_VALUE",
45
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
46
+ * // };
47
+ *
43
48
  * ```
44
49
  *
45
50
  * @param StopDominantLanguageDetectionJobCommandInput - {@link StopDominantLanguageDetectionJobCommandInput}
@@ -57,6 +62,8 @@ export interface StopDominantLanguageDetectionJobCommandOutput extends StopDomin
57
62
  * @throws {@link JobNotFoundException} (client fault)
58
63
  * <p>The specified job was not found. Check the job ID and try again.</p>
59
64
  *
65
+ * @throws {@link ComprehendServiceException}
66
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
60
67
  *
61
68
  */
62
69
  export declare class StopDominantLanguageDetectionJobCommand extends $Command<StopDominantLanguageDetectionJobCommandInput, StopDominantLanguageDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
@@ -40,6 +40,11 @@ export interface StopEntitiesDetectionJobCommandOutput extends StopEntitiesDetec
40
40
  * };
41
41
  * const command = new StopEntitiesDetectionJobCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // StopEntitiesDetectionJobResponse
44
+ * // JobId: "STRING_VALUE",
45
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
46
+ * // };
47
+ *
43
48
  * ```
44
49
  *
45
50
  * @param StopEntitiesDetectionJobCommandInput - {@link StopEntitiesDetectionJobCommandInput}
@@ -57,6 +62,8 @@ export interface StopEntitiesDetectionJobCommandOutput extends StopEntitiesDetec
57
62
  * @throws {@link JobNotFoundException} (client fault)
58
63
  * <p>The specified job was not found. Check the job ID and try again.</p>
59
64
  *
65
+ * @throws {@link ComprehendServiceException}
66
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
60
67
  *
61
68
  */
62
69
  export declare class StopEntitiesDetectionJobCommand extends $Command<StopEntitiesDetectionJobCommandInput, StopEntitiesDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
@@ -31,6 +31,11 @@ export interface StopEventsDetectionJobCommandOutput extends StopEventsDetection
31
31
  * };
32
32
  * const command = new StopEventsDetectionJobCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // StopEventsDetectionJobResponse
35
+ * // JobId: "STRING_VALUE",
36
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
37
+ * // };
38
+ *
34
39
  * ```
35
40
  *
36
41
  * @param StopEventsDetectionJobCommandInput - {@link StopEventsDetectionJobCommandInput}
@@ -48,6 +53,8 @@ export interface StopEventsDetectionJobCommandOutput extends StopEventsDetection
48
53
  * @throws {@link JobNotFoundException} (client fault)
49
54
  * <p>The specified job was not found. Check the job ID and try again.</p>
50
55
  *
56
+ * @throws {@link ComprehendServiceException}
57
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
51
58
  *
52
59
  */
53
60
  export declare class StopEventsDetectionJobCommand extends $Command<StopEventsDetectionJobCommandInput, StopEventsDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
@@ -40,6 +40,11 @@ export interface StopKeyPhrasesDetectionJobCommandOutput extends StopKeyPhrasesD
40
40
  * };
41
41
  * const command = new StopKeyPhrasesDetectionJobCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // StopKeyPhrasesDetectionJobResponse
44
+ * // JobId: "STRING_VALUE",
45
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
46
+ * // };
47
+ *
43
48
  * ```
44
49
  *
45
50
  * @param StopKeyPhrasesDetectionJobCommandInput - {@link StopKeyPhrasesDetectionJobCommandInput}
@@ -57,6 +62,8 @@ export interface StopKeyPhrasesDetectionJobCommandOutput extends StopKeyPhrasesD
57
62
  * @throws {@link JobNotFoundException} (client fault)
58
63
  * <p>The specified job was not found. Check the job ID and try again.</p>
59
64
  *
65
+ * @throws {@link ComprehendServiceException}
66
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
60
67
  *
61
68
  */
62
69
  export declare class StopKeyPhrasesDetectionJobCommand extends $Command<StopKeyPhrasesDetectionJobCommandInput, StopKeyPhrasesDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
@@ -31,6 +31,11 @@ export interface StopPiiEntitiesDetectionJobCommandOutput extends StopPiiEntitie
31
31
  * };
32
32
  * const command = new StopPiiEntitiesDetectionJobCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // StopPiiEntitiesDetectionJobResponse
35
+ * // JobId: "STRING_VALUE",
36
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
37
+ * // };
38
+ *
34
39
  * ```
35
40
  *
36
41
  * @param StopPiiEntitiesDetectionJobCommandInput - {@link StopPiiEntitiesDetectionJobCommandInput}
@@ -48,6 +53,8 @@ export interface StopPiiEntitiesDetectionJobCommandOutput extends StopPiiEntitie
48
53
  * @throws {@link JobNotFoundException} (client fault)
49
54
  * <p>The specified job was not found. Check the job ID and try again.</p>
50
55
  *
56
+ * @throws {@link ComprehendServiceException}
57
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
51
58
  *
52
59
  */
53
60
  export declare class StopPiiEntitiesDetectionJobCommand extends $Command<StopPiiEntitiesDetectionJobCommandInput, StopPiiEntitiesDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
@@ -40,6 +40,11 @@ export interface StopSentimentDetectionJobCommandOutput extends StopSentimentDet
40
40
  * };
41
41
  * const command = new StopSentimentDetectionJobCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // StopSentimentDetectionJobResponse
44
+ * // JobId: "STRING_VALUE",
45
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
46
+ * // };
47
+ *
43
48
  * ```
44
49
  *
45
50
  * @param StopSentimentDetectionJobCommandInput - {@link StopSentimentDetectionJobCommandInput}
@@ -57,6 +62,8 @@ export interface StopSentimentDetectionJobCommandOutput extends StopSentimentDet
57
62
  * @throws {@link JobNotFoundException} (client fault)
58
63
  * <p>The specified job was not found. Check the job ID and try again.</p>
59
64
  *
65
+ * @throws {@link ComprehendServiceException}
66
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
60
67
  *
61
68
  */
62
69
  export declare class StopSentimentDetectionJobCommand extends $Command<StopSentimentDetectionJobCommandInput, StopSentimentDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
@@ -40,6 +40,11 @@ export interface StopTargetedSentimentDetectionJobCommandOutput extends StopTarg
40
40
  * };
41
41
  * const command = new StopTargetedSentimentDetectionJobCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // StopTargetedSentimentDetectionJobResponse
44
+ * // JobId: "STRING_VALUE",
45
+ * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
46
+ * // };
47
+ *
43
48
  * ```
44
49
  *
45
50
  * @param StopTargetedSentimentDetectionJobCommandInput - {@link StopTargetedSentimentDetectionJobCommandInput}
@@ -57,6 +62,8 @@ export interface StopTargetedSentimentDetectionJobCommandOutput extends StopTarg
57
62
  * @throws {@link JobNotFoundException} (client fault)
58
63
  * <p>The specified job was not found. Check the job ID and try again.</p>
59
64
  *
65
+ * @throws {@link ComprehendServiceException}
66
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
60
67
  *
61
68
  */
62
69
  export declare class StopTargetedSentimentDetectionJobCommand extends $Command<StopTargetedSentimentDetectionJobCommandInput, StopTargetedSentimentDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface StopTrainingDocumentClassifierCommandOutput extends StopTrainin
36
36
  * };
37
37
  * const command = new StopTrainingDocumentClassifierCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param StopTrainingDocumentClassifierCommandInput - {@link StopTrainingDocumentClassifierCommandInput}
@@ -56,6 +58,8 @@ export interface StopTrainingDocumentClassifierCommandOutput extends StopTrainin
56
58
  * @throws {@link TooManyRequestsException} (client fault)
57
59
  * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
58
60
  *
61
+ * @throws {@link ComprehendServiceException}
62
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
59
63
  *
60
64
  */
61
65
  export declare class StopTrainingDocumentClassifierCommand extends $Command<StopTrainingDocumentClassifierCommandInput, StopTrainingDocumentClassifierCommandOutput, ComprehendClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface StopTrainingEntityRecognizerCommandOutput extends StopTrainingE
36
36
  * };
37
37
  * const command = new StopTrainingEntityRecognizerCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param StopTrainingEntityRecognizerCommandInput - {@link StopTrainingEntityRecognizerCommandInput}
@@ -56,6 +58,8 @@ export interface StopTrainingEntityRecognizerCommandOutput extends StopTrainingE
56
58
  * @throws {@link TooManyRequestsException} (client fault)
57
59
  * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
58
60
  *
61
+ * @throws {@link ComprehendServiceException}
62
+ * <p>Base exception class for all service exceptions from Comprehend service.</p>
59
63
  *
60
64
  */
61
65
  export declare class StopTrainingEntityRecognizerCommand extends $Command<StopTrainingEntityRecognizerCommandInput, StopTrainingEntityRecognizerCommandOutput, ComprehendClientResolvedConfig> {