@stacksjs/ts-cloud 0.2.2 → 0.2.5

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 (76) hide show
  1. package/dist/aws/acm.d.ts +215 -0
  2. package/dist/aws/application-autoscaling.d.ts +345 -0
  3. package/dist/aws/bedrock.d.ts +2672 -0
  4. package/dist/aws/client.d.ts +181 -0
  5. package/dist/aws/cloudformation.d.ts +187 -0
  6. package/dist/aws/cloudfront.d.ts +416 -0
  7. package/dist/aws/cloudwatch-logs.d.ts +70 -0
  8. package/dist/aws/comprehend.d.ts +616 -0
  9. package/dist/aws/connect.d.ts +533 -0
  10. package/dist/aws/deploy-imap.d.ts +26 -0
  11. package/dist/aws/dynamodb.d.ts +270 -0
  12. package/dist/aws/ec2.d.ts +545 -0
  13. package/dist/aws/ecr.d.ts +240 -0
  14. package/dist/aws/ecs.d.ts +267 -0
  15. package/dist/aws/efs.d.ts +36 -0
  16. package/dist/aws/elasticache.d.ts +112 -0
  17. package/dist/aws/elbv2.d.ts +389 -0
  18. package/dist/aws/email.d.ts +260 -0
  19. package/dist/aws/eventbridge.d.ts +197 -0
  20. package/dist/aws/iam.d.ts +1013 -0
  21. package/dist/aws/imap-server.d.ts +298 -0
  22. package/dist/aws/index.d.ts +53 -0
  23. package/dist/aws/kendra.d.ts +831 -0
  24. package/dist/aws/lambda.d.ts +319 -0
  25. package/dist/aws/opensearch.d.ts +121 -0
  26. package/dist/aws/personalize.d.ts +586 -0
  27. package/dist/aws/polly.d.ts +243 -0
  28. package/dist/aws/rds.d.ts +346 -0
  29. package/dist/aws/rekognition.d.ts +691 -0
  30. package/dist/aws/route53-domains.d.ts +161 -0
  31. package/dist/aws/route53.d.ts +330 -0
  32. package/dist/aws/s3.d.ts +535 -0
  33. package/dist/aws/scheduler.d.ts +224 -0
  34. package/dist/aws/secrets-manager.d.ts +267 -0
  35. package/dist/aws/ses.d.ts +441 -0
  36. package/dist/aws/setup-phone.d.ts +1 -0
  37. package/dist/aws/setup-sms.d.ts +116 -0
  38. package/dist/aws/sms.d.ts +477 -0
  39. package/dist/aws/smtp-server.d.ts +108 -0
  40. package/dist/aws/sns.d.ts +224 -0
  41. package/dist/aws/sqs.d.ts +107 -0
  42. package/dist/aws/ssm.d.ts +311 -0
  43. package/dist/aws/sts.d.ts +21 -0
  44. package/dist/aws/support.d.ts +139 -0
  45. package/dist/aws/test-imap.d.ts +15 -0
  46. package/dist/aws/textract.d.ts +477 -0
  47. package/dist/aws/transcribe.d.ts +79 -0
  48. package/dist/aws/translate.d.ts +424 -0
  49. package/dist/aws/voice.d.ts +361 -0
  50. package/dist/bin/cli.js +4500 -809
  51. package/dist/config.d.ts +5 -0
  52. package/dist/deploy/index.d.ts +6 -0
  53. package/dist/deploy/static-site-external-dns.d.ts +70 -0
  54. package/dist/deploy/static-site.d.ts +110 -0
  55. package/dist/dns/cloudflare.d.ts +74 -0
  56. package/dist/dns/godaddy.d.ts +63 -0
  57. package/dist/dns/index.d.ts +67 -0
  58. package/dist/dns/porkbun.d.ts +43 -0
  59. package/dist/dns/route53-adapter.d.ts +67 -0
  60. package/dist/dns/types.d.ts +100 -0
  61. package/dist/dns/validator.d.ts +105 -0
  62. package/dist/generators/index.d.ts +4 -0
  63. package/dist/generators/infrastructure.d.ts +115 -0
  64. package/dist/index.d.ts +9 -165
  65. package/dist/index.js +24067 -6430
  66. package/dist/push/apns.d.ts +140 -0
  67. package/dist/push/fcm.d.ts +205 -0
  68. package/dist/push/index.d.ts +44 -0
  69. package/dist/security/pre-deploy-scanner.d.ts +97 -0
  70. package/dist/ssl/acme-client.d.ts +133 -0
  71. package/dist/ssl/index.d.ts +6 -0
  72. package/dist/ssl/letsencrypt.d.ts +96 -0
  73. package/dist/utils/cli.d.ts +121 -0
  74. package/dist/validation/index.d.ts +4 -0
  75. package/dist/validation/template.d.ts +27 -0
  76. package/package.json +6 -6
@@ -0,0 +1,616 @@
1
+ /**
2
+ * AWS Comprehend Client
3
+ * Natural Language Processing - sentiment, entities, key phrases, language detection, PII
4
+ * No external SDK dependencies - implements AWS Signature V4 directly
5
+ */
6
+ export interface DetectSentimentCommandInput {
7
+ Text: string;
8
+ LanguageCode: 'en' | 'es' | 'fr' | 'de' | 'it' | 'pt' | 'ar' | 'hi' | 'ja' | 'ko' | 'zh' | 'zh-TW';
9
+ }
10
+ export interface DetectSentimentCommandOutput {
11
+ Sentiment: 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL' | 'MIXED';
12
+ SentimentScore: {
13
+ Positive: number;
14
+ Negative: number;
15
+ Neutral: number;
16
+ Mixed: number;
17
+ };
18
+ }
19
+ export interface DetectEntitiesCommandInput {
20
+ Text: string;
21
+ LanguageCode: string;
22
+ EndpointArn?: string;
23
+ Bytes?: Uint8Array;
24
+ DocumentReaderConfig?: {
25
+ DocumentReadAction: 'TEXTRACT_DETECT_DOCUMENT_TEXT' | 'TEXTRACT_ANALYZE_DOCUMENT';
26
+ DocumentReadMode?: 'SERVICE_DEFAULT' | 'FORCE_DOCUMENT_READ_ACTION';
27
+ FeatureTypes?: ('TABLES' | 'FORMS')[];
28
+ };
29
+ }
30
+ export interface Entity {
31
+ Score?: number;
32
+ Type?: 'PERSON' | 'LOCATION' | 'ORGANIZATION' | 'COMMERCIAL_ITEM' | 'EVENT' | 'DATE' | 'QUANTITY' | 'TITLE' | 'OTHER';
33
+ Text?: string;
34
+ BeginOffset?: number;
35
+ EndOffset?: number;
36
+ BlockReferences?: Array<{
37
+ BlockId?: string;
38
+ BeginOffset?: number;
39
+ EndOffset?: number;
40
+ ChildBlocks?: Array<{
41
+ ChildBlockId?: string;
42
+ BeginOffset?: number;
43
+ EndOffset?: number;
44
+ }>;
45
+ }>;
46
+ }
47
+ export interface DetectEntitiesCommandOutput {
48
+ Entities: Entity[];
49
+ DocumentMetadata?: {
50
+ Pages?: number;
51
+ ExtractedCharacters?: Array<{
52
+ Page?: number;
53
+ Count?: number;
54
+ }>;
55
+ };
56
+ DocumentType?: Array<{
57
+ Page?: number;
58
+ Type?: 'NATIVE_PDF' | 'SCANNED_PDF' | 'MS_WORD' | 'IMAGE' | 'PLAIN_TEXT' | 'TEXTRACT_DETECT_DOCUMENT_TEXT_JSON' | 'TEXTRACT_ANALYZE_DOCUMENT_JSON';
59
+ }>;
60
+ Blocks?: Array<{
61
+ Id?: string;
62
+ BlockType?: 'LINE' | 'WORD';
63
+ Text?: string;
64
+ Page?: number;
65
+ Geometry?: {
66
+ BoundingBox?: {
67
+ Height?: number;
68
+ Left?: number;
69
+ Top?: number;
70
+ Width?: number;
71
+ };
72
+ Polygon?: Array<{
73
+ X?: number;
74
+ Y?: number;
75
+ }>;
76
+ };
77
+ Relationships?: Array<{
78
+ Ids?: string[];
79
+ Type?: 'CHILD';
80
+ }>;
81
+ }>;
82
+ Errors?: Array<{
83
+ Page?: number;
84
+ ErrorCode?: 'TEXTRACT_BAD_PAGE' | 'TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED' | 'PAGE_CHARACTERS_EXCEEDED' | 'PAGE_SIZE_EXCEEDED' | 'INTERNAL_SERVER_ERROR';
85
+ ErrorMessage?: string;
86
+ }>;
87
+ }
88
+ export interface DetectKeyPhrasesCommandInput {
89
+ Text: string;
90
+ LanguageCode: string;
91
+ }
92
+ export interface KeyPhrase {
93
+ Score?: number;
94
+ Text?: string;
95
+ BeginOffset?: number;
96
+ EndOffset?: number;
97
+ }
98
+ export interface DetectKeyPhrasesCommandOutput {
99
+ KeyPhrases: KeyPhrase[];
100
+ }
101
+ export interface DetectDominantLanguageCommandInput {
102
+ Text: string;
103
+ }
104
+ export interface DominantLanguage {
105
+ LanguageCode?: string;
106
+ Score?: number;
107
+ }
108
+ export interface DetectDominantLanguageCommandOutput {
109
+ Languages: DominantLanguage[];
110
+ }
111
+ export interface DetectPiiEntitiesCommandInput {
112
+ Text: string;
113
+ LanguageCode: string;
114
+ }
115
+ export interface PiiEntity {
116
+ Score?: number;
117
+ Type?: 'BANK_ACCOUNT_NUMBER' | 'BANK_ROUTING' | 'CREDIT_DEBIT_NUMBER' | 'CREDIT_DEBIT_CVV' | 'CREDIT_DEBIT_EXPIRY' | 'PIN' | 'EMAIL' | 'ADDRESS' | 'NAME' | 'PHONE' | 'SSN' | 'DATE_TIME' | 'PASSPORT_NUMBER' | 'DRIVER_ID' | 'URL' | 'AGE' | 'USERNAME' | 'PASSWORD' | 'AWS_ACCESS_KEY' | 'AWS_SECRET_KEY' | 'IP_ADDRESS' | 'MAC_ADDRESS' | 'LICENSE_PLATE' | 'VEHICLE_IDENTIFICATION_NUMBER' | 'UK_NATIONAL_INSURANCE_NUMBER' | 'CA_SOCIAL_INSURANCE_NUMBER' | 'US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER' | 'UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER' | 'IN_PERMANENT_ACCOUNT_NUMBER' | 'IN_NREGA' | 'INTERNATIONAL_BANK_ACCOUNT_NUMBER' | 'SWIFT_CODE' | 'UK_NATIONAL_HEALTH_SERVICE_NUMBER' | 'CA_HEALTH_NUMBER' | 'IN_AADHAAR' | 'IN_VOTER_NUMBER';
118
+ BeginOffset?: number;
119
+ EndOffset?: number;
120
+ }
121
+ export interface DetectPiiEntitiesCommandOutput {
122
+ Entities: PiiEntity[];
123
+ }
124
+ export interface ContainsPiiEntitiesCommandInput {
125
+ Text: string;
126
+ LanguageCode: string;
127
+ }
128
+ export interface ContainsPiiEntitiesCommandOutput {
129
+ Labels: Array<{
130
+ Name?: string;
131
+ Score?: number;
132
+ }>;
133
+ }
134
+ export interface DetectSyntaxCommandInput {
135
+ Text: string;
136
+ LanguageCode: 'en' | 'es' | 'fr' | 'de' | 'it' | 'pt';
137
+ }
138
+ export interface SyntaxToken {
139
+ TokenId?: number;
140
+ Text?: string;
141
+ BeginOffset?: number;
142
+ EndOffset?: number;
143
+ PartOfSpeech?: {
144
+ Tag?: 'ADJ' | 'ADP' | 'ADV' | 'AUX' | 'CONJ' | 'CCONJ' | 'DET' | 'INTJ' | 'NOUN' | 'NUM' | 'O' | 'PART' | 'PRON' | 'PROPN' | 'PUNCT' | 'SCONJ' | 'SYM' | 'VERB';
145
+ Score?: number;
146
+ };
147
+ }
148
+ export interface DetectSyntaxCommandOutput {
149
+ SyntaxTokens: SyntaxToken[];
150
+ }
151
+ export interface DetectTargetedSentimentCommandInput {
152
+ Text: string;
153
+ LanguageCode: string;
154
+ }
155
+ export interface TargetedSentimentEntity {
156
+ DescriptiveMentionIndex?: number[];
157
+ Mentions?: Array<{
158
+ Score?: number;
159
+ GroupScore?: number;
160
+ Text?: string;
161
+ Type?: 'PERSON' | 'LOCATION' | 'ORGANIZATION' | 'FACILITY' | 'BRAND' | 'COMMERCIAL_ITEM' | 'MOVIE' | 'MUSIC' | 'BOOK' | 'SOFTWARE' | 'GAME' | 'PERSONAL_TITLE' | 'EVENT' | 'DATE' | 'QUANTITY' | 'ATTRIBUTE' | 'OTHER';
162
+ MentionSentiment?: {
163
+ Sentiment?: 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL' | 'MIXED';
164
+ SentimentScore?: {
165
+ Positive?: number;
166
+ Negative?: number;
167
+ Neutral?: number;
168
+ Mixed?: number;
169
+ };
170
+ };
171
+ BeginOffset?: number;
172
+ EndOffset?: number;
173
+ }>;
174
+ }
175
+ export interface DetectTargetedSentimentCommandOutput {
176
+ Entities: TargetedSentimentEntity[];
177
+ }
178
+ export interface ClassifyDocumentCommandInput {
179
+ Text?: string;
180
+ EndpointArn: string;
181
+ Bytes?: Uint8Array;
182
+ DocumentReaderConfig?: {
183
+ DocumentReadAction: 'TEXTRACT_DETECT_DOCUMENT_TEXT' | 'TEXTRACT_ANALYZE_DOCUMENT';
184
+ DocumentReadMode?: 'SERVICE_DEFAULT' | 'FORCE_DOCUMENT_READ_ACTION';
185
+ FeatureTypes?: ('TABLES' | 'FORMS')[];
186
+ };
187
+ }
188
+ export interface ClassifyDocumentCommandOutput {
189
+ Classes?: Array<{
190
+ Name?: string;
191
+ Score?: number;
192
+ Page?: number;
193
+ }>;
194
+ Labels?: Array<{
195
+ Name?: string;
196
+ Score?: number;
197
+ Page?: number;
198
+ }>;
199
+ DocumentMetadata?: {
200
+ Pages?: number;
201
+ ExtractedCharacters?: Array<{
202
+ Page?: number;
203
+ Count?: number;
204
+ }>;
205
+ };
206
+ DocumentType?: Array<{
207
+ Page?: number;
208
+ Type?: string;
209
+ }>;
210
+ Errors?: Array<{
211
+ Page?: number;
212
+ ErrorCode?: string;
213
+ ErrorMessage?: string;
214
+ }>;
215
+ Warnings?: Array<{
216
+ Page?: number;
217
+ WarnCode?: string;
218
+ WarnMessage?: string;
219
+ }>;
220
+ }
221
+ export interface BatchDetectSentimentCommandInput {
222
+ TextList: string[];
223
+ LanguageCode: string;
224
+ }
225
+ export interface BatchDetectSentimentCommandOutput {
226
+ ResultList: Array<{
227
+ Index?: number;
228
+ Sentiment?: 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL' | 'MIXED';
229
+ SentimentScore?: {
230
+ Positive?: number;
231
+ Negative?: number;
232
+ Neutral?: number;
233
+ Mixed?: number;
234
+ };
235
+ }>;
236
+ ErrorList: Array<{
237
+ Index?: number;
238
+ ErrorCode?: string;
239
+ ErrorMessage?: string;
240
+ }>;
241
+ }
242
+ export interface BatchDetectEntitiesCommandInput {
243
+ TextList: string[];
244
+ LanguageCode: string;
245
+ }
246
+ export interface BatchDetectEntitiesCommandOutput {
247
+ ResultList: Array<{
248
+ Index?: number;
249
+ Entities?: Entity[];
250
+ }>;
251
+ ErrorList: Array<{
252
+ Index?: number;
253
+ ErrorCode?: string;
254
+ ErrorMessage?: string;
255
+ }>;
256
+ }
257
+ export interface BatchDetectKeyPhrasesCommandInput {
258
+ TextList: string[];
259
+ LanguageCode: string;
260
+ }
261
+ export interface BatchDetectKeyPhrasesCommandOutput {
262
+ ResultList: Array<{
263
+ Index?: number;
264
+ KeyPhrases?: KeyPhrase[];
265
+ }>;
266
+ ErrorList: Array<{
267
+ Index?: number;
268
+ ErrorCode?: string;
269
+ ErrorMessage?: string;
270
+ }>;
271
+ }
272
+ export interface BatchDetectDominantLanguageCommandInput {
273
+ TextList: string[];
274
+ }
275
+ export interface BatchDetectDominantLanguageCommandOutput {
276
+ ResultList: Array<{
277
+ Index?: number;
278
+ Languages?: DominantLanguage[];
279
+ }>;
280
+ ErrorList: Array<{
281
+ Index?: number;
282
+ ErrorCode?: string;
283
+ ErrorMessage?: string;
284
+ }>;
285
+ }
286
+ export interface BatchDetectSyntaxCommandInput {
287
+ TextList: string[];
288
+ LanguageCode: string;
289
+ }
290
+ export interface BatchDetectSyntaxCommandOutput {
291
+ ResultList: Array<{
292
+ Index?: number;
293
+ SyntaxTokens?: SyntaxToken[];
294
+ }>;
295
+ ErrorList: Array<{
296
+ Index?: number;
297
+ ErrorCode?: string;
298
+ ErrorMessage?: string;
299
+ }>;
300
+ }
301
+ export interface StartSentimentDetectionJobCommandInput {
302
+ InputDataConfig: {
303
+ S3Uri: string;
304
+ InputFormat?: 'ONE_DOC_PER_FILE' | 'ONE_DOC_PER_LINE';
305
+ DocumentReaderConfig?: {
306
+ DocumentReadAction: 'TEXTRACT_DETECT_DOCUMENT_TEXT' | 'TEXTRACT_ANALYZE_DOCUMENT';
307
+ DocumentReadMode?: 'SERVICE_DEFAULT' | 'FORCE_DOCUMENT_READ_ACTION';
308
+ FeatureTypes?: ('TABLES' | 'FORMS')[];
309
+ };
310
+ };
311
+ OutputDataConfig: {
312
+ S3Uri: string;
313
+ KmsKeyId?: string;
314
+ };
315
+ DataAccessRoleArn: string;
316
+ JobName?: string;
317
+ LanguageCode: string;
318
+ ClientRequestToken?: string;
319
+ VolumeKmsKeyId?: string;
320
+ VpcConfig?: {
321
+ SecurityGroupIds: string[];
322
+ Subnets: string[];
323
+ };
324
+ Tags?: Array<{
325
+ Key: string;
326
+ Value: string;
327
+ }>;
328
+ }
329
+ export interface StartSentimentDetectionJobCommandOutput {
330
+ JobId?: string;
331
+ JobArn?: string;
332
+ JobStatus?: 'SUBMITTED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'STOP_REQUESTED' | 'STOPPED';
333
+ }
334
+ export interface StartEntitiesDetectionJobCommandInput {
335
+ InputDataConfig: {
336
+ S3Uri: string;
337
+ InputFormat?: 'ONE_DOC_PER_FILE' | 'ONE_DOC_PER_LINE';
338
+ DocumentReaderConfig?: {
339
+ DocumentReadAction: 'TEXTRACT_DETECT_DOCUMENT_TEXT' | 'TEXTRACT_ANALYZE_DOCUMENT';
340
+ DocumentReadMode?: 'SERVICE_DEFAULT' | 'FORCE_DOCUMENT_READ_ACTION';
341
+ FeatureTypes?: ('TABLES' | 'FORMS')[];
342
+ };
343
+ };
344
+ OutputDataConfig: {
345
+ S3Uri: string;
346
+ KmsKeyId?: string;
347
+ };
348
+ DataAccessRoleArn: string;
349
+ JobName?: string;
350
+ EntityRecognizerArn?: string;
351
+ LanguageCode: string;
352
+ ClientRequestToken?: string;
353
+ VolumeKmsKeyId?: string;
354
+ VpcConfig?: {
355
+ SecurityGroupIds: string[];
356
+ Subnets: string[];
357
+ };
358
+ Tags?: Array<{
359
+ Key: string;
360
+ Value: string;
361
+ }>;
362
+ FlywheelArn?: string;
363
+ }
364
+ export interface StartEntitiesDetectionJobCommandOutput {
365
+ JobId?: string;
366
+ JobArn?: string;
367
+ JobStatus?: 'SUBMITTED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'STOP_REQUESTED' | 'STOPPED';
368
+ EntityRecognizerArn?: string;
369
+ }
370
+ export interface StartKeyPhrasesDetectionJobCommandInput {
371
+ InputDataConfig: {
372
+ S3Uri: string;
373
+ InputFormat?: 'ONE_DOC_PER_FILE' | 'ONE_DOC_PER_LINE';
374
+ };
375
+ OutputDataConfig: {
376
+ S3Uri: string;
377
+ KmsKeyId?: string;
378
+ };
379
+ DataAccessRoleArn: string;
380
+ JobName?: string;
381
+ LanguageCode: string;
382
+ ClientRequestToken?: string;
383
+ VolumeKmsKeyId?: string;
384
+ VpcConfig?: {
385
+ SecurityGroupIds: string[];
386
+ Subnets: string[];
387
+ };
388
+ Tags?: Array<{
389
+ Key: string;
390
+ Value: string;
391
+ }>;
392
+ }
393
+ export interface StartKeyPhrasesDetectionJobCommandOutput {
394
+ JobId?: string;
395
+ JobArn?: string;
396
+ JobStatus?: 'SUBMITTED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'STOP_REQUESTED' | 'STOPPED';
397
+ }
398
+ export interface StartPiiEntitiesDetectionJobCommandInput {
399
+ InputDataConfig: {
400
+ S3Uri: string;
401
+ InputFormat?: 'ONE_DOC_PER_FILE' | 'ONE_DOC_PER_LINE';
402
+ };
403
+ OutputDataConfig: {
404
+ S3Uri: string;
405
+ KmsKeyId?: string;
406
+ };
407
+ Mode: 'ONLY_REDACTION' | 'ONLY_OFFSETS';
408
+ RedactionConfig?: {
409
+ PiiEntityTypes?: string[];
410
+ MaskMode?: 'MASK' | 'REPLACE_WITH_PII_ENTITY_TYPE';
411
+ MaskCharacter?: string;
412
+ };
413
+ DataAccessRoleArn: string;
414
+ JobName?: string;
415
+ LanguageCode: string;
416
+ ClientRequestToken?: string;
417
+ Tags?: Array<{
418
+ Key: string;
419
+ Value: string;
420
+ }>;
421
+ }
422
+ export interface StartPiiEntitiesDetectionJobCommandOutput {
423
+ JobId?: string;
424
+ JobArn?: string;
425
+ JobStatus?: 'SUBMITTED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'STOP_REQUESTED' | 'STOPPED';
426
+ }
427
+ export interface DescribeSentimentDetectionJobCommandInput {
428
+ JobId: string;
429
+ }
430
+ export interface DescribeSentimentDetectionJobCommandOutput {
431
+ SentimentDetectionJobProperties?: {
432
+ JobId?: string;
433
+ JobArn?: string;
434
+ JobName?: string;
435
+ JobStatus?: 'SUBMITTED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'STOP_REQUESTED' | 'STOPPED';
436
+ Message?: string;
437
+ SubmitTime?: string;
438
+ EndTime?: string;
439
+ InputDataConfig?: {
440
+ S3Uri?: string;
441
+ InputFormat?: string;
442
+ };
443
+ OutputDataConfig?: {
444
+ S3Uri?: string;
445
+ KmsKeyId?: string;
446
+ };
447
+ LanguageCode?: string;
448
+ DataAccessRoleArn?: string;
449
+ VolumeKmsKeyId?: string;
450
+ VpcConfig?: {
451
+ SecurityGroupIds?: string[];
452
+ Subnets?: string[];
453
+ };
454
+ };
455
+ }
456
+ export declare class ComprehendClient {
457
+ private client;
458
+ private region;
459
+ constructor(region?: string);
460
+ private request;
461
+ /**
462
+ * Detect sentiment in text
463
+ */
464
+ detectSentiment(params: DetectSentimentCommandInput): Promise<DetectSentimentCommandOutput>;
465
+ /**
466
+ * Detect entities in text
467
+ */
468
+ detectEntities(params: DetectEntitiesCommandInput): Promise<DetectEntitiesCommandOutput>;
469
+ /**
470
+ * Detect key phrases in text
471
+ */
472
+ detectKeyPhrases(params: DetectKeyPhrasesCommandInput): Promise<DetectKeyPhrasesCommandOutput>;
473
+ /**
474
+ * Detect the dominant language of text
475
+ */
476
+ detectDominantLanguage(params: DetectDominantLanguageCommandInput): Promise<DetectDominantLanguageCommandOutput>;
477
+ /**
478
+ * Detect PII entities in text
479
+ */
480
+ detectPiiEntities(params: DetectPiiEntitiesCommandInput): Promise<DetectPiiEntitiesCommandOutput>;
481
+ /**
482
+ * Check if text contains PII
483
+ */
484
+ containsPiiEntities(params: ContainsPiiEntitiesCommandInput): Promise<ContainsPiiEntitiesCommandOutput>;
485
+ /**
486
+ * Detect syntax (parts of speech) in text
487
+ */
488
+ detectSyntax(params: DetectSyntaxCommandInput): Promise<DetectSyntaxCommandOutput>;
489
+ /**
490
+ * Detect targeted sentiment (sentiment per entity)
491
+ */
492
+ detectTargetedSentiment(params: DetectTargetedSentimentCommandInput): Promise<DetectTargetedSentimentCommandOutput>;
493
+ /**
494
+ * Classify a document using a custom endpoint
495
+ */
496
+ classifyDocument(params: ClassifyDocumentCommandInput): Promise<ClassifyDocumentCommandOutput>;
497
+ /**
498
+ * Batch detect sentiment
499
+ */
500
+ batchDetectSentiment(params: BatchDetectSentimentCommandInput): Promise<BatchDetectSentimentCommandOutput>;
501
+ /**
502
+ * Batch detect entities
503
+ */
504
+ batchDetectEntities(params: BatchDetectEntitiesCommandInput): Promise<BatchDetectEntitiesCommandOutput>;
505
+ /**
506
+ * Batch detect key phrases
507
+ */
508
+ batchDetectKeyPhrases(params: BatchDetectKeyPhrasesCommandInput): Promise<BatchDetectKeyPhrasesCommandOutput>;
509
+ /**
510
+ * Batch detect dominant language
511
+ */
512
+ batchDetectDominantLanguage(params: BatchDetectDominantLanguageCommandInput): Promise<BatchDetectDominantLanguageCommandOutput>;
513
+ /**
514
+ * Batch detect syntax
515
+ */
516
+ batchDetectSyntax(params: BatchDetectSyntaxCommandInput): Promise<BatchDetectSyntaxCommandOutput>;
517
+ /**
518
+ * Start an async sentiment detection job
519
+ */
520
+ startSentimentDetectionJob(params: StartSentimentDetectionJobCommandInput): Promise<StartSentimentDetectionJobCommandOutput>;
521
+ /**
522
+ * Start an async entities detection job
523
+ */
524
+ startEntitiesDetectionJob(params: StartEntitiesDetectionJobCommandInput): Promise<StartEntitiesDetectionJobCommandOutput>;
525
+ /**
526
+ * Start an async key phrases detection job
527
+ */
528
+ startKeyPhrasesDetectionJob(params: StartKeyPhrasesDetectionJobCommandInput): Promise<StartKeyPhrasesDetectionJobCommandOutput>;
529
+ /**
530
+ * Start an async PII entities detection job
531
+ */
532
+ startPiiEntitiesDetectionJob(params: StartPiiEntitiesDetectionJobCommandInput): Promise<StartPiiEntitiesDetectionJobCommandOutput>;
533
+ /**
534
+ * Describe a sentiment detection job
535
+ */
536
+ describeSentimentDetectionJob(params: DescribeSentimentDetectionJobCommandInput): Promise<DescribeSentimentDetectionJobCommandOutput>;
537
+ /**
538
+ * Simple sentiment analysis
539
+ */
540
+ analyzeSentiment(text: string, languageCode?: string): Promise<{
541
+ sentiment: 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL' | 'MIXED';
542
+ scores: {
543
+ positive: number;
544
+ negative: number;
545
+ neutral: number;
546
+ mixed: number;
547
+ };
548
+ }>;
549
+ /**
550
+ * Extract entities from text
551
+ */
552
+ extractEntities(text: string, languageCode?: string): Promise<Array<{
553
+ text: string;
554
+ type: string;
555
+ score: number;
556
+ }>>;
557
+ /**
558
+ * Extract key phrases from text
559
+ */
560
+ extractKeyPhrases(text: string, languageCode?: string): Promise<string[]>;
561
+ /**
562
+ * Detect language of text
563
+ */
564
+ detectLanguage(text: string): Promise<{
565
+ languageCode: string;
566
+ confidence: number;
567
+ }>;
568
+ /**
569
+ * Find PII in text
570
+ */
571
+ findPii(text: string, languageCode?: string): Promise<Array<{
572
+ type: string;
573
+ beginOffset: number;
574
+ endOffset: number;
575
+ score: number;
576
+ }>>;
577
+ /**
578
+ * Check if text contains any PII
579
+ */
580
+ hasPii(text: string, languageCode?: string): Promise<boolean>;
581
+ /**
582
+ * Redact PII from text (replaces PII with [TYPE])
583
+ */
584
+ redactPii(text: string, languageCode?: string): Promise<string>;
585
+ }
586
+ /**
587
+ * Quick sentiment analysis
588
+ */
589
+ export declare function analyzeSentiment(text: string, options?: {
590
+ languageCode?: string;
591
+ region?: string;
592
+ }): Promise<{
593
+ sentiment: string;
594
+ confidence: number;
595
+ }>;
596
+ /**
597
+ * Quick entity extraction
598
+ */
599
+ export declare function extractEntities(text: string, options?: {
600
+ languageCode?: string;
601
+ region?: string;
602
+ }): Promise<Array<{
603
+ text: string;
604
+ type: string;
605
+ }>>;
606
+ /**
607
+ * Quick language detection
608
+ */
609
+ export declare function detectLanguage(text: string, region?: string): Promise<string>;
610
+ /**
611
+ * Quick PII check
612
+ */
613
+ export declare function containsPii(text: string, options?: {
614
+ languageCode?: string;
615
+ region?: string;
616
+ }): Promise<boolean>;