@aws-sdk/client-comprehend 3.53.0 → 3.54.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 (51) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/Comprehend.js +60 -0
  3. package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +36 -0
  4. package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +36 -0
  5. package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +36 -0
  6. package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +36 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/models/models_0.js +63 -3
  9. package/dist-cjs/pagination/ListTargetedSentimentDetectionJobsPaginator.js +35 -0
  10. package/dist-cjs/pagination/index.js +1 -0
  11. package/dist-cjs/protocols/Aws_json1_1.js +344 -3
  12. package/dist-es/Comprehend.js +60 -0
  13. package/dist-es/commands/DescribeTargetedSentimentDetectionJobCommand.js +39 -0
  14. package/dist-es/commands/ListTargetedSentimentDetectionJobsCommand.js +39 -0
  15. package/dist-es/commands/StartTargetedSentimentDetectionJobCommand.js +39 -0
  16. package/dist-es/commands/StopTargetedSentimentDetectionJobCommand.js +39 -0
  17. package/dist-es/commands/index.js +4 -0
  18. package/dist-es/models/models_0.js +40 -0
  19. package/dist-es/pagination/ListTargetedSentimentDetectionJobsPaginator.js +74 -0
  20. package/dist-es/pagination/index.js +1 -0
  21. package/dist-es/protocols/Aws_json1_1.js +390 -0
  22. package/dist-types/Comprehend.d.ts +41 -1
  23. package/dist-types/ComprehendClient.d.ts +8 -4
  24. package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +36 -0
  25. package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +35 -0
  26. package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +1 -1
  27. package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +37 -0
  28. package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +44 -0
  29. package/dist-types/commands/index.d.ts +4 -0
  30. package/dist-types/models/models_0.d.ts +336 -2
  31. package/dist-types/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +4 -0
  32. package/dist-types/pagination/index.d.ts +1 -0
  33. package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
  34. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  35. package/dist-types/runtimeConfig.d.ts +1 -1
  36. package/dist-types/runtimeConfig.native.d.ts +1 -1
  37. package/dist-types/ts3.4/Comprehend.d.ts +20 -0
  38. package/dist-types/ts3.4/ComprehendClient.d.ts +8 -4
  39. package/dist-types/ts3.4/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/StartTargetedSentimentDetectionJobCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  44. package/dist-types/ts3.4/models/models_0.d.ts +140 -0
  45. package/dist-types/ts3.4/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +4 -0
  46. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  47. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  48. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  49. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  50. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  51. package/package.json +27 -27
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { BatchDetectDominantLanguageCommandInput, BatchDetectDominantLanguageCommandOutput } from "./commands/BatchDetectDominantLanguageCommand";
10
10
  import { BatchDetectEntitiesCommandInput, BatchDetectEntitiesCommandOutput } from "./commands/BatchDetectEntitiesCommand";
11
11
  import { BatchDetectKeyPhrasesCommandInput, BatchDetectKeyPhrasesCommandOutput } from "./commands/BatchDetectKeyPhrasesCommand";
@@ -31,6 +31,7 @@ import { DescribeKeyPhrasesDetectionJobCommandInput, DescribeKeyPhrasesDetection
31
31
  import { DescribePiiEntitiesDetectionJobCommandInput, DescribePiiEntitiesDetectionJobCommandOutput } from "./commands/DescribePiiEntitiesDetectionJobCommand";
32
32
  import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput } from "./commands/DescribeResourcePolicyCommand";
33
33
  import { DescribeSentimentDetectionJobCommandInput, DescribeSentimentDetectionJobCommandOutput } from "./commands/DescribeSentimentDetectionJobCommand";
34
+ import { DescribeTargetedSentimentDetectionJobCommandInput, DescribeTargetedSentimentDetectionJobCommandOutput } from "./commands/DescribeTargetedSentimentDetectionJobCommand";
34
35
  import { DescribeTopicsDetectionJobCommandInput, DescribeTopicsDetectionJobCommandOutput } from "./commands/DescribeTopicsDetectionJobCommand";
35
36
  import { DetectDominantLanguageCommandInput, DetectDominantLanguageCommandOutput } from "./commands/DetectDominantLanguageCommand";
36
37
  import { DetectEntitiesCommandInput, DetectEntitiesCommandOutput } from "./commands/DetectEntitiesCommand";
@@ -52,6 +53,7 @@ import { ListKeyPhrasesDetectionJobsCommandInput, ListKeyPhrasesDetectionJobsCom
52
53
  import { ListPiiEntitiesDetectionJobsCommandInput, ListPiiEntitiesDetectionJobsCommandOutput } from "./commands/ListPiiEntitiesDetectionJobsCommand";
53
54
  import { ListSentimentDetectionJobsCommandInput, ListSentimentDetectionJobsCommandOutput } from "./commands/ListSentimentDetectionJobsCommand";
54
55
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
56
+ import { ListTargetedSentimentDetectionJobsCommandInput, ListTargetedSentimentDetectionJobsCommandOutput } from "./commands/ListTargetedSentimentDetectionJobsCommand";
55
57
  import { ListTopicsDetectionJobsCommandInput, ListTopicsDetectionJobsCommandOutput } from "./commands/ListTopicsDetectionJobsCommand";
56
58
  import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
57
59
  import { StartDocumentClassificationJobCommandInput, StartDocumentClassificationJobCommandOutput } from "./commands/StartDocumentClassificationJobCommand";
@@ -61,6 +63,7 @@ import { StartEventsDetectionJobCommandInput, StartEventsDetectionJobCommandOutp
61
63
  import { StartKeyPhrasesDetectionJobCommandInput, StartKeyPhrasesDetectionJobCommandOutput } from "./commands/StartKeyPhrasesDetectionJobCommand";
62
64
  import { StartPiiEntitiesDetectionJobCommandInput, StartPiiEntitiesDetectionJobCommandOutput } from "./commands/StartPiiEntitiesDetectionJobCommand";
63
65
  import { StartSentimentDetectionJobCommandInput, StartSentimentDetectionJobCommandOutput } from "./commands/StartSentimentDetectionJobCommand";
66
+ import { StartTargetedSentimentDetectionJobCommandInput, StartTargetedSentimentDetectionJobCommandOutput } from "./commands/StartTargetedSentimentDetectionJobCommand";
64
67
  import { StartTopicsDetectionJobCommandInput, StartTopicsDetectionJobCommandOutput } from "./commands/StartTopicsDetectionJobCommand";
65
68
  import { StopDominantLanguageDetectionJobCommandInput, StopDominantLanguageDetectionJobCommandOutput } from "./commands/StopDominantLanguageDetectionJobCommand";
66
69
  import { StopEntitiesDetectionJobCommandInput, StopEntitiesDetectionJobCommandOutput } from "./commands/StopEntitiesDetectionJobCommand";
@@ -68,13 +71,14 @@ import { StopEventsDetectionJobCommandInput, StopEventsDetectionJobCommandOutput
68
71
  import { StopKeyPhrasesDetectionJobCommandInput, StopKeyPhrasesDetectionJobCommandOutput } from "./commands/StopKeyPhrasesDetectionJobCommand";
69
72
  import { StopPiiEntitiesDetectionJobCommandInput, StopPiiEntitiesDetectionJobCommandOutput } from "./commands/StopPiiEntitiesDetectionJobCommand";
70
73
  import { StopSentimentDetectionJobCommandInput, StopSentimentDetectionJobCommandOutput } from "./commands/StopSentimentDetectionJobCommand";
74
+ import { StopTargetedSentimentDetectionJobCommandInput, StopTargetedSentimentDetectionJobCommandOutput } from "./commands/StopTargetedSentimentDetectionJobCommand";
71
75
  import { StopTrainingDocumentClassifierCommandInput, StopTrainingDocumentClassifierCommandOutput } from "./commands/StopTrainingDocumentClassifierCommand";
72
76
  import { StopTrainingEntityRecognizerCommandInput, StopTrainingEntityRecognizerCommandOutput } from "./commands/StopTrainingEntityRecognizerCommand";
73
77
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
74
78
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
75
79
  import { UpdateEndpointCommandInput, UpdateEndpointCommandOutput } from "./commands/UpdateEndpointCommand";
76
- export declare type ServiceInputTypes = BatchDetectDominantLanguageCommandInput | BatchDetectEntitiesCommandInput | BatchDetectKeyPhrasesCommandInput | BatchDetectSentimentCommandInput | BatchDetectSyntaxCommandInput | ClassifyDocumentCommandInput | ContainsPiiEntitiesCommandInput | CreateDocumentClassifierCommandInput | CreateEndpointCommandInput | CreateEntityRecognizerCommandInput | DeleteDocumentClassifierCommandInput | DeleteEndpointCommandInput | DeleteEntityRecognizerCommandInput | DeleteResourcePolicyCommandInput | DescribeDocumentClassificationJobCommandInput | DescribeDocumentClassifierCommandInput | DescribeDominantLanguageDetectionJobCommandInput | DescribeEndpointCommandInput | DescribeEntitiesDetectionJobCommandInput | DescribeEntityRecognizerCommandInput | DescribeEventsDetectionJobCommandInput | DescribeKeyPhrasesDetectionJobCommandInput | DescribePiiEntitiesDetectionJobCommandInput | DescribeResourcePolicyCommandInput | DescribeSentimentDetectionJobCommandInput | DescribeTopicsDetectionJobCommandInput | DetectDominantLanguageCommandInput | DetectEntitiesCommandInput | DetectKeyPhrasesCommandInput | DetectPiiEntitiesCommandInput | DetectSentimentCommandInput | DetectSyntaxCommandInput | ImportModelCommandInput | ListDocumentClassificationJobsCommandInput | ListDocumentClassifierSummariesCommandInput | ListDocumentClassifiersCommandInput | ListDominantLanguageDetectionJobsCommandInput | ListEndpointsCommandInput | ListEntitiesDetectionJobsCommandInput | ListEntityRecognizerSummariesCommandInput | ListEntityRecognizersCommandInput | ListEventsDetectionJobsCommandInput | ListKeyPhrasesDetectionJobsCommandInput | ListPiiEntitiesDetectionJobsCommandInput | ListSentimentDetectionJobsCommandInput | ListTagsForResourceCommandInput | ListTopicsDetectionJobsCommandInput | PutResourcePolicyCommandInput | StartDocumentClassificationJobCommandInput | StartDominantLanguageDetectionJobCommandInput | StartEntitiesDetectionJobCommandInput | StartEventsDetectionJobCommandInput | StartKeyPhrasesDetectionJobCommandInput | StartPiiEntitiesDetectionJobCommandInput | StartSentimentDetectionJobCommandInput | StartTopicsDetectionJobCommandInput | StopDominantLanguageDetectionJobCommandInput | StopEntitiesDetectionJobCommandInput | StopEventsDetectionJobCommandInput | StopKeyPhrasesDetectionJobCommandInput | StopPiiEntitiesDetectionJobCommandInput | StopSentimentDetectionJobCommandInput | StopTrainingDocumentClassifierCommandInput | StopTrainingEntityRecognizerCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEndpointCommandInput;
77
- export declare type ServiceOutputTypes = BatchDetectDominantLanguageCommandOutput | BatchDetectEntitiesCommandOutput | BatchDetectKeyPhrasesCommandOutput | BatchDetectSentimentCommandOutput | BatchDetectSyntaxCommandOutput | ClassifyDocumentCommandOutput | ContainsPiiEntitiesCommandOutput | CreateDocumentClassifierCommandOutput | CreateEndpointCommandOutput | CreateEntityRecognizerCommandOutput | DeleteDocumentClassifierCommandOutput | DeleteEndpointCommandOutput | DeleteEntityRecognizerCommandOutput | DeleteResourcePolicyCommandOutput | DescribeDocumentClassificationJobCommandOutput | DescribeDocumentClassifierCommandOutput | DescribeDominantLanguageDetectionJobCommandOutput | DescribeEndpointCommandOutput | DescribeEntitiesDetectionJobCommandOutput | DescribeEntityRecognizerCommandOutput | DescribeEventsDetectionJobCommandOutput | DescribeKeyPhrasesDetectionJobCommandOutput | DescribePiiEntitiesDetectionJobCommandOutput | DescribeResourcePolicyCommandOutput | DescribeSentimentDetectionJobCommandOutput | DescribeTopicsDetectionJobCommandOutput | DetectDominantLanguageCommandOutput | DetectEntitiesCommandOutput | DetectKeyPhrasesCommandOutput | DetectPiiEntitiesCommandOutput | DetectSentimentCommandOutput | DetectSyntaxCommandOutput | ImportModelCommandOutput | ListDocumentClassificationJobsCommandOutput | ListDocumentClassifierSummariesCommandOutput | ListDocumentClassifiersCommandOutput | ListDominantLanguageDetectionJobsCommandOutput | ListEndpointsCommandOutput | ListEntitiesDetectionJobsCommandOutput | ListEntityRecognizerSummariesCommandOutput | ListEntityRecognizersCommandOutput | ListEventsDetectionJobsCommandOutput | ListKeyPhrasesDetectionJobsCommandOutput | ListPiiEntitiesDetectionJobsCommandOutput | ListSentimentDetectionJobsCommandOutput | ListTagsForResourceCommandOutput | ListTopicsDetectionJobsCommandOutput | PutResourcePolicyCommandOutput | StartDocumentClassificationJobCommandOutput | StartDominantLanguageDetectionJobCommandOutput | StartEntitiesDetectionJobCommandOutput | StartEventsDetectionJobCommandOutput | StartKeyPhrasesDetectionJobCommandOutput | StartPiiEntitiesDetectionJobCommandOutput | StartSentimentDetectionJobCommandOutput | StartTopicsDetectionJobCommandOutput | StopDominantLanguageDetectionJobCommandOutput | StopEntitiesDetectionJobCommandOutput | StopEventsDetectionJobCommandOutput | StopKeyPhrasesDetectionJobCommandOutput | StopPiiEntitiesDetectionJobCommandOutput | StopSentimentDetectionJobCommandOutput | StopTrainingDocumentClassifierCommandOutput | StopTrainingEntityRecognizerCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEndpointCommandOutput;
80
+ export declare type ServiceInputTypes = BatchDetectDominantLanguageCommandInput | BatchDetectEntitiesCommandInput | BatchDetectKeyPhrasesCommandInput | BatchDetectSentimentCommandInput | BatchDetectSyntaxCommandInput | ClassifyDocumentCommandInput | ContainsPiiEntitiesCommandInput | CreateDocumentClassifierCommandInput | CreateEndpointCommandInput | CreateEntityRecognizerCommandInput | DeleteDocumentClassifierCommandInput | DeleteEndpointCommandInput | DeleteEntityRecognizerCommandInput | DeleteResourcePolicyCommandInput | DescribeDocumentClassificationJobCommandInput | DescribeDocumentClassifierCommandInput | DescribeDominantLanguageDetectionJobCommandInput | DescribeEndpointCommandInput | DescribeEntitiesDetectionJobCommandInput | DescribeEntityRecognizerCommandInput | DescribeEventsDetectionJobCommandInput | DescribeKeyPhrasesDetectionJobCommandInput | DescribePiiEntitiesDetectionJobCommandInput | DescribeResourcePolicyCommandInput | DescribeSentimentDetectionJobCommandInput | DescribeTargetedSentimentDetectionJobCommandInput | DescribeTopicsDetectionJobCommandInput | DetectDominantLanguageCommandInput | DetectEntitiesCommandInput | DetectKeyPhrasesCommandInput | DetectPiiEntitiesCommandInput | DetectSentimentCommandInput | DetectSyntaxCommandInput | ImportModelCommandInput | ListDocumentClassificationJobsCommandInput | ListDocumentClassifierSummariesCommandInput | ListDocumentClassifiersCommandInput | ListDominantLanguageDetectionJobsCommandInput | ListEndpointsCommandInput | ListEntitiesDetectionJobsCommandInput | ListEntityRecognizerSummariesCommandInput | ListEntityRecognizersCommandInput | ListEventsDetectionJobsCommandInput | ListKeyPhrasesDetectionJobsCommandInput | ListPiiEntitiesDetectionJobsCommandInput | ListSentimentDetectionJobsCommandInput | ListTagsForResourceCommandInput | ListTargetedSentimentDetectionJobsCommandInput | ListTopicsDetectionJobsCommandInput | PutResourcePolicyCommandInput | StartDocumentClassificationJobCommandInput | StartDominantLanguageDetectionJobCommandInput | StartEntitiesDetectionJobCommandInput | StartEventsDetectionJobCommandInput | StartKeyPhrasesDetectionJobCommandInput | StartPiiEntitiesDetectionJobCommandInput | StartSentimentDetectionJobCommandInput | StartTargetedSentimentDetectionJobCommandInput | StartTopicsDetectionJobCommandInput | StopDominantLanguageDetectionJobCommandInput | StopEntitiesDetectionJobCommandInput | StopEventsDetectionJobCommandInput | StopKeyPhrasesDetectionJobCommandInput | StopPiiEntitiesDetectionJobCommandInput | StopSentimentDetectionJobCommandInput | StopTargetedSentimentDetectionJobCommandInput | StopTrainingDocumentClassifierCommandInput | StopTrainingEntityRecognizerCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEndpointCommandInput;
81
+ export declare type ServiceOutputTypes = BatchDetectDominantLanguageCommandOutput | BatchDetectEntitiesCommandOutput | BatchDetectKeyPhrasesCommandOutput | BatchDetectSentimentCommandOutput | BatchDetectSyntaxCommandOutput | ClassifyDocumentCommandOutput | ContainsPiiEntitiesCommandOutput | CreateDocumentClassifierCommandOutput | CreateEndpointCommandOutput | CreateEntityRecognizerCommandOutput | DeleteDocumentClassifierCommandOutput | DeleteEndpointCommandOutput | DeleteEntityRecognizerCommandOutput | DeleteResourcePolicyCommandOutput | DescribeDocumentClassificationJobCommandOutput | DescribeDocumentClassifierCommandOutput | DescribeDominantLanguageDetectionJobCommandOutput | DescribeEndpointCommandOutput | DescribeEntitiesDetectionJobCommandOutput | DescribeEntityRecognizerCommandOutput | DescribeEventsDetectionJobCommandOutput | DescribeKeyPhrasesDetectionJobCommandOutput | DescribePiiEntitiesDetectionJobCommandOutput | DescribeResourcePolicyCommandOutput | DescribeSentimentDetectionJobCommandOutput | DescribeTargetedSentimentDetectionJobCommandOutput | DescribeTopicsDetectionJobCommandOutput | DetectDominantLanguageCommandOutput | DetectEntitiesCommandOutput | DetectKeyPhrasesCommandOutput | DetectPiiEntitiesCommandOutput | DetectSentimentCommandOutput | DetectSyntaxCommandOutput | ImportModelCommandOutput | ListDocumentClassificationJobsCommandOutput | ListDocumentClassifierSummariesCommandOutput | ListDocumentClassifiersCommandOutput | ListDominantLanguageDetectionJobsCommandOutput | ListEndpointsCommandOutput | ListEntitiesDetectionJobsCommandOutput | ListEntityRecognizerSummariesCommandOutput | ListEntityRecognizersCommandOutput | ListEventsDetectionJobsCommandOutput | ListKeyPhrasesDetectionJobsCommandOutput | ListPiiEntitiesDetectionJobsCommandOutput | ListSentimentDetectionJobsCommandOutput | ListTagsForResourceCommandOutput | ListTargetedSentimentDetectionJobsCommandOutput | ListTopicsDetectionJobsCommandOutput | PutResourcePolicyCommandOutput | StartDocumentClassificationJobCommandOutput | StartDominantLanguageDetectionJobCommandOutput | StartEntitiesDetectionJobCommandOutput | StartEventsDetectionJobCommandOutput | StartKeyPhrasesDetectionJobCommandOutput | StartPiiEntitiesDetectionJobCommandOutput | StartSentimentDetectionJobCommandOutput | StartTargetedSentimentDetectionJobCommandOutput | StartTopicsDetectionJobCommandOutput | StopDominantLanguageDetectionJobCommandOutput | StopEntitiesDetectionJobCommandOutput | StopEventsDetectionJobCommandOutput | StopKeyPhrasesDetectionJobCommandOutput | StopPiiEntitiesDetectionJobCommandOutput | StopSentimentDetectionJobCommandOutput | StopTargetedSentimentDetectionJobCommandOutput | StopTrainingDocumentClassifierCommandOutput | StopTrainingEntityRecognizerCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEndpointCommandOutput;
78
82
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
79
83
 
80
84
  requestHandler?: __HttpHandler;
@@ -83,7 +87,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
83
87
 
84
88
  urlParser?: __UrlParser;
85
89
 
86
- bodyLengthChecker?: (body: any) => number | undefined;
90
+ bodyLengthChecker?: __BodyLengthCalculator;
87
91
 
88
92
  streamCollector?: __StreamCollector;
89
93
 
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
4
+ import { DescribeTargetedSentimentDetectionJobRequest, DescribeTargetedSentimentDetectionJobResponse } from "../models/models_0";
5
+ export interface DescribeTargetedSentimentDetectionJobCommandInput extends DescribeTargetedSentimentDetectionJobRequest {
6
+ }
7
+ export interface DescribeTargetedSentimentDetectionJobCommandOutput extends DescribeTargetedSentimentDetectionJobResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeTargetedSentimentDetectionJobCommand extends $Command<DescribeTargetedSentimentDetectionJobCommandInput, DescribeTargetedSentimentDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
11
+ readonly input: DescribeTargetedSentimentDetectionJobCommandInput;
12
+ constructor(input: DescribeTargetedSentimentDetectionJobCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeTargetedSentimentDetectionJobCommandInput, DescribeTargetedSentimentDetectionJobCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
4
+ import { ListTargetedSentimentDetectionJobsRequest, ListTargetedSentimentDetectionJobsResponse } from "../models/models_0";
5
+ export interface ListTargetedSentimentDetectionJobsCommandInput extends ListTargetedSentimentDetectionJobsRequest {
6
+ }
7
+ export interface ListTargetedSentimentDetectionJobsCommandOutput extends ListTargetedSentimentDetectionJobsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListTargetedSentimentDetectionJobsCommand extends $Command<ListTargetedSentimentDetectionJobsCommandInput, ListTargetedSentimentDetectionJobsCommandOutput, ComprehendClientResolvedConfig> {
11
+ readonly input: ListTargetedSentimentDetectionJobsCommandInput;
12
+ constructor(input: ListTargetedSentimentDetectionJobsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTargetedSentimentDetectionJobsCommandInput, ListTargetedSentimentDetectionJobsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
4
+ import { StartTargetedSentimentDetectionJobRequest, StartTargetedSentimentDetectionJobResponse } from "../models/models_0";
5
+ export interface StartTargetedSentimentDetectionJobCommandInput extends StartTargetedSentimentDetectionJobRequest {
6
+ }
7
+ export interface StartTargetedSentimentDetectionJobCommandOutput extends StartTargetedSentimentDetectionJobResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class StartTargetedSentimentDetectionJobCommand extends $Command<StartTargetedSentimentDetectionJobCommandInput, StartTargetedSentimentDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
11
+ readonly input: StartTargetedSentimentDetectionJobCommandInput;
12
+ constructor(input: StartTargetedSentimentDetectionJobCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartTargetedSentimentDetectionJobCommandInput, StartTargetedSentimentDetectionJobCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
4
+ import { StopTargetedSentimentDetectionJobRequest, StopTargetedSentimentDetectionJobResponse } from "../models/models_0";
5
+ export interface StopTargetedSentimentDetectionJobCommandInput extends StopTargetedSentimentDetectionJobRequest {
6
+ }
7
+ export interface StopTargetedSentimentDetectionJobCommandOutput extends StopTargetedSentimentDetectionJobResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class StopTargetedSentimentDetectionJobCommand extends $Command<StopTargetedSentimentDetectionJobCommandInput, StopTargetedSentimentDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
11
+ readonly input: StopTargetedSentimentDetectionJobCommandInput;
12
+ constructor(input: StopTargetedSentimentDetectionJobCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopTargetedSentimentDetectionJobCommandInput, StopTargetedSentimentDetectionJobCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -23,6 +23,7 @@ export * from "./DescribeKeyPhrasesDetectionJobCommand";
23
23
  export * from "./DescribePiiEntitiesDetectionJobCommand";
24
24
  export * from "./DescribeResourcePolicyCommand";
25
25
  export * from "./DescribeSentimentDetectionJobCommand";
26
+ export * from "./DescribeTargetedSentimentDetectionJobCommand";
26
27
  export * from "./DescribeTopicsDetectionJobCommand";
27
28
  export * from "./DetectDominantLanguageCommand";
28
29
  export * from "./DetectEntitiesCommand";
@@ -44,6 +45,7 @@ export * from "./ListKeyPhrasesDetectionJobsCommand";
44
45
  export * from "./ListPiiEntitiesDetectionJobsCommand";
45
46
  export * from "./ListSentimentDetectionJobsCommand";
46
47
  export * from "./ListTagsForResourceCommand";
48
+ export * from "./ListTargetedSentimentDetectionJobsCommand";
47
49
  export * from "./ListTopicsDetectionJobsCommand";
48
50
  export * from "./PutResourcePolicyCommand";
49
51
  export * from "./StartDocumentClassificationJobCommand";
@@ -53,6 +55,7 @@ export * from "./StartEventsDetectionJobCommand";
53
55
  export * from "./StartKeyPhrasesDetectionJobCommand";
54
56
  export * from "./StartPiiEntitiesDetectionJobCommand";
55
57
  export * from "./StartSentimentDetectionJobCommand";
58
+ export * from "./StartTargetedSentimentDetectionJobCommand";
56
59
  export * from "./StartTopicsDetectionJobCommand";
57
60
  export * from "./StopDominantLanguageDetectionJobCommand";
58
61
  export * from "./StopEntitiesDetectionJobCommand";
@@ -60,6 +63,7 @@ export * from "./StopEventsDetectionJobCommand";
60
63
  export * from "./StopKeyPhrasesDetectionJobCommand";
61
64
  export * from "./StopPiiEntitiesDetectionJobCommand";
62
65
  export * from "./StopSentimentDetectionJobCommand";
66
+ export * from "./StopTargetedSentimentDetectionJobCommand";
63
67
  export * from "./StopTrainingDocumentClassifierCommand";
64
68
  export * from "./StopTrainingEntityRecognizerCommand";
65
69
  export * from "./TagResourceCommand";
@@ -1546,6 +1546,55 @@ export declare namespace DescribeSentimentDetectionJobResponse {
1546
1546
 
1547
1547
  const filterSensitiveLog: (obj: DescribeSentimentDetectionJobResponse) => any;
1548
1548
  }
1549
+ export interface DescribeTargetedSentimentDetectionJobRequest {
1550
+
1551
+ JobId: string | undefined;
1552
+ }
1553
+ export declare namespace DescribeTargetedSentimentDetectionJobRequest {
1554
+
1555
+ const filterSensitiveLog: (obj: DescribeTargetedSentimentDetectionJobRequest) => any;
1556
+ }
1557
+
1558
+ export interface TargetedSentimentDetectionJobProperties {
1559
+
1560
+ JobId?: string;
1561
+
1562
+ JobArn?: string;
1563
+
1564
+ JobName?: string;
1565
+
1566
+ JobStatus?: JobStatus | string;
1567
+
1568
+ Message?: string;
1569
+
1570
+ SubmitTime?: Date;
1571
+
1572
+ EndTime?: Date;
1573
+
1574
+ InputDataConfig?: InputDataConfig;
1575
+
1576
+ OutputDataConfig?: OutputDataConfig;
1577
+
1578
+ LanguageCode?: LanguageCode | string;
1579
+
1580
+ DataAccessRoleArn?: string;
1581
+
1582
+ VolumeKmsKeyId?: string;
1583
+
1584
+ VpcConfig?: VpcConfig;
1585
+ }
1586
+ export declare namespace TargetedSentimentDetectionJobProperties {
1587
+
1588
+ const filterSensitiveLog: (obj: TargetedSentimentDetectionJobProperties) => any;
1589
+ }
1590
+ export interface DescribeTargetedSentimentDetectionJobResponse {
1591
+
1592
+ TargetedSentimentDetectionJobProperties?: TargetedSentimentDetectionJobProperties;
1593
+ }
1594
+ export declare namespace DescribeTargetedSentimentDetectionJobResponse {
1595
+
1596
+ const filterSensitiveLog: (obj: DescribeTargetedSentimentDetectionJobResponse) => any;
1597
+ }
1549
1598
  export interface DescribeTopicsDetectionJobRequest {
1550
1599
 
1551
1600
  JobId: string | undefined;
@@ -2217,6 +2266,43 @@ export declare namespace ListTagsForResourceResponse {
2217
2266
  const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
2218
2267
  }
2219
2268
 
2269
+ export interface TargetedSentimentDetectionJobFilter {
2270
+
2271
+ JobName?: string;
2272
+
2273
+ JobStatus?: JobStatus | string;
2274
+
2275
+ SubmitTimeBefore?: Date;
2276
+
2277
+ SubmitTimeAfter?: Date;
2278
+ }
2279
+ export declare namespace TargetedSentimentDetectionJobFilter {
2280
+
2281
+ const filterSensitiveLog: (obj: TargetedSentimentDetectionJobFilter) => any;
2282
+ }
2283
+ export interface ListTargetedSentimentDetectionJobsRequest {
2284
+
2285
+ Filter?: TargetedSentimentDetectionJobFilter;
2286
+
2287
+ NextToken?: string;
2288
+
2289
+ MaxResults?: number;
2290
+ }
2291
+ export declare namespace ListTargetedSentimentDetectionJobsRequest {
2292
+
2293
+ const filterSensitiveLog: (obj: ListTargetedSentimentDetectionJobsRequest) => any;
2294
+ }
2295
+ export interface ListTargetedSentimentDetectionJobsResponse {
2296
+
2297
+ TargetedSentimentDetectionJobPropertiesList?: TargetedSentimentDetectionJobProperties[];
2298
+
2299
+ NextToken?: string;
2300
+ }
2301
+ export declare namespace ListTargetedSentimentDetectionJobsResponse {
2302
+
2303
+ const filterSensitiveLog: (obj: ListTargetedSentimentDetectionJobsResponse) => any;
2304
+ }
2305
+
2220
2306
  export interface TopicsDetectionJobFilter {
2221
2307
 
2222
2308
  JobName?: string;
@@ -2523,6 +2609,42 @@ export declare namespace StartSentimentDetectionJobResponse {
2523
2609
 
2524
2610
  const filterSensitiveLog: (obj: StartSentimentDetectionJobResponse) => any;
2525
2611
  }
2612
+ export interface StartTargetedSentimentDetectionJobRequest {
2613
+
2614
+ InputDataConfig: InputDataConfig | undefined;
2615
+
2616
+ OutputDataConfig: OutputDataConfig | undefined;
2617
+
2618
+ DataAccessRoleArn: string | undefined;
2619
+
2620
+ JobName?: string;
2621
+
2622
+ LanguageCode: LanguageCode | string | undefined;
2623
+
2624
+ ClientRequestToken?: string;
2625
+
2626
+ VolumeKmsKeyId?: string;
2627
+
2628
+ VpcConfig?: VpcConfig;
2629
+
2630
+ Tags?: Tag[];
2631
+ }
2632
+ export declare namespace StartTargetedSentimentDetectionJobRequest {
2633
+
2634
+ const filterSensitiveLog: (obj: StartTargetedSentimentDetectionJobRequest) => any;
2635
+ }
2636
+ export interface StartTargetedSentimentDetectionJobResponse {
2637
+
2638
+ JobId?: string;
2639
+
2640
+ JobArn?: string;
2641
+
2642
+ JobStatus?: JobStatus | string;
2643
+ }
2644
+ export declare namespace StartTargetedSentimentDetectionJobResponse {
2645
+
2646
+ const filterSensitiveLog: (obj: StartTargetedSentimentDetectionJobResponse) => any;
2647
+ }
2526
2648
  export interface StartTopicsDetectionJobRequest {
2527
2649
 
2528
2650
  InputDataConfig: InputDataConfig | undefined;
@@ -2667,6 +2789,24 @@ export declare namespace StopSentimentDetectionJobResponse {
2667
2789
 
2668
2790
  const filterSensitiveLog: (obj: StopSentimentDetectionJobResponse) => any;
2669
2791
  }
2792
+ export interface StopTargetedSentimentDetectionJobRequest {
2793
+
2794
+ JobId: string | undefined;
2795
+ }
2796
+ export declare namespace StopTargetedSentimentDetectionJobRequest {
2797
+
2798
+ const filterSensitiveLog: (obj: StopTargetedSentimentDetectionJobRequest) => any;
2799
+ }
2800
+ export interface StopTargetedSentimentDetectionJobResponse {
2801
+
2802
+ JobId?: string;
2803
+
2804
+ JobStatus?: JobStatus | string;
2805
+ }
2806
+ export declare namespace StopTargetedSentimentDetectionJobResponse {
2807
+
2808
+ const filterSensitiveLog: (obj: StopTargetedSentimentDetectionJobResponse) => any;
2809
+ }
2670
2810
  export interface StopTrainingDocumentClassifierRequest {
2671
2811
 
2672
2812
  DocumentClassifierArn: string | undefined;
@@ -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>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
6
6
  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;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-comprehend",
3
3
  "description": "AWS SDK for JavaScript Comprehend Client for Node.js, Browser and React Native",
4
- "version": "3.53.0",
4
+ "version": "3.54.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.53.0",
22
- "@aws-sdk/config-resolver": "3.53.0",
23
- "@aws-sdk/credential-provider-node": "3.53.0",
24
- "@aws-sdk/fetch-http-handler": "3.53.0",
25
- "@aws-sdk/hash-node": "3.53.0",
26
- "@aws-sdk/invalid-dependency": "3.53.0",
27
- "@aws-sdk/middleware-content-length": "3.53.0",
28
- "@aws-sdk/middleware-host-header": "3.53.0",
29
- "@aws-sdk/middleware-logger": "3.53.0",
30
- "@aws-sdk/middleware-retry": "3.53.0",
31
- "@aws-sdk/middleware-serde": "3.53.0",
32
- "@aws-sdk/middleware-signing": "3.53.0",
33
- "@aws-sdk/middleware-stack": "3.53.0",
34
- "@aws-sdk/middleware-user-agent": "3.53.0",
35
- "@aws-sdk/node-config-provider": "3.53.0",
36
- "@aws-sdk/node-http-handler": "3.53.0",
37
- "@aws-sdk/protocol-http": "3.53.0",
38
- "@aws-sdk/smithy-client": "3.53.0",
39
- "@aws-sdk/types": "3.53.0",
40
- "@aws-sdk/url-parser": "3.53.0",
21
+ "@aws-sdk/client-sts": "3.54.0",
22
+ "@aws-sdk/config-resolver": "3.54.0",
23
+ "@aws-sdk/credential-provider-node": "3.54.0",
24
+ "@aws-sdk/fetch-http-handler": "3.54.0",
25
+ "@aws-sdk/hash-node": "3.54.0",
26
+ "@aws-sdk/invalid-dependency": "3.54.0",
27
+ "@aws-sdk/middleware-content-length": "3.54.0",
28
+ "@aws-sdk/middleware-host-header": "3.54.0",
29
+ "@aws-sdk/middleware-logger": "3.54.0",
30
+ "@aws-sdk/middleware-retry": "3.54.0",
31
+ "@aws-sdk/middleware-serde": "3.54.0",
32
+ "@aws-sdk/middleware-signing": "3.54.0",
33
+ "@aws-sdk/middleware-stack": "3.54.0",
34
+ "@aws-sdk/middleware-user-agent": "3.54.0",
35
+ "@aws-sdk/node-config-provider": "3.54.0",
36
+ "@aws-sdk/node-http-handler": "3.54.0",
37
+ "@aws-sdk/protocol-http": "3.54.0",
38
+ "@aws-sdk/smithy-client": "3.54.0",
39
+ "@aws-sdk/types": "3.54.0",
40
+ "@aws-sdk/url-parser": "3.54.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.52.0",
44
- "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
- "@aws-sdk/util-user-agent-browser": "3.53.0",
48
- "@aws-sdk/util-user-agent-node": "3.53.0",
43
+ "@aws-sdk/util-body-length-browser": "3.54.0",
44
+ "@aws-sdk/util-body-length-node": "3.54.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.54.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.0",
48
+ "@aws-sdk/util-user-agent-node": "3.54.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0",