@aws-sdk/client-comprehend 3.170.0 → 3.176.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 (109) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/Comprehend.js +30 -0
  3. package/dist-cjs/commands/BatchDetectTargetedSentimentCommand.js +36 -0
  4. package/dist-cjs/commands/DetectTargetedSentimentCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +59 -5
  7. package/dist-cjs/protocols/Aws_json1_1.js +218 -3
  8. package/dist-es/Comprehend.js +30 -0
  9. package/dist-es/commands/BatchDetectTargetedSentimentCommand.js +39 -0
  10. package/dist-es/commands/DetectTargetedSentimentCommand.js +39 -0
  11. package/dist-es/commands/index.js +2 -0
  12. package/dist-es/models/models_0.js +28 -0
  13. package/dist-es/protocols/Aws_json1_1.js +252 -0
  14. package/dist-types/Comprehend.d.ts +31 -6
  15. package/dist-types/ComprehendClient.d.ts +4 -2
  16. package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +3 -2
  17. package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +3 -1
  18. package/dist-types/commands/BatchDetectTargetedSentimentCommand.d.ts +37 -0
  19. package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +3 -1
  20. package/dist-types/commands/DetectEntitiesCommand.d.ts +2 -1
  21. package/dist-types/commands/DetectSyntaxCommand.d.ts +3 -1
  22. package/dist-types/commands/DetectTargetedSentimentCommand.d.ts +36 -0
  23. package/dist-types/commands/index.d.ts +2 -0
  24. package/dist-types/models/models_0.d.ts +230 -68
  25. package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
  26. package/dist-types/ts3.4/Comprehend.d.ts +34 -71
  27. package/dist-types/ts3.4/ComprehendClient.d.ts +12 -25
  28. package/dist-types/ts3.4/commands/BatchDetectDominantLanguageCommand.d.ts +0 -2
  29. package/dist-types/ts3.4/commands/BatchDetectEntitiesCommand.d.ts +0 -2
  30. package/dist-types/ts3.4/commands/BatchDetectKeyPhrasesCommand.d.ts +0 -2
  31. package/dist-types/ts3.4/commands/BatchDetectSentimentCommand.d.ts +0 -2
  32. package/dist-types/ts3.4/commands/BatchDetectSyntaxCommand.d.ts +0 -2
  33. package/dist-types/ts3.4/commands/BatchDetectTargetedSentimentCommand.d.ts +39 -0
  34. package/dist-types/ts3.4/commands/ClassifyDocumentCommand.d.ts +0 -2
  35. package/dist-types/ts3.4/commands/ContainsPiiEntitiesCommand.d.ts +0 -2
  36. package/dist-types/ts3.4/commands/CreateDocumentClassifierCommand.d.ts +0 -2
  37. package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +0 -2
  38. package/dist-types/ts3.4/commands/CreateEntityRecognizerCommand.d.ts +0 -2
  39. package/dist-types/ts3.4/commands/DeleteDocumentClassifierCommand.d.ts +0 -2
  40. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +0 -2
  41. package/dist-types/ts3.4/commands/DeleteEntityRecognizerCommand.d.ts +0 -2
  42. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +0 -2
  43. package/dist-types/ts3.4/commands/DescribeDocumentClassificationJobCommand.d.ts +0 -2
  44. package/dist-types/ts3.4/commands/DescribeDocumentClassifierCommand.d.ts +0 -2
  45. package/dist-types/ts3.4/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +0 -2
  46. package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +0 -2
  47. package/dist-types/ts3.4/commands/DescribeEntitiesDetectionJobCommand.d.ts +0 -2
  48. package/dist-types/ts3.4/commands/DescribeEntityRecognizerCommand.d.ts +0 -2
  49. package/dist-types/ts3.4/commands/DescribeEventsDetectionJobCommand.d.ts +0 -2
  50. package/dist-types/ts3.4/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +0 -2
  51. package/dist-types/ts3.4/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +0 -2
  52. package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +0 -2
  53. package/dist-types/ts3.4/commands/DescribeSentimentDetectionJobCommand.d.ts +0 -2
  54. package/dist-types/ts3.4/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +0 -2
  55. package/dist-types/ts3.4/commands/DescribeTopicsDetectionJobCommand.d.ts +0 -2
  56. package/dist-types/ts3.4/commands/DetectDominantLanguageCommand.d.ts +0 -2
  57. package/dist-types/ts3.4/commands/DetectEntitiesCommand.d.ts +0 -2
  58. package/dist-types/ts3.4/commands/DetectKeyPhrasesCommand.d.ts +0 -2
  59. package/dist-types/ts3.4/commands/DetectPiiEntitiesCommand.d.ts +0 -2
  60. package/dist-types/ts3.4/commands/DetectSentimentCommand.d.ts +0 -2
  61. package/dist-types/ts3.4/commands/DetectSyntaxCommand.d.ts +0 -2
  62. package/dist-types/ts3.4/commands/DetectTargetedSentimentCommand.d.ts +39 -0
  63. package/dist-types/ts3.4/commands/ImportModelCommand.d.ts +0 -2
  64. package/dist-types/ts3.4/commands/ListDocumentClassificationJobsCommand.d.ts +0 -2
  65. package/dist-types/ts3.4/commands/ListDocumentClassifierSummariesCommand.d.ts +0 -2
  66. package/dist-types/ts3.4/commands/ListDocumentClassifiersCommand.d.ts +0 -2
  67. package/dist-types/ts3.4/commands/ListDominantLanguageDetectionJobsCommand.d.ts +0 -2
  68. package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +0 -2
  69. package/dist-types/ts3.4/commands/ListEntitiesDetectionJobsCommand.d.ts +0 -2
  70. package/dist-types/ts3.4/commands/ListEntityRecognizerSummariesCommand.d.ts +0 -2
  71. package/dist-types/ts3.4/commands/ListEntityRecognizersCommand.d.ts +0 -2
  72. package/dist-types/ts3.4/commands/ListEventsDetectionJobsCommand.d.ts +0 -2
  73. package/dist-types/ts3.4/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +0 -2
  74. package/dist-types/ts3.4/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +0 -2
  75. package/dist-types/ts3.4/commands/ListSentimentDetectionJobsCommand.d.ts +0 -2
  76. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -2
  77. package/dist-types/ts3.4/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +0 -2
  78. package/dist-types/ts3.4/commands/ListTopicsDetectionJobsCommand.d.ts +0 -2
  79. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +0 -2
  80. package/dist-types/ts3.4/commands/StartDocumentClassificationJobCommand.d.ts +0 -2
  81. package/dist-types/ts3.4/commands/StartDominantLanguageDetectionJobCommand.d.ts +0 -2
  82. package/dist-types/ts3.4/commands/StartEntitiesDetectionJobCommand.d.ts +0 -2
  83. package/dist-types/ts3.4/commands/StartEventsDetectionJobCommand.d.ts +0 -2
  84. package/dist-types/ts3.4/commands/StartKeyPhrasesDetectionJobCommand.d.ts +0 -2
  85. package/dist-types/ts3.4/commands/StartPiiEntitiesDetectionJobCommand.d.ts +0 -2
  86. package/dist-types/ts3.4/commands/StartSentimentDetectionJobCommand.d.ts +0 -2
  87. package/dist-types/ts3.4/commands/StartTargetedSentimentDetectionJobCommand.d.ts +0 -2
  88. package/dist-types/ts3.4/commands/StartTopicsDetectionJobCommand.d.ts +0 -2
  89. package/dist-types/ts3.4/commands/StopDominantLanguageDetectionJobCommand.d.ts +0 -2
  90. package/dist-types/ts3.4/commands/StopEntitiesDetectionJobCommand.d.ts +0 -2
  91. package/dist-types/ts3.4/commands/StopEventsDetectionJobCommand.d.ts +0 -2
  92. package/dist-types/ts3.4/commands/StopKeyPhrasesDetectionJobCommand.d.ts +0 -2
  93. package/dist-types/ts3.4/commands/StopPiiEntitiesDetectionJobCommand.d.ts +0 -2
  94. package/dist-types/ts3.4/commands/StopSentimentDetectionJobCommand.d.ts +0 -2
  95. package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +0 -2
  96. package/dist-types/ts3.4/commands/StopTrainingDocumentClassifierCommand.d.ts +0 -2
  97. package/dist-types/ts3.4/commands/StopTrainingEntityRecognizerCommand.d.ts +0 -2
  98. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -2
  99. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -2
  100. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +0 -2
  101. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  102. package/dist-types/ts3.4/models/ComprehendServiceException.d.ts +0 -1
  103. package/dist-types/ts3.4/models/models_0.d.ts +79 -769
  104. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  105. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -1
  106. package/dist-types/ts3.4/runtimeConfig.d.ts +0 -1
  107. package/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -1
  108. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
  109. package/package.json +26 -26
@@ -19,6 +19,10 @@ import {
19
19
  BatchDetectSyntaxCommandInput,
20
20
  BatchDetectSyntaxCommandOutput,
21
21
  } from "./commands/BatchDetectSyntaxCommand";
22
+ import {
23
+ BatchDetectTargetedSentimentCommandInput,
24
+ BatchDetectTargetedSentimentCommandOutput,
25
+ } from "./commands/BatchDetectTargetedSentimentCommand";
22
26
  import {
23
27
  ClassifyDocumentCommandInput,
24
28
  ClassifyDocumentCommandOutput,
@@ -131,6 +135,10 @@ import {
131
135
  DetectSyntaxCommandInput,
132
136
  DetectSyntaxCommandOutput,
133
137
  } from "./commands/DetectSyntaxCommand";
138
+ import {
139
+ DetectTargetedSentimentCommandInput,
140
+ DetectTargetedSentimentCommandOutput,
141
+ } from "./commands/DetectTargetedSentimentCommand";
134
142
  import {
135
143
  ImportModelCommandInput,
136
144
  ImportModelCommandOutput,
@@ -284,7 +292,6 @@ import {
284
292
  UpdateEndpointCommandOutput,
285
293
  } from "./commands/UpdateEndpointCommand";
286
294
  import { ComprehendClient } from "./ComprehendClient";
287
-
288
295
  export declare class Comprehend extends ComprehendClient {
289
296
  batchDetectDominantLanguage(
290
297
  args: BatchDetectDominantLanguageCommandInput,
@@ -299,7 +306,6 @@ export declare class Comprehend extends ComprehendClient {
299
306
  options: __HttpHandlerOptions,
300
307
  cb: (err: any, data?: BatchDetectDominantLanguageCommandOutput) => void
301
308
  ): void;
302
-
303
309
  batchDetectEntities(
304
310
  args: BatchDetectEntitiesCommandInput,
305
311
  options?: __HttpHandlerOptions
@@ -313,7 +319,6 @@ export declare class Comprehend extends ComprehendClient {
313
319
  options: __HttpHandlerOptions,
314
320
  cb: (err: any, data?: BatchDetectEntitiesCommandOutput) => void
315
321
  ): void;
316
-
317
322
  batchDetectKeyPhrases(
318
323
  args: BatchDetectKeyPhrasesCommandInput,
319
324
  options?: __HttpHandlerOptions
@@ -327,7 +332,6 @@ export declare class Comprehend extends ComprehendClient {
327
332
  options: __HttpHandlerOptions,
328
333
  cb: (err: any, data?: BatchDetectKeyPhrasesCommandOutput) => void
329
334
  ): void;
330
-
331
335
  batchDetectSentiment(
332
336
  args: BatchDetectSentimentCommandInput,
333
337
  options?: __HttpHandlerOptions
@@ -341,7 +345,6 @@ export declare class Comprehend extends ComprehendClient {
341
345
  options: __HttpHandlerOptions,
342
346
  cb: (err: any, data?: BatchDetectSentimentCommandOutput) => void
343
347
  ): void;
344
-
345
348
  batchDetectSyntax(
346
349
  args: BatchDetectSyntaxCommandInput,
347
350
  options?: __HttpHandlerOptions
@@ -355,7 +358,19 @@ export declare class Comprehend extends ComprehendClient {
355
358
  options: __HttpHandlerOptions,
356
359
  cb: (err: any, data?: BatchDetectSyntaxCommandOutput) => void
357
360
  ): void;
358
-
361
+ batchDetectTargetedSentiment(
362
+ args: BatchDetectTargetedSentimentCommandInput,
363
+ options?: __HttpHandlerOptions
364
+ ): Promise<BatchDetectTargetedSentimentCommandOutput>;
365
+ batchDetectTargetedSentiment(
366
+ args: BatchDetectTargetedSentimentCommandInput,
367
+ cb: (err: any, data?: BatchDetectTargetedSentimentCommandOutput) => void
368
+ ): void;
369
+ batchDetectTargetedSentiment(
370
+ args: BatchDetectTargetedSentimentCommandInput,
371
+ options: __HttpHandlerOptions,
372
+ cb: (err: any, data?: BatchDetectTargetedSentimentCommandOutput) => void
373
+ ): void;
359
374
  classifyDocument(
360
375
  args: ClassifyDocumentCommandInput,
361
376
  options?: __HttpHandlerOptions
@@ -369,7 +384,6 @@ export declare class Comprehend extends ComprehendClient {
369
384
  options: __HttpHandlerOptions,
370
385
  cb: (err: any, data?: ClassifyDocumentCommandOutput) => void
371
386
  ): void;
372
-
373
387
  containsPiiEntities(
374
388
  args: ContainsPiiEntitiesCommandInput,
375
389
  options?: __HttpHandlerOptions
@@ -383,7 +397,6 @@ export declare class Comprehend extends ComprehendClient {
383
397
  options: __HttpHandlerOptions,
384
398
  cb: (err: any, data?: ContainsPiiEntitiesCommandOutput) => void
385
399
  ): void;
386
-
387
400
  createDocumentClassifier(
388
401
  args: CreateDocumentClassifierCommandInput,
389
402
  options?: __HttpHandlerOptions
@@ -397,7 +410,6 @@ export declare class Comprehend extends ComprehendClient {
397
410
  options: __HttpHandlerOptions,
398
411
  cb: (err: any, data?: CreateDocumentClassifierCommandOutput) => void
399
412
  ): void;
400
-
401
413
  createEndpoint(
402
414
  args: CreateEndpointCommandInput,
403
415
  options?: __HttpHandlerOptions
@@ -411,7 +423,6 @@ export declare class Comprehend extends ComprehendClient {
411
423
  options: __HttpHandlerOptions,
412
424
  cb: (err: any, data?: CreateEndpointCommandOutput) => void
413
425
  ): void;
414
-
415
426
  createEntityRecognizer(
416
427
  args: CreateEntityRecognizerCommandInput,
417
428
  options?: __HttpHandlerOptions
@@ -425,7 +436,6 @@ export declare class Comprehend extends ComprehendClient {
425
436
  options: __HttpHandlerOptions,
426
437
  cb: (err: any, data?: CreateEntityRecognizerCommandOutput) => void
427
438
  ): void;
428
-
429
439
  deleteDocumentClassifier(
430
440
  args: DeleteDocumentClassifierCommandInput,
431
441
  options?: __HttpHandlerOptions
@@ -439,7 +449,6 @@ export declare class Comprehend extends ComprehendClient {
439
449
  options: __HttpHandlerOptions,
440
450
  cb: (err: any, data?: DeleteDocumentClassifierCommandOutput) => void
441
451
  ): void;
442
-
443
452
  deleteEndpoint(
444
453
  args: DeleteEndpointCommandInput,
445
454
  options?: __HttpHandlerOptions
@@ -453,7 +462,6 @@ export declare class Comprehend extends ComprehendClient {
453
462
  options: __HttpHandlerOptions,
454
463
  cb: (err: any, data?: DeleteEndpointCommandOutput) => void
455
464
  ): void;
456
-
457
465
  deleteEntityRecognizer(
458
466
  args: DeleteEntityRecognizerCommandInput,
459
467
  options?: __HttpHandlerOptions
@@ -467,7 +475,6 @@ export declare class Comprehend extends ComprehendClient {
467
475
  options: __HttpHandlerOptions,
468
476
  cb: (err: any, data?: DeleteEntityRecognizerCommandOutput) => void
469
477
  ): void;
470
-
471
478
  deleteResourcePolicy(
472
479
  args: DeleteResourcePolicyCommandInput,
473
480
  options?: __HttpHandlerOptions
@@ -481,7 +488,6 @@ export declare class Comprehend extends ComprehendClient {
481
488
  options: __HttpHandlerOptions,
482
489
  cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
483
490
  ): void;
484
-
485
491
  describeDocumentClassificationJob(
486
492
  args: DescribeDocumentClassificationJobCommandInput,
487
493
  options?: __HttpHandlerOptions
@@ -501,7 +507,6 @@ export declare class Comprehend extends ComprehendClient {
501
507
  data?: DescribeDocumentClassificationJobCommandOutput
502
508
  ) => void
503
509
  ): void;
504
-
505
510
  describeDocumentClassifier(
506
511
  args: DescribeDocumentClassifierCommandInput,
507
512
  options?: __HttpHandlerOptions
@@ -515,7 +520,6 @@ export declare class Comprehend extends ComprehendClient {
515
520
  options: __HttpHandlerOptions,
516
521
  cb: (err: any, data?: DescribeDocumentClassifierCommandOutput) => void
517
522
  ): void;
518
-
519
523
  describeDominantLanguageDetectionJob(
520
524
  args: DescribeDominantLanguageDetectionJobCommandInput,
521
525
  options?: __HttpHandlerOptions
@@ -535,7 +539,6 @@ export declare class Comprehend extends ComprehendClient {
535
539
  data?: DescribeDominantLanguageDetectionJobCommandOutput
536
540
  ) => void
537
541
  ): void;
538
-
539
542
  describeEndpoint(
540
543
  args: DescribeEndpointCommandInput,
541
544
  options?: __HttpHandlerOptions
@@ -549,7 +552,6 @@ export declare class Comprehend extends ComprehendClient {
549
552
  options: __HttpHandlerOptions,
550
553
  cb: (err: any, data?: DescribeEndpointCommandOutput) => void
551
554
  ): void;
552
-
553
555
  describeEntitiesDetectionJob(
554
556
  args: DescribeEntitiesDetectionJobCommandInput,
555
557
  options?: __HttpHandlerOptions
@@ -563,7 +565,6 @@ export declare class Comprehend extends ComprehendClient {
563
565
  options: __HttpHandlerOptions,
564
566
  cb: (err: any, data?: DescribeEntitiesDetectionJobCommandOutput) => void
565
567
  ): void;
566
-
567
568
  describeEntityRecognizer(
568
569
  args: DescribeEntityRecognizerCommandInput,
569
570
  options?: __HttpHandlerOptions
@@ -577,7 +578,6 @@ export declare class Comprehend extends ComprehendClient {
577
578
  options: __HttpHandlerOptions,
578
579
  cb: (err: any, data?: DescribeEntityRecognizerCommandOutput) => void
579
580
  ): void;
580
-
581
581
  describeEventsDetectionJob(
582
582
  args: DescribeEventsDetectionJobCommandInput,
583
583
  options?: __HttpHandlerOptions
@@ -591,7 +591,6 @@ export declare class Comprehend extends ComprehendClient {
591
591
  options: __HttpHandlerOptions,
592
592
  cb: (err: any, data?: DescribeEventsDetectionJobCommandOutput) => void
593
593
  ): void;
594
-
595
594
  describeKeyPhrasesDetectionJob(
596
595
  args: DescribeKeyPhrasesDetectionJobCommandInput,
597
596
  options?: __HttpHandlerOptions
@@ -605,7 +604,6 @@ export declare class Comprehend extends ComprehendClient {
605
604
  options: __HttpHandlerOptions,
606
605
  cb: (err: any, data?: DescribeKeyPhrasesDetectionJobCommandOutput) => void
607
606
  ): void;
608
-
609
607
  describePiiEntitiesDetectionJob(
610
608
  args: DescribePiiEntitiesDetectionJobCommandInput,
611
609
  options?: __HttpHandlerOptions
@@ -619,7 +617,6 @@ export declare class Comprehend extends ComprehendClient {
619
617
  options: __HttpHandlerOptions,
620
618
  cb: (err: any, data?: DescribePiiEntitiesDetectionJobCommandOutput) => void
621
619
  ): void;
622
-
623
620
  describeResourcePolicy(
624
621
  args: DescribeResourcePolicyCommandInput,
625
622
  options?: __HttpHandlerOptions
@@ -633,7 +630,6 @@ export declare class Comprehend extends ComprehendClient {
633
630
  options: __HttpHandlerOptions,
634
631
  cb: (err: any, data?: DescribeResourcePolicyCommandOutput) => void
635
632
  ): void;
636
-
637
633
  describeSentimentDetectionJob(
638
634
  args: DescribeSentimentDetectionJobCommandInput,
639
635
  options?: __HttpHandlerOptions
@@ -647,7 +643,6 @@ export declare class Comprehend extends ComprehendClient {
647
643
  options: __HttpHandlerOptions,
648
644
  cb: (err: any, data?: DescribeSentimentDetectionJobCommandOutput) => void
649
645
  ): void;
650
-
651
646
  describeTargetedSentimentDetectionJob(
652
647
  args: DescribeTargetedSentimentDetectionJobCommandInput,
653
648
  options?: __HttpHandlerOptions
@@ -667,7 +662,6 @@ export declare class Comprehend extends ComprehendClient {
667
662
  data?: DescribeTargetedSentimentDetectionJobCommandOutput
668
663
  ) => void
669
664
  ): void;
670
-
671
665
  describeTopicsDetectionJob(
672
666
  args: DescribeTopicsDetectionJobCommandInput,
673
667
  options?: __HttpHandlerOptions
@@ -681,7 +675,6 @@ export declare class Comprehend extends ComprehendClient {
681
675
  options: __HttpHandlerOptions,
682
676
  cb: (err: any, data?: DescribeTopicsDetectionJobCommandOutput) => void
683
677
  ): void;
684
-
685
678
  detectDominantLanguage(
686
679
  args: DetectDominantLanguageCommandInput,
687
680
  options?: __HttpHandlerOptions
@@ -695,7 +688,6 @@ export declare class Comprehend extends ComprehendClient {
695
688
  options: __HttpHandlerOptions,
696
689
  cb: (err: any, data?: DetectDominantLanguageCommandOutput) => void
697
690
  ): void;
698
-
699
691
  detectEntities(
700
692
  args: DetectEntitiesCommandInput,
701
693
  options?: __HttpHandlerOptions
@@ -709,7 +701,6 @@ export declare class Comprehend extends ComprehendClient {
709
701
  options: __HttpHandlerOptions,
710
702
  cb: (err: any, data?: DetectEntitiesCommandOutput) => void
711
703
  ): void;
712
-
713
704
  detectKeyPhrases(
714
705
  args: DetectKeyPhrasesCommandInput,
715
706
  options?: __HttpHandlerOptions
@@ -723,7 +714,6 @@ export declare class Comprehend extends ComprehendClient {
723
714
  options: __HttpHandlerOptions,
724
715
  cb: (err: any, data?: DetectKeyPhrasesCommandOutput) => void
725
716
  ): void;
726
-
727
717
  detectPiiEntities(
728
718
  args: DetectPiiEntitiesCommandInput,
729
719
  options?: __HttpHandlerOptions
@@ -737,7 +727,6 @@ export declare class Comprehend extends ComprehendClient {
737
727
  options: __HttpHandlerOptions,
738
728
  cb: (err: any, data?: DetectPiiEntitiesCommandOutput) => void
739
729
  ): void;
740
-
741
730
  detectSentiment(
742
731
  args: DetectSentimentCommandInput,
743
732
  options?: __HttpHandlerOptions
@@ -751,7 +740,6 @@ export declare class Comprehend extends ComprehendClient {
751
740
  options: __HttpHandlerOptions,
752
741
  cb: (err: any, data?: DetectSentimentCommandOutput) => void
753
742
  ): void;
754
-
755
743
  detectSyntax(
756
744
  args: DetectSyntaxCommandInput,
757
745
  options?: __HttpHandlerOptions
@@ -765,7 +753,19 @@ export declare class Comprehend extends ComprehendClient {
765
753
  options: __HttpHandlerOptions,
766
754
  cb: (err: any, data?: DetectSyntaxCommandOutput) => void
767
755
  ): void;
768
-
756
+ detectTargetedSentiment(
757
+ args: DetectTargetedSentimentCommandInput,
758
+ options?: __HttpHandlerOptions
759
+ ): Promise<DetectTargetedSentimentCommandOutput>;
760
+ detectTargetedSentiment(
761
+ args: DetectTargetedSentimentCommandInput,
762
+ cb: (err: any, data?: DetectTargetedSentimentCommandOutput) => void
763
+ ): void;
764
+ detectTargetedSentiment(
765
+ args: DetectTargetedSentimentCommandInput,
766
+ options: __HttpHandlerOptions,
767
+ cb: (err: any, data?: DetectTargetedSentimentCommandOutput) => void
768
+ ): void;
769
769
  importModel(
770
770
  args: ImportModelCommandInput,
771
771
  options?: __HttpHandlerOptions
@@ -779,7 +779,6 @@ export declare class Comprehend extends ComprehendClient {
779
779
  options: __HttpHandlerOptions,
780
780
  cb: (err: any, data?: ImportModelCommandOutput) => void
781
781
  ): void;
782
-
783
782
  listDocumentClassificationJobs(
784
783
  args: ListDocumentClassificationJobsCommandInput,
785
784
  options?: __HttpHandlerOptions
@@ -793,7 +792,6 @@ export declare class Comprehend extends ComprehendClient {
793
792
  options: __HttpHandlerOptions,
794
793
  cb: (err: any, data?: ListDocumentClassificationJobsCommandOutput) => void
795
794
  ): void;
796
-
797
795
  listDocumentClassifiers(
798
796
  args: ListDocumentClassifiersCommandInput,
799
797
  options?: __HttpHandlerOptions
@@ -807,7 +805,6 @@ export declare class Comprehend extends ComprehendClient {
807
805
  options: __HttpHandlerOptions,
808
806
  cb: (err: any, data?: ListDocumentClassifiersCommandOutput) => void
809
807
  ): void;
810
-
811
808
  listDocumentClassifierSummaries(
812
809
  args: ListDocumentClassifierSummariesCommandInput,
813
810
  options?: __HttpHandlerOptions
@@ -821,7 +818,6 @@ export declare class Comprehend extends ComprehendClient {
821
818
  options: __HttpHandlerOptions,
822
819
  cb: (err: any, data?: ListDocumentClassifierSummariesCommandOutput) => void
823
820
  ): void;
824
-
825
821
  listDominantLanguageDetectionJobs(
826
822
  args: ListDominantLanguageDetectionJobsCommandInput,
827
823
  options?: __HttpHandlerOptions
@@ -841,7 +837,6 @@ export declare class Comprehend extends ComprehendClient {
841
837
  data?: ListDominantLanguageDetectionJobsCommandOutput
842
838
  ) => void
843
839
  ): void;
844
-
845
840
  listEndpoints(
846
841
  args: ListEndpointsCommandInput,
847
842
  options?: __HttpHandlerOptions
@@ -855,7 +850,6 @@ export declare class Comprehend extends ComprehendClient {
855
850
  options: __HttpHandlerOptions,
856
851
  cb: (err: any, data?: ListEndpointsCommandOutput) => void
857
852
  ): void;
858
-
859
853
  listEntitiesDetectionJobs(
860
854
  args: ListEntitiesDetectionJobsCommandInput,
861
855
  options?: __HttpHandlerOptions
@@ -869,7 +863,6 @@ export declare class Comprehend extends ComprehendClient {
869
863
  options: __HttpHandlerOptions,
870
864
  cb: (err: any, data?: ListEntitiesDetectionJobsCommandOutput) => void
871
865
  ): void;
872
-
873
866
  listEntityRecognizers(
874
867
  args: ListEntityRecognizersCommandInput,
875
868
  options?: __HttpHandlerOptions
@@ -883,7 +876,6 @@ export declare class Comprehend extends ComprehendClient {
883
876
  options: __HttpHandlerOptions,
884
877
  cb: (err: any, data?: ListEntityRecognizersCommandOutput) => void
885
878
  ): void;
886
-
887
879
  listEntityRecognizerSummaries(
888
880
  args: ListEntityRecognizerSummariesCommandInput,
889
881
  options?: __HttpHandlerOptions
@@ -897,7 +889,6 @@ export declare class Comprehend extends ComprehendClient {
897
889
  options: __HttpHandlerOptions,
898
890
  cb: (err: any, data?: ListEntityRecognizerSummariesCommandOutput) => void
899
891
  ): void;
900
-
901
892
  listEventsDetectionJobs(
902
893
  args: ListEventsDetectionJobsCommandInput,
903
894
  options?: __HttpHandlerOptions
@@ -911,7 +902,6 @@ export declare class Comprehend extends ComprehendClient {
911
902
  options: __HttpHandlerOptions,
912
903
  cb: (err: any, data?: ListEventsDetectionJobsCommandOutput) => void
913
904
  ): void;
914
-
915
905
  listKeyPhrasesDetectionJobs(
916
906
  args: ListKeyPhrasesDetectionJobsCommandInput,
917
907
  options?: __HttpHandlerOptions
@@ -925,7 +915,6 @@ export declare class Comprehend extends ComprehendClient {
925
915
  options: __HttpHandlerOptions,
926
916
  cb: (err: any, data?: ListKeyPhrasesDetectionJobsCommandOutput) => void
927
917
  ): void;
928
-
929
918
  listPiiEntitiesDetectionJobs(
930
919
  args: ListPiiEntitiesDetectionJobsCommandInput,
931
920
  options?: __HttpHandlerOptions
@@ -939,7 +928,6 @@ export declare class Comprehend extends ComprehendClient {
939
928
  options: __HttpHandlerOptions,
940
929
  cb: (err: any, data?: ListPiiEntitiesDetectionJobsCommandOutput) => void
941
930
  ): void;
942
-
943
931
  listSentimentDetectionJobs(
944
932
  args: ListSentimentDetectionJobsCommandInput,
945
933
  options?: __HttpHandlerOptions
@@ -953,7 +941,6 @@ export declare class Comprehend extends ComprehendClient {
953
941
  options: __HttpHandlerOptions,
954
942
  cb: (err: any, data?: ListSentimentDetectionJobsCommandOutput) => void
955
943
  ): void;
956
-
957
944
  listTagsForResource(
958
945
  args: ListTagsForResourceCommandInput,
959
946
  options?: __HttpHandlerOptions
@@ -967,7 +954,6 @@ export declare class Comprehend extends ComprehendClient {
967
954
  options: __HttpHandlerOptions,
968
955
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
969
956
  ): void;
970
-
971
957
  listTargetedSentimentDetectionJobs(
972
958
  args: ListTargetedSentimentDetectionJobsCommandInput,
973
959
  options?: __HttpHandlerOptions
@@ -987,7 +973,6 @@ export declare class Comprehend extends ComprehendClient {
987
973
  data?: ListTargetedSentimentDetectionJobsCommandOutput
988
974
  ) => void
989
975
  ): void;
990
-
991
976
  listTopicsDetectionJobs(
992
977
  args: ListTopicsDetectionJobsCommandInput,
993
978
  options?: __HttpHandlerOptions
@@ -1001,7 +986,6 @@ export declare class Comprehend extends ComprehendClient {
1001
986
  options: __HttpHandlerOptions,
1002
987
  cb: (err: any, data?: ListTopicsDetectionJobsCommandOutput) => void
1003
988
  ): void;
1004
-
1005
989
  putResourcePolicy(
1006
990
  args: PutResourcePolicyCommandInput,
1007
991
  options?: __HttpHandlerOptions
@@ -1015,7 +999,6 @@ export declare class Comprehend extends ComprehendClient {
1015
999
  options: __HttpHandlerOptions,
1016
1000
  cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
1017
1001
  ): void;
1018
-
1019
1002
  startDocumentClassificationJob(
1020
1003
  args: StartDocumentClassificationJobCommandInput,
1021
1004
  options?: __HttpHandlerOptions
@@ -1029,7 +1012,6 @@ export declare class Comprehend extends ComprehendClient {
1029
1012
  options: __HttpHandlerOptions,
1030
1013
  cb: (err: any, data?: StartDocumentClassificationJobCommandOutput) => void
1031
1014
  ): void;
1032
-
1033
1015
  startDominantLanguageDetectionJob(
1034
1016
  args: StartDominantLanguageDetectionJobCommandInput,
1035
1017
  options?: __HttpHandlerOptions
@@ -1049,7 +1031,6 @@ export declare class Comprehend extends ComprehendClient {
1049
1031
  data?: StartDominantLanguageDetectionJobCommandOutput
1050
1032
  ) => void
1051
1033
  ): void;
1052
-
1053
1034
  startEntitiesDetectionJob(
1054
1035
  args: StartEntitiesDetectionJobCommandInput,
1055
1036
  options?: __HttpHandlerOptions
@@ -1063,7 +1044,6 @@ export declare class Comprehend extends ComprehendClient {
1063
1044
  options: __HttpHandlerOptions,
1064
1045
  cb: (err: any, data?: StartEntitiesDetectionJobCommandOutput) => void
1065
1046
  ): void;
1066
-
1067
1047
  startEventsDetectionJob(
1068
1048
  args: StartEventsDetectionJobCommandInput,
1069
1049
  options?: __HttpHandlerOptions
@@ -1077,7 +1057,6 @@ export declare class Comprehend extends ComprehendClient {
1077
1057
  options: __HttpHandlerOptions,
1078
1058
  cb: (err: any, data?: StartEventsDetectionJobCommandOutput) => void
1079
1059
  ): void;
1080
-
1081
1060
  startKeyPhrasesDetectionJob(
1082
1061
  args: StartKeyPhrasesDetectionJobCommandInput,
1083
1062
  options?: __HttpHandlerOptions
@@ -1091,7 +1070,6 @@ export declare class Comprehend extends ComprehendClient {
1091
1070
  options: __HttpHandlerOptions,
1092
1071
  cb: (err: any, data?: StartKeyPhrasesDetectionJobCommandOutput) => void
1093
1072
  ): void;
1094
-
1095
1073
  startPiiEntitiesDetectionJob(
1096
1074
  args: StartPiiEntitiesDetectionJobCommandInput,
1097
1075
  options?: __HttpHandlerOptions
@@ -1105,7 +1083,6 @@ export declare class Comprehend extends ComprehendClient {
1105
1083
  options: __HttpHandlerOptions,
1106
1084
  cb: (err: any, data?: StartPiiEntitiesDetectionJobCommandOutput) => void
1107
1085
  ): void;
1108
-
1109
1086
  startSentimentDetectionJob(
1110
1087
  args: StartSentimentDetectionJobCommandInput,
1111
1088
  options?: __HttpHandlerOptions
@@ -1119,7 +1096,6 @@ export declare class Comprehend extends ComprehendClient {
1119
1096
  options: __HttpHandlerOptions,
1120
1097
  cb: (err: any, data?: StartSentimentDetectionJobCommandOutput) => void
1121
1098
  ): void;
1122
-
1123
1099
  startTargetedSentimentDetectionJob(
1124
1100
  args: StartTargetedSentimentDetectionJobCommandInput,
1125
1101
  options?: __HttpHandlerOptions
@@ -1139,7 +1115,6 @@ export declare class Comprehend extends ComprehendClient {
1139
1115
  data?: StartTargetedSentimentDetectionJobCommandOutput
1140
1116
  ) => void
1141
1117
  ): void;
1142
-
1143
1118
  startTopicsDetectionJob(
1144
1119
  args: StartTopicsDetectionJobCommandInput,
1145
1120
  options?: __HttpHandlerOptions
@@ -1153,7 +1128,6 @@ export declare class Comprehend extends ComprehendClient {
1153
1128
  options: __HttpHandlerOptions,
1154
1129
  cb: (err: any, data?: StartTopicsDetectionJobCommandOutput) => void
1155
1130
  ): void;
1156
-
1157
1131
  stopDominantLanguageDetectionJob(
1158
1132
  args: StopDominantLanguageDetectionJobCommandInput,
1159
1133
  options?: __HttpHandlerOptions
@@ -1167,7 +1141,6 @@ export declare class Comprehend extends ComprehendClient {
1167
1141
  options: __HttpHandlerOptions,
1168
1142
  cb: (err: any, data?: StopDominantLanguageDetectionJobCommandOutput) => void
1169
1143
  ): void;
1170
-
1171
1144
  stopEntitiesDetectionJob(
1172
1145
  args: StopEntitiesDetectionJobCommandInput,
1173
1146
  options?: __HttpHandlerOptions
@@ -1181,7 +1154,6 @@ export declare class Comprehend extends ComprehendClient {
1181
1154
  options: __HttpHandlerOptions,
1182
1155
  cb: (err: any, data?: StopEntitiesDetectionJobCommandOutput) => void
1183
1156
  ): void;
1184
-
1185
1157
  stopEventsDetectionJob(
1186
1158
  args: StopEventsDetectionJobCommandInput,
1187
1159
  options?: __HttpHandlerOptions
@@ -1195,7 +1167,6 @@ export declare class Comprehend extends ComprehendClient {
1195
1167
  options: __HttpHandlerOptions,
1196
1168
  cb: (err: any, data?: StopEventsDetectionJobCommandOutput) => void
1197
1169
  ): void;
1198
-
1199
1170
  stopKeyPhrasesDetectionJob(
1200
1171
  args: StopKeyPhrasesDetectionJobCommandInput,
1201
1172
  options?: __HttpHandlerOptions
@@ -1209,7 +1180,6 @@ export declare class Comprehend extends ComprehendClient {
1209
1180
  options: __HttpHandlerOptions,
1210
1181
  cb: (err: any, data?: StopKeyPhrasesDetectionJobCommandOutput) => void
1211
1182
  ): void;
1212
-
1213
1183
  stopPiiEntitiesDetectionJob(
1214
1184
  args: StopPiiEntitiesDetectionJobCommandInput,
1215
1185
  options?: __HttpHandlerOptions
@@ -1223,7 +1193,6 @@ export declare class Comprehend extends ComprehendClient {
1223
1193
  options: __HttpHandlerOptions,
1224
1194
  cb: (err: any, data?: StopPiiEntitiesDetectionJobCommandOutput) => void
1225
1195
  ): void;
1226
-
1227
1196
  stopSentimentDetectionJob(
1228
1197
  args: StopSentimentDetectionJobCommandInput,
1229
1198
  options?: __HttpHandlerOptions
@@ -1237,7 +1206,6 @@ export declare class Comprehend extends ComprehendClient {
1237
1206
  options: __HttpHandlerOptions,
1238
1207
  cb: (err: any, data?: StopSentimentDetectionJobCommandOutput) => void
1239
1208
  ): void;
1240
-
1241
1209
  stopTargetedSentimentDetectionJob(
1242
1210
  args: StopTargetedSentimentDetectionJobCommandInput,
1243
1211
  options?: __HttpHandlerOptions
@@ -1257,7 +1225,6 @@ export declare class Comprehend extends ComprehendClient {
1257
1225
  data?: StopTargetedSentimentDetectionJobCommandOutput
1258
1226
  ) => void
1259
1227
  ): void;
1260
-
1261
1228
  stopTrainingDocumentClassifier(
1262
1229
  args: StopTrainingDocumentClassifierCommandInput,
1263
1230
  options?: __HttpHandlerOptions
@@ -1271,7 +1238,6 @@ export declare class Comprehend extends ComprehendClient {
1271
1238
  options: __HttpHandlerOptions,
1272
1239
  cb: (err: any, data?: StopTrainingDocumentClassifierCommandOutput) => void
1273
1240
  ): void;
1274
-
1275
1241
  stopTrainingEntityRecognizer(
1276
1242
  args: StopTrainingEntityRecognizerCommandInput,
1277
1243
  options?: __HttpHandlerOptions
@@ -1285,7 +1251,6 @@ export declare class Comprehend extends ComprehendClient {
1285
1251
  options: __HttpHandlerOptions,
1286
1252
  cb: (err: any, data?: StopTrainingEntityRecognizerCommandOutput) => void
1287
1253
  ): void;
1288
-
1289
1254
  tagResource(
1290
1255
  args: TagResourceCommandInput,
1291
1256
  options?: __HttpHandlerOptions
@@ -1299,7 +1264,6 @@ export declare class Comprehend extends ComprehendClient {
1299
1264
  options: __HttpHandlerOptions,
1300
1265
  cb: (err: any, data?: TagResourceCommandOutput) => void
1301
1266
  ): void;
1302
-
1303
1267
  untagResource(
1304
1268
  args: UntagResourceCommandInput,
1305
1269
  options?: __HttpHandlerOptions
@@ -1313,7 +1277,6 @@ export declare class Comprehend extends ComprehendClient {
1313
1277
  options: __HttpHandlerOptions,
1314
1278
  cb: (err: any, data?: UntagResourceCommandOutput) => void
1315
1279
  ): void;
1316
-
1317
1280
  updateEndpoint(
1318
1281
  args: UpdateEndpointCommandInput,
1319
1282
  options?: __HttpHandlerOptions