@aws-sdk/client-comprehend 3.934.0 → 3.935.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/index.js +281 -281
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +267 -0
- package/dist-es/models/errors.js +229 -0
- package/dist-es/models/models_0.js +1 -468
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/StopEntitiesDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopEventsDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTrainingDocumentClassifierCommand.d.ts +1 -1
- package/dist-types/commands/StopTrainingEntityRecognizerCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEndpointCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFlywheelCommand.d.ts +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +555 -0
- package/dist-types/models/errors.d.ts +230 -0
- package/dist-types/models/models_0.d.ts +352 -757
- package/dist-types/ts3.4/commands/StopEntitiesDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopEventsDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopKeyPhrasesDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopPiiEntitiesDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopSentimentDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTrainingDocumentClassifierCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTrainingEntityRecognizerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFlywheelCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +326 -0
- package/dist-types/ts3.4/models/errors.d.ts +140 -0
- package/dist-types/ts3.4/models/models_0.d.ts +121 -445
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -2
- package/dist-es/models/models_1.js +0 -29
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/models/models_1.d.ts +0 -380
- package/dist-types/ts3.4/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/models_1.d.ts +0 -106
|
@@ -1,16 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import {
|
|
2
|
+
AugmentedManifestsDocumentTypeFormat,
|
|
3
|
+
BlockType,
|
|
4
|
+
DatasetDataFormat,
|
|
5
|
+
DatasetStatus,
|
|
6
|
+
DatasetType,
|
|
7
|
+
DocumentClassifierDataFormat,
|
|
8
|
+
DocumentClassifierDocumentTypeFormat,
|
|
9
|
+
DocumentClassifierMode,
|
|
10
|
+
DocumentReadAction,
|
|
11
|
+
DocumentReadFeatureTypes,
|
|
12
|
+
DocumentReadMode,
|
|
13
|
+
DocumentType,
|
|
14
|
+
EndpointStatus,
|
|
15
|
+
EntityRecognizerDataFormat,
|
|
16
|
+
EntityType,
|
|
17
|
+
FlywheelIterationStatus,
|
|
18
|
+
FlywheelStatus,
|
|
19
|
+
InputFormat,
|
|
20
|
+
InvalidRequestDetailReason,
|
|
21
|
+
JobStatus,
|
|
22
|
+
LanguageCode,
|
|
23
|
+
ModelStatus,
|
|
24
|
+
ModelType,
|
|
25
|
+
PageBasedErrorCode,
|
|
26
|
+
PageBasedWarningCode,
|
|
27
|
+
PartOfSpeechTagType,
|
|
28
|
+
PiiEntitiesDetectionMaskMode,
|
|
29
|
+
PiiEntitiesDetectionMode,
|
|
30
|
+
PiiEntityType,
|
|
31
|
+
RelationshipType,
|
|
32
|
+
SentimentType,
|
|
33
|
+
Split,
|
|
34
|
+
SyntaxLanguageCode,
|
|
35
|
+
TargetedSentimentEntityType,
|
|
36
|
+
ToxicContentType,
|
|
37
|
+
} from "./enums";
|
|
14
38
|
export interface AugmentedManifestsListItem {
|
|
15
39
|
S3Uri: string | undefined;
|
|
16
40
|
Split?: Split | undefined;
|
|
@@ -39,74 +63,9 @@ export interface BatchDetectDominantLanguageResponse {
|
|
|
39
63
|
ResultList: BatchDetectDominantLanguageItemResult[] | undefined;
|
|
40
64
|
ErrorList: BatchItemError[] | undefined;
|
|
41
65
|
}
|
|
42
|
-
export declare class BatchSizeLimitExceededException extends __BaseException {
|
|
43
|
-
readonly name: "BatchSizeLimitExceededException";
|
|
44
|
-
readonly $fault: "client";
|
|
45
|
-
Message?: string | undefined;
|
|
46
|
-
constructor(
|
|
47
|
-
opts: __ExceptionOptionType<
|
|
48
|
-
BatchSizeLimitExceededException,
|
|
49
|
-
__BaseException
|
|
50
|
-
>
|
|
51
|
-
);
|
|
52
|
-
}
|
|
53
|
-
export declare class InternalServerException extends __BaseException {
|
|
54
|
-
readonly name: "InternalServerException";
|
|
55
|
-
readonly $fault: "server";
|
|
56
|
-
Message?: string | undefined;
|
|
57
|
-
constructor(
|
|
58
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
59
|
-
);
|
|
60
|
-
}
|
|
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];
|
|
69
66
|
export interface InvalidRequestDetail {
|
|
70
67
|
Reason?: InvalidRequestDetailReason | undefined;
|
|
71
68
|
}
|
|
72
|
-
export declare const InvalidRequestReason: {
|
|
73
|
-
readonly INVALID_DOCUMENT: "INVALID_DOCUMENT";
|
|
74
|
-
};
|
|
75
|
-
export type InvalidRequestReason =
|
|
76
|
-
(typeof InvalidRequestReason)[keyof typeof InvalidRequestReason];
|
|
77
|
-
export declare class InvalidRequestException extends __BaseException {
|
|
78
|
-
readonly name: "InvalidRequestException";
|
|
79
|
-
readonly $fault: "client";
|
|
80
|
-
Message?: string | undefined;
|
|
81
|
-
Reason?: InvalidRequestReason | undefined;
|
|
82
|
-
Detail?: InvalidRequestDetail | undefined;
|
|
83
|
-
constructor(
|
|
84
|
-
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
export declare class TextSizeLimitExceededException extends __BaseException {
|
|
88
|
-
readonly name: "TextSizeLimitExceededException";
|
|
89
|
-
readonly $fault: "client";
|
|
90
|
-
Message?: string | undefined;
|
|
91
|
-
constructor(
|
|
92
|
-
opts: __ExceptionOptionType<TextSizeLimitExceededException, __BaseException>
|
|
93
|
-
);
|
|
94
|
-
}
|
|
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];
|
|
110
69
|
export interface BatchDetectEntitiesRequest {
|
|
111
70
|
TextList: string[] | undefined;
|
|
112
71
|
LanguageCode: LanguageCode | undefined;
|
|
@@ -122,18 +81,6 @@ export interface BlockReference {
|
|
|
122
81
|
EndOffset?: number | undefined;
|
|
123
82
|
ChildBlocks?: ChildBlock[] | undefined;
|
|
124
83
|
}
|
|
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];
|
|
137
84
|
export interface Entity {
|
|
138
85
|
Score?: number | undefined;
|
|
139
86
|
Type?: EntityType | undefined;
|
|
@@ -150,14 +97,6 @@ export interface BatchDetectEntitiesResponse {
|
|
|
150
97
|
ResultList: BatchDetectEntitiesItemResult[] | undefined;
|
|
151
98
|
ErrorList: BatchItemError[] | undefined;
|
|
152
99
|
}
|
|
153
|
-
export declare class UnsupportedLanguageException extends __BaseException {
|
|
154
|
-
readonly name: "UnsupportedLanguageException";
|
|
155
|
-
readonly $fault: "client";
|
|
156
|
-
Message?: string | undefined;
|
|
157
|
-
constructor(
|
|
158
|
-
opts: __ExceptionOptionType<UnsupportedLanguageException, __BaseException>
|
|
159
|
-
);
|
|
160
|
-
}
|
|
161
100
|
export interface BatchDetectKeyPhrasesRequest {
|
|
162
101
|
TextList: string[] | undefined;
|
|
163
102
|
LanguageCode: LanguageCode | undefined;
|
|
@@ -180,13 +119,6 @@ export interface BatchDetectSentimentRequest {
|
|
|
180
119
|
TextList: string[] | undefined;
|
|
181
120
|
LanguageCode: LanguageCode | undefined;
|
|
182
121
|
}
|
|
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];
|
|
190
122
|
export interface SentimentScore {
|
|
191
123
|
Positive?: number | undefined;
|
|
192
124
|
Negative?: number | undefined;
|
|
@@ -202,42 +134,10 @@ export interface BatchDetectSentimentResponse {
|
|
|
202
134
|
ResultList: BatchDetectSentimentItemResult[] | undefined;
|
|
203
135
|
ErrorList: BatchItemError[] | undefined;
|
|
204
136
|
}
|
|
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];
|
|
215
137
|
export interface BatchDetectSyntaxRequest {
|
|
216
138
|
TextList: string[] | undefined;
|
|
217
139
|
LanguageCode: SyntaxLanguageCode | undefined;
|
|
218
140
|
}
|
|
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];
|
|
241
141
|
export interface PartOfSpeechTag {
|
|
242
142
|
Tag?: PartOfSpeechTagType | undefined;
|
|
243
143
|
Score?: number | undefined;
|
|
@@ -265,27 +165,6 @@ export interface MentionSentiment {
|
|
|
265
165
|
Sentiment?: SentimentType | undefined;
|
|
266
166
|
SentimentScore?: SentimentScore | undefined;
|
|
267
167
|
}
|
|
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];
|
|
289
168
|
export interface TargetedSentimentMention {
|
|
290
169
|
Score?: number | undefined;
|
|
291
170
|
GroupScore?: number | undefined;
|
|
@@ -307,11 +186,6 @@ export interface BatchDetectTargetedSentimentResponse {
|
|
|
307
186
|
ResultList: BatchDetectTargetedSentimentItemResult[] | undefined;
|
|
308
187
|
ErrorList: BatchItemError[] | undefined;
|
|
309
188
|
}
|
|
310
|
-
export declare const BlockType: {
|
|
311
|
-
readonly LINE: "LINE";
|
|
312
|
-
readonly WORD: "WORD";
|
|
313
|
-
};
|
|
314
|
-
export type BlockType = (typeof BlockType)[keyof typeof BlockType];
|
|
315
189
|
export interface BoundingBox {
|
|
316
190
|
Height?: number | undefined;
|
|
317
191
|
Left?: number | undefined;
|
|
@@ -326,11 +200,6 @@ export interface Geometry {
|
|
|
326
200
|
BoundingBox?: BoundingBox | undefined;
|
|
327
201
|
Polygon?: Point[] | undefined;
|
|
328
202
|
}
|
|
329
|
-
export declare const RelationshipType: {
|
|
330
|
-
readonly CHILD: "CHILD";
|
|
331
|
-
};
|
|
332
|
-
export type RelationshipType =
|
|
333
|
-
(typeof RelationshipType)[keyof typeof RelationshipType];
|
|
334
203
|
export interface RelationshipsListItem {
|
|
335
204
|
Ids?: string[] | undefined;
|
|
336
205
|
Type?: RelationshipType | undefined;
|
|
@@ -359,24 +228,6 @@ export interface ClassifierMetadata {
|
|
|
359
228
|
NumberOfTestDocuments?: number | undefined;
|
|
360
229
|
EvaluationMetrics?: ClassifierEvaluationMetrics | undefined;
|
|
361
230
|
}
|
|
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];
|
|
380
231
|
export interface DocumentReaderConfig {
|
|
381
232
|
DocumentReadAction: DocumentReadAction | undefined;
|
|
382
233
|
DocumentReadMode?: DocumentReadMode | undefined;
|
|
@@ -401,29 +252,10 @@ export interface DocumentMetadata {
|
|
|
401
252
|
Pages?: number | undefined;
|
|
402
253
|
ExtractedCharacters?: ExtractedCharactersListItem[] | undefined;
|
|
403
254
|
}
|
|
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];
|
|
414
255
|
export interface DocumentTypeListItem {
|
|
415
256
|
Page?: number | undefined;
|
|
416
257
|
Type?: DocumentType | undefined;
|
|
417
258
|
}
|
|
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];
|
|
427
259
|
export interface ErrorsListItem {
|
|
428
260
|
Page?: number | undefined;
|
|
429
261
|
ErrorCode?: PageBasedErrorCode | undefined;
|
|
@@ -434,12 +266,6 @@ export interface DocumentLabel {
|
|
|
434
266
|
Score?: number | undefined;
|
|
435
267
|
Page?: number | undefined;
|
|
436
268
|
}
|
|
437
|
-
export declare const PageBasedWarningCode: {
|
|
438
|
-
readonly INFERENCING_NATIVE_DOCUMENT_WITH_PLAINTEXT_TRAINED_MODEL: "INFERENCING_NATIVE_DOCUMENT_WITH_PLAINTEXT_TRAINED_MODEL";
|
|
439
|
-
readonly INFERENCING_PLAINTEXT_WITH_NATIVE_TRAINED_MODEL: "INFERENCING_PLAINTEXT_WITH_NATIVE_TRAINED_MODEL";
|
|
440
|
-
};
|
|
441
|
-
export type PageBasedWarningCode =
|
|
442
|
-
(typeof PageBasedWarningCode)[keyof typeof PageBasedWarningCode];
|
|
443
269
|
export interface WarningsListItem {
|
|
444
270
|
Page?: number | undefined;
|
|
445
271
|
WarnCode?: PageBasedWarningCode | undefined;
|
|
@@ -453,58 +279,10 @@ export interface ClassifyDocumentResponse {
|
|
|
453
279
|
Errors?: ErrorsListItem[] | undefined;
|
|
454
280
|
Warnings?: WarningsListItem[] | undefined;
|
|
455
281
|
}
|
|
456
|
-
export declare class ResourceUnavailableException extends __BaseException {
|
|
457
|
-
readonly name: "ResourceUnavailableException";
|
|
458
|
-
readonly $fault: "client";
|
|
459
|
-
Message?: string | undefined;
|
|
460
|
-
constructor(
|
|
461
|
-
opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>
|
|
462
|
-
);
|
|
463
|
-
}
|
|
464
282
|
export interface ContainsPiiEntitiesRequest {
|
|
465
283
|
Text: string | undefined;
|
|
466
284
|
LanguageCode: LanguageCode | undefined;
|
|
467
285
|
}
|
|
468
|
-
export declare const PiiEntityType: {
|
|
469
|
-
readonly ADDRESS: "ADDRESS";
|
|
470
|
-
readonly AGE: "AGE";
|
|
471
|
-
readonly ALL: "ALL";
|
|
472
|
-
readonly AWS_ACCESS_KEY: "AWS_ACCESS_KEY";
|
|
473
|
-
readonly AWS_SECRET_KEY: "AWS_SECRET_KEY";
|
|
474
|
-
readonly BANK_ACCOUNT_NUMBER: "BANK_ACCOUNT_NUMBER";
|
|
475
|
-
readonly BANK_ROUTING: "BANK_ROUTING";
|
|
476
|
-
readonly CA_HEALTH_NUMBER: "CA_HEALTH_NUMBER";
|
|
477
|
-
readonly CA_SOCIAL_INSURANCE_NUMBER: "CA_SOCIAL_INSURANCE_NUMBER";
|
|
478
|
-
readonly CREDIT_DEBIT_CVV: "CREDIT_DEBIT_CVV";
|
|
479
|
-
readonly CREDIT_DEBIT_EXPIRY: "CREDIT_DEBIT_EXPIRY";
|
|
480
|
-
readonly CREDIT_DEBIT_NUMBER: "CREDIT_DEBIT_NUMBER";
|
|
481
|
-
readonly DATE_TIME: "DATE_TIME";
|
|
482
|
-
readonly DRIVER_ID: "DRIVER_ID";
|
|
483
|
-
readonly EMAIL: "EMAIL";
|
|
484
|
-
readonly INTERNATIONAL_BANK_ACCOUNT_NUMBER: "INTERNATIONAL_BANK_ACCOUNT_NUMBER";
|
|
485
|
-
readonly IN_AADHAAR: "IN_AADHAAR";
|
|
486
|
-
readonly IN_NREGA: "IN_NREGA";
|
|
487
|
-
readonly IN_PERMANENT_ACCOUNT_NUMBER: "IN_PERMANENT_ACCOUNT_NUMBER";
|
|
488
|
-
readonly IN_VOTER_NUMBER: "IN_VOTER_NUMBER";
|
|
489
|
-
readonly IP_ADDRESS: "IP_ADDRESS";
|
|
490
|
-
readonly LICENSE_PLATE: "LICENSE_PLATE";
|
|
491
|
-
readonly MAC_ADDRESS: "MAC_ADDRESS";
|
|
492
|
-
readonly NAME: "NAME";
|
|
493
|
-
readonly PASSPORT_NUMBER: "PASSPORT_NUMBER";
|
|
494
|
-
readonly PASSWORD: "PASSWORD";
|
|
495
|
-
readonly PHONE: "PHONE";
|
|
496
|
-
readonly PIN: "PIN";
|
|
497
|
-
readonly SSN: "SSN";
|
|
498
|
-
readonly SWIFT_CODE: "SWIFT_CODE";
|
|
499
|
-
readonly UK_NATIONAL_HEALTH_SERVICE_NUMBER: "UK_NATIONAL_HEALTH_SERVICE_NUMBER";
|
|
500
|
-
readonly UK_NATIONAL_INSURANCE_NUMBER: "UK_NATIONAL_INSURANCE_NUMBER";
|
|
501
|
-
readonly UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER: "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER";
|
|
502
|
-
readonly URL: "URL";
|
|
503
|
-
readonly USERNAME: "USERNAME";
|
|
504
|
-
readonly US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER: "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER";
|
|
505
|
-
readonly VEHICLE_IDENTIFICATION_NUMBER: "VEHICLE_IDENTIFICATION_NUMBER";
|
|
506
|
-
};
|
|
507
|
-
export type PiiEntityType = (typeof PiiEntityType)[keyof typeof PiiEntityType];
|
|
508
286
|
export interface EntityLabel {
|
|
509
287
|
Name?: PiiEntityType | undefined;
|
|
510
288
|
Score?: number | undefined;
|
|
@@ -512,11 +290,6 @@ export interface EntityLabel {
|
|
|
512
290
|
export interface ContainsPiiEntitiesResponse {
|
|
513
291
|
Labels?: EntityLabel[] | undefined;
|
|
514
292
|
}
|
|
515
|
-
export declare const DatasetType: {
|
|
516
|
-
readonly TEST: "TEST";
|
|
517
|
-
readonly TRAIN: "TRAIN";
|
|
518
|
-
};
|
|
519
|
-
export type DatasetType = (typeof DatasetType)[keyof typeof DatasetType];
|
|
520
293
|
export interface DatasetAugmentedManifestsListItem {
|
|
521
294
|
AttributeNames: string[] | undefined;
|
|
522
295
|
S3Uri: string | undefined;
|
|
@@ -524,12 +297,6 @@ export interface DatasetAugmentedManifestsListItem {
|
|
|
524
297
|
SourceDocumentsS3Uri?: string | undefined;
|
|
525
298
|
DocumentType?: AugmentedManifestsDocumentTypeFormat | undefined;
|
|
526
299
|
}
|
|
527
|
-
export declare const DatasetDataFormat: {
|
|
528
|
-
readonly AUGMENTED_MANIFEST: "AUGMENTED_MANIFEST";
|
|
529
|
-
readonly COMPREHEND_CSV: "COMPREHEND_CSV";
|
|
530
|
-
};
|
|
531
|
-
export type DatasetDataFormat =
|
|
532
|
-
(typeof DatasetDataFormat)[keyof typeof DatasetDataFormat];
|
|
533
300
|
export interface DatasetDocumentClassifierInputDataConfig {
|
|
534
301
|
S3Uri: string | undefined;
|
|
535
302
|
LabelDelimiter?: string | undefined;
|
|
@@ -537,11 +304,6 @@ export interface DatasetDocumentClassifierInputDataConfig {
|
|
|
537
304
|
export interface DatasetEntityRecognizerAnnotations {
|
|
538
305
|
S3Uri: string | undefined;
|
|
539
306
|
}
|
|
540
|
-
export declare const InputFormat: {
|
|
541
|
-
readonly ONE_DOC_PER_FILE: "ONE_DOC_PER_FILE";
|
|
542
|
-
readonly ONE_DOC_PER_LINE: "ONE_DOC_PER_LINE";
|
|
543
|
-
};
|
|
544
|
-
export type InputFormat = (typeof InputFormat)[keyof typeof InputFormat];
|
|
545
307
|
export interface DatasetEntityRecognizerDocuments {
|
|
546
308
|
S3Uri: string | undefined;
|
|
547
309
|
InputFormat?: InputFormat | undefined;
|
|
@@ -580,62 +342,10 @@ export interface CreateDatasetRequest {
|
|
|
580
342
|
export interface CreateDatasetResponse {
|
|
581
343
|
DatasetArn?: string | undefined;
|
|
582
344
|
}
|
|
583
|
-
export declare class ResourceInUseException extends __BaseException {
|
|
584
|
-
readonly name: "ResourceInUseException";
|
|
585
|
-
readonly $fault: "client";
|
|
586
|
-
Message?: string | undefined;
|
|
587
|
-
constructor(
|
|
588
|
-
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
589
|
-
);
|
|
590
|
-
}
|
|
591
|
-
export declare class ResourceLimitExceededException extends __BaseException {
|
|
592
|
-
readonly name: "ResourceLimitExceededException";
|
|
593
|
-
readonly $fault: "client";
|
|
594
|
-
Message?: string | undefined;
|
|
595
|
-
constructor(
|
|
596
|
-
opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>
|
|
597
|
-
);
|
|
598
|
-
}
|
|
599
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
600
|
-
readonly name: "ResourceNotFoundException";
|
|
601
|
-
readonly $fault: "client";
|
|
602
|
-
Message?: string | undefined;
|
|
603
|
-
constructor(
|
|
604
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
605
|
-
);
|
|
606
|
-
}
|
|
607
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
608
|
-
readonly name: "TooManyRequestsException";
|
|
609
|
-
readonly $fault: "client";
|
|
610
|
-
Message?: string | undefined;
|
|
611
|
-
constructor(
|
|
612
|
-
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
613
|
-
);
|
|
614
|
-
}
|
|
615
|
-
export declare class TooManyTagsException extends __BaseException {
|
|
616
|
-
readonly name: "TooManyTagsException";
|
|
617
|
-
readonly $fault: "client";
|
|
618
|
-
Message?: string | undefined;
|
|
619
|
-
constructor(
|
|
620
|
-
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
621
|
-
);
|
|
622
|
-
}
|
|
623
|
-
export declare const DocumentClassifierDataFormat: {
|
|
624
|
-
readonly AUGMENTED_MANIFEST: "AUGMENTED_MANIFEST";
|
|
625
|
-
readonly COMPREHEND_CSV: "COMPREHEND_CSV";
|
|
626
|
-
};
|
|
627
|
-
export type DocumentClassifierDataFormat =
|
|
628
|
-
(typeof DocumentClassifierDataFormat)[keyof typeof DocumentClassifierDataFormat];
|
|
629
345
|
export interface DocumentClassifierDocuments {
|
|
630
346
|
S3Uri: string | undefined;
|
|
631
347
|
TestS3Uri?: string | undefined;
|
|
632
348
|
}
|
|
633
|
-
export declare const DocumentClassifierDocumentTypeFormat: {
|
|
634
|
-
readonly PLAIN_TEXT_DOCUMENT: "PLAIN_TEXT_DOCUMENT";
|
|
635
|
-
readonly SEMI_STRUCTURED_DOCUMENT: "SEMI_STRUCTURED_DOCUMENT";
|
|
636
|
-
};
|
|
637
|
-
export type DocumentClassifierDocumentTypeFormat =
|
|
638
|
-
(typeof DocumentClassifierDocumentTypeFormat)[keyof typeof DocumentClassifierDocumentTypeFormat];
|
|
639
349
|
export interface DocumentClassifierInputDataConfig {
|
|
640
350
|
DataFormat?: DocumentClassifierDataFormat | undefined;
|
|
641
351
|
S3Uri?: string | undefined;
|
|
@@ -646,12 +356,6 @@ export interface DocumentClassifierInputDataConfig {
|
|
|
646
356
|
Documents?: DocumentClassifierDocuments | undefined;
|
|
647
357
|
DocumentReaderConfig?: DocumentReaderConfig | undefined;
|
|
648
358
|
}
|
|
649
|
-
export declare const DocumentClassifierMode: {
|
|
650
|
-
readonly MULTI_CLASS: "MULTI_CLASS";
|
|
651
|
-
readonly MULTI_LABEL: "MULTI_LABEL";
|
|
652
|
-
};
|
|
653
|
-
export type DocumentClassifierMode =
|
|
654
|
-
(typeof DocumentClassifierMode)[keyof typeof DocumentClassifierMode];
|
|
655
359
|
export interface DocumentClassifierOutputDataConfig {
|
|
656
360
|
S3Uri?: string | undefined;
|
|
657
361
|
KmsKeyId?: string | undefined;
|
|
@@ -679,14 +383,6 @@ export interface CreateDocumentClassifierRequest {
|
|
|
679
383
|
export interface CreateDocumentClassifierResponse {
|
|
680
384
|
DocumentClassifierArn?: string | undefined;
|
|
681
385
|
}
|
|
682
|
-
export declare class KmsKeyValidationException extends __BaseException {
|
|
683
|
-
readonly name: "KmsKeyValidationException";
|
|
684
|
-
readonly $fault: "client";
|
|
685
|
-
Message?: string | undefined;
|
|
686
|
-
constructor(
|
|
687
|
-
opts: __ExceptionOptionType<KmsKeyValidationException, __BaseException>
|
|
688
|
-
);
|
|
689
|
-
}
|
|
690
386
|
export interface CreateEndpointRequest {
|
|
691
387
|
EndpointName: string | undefined;
|
|
692
388
|
ModelArn?: string | undefined;
|
|
@@ -704,12 +400,6 @@ export interface EntityRecognizerAnnotations {
|
|
|
704
400
|
S3Uri: string | undefined;
|
|
705
401
|
TestS3Uri?: string | undefined;
|
|
706
402
|
}
|
|
707
|
-
export declare const EntityRecognizerDataFormat: {
|
|
708
|
-
readonly AUGMENTED_MANIFEST: "AUGMENTED_MANIFEST";
|
|
709
|
-
readonly COMPREHEND_CSV: "COMPREHEND_CSV";
|
|
710
|
-
};
|
|
711
|
-
export type EntityRecognizerDataFormat =
|
|
712
|
-
(typeof EntityRecognizerDataFormat)[keyof typeof EntityRecognizerDataFormat];
|
|
713
403
|
export interface EntityRecognizerDocuments {
|
|
714
404
|
S3Uri: string | undefined;
|
|
715
405
|
TestS3Uri?: string | undefined;
|
|
@@ -751,11 +441,6 @@ export interface DataSecurityConfig {
|
|
|
751
441
|
DataLakeKmsKeyId?: string | undefined;
|
|
752
442
|
VpcConfig?: VpcConfig | undefined;
|
|
753
443
|
}
|
|
754
|
-
export declare const ModelType: {
|
|
755
|
-
readonly DOCUMENT_CLASSIFIER: "DOCUMENT_CLASSIFIER";
|
|
756
|
-
readonly ENTITY_RECOGNIZER: "ENTITY_RECOGNIZER";
|
|
757
|
-
};
|
|
758
|
-
export type ModelType = (typeof ModelType)[keyof typeof ModelType];
|
|
759
444
|
export interface DocumentClassificationConfig {
|
|
760
445
|
Mode: DocumentClassifierMode | undefined;
|
|
761
446
|
Labels?: string[] | undefined;
|
|
@@ -807,12 +492,6 @@ export interface DeleteResourcePolicyResponse {}
|
|
|
807
492
|
export interface DescribeDatasetRequest {
|
|
808
493
|
DatasetArn: string | undefined;
|
|
809
494
|
}
|
|
810
|
-
export declare const DatasetStatus: {
|
|
811
|
-
readonly COMPLETED: "COMPLETED";
|
|
812
|
-
readonly CREATING: "CREATING";
|
|
813
|
-
readonly FAILED: "FAILED";
|
|
814
|
-
};
|
|
815
|
-
export type DatasetStatus = (typeof DatasetStatus)[keyof typeof DatasetStatus];
|
|
816
495
|
export interface DatasetProperties {
|
|
817
496
|
DatasetArn?: string | undefined;
|
|
818
497
|
DatasetName?: string | undefined;
|
|
@@ -836,15 +515,6 @@ export interface InputDataConfig {
|
|
|
836
515
|
InputFormat?: InputFormat | undefined;
|
|
837
516
|
DocumentReaderConfig?: DocumentReaderConfig | undefined;
|
|
838
517
|
}
|
|
839
|
-
export declare const JobStatus: {
|
|
840
|
-
readonly COMPLETED: "COMPLETED";
|
|
841
|
-
readonly FAILED: "FAILED";
|
|
842
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
843
|
-
readonly STOPPED: "STOPPED";
|
|
844
|
-
readonly STOP_REQUESTED: "STOP_REQUESTED";
|
|
845
|
-
readonly SUBMITTED: "SUBMITTED";
|
|
846
|
-
};
|
|
847
|
-
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
848
518
|
export interface OutputDataConfig {
|
|
849
519
|
S3Uri: string | undefined;
|
|
850
520
|
KmsKeyId?: string | undefined;
|
|
@@ -870,28 +540,9 @@ export interface DescribeDocumentClassificationJobResponse {
|
|
|
870
540
|
| DocumentClassificationJobProperties
|
|
871
541
|
| undefined;
|
|
872
542
|
}
|
|
873
|
-
export declare class JobNotFoundException extends __BaseException {
|
|
874
|
-
readonly name: "JobNotFoundException";
|
|
875
|
-
readonly $fault: "client";
|
|
876
|
-
Message?: string | undefined;
|
|
877
|
-
constructor(
|
|
878
|
-
opts: __ExceptionOptionType<JobNotFoundException, __BaseException>
|
|
879
|
-
);
|
|
880
|
-
}
|
|
881
543
|
export interface DescribeDocumentClassifierRequest {
|
|
882
544
|
DocumentClassifierArn: string | undefined;
|
|
883
545
|
}
|
|
884
|
-
export declare const ModelStatus: {
|
|
885
|
-
readonly DELETING: "DELETING";
|
|
886
|
-
readonly IN_ERROR: "IN_ERROR";
|
|
887
|
-
readonly STOPPED: "STOPPED";
|
|
888
|
-
readonly STOP_REQUESTED: "STOP_REQUESTED";
|
|
889
|
-
readonly SUBMITTED: "SUBMITTED";
|
|
890
|
-
readonly TRAINED: "TRAINED";
|
|
891
|
-
readonly TRAINED_WITH_WARNING: "TRAINED_WITH_WARNING";
|
|
892
|
-
readonly TRAINING: "TRAINING";
|
|
893
|
-
};
|
|
894
|
-
export type ModelStatus = (typeof ModelStatus)[keyof typeof ModelStatus];
|
|
895
546
|
export interface DocumentClassifierProperties {
|
|
896
547
|
DocumentClassifierArn?: string | undefined;
|
|
897
548
|
LanguageCode?: LanguageCode | undefined;
|
|
@@ -941,15 +592,6 @@ export interface DescribeDominantLanguageDetectionJobResponse {
|
|
|
941
592
|
export interface DescribeEndpointRequest {
|
|
942
593
|
EndpointArn: string | undefined;
|
|
943
594
|
}
|
|
944
|
-
export declare const EndpointStatus: {
|
|
945
|
-
readonly CREATING: "CREATING";
|
|
946
|
-
readonly DELETING: "DELETING";
|
|
947
|
-
readonly FAILED: "FAILED";
|
|
948
|
-
readonly IN_SERVICE: "IN_SERVICE";
|
|
949
|
-
readonly UPDATING: "UPDATING";
|
|
950
|
-
};
|
|
951
|
-
export type EndpointStatus =
|
|
952
|
-
(typeof EndpointStatus)[keyof typeof EndpointStatus];
|
|
953
595
|
export interface EndpointProperties {
|
|
954
596
|
EndpointArn?: string | undefined;
|
|
955
597
|
Status?: EndpointStatus | undefined;
|
|
@@ -1063,15 +705,6 @@ export interface DescribeEventsDetectionJobResponse {
|
|
|
1063
705
|
export interface DescribeFlywheelRequest {
|
|
1064
706
|
FlywheelArn: string | undefined;
|
|
1065
707
|
}
|
|
1066
|
-
export declare const FlywheelStatus: {
|
|
1067
|
-
readonly ACTIVE: "ACTIVE";
|
|
1068
|
-
readonly CREATING: "CREATING";
|
|
1069
|
-
readonly DELETING: "DELETING";
|
|
1070
|
-
readonly FAILED: "FAILED";
|
|
1071
|
-
readonly UPDATING: "UPDATING";
|
|
1072
|
-
};
|
|
1073
|
-
export type FlywheelStatus =
|
|
1074
|
-
(typeof FlywheelStatus)[keyof typeof FlywheelStatus];
|
|
1075
708
|
export interface FlywheelProperties {
|
|
1076
709
|
FlywheelArn?: string | undefined;
|
|
1077
710
|
ActiveModelArn?: string | undefined;
|
|
@@ -1099,16 +732,6 @@ export interface FlywheelModelEvaluationMetrics {
|
|
|
1099
732
|
AverageRecall?: number | undefined;
|
|
1100
733
|
AverageAccuracy?: number | undefined;
|
|
1101
734
|
}
|
|
1102
|
-
export declare const FlywheelIterationStatus: {
|
|
1103
|
-
readonly COMPLETED: "COMPLETED";
|
|
1104
|
-
readonly EVALUATING: "EVALUATING";
|
|
1105
|
-
readonly FAILED: "FAILED";
|
|
1106
|
-
readonly STOPPED: "STOPPED";
|
|
1107
|
-
readonly STOP_REQUESTED: "STOP_REQUESTED";
|
|
1108
|
-
readonly TRAINING: "TRAINING";
|
|
1109
|
-
};
|
|
1110
|
-
export type FlywheelIterationStatus =
|
|
1111
|
-
(typeof FlywheelIterationStatus)[keyof typeof FlywheelIterationStatus];
|
|
1112
735
|
export interface FlywheelIterationProperties {
|
|
1113
736
|
FlywheelArn?: string | undefined;
|
|
1114
737
|
FlywheelIterationId?: string | undefined;
|
|
@@ -1151,22 +774,10 @@ export interface DescribeKeyPhrasesDetectionJobResponse {
|
|
|
1151
774
|
export interface DescribePiiEntitiesDetectionJobRequest {
|
|
1152
775
|
JobId: string | undefined;
|
|
1153
776
|
}
|
|
1154
|
-
export declare const PiiEntitiesDetectionMode: {
|
|
1155
|
-
readonly ONLY_OFFSETS: "ONLY_OFFSETS";
|
|
1156
|
-
readonly ONLY_REDACTION: "ONLY_REDACTION";
|
|
1157
|
-
};
|
|
1158
|
-
export type PiiEntitiesDetectionMode =
|
|
1159
|
-
(typeof PiiEntitiesDetectionMode)[keyof typeof PiiEntitiesDetectionMode];
|
|
1160
777
|
export interface PiiOutputDataConfig {
|
|
1161
778
|
S3Uri: string | undefined;
|
|
1162
779
|
KmsKeyId?: string | undefined;
|
|
1163
780
|
}
|
|
1164
|
-
export declare const PiiEntitiesDetectionMaskMode: {
|
|
1165
|
-
readonly MASK: "MASK";
|
|
1166
|
-
readonly REPLACE_WITH_PII_ENTITY_TYPE: "REPLACE_WITH_PII_ENTITY_TYPE";
|
|
1167
|
-
};
|
|
1168
|
-
export type PiiEntitiesDetectionMaskMode =
|
|
1169
|
-
(typeof PiiEntitiesDetectionMaskMode)[keyof typeof PiiEntitiesDetectionMaskMode];
|
|
1170
781
|
export interface RedactionConfig {
|
|
1171
782
|
PiiEntityTypes?: PiiEntityType[] | undefined;
|
|
1172
783
|
MaskMode?: PiiEntitiesDetectionMaskMode | undefined;
|
|
@@ -1335,17 +946,6 @@ export interface DetectToxicContentRequest {
|
|
|
1335
946
|
TextSegments: TextSegment[] | undefined;
|
|
1336
947
|
LanguageCode: LanguageCode | undefined;
|
|
1337
948
|
}
|
|
1338
|
-
export declare const ToxicContentType: {
|
|
1339
|
-
readonly GRAPHIC: "GRAPHIC";
|
|
1340
|
-
readonly HARASSMENT_OR_ABUSE: "HARASSMENT_OR_ABUSE";
|
|
1341
|
-
readonly HATE_SPEECH: "HATE_SPEECH";
|
|
1342
|
-
readonly INSULT: "INSULT";
|
|
1343
|
-
readonly PROFANITY: "PROFANITY";
|
|
1344
|
-
readonly SEXUAL: "SEXUAL";
|
|
1345
|
-
readonly VIOLENCE_OR_THREAT: "VIOLENCE_OR_THREAT";
|
|
1346
|
-
};
|
|
1347
|
-
export type ToxicContentType =
|
|
1348
|
-
(typeof ToxicContentType)[keyof typeof ToxicContentType];
|
|
1349
949
|
export interface ToxicContent {
|
|
1350
950
|
Name?: ToxicContentType | undefined;
|
|
1351
951
|
Score?: number | undefined;
|
|
@@ -1368,14 +968,6 @@ export interface ImportModelRequest {
|
|
|
1368
968
|
export interface ImportModelResponse {
|
|
1369
969
|
ModelArn?: string | undefined;
|
|
1370
970
|
}
|
|
1371
|
-
export declare class InvalidFilterException extends __BaseException {
|
|
1372
|
-
readonly name: "InvalidFilterException";
|
|
1373
|
-
readonly $fault: "client";
|
|
1374
|
-
Message?: string | undefined;
|
|
1375
|
-
constructor(
|
|
1376
|
-
opts: __ExceptionOptionType<InvalidFilterException, __BaseException>
|
|
1377
|
-
);
|
|
1378
|
-
}
|
|
1379
971
|
export interface DatasetFilter {
|
|
1380
972
|
Status?: DatasetStatus | undefined;
|
|
1381
973
|
DatasetType?: DatasetType | undefined;
|
|
@@ -1832,3 +1424,87 @@ export interface StopDominantLanguageDetectionJobResponse {
|
|
|
1832
1424
|
JobId?: string | undefined;
|
|
1833
1425
|
JobStatus?: JobStatus | undefined;
|
|
1834
1426
|
}
|
|
1427
|
+
export interface StopEntitiesDetectionJobRequest {
|
|
1428
|
+
JobId: string | undefined;
|
|
1429
|
+
}
|
|
1430
|
+
export interface StopEntitiesDetectionJobResponse {
|
|
1431
|
+
JobId?: string | undefined;
|
|
1432
|
+
JobStatus?: JobStatus | undefined;
|
|
1433
|
+
}
|
|
1434
|
+
export interface StopEventsDetectionJobRequest {
|
|
1435
|
+
JobId: string | undefined;
|
|
1436
|
+
}
|
|
1437
|
+
export interface StopEventsDetectionJobResponse {
|
|
1438
|
+
JobId?: string | undefined;
|
|
1439
|
+
JobStatus?: JobStatus | undefined;
|
|
1440
|
+
}
|
|
1441
|
+
export interface StopKeyPhrasesDetectionJobRequest {
|
|
1442
|
+
JobId: string | undefined;
|
|
1443
|
+
}
|
|
1444
|
+
export interface StopKeyPhrasesDetectionJobResponse {
|
|
1445
|
+
JobId?: string | undefined;
|
|
1446
|
+
JobStatus?: JobStatus | undefined;
|
|
1447
|
+
}
|
|
1448
|
+
export interface StopPiiEntitiesDetectionJobRequest {
|
|
1449
|
+
JobId: string | undefined;
|
|
1450
|
+
}
|
|
1451
|
+
export interface StopPiiEntitiesDetectionJobResponse {
|
|
1452
|
+
JobId?: string | undefined;
|
|
1453
|
+
JobStatus?: JobStatus | undefined;
|
|
1454
|
+
}
|
|
1455
|
+
export interface StopSentimentDetectionJobRequest {
|
|
1456
|
+
JobId: string | undefined;
|
|
1457
|
+
}
|
|
1458
|
+
export interface StopSentimentDetectionJobResponse {
|
|
1459
|
+
JobId?: string | undefined;
|
|
1460
|
+
JobStatus?: JobStatus | undefined;
|
|
1461
|
+
}
|
|
1462
|
+
export interface StopTargetedSentimentDetectionJobRequest {
|
|
1463
|
+
JobId: string | undefined;
|
|
1464
|
+
}
|
|
1465
|
+
export interface StopTargetedSentimentDetectionJobResponse {
|
|
1466
|
+
JobId?: string | undefined;
|
|
1467
|
+
JobStatus?: JobStatus | undefined;
|
|
1468
|
+
}
|
|
1469
|
+
export interface StopTrainingDocumentClassifierRequest {
|
|
1470
|
+
DocumentClassifierArn: string | undefined;
|
|
1471
|
+
}
|
|
1472
|
+
export interface StopTrainingDocumentClassifierResponse {}
|
|
1473
|
+
export interface StopTrainingEntityRecognizerRequest {
|
|
1474
|
+
EntityRecognizerArn: string | undefined;
|
|
1475
|
+
}
|
|
1476
|
+
export interface StopTrainingEntityRecognizerResponse {}
|
|
1477
|
+
export interface TagResourceRequest {
|
|
1478
|
+
ResourceArn: string | undefined;
|
|
1479
|
+
Tags: Tag[] | undefined;
|
|
1480
|
+
}
|
|
1481
|
+
export interface TagResourceResponse {}
|
|
1482
|
+
export interface UntagResourceRequest {
|
|
1483
|
+
ResourceArn: string | undefined;
|
|
1484
|
+
TagKeys: string[] | undefined;
|
|
1485
|
+
}
|
|
1486
|
+
export interface UntagResourceResponse {}
|
|
1487
|
+
export interface UpdateEndpointRequest {
|
|
1488
|
+
EndpointArn: string | undefined;
|
|
1489
|
+
DesiredModelArn?: string | undefined;
|
|
1490
|
+
DesiredInferenceUnits?: number | undefined;
|
|
1491
|
+
DesiredDataAccessRoleArn?: string | undefined;
|
|
1492
|
+
FlywheelArn?: string | undefined;
|
|
1493
|
+
}
|
|
1494
|
+
export interface UpdateEndpointResponse {
|
|
1495
|
+
DesiredModelArn?: string | undefined;
|
|
1496
|
+
}
|
|
1497
|
+
export interface UpdateDataSecurityConfig {
|
|
1498
|
+
ModelKmsKeyId?: string | undefined;
|
|
1499
|
+
VolumeKmsKeyId?: string | undefined;
|
|
1500
|
+
VpcConfig?: VpcConfig | undefined;
|
|
1501
|
+
}
|
|
1502
|
+
export interface UpdateFlywheelRequest {
|
|
1503
|
+
FlywheelArn: string | undefined;
|
|
1504
|
+
ActiveModelArn?: string | undefined;
|
|
1505
|
+
DataAccessRoleArn?: string | undefined;
|
|
1506
|
+
DataSecurityConfig?: UpdateDataSecurityConfig | undefined;
|
|
1507
|
+
}
|
|
1508
|
+
export interface UpdateFlywheelResponse {
|
|
1509
|
+
FlywheelProperties?: FlywheelProperties | undefined;
|
|
1510
|
+
}
|