@aws-sdk/client-comprehend 3.171.0 → 3.178.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.
- package/CHANGELOG.md +19 -0
- package/dist-cjs/Comprehend.js +30 -0
- package/dist-cjs/commands/BatchDetectTargetedSentimentCommand.js +36 -0
- package/dist-cjs/commands/DetectTargetedSentimentCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +59 -5
- package/dist-cjs/protocols/Aws_json1_1.js +218 -3
- package/dist-es/Comprehend.js +30 -0
- package/dist-es/commands/BatchDetectTargetedSentimentCommand.js +39 -0
- package/dist-es/commands/DetectTargetedSentimentCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +28 -0
- package/dist-es/protocols/Aws_json1_1.js +252 -0
- package/dist-types/Comprehend.d.ts +31 -6
- package/dist-types/ComprehendClient.d.ts +4 -2
- package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +3 -2
- package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +3 -1
- package/dist-types/commands/BatchDetectTargetedSentimentCommand.d.ts +37 -0
- package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +3 -1
- package/dist-types/commands/DetectEntitiesCommand.d.ts +2 -1
- package/dist-types/commands/DetectSyntaxCommand.d.ts +3 -1
- package/dist-types/commands/DetectTargetedSentimentCommand.d.ts +36 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +230 -68
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/Comprehend.d.ts +34 -0
- package/dist-types/ts3.4/ComprehendClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/BatchDetectTargetedSentimentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DetectTargetedSentimentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +79 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
- package/package.json +26 -26
|
@@ -62,6 +62,10 @@ import {
|
|
|
62
62
|
BatchDetectSyntaxCommandInput,
|
|
63
63
|
BatchDetectSyntaxCommandOutput,
|
|
64
64
|
} from "./commands/BatchDetectSyntaxCommand";
|
|
65
|
+
import {
|
|
66
|
+
BatchDetectTargetedSentimentCommandInput,
|
|
67
|
+
BatchDetectTargetedSentimentCommandOutput,
|
|
68
|
+
} from "./commands/BatchDetectTargetedSentimentCommand";
|
|
65
69
|
import {
|
|
66
70
|
ClassifyDocumentCommandInput,
|
|
67
71
|
ClassifyDocumentCommandOutput,
|
|
@@ -174,6 +178,10 @@ import {
|
|
|
174
178
|
DetectSyntaxCommandInput,
|
|
175
179
|
DetectSyntaxCommandOutput,
|
|
176
180
|
} from "./commands/DetectSyntaxCommand";
|
|
181
|
+
import {
|
|
182
|
+
DetectTargetedSentimentCommandInput,
|
|
183
|
+
DetectTargetedSentimentCommandOutput,
|
|
184
|
+
} from "./commands/DetectTargetedSentimentCommand";
|
|
177
185
|
import {
|
|
178
186
|
ImportModelCommandInput,
|
|
179
187
|
ImportModelCommandOutput,
|
|
@@ -332,6 +340,7 @@ export declare type ServiceInputTypes =
|
|
|
332
340
|
| BatchDetectKeyPhrasesCommandInput
|
|
333
341
|
| BatchDetectSentimentCommandInput
|
|
334
342
|
| BatchDetectSyntaxCommandInput
|
|
343
|
+
| BatchDetectTargetedSentimentCommandInput
|
|
335
344
|
| ClassifyDocumentCommandInput
|
|
336
345
|
| ContainsPiiEntitiesCommandInput
|
|
337
346
|
| CreateDocumentClassifierCommandInput
|
|
@@ -360,6 +369,7 @@ export declare type ServiceInputTypes =
|
|
|
360
369
|
| DetectPiiEntitiesCommandInput
|
|
361
370
|
| DetectSentimentCommandInput
|
|
362
371
|
| DetectSyntaxCommandInput
|
|
372
|
+
| DetectTargetedSentimentCommandInput
|
|
363
373
|
| ImportModelCommandInput
|
|
364
374
|
| ListDocumentClassificationJobsCommandInput
|
|
365
375
|
| ListDocumentClassifierSummariesCommandInput
|
|
@@ -404,6 +414,7 @@ export declare type ServiceOutputTypes =
|
|
|
404
414
|
| BatchDetectKeyPhrasesCommandOutput
|
|
405
415
|
| BatchDetectSentimentCommandOutput
|
|
406
416
|
| BatchDetectSyntaxCommandOutput
|
|
417
|
+
| BatchDetectTargetedSentimentCommandOutput
|
|
407
418
|
| ClassifyDocumentCommandOutput
|
|
408
419
|
| ContainsPiiEntitiesCommandOutput
|
|
409
420
|
| CreateDocumentClassifierCommandOutput
|
|
@@ -432,6 +443,7 @@ export declare type ServiceOutputTypes =
|
|
|
432
443
|
| DetectPiiEntitiesCommandOutput
|
|
433
444
|
| DetectSentimentCommandOutput
|
|
434
445
|
| DetectSyntaxCommandOutput
|
|
446
|
+
| DetectTargetedSentimentCommandOutput
|
|
435
447
|
| ImportModelCommandOutput
|
|
436
448
|
| ListDocumentClassificationJobsCommandOutput
|
|
437
449
|
| ListDocumentClassifierSummariesCommandOutput
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
ComprehendClientResolvedConfig,
|
|
10
|
+
ServiceInputTypes,
|
|
11
|
+
ServiceOutputTypes,
|
|
12
|
+
} from "../ComprehendClient";
|
|
13
|
+
import {
|
|
14
|
+
BatchDetectTargetedSentimentRequest,
|
|
15
|
+
BatchDetectTargetedSentimentResponse,
|
|
16
|
+
} from "../models/models_0";
|
|
17
|
+
export interface BatchDetectTargetedSentimentCommandInput
|
|
18
|
+
extends BatchDetectTargetedSentimentRequest {}
|
|
19
|
+
export interface BatchDetectTargetedSentimentCommandOutput
|
|
20
|
+
extends BatchDetectTargetedSentimentResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class BatchDetectTargetedSentimentCommand extends $Command<
|
|
23
|
+
BatchDetectTargetedSentimentCommandInput,
|
|
24
|
+
BatchDetectTargetedSentimentCommandOutput,
|
|
25
|
+
ComprehendClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: BatchDetectTargetedSentimentCommandInput;
|
|
28
|
+
constructor(input: BatchDetectTargetedSentimentCommandInput);
|
|
29
|
+
resolveMiddleware(
|
|
30
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
31
|
+
configuration: ComprehendClientResolvedConfig,
|
|
32
|
+
options?: __HttpHandlerOptions
|
|
33
|
+
): Handler<
|
|
34
|
+
BatchDetectTargetedSentimentCommandInput,
|
|
35
|
+
BatchDetectTargetedSentimentCommandOutput
|
|
36
|
+
>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
ComprehendClientResolvedConfig,
|
|
10
|
+
ServiceInputTypes,
|
|
11
|
+
ServiceOutputTypes,
|
|
12
|
+
} from "../ComprehendClient";
|
|
13
|
+
import {
|
|
14
|
+
DetectTargetedSentimentRequest,
|
|
15
|
+
DetectTargetedSentimentResponse,
|
|
16
|
+
} from "../models/models_0";
|
|
17
|
+
export interface DetectTargetedSentimentCommandInput
|
|
18
|
+
extends DetectTargetedSentimentRequest {}
|
|
19
|
+
export interface DetectTargetedSentimentCommandOutput
|
|
20
|
+
extends DetectTargetedSentimentResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class DetectTargetedSentimentCommand extends $Command<
|
|
23
|
+
DetectTargetedSentimentCommandInput,
|
|
24
|
+
DetectTargetedSentimentCommandOutput,
|
|
25
|
+
ComprehendClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: DetectTargetedSentimentCommandInput;
|
|
28
|
+
constructor(input: DetectTargetedSentimentCommandInput);
|
|
29
|
+
resolveMiddleware(
|
|
30
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
31
|
+
configuration: ComprehendClientResolvedConfig,
|
|
32
|
+
options?: __HttpHandlerOptions
|
|
33
|
+
): Handler<
|
|
34
|
+
DetectTargetedSentimentCommandInput,
|
|
35
|
+
DetectTargetedSentimentCommandOutput
|
|
36
|
+
>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -3,6 +3,7 @@ export * from "./BatchDetectEntitiesCommand";
|
|
|
3
3
|
export * from "./BatchDetectKeyPhrasesCommand";
|
|
4
4
|
export * from "./BatchDetectSentimentCommand";
|
|
5
5
|
export * from "./BatchDetectSyntaxCommand";
|
|
6
|
+
export * from "./BatchDetectTargetedSentimentCommand";
|
|
6
7
|
export * from "./ClassifyDocumentCommand";
|
|
7
8
|
export * from "./ContainsPiiEntitiesCommand";
|
|
8
9
|
export * from "./CreateDocumentClassifierCommand";
|
|
@@ -31,6 +32,7 @@ export * from "./DetectKeyPhrasesCommand";
|
|
|
31
32
|
export * from "./DetectPiiEntitiesCommand";
|
|
32
33
|
export * from "./DetectSentimentCommand";
|
|
33
34
|
export * from "./DetectSyntaxCommand";
|
|
35
|
+
export * from "./DetectTargetedSentimentCommand";
|
|
34
36
|
export * from "./ImportModelCommand";
|
|
35
37
|
export * from "./ListDocumentClassificationJobsCommand";
|
|
36
38
|
export * from "./ListDocumentClassifierSummariesCommand";
|
|
@@ -217,6 +217,54 @@ export interface BatchDetectSyntaxResponse {
|
|
|
217
217
|
ResultList: BatchDetectSyntaxItemResult[] | undefined;
|
|
218
218
|
ErrorList: BatchItemError[] | undefined;
|
|
219
219
|
}
|
|
220
|
+
export interface BatchDetectTargetedSentimentRequest {
|
|
221
|
+
TextList: string[] | undefined;
|
|
222
|
+
LanguageCode: LanguageCode | string | undefined;
|
|
223
|
+
}
|
|
224
|
+
export interface MentionSentiment {
|
|
225
|
+
Sentiment?: SentimentType | string;
|
|
226
|
+
SentimentScore?: SentimentScore;
|
|
227
|
+
}
|
|
228
|
+
export declare enum TargetedSentimentEntityType {
|
|
229
|
+
ATTRIBUTE = "ATTRIBUTE",
|
|
230
|
+
BOOK = "BOOK",
|
|
231
|
+
BRAND = "BRAND",
|
|
232
|
+
COMMERCIAL_ITEM = "COMMERCIAL_ITEM",
|
|
233
|
+
DATE = "DATE",
|
|
234
|
+
EVENT = "EVENT",
|
|
235
|
+
FACILITY = "FACILITY",
|
|
236
|
+
GAME = "GAME",
|
|
237
|
+
LOCATION = "LOCATION",
|
|
238
|
+
MOVIE = "MOVIE",
|
|
239
|
+
MUSIC = "MUSIC",
|
|
240
|
+
ORGANIZATION = "ORGANIZATION",
|
|
241
|
+
OTHER = "OTHER",
|
|
242
|
+
PERSON = "PERSON",
|
|
243
|
+
PERSONAL_TITLE = "PERSONAL_TITLE",
|
|
244
|
+
QUANTITY = "QUANTITY",
|
|
245
|
+
SOFTWARE = "SOFTWARE",
|
|
246
|
+
}
|
|
247
|
+
export interface TargetedSentimentMention {
|
|
248
|
+
Score?: number;
|
|
249
|
+
GroupScore?: number;
|
|
250
|
+
Text?: string;
|
|
251
|
+
Type?: TargetedSentimentEntityType | string;
|
|
252
|
+
MentionSentiment?: MentionSentiment;
|
|
253
|
+
BeginOffset?: number;
|
|
254
|
+
EndOffset?: number;
|
|
255
|
+
}
|
|
256
|
+
export interface TargetedSentimentEntity {
|
|
257
|
+
DescriptiveMentionIndex?: number[];
|
|
258
|
+
Mentions?: TargetedSentimentMention[];
|
|
259
|
+
}
|
|
260
|
+
export interface BatchDetectTargetedSentimentItemResult {
|
|
261
|
+
Index?: number;
|
|
262
|
+
Entities?: TargetedSentimentEntity[];
|
|
263
|
+
}
|
|
264
|
+
export interface BatchDetectTargetedSentimentResponse {
|
|
265
|
+
ResultList: BatchDetectTargetedSentimentItemResult[] | undefined;
|
|
266
|
+
ErrorList: BatchItemError[] | undefined;
|
|
267
|
+
}
|
|
220
268
|
export interface ClassifierEvaluationMetrics {
|
|
221
269
|
Accuracy?: number;
|
|
222
270
|
Precision?: number;
|
|
@@ -886,6 +934,13 @@ export interface DetectSyntaxRequest {
|
|
|
886
934
|
export interface DetectSyntaxResponse {
|
|
887
935
|
SyntaxTokens?: SyntaxToken[];
|
|
888
936
|
}
|
|
937
|
+
export interface DetectTargetedSentimentRequest {
|
|
938
|
+
Text: string | undefined;
|
|
939
|
+
LanguageCode: LanguageCode | string | undefined;
|
|
940
|
+
}
|
|
941
|
+
export interface DetectTargetedSentimentResponse {
|
|
942
|
+
Entities?: TargetedSentimentEntity[];
|
|
943
|
+
}
|
|
889
944
|
export interface ImportModelRequest {
|
|
890
945
|
SourceModelArn: string | undefined;
|
|
891
946
|
ModelName?: string;
|
|
@@ -1429,6 +1484,24 @@ export declare const BatchDetectSyntaxItemResultFilterSensitiveLog: (
|
|
|
1429
1484
|
export declare const BatchDetectSyntaxResponseFilterSensitiveLog: (
|
|
1430
1485
|
obj: BatchDetectSyntaxResponse
|
|
1431
1486
|
) => any;
|
|
1487
|
+
export declare const BatchDetectTargetedSentimentRequestFilterSensitiveLog: (
|
|
1488
|
+
obj: BatchDetectTargetedSentimentRequest
|
|
1489
|
+
) => any;
|
|
1490
|
+
export declare const MentionSentimentFilterSensitiveLog: (
|
|
1491
|
+
obj: MentionSentiment
|
|
1492
|
+
) => any;
|
|
1493
|
+
export declare const TargetedSentimentMentionFilterSensitiveLog: (
|
|
1494
|
+
obj: TargetedSentimentMention
|
|
1495
|
+
) => any;
|
|
1496
|
+
export declare const TargetedSentimentEntityFilterSensitiveLog: (
|
|
1497
|
+
obj: TargetedSentimentEntity
|
|
1498
|
+
) => any;
|
|
1499
|
+
export declare const BatchDetectTargetedSentimentItemResultFilterSensitiveLog: (
|
|
1500
|
+
obj: BatchDetectTargetedSentimentItemResult
|
|
1501
|
+
) => any;
|
|
1502
|
+
export declare const BatchDetectTargetedSentimentResponseFilterSensitiveLog: (
|
|
1503
|
+
obj: BatchDetectTargetedSentimentResponse
|
|
1504
|
+
) => any;
|
|
1432
1505
|
export declare const ClassifierEvaluationMetricsFilterSensitiveLog: (
|
|
1433
1506
|
obj: ClassifierEvaluationMetrics
|
|
1434
1507
|
) => any;
|
|
@@ -1697,6 +1770,12 @@ export declare const DetectSyntaxRequestFilterSensitiveLog: (
|
|
|
1697
1770
|
export declare const DetectSyntaxResponseFilterSensitiveLog: (
|
|
1698
1771
|
obj: DetectSyntaxResponse
|
|
1699
1772
|
) => any;
|
|
1773
|
+
export declare const DetectTargetedSentimentRequestFilterSensitiveLog: (
|
|
1774
|
+
obj: DetectTargetedSentimentRequest
|
|
1775
|
+
) => any;
|
|
1776
|
+
export declare const DetectTargetedSentimentResponseFilterSensitiveLog: (
|
|
1777
|
+
obj: DetectTargetedSentimentResponse
|
|
1778
|
+
) => any;
|
|
1700
1779
|
export declare const ImportModelRequestFilterSensitiveLog: (
|
|
1701
1780
|
obj: ImportModelRequest
|
|
1702
1781
|
) => any;
|
|
@@ -23,6 +23,10 @@ import {
|
|
|
23
23
|
BatchDetectSyntaxCommandInput,
|
|
24
24
|
BatchDetectSyntaxCommandOutput,
|
|
25
25
|
} from "../commands/BatchDetectSyntaxCommand";
|
|
26
|
+
import {
|
|
27
|
+
BatchDetectTargetedSentimentCommandInput,
|
|
28
|
+
BatchDetectTargetedSentimentCommandOutput,
|
|
29
|
+
} from "../commands/BatchDetectTargetedSentimentCommand";
|
|
26
30
|
import {
|
|
27
31
|
ClassifyDocumentCommandInput,
|
|
28
32
|
ClassifyDocumentCommandOutput,
|
|
@@ -135,6 +139,10 @@ import {
|
|
|
135
139
|
DetectSyntaxCommandInput,
|
|
136
140
|
DetectSyntaxCommandOutput,
|
|
137
141
|
} from "../commands/DetectSyntaxCommand";
|
|
142
|
+
import {
|
|
143
|
+
DetectTargetedSentimentCommandInput,
|
|
144
|
+
DetectTargetedSentimentCommandOutput,
|
|
145
|
+
} from "../commands/DetectTargetedSentimentCommand";
|
|
138
146
|
import {
|
|
139
147
|
ImportModelCommandInput,
|
|
140
148
|
ImportModelCommandOutput,
|
|
@@ -307,6 +315,10 @@ export declare const serializeAws_json1_1BatchDetectSyntaxCommand: (
|
|
|
307
315
|
input: BatchDetectSyntaxCommandInput,
|
|
308
316
|
context: __SerdeContext
|
|
309
317
|
) => Promise<__HttpRequest>;
|
|
318
|
+
export declare const serializeAws_json1_1BatchDetectTargetedSentimentCommand: (
|
|
319
|
+
input: BatchDetectTargetedSentimentCommandInput,
|
|
320
|
+
context: __SerdeContext
|
|
321
|
+
) => Promise<__HttpRequest>;
|
|
310
322
|
export declare const serializeAws_json1_1ClassifyDocumentCommand: (
|
|
311
323
|
input: ClassifyDocumentCommandInput,
|
|
312
324
|
context: __SerdeContext
|
|
@@ -419,6 +431,10 @@ export declare const serializeAws_json1_1DetectSyntaxCommand: (
|
|
|
419
431
|
input: DetectSyntaxCommandInput,
|
|
420
432
|
context: __SerdeContext
|
|
421
433
|
) => Promise<__HttpRequest>;
|
|
434
|
+
export declare const serializeAws_json1_1DetectTargetedSentimentCommand: (
|
|
435
|
+
input: DetectTargetedSentimentCommandInput,
|
|
436
|
+
context: __SerdeContext
|
|
437
|
+
) => Promise<__HttpRequest>;
|
|
422
438
|
export declare const serializeAws_json1_1ImportModelCommand: (
|
|
423
439
|
input: ImportModelCommandInput,
|
|
424
440
|
context: __SerdeContext
|
|
@@ -591,6 +607,10 @@ export declare const deserializeAws_json1_1BatchDetectSyntaxCommand: (
|
|
|
591
607
|
output: __HttpResponse,
|
|
592
608
|
context: __SerdeContext
|
|
593
609
|
) => Promise<BatchDetectSyntaxCommandOutput>;
|
|
610
|
+
export declare const deserializeAws_json1_1BatchDetectTargetedSentimentCommand: (
|
|
611
|
+
output: __HttpResponse,
|
|
612
|
+
context: __SerdeContext
|
|
613
|
+
) => Promise<BatchDetectTargetedSentimentCommandOutput>;
|
|
594
614
|
export declare const deserializeAws_json1_1ClassifyDocumentCommand: (
|
|
595
615
|
output: __HttpResponse,
|
|
596
616
|
context: __SerdeContext
|
|
@@ -703,6 +723,10 @@ export declare const deserializeAws_json1_1DetectSyntaxCommand: (
|
|
|
703
723
|
output: __HttpResponse,
|
|
704
724
|
context: __SerdeContext
|
|
705
725
|
) => Promise<DetectSyntaxCommandOutput>;
|
|
726
|
+
export declare const deserializeAws_json1_1DetectTargetedSentimentCommand: (
|
|
727
|
+
output: __HttpResponse,
|
|
728
|
+
context: __SerdeContext
|
|
729
|
+
) => Promise<DetectTargetedSentimentCommandOutput>;
|
|
706
730
|
export declare const deserializeAws_json1_1ImportModelCommand: (
|
|
707
731
|
output: __HttpResponse,
|
|
708
732
|
context: __SerdeContext
|
|
@@ -50,7 +50,9 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
|
|
|
50
50
|
| undefined;
|
|
51
51
|
signer?:
|
|
52
52
|
| import("@aws-sdk/types").RequestSigner
|
|
53
|
-
|
|
|
53
|
+
| ((
|
|
54
|
+
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
55
|
+
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
54
56
|
| undefined;
|
|
55
57
|
signingEscapePath?: boolean | undefined;
|
|
56
58
|
systemClockOffset?: number | undefined;
|
|
@@ -50,7 +50,9 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
|
|
|
50
50
|
| undefined;
|
|
51
51
|
signer?:
|
|
52
52
|
| import("@aws-sdk/types").RequestSigner
|
|
53
|
-
|
|
|
53
|
+
| ((
|
|
54
|
+
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
55
|
+
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
54
56
|
| undefined;
|
|
55
57
|
signingEscapePath?: boolean | undefined;
|
|
56
58
|
systemClockOffset?: number | undefined;
|
|
@@ -51,7 +51,9 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
|
|
|
51
51
|
| undefined;
|
|
52
52
|
signer?:
|
|
53
53
|
| import("@aws-sdk/types").RequestSigner
|
|
54
|
-
|
|
|
54
|
+
| ((
|
|
55
|
+
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
56
|
+
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
55
57
|
| undefined;
|
|
56
58
|
signingEscapePath?: boolean | undefined;
|
|
57
59
|
systemClockOffset?: number | undefined;
|
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.
|
|
4
|
+
"version": "3.178.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",
|
|
@@ -19,35 +19,35 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
30
|
-
"@aws-sdk/middleware-logger": "3.
|
|
31
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.178.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.178.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.178.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.178.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.178.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.178.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.178.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.178.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.178.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.178.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.178.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.178.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.178.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.178.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.178.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.178.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.178.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.178.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.178.0",
|
|
41
|
+
"@aws-sdk/types": "3.178.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.178.0",
|
|
43
43
|
"@aws-sdk/util-base64-browser": "3.170.0",
|
|
44
44
|
"@aws-sdk/util-base64-node": "3.170.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.170.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.170.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.178.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.178.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.178.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.178.0",
|
|
51
51
|
"@aws-sdk/util-utf8-browser": "3.170.0",
|
|
52
52
|
"@aws-sdk/util-utf8-node": "3.170.0",
|
|
53
53
|
"tslib": "^2.3.1",
|