@aws-sdk/client-comprehend 3.53.0 → 3.55.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 (134) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/Comprehend.js +60 -0
  3. package/dist-cjs/ComprehendClient.js +13 -13
  4. package/dist-cjs/commands/BatchDetectDominantLanguageCommand.js +3 -3
  5. package/dist-cjs/commands/BatchDetectEntitiesCommand.js +3 -3
  6. package/dist-cjs/commands/BatchDetectKeyPhrasesCommand.js +3 -3
  7. package/dist-cjs/commands/BatchDetectSentimentCommand.js +3 -3
  8. package/dist-cjs/commands/BatchDetectSyntaxCommand.js +3 -3
  9. package/dist-cjs/commands/ClassifyDocumentCommand.js +3 -3
  10. package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +3 -3
  11. package/dist-cjs/commands/CreateDocumentClassifierCommand.js +3 -3
  12. package/dist-cjs/commands/CreateEndpointCommand.js +3 -3
  13. package/dist-cjs/commands/CreateEntityRecognizerCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteEndpointCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeEndpointCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +3 -3
  26. package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeResourcePolicyCommand.js +3 -3
  28. package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +3 -3
  29. package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +36 -0
  30. package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +3 -3
  31. package/dist-cjs/commands/DetectDominantLanguageCommand.js +3 -3
  32. package/dist-cjs/commands/DetectEntitiesCommand.js +3 -3
  33. package/dist-cjs/commands/DetectKeyPhrasesCommand.js +3 -3
  34. package/dist-cjs/commands/DetectPiiEntitiesCommand.js +3 -3
  35. package/dist-cjs/commands/DetectSentimentCommand.js +3 -3
  36. package/dist-cjs/commands/DetectSyntaxCommand.js +3 -3
  37. package/dist-cjs/commands/ImportModelCommand.js +3 -3
  38. package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +3 -3
  39. package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +3 -3
  40. package/dist-cjs/commands/ListDocumentClassifiersCommand.js +3 -3
  41. package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +3 -3
  42. package/dist-cjs/commands/ListEndpointsCommand.js +3 -3
  43. package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +3 -3
  44. package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +3 -3
  45. package/dist-cjs/commands/ListEntityRecognizersCommand.js +3 -3
  46. package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +3 -3
  47. package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +3 -3
  48. package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +3 -3
  49. package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +3 -3
  50. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  51. package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +36 -0
  52. package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +3 -3
  53. package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
  54. package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +3 -3
  55. package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +3 -3
  56. package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +3 -3
  57. package/dist-cjs/commands/StartEventsDetectionJobCommand.js +3 -3
  58. package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +3 -3
  59. package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +3 -3
  60. package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +3 -3
  61. package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +36 -0
  62. package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +3 -3
  63. package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +3 -3
  64. package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +3 -3
  65. package/dist-cjs/commands/StopEventsDetectionJobCommand.js +3 -3
  66. package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +3 -3
  67. package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +3 -3
  68. package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +3 -3
  69. package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +36 -0
  70. package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +3 -3
  71. package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +3 -3
  72. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  73. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  74. package/dist-cjs/commands/UpdateEndpointCommand.js +3 -3
  75. package/dist-cjs/commands/index.js +4 -0
  76. package/dist-cjs/endpoints.js +1 -1
  77. package/dist-cjs/models/models_0.js +63 -3
  78. package/dist-cjs/pagination/ListTargetedSentimentDetectionJobsPaginator.js +35 -0
  79. package/dist-cjs/pagination/index.js +1 -0
  80. package/dist-cjs/protocols/Aws_json1_1.js +740 -399
  81. package/dist-cjs/runtimeConfig.browser.js +4 -4
  82. package/dist-cjs/runtimeConfig.js +9 -9
  83. package/dist-cjs/runtimeConfig.native.js +1 -1
  84. package/dist-es/Comprehend.js +127 -67
  85. package/dist-es/commands/DescribeTargetedSentimentDetectionJobCommand.js +39 -0
  86. package/dist-es/commands/ListTargetedSentimentDetectionJobsCommand.js +39 -0
  87. package/dist-es/commands/StartTargetedSentimentDetectionJobCommand.js +39 -0
  88. package/dist-es/commands/StopTargetedSentimentDetectionJobCommand.js +39 -0
  89. package/dist-es/commands/index.js +4 -0
  90. package/dist-es/models/models_0.js +40 -0
  91. package/dist-es/pagination/ListDocumentClassificationJobsPaginator.js +4 -4
  92. package/dist-es/pagination/ListDocumentClassifierSummariesPaginator.js +4 -4
  93. package/dist-es/pagination/ListDocumentClassifiersPaginator.js +4 -4
  94. package/dist-es/pagination/ListDominantLanguageDetectionJobsPaginator.js +4 -4
  95. package/dist-es/pagination/ListEntitiesDetectionJobsPaginator.js +4 -4
  96. package/dist-es/pagination/ListEntityRecognizerSummariesPaginator.js +4 -4
  97. package/dist-es/pagination/ListEntityRecognizersPaginator.js +4 -4
  98. package/dist-es/pagination/ListEventsDetectionJobsPaginator.js +4 -4
  99. package/dist-es/pagination/ListKeyPhrasesDetectionJobsPaginator.js +4 -4
  100. package/dist-es/pagination/ListSentimentDetectionJobsPaginator.js +4 -4
  101. package/dist-es/pagination/ListTargetedSentimentDetectionJobsPaginator.js +74 -0
  102. package/dist-es/pagination/ListTopicsDetectionJobsPaginator.js +4 -4
  103. package/dist-es/pagination/index.js +1 -0
  104. package/dist-es/protocols/Aws_json1_1.js +390 -0
  105. package/dist-types/Comprehend.d.ts +41 -1
  106. package/dist-types/ComprehendClient.d.ts +8 -4
  107. package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +36 -0
  108. package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +35 -0
  109. package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +1 -1
  110. package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +37 -0
  111. package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +44 -0
  112. package/dist-types/commands/index.d.ts +4 -0
  113. package/dist-types/models/models_0.d.ts +336 -2
  114. package/dist-types/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +4 -0
  115. package/dist-types/pagination/index.d.ts +1 -0
  116. package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
  117. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  118. package/dist-types/runtimeConfig.d.ts +1 -1
  119. package/dist-types/runtimeConfig.native.d.ts +3 -3
  120. package/dist-types/ts3.4/Comprehend.d.ts +20 -0
  121. package/dist-types/ts3.4/ComprehendClient.d.ts +8 -4
  122. package/dist-types/ts3.4/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +17 -0
  124. package/dist-types/ts3.4/commands/StartTargetedSentimentDetectionJobCommand.d.ts +17 -0
  125. package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +17 -0
  126. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  127. package/dist-types/ts3.4/models/models_0.d.ts +140 -0
  128. package/dist-types/ts3.4/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +4 -0
  129. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  130. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  131. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  132. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  133. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  134. package/package.json +34 -34
@@ -1912,7 +1912,7 @@ export declare enum JobStatus {
1912
1912
  SUBMITTED = "SUBMITTED"
1913
1913
  }
1914
1914
  /**
1915
- * <p>Provides configuration parameters for the output of topic detection jobs.</p>
1915
+ * <p>Provides configuration parameters for the output of inference jobs.</p>
1916
1916
  * <p></p>
1917
1917
  */
1918
1918
  export interface OutputDataConfig {
@@ -1925,6 +1925,10 @@ export interface OutputDataConfig {
1925
1925
  * directory specific to the job. The <code>S3Uri</code> field contains the location of the
1926
1926
  * output file, called <code>output.tar.gz</code>. It is a compressed archive that contains the
1927
1927
  * ouput of the operation.</p>
1928
+ * <p>
1929
+ * For a PII entity detection job, the output file is plain text, not a compressed archive.
1930
+ * The output file name is the same as the input file, with <code>.out</code> appended at the end.
1931
+ * </p>
1928
1932
  */
1929
1933
  S3Uri: string | undefined;
1930
1934
  /**
@@ -2646,7 +2650,10 @@ export interface EntityRecognizerEvaluationMetrics {
2646
2650
  /**
2647
2651
  * <p>A measure of how accurate the recognizer results are for the test data. It is derived from
2648
2652
  * the <code>Precision</code> and <code>Recall</code> values. The <code>F1Score</code> is the
2649
- * harmonic average of the two scores. The highest score is 1, and the worst score is 0. </p>
2653
+ * harmonic average of the two scores. For plain text entity recognizer models, the range is 0 to 100,
2654
+ * where 100 is the best score. For PDF/Word entity recognizer models, the range is 0 to 1,
2655
+ * where 1 is the best score.
2656
+ * </p>
2650
2657
  */
2651
2658
  F1Score?: number;
2652
2659
  }
@@ -3038,6 +3045,10 @@ export interface PiiOutputDataConfig {
3038
3045
  /**
3039
3046
  * <p>When you use the <code>PiiOutputDataConfig</code> object with asynchronous operations,
3040
3047
  * you specify the Amazon S3 location where you want to write the output data. </p>
3048
+ * <p>
3049
+ * For a PII entity detection job, the output file is plain text, not a compressed archive.
3050
+ * The output file name is the same as the input file, with <code>.out</code> appended at the end.
3051
+ * </p>
3041
3052
  */
3042
3053
  S3Uri: string | undefined;
3043
3054
  /**
@@ -3325,6 +3336,121 @@ export declare namespace DescribeSentimentDetectionJobResponse {
3325
3336
  */
3326
3337
  const filterSensitiveLog: (obj: DescribeSentimentDetectionJobResponse) => any;
3327
3338
  }
3339
+ export interface DescribeTargetedSentimentDetectionJobRequest {
3340
+ /**
3341
+ * <p>The identifier that Amazon Comprehend generated for the job. The operation returns this identifier in its
3342
+ * response.</p>
3343
+ */
3344
+ JobId: string | undefined;
3345
+ }
3346
+ export declare namespace DescribeTargetedSentimentDetectionJobRequest {
3347
+ /**
3348
+ * @internal
3349
+ */
3350
+ const filterSensitiveLog: (obj: DescribeTargetedSentimentDetectionJobRequest) => any;
3351
+ }
3352
+ /**
3353
+ * <p>Provides information about a targeted sentiment detection job.</p>
3354
+ */
3355
+ export interface TargetedSentimentDetectionJobProperties {
3356
+ /**
3357
+ * <p>The identifier assigned to the targeted sentiment detection job.</p>
3358
+ */
3359
+ JobId?: string;
3360
+ /**
3361
+ * <p>The Amazon Resource Name (ARN) of the targeted sentiment detection job. It is a unique, fully
3362
+ * qualified identifier for the job. It includes the AWS account, Region, and the job ID. The
3363
+ * format of the ARN is as follows:</p>
3364
+ * <p>
3365
+ * <code>arn:<partition>:comprehend:<region>:<account-id>:targeted-sentiment-detection-job/<job-id></code>
3366
+ * </p>
3367
+ * <p>The following is an example job ARN:</p>
3368
+ * <p>
3369
+ * <code>arn:aws:comprehend:us-west-2:111122223333:targeted-sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab</code>
3370
+ * </p>
3371
+ */
3372
+ JobArn?: string;
3373
+ /**
3374
+ * <p>The name that you assigned to the targeted sentiment detection job.</p>
3375
+ */
3376
+ JobName?: string;
3377
+ /**
3378
+ * <p>The current status of the targeted sentiment detection job. If the status is <code>FAILED</code>,
3379
+ * the <code>Messages</code> field shows the reason for the failure.</p>
3380
+ */
3381
+ JobStatus?: JobStatus | string;
3382
+ /**
3383
+ * <p>A description of the status of a job.</p>
3384
+ */
3385
+ Message?: string;
3386
+ /**
3387
+ * <p>The time that the targeted sentiment detection job was submitted for processing.</p>
3388
+ */
3389
+ SubmitTime?: Date;
3390
+ /**
3391
+ * <p>The time that the targeted sentiment detection job ended.</p>
3392
+ */
3393
+ EndTime?: Date;
3394
+ /**
3395
+ * <p>The input properties for an inference job.</p>
3396
+ */
3397
+ InputDataConfig?: InputDataConfig;
3398
+ /**
3399
+ * <p>Provides configuration parameters for the output of inference jobs.</p>
3400
+ * <p></p>
3401
+ */
3402
+ OutputDataConfig?: OutputDataConfig;
3403
+ /**
3404
+ * <p>The language code of the input documents.</p>
3405
+ */
3406
+ LanguageCode?: LanguageCode | string;
3407
+ /**
3408
+ * <p>The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input
3409
+ * data.</p>
3410
+ */
3411
+ DataAccessRoleArn?: string;
3412
+ /**
3413
+ * <p>ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt
3414
+ * data on the storage volume attached to the ML compute instance(s) that process the
3415
+ * targeted sentiment detection job. The VolumeKmsKeyId can be either of the following formats:</p>
3416
+ * <ul>
3417
+ * <li>
3418
+ * <p>KMS Key ID: <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code>
3419
+ * </p>
3420
+ * </li>
3421
+ * <li>
3422
+ * <p>Amazon Resource Name (ARN) of a KMS Key:
3423
+ * <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
3424
+ * </p>
3425
+ * </li>
3426
+ * </ul>
3427
+ */
3428
+ VolumeKmsKeyId?: string;
3429
+ /**
3430
+ * <p> Configuration parameters for an optional private Virtual Private Cloud (VPC) containing
3431
+ * the resources you are using for the job. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon
3432
+ * VPC</a>. </p>
3433
+ */
3434
+ VpcConfig?: VpcConfig;
3435
+ }
3436
+ export declare namespace TargetedSentimentDetectionJobProperties {
3437
+ /**
3438
+ * @internal
3439
+ */
3440
+ const filterSensitiveLog: (obj: TargetedSentimentDetectionJobProperties) => any;
3441
+ }
3442
+ export interface DescribeTargetedSentimentDetectionJobResponse {
3443
+ /**
3444
+ * <p>An object that contains the properties associated with a targeted sentiment detection job.</p>
3445
+ */
3446
+ TargetedSentimentDetectionJobProperties?: TargetedSentimentDetectionJobProperties;
3447
+ }
3448
+ export declare namespace DescribeTargetedSentimentDetectionJobResponse {
3449
+ /**
3450
+ * @internal
3451
+ */
3452
+ const filterSensitiveLog: (obj: DescribeTargetedSentimentDetectionJobResponse) => any;
3453
+ }
3328
3454
  export interface DescribeTopicsDetectionJobRequest {
3329
3455
  /**
3330
3456
  * <p>The identifier assigned by the user to the detection job.</p>
@@ -4617,6 +4743,76 @@ export declare namespace ListTagsForResourceResponse {
4617
4743
  */
4618
4744
  const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
4619
4745
  }
4746
+ /**
4747
+ * <p>Provides information for filtering a list of dominant language detection jobs. For more
4748
+ * information, see the operation.</p>
4749
+ */
4750
+ export interface TargetedSentimentDetectionJobFilter {
4751
+ /**
4752
+ * <p>Filters on the name of the job.</p>
4753
+ */
4754
+ JobName?: string;
4755
+ /**
4756
+ * <p>Filters the list of jobs based on job status. Returns only jobs with the specified
4757
+ * status.</p>
4758
+ */
4759
+ JobStatus?: JobStatus | string;
4760
+ /**
4761
+ * <p>Filters the list of jobs based on the time that the job was submitted for processing.
4762
+ * Returns only jobs submitted before the specified time. Jobs are returned in ascending order,
4763
+ * oldest to newest.</p>
4764
+ */
4765
+ SubmitTimeBefore?: Date;
4766
+ /**
4767
+ * <p>Filters the list of jobs based on the time that the job was submitted for processing.
4768
+ * Returns only jobs submitted after the specified time. Jobs are returned in descending order,
4769
+ * newest to oldest.</p>
4770
+ */
4771
+ SubmitTimeAfter?: Date;
4772
+ }
4773
+ export declare namespace TargetedSentimentDetectionJobFilter {
4774
+ /**
4775
+ * @internal
4776
+ */
4777
+ const filterSensitiveLog: (obj: TargetedSentimentDetectionJobFilter) => any;
4778
+ }
4779
+ export interface ListTargetedSentimentDetectionJobsRequest {
4780
+ /**
4781
+ * <p>Filters the jobs that are returned. You can filter jobs on their name, status, or the date
4782
+ * and time that they were submitted. You can only set one filter at a time.</p>
4783
+ */
4784
+ Filter?: TargetedSentimentDetectionJobFilter;
4785
+ /**
4786
+ * <p>Identifies the next page of results to return.</p>
4787
+ */
4788
+ NextToken?: string;
4789
+ /**
4790
+ * <p>The maximum number of results to return in each page. The default is 100.</p>
4791
+ */
4792
+ MaxResults?: number;
4793
+ }
4794
+ export declare namespace ListTargetedSentimentDetectionJobsRequest {
4795
+ /**
4796
+ * @internal
4797
+ */
4798
+ const filterSensitiveLog: (obj: ListTargetedSentimentDetectionJobsRequest) => any;
4799
+ }
4800
+ export interface ListTargetedSentimentDetectionJobsResponse {
4801
+ /**
4802
+ * <p>A list containing the properties of each job that is returned.</p>
4803
+ */
4804
+ TargetedSentimentDetectionJobPropertiesList?: TargetedSentimentDetectionJobProperties[];
4805
+ /**
4806
+ * <p>Identifies the next page of results to return.</p>
4807
+ */
4808
+ NextToken?: string;
4809
+ }
4810
+ export declare namespace ListTargetedSentimentDetectionJobsResponse {
4811
+ /**
4812
+ * @internal
4813
+ */
4814
+ const filterSensitiveLog: (obj: ListTargetedSentimentDetectionJobsResponse) => any;
4815
+ }
4620
4816
  /**
4621
4817
  * <p>Provides information for filtering topic detection jobs. For more information, see
4622
4818
  * .</p>
@@ -5447,6 +5643,114 @@ export declare namespace StartSentimentDetectionJobResponse {
5447
5643
  */
5448
5644
  const filterSensitiveLog: (obj: StartSentimentDetectionJobResponse) => any;
5449
5645
  }
5646
+ export interface StartTargetedSentimentDetectionJobRequest {
5647
+ /**
5648
+ * <p>The input properties for an inference job.</p>
5649
+ */
5650
+ InputDataConfig: InputDataConfig | undefined;
5651
+ /**
5652
+ * <p>Specifies where to send the output files. </p>
5653
+ */
5654
+ OutputDataConfig: OutputDataConfig | undefined;
5655
+ /**
5656
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
5657
+ * grants Amazon Comprehend read access to your input data. For more information, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions">Role-based permissions</a>.</p>
5658
+ */
5659
+ DataAccessRoleArn: string | undefined;
5660
+ /**
5661
+ * <p>The identifier of the job.</p>
5662
+ */
5663
+ JobName?: string;
5664
+ /**
5665
+ * <p>The language of the input documents. You can specify any of the primary languages
5666
+ * supported by Amazon Comprehend. All documents must be in the same language.</p>
5667
+ */
5668
+ LanguageCode: LanguageCode | string | undefined;
5669
+ /**
5670
+ * <p>A unique identifier for the request. If you don't set the client request token, Amazon
5671
+ * Comprehend generates one.</p>
5672
+ */
5673
+ ClientRequestToken?: string;
5674
+ /**
5675
+ * <p>ID for the KMS key that Amazon Comprehend uses to encrypt
5676
+ * data on the storage volume attached to the ML compute instance(s) that process the analysis
5677
+ * job. The VolumeKmsKeyId can be either of the following formats:</p>
5678
+ * <ul>
5679
+ * <li>
5680
+ * <p>KMS Key ID: <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code>
5681
+ * </p>
5682
+ * </li>
5683
+ * <li>
5684
+ * <p>Amazon Resource Name (ARN) of a KMS Key:
5685
+ * <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
5686
+ * </p>
5687
+ * </li>
5688
+ * </ul>
5689
+ */
5690
+ VolumeKmsKeyId?: string;
5691
+ /**
5692
+ * <p> Configuration parameters for an optional private Virtual Private Cloud (VPC) containing
5693
+ * the resources you are using for the job. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon
5694
+ * VPC</a>. </p>
5695
+ */
5696
+ VpcConfig?: VpcConfig;
5697
+ /**
5698
+ * <p>Tags to be associated with the targeted sentiment detection job. A tag is a key-value pair that
5699
+ * adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the
5700
+ * key might be added to a resource to indicate its use by the sales department.</p>
5701
+ */
5702
+ Tags?: Tag[];
5703
+ }
5704
+ export declare namespace StartTargetedSentimentDetectionJobRequest {
5705
+ /**
5706
+ * @internal
5707
+ */
5708
+ const filterSensitiveLog: (obj: StartTargetedSentimentDetectionJobRequest) => any;
5709
+ }
5710
+ export interface StartTargetedSentimentDetectionJobResponse {
5711
+ /**
5712
+ * <p>The identifier generated for the job. To get the status of a job, use this identifier with
5713
+ * the operation.</p>
5714
+ */
5715
+ JobId?: string;
5716
+ /**
5717
+ * <p>The Amazon Resource Name (ARN) of the targeted sentiment detection job. It is a unique, fully
5718
+ * qualified identifier for the job. It includes the AWS account, Region, and the job ID. The
5719
+ * format of the ARN is as follows:</p>
5720
+ * <p>
5721
+ * <code>arn:<partition>:comprehend:<region>:<account-id>:targeted-sentiment-detection-job/<job-id></code>
5722
+ * </p>
5723
+ * <p>The following is an example job ARN:</p>
5724
+ * <p>
5725
+ * <code>arn:aws:comprehend:us-west-2:111122223333:targeted-sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab</code>
5726
+ * </p>
5727
+ */
5728
+ JobArn?: string;
5729
+ /**
5730
+ * <p>The status of the job. </p>
5731
+ * <ul>
5732
+ * <li>
5733
+ * <p>SUBMITTED - The job has been received and is queued for processing.</p>
5734
+ * </li>
5735
+ * <li>
5736
+ * <p>IN_PROGRESS - Amazon Comprehend is processing the job.</p>
5737
+ * </li>
5738
+ * <li>
5739
+ * <p>COMPLETED - The job was successfully completed and the output is available.</p>
5740
+ * </li>
5741
+ * <li>
5742
+ * <p>FAILED - The job did not complete. To get details, use the operation.</p>
5743
+ * </li>
5744
+ * </ul>
5745
+ */
5746
+ JobStatus?: JobStatus | string;
5747
+ }
5748
+ export declare namespace StartTargetedSentimentDetectionJobResponse {
5749
+ /**
5750
+ * @internal
5751
+ */
5752
+ const filterSensitiveLog: (obj: StartTargetedSentimentDetectionJobResponse) => any;
5753
+ }
5450
5754
  export interface StartTopicsDetectionJobRequest {
5451
5755
  /**
5452
5756
  * <p>Specifies the format and location of the input data for the job.</p>
@@ -5734,6 +6038,36 @@ export declare namespace StopSentimentDetectionJobResponse {
5734
6038
  */
5735
6039
  const filterSensitiveLog: (obj: StopSentimentDetectionJobResponse) => any;
5736
6040
  }
6041
+ export interface StopTargetedSentimentDetectionJobRequest {
6042
+ /**
6043
+ * <p>The identifier of the targeted sentiment detection job to stop.</p>
6044
+ */
6045
+ JobId: string | undefined;
6046
+ }
6047
+ export declare namespace StopTargetedSentimentDetectionJobRequest {
6048
+ /**
6049
+ * @internal
6050
+ */
6051
+ const filterSensitiveLog: (obj: StopTargetedSentimentDetectionJobRequest) => any;
6052
+ }
6053
+ export interface StopTargetedSentimentDetectionJobResponse {
6054
+ /**
6055
+ * <p>The identifier of the targeted sentiment detection job to stop.</p>
6056
+ */
6057
+ JobId?: string;
6058
+ /**
6059
+ * <p>Either <code>STOP_REQUESTED</code> if the job is currently running, or
6060
+ * <code>STOPPED</code> if the job was previously stopped with the
6061
+ * <code>StopSentimentDetectionJob</code> operation.</p>
6062
+ */
6063
+ JobStatus?: JobStatus | string;
6064
+ }
6065
+ export declare namespace StopTargetedSentimentDetectionJobResponse {
6066
+ /**
6067
+ * @internal
6068
+ */
6069
+ const filterSensitiveLog: (obj: StopTargetedSentimentDetectionJobResponse) => any;
6070
+ }
5737
6071
  export interface StopTrainingDocumentClassifierRequest {
5738
6072
  /**
5739
6073
  * <p>The Amazon Resource Name (ARN) that identifies the document classifier currently being
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListTargetedSentimentDetectionJobsCommandInput, ListTargetedSentimentDetectionJobsCommandOutput } from "../commands/ListTargetedSentimentDetectionJobsCommand";
3
+ import { ComprehendPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListTargetedSentimentDetectionJobs(config: ComprehendPaginationConfiguration, input: ListTargetedSentimentDetectionJobsCommandInput, ...additionalArguments: any): Paginator<ListTargetedSentimentDetectionJobsCommandOutput>;
@@ -9,4 +9,5 @@ export * from "./ListEntityRecognizersPaginator";
9
9
  export * from "./ListEventsDetectionJobsPaginator";
10
10
  export * from "./ListKeyPhrasesDetectionJobsPaginator";
11
11
  export * from "./ListSentimentDetectionJobsPaginator";
12
+ export * from "./ListTargetedSentimentDetectionJobsPaginator";
12
13
  export * from "./ListTopicsDetectionJobsPaginator";
@@ -25,6 +25,7 @@ import { DescribeKeyPhrasesDetectionJobCommandInput, DescribeKeyPhrasesDetection
25
25
  import { DescribePiiEntitiesDetectionJobCommandInput, DescribePiiEntitiesDetectionJobCommandOutput } from "../commands/DescribePiiEntitiesDetectionJobCommand";
26
26
  import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput } from "../commands/DescribeResourcePolicyCommand";
27
27
  import { DescribeSentimentDetectionJobCommandInput, DescribeSentimentDetectionJobCommandOutput } from "../commands/DescribeSentimentDetectionJobCommand";
28
+ import { DescribeTargetedSentimentDetectionJobCommandInput, DescribeTargetedSentimentDetectionJobCommandOutput } from "../commands/DescribeTargetedSentimentDetectionJobCommand";
28
29
  import { DescribeTopicsDetectionJobCommandInput, DescribeTopicsDetectionJobCommandOutput } from "../commands/DescribeTopicsDetectionJobCommand";
29
30
  import { DetectDominantLanguageCommandInput, DetectDominantLanguageCommandOutput } from "../commands/DetectDominantLanguageCommand";
30
31
  import { DetectEntitiesCommandInput, DetectEntitiesCommandOutput } from "../commands/DetectEntitiesCommand";
@@ -46,6 +47,7 @@ import { ListKeyPhrasesDetectionJobsCommandInput, ListKeyPhrasesDetectionJobsCom
46
47
  import { ListPiiEntitiesDetectionJobsCommandInput, ListPiiEntitiesDetectionJobsCommandOutput } from "../commands/ListPiiEntitiesDetectionJobsCommand";
47
48
  import { ListSentimentDetectionJobsCommandInput, ListSentimentDetectionJobsCommandOutput } from "../commands/ListSentimentDetectionJobsCommand";
48
49
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
50
+ import { ListTargetedSentimentDetectionJobsCommandInput, ListTargetedSentimentDetectionJobsCommandOutput } from "../commands/ListTargetedSentimentDetectionJobsCommand";
49
51
  import { ListTopicsDetectionJobsCommandInput, ListTopicsDetectionJobsCommandOutput } from "../commands/ListTopicsDetectionJobsCommand";
50
52
  import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand";
51
53
  import { StartDocumentClassificationJobCommandInput, StartDocumentClassificationJobCommandOutput } from "../commands/StartDocumentClassificationJobCommand";
@@ -55,6 +57,7 @@ import { StartEventsDetectionJobCommandInput, StartEventsDetectionJobCommandOutp
55
57
  import { StartKeyPhrasesDetectionJobCommandInput, StartKeyPhrasesDetectionJobCommandOutput } from "../commands/StartKeyPhrasesDetectionJobCommand";
56
58
  import { StartPiiEntitiesDetectionJobCommandInput, StartPiiEntitiesDetectionJobCommandOutput } from "../commands/StartPiiEntitiesDetectionJobCommand";
57
59
  import { StartSentimentDetectionJobCommandInput, StartSentimentDetectionJobCommandOutput } from "../commands/StartSentimentDetectionJobCommand";
60
+ import { StartTargetedSentimentDetectionJobCommandInput, StartTargetedSentimentDetectionJobCommandOutput } from "../commands/StartTargetedSentimentDetectionJobCommand";
58
61
  import { StartTopicsDetectionJobCommandInput, StartTopicsDetectionJobCommandOutput } from "../commands/StartTopicsDetectionJobCommand";
59
62
  import { StopDominantLanguageDetectionJobCommandInput, StopDominantLanguageDetectionJobCommandOutput } from "../commands/StopDominantLanguageDetectionJobCommand";
60
63
  import { StopEntitiesDetectionJobCommandInput, StopEntitiesDetectionJobCommandOutput } from "../commands/StopEntitiesDetectionJobCommand";
@@ -62,6 +65,7 @@ import { StopEventsDetectionJobCommandInput, StopEventsDetectionJobCommandOutput
62
65
  import { StopKeyPhrasesDetectionJobCommandInput, StopKeyPhrasesDetectionJobCommandOutput } from "../commands/StopKeyPhrasesDetectionJobCommand";
63
66
  import { StopPiiEntitiesDetectionJobCommandInput, StopPiiEntitiesDetectionJobCommandOutput } from "../commands/StopPiiEntitiesDetectionJobCommand";
64
67
  import { StopSentimentDetectionJobCommandInput, StopSentimentDetectionJobCommandOutput } from "../commands/StopSentimentDetectionJobCommand";
68
+ import { StopTargetedSentimentDetectionJobCommandInput, StopTargetedSentimentDetectionJobCommandOutput } from "../commands/StopTargetedSentimentDetectionJobCommand";
65
69
  import { StopTrainingDocumentClassifierCommandInput, StopTrainingDocumentClassifierCommandOutput } from "../commands/StopTrainingDocumentClassifierCommand";
66
70
  import { StopTrainingEntityRecognizerCommandInput, StopTrainingEntityRecognizerCommandOutput } from "../commands/StopTrainingEntityRecognizerCommand";
67
71
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
@@ -92,6 +96,7 @@ export declare const serializeAws_json1_1DescribeKeyPhrasesDetectionJobCommand:
92
96
  export declare const serializeAws_json1_1DescribePiiEntitiesDetectionJobCommand: (input: DescribePiiEntitiesDetectionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
93
97
  export declare const serializeAws_json1_1DescribeResourcePolicyCommand: (input: DescribeResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
94
98
  export declare const serializeAws_json1_1DescribeSentimentDetectionJobCommand: (input: DescribeSentimentDetectionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
99
+ export declare const serializeAws_json1_1DescribeTargetedSentimentDetectionJobCommand: (input: DescribeTargetedSentimentDetectionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
95
100
  export declare const serializeAws_json1_1DescribeTopicsDetectionJobCommand: (input: DescribeTopicsDetectionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
96
101
  export declare const serializeAws_json1_1DetectDominantLanguageCommand: (input: DetectDominantLanguageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
97
102
  export declare const serializeAws_json1_1DetectEntitiesCommand: (input: DetectEntitiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -113,6 +118,7 @@ export declare const serializeAws_json1_1ListKeyPhrasesDetectionJobsCommand: (in
113
118
  export declare const serializeAws_json1_1ListPiiEntitiesDetectionJobsCommand: (input: ListPiiEntitiesDetectionJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
114
119
  export declare const serializeAws_json1_1ListSentimentDetectionJobsCommand: (input: ListSentimentDetectionJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
115
120
  export declare const serializeAws_json1_1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
121
+ export declare const serializeAws_json1_1ListTargetedSentimentDetectionJobsCommand: (input: ListTargetedSentimentDetectionJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
116
122
  export declare const serializeAws_json1_1ListTopicsDetectionJobsCommand: (input: ListTopicsDetectionJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
117
123
  export declare const serializeAws_json1_1PutResourcePolicyCommand: (input: PutResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
118
124
  export declare const serializeAws_json1_1StartDocumentClassificationJobCommand: (input: StartDocumentClassificationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -122,6 +128,7 @@ export declare const serializeAws_json1_1StartEventsDetectionJobCommand: (input:
122
128
  export declare const serializeAws_json1_1StartKeyPhrasesDetectionJobCommand: (input: StartKeyPhrasesDetectionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
123
129
  export declare const serializeAws_json1_1StartPiiEntitiesDetectionJobCommand: (input: StartPiiEntitiesDetectionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
124
130
  export declare const serializeAws_json1_1StartSentimentDetectionJobCommand: (input: StartSentimentDetectionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
131
+ export declare const serializeAws_json1_1StartTargetedSentimentDetectionJobCommand: (input: StartTargetedSentimentDetectionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
125
132
  export declare const serializeAws_json1_1StartTopicsDetectionJobCommand: (input: StartTopicsDetectionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
126
133
  export declare const serializeAws_json1_1StopDominantLanguageDetectionJobCommand: (input: StopDominantLanguageDetectionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
127
134
  export declare const serializeAws_json1_1StopEntitiesDetectionJobCommand: (input: StopEntitiesDetectionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -129,6 +136,7 @@ export declare const serializeAws_json1_1StopEventsDetectionJobCommand: (input:
129
136
  export declare const serializeAws_json1_1StopKeyPhrasesDetectionJobCommand: (input: StopKeyPhrasesDetectionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
130
137
  export declare const serializeAws_json1_1StopPiiEntitiesDetectionJobCommand: (input: StopPiiEntitiesDetectionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
131
138
  export declare const serializeAws_json1_1StopSentimentDetectionJobCommand: (input: StopSentimentDetectionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
139
+ export declare const serializeAws_json1_1StopTargetedSentimentDetectionJobCommand: (input: StopTargetedSentimentDetectionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
132
140
  export declare const serializeAws_json1_1StopTrainingDocumentClassifierCommand: (input: StopTrainingDocumentClassifierCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
133
141
  export declare const serializeAws_json1_1StopTrainingEntityRecognizerCommand: (input: StopTrainingEntityRecognizerCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
134
142
  export declare const serializeAws_json1_1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -159,6 +167,7 @@ export declare const deserializeAws_json1_1DescribeKeyPhrasesDetectionJobCommand
159
167
  export declare const deserializeAws_json1_1DescribePiiEntitiesDetectionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribePiiEntitiesDetectionJobCommandOutput>;
160
168
  export declare const deserializeAws_json1_1DescribeResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeResourcePolicyCommandOutput>;
161
169
  export declare const deserializeAws_json1_1DescribeSentimentDetectionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeSentimentDetectionJobCommandOutput>;
170
+ export declare const deserializeAws_json1_1DescribeTargetedSentimentDetectionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeTargetedSentimentDetectionJobCommandOutput>;
162
171
  export declare const deserializeAws_json1_1DescribeTopicsDetectionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeTopicsDetectionJobCommandOutput>;
163
172
  export declare const deserializeAws_json1_1DetectDominantLanguageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DetectDominantLanguageCommandOutput>;
164
173
  export declare const deserializeAws_json1_1DetectEntitiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DetectEntitiesCommandOutput>;
@@ -180,6 +189,7 @@ export declare const deserializeAws_json1_1ListKeyPhrasesDetectionJobsCommand: (
180
189
  export declare const deserializeAws_json1_1ListPiiEntitiesDetectionJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPiiEntitiesDetectionJobsCommandOutput>;
181
190
  export declare const deserializeAws_json1_1ListSentimentDetectionJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSentimentDetectionJobsCommandOutput>;
182
191
  export declare const deserializeAws_json1_1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
192
+ export declare const deserializeAws_json1_1ListTargetedSentimentDetectionJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTargetedSentimentDetectionJobsCommandOutput>;
183
193
  export declare const deserializeAws_json1_1ListTopicsDetectionJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTopicsDetectionJobsCommandOutput>;
184
194
  export declare const deserializeAws_json1_1PutResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutResourcePolicyCommandOutput>;
185
195
  export declare const deserializeAws_json1_1StartDocumentClassificationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartDocumentClassificationJobCommandOutput>;
@@ -189,6 +199,7 @@ export declare const deserializeAws_json1_1StartEventsDetectionJobCommand: (outp
189
199
  export declare const deserializeAws_json1_1StartKeyPhrasesDetectionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartKeyPhrasesDetectionJobCommandOutput>;
190
200
  export declare const deserializeAws_json1_1StartPiiEntitiesDetectionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartPiiEntitiesDetectionJobCommandOutput>;
191
201
  export declare const deserializeAws_json1_1StartSentimentDetectionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartSentimentDetectionJobCommandOutput>;
202
+ export declare const deserializeAws_json1_1StartTargetedSentimentDetectionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartTargetedSentimentDetectionJobCommandOutput>;
192
203
  export declare const deserializeAws_json1_1StartTopicsDetectionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartTopicsDetectionJobCommandOutput>;
193
204
  export declare const deserializeAws_json1_1StopDominantLanguageDetectionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopDominantLanguageDetectionJobCommandOutput>;
194
205
  export declare const deserializeAws_json1_1StopEntitiesDetectionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopEntitiesDetectionJobCommandOutput>;
@@ -196,6 +207,7 @@ export declare const deserializeAws_json1_1StopEventsDetectionJobCommand: (outpu
196
207
  export declare const deserializeAws_json1_1StopKeyPhrasesDetectionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopKeyPhrasesDetectionJobCommandOutput>;
197
208
  export declare const deserializeAws_json1_1StopPiiEntitiesDetectionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopPiiEntitiesDetectionJobCommandOutput>;
198
209
  export declare const deserializeAws_json1_1StopSentimentDetectionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopSentimentDetectionJobCommandOutput>;
210
+ export declare const deserializeAws_json1_1StopTargetedSentimentDetectionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopTargetedSentimentDetectionJobCommandOutput>;
199
211
  export declare const deserializeAws_json1_1StopTrainingDocumentClassifierCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopTrainingDocumentClassifierCommandOutput>;
200
212
  export declare const deserializeAws_json1_1StopTrainingEntityRecognizerCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopTrainingEntityRecognizerCommandOutput>;
201
213
  export declare const deserializeAws_json1_1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
21
21
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
23
  serviceId: string;
24
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -24,6 +24,7 @@ import { DescribeKeyPhrasesDetectionJobCommandInput, DescribeKeyPhrasesDetection
24
24
  import { DescribePiiEntitiesDetectionJobCommandInput, DescribePiiEntitiesDetectionJobCommandOutput } from "./commands/DescribePiiEntitiesDetectionJobCommand";
25
25
  import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput } from "./commands/DescribeResourcePolicyCommand";
26
26
  import { DescribeSentimentDetectionJobCommandInput, DescribeSentimentDetectionJobCommandOutput } from "./commands/DescribeSentimentDetectionJobCommand";
27
+ import { DescribeTargetedSentimentDetectionJobCommandInput, DescribeTargetedSentimentDetectionJobCommandOutput } from "./commands/DescribeTargetedSentimentDetectionJobCommand";
27
28
  import { DescribeTopicsDetectionJobCommandInput, DescribeTopicsDetectionJobCommandOutput } from "./commands/DescribeTopicsDetectionJobCommand";
28
29
  import { DetectDominantLanguageCommandInput, DetectDominantLanguageCommandOutput } from "./commands/DetectDominantLanguageCommand";
29
30
  import { DetectEntitiesCommandInput, DetectEntitiesCommandOutput } from "./commands/DetectEntitiesCommand";
@@ -45,6 +46,7 @@ import { ListKeyPhrasesDetectionJobsCommandInput, ListKeyPhrasesDetectionJobsCom
45
46
  import { ListPiiEntitiesDetectionJobsCommandInput, ListPiiEntitiesDetectionJobsCommandOutput } from "./commands/ListPiiEntitiesDetectionJobsCommand";
46
47
  import { ListSentimentDetectionJobsCommandInput, ListSentimentDetectionJobsCommandOutput } from "./commands/ListSentimentDetectionJobsCommand";
47
48
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
49
+ import { ListTargetedSentimentDetectionJobsCommandInput, ListTargetedSentimentDetectionJobsCommandOutput } from "./commands/ListTargetedSentimentDetectionJobsCommand";
48
50
  import { ListTopicsDetectionJobsCommandInput, ListTopicsDetectionJobsCommandOutput } from "./commands/ListTopicsDetectionJobsCommand";
49
51
  import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
50
52
  import { StartDocumentClassificationJobCommandInput, StartDocumentClassificationJobCommandOutput } from "./commands/StartDocumentClassificationJobCommand";
@@ -54,6 +56,7 @@ import { StartEventsDetectionJobCommandInput, StartEventsDetectionJobCommandOutp
54
56
  import { StartKeyPhrasesDetectionJobCommandInput, StartKeyPhrasesDetectionJobCommandOutput } from "./commands/StartKeyPhrasesDetectionJobCommand";
55
57
  import { StartPiiEntitiesDetectionJobCommandInput, StartPiiEntitiesDetectionJobCommandOutput } from "./commands/StartPiiEntitiesDetectionJobCommand";
56
58
  import { StartSentimentDetectionJobCommandInput, StartSentimentDetectionJobCommandOutput } from "./commands/StartSentimentDetectionJobCommand";
59
+ import { StartTargetedSentimentDetectionJobCommandInput, StartTargetedSentimentDetectionJobCommandOutput } from "./commands/StartTargetedSentimentDetectionJobCommand";
57
60
  import { StartTopicsDetectionJobCommandInput, StartTopicsDetectionJobCommandOutput } from "./commands/StartTopicsDetectionJobCommand";
58
61
  import { StopDominantLanguageDetectionJobCommandInput, StopDominantLanguageDetectionJobCommandOutput } from "./commands/StopDominantLanguageDetectionJobCommand";
59
62
  import { StopEntitiesDetectionJobCommandInput, StopEntitiesDetectionJobCommandOutput } from "./commands/StopEntitiesDetectionJobCommand";
@@ -61,6 +64,7 @@ import { StopEventsDetectionJobCommandInput, StopEventsDetectionJobCommandOutput
61
64
  import { StopKeyPhrasesDetectionJobCommandInput, StopKeyPhrasesDetectionJobCommandOutput } from "./commands/StopKeyPhrasesDetectionJobCommand";
62
65
  import { StopPiiEntitiesDetectionJobCommandInput, StopPiiEntitiesDetectionJobCommandOutput } from "./commands/StopPiiEntitiesDetectionJobCommand";
63
66
  import { StopSentimentDetectionJobCommandInput, StopSentimentDetectionJobCommandOutput } from "./commands/StopSentimentDetectionJobCommand";
67
+ import { StopTargetedSentimentDetectionJobCommandInput, StopTargetedSentimentDetectionJobCommandOutput } from "./commands/StopTargetedSentimentDetectionJobCommand";
64
68
  import { StopTrainingDocumentClassifierCommandInput, StopTrainingDocumentClassifierCommandOutput } from "./commands/StopTrainingDocumentClassifierCommand";
65
69
  import { StopTrainingEntityRecognizerCommandInput, StopTrainingEntityRecognizerCommandOutput } from "./commands/StopTrainingEntityRecognizerCommand";
66
70
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -170,6 +174,10 @@ export declare class Comprehend extends ComprehendClient {
170
174
  describeSentimentDetectionJob(args: DescribeSentimentDetectionJobCommandInput, cb: (err: any, data?: DescribeSentimentDetectionJobCommandOutput) => void): void;
171
175
  describeSentimentDetectionJob(args: DescribeSentimentDetectionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSentimentDetectionJobCommandOutput) => void): void;
172
176
 
177
+ describeTargetedSentimentDetectionJob(args: DescribeTargetedSentimentDetectionJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTargetedSentimentDetectionJobCommandOutput>;
178
+ describeTargetedSentimentDetectionJob(args: DescribeTargetedSentimentDetectionJobCommandInput, cb: (err: any, data?: DescribeTargetedSentimentDetectionJobCommandOutput) => void): void;
179
+ describeTargetedSentimentDetectionJob(args: DescribeTargetedSentimentDetectionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTargetedSentimentDetectionJobCommandOutput) => void): void;
180
+
173
181
  describeTopicsDetectionJob(args: DescribeTopicsDetectionJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTopicsDetectionJobCommandOutput>;
174
182
  describeTopicsDetectionJob(args: DescribeTopicsDetectionJobCommandInput, cb: (err: any, data?: DescribeTopicsDetectionJobCommandOutput) => void): void;
175
183
  describeTopicsDetectionJob(args: DescribeTopicsDetectionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTopicsDetectionJobCommandOutput) => void): void;
@@ -254,6 +262,10 @@ export declare class Comprehend extends ComprehendClient {
254
262
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
255
263
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
256
264
 
265
+ listTargetedSentimentDetectionJobs(args: ListTargetedSentimentDetectionJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListTargetedSentimentDetectionJobsCommandOutput>;
266
+ listTargetedSentimentDetectionJobs(args: ListTargetedSentimentDetectionJobsCommandInput, cb: (err: any, data?: ListTargetedSentimentDetectionJobsCommandOutput) => void): void;
267
+ listTargetedSentimentDetectionJobs(args: ListTargetedSentimentDetectionJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTargetedSentimentDetectionJobsCommandOutput) => void): void;
268
+
257
269
  listTopicsDetectionJobs(args: ListTopicsDetectionJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListTopicsDetectionJobsCommandOutput>;
258
270
  listTopicsDetectionJobs(args: ListTopicsDetectionJobsCommandInput, cb: (err: any, data?: ListTopicsDetectionJobsCommandOutput) => void): void;
259
271
  listTopicsDetectionJobs(args: ListTopicsDetectionJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTopicsDetectionJobsCommandOutput) => void): void;
@@ -290,6 +302,10 @@ export declare class Comprehend extends ComprehendClient {
290
302
  startSentimentDetectionJob(args: StartSentimentDetectionJobCommandInput, cb: (err: any, data?: StartSentimentDetectionJobCommandOutput) => void): void;
291
303
  startSentimentDetectionJob(args: StartSentimentDetectionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSentimentDetectionJobCommandOutput) => void): void;
292
304
 
305
+ startTargetedSentimentDetectionJob(args: StartTargetedSentimentDetectionJobCommandInput, options?: __HttpHandlerOptions): Promise<StartTargetedSentimentDetectionJobCommandOutput>;
306
+ startTargetedSentimentDetectionJob(args: StartTargetedSentimentDetectionJobCommandInput, cb: (err: any, data?: StartTargetedSentimentDetectionJobCommandOutput) => void): void;
307
+ startTargetedSentimentDetectionJob(args: StartTargetedSentimentDetectionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTargetedSentimentDetectionJobCommandOutput) => void): void;
308
+
293
309
  startTopicsDetectionJob(args: StartTopicsDetectionJobCommandInput, options?: __HttpHandlerOptions): Promise<StartTopicsDetectionJobCommandOutput>;
294
310
  startTopicsDetectionJob(args: StartTopicsDetectionJobCommandInput, cb: (err: any, data?: StartTopicsDetectionJobCommandOutput) => void): void;
295
311
  startTopicsDetectionJob(args: StartTopicsDetectionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTopicsDetectionJobCommandOutput) => void): void;
@@ -318,6 +334,10 @@ export declare class Comprehend extends ComprehendClient {
318
334
  stopSentimentDetectionJob(args: StopSentimentDetectionJobCommandInput, cb: (err: any, data?: StopSentimentDetectionJobCommandOutput) => void): void;
319
335
  stopSentimentDetectionJob(args: StopSentimentDetectionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopSentimentDetectionJobCommandOutput) => void): void;
320
336
 
337
+ stopTargetedSentimentDetectionJob(args: StopTargetedSentimentDetectionJobCommandInput, options?: __HttpHandlerOptions): Promise<StopTargetedSentimentDetectionJobCommandOutput>;
338
+ stopTargetedSentimentDetectionJob(args: StopTargetedSentimentDetectionJobCommandInput, cb: (err: any, data?: StopTargetedSentimentDetectionJobCommandOutput) => void): void;
339
+ stopTargetedSentimentDetectionJob(args: StopTargetedSentimentDetectionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopTargetedSentimentDetectionJobCommandOutput) => void): void;
340
+
321
341
  stopTrainingDocumentClassifier(args: StopTrainingDocumentClassifierCommandInput, options?: __HttpHandlerOptions): Promise<StopTrainingDocumentClassifierCommandOutput>;
322
342
  stopTrainingDocumentClassifier(args: StopTrainingDocumentClassifierCommandInput, cb: (err: any, data?: StopTrainingDocumentClassifierCommandOutput) => void): void;
323
343
  stopTrainingDocumentClassifier(args: StopTrainingDocumentClassifierCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopTrainingDocumentClassifierCommandOutput) => void): void;