@aws-sdk/client-comprehend 3.301.0 → 3.303.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/dist-cjs/models/models_0.js +250 -283
- package/dist-es/models/models_0.js +250 -283
- package/dist-types/models/models_0.d.ts +416 -251
- package/dist-types/ts3.4/models/models_0.d.ts +303 -250
- package/package.json +34 -34
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ComprehendServiceException as __BaseException } from "./ComprehendServiceException";
|
|
3
|
-
export declare
|
|
4
|
-
PLAIN_TEXT_DOCUMENT
|
|
5
|
-
SEMI_STRUCTURED_DOCUMENT
|
|
6
|
-
}
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
export declare const AugmentedManifestsDocumentTypeFormat: {
|
|
4
|
+
readonly PLAIN_TEXT_DOCUMENT: "PLAIN_TEXT_DOCUMENT";
|
|
5
|
+
readonly SEMI_STRUCTURED_DOCUMENT: "SEMI_STRUCTURED_DOCUMENT";
|
|
6
|
+
};
|
|
7
|
+
export type AugmentedManifestsDocumentTypeFormat =
|
|
8
|
+
(typeof AugmentedManifestsDocumentTypeFormat)[keyof typeof AugmentedManifestsDocumentTypeFormat];
|
|
9
|
+
export declare const Split: {
|
|
10
|
+
readonly TEST: "TEST";
|
|
11
|
+
readonly TRAIN: "TRAIN";
|
|
12
|
+
};
|
|
13
|
+
export type Split = (typeof Split)[keyof typeof Split];
|
|
11
14
|
export interface AugmentedManifestsListItem {
|
|
12
15
|
S3Uri: string | undefined;
|
|
13
16
|
Split?: Split | string;
|
|
@@ -55,18 +58,22 @@ export declare class InternalServerException extends __BaseException {
|
|
|
55
58
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
56
59
|
);
|
|
57
60
|
}
|
|
58
|
-
export declare
|
|
59
|
-
DOCUMENT_SIZE_EXCEEDED
|
|
60
|
-
PAGE_LIMIT_EXCEEDED
|
|
61
|
-
TEXTRACT_ACCESS_DENIED
|
|
62
|
-
UNSUPPORTED_DOC_TYPE
|
|
63
|
-
}
|
|
61
|
+
export declare const InvalidRequestDetailReason: {
|
|
62
|
+
readonly DOCUMENT_SIZE_EXCEEDED: "DOCUMENT_SIZE_EXCEEDED";
|
|
63
|
+
readonly PAGE_LIMIT_EXCEEDED: "PAGE_LIMIT_EXCEEDED";
|
|
64
|
+
readonly TEXTRACT_ACCESS_DENIED: "TEXTRACT_ACCESS_DENIED";
|
|
65
|
+
readonly UNSUPPORTED_DOC_TYPE: "UNSUPPORTED_DOC_TYPE";
|
|
66
|
+
};
|
|
67
|
+
export type InvalidRequestDetailReason =
|
|
68
|
+
(typeof InvalidRequestDetailReason)[keyof typeof InvalidRequestDetailReason];
|
|
64
69
|
export interface InvalidRequestDetail {
|
|
65
70
|
Reason?: InvalidRequestDetailReason | string;
|
|
66
71
|
}
|
|
67
|
-
export declare
|
|
68
|
-
INVALID_DOCUMENT
|
|
69
|
-
}
|
|
72
|
+
export declare const InvalidRequestReason: {
|
|
73
|
+
readonly INVALID_DOCUMENT: "INVALID_DOCUMENT";
|
|
74
|
+
};
|
|
75
|
+
export type InvalidRequestReason =
|
|
76
|
+
(typeof InvalidRequestReason)[keyof typeof InvalidRequestReason];
|
|
70
77
|
export declare class InvalidRequestException extends __BaseException {
|
|
71
78
|
readonly name: "InvalidRequestException";
|
|
72
79
|
readonly $fault: "client";
|
|
@@ -85,20 +92,21 @@ export declare class TextSizeLimitExceededException extends __BaseException {
|
|
|
85
92
|
opts: __ExceptionOptionType<TextSizeLimitExceededException, __BaseException>
|
|
86
93
|
);
|
|
87
94
|
}
|
|
88
|
-
export declare
|
|
89
|
-
AR
|
|
90
|
-
DE
|
|
91
|
-
EN
|
|
92
|
-
ES
|
|
93
|
-
FR
|
|
94
|
-
HI
|
|
95
|
-
IT
|
|
96
|
-
JA
|
|
97
|
-
KO
|
|
98
|
-
PT
|
|
99
|
-
ZH
|
|
100
|
-
ZH_TW
|
|
101
|
-
}
|
|
95
|
+
export declare const LanguageCode: {
|
|
96
|
+
readonly AR: "ar";
|
|
97
|
+
readonly DE: "de";
|
|
98
|
+
readonly EN: "en";
|
|
99
|
+
readonly ES: "es";
|
|
100
|
+
readonly FR: "fr";
|
|
101
|
+
readonly HI: "hi";
|
|
102
|
+
readonly IT: "it";
|
|
103
|
+
readonly JA: "ja";
|
|
104
|
+
readonly KO: "ko";
|
|
105
|
+
readonly PT: "pt";
|
|
106
|
+
readonly ZH: "zh";
|
|
107
|
+
readonly ZH_TW: "zh-TW";
|
|
108
|
+
};
|
|
109
|
+
export type LanguageCode = (typeof LanguageCode)[keyof typeof LanguageCode];
|
|
102
110
|
export interface BatchDetectEntitiesRequest {
|
|
103
111
|
TextList: string[] | undefined;
|
|
104
112
|
LanguageCode: LanguageCode | string | undefined;
|
|
@@ -114,17 +122,18 @@ export interface BlockReference {
|
|
|
114
122
|
EndOffset?: number;
|
|
115
123
|
ChildBlocks?: ChildBlock[];
|
|
116
124
|
}
|
|
117
|
-
export declare
|
|
118
|
-
COMMERCIAL_ITEM
|
|
119
|
-
DATE
|
|
120
|
-
EVENT
|
|
121
|
-
LOCATION
|
|
122
|
-
ORGANIZATION
|
|
123
|
-
OTHER
|
|
124
|
-
PERSON
|
|
125
|
-
QUANTITY
|
|
126
|
-
TITLE
|
|
127
|
-
}
|
|
125
|
+
export declare const EntityType: {
|
|
126
|
+
readonly COMMERCIAL_ITEM: "COMMERCIAL_ITEM";
|
|
127
|
+
readonly DATE: "DATE";
|
|
128
|
+
readonly EVENT: "EVENT";
|
|
129
|
+
readonly LOCATION: "LOCATION";
|
|
130
|
+
readonly ORGANIZATION: "ORGANIZATION";
|
|
131
|
+
readonly OTHER: "OTHER";
|
|
132
|
+
readonly PERSON: "PERSON";
|
|
133
|
+
readonly QUANTITY: "QUANTITY";
|
|
134
|
+
readonly TITLE: "TITLE";
|
|
135
|
+
};
|
|
136
|
+
export type EntityType = (typeof EntityType)[keyof typeof EntityType];
|
|
128
137
|
export interface Entity {
|
|
129
138
|
Score?: number;
|
|
130
139
|
Type?: EntityType | string;
|
|
@@ -171,12 +180,13 @@ export interface BatchDetectSentimentRequest {
|
|
|
171
180
|
TextList: string[] | undefined;
|
|
172
181
|
LanguageCode: LanguageCode | string | undefined;
|
|
173
182
|
}
|
|
174
|
-
export declare
|
|
175
|
-
MIXED
|
|
176
|
-
NEGATIVE
|
|
177
|
-
NEUTRAL
|
|
178
|
-
POSITIVE
|
|
179
|
-
}
|
|
183
|
+
export declare const SentimentType: {
|
|
184
|
+
readonly MIXED: "MIXED";
|
|
185
|
+
readonly NEGATIVE: "NEGATIVE";
|
|
186
|
+
readonly NEUTRAL: "NEUTRAL";
|
|
187
|
+
readonly POSITIVE: "POSITIVE";
|
|
188
|
+
};
|
|
189
|
+
export type SentimentType = (typeof SentimentType)[keyof typeof SentimentType];
|
|
180
190
|
export interface SentimentScore {
|
|
181
191
|
Positive?: number;
|
|
182
192
|
Negative?: number;
|
|
@@ -192,38 +202,42 @@ export interface BatchDetectSentimentResponse {
|
|
|
192
202
|
ResultList: BatchDetectSentimentItemResult[] | undefined;
|
|
193
203
|
ErrorList: BatchItemError[] | undefined;
|
|
194
204
|
}
|
|
195
|
-
export declare
|
|
196
|
-
DE
|
|
197
|
-
EN
|
|
198
|
-
ES
|
|
199
|
-
FR
|
|
200
|
-
IT
|
|
201
|
-
PT
|
|
202
|
-
}
|
|
205
|
+
export declare const SyntaxLanguageCode: {
|
|
206
|
+
readonly DE: "de";
|
|
207
|
+
readonly EN: "en";
|
|
208
|
+
readonly ES: "es";
|
|
209
|
+
readonly FR: "fr";
|
|
210
|
+
readonly IT: "it";
|
|
211
|
+
readonly PT: "pt";
|
|
212
|
+
};
|
|
213
|
+
export type SyntaxLanguageCode =
|
|
214
|
+
(typeof SyntaxLanguageCode)[keyof typeof SyntaxLanguageCode];
|
|
203
215
|
export interface BatchDetectSyntaxRequest {
|
|
204
216
|
TextList: string[] | undefined;
|
|
205
217
|
LanguageCode: SyntaxLanguageCode | string | undefined;
|
|
206
218
|
}
|
|
207
|
-
export declare
|
|
208
|
-
ADJ
|
|
209
|
-
ADP
|
|
210
|
-
ADV
|
|
211
|
-
AUX
|
|
212
|
-
CCONJ
|
|
213
|
-
CONJ
|
|
214
|
-
DET
|
|
215
|
-
INTJ
|
|
216
|
-
NOUN
|
|
217
|
-
NUM
|
|
218
|
-
O
|
|
219
|
-
PART
|
|
220
|
-
PRON
|
|
221
|
-
PROPN
|
|
222
|
-
PUNCT
|
|
223
|
-
SCONJ
|
|
224
|
-
SYM
|
|
225
|
-
VERB
|
|
226
|
-
}
|
|
219
|
+
export declare const PartOfSpeechTagType: {
|
|
220
|
+
readonly ADJ: "ADJ";
|
|
221
|
+
readonly ADP: "ADP";
|
|
222
|
+
readonly ADV: "ADV";
|
|
223
|
+
readonly AUX: "AUX";
|
|
224
|
+
readonly CCONJ: "CCONJ";
|
|
225
|
+
readonly CONJ: "CONJ";
|
|
226
|
+
readonly DET: "DET";
|
|
227
|
+
readonly INTJ: "INTJ";
|
|
228
|
+
readonly NOUN: "NOUN";
|
|
229
|
+
readonly NUM: "NUM";
|
|
230
|
+
readonly O: "O";
|
|
231
|
+
readonly PART: "PART";
|
|
232
|
+
readonly PRON: "PRON";
|
|
233
|
+
readonly PROPN: "PROPN";
|
|
234
|
+
readonly PUNCT: "PUNCT";
|
|
235
|
+
readonly SCONJ: "SCONJ";
|
|
236
|
+
readonly SYM: "SYM";
|
|
237
|
+
readonly VERB: "VERB";
|
|
238
|
+
};
|
|
239
|
+
export type PartOfSpeechTagType =
|
|
240
|
+
(typeof PartOfSpeechTagType)[keyof typeof PartOfSpeechTagType];
|
|
227
241
|
export interface PartOfSpeechTag {
|
|
228
242
|
Tag?: PartOfSpeechTagType | string;
|
|
229
243
|
Score?: number;
|
|
@@ -251,25 +265,27 @@ export interface MentionSentiment {
|
|
|
251
265
|
Sentiment?: SentimentType | string;
|
|
252
266
|
SentimentScore?: SentimentScore;
|
|
253
267
|
}
|
|
254
|
-
export declare
|
|
255
|
-
ATTRIBUTE
|
|
256
|
-
BOOK
|
|
257
|
-
BRAND
|
|
258
|
-
COMMERCIAL_ITEM
|
|
259
|
-
DATE
|
|
260
|
-
EVENT
|
|
261
|
-
FACILITY
|
|
262
|
-
GAME
|
|
263
|
-
LOCATION
|
|
264
|
-
MOVIE
|
|
265
|
-
MUSIC
|
|
266
|
-
ORGANIZATION
|
|
267
|
-
OTHER
|
|
268
|
-
PERSON
|
|
269
|
-
PERSONAL_TITLE
|
|
270
|
-
QUANTITY
|
|
271
|
-
SOFTWARE
|
|
272
|
-
}
|
|
268
|
+
export declare const TargetedSentimentEntityType: {
|
|
269
|
+
readonly ATTRIBUTE: "ATTRIBUTE";
|
|
270
|
+
readonly BOOK: "BOOK";
|
|
271
|
+
readonly BRAND: "BRAND";
|
|
272
|
+
readonly COMMERCIAL_ITEM: "COMMERCIAL_ITEM";
|
|
273
|
+
readonly DATE: "DATE";
|
|
274
|
+
readonly EVENT: "EVENT";
|
|
275
|
+
readonly FACILITY: "FACILITY";
|
|
276
|
+
readonly GAME: "GAME";
|
|
277
|
+
readonly LOCATION: "LOCATION";
|
|
278
|
+
readonly MOVIE: "MOVIE";
|
|
279
|
+
readonly MUSIC: "MUSIC";
|
|
280
|
+
readonly ORGANIZATION: "ORGANIZATION";
|
|
281
|
+
readonly OTHER: "OTHER";
|
|
282
|
+
readonly PERSON: "PERSON";
|
|
283
|
+
readonly PERSONAL_TITLE: "PERSONAL_TITLE";
|
|
284
|
+
readonly QUANTITY: "QUANTITY";
|
|
285
|
+
readonly SOFTWARE: "SOFTWARE";
|
|
286
|
+
};
|
|
287
|
+
export type TargetedSentimentEntityType =
|
|
288
|
+
(typeof TargetedSentimentEntityType)[keyof typeof TargetedSentimentEntityType];
|
|
273
289
|
export interface TargetedSentimentMention {
|
|
274
290
|
Score?: number;
|
|
275
291
|
GroupScore?: number;
|
|
@@ -291,10 +307,11 @@ export interface BatchDetectTargetedSentimentResponse {
|
|
|
291
307
|
ResultList: BatchDetectTargetedSentimentItemResult[] | undefined;
|
|
292
308
|
ErrorList: BatchItemError[] | undefined;
|
|
293
309
|
}
|
|
294
|
-
export declare
|
|
295
|
-
LINE
|
|
296
|
-
WORD
|
|
297
|
-
}
|
|
310
|
+
export declare const BlockType: {
|
|
311
|
+
readonly LINE: "LINE";
|
|
312
|
+
readonly WORD: "WORD";
|
|
313
|
+
};
|
|
314
|
+
export type BlockType = (typeof BlockType)[keyof typeof BlockType];
|
|
298
315
|
export interface BoundingBox {
|
|
299
316
|
Height?: number;
|
|
300
317
|
Left?: number;
|
|
@@ -309,9 +326,11 @@ export interface Geometry {
|
|
|
309
326
|
BoundingBox?: BoundingBox;
|
|
310
327
|
Polygon?: Point[];
|
|
311
328
|
}
|
|
312
|
-
export declare
|
|
313
|
-
CHILD
|
|
314
|
-
}
|
|
329
|
+
export declare const RelationshipType: {
|
|
330
|
+
readonly CHILD: "CHILD";
|
|
331
|
+
};
|
|
332
|
+
export type RelationshipType =
|
|
333
|
+
(typeof RelationshipType)[keyof typeof RelationshipType];
|
|
315
334
|
export interface RelationshipsListItem {
|
|
316
335
|
Ids?: string[];
|
|
317
336
|
Type?: RelationshipType | string;
|
|
@@ -340,18 +359,24 @@ export interface ClassifierMetadata {
|
|
|
340
359
|
NumberOfTestDocuments?: number;
|
|
341
360
|
EvaluationMetrics?: ClassifierEvaluationMetrics;
|
|
342
361
|
}
|
|
343
|
-
export declare
|
|
344
|
-
TEXTRACT_ANALYZE_DOCUMENT
|
|
345
|
-
TEXTRACT_DETECT_DOCUMENT_TEXT
|
|
346
|
-
}
|
|
347
|
-
export
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
362
|
+
export declare const DocumentReadAction: {
|
|
363
|
+
readonly TEXTRACT_ANALYZE_DOCUMENT: "TEXTRACT_ANALYZE_DOCUMENT";
|
|
364
|
+
readonly TEXTRACT_DETECT_DOCUMENT_TEXT: "TEXTRACT_DETECT_DOCUMENT_TEXT";
|
|
365
|
+
};
|
|
366
|
+
export type DocumentReadAction =
|
|
367
|
+
(typeof DocumentReadAction)[keyof typeof DocumentReadAction];
|
|
368
|
+
export declare const DocumentReadMode: {
|
|
369
|
+
readonly FORCE_DOCUMENT_READ_ACTION: "FORCE_DOCUMENT_READ_ACTION";
|
|
370
|
+
readonly SERVICE_DEFAULT: "SERVICE_DEFAULT";
|
|
371
|
+
};
|
|
372
|
+
export type DocumentReadMode =
|
|
373
|
+
(typeof DocumentReadMode)[keyof typeof DocumentReadMode];
|
|
374
|
+
export declare const DocumentReadFeatureTypes: {
|
|
375
|
+
readonly FORMS: "FORMS";
|
|
376
|
+
readonly TABLES: "TABLES";
|
|
377
|
+
};
|
|
378
|
+
export type DocumentReadFeatureTypes =
|
|
379
|
+
(typeof DocumentReadFeatureTypes)[keyof typeof DocumentReadFeatureTypes];
|
|
355
380
|
export interface DocumentReaderConfig {
|
|
356
381
|
DocumentReadAction: DocumentReadAction | string | undefined;
|
|
357
382
|
DocumentReadMode?: DocumentReadMode | string;
|
|
@@ -376,26 +401,29 @@ export interface DocumentMetadata {
|
|
|
376
401
|
Pages?: number;
|
|
377
402
|
ExtractedCharacters?: ExtractedCharactersListItem[];
|
|
378
403
|
}
|
|
379
|
-
export declare
|
|
380
|
-
IMAGE
|
|
381
|
-
MS_WORD
|
|
382
|
-
NATIVE_PDF
|
|
383
|
-
PLAIN_TEXT
|
|
384
|
-
SCANNED_PDF
|
|
385
|
-
TEXTRACT_ANALYZE_DOCUMENT_JSON
|
|
386
|
-
TEXTRACT_DETECT_DOCUMENT_TEXT_JSON
|
|
387
|
-
}
|
|
404
|
+
export declare const DocumentType: {
|
|
405
|
+
readonly IMAGE: "IMAGE";
|
|
406
|
+
readonly MS_WORD: "MS_WORD";
|
|
407
|
+
readonly NATIVE_PDF: "NATIVE_PDF";
|
|
408
|
+
readonly PLAIN_TEXT: "PLAIN_TEXT";
|
|
409
|
+
readonly SCANNED_PDF: "SCANNED_PDF";
|
|
410
|
+
readonly TEXTRACT_ANALYZE_DOCUMENT_JSON: "TEXTRACT_ANALYZE_DOCUMENT_JSON";
|
|
411
|
+
readonly TEXTRACT_DETECT_DOCUMENT_TEXT_JSON: "TEXTRACT_DETECT_DOCUMENT_TEXT_JSON";
|
|
412
|
+
};
|
|
413
|
+
export type DocumentType = (typeof DocumentType)[keyof typeof DocumentType];
|
|
388
414
|
export interface DocumentTypeListItem {
|
|
389
415
|
Page?: number;
|
|
390
416
|
Type?: DocumentType | string;
|
|
391
417
|
}
|
|
392
|
-
export declare
|
|
393
|
-
INTERNAL_SERVER_ERROR
|
|
394
|
-
PAGE_CHARACTERS_EXCEEDED
|
|
395
|
-
PAGE_SIZE_EXCEEDED
|
|
396
|
-
TEXTRACT_BAD_PAGE
|
|
397
|
-
TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED
|
|
398
|
-
}
|
|
418
|
+
export declare const PageBasedErrorCode: {
|
|
419
|
+
readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
|
|
420
|
+
readonly PAGE_CHARACTERS_EXCEEDED: "PAGE_CHARACTERS_EXCEEDED";
|
|
421
|
+
readonly PAGE_SIZE_EXCEEDED: "PAGE_SIZE_EXCEEDED";
|
|
422
|
+
readonly TEXTRACT_BAD_PAGE: "TEXTRACT_BAD_PAGE";
|
|
423
|
+
readonly TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED: "TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED";
|
|
424
|
+
};
|
|
425
|
+
export type PageBasedErrorCode =
|
|
426
|
+
(typeof PageBasedErrorCode)[keyof typeof PageBasedErrorCode];
|
|
399
427
|
export interface ErrorsListItem {
|
|
400
428
|
Page?: number;
|
|
401
429
|
ErrorCode?: PageBasedErrorCode | string;
|
|
@@ -425,45 +453,46 @@ export interface ContainsPiiEntitiesRequest {
|
|
|
425
453
|
Text: string | undefined;
|
|
426
454
|
LanguageCode: LanguageCode | string | undefined;
|
|
427
455
|
}
|
|
428
|
-
export declare
|
|
429
|
-
ADDRESS
|
|
430
|
-
AGE
|
|
431
|
-
ALL
|
|
432
|
-
AWS_ACCESS_KEY
|
|
433
|
-
AWS_SECRET_KEY
|
|
434
|
-
BANK_ACCOUNT_NUMBER
|
|
435
|
-
BANK_ROUTING
|
|
436
|
-
CA_HEALTH_NUMBER
|
|
437
|
-
CA_SOCIAL_INSURANCE_NUMBER
|
|
438
|
-
CREDIT_DEBIT_CVV
|
|
439
|
-
CREDIT_DEBIT_EXPIRY
|
|
440
|
-
CREDIT_DEBIT_NUMBER
|
|
441
|
-
DATE_TIME
|
|
442
|
-
DRIVER_ID
|
|
443
|
-
EMAIL
|
|
444
|
-
INTERNATIONAL_BANK_ACCOUNT_NUMBER
|
|
445
|
-
IN_AADHAAR
|
|
446
|
-
IN_NREGA
|
|
447
|
-
IN_PERMANENT_ACCOUNT_NUMBER
|
|
448
|
-
IN_VOTER_NUMBER
|
|
449
|
-
IP_ADDRESS
|
|
450
|
-
LICENSE_PLATE
|
|
451
|
-
MAC_ADDRESS
|
|
452
|
-
NAME
|
|
453
|
-
PASSPORT_NUMBER
|
|
454
|
-
PASSWORD
|
|
455
|
-
PHONE
|
|
456
|
-
PIN
|
|
457
|
-
SSN
|
|
458
|
-
SWIFT_CODE
|
|
459
|
-
UK_NATIONAL_HEALTH_SERVICE_NUMBER
|
|
460
|
-
UK_NATIONAL_INSURANCE_NUMBER
|
|
461
|
-
UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER
|
|
462
|
-
URL
|
|
463
|
-
USERNAME
|
|
464
|
-
US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER
|
|
465
|
-
VEHICLE_IDENTIFICATION_NUMBER
|
|
466
|
-
}
|
|
456
|
+
export declare const PiiEntityType: {
|
|
457
|
+
readonly ADDRESS: "ADDRESS";
|
|
458
|
+
readonly AGE: "AGE";
|
|
459
|
+
readonly ALL: "ALL";
|
|
460
|
+
readonly AWS_ACCESS_KEY: "AWS_ACCESS_KEY";
|
|
461
|
+
readonly AWS_SECRET_KEY: "AWS_SECRET_KEY";
|
|
462
|
+
readonly BANK_ACCOUNT_NUMBER: "BANK_ACCOUNT_NUMBER";
|
|
463
|
+
readonly BANK_ROUTING: "BANK_ROUTING";
|
|
464
|
+
readonly CA_HEALTH_NUMBER: "CA_HEALTH_NUMBER";
|
|
465
|
+
readonly CA_SOCIAL_INSURANCE_NUMBER: "CA_SOCIAL_INSURANCE_NUMBER";
|
|
466
|
+
readonly CREDIT_DEBIT_CVV: "CREDIT_DEBIT_CVV";
|
|
467
|
+
readonly CREDIT_DEBIT_EXPIRY: "CREDIT_DEBIT_EXPIRY";
|
|
468
|
+
readonly CREDIT_DEBIT_NUMBER: "CREDIT_DEBIT_NUMBER";
|
|
469
|
+
readonly DATE_TIME: "DATE_TIME";
|
|
470
|
+
readonly DRIVER_ID: "DRIVER_ID";
|
|
471
|
+
readonly EMAIL: "EMAIL";
|
|
472
|
+
readonly INTERNATIONAL_BANK_ACCOUNT_NUMBER: "INTERNATIONAL_BANK_ACCOUNT_NUMBER";
|
|
473
|
+
readonly IN_AADHAAR: "IN_AADHAAR";
|
|
474
|
+
readonly IN_NREGA: "IN_NREGA";
|
|
475
|
+
readonly IN_PERMANENT_ACCOUNT_NUMBER: "IN_PERMANENT_ACCOUNT_NUMBER";
|
|
476
|
+
readonly IN_VOTER_NUMBER: "IN_VOTER_NUMBER";
|
|
477
|
+
readonly IP_ADDRESS: "IP_ADDRESS";
|
|
478
|
+
readonly LICENSE_PLATE: "LICENSE_PLATE";
|
|
479
|
+
readonly MAC_ADDRESS: "MAC_ADDRESS";
|
|
480
|
+
readonly NAME: "NAME";
|
|
481
|
+
readonly PASSPORT_NUMBER: "PASSPORT_NUMBER";
|
|
482
|
+
readonly PASSWORD: "PASSWORD";
|
|
483
|
+
readonly PHONE: "PHONE";
|
|
484
|
+
readonly PIN: "PIN";
|
|
485
|
+
readonly SSN: "SSN";
|
|
486
|
+
readonly SWIFT_CODE: "SWIFT_CODE";
|
|
487
|
+
readonly UK_NATIONAL_HEALTH_SERVICE_NUMBER: "UK_NATIONAL_HEALTH_SERVICE_NUMBER";
|
|
488
|
+
readonly UK_NATIONAL_INSURANCE_NUMBER: "UK_NATIONAL_INSURANCE_NUMBER";
|
|
489
|
+
readonly UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER: "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER";
|
|
490
|
+
readonly URL: "URL";
|
|
491
|
+
readonly USERNAME: "USERNAME";
|
|
492
|
+
readonly US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER: "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER";
|
|
493
|
+
readonly VEHICLE_IDENTIFICATION_NUMBER: "VEHICLE_IDENTIFICATION_NUMBER";
|
|
494
|
+
};
|
|
495
|
+
export type PiiEntityType = (typeof PiiEntityType)[keyof typeof PiiEntityType];
|
|
467
496
|
export interface EntityLabel {
|
|
468
497
|
Name?: PiiEntityType | string;
|
|
469
498
|
Score?: number;
|
|
@@ -471,10 +500,11 @@ export interface EntityLabel {
|
|
|
471
500
|
export interface ContainsPiiEntitiesResponse {
|
|
472
501
|
Labels?: EntityLabel[];
|
|
473
502
|
}
|
|
474
|
-
export declare
|
|
475
|
-
TEST
|
|
476
|
-
TRAIN
|
|
477
|
-
}
|
|
503
|
+
export declare const DatasetType: {
|
|
504
|
+
readonly TEST: "TEST";
|
|
505
|
+
readonly TRAIN: "TRAIN";
|
|
506
|
+
};
|
|
507
|
+
export type DatasetType = (typeof DatasetType)[keyof typeof DatasetType];
|
|
478
508
|
export interface DatasetAugmentedManifestsListItem {
|
|
479
509
|
AttributeNames: string[] | undefined;
|
|
480
510
|
S3Uri: string | undefined;
|
|
@@ -482,10 +512,12 @@ export interface DatasetAugmentedManifestsListItem {
|
|
|
482
512
|
SourceDocumentsS3Uri?: string;
|
|
483
513
|
DocumentType?: AugmentedManifestsDocumentTypeFormat | string;
|
|
484
514
|
}
|
|
485
|
-
export declare
|
|
486
|
-
AUGMENTED_MANIFEST
|
|
487
|
-
COMPREHEND_CSV
|
|
488
|
-
}
|
|
515
|
+
export declare const DatasetDataFormat: {
|
|
516
|
+
readonly AUGMENTED_MANIFEST: "AUGMENTED_MANIFEST";
|
|
517
|
+
readonly COMPREHEND_CSV: "COMPREHEND_CSV";
|
|
518
|
+
};
|
|
519
|
+
export type DatasetDataFormat =
|
|
520
|
+
(typeof DatasetDataFormat)[keyof typeof DatasetDataFormat];
|
|
489
521
|
export interface DatasetDocumentClassifierInputDataConfig {
|
|
490
522
|
S3Uri: string | undefined;
|
|
491
523
|
LabelDelimiter?: string;
|
|
@@ -493,10 +525,11 @@ export interface DatasetDocumentClassifierInputDataConfig {
|
|
|
493
525
|
export interface DatasetEntityRecognizerAnnotations {
|
|
494
526
|
S3Uri: string | undefined;
|
|
495
527
|
}
|
|
496
|
-
export declare
|
|
497
|
-
ONE_DOC_PER_FILE
|
|
498
|
-
ONE_DOC_PER_LINE
|
|
499
|
-
}
|
|
528
|
+
export declare const InputFormat: {
|
|
529
|
+
readonly ONE_DOC_PER_FILE: "ONE_DOC_PER_FILE";
|
|
530
|
+
readonly ONE_DOC_PER_LINE: "ONE_DOC_PER_LINE";
|
|
531
|
+
};
|
|
532
|
+
export type InputFormat = (typeof InputFormat)[keyof typeof InputFormat];
|
|
500
533
|
export interface DatasetEntityRecognizerDocuments {
|
|
501
534
|
S3Uri: string | undefined;
|
|
502
535
|
InputFormat?: InputFormat | string;
|
|
@@ -571,10 +604,12 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
571
604
|
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
572
605
|
);
|
|
573
606
|
}
|
|
574
|
-
export declare
|
|
575
|
-
AUGMENTED_MANIFEST
|
|
576
|
-
COMPREHEND_CSV
|
|
577
|
-
}
|
|
607
|
+
export declare const DocumentClassifierDataFormat: {
|
|
608
|
+
readonly AUGMENTED_MANIFEST: "AUGMENTED_MANIFEST";
|
|
609
|
+
readonly COMPREHEND_CSV: "COMPREHEND_CSV";
|
|
610
|
+
};
|
|
611
|
+
export type DocumentClassifierDataFormat =
|
|
612
|
+
(typeof DocumentClassifierDataFormat)[keyof typeof DocumentClassifierDataFormat];
|
|
578
613
|
export interface DocumentClassifierInputDataConfig {
|
|
579
614
|
DataFormat?: DocumentClassifierDataFormat | string;
|
|
580
615
|
S3Uri?: string;
|
|
@@ -582,10 +617,12 @@ export interface DocumentClassifierInputDataConfig {
|
|
|
582
617
|
LabelDelimiter?: string;
|
|
583
618
|
AugmentedManifests?: AugmentedManifestsListItem[];
|
|
584
619
|
}
|
|
585
|
-
export declare
|
|
586
|
-
MULTI_CLASS
|
|
587
|
-
MULTI_LABEL
|
|
588
|
-
}
|
|
620
|
+
export declare const DocumentClassifierMode: {
|
|
621
|
+
readonly MULTI_CLASS: "MULTI_CLASS";
|
|
622
|
+
readonly MULTI_LABEL: "MULTI_LABEL";
|
|
623
|
+
};
|
|
624
|
+
export type DocumentClassifierMode =
|
|
625
|
+
(typeof DocumentClassifierMode)[keyof typeof DocumentClassifierMode];
|
|
589
626
|
export interface DocumentClassifierOutputDataConfig {
|
|
590
627
|
S3Uri?: string;
|
|
591
628
|
KmsKeyId?: string;
|
|
@@ -638,10 +675,12 @@ export interface EntityRecognizerAnnotations {
|
|
|
638
675
|
S3Uri: string | undefined;
|
|
639
676
|
TestS3Uri?: string;
|
|
640
677
|
}
|
|
641
|
-
export declare
|
|
642
|
-
AUGMENTED_MANIFEST
|
|
643
|
-
COMPREHEND_CSV
|
|
644
|
-
}
|
|
678
|
+
export declare const EntityRecognizerDataFormat: {
|
|
679
|
+
readonly AUGMENTED_MANIFEST: "AUGMENTED_MANIFEST";
|
|
680
|
+
readonly COMPREHEND_CSV: "COMPREHEND_CSV";
|
|
681
|
+
};
|
|
682
|
+
export type EntityRecognizerDataFormat =
|
|
683
|
+
(typeof EntityRecognizerDataFormat)[keyof typeof EntityRecognizerDataFormat];
|
|
645
684
|
export interface EntityRecognizerDocuments {
|
|
646
685
|
S3Uri: string | undefined;
|
|
647
686
|
TestS3Uri?: string;
|
|
@@ -683,10 +722,11 @@ export interface DataSecurityConfig {
|
|
|
683
722
|
DataLakeKmsKeyId?: string;
|
|
684
723
|
VpcConfig?: VpcConfig;
|
|
685
724
|
}
|
|
686
|
-
export declare
|
|
687
|
-
DOCUMENT_CLASSIFIER
|
|
688
|
-
ENTITY_RECOGNIZER
|
|
689
|
-
}
|
|
725
|
+
export declare const ModelType: {
|
|
726
|
+
readonly DOCUMENT_CLASSIFIER: "DOCUMENT_CLASSIFIER";
|
|
727
|
+
readonly ENTITY_RECOGNIZER: "ENTITY_RECOGNIZER";
|
|
728
|
+
};
|
|
729
|
+
export type ModelType = (typeof ModelType)[keyof typeof ModelType];
|
|
690
730
|
export interface DocumentClassificationConfig {
|
|
691
731
|
Mode: DocumentClassifierMode | string | undefined;
|
|
692
732
|
Labels?: string[];
|
|
@@ -738,11 +778,12 @@ export interface DeleteResourcePolicyResponse {}
|
|
|
738
778
|
export interface DescribeDatasetRequest {
|
|
739
779
|
DatasetArn: string | undefined;
|
|
740
780
|
}
|
|
741
|
-
export declare
|
|
742
|
-
COMPLETED
|
|
743
|
-
CREATING
|
|
744
|
-
FAILED
|
|
745
|
-
}
|
|
781
|
+
export declare const DatasetStatus: {
|
|
782
|
+
readonly COMPLETED: "COMPLETED";
|
|
783
|
+
readonly CREATING: "CREATING";
|
|
784
|
+
readonly FAILED: "FAILED";
|
|
785
|
+
};
|
|
786
|
+
export type DatasetStatus = (typeof DatasetStatus)[keyof typeof DatasetStatus];
|
|
746
787
|
export interface DatasetProperties {
|
|
747
788
|
DatasetArn?: string;
|
|
748
789
|
DatasetName?: string;
|
|
@@ -766,14 +807,15 @@ export interface InputDataConfig {
|
|
|
766
807
|
InputFormat?: InputFormat | string;
|
|
767
808
|
DocumentReaderConfig?: DocumentReaderConfig;
|
|
768
809
|
}
|
|
769
|
-
export declare
|
|
770
|
-
COMPLETED
|
|
771
|
-
FAILED
|
|
772
|
-
IN_PROGRESS
|
|
773
|
-
STOPPED
|
|
774
|
-
STOP_REQUESTED
|
|
775
|
-
SUBMITTED
|
|
776
|
-
}
|
|
810
|
+
export declare const JobStatus: {
|
|
811
|
+
readonly COMPLETED: "COMPLETED";
|
|
812
|
+
readonly FAILED: "FAILED";
|
|
813
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
814
|
+
readonly STOPPED: "STOPPED";
|
|
815
|
+
readonly STOP_REQUESTED: "STOP_REQUESTED";
|
|
816
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
817
|
+
};
|
|
818
|
+
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
777
819
|
export interface OutputDataConfig {
|
|
778
820
|
S3Uri: string | undefined;
|
|
779
821
|
KmsKeyId?: string;
|
|
@@ -808,16 +850,17 @@ export declare class JobNotFoundException extends __BaseException {
|
|
|
808
850
|
export interface DescribeDocumentClassifierRequest {
|
|
809
851
|
DocumentClassifierArn: string | undefined;
|
|
810
852
|
}
|
|
811
|
-
export declare
|
|
812
|
-
DELETING
|
|
813
|
-
IN_ERROR
|
|
814
|
-
STOPPED
|
|
815
|
-
STOP_REQUESTED
|
|
816
|
-
SUBMITTED
|
|
817
|
-
TRAINED
|
|
818
|
-
TRAINED_WITH_WARNING
|
|
819
|
-
TRAINING
|
|
820
|
-
}
|
|
853
|
+
export declare const ModelStatus: {
|
|
854
|
+
readonly DELETING: "DELETING";
|
|
855
|
+
readonly IN_ERROR: "IN_ERROR";
|
|
856
|
+
readonly STOPPED: "STOPPED";
|
|
857
|
+
readonly STOP_REQUESTED: "STOP_REQUESTED";
|
|
858
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
859
|
+
readonly TRAINED: "TRAINED";
|
|
860
|
+
readonly TRAINED_WITH_WARNING: "TRAINED_WITH_WARNING";
|
|
861
|
+
readonly TRAINING: "TRAINING";
|
|
862
|
+
};
|
|
863
|
+
export type ModelStatus = (typeof ModelStatus)[keyof typeof ModelStatus];
|
|
821
864
|
export interface DocumentClassifierProperties {
|
|
822
865
|
DocumentClassifierArn?: string;
|
|
823
866
|
LanguageCode?: LanguageCode | string;
|
|
@@ -865,13 +908,15 @@ export interface DescribeDominantLanguageDetectionJobResponse {
|
|
|
865
908
|
export interface DescribeEndpointRequest {
|
|
866
909
|
EndpointArn: string | undefined;
|
|
867
910
|
}
|
|
868
|
-
export declare
|
|
869
|
-
CREATING
|
|
870
|
-
DELETING
|
|
871
|
-
FAILED
|
|
872
|
-
IN_SERVICE
|
|
873
|
-
UPDATING
|
|
874
|
-
}
|
|
911
|
+
export declare const EndpointStatus: {
|
|
912
|
+
readonly CREATING: "CREATING";
|
|
913
|
+
readonly DELETING: "DELETING";
|
|
914
|
+
readonly FAILED: "FAILED";
|
|
915
|
+
readonly IN_SERVICE: "IN_SERVICE";
|
|
916
|
+
readonly UPDATING: "UPDATING";
|
|
917
|
+
};
|
|
918
|
+
export type EndpointStatus =
|
|
919
|
+
(typeof EndpointStatus)[keyof typeof EndpointStatus];
|
|
875
920
|
export interface EndpointProperties {
|
|
876
921
|
EndpointArn?: string;
|
|
877
922
|
Status?: EndpointStatus | string;
|
|
@@ -985,13 +1030,15 @@ export interface DescribeEventsDetectionJobResponse {
|
|
|
985
1030
|
export interface DescribeFlywheelRequest {
|
|
986
1031
|
FlywheelArn: string | undefined;
|
|
987
1032
|
}
|
|
988
|
-
export declare
|
|
989
|
-
ACTIVE
|
|
990
|
-
CREATING
|
|
991
|
-
DELETING
|
|
992
|
-
FAILED
|
|
993
|
-
UPDATING
|
|
994
|
-
}
|
|
1033
|
+
export declare const FlywheelStatus: {
|
|
1034
|
+
readonly ACTIVE: "ACTIVE";
|
|
1035
|
+
readonly CREATING: "CREATING";
|
|
1036
|
+
readonly DELETING: "DELETING";
|
|
1037
|
+
readonly FAILED: "FAILED";
|
|
1038
|
+
readonly UPDATING: "UPDATING";
|
|
1039
|
+
};
|
|
1040
|
+
export type FlywheelStatus =
|
|
1041
|
+
(typeof FlywheelStatus)[keyof typeof FlywheelStatus];
|
|
995
1042
|
export interface FlywheelProperties {
|
|
996
1043
|
FlywheelArn?: string;
|
|
997
1044
|
ActiveModelArn?: string;
|
|
@@ -1019,14 +1066,16 @@ export interface FlywheelModelEvaluationMetrics {
|
|
|
1019
1066
|
AverageRecall?: number;
|
|
1020
1067
|
AverageAccuracy?: number;
|
|
1021
1068
|
}
|
|
1022
|
-
export declare
|
|
1023
|
-
COMPLETED
|
|
1024
|
-
EVALUATING
|
|
1025
|
-
FAILED
|
|
1026
|
-
STOPPED
|
|
1027
|
-
STOP_REQUESTED
|
|
1028
|
-
TRAINING
|
|
1029
|
-
}
|
|
1069
|
+
export declare const FlywheelIterationStatus: {
|
|
1070
|
+
readonly COMPLETED: "COMPLETED";
|
|
1071
|
+
readonly EVALUATING: "EVALUATING";
|
|
1072
|
+
readonly FAILED: "FAILED";
|
|
1073
|
+
readonly STOPPED: "STOPPED";
|
|
1074
|
+
readonly STOP_REQUESTED: "STOP_REQUESTED";
|
|
1075
|
+
readonly TRAINING: "TRAINING";
|
|
1076
|
+
};
|
|
1077
|
+
export type FlywheelIterationStatus =
|
|
1078
|
+
(typeof FlywheelIterationStatus)[keyof typeof FlywheelIterationStatus];
|
|
1030
1079
|
export interface FlywheelIterationProperties {
|
|
1031
1080
|
FlywheelArn?: string;
|
|
1032
1081
|
FlywheelIterationId?: string;
|
|
@@ -1067,18 +1116,22 @@ export interface DescribeKeyPhrasesDetectionJobResponse {
|
|
|
1067
1116
|
export interface DescribePiiEntitiesDetectionJobRequest {
|
|
1068
1117
|
JobId: string | undefined;
|
|
1069
1118
|
}
|
|
1070
|
-
export declare
|
|
1071
|
-
ONLY_OFFSETS
|
|
1072
|
-
ONLY_REDACTION
|
|
1073
|
-
}
|
|
1119
|
+
export declare const PiiEntitiesDetectionMode: {
|
|
1120
|
+
readonly ONLY_OFFSETS: "ONLY_OFFSETS";
|
|
1121
|
+
readonly ONLY_REDACTION: "ONLY_REDACTION";
|
|
1122
|
+
};
|
|
1123
|
+
export type PiiEntitiesDetectionMode =
|
|
1124
|
+
(typeof PiiEntitiesDetectionMode)[keyof typeof PiiEntitiesDetectionMode];
|
|
1074
1125
|
export interface PiiOutputDataConfig {
|
|
1075
1126
|
S3Uri: string | undefined;
|
|
1076
1127
|
KmsKeyId?: string;
|
|
1077
1128
|
}
|
|
1078
|
-
export declare
|
|
1079
|
-
MASK
|
|
1080
|
-
REPLACE_WITH_PII_ENTITY_TYPE
|
|
1081
|
-
}
|
|
1129
|
+
export declare const PiiEntitiesDetectionMaskMode: {
|
|
1130
|
+
readonly MASK: "MASK";
|
|
1131
|
+
readonly REPLACE_WITH_PII_ENTITY_TYPE: "REPLACE_WITH_PII_ENTITY_TYPE";
|
|
1132
|
+
};
|
|
1133
|
+
export type PiiEntitiesDetectionMaskMode =
|
|
1134
|
+
(typeof PiiEntitiesDetectionMaskMode)[keyof typeof PiiEntitiesDetectionMaskMode];
|
|
1082
1135
|
export interface RedactionConfig {
|
|
1083
1136
|
PiiEntityTypes?: (PiiEntityType | string)[];
|
|
1084
1137
|
MaskMode?: PiiEntitiesDetectionMaskMode | string;
|