@aws-sdk/client-comprehend 3.686.0 → 3.691.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.
|
@@ -13,27 +13,27 @@ export declare const Split: {
|
|
|
13
13
|
export type Split = (typeof Split)[keyof typeof Split];
|
|
14
14
|
export interface AugmentedManifestsListItem {
|
|
15
15
|
S3Uri: string | undefined;
|
|
16
|
-
Split?: Split;
|
|
16
|
+
Split?: Split | undefined;
|
|
17
17
|
AttributeNames: string[] | undefined;
|
|
18
|
-
AnnotationDataS3Uri?: string;
|
|
19
|
-
SourceDocumentsS3Uri?: string;
|
|
20
|
-
DocumentType?: AugmentedManifestsDocumentTypeFormat;
|
|
18
|
+
AnnotationDataS3Uri?: string | undefined;
|
|
19
|
+
SourceDocumentsS3Uri?: string | undefined;
|
|
20
|
+
DocumentType?: AugmentedManifestsDocumentTypeFormat | undefined;
|
|
21
21
|
}
|
|
22
22
|
export interface BatchDetectDominantLanguageRequest {
|
|
23
23
|
TextList: string[] | undefined;
|
|
24
24
|
}
|
|
25
25
|
export interface BatchItemError {
|
|
26
|
-
Index?: number;
|
|
27
|
-
ErrorCode?: string;
|
|
28
|
-
ErrorMessage?: string;
|
|
26
|
+
Index?: number | undefined;
|
|
27
|
+
ErrorCode?: string | undefined;
|
|
28
|
+
ErrorMessage?: string | undefined;
|
|
29
29
|
}
|
|
30
30
|
export interface DominantLanguage {
|
|
31
|
-
LanguageCode?: string;
|
|
32
|
-
Score?: number;
|
|
31
|
+
LanguageCode?: string | undefined;
|
|
32
|
+
Score?: number | undefined;
|
|
33
33
|
}
|
|
34
34
|
export interface BatchDetectDominantLanguageItemResult {
|
|
35
|
-
Index?: number;
|
|
36
|
-
Languages?: DominantLanguage[];
|
|
35
|
+
Index?: number | undefined;
|
|
36
|
+
Languages?: DominantLanguage[] | undefined;
|
|
37
37
|
}
|
|
38
38
|
export interface BatchDetectDominantLanguageResponse {
|
|
39
39
|
ResultList: BatchDetectDominantLanguageItemResult[] | undefined;
|
|
@@ -42,7 +42,7 @@ export interface BatchDetectDominantLanguageResponse {
|
|
|
42
42
|
export declare class BatchSizeLimitExceededException extends __BaseException {
|
|
43
43
|
readonly name: "BatchSizeLimitExceededException";
|
|
44
44
|
readonly $fault: "client";
|
|
45
|
-
Message?: string;
|
|
45
|
+
Message?: string | undefined;
|
|
46
46
|
constructor(
|
|
47
47
|
opts: __ExceptionOptionType<
|
|
48
48
|
BatchSizeLimitExceededException,
|
|
@@ -53,7 +53,7 @@ export declare class BatchSizeLimitExceededException extends __BaseException {
|
|
|
53
53
|
export declare class InternalServerException extends __BaseException {
|
|
54
54
|
readonly name: "InternalServerException";
|
|
55
55
|
readonly $fault: "server";
|
|
56
|
-
Message?: string;
|
|
56
|
+
Message?: string | undefined;
|
|
57
57
|
constructor(
|
|
58
58
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
59
59
|
);
|
|
@@ -67,7 +67,7 @@ export declare const InvalidRequestDetailReason: {
|
|
|
67
67
|
export type InvalidRequestDetailReason =
|
|
68
68
|
(typeof InvalidRequestDetailReason)[keyof typeof InvalidRequestDetailReason];
|
|
69
69
|
export interface InvalidRequestDetail {
|
|
70
|
-
Reason?: InvalidRequestDetailReason;
|
|
70
|
+
Reason?: InvalidRequestDetailReason | undefined;
|
|
71
71
|
}
|
|
72
72
|
export declare const InvalidRequestReason: {
|
|
73
73
|
readonly INVALID_DOCUMENT: "INVALID_DOCUMENT";
|
|
@@ -77,9 +77,9 @@ export type InvalidRequestReason =
|
|
|
77
77
|
export declare class InvalidRequestException extends __BaseException {
|
|
78
78
|
readonly name: "InvalidRequestException";
|
|
79
79
|
readonly $fault: "client";
|
|
80
|
-
Message?: string;
|
|
81
|
-
Reason?: InvalidRequestReason;
|
|
82
|
-
Detail?: InvalidRequestDetail;
|
|
80
|
+
Message?: string | undefined;
|
|
81
|
+
Reason?: InvalidRequestReason | undefined;
|
|
82
|
+
Detail?: InvalidRequestDetail | undefined;
|
|
83
83
|
constructor(
|
|
84
84
|
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
85
85
|
);
|
|
@@ -87,7 +87,7 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
87
87
|
export declare class TextSizeLimitExceededException extends __BaseException {
|
|
88
88
|
readonly name: "TextSizeLimitExceededException";
|
|
89
89
|
readonly $fault: "client";
|
|
90
|
-
Message?: string;
|
|
90
|
+
Message?: string | undefined;
|
|
91
91
|
constructor(
|
|
92
92
|
opts: __ExceptionOptionType<TextSizeLimitExceededException, __BaseException>
|
|
93
93
|
);
|
|
@@ -112,15 +112,15 @@ export interface BatchDetectEntitiesRequest {
|
|
|
112
112
|
LanguageCode: LanguageCode | undefined;
|
|
113
113
|
}
|
|
114
114
|
export interface ChildBlock {
|
|
115
|
-
ChildBlockId?: string;
|
|
116
|
-
BeginOffset?: number;
|
|
117
|
-
EndOffset?: number;
|
|
115
|
+
ChildBlockId?: string | undefined;
|
|
116
|
+
BeginOffset?: number | undefined;
|
|
117
|
+
EndOffset?: number | undefined;
|
|
118
118
|
}
|
|
119
119
|
export interface BlockReference {
|
|
120
|
-
BlockId?: string;
|
|
121
|
-
BeginOffset?: number;
|
|
122
|
-
EndOffset?: number;
|
|
123
|
-
ChildBlocks?: ChildBlock[];
|
|
120
|
+
BlockId?: string | undefined;
|
|
121
|
+
BeginOffset?: number | undefined;
|
|
122
|
+
EndOffset?: number | undefined;
|
|
123
|
+
ChildBlocks?: ChildBlock[] | undefined;
|
|
124
124
|
}
|
|
125
125
|
export declare const EntityType: {
|
|
126
126
|
readonly COMMERCIAL_ITEM: "COMMERCIAL_ITEM";
|
|
@@ -135,16 +135,16 @@ export declare const EntityType: {
|
|
|
135
135
|
};
|
|
136
136
|
export type EntityType = (typeof EntityType)[keyof typeof EntityType];
|
|
137
137
|
export interface Entity {
|
|
138
|
-
Score?: number;
|
|
139
|
-
Type?: EntityType;
|
|
140
|
-
Text?: string;
|
|
141
|
-
BeginOffset?: number;
|
|
142
|
-
EndOffset?: number;
|
|
143
|
-
BlockReferences?: BlockReference[];
|
|
138
|
+
Score?: number | undefined;
|
|
139
|
+
Type?: EntityType | undefined;
|
|
140
|
+
Text?: string | undefined;
|
|
141
|
+
BeginOffset?: number | undefined;
|
|
142
|
+
EndOffset?: number | undefined;
|
|
143
|
+
BlockReferences?: BlockReference[] | undefined;
|
|
144
144
|
}
|
|
145
145
|
export interface BatchDetectEntitiesItemResult {
|
|
146
|
-
Index?: number;
|
|
147
|
-
Entities?: Entity[];
|
|
146
|
+
Index?: number | undefined;
|
|
147
|
+
Entities?: Entity[] | undefined;
|
|
148
148
|
}
|
|
149
149
|
export interface BatchDetectEntitiesResponse {
|
|
150
150
|
ResultList: BatchDetectEntitiesItemResult[] | undefined;
|
|
@@ -153,7 +153,7 @@ export interface BatchDetectEntitiesResponse {
|
|
|
153
153
|
export declare class UnsupportedLanguageException extends __BaseException {
|
|
154
154
|
readonly name: "UnsupportedLanguageException";
|
|
155
155
|
readonly $fault: "client";
|
|
156
|
-
Message?: string;
|
|
156
|
+
Message?: string | undefined;
|
|
157
157
|
constructor(
|
|
158
158
|
opts: __ExceptionOptionType<UnsupportedLanguageException, __BaseException>
|
|
159
159
|
);
|
|
@@ -163,14 +163,14 @@ export interface BatchDetectKeyPhrasesRequest {
|
|
|
163
163
|
LanguageCode: LanguageCode | undefined;
|
|
164
164
|
}
|
|
165
165
|
export interface KeyPhrase {
|
|
166
|
-
Score?: number;
|
|
167
|
-
Text?: string;
|
|
168
|
-
BeginOffset?: number;
|
|
169
|
-
EndOffset?: number;
|
|
166
|
+
Score?: number | undefined;
|
|
167
|
+
Text?: string | undefined;
|
|
168
|
+
BeginOffset?: number | undefined;
|
|
169
|
+
EndOffset?: number | undefined;
|
|
170
170
|
}
|
|
171
171
|
export interface BatchDetectKeyPhrasesItemResult {
|
|
172
|
-
Index?: number;
|
|
173
|
-
KeyPhrases?: KeyPhrase[];
|
|
172
|
+
Index?: number | undefined;
|
|
173
|
+
KeyPhrases?: KeyPhrase[] | undefined;
|
|
174
174
|
}
|
|
175
175
|
export interface BatchDetectKeyPhrasesResponse {
|
|
176
176
|
ResultList: BatchDetectKeyPhrasesItemResult[] | undefined;
|
|
@@ -188,15 +188,15 @@ export declare const SentimentType: {
|
|
|
188
188
|
};
|
|
189
189
|
export type SentimentType = (typeof SentimentType)[keyof typeof SentimentType];
|
|
190
190
|
export interface SentimentScore {
|
|
191
|
-
Positive?: number;
|
|
192
|
-
Negative?: number;
|
|
193
|
-
Neutral?: number;
|
|
194
|
-
Mixed?: number;
|
|
191
|
+
Positive?: number | undefined;
|
|
192
|
+
Negative?: number | undefined;
|
|
193
|
+
Neutral?: number | undefined;
|
|
194
|
+
Mixed?: number | undefined;
|
|
195
195
|
}
|
|
196
196
|
export interface BatchDetectSentimentItemResult {
|
|
197
|
-
Index?: number;
|
|
198
|
-
Sentiment?: SentimentType;
|
|
199
|
-
SentimentScore?: SentimentScore;
|
|
197
|
+
Index?: number | undefined;
|
|
198
|
+
Sentiment?: SentimentType | undefined;
|
|
199
|
+
SentimentScore?: SentimentScore | undefined;
|
|
200
200
|
}
|
|
201
201
|
export interface BatchDetectSentimentResponse {
|
|
202
202
|
ResultList: BatchDetectSentimentItemResult[] | undefined;
|
|
@@ -239,19 +239,19 @@ export declare const PartOfSpeechTagType: {
|
|
|
239
239
|
export type PartOfSpeechTagType =
|
|
240
240
|
(typeof PartOfSpeechTagType)[keyof typeof PartOfSpeechTagType];
|
|
241
241
|
export interface PartOfSpeechTag {
|
|
242
|
-
Tag?: PartOfSpeechTagType;
|
|
243
|
-
Score?: number;
|
|
242
|
+
Tag?: PartOfSpeechTagType | undefined;
|
|
243
|
+
Score?: number | undefined;
|
|
244
244
|
}
|
|
245
245
|
export interface SyntaxToken {
|
|
246
|
-
TokenId?: number;
|
|
247
|
-
Text?: string;
|
|
248
|
-
BeginOffset?: number;
|
|
249
|
-
EndOffset?: number;
|
|
250
|
-
PartOfSpeech?: PartOfSpeechTag;
|
|
246
|
+
TokenId?: number | undefined;
|
|
247
|
+
Text?: string | undefined;
|
|
248
|
+
BeginOffset?: number | undefined;
|
|
249
|
+
EndOffset?: number | undefined;
|
|
250
|
+
PartOfSpeech?: PartOfSpeechTag | undefined;
|
|
251
251
|
}
|
|
252
252
|
export interface BatchDetectSyntaxItemResult {
|
|
253
|
-
Index?: number;
|
|
254
|
-
SyntaxTokens?: SyntaxToken[];
|
|
253
|
+
Index?: number | undefined;
|
|
254
|
+
SyntaxTokens?: SyntaxToken[] | undefined;
|
|
255
255
|
}
|
|
256
256
|
export interface BatchDetectSyntaxResponse {
|
|
257
257
|
ResultList: BatchDetectSyntaxItemResult[] | undefined;
|
|
@@ -262,8 +262,8 @@ export interface BatchDetectTargetedSentimentRequest {
|
|
|
262
262
|
LanguageCode: LanguageCode | undefined;
|
|
263
263
|
}
|
|
264
264
|
export interface MentionSentiment {
|
|
265
|
-
Sentiment?: SentimentType;
|
|
266
|
-
SentimentScore?: SentimentScore;
|
|
265
|
+
Sentiment?: SentimentType | undefined;
|
|
266
|
+
SentimentScore?: SentimentScore | undefined;
|
|
267
267
|
}
|
|
268
268
|
export declare const TargetedSentimentEntityType: {
|
|
269
269
|
readonly ATTRIBUTE: "ATTRIBUTE";
|
|
@@ -287,21 +287,21 @@ export declare const TargetedSentimentEntityType: {
|
|
|
287
287
|
export type TargetedSentimentEntityType =
|
|
288
288
|
(typeof TargetedSentimentEntityType)[keyof typeof TargetedSentimentEntityType];
|
|
289
289
|
export interface TargetedSentimentMention {
|
|
290
|
-
Score?: number;
|
|
291
|
-
GroupScore?: number;
|
|
292
|
-
Text?: string;
|
|
293
|
-
Type?: TargetedSentimentEntityType;
|
|
294
|
-
MentionSentiment?: MentionSentiment;
|
|
295
|
-
BeginOffset?: number;
|
|
296
|
-
EndOffset?: number;
|
|
290
|
+
Score?: number | undefined;
|
|
291
|
+
GroupScore?: number | undefined;
|
|
292
|
+
Text?: string | undefined;
|
|
293
|
+
Type?: TargetedSentimentEntityType | undefined;
|
|
294
|
+
MentionSentiment?: MentionSentiment | undefined;
|
|
295
|
+
BeginOffset?: number | undefined;
|
|
296
|
+
EndOffset?: number | undefined;
|
|
297
297
|
}
|
|
298
298
|
export interface TargetedSentimentEntity {
|
|
299
|
-
DescriptiveMentionIndex?: number[];
|
|
300
|
-
Mentions?: TargetedSentimentMention[];
|
|
299
|
+
DescriptiveMentionIndex?: number[] | undefined;
|
|
300
|
+
Mentions?: TargetedSentimentMention[] | undefined;
|
|
301
301
|
}
|
|
302
302
|
export interface BatchDetectTargetedSentimentItemResult {
|
|
303
|
-
Index?: number;
|
|
304
|
-
Entities?: TargetedSentimentEntity[];
|
|
303
|
+
Index?: number | undefined;
|
|
304
|
+
Entities?: TargetedSentimentEntity[] | undefined;
|
|
305
305
|
}
|
|
306
306
|
export interface BatchDetectTargetedSentimentResponse {
|
|
307
307
|
ResultList: BatchDetectTargetedSentimentItemResult[] | undefined;
|
|
@@ -313,18 +313,18 @@ export declare const BlockType: {
|
|
|
313
313
|
};
|
|
314
314
|
export type BlockType = (typeof BlockType)[keyof typeof BlockType];
|
|
315
315
|
export interface BoundingBox {
|
|
316
|
-
Height?: number;
|
|
317
|
-
Left?: number;
|
|
318
|
-
Top?: number;
|
|
319
|
-
Width?: number;
|
|
316
|
+
Height?: number | undefined;
|
|
317
|
+
Left?: number | undefined;
|
|
318
|
+
Top?: number | undefined;
|
|
319
|
+
Width?: number | undefined;
|
|
320
320
|
}
|
|
321
321
|
export interface Point {
|
|
322
|
-
X?: number;
|
|
323
|
-
Y?: number;
|
|
322
|
+
X?: number | undefined;
|
|
323
|
+
Y?: number | undefined;
|
|
324
324
|
}
|
|
325
325
|
export interface Geometry {
|
|
326
|
-
BoundingBox?: BoundingBox;
|
|
327
|
-
Polygon?: Point[];
|
|
326
|
+
BoundingBox?: BoundingBox | undefined;
|
|
327
|
+
Polygon?: Point[] | undefined;
|
|
328
328
|
}
|
|
329
329
|
export declare const RelationshipType: {
|
|
330
330
|
readonly CHILD: "CHILD";
|
|
@@ -332,32 +332,32 @@ export declare const RelationshipType: {
|
|
|
332
332
|
export type RelationshipType =
|
|
333
333
|
(typeof RelationshipType)[keyof typeof RelationshipType];
|
|
334
334
|
export interface RelationshipsListItem {
|
|
335
|
-
Ids?: string[];
|
|
336
|
-
Type?: RelationshipType;
|
|
335
|
+
Ids?: string[] | undefined;
|
|
336
|
+
Type?: RelationshipType | undefined;
|
|
337
337
|
}
|
|
338
338
|
export interface Block {
|
|
339
|
-
Id?: string;
|
|
340
|
-
BlockType?: BlockType;
|
|
341
|
-
Text?: string;
|
|
342
|
-
Page?: number;
|
|
343
|
-
Geometry?: Geometry;
|
|
344
|
-
Relationships?: RelationshipsListItem[];
|
|
339
|
+
Id?: string | undefined;
|
|
340
|
+
BlockType?: BlockType | undefined;
|
|
341
|
+
Text?: string | undefined;
|
|
342
|
+
Page?: number | undefined;
|
|
343
|
+
Geometry?: Geometry | undefined;
|
|
344
|
+
Relationships?: RelationshipsListItem[] | undefined;
|
|
345
345
|
}
|
|
346
346
|
export interface ClassifierEvaluationMetrics {
|
|
347
|
-
Accuracy?: number;
|
|
348
|
-
Precision?: number;
|
|
349
|
-
Recall?: number;
|
|
350
|
-
F1Score?: number;
|
|
351
|
-
MicroPrecision?: number;
|
|
352
|
-
MicroRecall?: number;
|
|
353
|
-
MicroF1Score?: number;
|
|
354
|
-
HammingLoss?: number;
|
|
347
|
+
Accuracy?: number | undefined;
|
|
348
|
+
Precision?: number | undefined;
|
|
349
|
+
Recall?: number | undefined;
|
|
350
|
+
F1Score?: number | undefined;
|
|
351
|
+
MicroPrecision?: number | undefined;
|
|
352
|
+
MicroRecall?: number | undefined;
|
|
353
|
+
MicroF1Score?: number | undefined;
|
|
354
|
+
HammingLoss?: number | undefined;
|
|
355
355
|
}
|
|
356
356
|
export interface ClassifierMetadata {
|
|
357
|
-
NumberOfLabels?: number;
|
|
358
|
-
NumberOfTrainedDocuments?: number;
|
|
359
|
-
NumberOfTestDocuments?: number;
|
|
360
|
-
EvaluationMetrics?: ClassifierEvaluationMetrics;
|
|
357
|
+
NumberOfLabels?: number | undefined;
|
|
358
|
+
NumberOfTrainedDocuments?: number | undefined;
|
|
359
|
+
NumberOfTestDocuments?: number | undefined;
|
|
360
|
+
EvaluationMetrics?: ClassifierEvaluationMetrics | undefined;
|
|
361
361
|
}
|
|
362
362
|
export declare const DocumentReadAction: {
|
|
363
363
|
readonly TEXTRACT_ANALYZE_DOCUMENT: "TEXTRACT_ANALYZE_DOCUMENT";
|
|
@@ -379,27 +379,27 @@ export type DocumentReadFeatureTypes =
|
|
|
379
379
|
(typeof DocumentReadFeatureTypes)[keyof typeof DocumentReadFeatureTypes];
|
|
380
380
|
export interface DocumentReaderConfig {
|
|
381
381
|
DocumentReadAction: DocumentReadAction | undefined;
|
|
382
|
-
DocumentReadMode?: DocumentReadMode;
|
|
383
|
-
FeatureTypes?: DocumentReadFeatureTypes[];
|
|
382
|
+
DocumentReadMode?: DocumentReadMode | undefined;
|
|
383
|
+
FeatureTypes?: DocumentReadFeatureTypes[] | undefined;
|
|
384
384
|
}
|
|
385
385
|
export interface ClassifyDocumentRequest {
|
|
386
|
-
Text?: string;
|
|
386
|
+
Text?: string | undefined;
|
|
387
387
|
EndpointArn: string | undefined;
|
|
388
|
-
Bytes?: Uint8Array;
|
|
389
|
-
DocumentReaderConfig?: DocumentReaderConfig;
|
|
388
|
+
Bytes?: Uint8Array | undefined;
|
|
389
|
+
DocumentReaderConfig?: DocumentReaderConfig | undefined;
|
|
390
390
|
}
|
|
391
391
|
export interface DocumentClass {
|
|
392
|
-
Name?: string;
|
|
393
|
-
Score?: number;
|
|
394
|
-
Page?: number;
|
|
392
|
+
Name?: string | undefined;
|
|
393
|
+
Score?: number | undefined;
|
|
394
|
+
Page?: number | undefined;
|
|
395
395
|
}
|
|
396
396
|
export interface ExtractedCharactersListItem {
|
|
397
|
-
Page?: number;
|
|
398
|
-
Count?: number;
|
|
397
|
+
Page?: number | undefined;
|
|
398
|
+
Count?: number | undefined;
|
|
399
399
|
}
|
|
400
400
|
export interface DocumentMetadata {
|
|
401
|
-
Pages?: number;
|
|
402
|
-
ExtractedCharacters?: ExtractedCharactersListItem[];
|
|
401
|
+
Pages?: number | undefined;
|
|
402
|
+
ExtractedCharacters?: ExtractedCharactersListItem[] | undefined;
|
|
403
403
|
}
|
|
404
404
|
export declare const DocumentType: {
|
|
405
405
|
readonly IMAGE: "IMAGE";
|
|
@@ -412,8 +412,8 @@ export declare const DocumentType: {
|
|
|
412
412
|
};
|
|
413
413
|
export type DocumentType = (typeof DocumentType)[keyof typeof DocumentType];
|
|
414
414
|
export interface DocumentTypeListItem {
|
|
415
|
-
Page?: number;
|
|
416
|
-
Type?: DocumentType;
|
|
415
|
+
Page?: number | undefined;
|
|
416
|
+
Type?: DocumentType | undefined;
|
|
417
417
|
}
|
|
418
418
|
export declare const PageBasedErrorCode: {
|
|
419
419
|
readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
|
|
@@ -425,14 +425,14 @@ export declare const PageBasedErrorCode: {
|
|
|
425
425
|
export type PageBasedErrorCode =
|
|
426
426
|
(typeof PageBasedErrorCode)[keyof typeof PageBasedErrorCode];
|
|
427
427
|
export interface ErrorsListItem {
|
|
428
|
-
Page?: number;
|
|
429
|
-
ErrorCode?: PageBasedErrorCode;
|
|
430
|
-
ErrorMessage?: string;
|
|
428
|
+
Page?: number | undefined;
|
|
429
|
+
ErrorCode?: PageBasedErrorCode | undefined;
|
|
430
|
+
ErrorMessage?: string | undefined;
|
|
431
431
|
}
|
|
432
432
|
export interface DocumentLabel {
|
|
433
|
-
Name?: string;
|
|
434
|
-
Score?: number;
|
|
435
|
-
Page?: number;
|
|
433
|
+
Name?: string | undefined;
|
|
434
|
+
Score?: number | undefined;
|
|
435
|
+
Page?: number | undefined;
|
|
436
436
|
}
|
|
437
437
|
export declare const PageBasedWarningCode: {
|
|
438
438
|
readonly INFERENCING_NATIVE_DOCUMENT_WITH_PLAINTEXT_TRAINED_MODEL: "INFERENCING_NATIVE_DOCUMENT_WITH_PLAINTEXT_TRAINED_MODEL";
|
|
@@ -441,22 +441,22 @@ export declare const PageBasedWarningCode: {
|
|
|
441
441
|
export type PageBasedWarningCode =
|
|
442
442
|
(typeof PageBasedWarningCode)[keyof typeof PageBasedWarningCode];
|
|
443
443
|
export interface WarningsListItem {
|
|
444
|
-
Page?: number;
|
|
445
|
-
WarnCode?: PageBasedWarningCode;
|
|
446
|
-
WarnMessage?: string;
|
|
444
|
+
Page?: number | undefined;
|
|
445
|
+
WarnCode?: PageBasedWarningCode | undefined;
|
|
446
|
+
WarnMessage?: string | undefined;
|
|
447
447
|
}
|
|
448
448
|
export interface ClassifyDocumentResponse {
|
|
449
|
-
Classes?: DocumentClass[];
|
|
450
|
-
Labels?: DocumentLabel[];
|
|
451
|
-
DocumentMetadata?: DocumentMetadata;
|
|
452
|
-
DocumentType?: DocumentTypeListItem[];
|
|
453
|
-
Errors?: ErrorsListItem[];
|
|
454
|
-
Warnings?: WarningsListItem[];
|
|
449
|
+
Classes?: DocumentClass[] | undefined;
|
|
450
|
+
Labels?: DocumentLabel[] | undefined;
|
|
451
|
+
DocumentMetadata?: DocumentMetadata | undefined;
|
|
452
|
+
DocumentType?: DocumentTypeListItem[] | undefined;
|
|
453
|
+
Errors?: ErrorsListItem[] | undefined;
|
|
454
|
+
Warnings?: WarningsListItem[] | undefined;
|
|
455
455
|
}
|
|
456
456
|
export declare class ResourceUnavailableException extends __BaseException {
|
|
457
457
|
readonly name: "ResourceUnavailableException";
|
|
458
458
|
readonly $fault: "client";
|
|
459
|
-
Message?: string;
|
|
459
|
+
Message?: string | undefined;
|
|
460
460
|
constructor(
|
|
461
461
|
opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>
|
|
462
462
|
);
|
|
@@ -506,11 +506,11 @@ export declare const PiiEntityType: {
|
|
|
506
506
|
};
|
|
507
507
|
export type PiiEntityType = (typeof PiiEntityType)[keyof typeof PiiEntityType];
|
|
508
508
|
export interface EntityLabel {
|
|
509
|
-
Name?: PiiEntityType;
|
|
510
|
-
Score?: number;
|
|
509
|
+
Name?: PiiEntityType | undefined;
|
|
510
|
+
Score?: number | undefined;
|
|
511
511
|
}
|
|
512
512
|
export interface ContainsPiiEntitiesResponse {
|
|
513
|
-
Labels?: EntityLabel[];
|
|
513
|
+
Labels?: EntityLabel[] | undefined;
|
|
514
514
|
}
|
|
515
515
|
export declare const DatasetType: {
|
|
516
516
|
readonly TEST: "TEST";
|
|
@@ -520,9 +520,9 @@ export type DatasetType = (typeof DatasetType)[keyof typeof DatasetType];
|
|
|
520
520
|
export interface DatasetAugmentedManifestsListItem {
|
|
521
521
|
AttributeNames: string[] | undefined;
|
|
522
522
|
S3Uri: string | undefined;
|
|
523
|
-
AnnotationDataS3Uri?: string;
|
|
524
|
-
SourceDocumentsS3Uri?: string;
|
|
525
|
-
DocumentType?: AugmentedManifestsDocumentTypeFormat;
|
|
523
|
+
AnnotationDataS3Uri?: string | undefined;
|
|
524
|
+
SourceDocumentsS3Uri?: string | undefined;
|
|
525
|
+
DocumentType?: AugmentedManifestsDocumentTypeFormat | undefined;
|
|
526
526
|
}
|
|
527
527
|
export declare const DatasetDataFormat: {
|
|
528
528
|
readonly AUGMENTED_MANIFEST: "AUGMENTED_MANIFEST";
|
|
@@ -532,7 +532,7 @@ export type DatasetDataFormat =
|
|
|
532
532
|
(typeof DatasetDataFormat)[keyof typeof DatasetDataFormat];
|
|
533
533
|
export interface DatasetDocumentClassifierInputDataConfig {
|
|
534
534
|
S3Uri: string | undefined;
|
|
535
|
-
LabelDelimiter?: string;
|
|
535
|
+
LabelDelimiter?: string | undefined;
|
|
536
536
|
}
|
|
537
537
|
export interface DatasetEntityRecognizerAnnotations {
|
|
538
538
|
S3Uri: string | undefined;
|
|
@@ -544,42 +544,46 @@ export declare const InputFormat: {
|
|
|
544
544
|
export type InputFormat = (typeof InputFormat)[keyof typeof InputFormat];
|
|
545
545
|
export interface DatasetEntityRecognizerDocuments {
|
|
546
546
|
S3Uri: string | undefined;
|
|
547
|
-
InputFormat?: InputFormat;
|
|
547
|
+
InputFormat?: InputFormat | undefined;
|
|
548
548
|
}
|
|
549
549
|
export interface DatasetEntityRecognizerEntityList {
|
|
550
550
|
S3Uri: string | undefined;
|
|
551
551
|
}
|
|
552
552
|
export interface DatasetEntityRecognizerInputDataConfig {
|
|
553
|
-
Annotations?: DatasetEntityRecognizerAnnotations;
|
|
553
|
+
Annotations?: DatasetEntityRecognizerAnnotations | undefined;
|
|
554
554
|
Documents: DatasetEntityRecognizerDocuments | undefined;
|
|
555
|
-
EntityList?: DatasetEntityRecognizerEntityList;
|
|
555
|
+
EntityList?: DatasetEntityRecognizerEntityList | undefined;
|
|
556
556
|
}
|
|
557
557
|
export interface DatasetInputDataConfig {
|
|
558
|
-
AugmentedManifests?: DatasetAugmentedManifestsListItem[];
|
|
559
|
-
DataFormat?: DatasetDataFormat;
|
|
560
|
-
DocumentClassifierInputDataConfig?:
|
|
561
|
-
|
|
558
|
+
AugmentedManifests?: DatasetAugmentedManifestsListItem[] | undefined;
|
|
559
|
+
DataFormat?: DatasetDataFormat | undefined;
|
|
560
|
+
DocumentClassifierInputDataConfig?:
|
|
561
|
+
| DatasetDocumentClassifierInputDataConfig
|
|
562
|
+
| undefined;
|
|
563
|
+
EntityRecognizerInputDataConfig?:
|
|
564
|
+
| DatasetEntityRecognizerInputDataConfig
|
|
565
|
+
| undefined;
|
|
562
566
|
}
|
|
563
567
|
export interface Tag {
|
|
564
568
|
Key: string | undefined;
|
|
565
|
-
Value?: string;
|
|
569
|
+
Value?: string | undefined;
|
|
566
570
|
}
|
|
567
571
|
export interface CreateDatasetRequest {
|
|
568
572
|
FlywheelArn: string | undefined;
|
|
569
573
|
DatasetName: string | undefined;
|
|
570
|
-
DatasetType?: DatasetType;
|
|
571
|
-
Description?: string;
|
|
574
|
+
DatasetType?: DatasetType | undefined;
|
|
575
|
+
Description?: string | undefined;
|
|
572
576
|
InputDataConfig: DatasetInputDataConfig | undefined;
|
|
573
|
-
ClientRequestToken?: string;
|
|
574
|
-
Tags?: Tag[];
|
|
577
|
+
ClientRequestToken?: string | undefined;
|
|
578
|
+
Tags?: Tag[] | undefined;
|
|
575
579
|
}
|
|
576
580
|
export interface CreateDatasetResponse {
|
|
577
|
-
DatasetArn?: string;
|
|
581
|
+
DatasetArn?: string | undefined;
|
|
578
582
|
}
|
|
579
583
|
export declare class ResourceInUseException extends __BaseException {
|
|
580
584
|
readonly name: "ResourceInUseException";
|
|
581
585
|
readonly $fault: "client";
|
|
582
|
-
Message?: string;
|
|
586
|
+
Message?: string | undefined;
|
|
583
587
|
constructor(
|
|
584
588
|
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
585
589
|
);
|
|
@@ -587,7 +591,7 @@ export declare class ResourceInUseException extends __BaseException {
|
|
|
587
591
|
export declare class ResourceLimitExceededException extends __BaseException {
|
|
588
592
|
readonly name: "ResourceLimitExceededException";
|
|
589
593
|
readonly $fault: "client";
|
|
590
|
-
Message?: string;
|
|
594
|
+
Message?: string | undefined;
|
|
591
595
|
constructor(
|
|
592
596
|
opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>
|
|
593
597
|
);
|
|
@@ -595,7 +599,7 @@ export declare class ResourceLimitExceededException extends __BaseException {
|
|
|
595
599
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
596
600
|
readonly name: "ResourceNotFoundException";
|
|
597
601
|
readonly $fault: "client";
|
|
598
|
-
Message?: string;
|
|
602
|
+
Message?: string | undefined;
|
|
599
603
|
constructor(
|
|
600
604
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
601
605
|
);
|
|
@@ -603,7 +607,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
603
607
|
export declare class TooManyRequestsException extends __BaseException {
|
|
604
608
|
readonly name: "TooManyRequestsException";
|
|
605
609
|
readonly $fault: "client";
|
|
606
|
-
Message?: string;
|
|
610
|
+
Message?: string | undefined;
|
|
607
611
|
constructor(
|
|
608
612
|
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
609
613
|
);
|
|
@@ -611,7 +615,7 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
611
615
|
export declare class TooManyTagsException extends __BaseException {
|
|
612
616
|
readonly name: "TooManyTagsException";
|
|
613
617
|
readonly $fault: "client";
|
|
614
|
-
Message?: string;
|
|
618
|
+
Message?: string | undefined;
|
|
615
619
|
constructor(
|
|
616
620
|
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
617
621
|
);
|
|
@@ -624,7 +628,7 @@ export type DocumentClassifierDataFormat =
|
|
|
624
628
|
(typeof DocumentClassifierDataFormat)[keyof typeof DocumentClassifierDataFormat];
|
|
625
629
|
export interface DocumentClassifierDocuments {
|
|
626
630
|
S3Uri: string | undefined;
|
|
627
|
-
TestS3Uri?: string;
|
|
631
|
+
TestS3Uri?: string | undefined;
|
|
628
632
|
}
|
|
629
633
|
export declare const DocumentClassifierDocumentTypeFormat: {
|
|
630
634
|
readonly PLAIN_TEXT_DOCUMENT: "PLAIN_TEXT_DOCUMENT";
|
|
@@ -633,14 +637,14 @@ export declare const DocumentClassifierDocumentTypeFormat: {
|
|
|
633
637
|
export type DocumentClassifierDocumentTypeFormat =
|
|
634
638
|
(typeof DocumentClassifierDocumentTypeFormat)[keyof typeof DocumentClassifierDocumentTypeFormat];
|
|
635
639
|
export interface DocumentClassifierInputDataConfig {
|
|
636
|
-
DataFormat?: DocumentClassifierDataFormat;
|
|
637
|
-
S3Uri?: string;
|
|
638
|
-
TestS3Uri?: string;
|
|
639
|
-
LabelDelimiter?: string;
|
|
640
|
-
AugmentedManifests?: AugmentedManifestsListItem[];
|
|
641
|
-
DocumentType?: DocumentClassifierDocumentTypeFormat;
|
|
642
|
-
Documents?: DocumentClassifierDocuments;
|
|
643
|
-
DocumentReaderConfig?: DocumentReaderConfig;
|
|
640
|
+
DataFormat?: DocumentClassifierDataFormat | undefined;
|
|
641
|
+
S3Uri?: string | undefined;
|
|
642
|
+
TestS3Uri?: string | undefined;
|
|
643
|
+
LabelDelimiter?: string | undefined;
|
|
644
|
+
AugmentedManifests?: AugmentedManifestsListItem[] | undefined;
|
|
645
|
+
DocumentType?: DocumentClassifierDocumentTypeFormat | undefined;
|
|
646
|
+
Documents?: DocumentClassifierDocuments | undefined;
|
|
647
|
+
DocumentReaderConfig?: DocumentReaderConfig | undefined;
|
|
644
648
|
}
|
|
645
649
|
export declare const DocumentClassifierMode: {
|
|
646
650
|
readonly MULTI_CLASS: "MULTI_CLASS";
|
|
@@ -649,9 +653,9 @@ export declare const DocumentClassifierMode: {
|
|
|
649
653
|
export type DocumentClassifierMode =
|
|
650
654
|
(typeof DocumentClassifierMode)[keyof typeof DocumentClassifierMode];
|
|
651
655
|
export interface DocumentClassifierOutputDataConfig {
|
|
652
|
-
S3Uri?: string;
|
|
653
|
-
KmsKeyId?: string;
|
|
654
|
-
FlywheelStatsS3Prefix?: string;
|
|
656
|
+
S3Uri?: string | undefined;
|
|
657
|
+
KmsKeyId?: string | undefined;
|
|
658
|
+
FlywheelStatsS3Prefix?: string | undefined;
|
|
655
659
|
}
|
|
656
660
|
export interface VpcConfig {
|
|
657
661
|
SecurityGroupIds: string[] | undefined;
|
|
@@ -659,46 +663,46 @@ export interface VpcConfig {
|
|
|
659
663
|
}
|
|
660
664
|
export interface CreateDocumentClassifierRequest {
|
|
661
665
|
DocumentClassifierName: string | undefined;
|
|
662
|
-
VersionName?: string;
|
|
666
|
+
VersionName?: string | undefined;
|
|
663
667
|
DataAccessRoleArn: string | undefined;
|
|
664
|
-
Tags?: Tag[];
|
|
668
|
+
Tags?: Tag[] | undefined;
|
|
665
669
|
InputDataConfig: DocumentClassifierInputDataConfig | undefined;
|
|
666
|
-
OutputDataConfig?: DocumentClassifierOutputDataConfig;
|
|
667
|
-
ClientRequestToken?: string;
|
|
670
|
+
OutputDataConfig?: DocumentClassifierOutputDataConfig | undefined;
|
|
671
|
+
ClientRequestToken?: string | undefined;
|
|
668
672
|
LanguageCode: LanguageCode | undefined;
|
|
669
|
-
VolumeKmsKeyId?: string;
|
|
670
|
-
VpcConfig?: VpcConfig;
|
|
671
|
-
Mode?: DocumentClassifierMode;
|
|
672
|
-
ModelKmsKeyId?: string;
|
|
673
|
-
ModelPolicy?: string;
|
|
673
|
+
VolumeKmsKeyId?: string | undefined;
|
|
674
|
+
VpcConfig?: VpcConfig | undefined;
|
|
675
|
+
Mode?: DocumentClassifierMode | undefined;
|
|
676
|
+
ModelKmsKeyId?: string | undefined;
|
|
677
|
+
ModelPolicy?: string | undefined;
|
|
674
678
|
}
|
|
675
679
|
export interface CreateDocumentClassifierResponse {
|
|
676
|
-
DocumentClassifierArn?: string;
|
|
680
|
+
DocumentClassifierArn?: string | undefined;
|
|
677
681
|
}
|
|
678
682
|
export declare class KmsKeyValidationException extends __BaseException {
|
|
679
683
|
readonly name: "KmsKeyValidationException";
|
|
680
684
|
readonly $fault: "client";
|
|
681
|
-
Message?: string;
|
|
685
|
+
Message?: string | undefined;
|
|
682
686
|
constructor(
|
|
683
687
|
opts: __ExceptionOptionType<KmsKeyValidationException, __BaseException>
|
|
684
688
|
);
|
|
685
689
|
}
|
|
686
690
|
export interface CreateEndpointRequest {
|
|
687
691
|
EndpointName: string | undefined;
|
|
688
|
-
ModelArn?: string;
|
|
692
|
+
ModelArn?: string | undefined;
|
|
689
693
|
DesiredInferenceUnits: number | undefined;
|
|
690
|
-
ClientRequestToken?: string;
|
|
691
|
-
Tags?: Tag[];
|
|
692
|
-
DataAccessRoleArn?: string;
|
|
693
|
-
FlywheelArn?: string;
|
|
694
|
+
ClientRequestToken?: string | undefined;
|
|
695
|
+
Tags?: Tag[] | undefined;
|
|
696
|
+
DataAccessRoleArn?: string | undefined;
|
|
697
|
+
FlywheelArn?: string | undefined;
|
|
694
698
|
}
|
|
695
699
|
export interface CreateEndpointResponse {
|
|
696
|
-
EndpointArn?: string;
|
|
697
|
-
ModelArn?: string;
|
|
700
|
+
EndpointArn?: string | undefined;
|
|
701
|
+
ModelArn?: string | undefined;
|
|
698
702
|
}
|
|
699
703
|
export interface EntityRecognizerAnnotations {
|
|
700
704
|
S3Uri: string | undefined;
|
|
701
|
-
TestS3Uri?: string;
|
|
705
|
+
TestS3Uri?: string | undefined;
|
|
702
706
|
}
|
|
703
707
|
export declare const EntityRecognizerDataFormat: {
|
|
704
708
|
readonly AUGMENTED_MANIFEST: "AUGMENTED_MANIFEST";
|
|
@@ -708,8 +712,8 @@ export type EntityRecognizerDataFormat =
|
|
|
708
712
|
(typeof EntityRecognizerDataFormat)[keyof typeof EntityRecognizerDataFormat];
|
|
709
713
|
export interface EntityRecognizerDocuments {
|
|
710
714
|
S3Uri: string | undefined;
|
|
711
|
-
TestS3Uri?: string;
|
|
712
|
-
InputFormat?: InputFormat;
|
|
715
|
+
TestS3Uri?: string | undefined;
|
|
716
|
+
InputFormat?: InputFormat | undefined;
|
|
713
717
|
}
|
|
714
718
|
export interface EntityRecognizerEntityList {
|
|
715
719
|
S3Uri: string | undefined;
|
|
@@ -718,34 +722,34 @@ export interface EntityTypesListItem {
|
|
|
718
722
|
Type: string | undefined;
|
|
719
723
|
}
|
|
720
724
|
export interface EntityRecognizerInputDataConfig {
|
|
721
|
-
DataFormat?: EntityRecognizerDataFormat;
|
|
725
|
+
DataFormat?: EntityRecognizerDataFormat | undefined;
|
|
722
726
|
EntityTypes: EntityTypesListItem[] | undefined;
|
|
723
|
-
Documents?: EntityRecognizerDocuments;
|
|
724
|
-
Annotations?: EntityRecognizerAnnotations;
|
|
725
|
-
EntityList?: EntityRecognizerEntityList;
|
|
726
|
-
AugmentedManifests?: AugmentedManifestsListItem[];
|
|
727
|
+
Documents?: EntityRecognizerDocuments | undefined;
|
|
728
|
+
Annotations?: EntityRecognizerAnnotations | undefined;
|
|
729
|
+
EntityList?: EntityRecognizerEntityList | undefined;
|
|
730
|
+
AugmentedManifests?: AugmentedManifestsListItem[] | undefined;
|
|
727
731
|
}
|
|
728
732
|
export interface CreateEntityRecognizerRequest {
|
|
729
733
|
RecognizerName: string | undefined;
|
|
730
|
-
VersionName?: string;
|
|
734
|
+
VersionName?: string | undefined;
|
|
731
735
|
DataAccessRoleArn: string | undefined;
|
|
732
|
-
Tags?: Tag[];
|
|
736
|
+
Tags?: Tag[] | undefined;
|
|
733
737
|
InputDataConfig: EntityRecognizerInputDataConfig | undefined;
|
|
734
|
-
ClientRequestToken?: string;
|
|
738
|
+
ClientRequestToken?: string | undefined;
|
|
735
739
|
LanguageCode: LanguageCode | undefined;
|
|
736
|
-
VolumeKmsKeyId?: string;
|
|
737
|
-
VpcConfig?: VpcConfig;
|
|
738
|
-
ModelKmsKeyId?: string;
|
|
739
|
-
ModelPolicy?: string;
|
|
740
|
+
VolumeKmsKeyId?: string | undefined;
|
|
741
|
+
VpcConfig?: VpcConfig | undefined;
|
|
742
|
+
ModelKmsKeyId?: string | undefined;
|
|
743
|
+
ModelPolicy?: string | undefined;
|
|
740
744
|
}
|
|
741
745
|
export interface CreateEntityRecognizerResponse {
|
|
742
|
-
EntityRecognizerArn?: string;
|
|
746
|
+
EntityRecognizerArn?: string | undefined;
|
|
743
747
|
}
|
|
744
748
|
export interface DataSecurityConfig {
|
|
745
|
-
ModelKmsKeyId?: string;
|
|
746
|
-
VolumeKmsKeyId?: string;
|
|
747
|
-
DataLakeKmsKeyId?: string;
|
|
748
|
-
VpcConfig?: VpcConfig;
|
|
749
|
+
ModelKmsKeyId?: string | undefined;
|
|
750
|
+
VolumeKmsKeyId?: string | undefined;
|
|
751
|
+
DataLakeKmsKeyId?: string | undefined;
|
|
752
|
+
VpcConfig?: VpcConfig | undefined;
|
|
749
753
|
}
|
|
750
754
|
export declare const ModelType: {
|
|
751
755
|
readonly DOCUMENT_CLASSIFIER: "DOCUMENT_CLASSIFIER";
|
|
@@ -754,30 +758,30 @@ export declare const ModelType: {
|
|
|
754
758
|
export type ModelType = (typeof ModelType)[keyof typeof ModelType];
|
|
755
759
|
export interface DocumentClassificationConfig {
|
|
756
760
|
Mode: DocumentClassifierMode | undefined;
|
|
757
|
-
Labels?: string[];
|
|
761
|
+
Labels?: string[] | undefined;
|
|
758
762
|
}
|
|
759
763
|
export interface EntityRecognitionConfig {
|
|
760
764
|
EntityTypes: EntityTypesListItem[] | undefined;
|
|
761
765
|
}
|
|
762
766
|
export interface TaskConfig {
|
|
763
767
|
LanguageCode: LanguageCode | undefined;
|
|
764
|
-
DocumentClassificationConfig?: DocumentClassificationConfig;
|
|
765
|
-
EntityRecognitionConfig?: EntityRecognitionConfig;
|
|
768
|
+
DocumentClassificationConfig?: DocumentClassificationConfig | undefined;
|
|
769
|
+
EntityRecognitionConfig?: EntityRecognitionConfig | undefined;
|
|
766
770
|
}
|
|
767
771
|
export interface CreateFlywheelRequest {
|
|
768
772
|
FlywheelName: string | undefined;
|
|
769
|
-
ActiveModelArn?: string;
|
|
773
|
+
ActiveModelArn?: string | undefined;
|
|
770
774
|
DataAccessRoleArn: string | undefined;
|
|
771
|
-
TaskConfig?: TaskConfig;
|
|
772
|
-
ModelType?: ModelType;
|
|
775
|
+
TaskConfig?: TaskConfig | undefined;
|
|
776
|
+
ModelType?: ModelType | undefined;
|
|
773
777
|
DataLakeS3Uri: string | undefined;
|
|
774
|
-
DataSecurityConfig?: DataSecurityConfig;
|
|
775
|
-
ClientRequestToken?: string;
|
|
776
|
-
Tags?: Tag[];
|
|
778
|
+
DataSecurityConfig?: DataSecurityConfig | undefined;
|
|
779
|
+
ClientRequestToken?: string | undefined;
|
|
780
|
+
Tags?: Tag[] | undefined;
|
|
777
781
|
}
|
|
778
782
|
export interface CreateFlywheelResponse {
|
|
779
|
-
FlywheelArn?: string;
|
|
780
|
-
ActiveModelArn?: string;
|
|
783
|
+
FlywheelArn?: string | undefined;
|
|
784
|
+
ActiveModelArn?: string | undefined;
|
|
781
785
|
}
|
|
782
786
|
export interface DeleteDocumentClassifierRequest {
|
|
783
787
|
DocumentClassifierArn: string | undefined;
|
|
@@ -797,7 +801,7 @@ export interface DeleteFlywheelRequest {
|
|
|
797
801
|
export interface DeleteFlywheelResponse {}
|
|
798
802
|
export interface DeleteResourcePolicyRequest {
|
|
799
803
|
ResourceArn: string | undefined;
|
|
800
|
-
PolicyRevisionId?: string;
|
|
804
|
+
PolicyRevisionId?: string | undefined;
|
|
801
805
|
}
|
|
802
806
|
export interface DeleteResourcePolicyResponse {}
|
|
803
807
|
export interface DescribeDatasetRequest {
|
|
@@ -810,27 +814,27 @@ export declare const DatasetStatus: {
|
|
|
810
814
|
};
|
|
811
815
|
export type DatasetStatus = (typeof DatasetStatus)[keyof typeof DatasetStatus];
|
|
812
816
|
export interface DatasetProperties {
|
|
813
|
-
DatasetArn?: string;
|
|
814
|
-
DatasetName?: string;
|
|
815
|
-
DatasetType?: DatasetType;
|
|
816
|
-
DatasetS3Uri?: string;
|
|
817
|
-
Description?: string;
|
|
818
|
-
Status?: DatasetStatus;
|
|
819
|
-
Message?: string;
|
|
820
|
-
NumberOfDocuments?: number;
|
|
821
|
-
CreationTime?: Date;
|
|
822
|
-
EndTime?: Date;
|
|
817
|
+
DatasetArn?: string | undefined;
|
|
818
|
+
DatasetName?: string | undefined;
|
|
819
|
+
DatasetType?: DatasetType | undefined;
|
|
820
|
+
DatasetS3Uri?: string | undefined;
|
|
821
|
+
Description?: string | undefined;
|
|
822
|
+
Status?: DatasetStatus | undefined;
|
|
823
|
+
Message?: string | undefined;
|
|
824
|
+
NumberOfDocuments?: number | undefined;
|
|
825
|
+
CreationTime?: Date | undefined;
|
|
826
|
+
EndTime?: Date | undefined;
|
|
823
827
|
}
|
|
824
828
|
export interface DescribeDatasetResponse {
|
|
825
|
-
DatasetProperties?: DatasetProperties;
|
|
829
|
+
DatasetProperties?: DatasetProperties | undefined;
|
|
826
830
|
}
|
|
827
831
|
export interface DescribeDocumentClassificationJobRequest {
|
|
828
832
|
JobId: string | undefined;
|
|
829
833
|
}
|
|
830
834
|
export interface InputDataConfig {
|
|
831
835
|
S3Uri: string | undefined;
|
|
832
|
-
InputFormat?: InputFormat;
|
|
833
|
-
DocumentReaderConfig?: DocumentReaderConfig;
|
|
836
|
+
InputFormat?: InputFormat | undefined;
|
|
837
|
+
DocumentReaderConfig?: DocumentReaderConfig | undefined;
|
|
834
838
|
}
|
|
835
839
|
export declare const JobStatus: {
|
|
836
840
|
readonly COMPLETED: "COMPLETED";
|
|
@@ -843,31 +847,33 @@ export declare const JobStatus: {
|
|
|
843
847
|
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
844
848
|
export interface OutputDataConfig {
|
|
845
849
|
S3Uri: string | undefined;
|
|
846
|
-
KmsKeyId?: string;
|
|
850
|
+
KmsKeyId?: string | undefined;
|
|
847
851
|
}
|
|
848
852
|
export interface DocumentClassificationJobProperties {
|
|
849
|
-
JobId?: string;
|
|
850
|
-
JobArn?: string;
|
|
851
|
-
JobName?: string;
|
|
852
|
-
JobStatus?: JobStatus;
|
|
853
|
-
Message?: string;
|
|
854
|
-
SubmitTime?: Date;
|
|
855
|
-
EndTime?: Date;
|
|
856
|
-
DocumentClassifierArn?: string;
|
|
857
|
-
InputDataConfig?: InputDataConfig;
|
|
858
|
-
OutputDataConfig?: OutputDataConfig;
|
|
859
|
-
DataAccessRoleArn?: string;
|
|
860
|
-
VolumeKmsKeyId?: string;
|
|
861
|
-
VpcConfig?: VpcConfig;
|
|
862
|
-
FlywheelArn?: string;
|
|
853
|
+
JobId?: string | undefined;
|
|
854
|
+
JobArn?: string | undefined;
|
|
855
|
+
JobName?: string | undefined;
|
|
856
|
+
JobStatus?: JobStatus | undefined;
|
|
857
|
+
Message?: string | undefined;
|
|
858
|
+
SubmitTime?: Date | undefined;
|
|
859
|
+
EndTime?: Date | undefined;
|
|
860
|
+
DocumentClassifierArn?: string | undefined;
|
|
861
|
+
InputDataConfig?: InputDataConfig | undefined;
|
|
862
|
+
OutputDataConfig?: OutputDataConfig | undefined;
|
|
863
|
+
DataAccessRoleArn?: string | undefined;
|
|
864
|
+
VolumeKmsKeyId?: string | undefined;
|
|
865
|
+
VpcConfig?: VpcConfig | undefined;
|
|
866
|
+
FlywheelArn?: string | undefined;
|
|
863
867
|
}
|
|
864
868
|
export interface DescribeDocumentClassificationJobResponse {
|
|
865
|
-
DocumentClassificationJobProperties?:
|
|
869
|
+
DocumentClassificationJobProperties?:
|
|
870
|
+
| DocumentClassificationJobProperties
|
|
871
|
+
| undefined;
|
|
866
872
|
}
|
|
867
873
|
export declare class JobNotFoundException extends __BaseException {
|
|
868
874
|
readonly name: "JobNotFoundException";
|
|
869
875
|
readonly $fault: "client";
|
|
870
|
-
Message?: string;
|
|
876
|
+
Message?: string | undefined;
|
|
871
877
|
constructor(
|
|
872
878
|
opts: __ExceptionOptionType<JobNotFoundException, __BaseException>
|
|
873
879
|
);
|
|
@@ -887,48 +893,50 @@ export declare const ModelStatus: {
|
|
|
887
893
|
};
|
|
888
894
|
export type ModelStatus = (typeof ModelStatus)[keyof typeof ModelStatus];
|
|
889
895
|
export interface DocumentClassifierProperties {
|
|
890
|
-
DocumentClassifierArn?: string;
|
|
891
|
-
LanguageCode?: LanguageCode;
|
|
892
|
-
Status?: ModelStatus;
|
|
893
|
-
Message?: string;
|
|
894
|
-
SubmitTime?: Date;
|
|
895
|
-
EndTime?: Date;
|
|
896
|
-
TrainingStartTime?: Date;
|
|
897
|
-
TrainingEndTime?: Date;
|
|
898
|
-
InputDataConfig?: DocumentClassifierInputDataConfig;
|
|
899
|
-
OutputDataConfig?: DocumentClassifierOutputDataConfig;
|
|
900
|
-
ClassifierMetadata?: ClassifierMetadata;
|
|
901
|
-
DataAccessRoleArn?: string;
|
|
902
|
-
VolumeKmsKeyId?: string;
|
|
903
|
-
VpcConfig?: VpcConfig;
|
|
904
|
-
Mode?: DocumentClassifierMode;
|
|
905
|
-
ModelKmsKeyId?: string;
|
|
906
|
-
VersionName?: string;
|
|
907
|
-
SourceModelArn?: string;
|
|
908
|
-
FlywheelArn?: string;
|
|
896
|
+
DocumentClassifierArn?: string | undefined;
|
|
897
|
+
LanguageCode?: LanguageCode | undefined;
|
|
898
|
+
Status?: ModelStatus | undefined;
|
|
899
|
+
Message?: string | undefined;
|
|
900
|
+
SubmitTime?: Date | undefined;
|
|
901
|
+
EndTime?: Date | undefined;
|
|
902
|
+
TrainingStartTime?: Date | undefined;
|
|
903
|
+
TrainingEndTime?: Date | undefined;
|
|
904
|
+
InputDataConfig?: DocumentClassifierInputDataConfig | undefined;
|
|
905
|
+
OutputDataConfig?: DocumentClassifierOutputDataConfig | undefined;
|
|
906
|
+
ClassifierMetadata?: ClassifierMetadata | undefined;
|
|
907
|
+
DataAccessRoleArn?: string | undefined;
|
|
908
|
+
VolumeKmsKeyId?: string | undefined;
|
|
909
|
+
VpcConfig?: VpcConfig | undefined;
|
|
910
|
+
Mode?: DocumentClassifierMode | undefined;
|
|
911
|
+
ModelKmsKeyId?: string | undefined;
|
|
912
|
+
VersionName?: string | undefined;
|
|
913
|
+
SourceModelArn?: string | undefined;
|
|
914
|
+
FlywheelArn?: string | undefined;
|
|
909
915
|
}
|
|
910
916
|
export interface DescribeDocumentClassifierResponse {
|
|
911
|
-
DocumentClassifierProperties?: DocumentClassifierProperties;
|
|
917
|
+
DocumentClassifierProperties?: DocumentClassifierProperties | undefined;
|
|
912
918
|
}
|
|
913
919
|
export interface DescribeDominantLanguageDetectionJobRequest {
|
|
914
920
|
JobId: string | undefined;
|
|
915
921
|
}
|
|
916
922
|
export interface DominantLanguageDetectionJobProperties {
|
|
917
|
-
JobId?: string;
|
|
918
|
-
JobArn?: string;
|
|
919
|
-
JobName?: string;
|
|
920
|
-
JobStatus?: JobStatus;
|
|
921
|
-
Message?: string;
|
|
922
|
-
SubmitTime?: Date;
|
|
923
|
-
EndTime?: Date;
|
|
924
|
-
InputDataConfig?: InputDataConfig;
|
|
925
|
-
OutputDataConfig?: OutputDataConfig;
|
|
926
|
-
DataAccessRoleArn?: string;
|
|
927
|
-
VolumeKmsKeyId?: string;
|
|
928
|
-
VpcConfig?: VpcConfig;
|
|
923
|
+
JobId?: string | undefined;
|
|
924
|
+
JobArn?: string | undefined;
|
|
925
|
+
JobName?: string | undefined;
|
|
926
|
+
JobStatus?: JobStatus | undefined;
|
|
927
|
+
Message?: string | undefined;
|
|
928
|
+
SubmitTime?: Date | undefined;
|
|
929
|
+
EndTime?: Date | undefined;
|
|
930
|
+
InputDataConfig?: InputDataConfig | undefined;
|
|
931
|
+
OutputDataConfig?: OutputDataConfig | undefined;
|
|
932
|
+
DataAccessRoleArn?: string | undefined;
|
|
933
|
+
VolumeKmsKeyId?: string | undefined;
|
|
934
|
+
VpcConfig?: VpcConfig | undefined;
|
|
929
935
|
}
|
|
930
936
|
export interface DescribeDominantLanguageDetectionJobResponse {
|
|
931
|
-
DominantLanguageDetectionJobProperties?:
|
|
937
|
+
DominantLanguageDetectionJobProperties?:
|
|
938
|
+
| DominantLanguageDetectionJobProperties
|
|
939
|
+
| undefined;
|
|
932
940
|
}
|
|
933
941
|
export interface DescribeEndpointRequest {
|
|
934
942
|
EndpointArn: string | undefined;
|
|
@@ -943,114 +951,114 @@ export declare const EndpointStatus: {
|
|
|
943
951
|
export type EndpointStatus =
|
|
944
952
|
(typeof EndpointStatus)[keyof typeof EndpointStatus];
|
|
945
953
|
export interface EndpointProperties {
|
|
946
|
-
EndpointArn?: string;
|
|
947
|
-
Status?: EndpointStatus;
|
|
948
|
-
Message?: string;
|
|
949
|
-
ModelArn?: string;
|
|
950
|
-
DesiredModelArn?: string;
|
|
951
|
-
DesiredInferenceUnits?: number;
|
|
952
|
-
CurrentInferenceUnits?: number;
|
|
953
|
-
CreationTime?: Date;
|
|
954
|
-
LastModifiedTime?: Date;
|
|
955
|
-
DataAccessRoleArn?: string;
|
|
956
|
-
DesiredDataAccessRoleArn?: string;
|
|
957
|
-
FlywheelArn?: string;
|
|
954
|
+
EndpointArn?: string | undefined;
|
|
955
|
+
Status?: EndpointStatus | undefined;
|
|
956
|
+
Message?: string | undefined;
|
|
957
|
+
ModelArn?: string | undefined;
|
|
958
|
+
DesiredModelArn?: string | undefined;
|
|
959
|
+
DesiredInferenceUnits?: number | undefined;
|
|
960
|
+
CurrentInferenceUnits?: number | undefined;
|
|
961
|
+
CreationTime?: Date | undefined;
|
|
962
|
+
LastModifiedTime?: Date | undefined;
|
|
963
|
+
DataAccessRoleArn?: string | undefined;
|
|
964
|
+
DesiredDataAccessRoleArn?: string | undefined;
|
|
965
|
+
FlywheelArn?: string | undefined;
|
|
958
966
|
}
|
|
959
967
|
export interface DescribeEndpointResponse {
|
|
960
|
-
EndpointProperties?: EndpointProperties;
|
|
968
|
+
EndpointProperties?: EndpointProperties | undefined;
|
|
961
969
|
}
|
|
962
970
|
export interface DescribeEntitiesDetectionJobRequest {
|
|
963
971
|
JobId: string | undefined;
|
|
964
972
|
}
|
|
965
973
|
export interface EntitiesDetectionJobProperties {
|
|
966
|
-
JobId?: string;
|
|
967
|
-
JobArn?: string;
|
|
968
|
-
JobName?: string;
|
|
969
|
-
JobStatus?: JobStatus;
|
|
970
|
-
Message?: string;
|
|
971
|
-
SubmitTime?: Date;
|
|
972
|
-
EndTime?: Date;
|
|
973
|
-
EntityRecognizerArn?: string;
|
|
974
|
-
InputDataConfig?: InputDataConfig;
|
|
975
|
-
OutputDataConfig?: OutputDataConfig;
|
|
976
|
-
LanguageCode?: LanguageCode;
|
|
977
|
-
DataAccessRoleArn?: string;
|
|
978
|
-
VolumeKmsKeyId?: string;
|
|
979
|
-
VpcConfig?: VpcConfig;
|
|
980
|
-
FlywheelArn?: string;
|
|
974
|
+
JobId?: string | undefined;
|
|
975
|
+
JobArn?: string | undefined;
|
|
976
|
+
JobName?: string | undefined;
|
|
977
|
+
JobStatus?: JobStatus | undefined;
|
|
978
|
+
Message?: string | undefined;
|
|
979
|
+
SubmitTime?: Date | undefined;
|
|
980
|
+
EndTime?: Date | undefined;
|
|
981
|
+
EntityRecognizerArn?: string | undefined;
|
|
982
|
+
InputDataConfig?: InputDataConfig | undefined;
|
|
983
|
+
OutputDataConfig?: OutputDataConfig | undefined;
|
|
984
|
+
LanguageCode?: LanguageCode | undefined;
|
|
985
|
+
DataAccessRoleArn?: string | undefined;
|
|
986
|
+
VolumeKmsKeyId?: string | undefined;
|
|
987
|
+
VpcConfig?: VpcConfig | undefined;
|
|
988
|
+
FlywheelArn?: string | undefined;
|
|
981
989
|
}
|
|
982
990
|
export interface DescribeEntitiesDetectionJobResponse {
|
|
983
|
-
EntitiesDetectionJobProperties?: EntitiesDetectionJobProperties;
|
|
991
|
+
EntitiesDetectionJobProperties?: EntitiesDetectionJobProperties | undefined;
|
|
984
992
|
}
|
|
985
993
|
export interface DescribeEntityRecognizerRequest {
|
|
986
994
|
EntityRecognizerArn: string | undefined;
|
|
987
995
|
}
|
|
988
996
|
export interface EntityRecognizerOutputDataConfig {
|
|
989
|
-
FlywheelStatsS3Prefix?: string;
|
|
997
|
+
FlywheelStatsS3Prefix?: string | undefined;
|
|
990
998
|
}
|
|
991
999
|
export interface EntityTypesEvaluationMetrics {
|
|
992
|
-
Precision?: number;
|
|
993
|
-
Recall?: number;
|
|
994
|
-
F1Score?: number;
|
|
1000
|
+
Precision?: number | undefined;
|
|
1001
|
+
Recall?: number | undefined;
|
|
1002
|
+
F1Score?: number | undefined;
|
|
995
1003
|
}
|
|
996
1004
|
export interface EntityRecognizerMetadataEntityTypesListItem {
|
|
997
|
-
Type?: string;
|
|
998
|
-
EvaluationMetrics?: EntityTypesEvaluationMetrics;
|
|
999
|
-
NumberOfTrainMentions?: number;
|
|
1005
|
+
Type?: string | undefined;
|
|
1006
|
+
EvaluationMetrics?: EntityTypesEvaluationMetrics | undefined;
|
|
1007
|
+
NumberOfTrainMentions?: number | undefined;
|
|
1000
1008
|
}
|
|
1001
1009
|
export interface EntityRecognizerEvaluationMetrics {
|
|
1002
|
-
Precision?: number;
|
|
1003
|
-
Recall?: number;
|
|
1004
|
-
F1Score?: number;
|
|
1010
|
+
Precision?: number | undefined;
|
|
1011
|
+
Recall?: number | undefined;
|
|
1012
|
+
F1Score?: number | undefined;
|
|
1005
1013
|
}
|
|
1006
1014
|
export interface EntityRecognizerMetadata {
|
|
1007
|
-
NumberOfTrainedDocuments?: number;
|
|
1008
|
-
NumberOfTestDocuments?: number;
|
|
1009
|
-
EvaluationMetrics?: EntityRecognizerEvaluationMetrics;
|
|
1010
|
-
EntityTypes?: EntityRecognizerMetadataEntityTypesListItem[];
|
|
1015
|
+
NumberOfTrainedDocuments?: number | undefined;
|
|
1016
|
+
NumberOfTestDocuments?: number | undefined;
|
|
1017
|
+
EvaluationMetrics?: EntityRecognizerEvaluationMetrics | undefined;
|
|
1018
|
+
EntityTypes?: EntityRecognizerMetadataEntityTypesListItem[] | undefined;
|
|
1011
1019
|
}
|
|
1012
1020
|
export interface EntityRecognizerProperties {
|
|
1013
|
-
EntityRecognizerArn?: string;
|
|
1014
|
-
LanguageCode?: LanguageCode;
|
|
1015
|
-
Status?: ModelStatus;
|
|
1016
|
-
Message?: string;
|
|
1017
|
-
SubmitTime?: Date;
|
|
1018
|
-
EndTime?: Date;
|
|
1019
|
-
TrainingStartTime?: Date;
|
|
1020
|
-
TrainingEndTime?: Date;
|
|
1021
|
-
InputDataConfig?: EntityRecognizerInputDataConfig;
|
|
1022
|
-
RecognizerMetadata?: EntityRecognizerMetadata;
|
|
1023
|
-
DataAccessRoleArn?: string;
|
|
1024
|
-
VolumeKmsKeyId?: string;
|
|
1025
|
-
VpcConfig?: VpcConfig;
|
|
1026
|
-
ModelKmsKeyId?: string;
|
|
1027
|
-
VersionName?: string;
|
|
1028
|
-
SourceModelArn?: string;
|
|
1029
|
-
FlywheelArn?: string;
|
|
1030
|
-
OutputDataConfig?: EntityRecognizerOutputDataConfig;
|
|
1021
|
+
EntityRecognizerArn?: string | undefined;
|
|
1022
|
+
LanguageCode?: LanguageCode | undefined;
|
|
1023
|
+
Status?: ModelStatus | undefined;
|
|
1024
|
+
Message?: string | undefined;
|
|
1025
|
+
SubmitTime?: Date | undefined;
|
|
1026
|
+
EndTime?: Date | undefined;
|
|
1027
|
+
TrainingStartTime?: Date | undefined;
|
|
1028
|
+
TrainingEndTime?: Date | undefined;
|
|
1029
|
+
InputDataConfig?: EntityRecognizerInputDataConfig | undefined;
|
|
1030
|
+
RecognizerMetadata?: EntityRecognizerMetadata | undefined;
|
|
1031
|
+
DataAccessRoleArn?: string | undefined;
|
|
1032
|
+
VolumeKmsKeyId?: string | undefined;
|
|
1033
|
+
VpcConfig?: VpcConfig | undefined;
|
|
1034
|
+
ModelKmsKeyId?: string | undefined;
|
|
1035
|
+
VersionName?: string | undefined;
|
|
1036
|
+
SourceModelArn?: string | undefined;
|
|
1037
|
+
FlywheelArn?: string | undefined;
|
|
1038
|
+
OutputDataConfig?: EntityRecognizerOutputDataConfig | undefined;
|
|
1031
1039
|
}
|
|
1032
1040
|
export interface DescribeEntityRecognizerResponse {
|
|
1033
|
-
EntityRecognizerProperties?: EntityRecognizerProperties;
|
|
1041
|
+
EntityRecognizerProperties?: EntityRecognizerProperties | undefined;
|
|
1034
1042
|
}
|
|
1035
1043
|
export interface DescribeEventsDetectionJobRequest {
|
|
1036
1044
|
JobId: string | undefined;
|
|
1037
1045
|
}
|
|
1038
1046
|
export interface EventsDetectionJobProperties {
|
|
1039
|
-
JobId?: string;
|
|
1040
|
-
JobArn?: string;
|
|
1041
|
-
JobName?: string;
|
|
1042
|
-
JobStatus?: JobStatus;
|
|
1043
|
-
Message?: string;
|
|
1044
|
-
SubmitTime?: Date;
|
|
1045
|
-
EndTime?: Date;
|
|
1046
|
-
InputDataConfig?: InputDataConfig;
|
|
1047
|
-
OutputDataConfig?: OutputDataConfig;
|
|
1048
|
-
LanguageCode?: LanguageCode;
|
|
1049
|
-
DataAccessRoleArn?: string;
|
|
1050
|
-
TargetEventTypes?: string[];
|
|
1047
|
+
JobId?: string | undefined;
|
|
1048
|
+
JobArn?: string | undefined;
|
|
1049
|
+
JobName?: string | undefined;
|
|
1050
|
+
JobStatus?: JobStatus | undefined;
|
|
1051
|
+
Message?: string | undefined;
|
|
1052
|
+
SubmitTime?: Date | undefined;
|
|
1053
|
+
EndTime?: Date | undefined;
|
|
1054
|
+
InputDataConfig?: InputDataConfig | undefined;
|
|
1055
|
+
OutputDataConfig?: OutputDataConfig | undefined;
|
|
1056
|
+
LanguageCode?: LanguageCode | undefined;
|
|
1057
|
+
DataAccessRoleArn?: string | undefined;
|
|
1058
|
+
TargetEventTypes?: string[] | undefined;
|
|
1051
1059
|
}
|
|
1052
1060
|
export interface DescribeEventsDetectionJobResponse {
|
|
1053
|
-
EventsDetectionJobProperties?: EventsDetectionJobProperties;
|
|
1061
|
+
EventsDetectionJobProperties?: EventsDetectionJobProperties | undefined;
|
|
1054
1062
|
}
|
|
1055
1063
|
export interface DescribeFlywheelRequest {
|
|
1056
1064
|
FlywheelArn: string | undefined;
|
|
@@ -1065,31 +1073,31 @@ export declare const FlywheelStatus: {
|
|
|
1065
1073
|
export type FlywheelStatus =
|
|
1066
1074
|
(typeof FlywheelStatus)[keyof typeof FlywheelStatus];
|
|
1067
1075
|
export interface FlywheelProperties {
|
|
1068
|
-
FlywheelArn?: string;
|
|
1069
|
-
ActiveModelArn?: string;
|
|
1070
|
-
DataAccessRoleArn?: string;
|
|
1071
|
-
TaskConfig?: TaskConfig;
|
|
1072
|
-
DataLakeS3Uri?: string;
|
|
1073
|
-
DataSecurityConfig?: DataSecurityConfig;
|
|
1074
|
-
Status?: FlywheelStatus;
|
|
1075
|
-
ModelType?: ModelType;
|
|
1076
|
-
Message?: string;
|
|
1077
|
-
CreationTime?: Date;
|
|
1078
|
-
LastModifiedTime?: Date;
|
|
1079
|
-
LatestFlywheelIteration?: string;
|
|
1076
|
+
FlywheelArn?: string | undefined;
|
|
1077
|
+
ActiveModelArn?: string | undefined;
|
|
1078
|
+
DataAccessRoleArn?: string | undefined;
|
|
1079
|
+
TaskConfig?: TaskConfig | undefined;
|
|
1080
|
+
DataLakeS3Uri?: string | undefined;
|
|
1081
|
+
DataSecurityConfig?: DataSecurityConfig | undefined;
|
|
1082
|
+
Status?: FlywheelStatus | undefined;
|
|
1083
|
+
ModelType?: ModelType | undefined;
|
|
1084
|
+
Message?: string | undefined;
|
|
1085
|
+
CreationTime?: Date | undefined;
|
|
1086
|
+
LastModifiedTime?: Date | undefined;
|
|
1087
|
+
LatestFlywheelIteration?: string | undefined;
|
|
1080
1088
|
}
|
|
1081
1089
|
export interface DescribeFlywheelResponse {
|
|
1082
|
-
FlywheelProperties?: FlywheelProperties;
|
|
1090
|
+
FlywheelProperties?: FlywheelProperties | undefined;
|
|
1083
1091
|
}
|
|
1084
1092
|
export interface DescribeFlywheelIterationRequest {
|
|
1085
1093
|
FlywheelArn: string | undefined;
|
|
1086
1094
|
FlywheelIterationId: string | undefined;
|
|
1087
1095
|
}
|
|
1088
1096
|
export interface FlywheelModelEvaluationMetrics {
|
|
1089
|
-
AverageF1Score?: number;
|
|
1090
|
-
AveragePrecision?: number;
|
|
1091
|
-
AverageRecall?: number;
|
|
1092
|
-
AverageAccuracy?: number;
|
|
1097
|
+
AverageF1Score?: number | undefined;
|
|
1098
|
+
AveragePrecision?: number | undefined;
|
|
1099
|
+
AverageRecall?: number | undefined;
|
|
1100
|
+
AverageAccuracy?: number | undefined;
|
|
1093
1101
|
}
|
|
1094
1102
|
export declare const FlywheelIterationStatus: {
|
|
1095
1103
|
readonly COMPLETED: "COMPLETED";
|
|
@@ -1102,41 +1110,43 @@ export declare const FlywheelIterationStatus: {
|
|
|
1102
1110
|
export type FlywheelIterationStatus =
|
|
1103
1111
|
(typeof FlywheelIterationStatus)[keyof typeof FlywheelIterationStatus];
|
|
1104
1112
|
export interface FlywheelIterationProperties {
|
|
1105
|
-
FlywheelArn?: string;
|
|
1106
|
-
FlywheelIterationId?: string;
|
|
1107
|
-
CreationTime?: Date;
|
|
1108
|
-
EndTime?: Date;
|
|
1109
|
-
Status?: FlywheelIterationStatus;
|
|
1110
|
-
Message?: string;
|
|
1111
|
-
EvaluatedModelArn?: string;
|
|
1112
|
-
EvaluatedModelMetrics?: FlywheelModelEvaluationMetrics;
|
|
1113
|
-
TrainedModelArn?: string;
|
|
1114
|
-
TrainedModelMetrics?: FlywheelModelEvaluationMetrics;
|
|
1115
|
-
EvaluationManifestS3Prefix?: string;
|
|
1113
|
+
FlywheelArn?: string | undefined;
|
|
1114
|
+
FlywheelIterationId?: string | undefined;
|
|
1115
|
+
CreationTime?: Date | undefined;
|
|
1116
|
+
EndTime?: Date | undefined;
|
|
1117
|
+
Status?: FlywheelIterationStatus | undefined;
|
|
1118
|
+
Message?: string | undefined;
|
|
1119
|
+
EvaluatedModelArn?: string | undefined;
|
|
1120
|
+
EvaluatedModelMetrics?: FlywheelModelEvaluationMetrics | undefined;
|
|
1121
|
+
TrainedModelArn?: string | undefined;
|
|
1122
|
+
TrainedModelMetrics?: FlywheelModelEvaluationMetrics | undefined;
|
|
1123
|
+
EvaluationManifestS3Prefix?: string | undefined;
|
|
1116
1124
|
}
|
|
1117
1125
|
export interface DescribeFlywheelIterationResponse {
|
|
1118
|
-
FlywheelIterationProperties?: FlywheelIterationProperties;
|
|
1126
|
+
FlywheelIterationProperties?: FlywheelIterationProperties | undefined;
|
|
1119
1127
|
}
|
|
1120
1128
|
export interface DescribeKeyPhrasesDetectionJobRequest {
|
|
1121
1129
|
JobId: string | undefined;
|
|
1122
1130
|
}
|
|
1123
1131
|
export interface KeyPhrasesDetectionJobProperties {
|
|
1124
|
-
JobId?: string;
|
|
1125
|
-
JobArn?: string;
|
|
1126
|
-
JobName?: string;
|
|
1127
|
-
JobStatus?: JobStatus;
|
|
1128
|
-
Message?: string;
|
|
1129
|
-
SubmitTime?: Date;
|
|
1130
|
-
EndTime?: Date;
|
|
1131
|
-
InputDataConfig?: InputDataConfig;
|
|
1132
|
-
OutputDataConfig?: OutputDataConfig;
|
|
1133
|
-
LanguageCode?: LanguageCode;
|
|
1134
|
-
DataAccessRoleArn?: string;
|
|
1135
|
-
VolumeKmsKeyId?: string;
|
|
1136
|
-
VpcConfig?: VpcConfig;
|
|
1132
|
+
JobId?: string | undefined;
|
|
1133
|
+
JobArn?: string | undefined;
|
|
1134
|
+
JobName?: string | undefined;
|
|
1135
|
+
JobStatus?: JobStatus | undefined;
|
|
1136
|
+
Message?: string | undefined;
|
|
1137
|
+
SubmitTime?: Date | undefined;
|
|
1138
|
+
EndTime?: Date | undefined;
|
|
1139
|
+
InputDataConfig?: InputDataConfig | undefined;
|
|
1140
|
+
OutputDataConfig?: OutputDataConfig | undefined;
|
|
1141
|
+
LanguageCode?: LanguageCode | undefined;
|
|
1142
|
+
DataAccessRoleArn?: string | undefined;
|
|
1143
|
+
VolumeKmsKeyId?: string | undefined;
|
|
1144
|
+
VpcConfig?: VpcConfig | undefined;
|
|
1137
1145
|
}
|
|
1138
1146
|
export interface DescribeKeyPhrasesDetectionJobResponse {
|
|
1139
|
-
KeyPhrasesDetectionJobProperties?:
|
|
1147
|
+
KeyPhrasesDetectionJobProperties?:
|
|
1148
|
+
| KeyPhrasesDetectionJobProperties
|
|
1149
|
+
| undefined;
|
|
1140
1150
|
}
|
|
1141
1151
|
export interface DescribePiiEntitiesDetectionJobRequest {
|
|
1142
1152
|
JobId: string | undefined;
|
|
@@ -1149,7 +1159,7 @@ export type PiiEntitiesDetectionMode =
|
|
|
1149
1159
|
(typeof PiiEntitiesDetectionMode)[keyof typeof PiiEntitiesDetectionMode];
|
|
1150
1160
|
export interface PiiOutputDataConfig {
|
|
1151
1161
|
S3Uri: string | undefined;
|
|
1152
|
-
KmsKeyId?: string;
|
|
1162
|
+
KmsKeyId?: string | undefined;
|
|
1153
1163
|
}
|
|
1154
1164
|
export declare const PiiEntitiesDetectionMaskMode: {
|
|
1155
1165
|
readonly MASK: "MASK";
|
|
@@ -1158,161 +1168,165 @@ export declare const PiiEntitiesDetectionMaskMode: {
|
|
|
1158
1168
|
export type PiiEntitiesDetectionMaskMode =
|
|
1159
1169
|
(typeof PiiEntitiesDetectionMaskMode)[keyof typeof PiiEntitiesDetectionMaskMode];
|
|
1160
1170
|
export interface RedactionConfig {
|
|
1161
|
-
PiiEntityTypes?: PiiEntityType[];
|
|
1162
|
-
MaskMode?: PiiEntitiesDetectionMaskMode;
|
|
1163
|
-
MaskCharacter?: string;
|
|
1171
|
+
PiiEntityTypes?: PiiEntityType[] | undefined;
|
|
1172
|
+
MaskMode?: PiiEntitiesDetectionMaskMode | undefined;
|
|
1173
|
+
MaskCharacter?: string | undefined;
|
|
1164
1174
|
}
|
|
1165
1175
|
export interface PiiEntitiesDetectionJobProperties {
|
|
1166
|
-
JobId?: string;
|
|
1167
|
-
JobArn?: string;
|
|
1168
|
-
JobName?: string;
|
|
1169
|
-
JobStatus?: JobStatus;
|
|
1170
|
-
Message?: string;
|
|
1171
|
-
SubmitTime?: Date;
|
|
1172
|
-
EndTime?: Date;
|
|
1173
|
-
InputDataConfig?: InputDataConfig;
|
|
1174
|
-
OutputDataConfig?: PiiOutputDataConfig;
|
|
1175
|
-
RedactionConfig?: RedactionConfig;
|
|
1176
|
-
LanguageCode?: LanguageCode;
|
|
1177
|
-
DataAccessRoleArn?: string;
|
|
1178
|
-
Mode?: PiiEntitiesDetectionMode;
|
|
1176
|
+
JobId?: string | undefined;
|
|
1177
|
+
JobArn?: string | undefined;
|
|
1178
|
+
JobName?: string | undefined;
|
|
1179
|
+
JobStatus?: JobStatus | undefined;
|
|
1180
|
+
Message?: string | undefined;
|
|
1181
|
+
SubmitTime?: Date | undefined;
|
|
1182
|
+
EndTime?: Date | undefined;
|
|
1183
|
+
InputDataConfig?: InputDataConfig | undefined;
|
|
1184
|
+
OutputDataConfig?: PiiOutputDataConfig | undefined;
|
|
1185
|
+
RedactionConfig?: RedactionConfig | undefined;
|
|
1186
|
+
LanguageCode?: LanguageCode | undefined;
|
|
1187
|
+
DataAccessRoleArn?: string | undefined;
|
|
1188
|
+
Mode?: PiiEntitiesDetectionMode | undefined;
|
|
1179
1189
|
}
|
|
1180
1190
|
export interface DescribePiiEntitiesDetectionJobResponse {
|
|
1181
|
-
PiiEntitiesDetectionJobProperties?:
|
|
1191
|
+
PiiEntitiesDetectionJobProperties?:
|
|
1192
|
+
| PiiEntitiesDetectionJobProperties
|
|
1193
|
+
| undefined;
|
|
1182
1194
|
}
|
|
1183
1195
|
export interface DescribeResourcePolicyRequest {
|
|
1184
1196
|
ResourceArn: string | undefined;
|
|
1185
1197
|
}
|
|
1186
1198
|
export interface DescribeResourcePolicyResponse {
|
|
1187
|
-
ResourcePolicy?: string;
|
|
1188
|
-
CreationTime?: Date;
|
|
1189
|
-
LastModifiedTime?: Date;
|
|
1190
|
-
PolicyRevisionId?: string;
|
|
1199
|
+
ResourcePolicy?: string | undefined;
|
|
1200
|
+
CreationTime?: Date | undefined;
|
|
1201
|
+
LastModifiedTime?: Date | undefined;
|
|
1202
|
+
PolicyRevisionId?: string | undefined;
|
|
1191
1203
|
}
|
|
1192
1204
|
export interface DescribeSentimentDetectionJobRequest {
|
|
1193
1205
|
JobId: string | undefined;
|
|
1194
1206
|
}
|
|
1195
1207
|
export interface SentimentDetectionJobProperties {
|
|
1196
|
-
JobId?: string;
|
|
1197
|
-
JobArn?: string;
|
|
1198
|
-
JobName?: string;
|
|
1199
|
-
JobStatus?: JobStatus;
|
|
1200
|
-
Message?: string;
|
|
1201
|
-
SubmitTime?: Date;
|
|
1202
|
-
EndTime?: Date;
|
|
1203
|
-
InputDataConfig?: InputDataConfig;
|
|
1204
|
-
OutputDataConfig?: OutputDataConfig;
|
|
1205
|
-
LanguageCode?: LanguageCode;
|
|
1206
|
-
DataAccessRoleArn?: string;
|
|
1207
|
-
VolumeKmsKeyId?: string;
|
|
1208
|
-
VpcConfig?: VpcConfig;
|
|
1208
|
+
JobId?: string | undefined;
|
|
1209
|
+
JobArn?: string | undefined;
|
|
1210
|
+
JobName?: string | undefined;
|
|
1211
|
+
JobStatus?: JobStatus | undefined;
|
|
1212
|
+
Message?: string | undefined;
|
|
1213
|
+
SubmitTime?: Date | undefined;
|
|
1214
|
+
EndTime?: Date | undefined;
|
|
1215
|
+
InputDataConfig?: InputDataConfig | undefined;
|
|
1216
|
+
OutputDataConfig?: OutputDataConfig | undefined;
|
|
1217
|
+
LanguageCode?: LanguageCode | undefined;
|
|
1218
|
+
DataAccessRoleArn?: string | undefined;
|
|
1219
|
+
VolumeKmsKeyId?: string | undefined;
|
|
1220
|
+
VpcConfig?: VpcConfig | undefined;
|
|
1209
1221
|
}
|
|
1210
1222
|
export interface DescribeSentimentDetectionJobResponse {
|
|
1211
|
-
SentimentDetectionJobProperties?: SentimentDetectionJobProperties;
|
|
1223
|
+
SentimentDetectionJobProperties?: SentimentDetectionJobProperties | undefined;
|
|
1212
1224
|
}
|
|
1213
1225
|
export interface DescribeTargetedSentimentDetectionJobRequest {
|
|
1214
1226
|
JobId: string | undefined;
|
|
1215
1227
|
}
|
|
1216
1228
|
export interface TargetedSentimentDetectionJobProperties {
|
|
1217
|
-
JobId?: string;
|
|
1218
|
-
JobArn?: string;
|
|
1219
|
-
JobName?: string;
|
|
1220
|
-
JobStatus?: JobStatus;
|
|
1221
|
-
Message?: string;
|
|
1222
|
-
SubmitTime?: Date;
|
|
1223
|
-
EndTime?: Date;
|
|
1224
|
-
InputDataConfig?: InputDataConfig;
|
|
1225
|
-
OutputDataConfig?: OutputDataConfig;
|
|
1226
|
-
LanguageCode?: LanguageCode;
|
|
1227
|
-
DataAccessRoleArn?: string;
|
|
1228
|
-
VolumeKmsKeyId?: string;
|
|
1229
|
-
VpcConfig?: VpcConfig;
|
|
1229
|
+
JobId?: string | undefined;
|
|
1230
|
+
JobArn?: string | undefined;
|
|
1231
|
+
JobName?: string | undefined;
|
|
1232
|
+
JobStatus?: JobStatus | undefined;
|
|
1233
|
+
Message?: string | undefined;
|
|
1234
|
+
SubmitTime?: Date | undefined;
|
|
1235
|
+
EndTime?: Date | undefined;
|
|
1236
|
+
InputDataConfig?: InputDataConfig | undefined;
|
|
1237
|
+
OutputDataConfig?: OutputDataConfig | undefined;
|
|
1238
|
+
LanguageCode?: LanguageCode | undefined;
|
|
1239
|
+
DataAccessRoleArn?: string | undefined;
|
|
1240
|
+
VolumeKmsKeyId?: string | undefined;
|
|
1241
|
+
VpcConfig?: VpcConfig | undefined;
|
|
1230
1242
|
}
|
|
1231
1243
|
export interface DescribeTargetedSentimentDetectionJobResponse {
|
|
1232
|
-
TargetedSentimentDetectionJobProperties?:
|
|
1244
|
+
TargetedSentimentDetectionJobProperties?:
|
|
1245
|
+
| TargetedSentimentDetectionJobProperties
|
|
1246
|
+
| undefined;
|
|
1233
1247
|
}
|
|
1234
1248
|
export interface DescribeTopicsDetectionJobRequest {
|
|
1235
1249
|
JobId: string | undefined;
|
|
1236
1250
|
}
|
|
1237
1251
|
export interface TopicsDetectionJobProperties {
|
|
1238
|
-
JobId?: string;
|
|
1239
|
-
JobArn?: string;
|
|
1240
|
-
JobName?: string;
|
|
1241
|
-
JobStatus?: JobStatus;
|
|
1242
|
-
Message?: string;
|
|
1243
|
-
SubmitTime?: Date;
|
|
1244
|
-
EndTime?: Date;
|
|
1245
|
-
InputDataConfig?: InputDataConfig;
|
|
1246
|
-
OutputDataConfig?: OutputDataConfig;
|
|
1247
|
-
NumberOfTopics?: number;
|
|
1248
|
-
DataAccessRoleArn?: string;
|
|
1249
|
-
VolumeKmsKeyId?: string;
|
|
1250
|
-
VpcConfig?: VpcConfig;
|
|
1252
|
+
JobId?: string | undefined;
|
|
1253
|
+
JobArn?: string | undefined;
|
|
1254
|
+
JobName?: string | undefined;
|
|
1255
|
+
JobStatus?: JobStatus | undefined;
|
|
1256
|
+
Message?: string | undefined;
|
|
1257
|
+
SubmitTime?: Date | undefined;
|
|
1258
|
+
EndTime?: Date | undefined;
|
|
1259
|
+
InputDataConfig?: InputDataConfig | undefined;
|
|
1260
|
+
OutputDataConfig?: OutputDataConfig | undefined;
|
|
1261
|
+
NumberOfTopics?: number | undefined;
|
|
1262
|
+
DataAccessRoleArn?: string | undefined;
|
|
1263
|
+
VolumeKmsKeyId?: string | undefined;
|
|
1264
|
+
VpcConfig?: VpcConfig | undefined;
|
|
1251
1265
|
}
|
|
1252
1266
|
export interface DescribeTopicsDetectionJobResponse {
|
|
1253
|
-
TopicsDetectionJobProperties?: TopicsDetectionJobProperties;
|
|
1267
|
+
TopicsDetectionJobProperties?: TopicsDetectionJobProperties | undefined;
|
|
1254
1268
|
}
|
|
1255
1269
|
export interface DetectDominantLanguageRequest {
|
|
1256
1270
|
Text: string | undefined;
|
|
1257
1271
|
}
|
|
1258
1272
|
export interface DetectDominantLanguageResponse {
|
|
1259
|
-
Languages?: DominantLanguage[];
|
|
1273
|
+
Languages?: DominantLanguage[] | undefined;
|
|
1260
1274
|
}
|
|
1261
1275
|
export interface DetectEntitiesRequest {
|
|
1262
|
-
Text?: string;
|
|
1263
|
-
LanguageCode?: LanguageCode;
|
|
1264
|
-
EndpointArn?: string;
|
|
1265
|
-
Bytes?: Uint8Array;
|
|
1266
|
-
DocumentReaderConfig?: DocumentReaderConfig;
|
|
1276
|
+
Text?: string | undefined;
|
|
1277
|
+
LanguageCode?: LanguageCode | undefined;
|
|
1278
|
+
EndpointArn?: string | undefined;
|
|
1279
|
+
Bytes?: Uint8Array | undefined;
|
|
1280
|
+
DocumentReaderConfig?: DocumentReaderConfig | undefined;
|
|
1267
1281
|
}
|
|
1268
1282
|
export interface DetectEntitiesResponse {
|
|
1269
|
-
Entities?: Entity[];
|
|
1270
|
-
DocumentMetadata?: DocumentMetadata;
|
|
1271
|
-
DocumentType?: DocumentTypeListItem[];
|
|
1272
|
-
Blocks?: Block[];
|
|
1273
|
-
Errors?: ErrorsListItem[];
|
|
1283
|
+
Entities?: Entity[] | undefined;
|
|
1284
|
+
DocumentMetadata?: DocumentMetadata | undefined;
|
|
1285
|
+
DocumentType?: DocumentTypeListItem[] | undefined;
|
|
1286
|
+
Blocks?: Block[] | undefined;
|
|
1287
|
+
Errors?: ErrorsListItem[] | undefined;
|
|
1274
1288
|
}
|
|
1275
1289
|
export interface DetectKeyPhrasesRequest {
|
|
1276
1290
|
Text: string | undefined;
|
|
1277
1291
|
LanguageCode: LanguageCode | undefined;
|
|
1278
1292
|
}
|
|
1279
1293
|
export interface DetectKeyPhrasesResponse {
|
|
1280
|
-
KeyPhrases?: KeyPhrase[];
|
|
1294
|
+
KeyPhrases?: KeyPhrase[] | undefined;
|
|
1281
1295
|
}
|
|
1282
1296
|
export interface DetectPiiEntitiesRequest {
|
|
1283
1297
|
Text: string | undefined;
|
|
1284
1298
|
LanguageCode: LanguageCode | undefined;
|
|
1285
1299
|
}
|
|
1286
1300
|
export interface PiiEntity {
|
|
1287
|
-
Score?: number;
|
|
1288
|
-
Type?: PiiEntityType;
|
|
1289
|
-
BeginOffset?: number;
|
|
1290
|
-
EndOffset?: number;
|
|
1301
|
+
Score?: number | undefined;
|
|
1302
|
+
Type?: PiiEntityType | undefined;
|
|
1303
|
+
BeginOffset?: number | undefined;
|
|
1304
|
+
EndOffset?: number | undefined;
|
|
1291
1305
|
}
|
|
1292
1306
|
export interface DetectPiiEntitiesResponse {
|
|
1293
|
-
Entities?: PiiEntity[];
|
|
1307
|
+
Entities?: PiiEntity[] | undefined;
|
|
1294
1308
|
}
|
|
1295
1309
|
export interface DetectSentimentRequest {
|
|
1296
1310
|
Text: string | undefined;
|
|
1297
1311
|
LanguageCode: LanguageCode | undefined;
|
|
1298
1312
|
}
|
|
1299
1313
|
export interface DetectSentimentResponse {
|
|
1300
|
-
Sentiment?: SentimentType;
|
|
1301
|
-
SentimentScore?: SentimentScore;
|
|
1314
|
+
Sentiment?: SentimentType | undefined;
|
|
1315
|
+
SentimentScore?: SentimentScore | undefined;
|
|
1302
1316
|
}
|
|
1303
1317
|
export interface DetectSyntaxRequest {
|
|
1304
1318
|
Text: string | undefined;
|
|
1305
1319
|
LanguageCode: SyntaxLanguageCode | undefined;
|
|
1306
1320
|
}
|
|
1307
1321
|
export interface DetectSyntaxResponse {
|
|
1308
|
-
SyntaxTokens?: SyntaxToken[];
|
|
1322
|
+
SyntaxTokens?: SyntaxToken[] | undefined;
|
|
1309
1323
|
}
|
|
1310
1324
|
export interface DetectTargetedSentimentRequest {
|
|
1311
1325
|
Text: string | undefined;
|
|
1312
1326
|
LanguageCode: LanguageCode | undefined;
|
|
1313
1327
|
}
|
|
1314
1328
|
export interface DetectTargetedSentimentResponse {
|
|
1315
|
-
Entities?: TargetedSentimentEntity[];
|
|
1329
|
+
Entities?: TargetedSentimentEntity[] | undefined;
|
|
1316
1330
|
}
|
|
1317
1331
|
export interface TextSegment {
|
|
1318
1332
|
Text: string | undefined;
|
|
@@ -1333,476 +1347,490 @@ export declare const ToxicContentType: {
|
|
|
1333
1347
|
export type ToxicContentType =
|
|
1334
1348
|
(typeof ToxicContentType)[keyof typeof ToxicContentType];
|
|
1335
1349
|
export interface ToxicContent {
|
|
1336
|
-
Name?: ToxicContentType;
|
|
1337
|
-
Score?: number;
|
|
1350
|
+
Name?: ToxicContentType | undefined;
|
|
1351
|
+
Score?: number | undefined;
|
|
1338
1352
|
}
|
|
1339
1353
|
export interface ToxicLabels {
|
|
1340
|
-
Labels?: ToxicContent[];
|
|
1341
|
-
Toxicity?: number;
|
|
1354
|
+
Labels?: ToxicContent[] | undefined;
|
|
1355
|
+
Toxicity?: number | undefined;
|
|
1342
1356
|
}
|
|
1343
1357
|
export interface DetectToxicContentResponse {
|
|
1344
|
-
ResultList?: ToxicLabels[];
|
|
1358
|
+
ResultList?: ToxicLabels[] | undefined;
|
|
1345
1359
|
}
|
|
1346
1360
|
export interface ImportModelRequest {
|
|
1347
1361
|
SourceModelArn: string | undefined;
|
|
1348
|
-
ModelName?: string;
|
|
1349
|
-
VersionName?: string;
|
|
1350
|
-
ModelKmsKeyId?: string;
|
|
1351
|
-
DataAccessRoleArn?: string;
|
|
1352
|
-
Tags?: Tag[];
|
|
1362
|
+
ModelName?: string | undefined;
|
|
1363
|
+
VersionName?: string | undefined;
|
|
1364
|
+
ModelKmsKeyId?: string | undefined;
|
|
1365
|
+
DataAccessRoleArn?: string | undefined;
|
|
1366
|
+
Tags?: Tag[] | undefined;
|
|
1353
1367
|
}
|
|
1354
1368
|
export interface ImportModelResponse {
|
|
1355
|
-
ModelArn?: string;
|
|
1369
|
+
ModelArn?: string | undefined;
|
|
1356
1370
|
}
|
|
1357
1371
|
export declare class InvalidFilterException extends __BaseException {
|
|
1358
1372
|
readonly name: "InvalidFilterException";
|
|
1359
1373
|
readonly $fault: "client";
|
|
1360
|
-
Message?: string;
|
|
1374
|
+
Message?: string | undefined;
|
|
1361
1375
|
constructor(
|
|
1362
1376
|
opts: __ExceptionOptionType<InvalidFilterException, __BaseException>
|
|
1363
1377
|
);
|
|
1364
1378
|
}
|
|
1365
1379
|
export interface DatasetFilter {
|
|
1366
|
-
Status?: DatasetStatus;
|
|
1367
|
-
DatasetType?: DatasetType;
|
|
1368
|
-
CreationTimeAfter?: Date;
|
|
1369
|
-
CreationTimeBefore?: Date;
|
|
1380
|
+
Status?: DatasetStatus | undefined;
|
|
1381
|
+
DatasetType?: DatasetType | undefined;
|
|
1382
|
+
CreationTimeAfter?: Date | undefined;
|
|
1383
|
+
CreationTimeBefore?: Date | undefined;
|
|
1370
1384
|
}
|
|
1371
1385
|
export interface ListDatasetsRequest {
|
|
1372
|
-
FlywheelArn?: string;
|
|
1373
|
-
Filter?: DatasetFilter;
|
|
1374
|
-
NextToken?: string;
|
|
1375
|
-
MaxResults?: number;
|
|
1386
|
+
FlywheelArn?: string | undefined;
|
|
1387
|
+
Filter?: DatasetFilter | undefined;
|
|
1388
|
+
NextToken?: string | undefined;
|
|
1389
|
+
MaxResults?: number | undefined;
|
|
1376
1390
|
}
|
|
1377
1391
|
export interface ListDatasetsResponse {
|
|
1378
|
-
DatasetPropertiesList?: DatasetProperties[];
|
|
1379
|
-
NextToken?: string;
|
|
1392
|
+
DatasetPropertiesList?: DatasetProperties[] | undefined;
|
|
1393
|
+
NextToken?: string | undefined;
|
|
1380
1394
|
}
|
|
1381
1395
|
export interface DocumentClassificationJobFilter {
|
|
1382
|
-
JobName?: string;
|
|
1383
|
-
JobStatus?: JobStatus;
|
|
1384
|
-
SubmitTimeBefore?: Date;
|
|
1385
|
-
SubmitTimeAfter?: Date;
|
|
1396
|
+
JobName?: string | undefined;
|
|
1397
|
+
JobStatus?: JobStatus | undefined;
|
|
1398
|
+
SubmitTimeBefore?: Date | undefined;
|
|
1399
|
+
SubmitTimeAfter?: Date | undefined;
|
|
1386
1400
|
}
|
|
1387
1401
|
export interface ListDocumentClassificationJobsRequest {
|
|
1388
|
-
Filter?: DocumentClassificationJobFilter;
|
|
1389
|
-
NextToken?: string;
|
|
1390
|
-
MaxResults?: number;
|
|
1402
|
+
Filter?: DocumentClassificationJobFilter | undefined;
|
|
1403
|
+
NextToken?: string | undefined;
|
|
1404
|
+
MaxResults?: number | undefined;
|
|
1391
1405
|
}
|
|
1392
1406
|
export interface ListDocumentClassificationJobsResponse {
|
|
1393
|
-
DocumentClassificationJobPropertiesList?:
|
|
1394
|
-
|
|
1407
|
+
DocumentClassificationJobPropertiesList?:
|
|
1408
|
+
| DocumentClassificationJobProperties[]
|
|
1409
|
+
| undefined;
|
|
1410
|
+
NextToken?: string | undefined;
|
|
1395
1411
|
}
|
|
1396
1412
|
export interface DocumentClassifierFilter {
|
|
1397
|
-
Status?: ModelStatus;
|
|
1398
|
-
DocumentClassifierName?: string;
|
|
1399
|
-
SubmitTimeBefore?: Date;
|
|
1400
|
-
SubmitTimeAfter?: Date;
|
|
1413
|
+
Status?: ModelStatus | undefined;
|
|
1414
|
+
DocumentClassifierName?: string | undefined;
|
|
1415
|
+
SubmitTimeBefore?: Date | undefined;
|
|
1416
|
+
SubmitTimeAfter?: Date | undefined;
|
|
1401
1417
|
}
|
|
1402
1418
|
export interface ListDocumentClassifiersRequest {
|
|
1403
|
-
Filter?: DocumentClassifierFilter;
|
|
1404
|
-
NextToken?: string;
|
|
1405
|
-
MaxResults?: number;
|
|
1419
|
+
Filter?: DocumentClassifierFilter | undefined;
|
|
1420
|
+
NextToken?: string | undefined;
|
|
1421
|
+
MaxResults?: number | undefined;
|
|
1406
1422
|
}
|
|
1407
1423
|
export interface ListDocumentClassifiersResponse {
|
|
1408
|
-
DocumentClassifierPropertiesList?: DocumentClassifierProperties[];
|
|
1409
|
-
NextToken?: string;
|
|
1424
|
+
DocumentClassifierPropertiesList?: DocumentClassifierProperties[] | undefined;
|
|
1425
|
+
NextToken?: string | undefined;
|
|
1410
1426
|
}
|
|
1411
1427
|
export interface ListDocumentClassifierSummariesRequest {
|
|
1412
|
-
NextToken?: string;
|
|
1413
|
-
MaxResults?: number;
|
|
1428
|
+
NextToken?: string | undefined;
|
|
1429
|
+
MaxResults?: number | undefined;
|
|
1414
1430
|
}
|
|
1415
1431
|
export interface DocumentClassifierSummary {
|
|
1416
|
-
DocumentClassifierName?: string;
|
|
1417
|
-
NumberOfVersions?: number;
|
|
1418
|
-
LatestVersionCreatedAt?: Date;
|
|
1419
|
-
LatestVersionName?: string;
|
|
1420
|
-
LatestVersionStatus?: ModelStatus;
|
|
1432
|
+
DocumentClassifierName?: string | undefined;
|
|
1433
|
+
NumberOfVersions?: number | undefined;
|
|
1434
|
+
LatestVersionCreatedAt?: Date | undefined;
|
|
1435
|
+
LatestVersionName?: string | undefined;
|
|
1436
|
+
LatestVersionStatus?: ModelStatus | undefined;
|
|
1421
1437
|
}
|
|
1422
1438
|
export interface ListDocumentClassifierSummariesResponse {
|
|
1423
|
-
DocumentClassifierSummariesList?: DocumentClassifierSummary[];
|
|
1424
|
-
NextToken?: string;
|
|
1439
|
+
DocumentClassifierSummariesList?: DocumentClassifierSummary[] | undefined;
|
|
1440
|
+
NextToken?: string | undefined;
|
|
1425
1441
|
}
|
|
1426
1442
|
export interface DominantLanguageDetectionJobFilter {
|
|
1427
|
-
JobName?: string;
|
|
1428
|
-
JobStatus?: JobStatus;
|
|
1429
|
-
SubmitTimeBefore?: Date;
|
|
1430
|
-
SubmitTimeAfter?: Date;
|
|
1443
|
+
JobName?: string | undefined;
|
|
1444
|
+
JobStatus?: JobStatus | undefined;
|
|
1445
|
+
SubmitTimeBefore?: Date | undefined;
|
|
1446
|
+
SubmitTimeAfter?: Date | undefined;
|
|
1431
1447
|
}
|
|
1432
1448
|
export interface ListDominantLanguageDetectionJobsRequest {
|
|
1433
|
-
Filter?: DominantLanguageDetectionJobFilter;
|
|
1434
|
-
NextToken?: string;
|
|
1435
|
-
MaxResults?: number;
|
|
1449
|
+
Filter?: DominantLanguageDetectionJobFilter | undefined;
|
|
1450
|
+
NextToken?: string | undefined;
|
|
1451
|
+
MaxResults?: number | undefined;
|
|
1436
1452
|
}
|
|
1437
1453
|
export interface ListDominantLanguageDetectionJobsResponse {
|
|
1438
|
-
DominantLanguageDetectionJobPropertiesList?:
|
|
1439
|
-
|
|
1454
|
+
DominantLanguageDetectionJobPropertiesList?:
|
|
1455
|
+
| DominantLanguageDetectionJobProperties[]
|
|
1456
|
+
| undefined;
|
|
1457
|
+
NextToken?: string | undefined;
|
|
1440
1458
|
}
|
|
1441
1459
|
export interface EndpointFilter {
|
|
1442
|
-
ModelArn?: string;
|
|
1443
|
-
Status?: EndpointStatus;
|
|
1444
|
-
CreationTimeBefore?: Date;
|
|
1445
|
-
CreationTimeAfter?: Date;
|
|
1460
|
+
ModelArn?: string | undefined;
|
|
1461
|
+
Status?: EndpointStatus | undefined;
|
|
1462
|
+
CreationTimeBefore?: Date | undefined;
|
|
1463
|
+
CreationTimeAfter?: Date | undefined;
|
|
1446
1464
|
}
|
|
1447
1465
|
export interface ListEndpointsRequest {
|
|
1448
|
-
Filter?: EndpointFilter;
|
|
1449
|
-
NextToken?: string;
|
|
1450
|
-
MaxResults?: number;
|
|
1466
|
+
Filter?: EndpointFilter | undefined;
|
|
1467
|
+
NextToken?: string | undefined;
|
|
1468
|
+
MaxResults?: number | undefined;
|
|
1451
1469
|
}
|
|
1452
1470
|
export interface ListEndpointsResponse {
|
|
1453
|
-
EndpointPropertiesList?: EndpointProperties[];
|
|
1454
|
-
NextToken?: string;
|
|
1471
|
+
EndpointPropertiesList?: EndpointProperties[] | undefined;
|
|
1472
|
+
NextToken?: string | undefined;
|
|
1455
1473
|
}
|
|
1456
1474
|
export interface EntitiesDetectionJobFilter {
|
|
1457
|
-
JobName?: string;
|
|
1458
|
-
JobStatus?: JobStatus;
|
|
1459
|
-
SubmitTimeBefore?: Date;
|
|
1460
|
-
SubmitTimeAfter?: Date;
|
|
1475
|
+
JobName?: string | undefined;
|
|
1476
|
+
JobStatus?: JobStatus | undefined;
|
|
1477
|
+
SubmitTimeBefore?: Date | undefined;
|
|
1478
|
+
SubmitTimeAfter?: Date | undefined;
|
|
1461
1479
|
}
|
|
1462
1480
|
export interface ListEntitiesDetectionJobsRequest {
|
|
1463
|
-
Filter?: EntitiesDetectionJobFilter;
|
|
1464
|
-
NextToken?: string;
|
|
1465
|
-
MaxResults?: number;
|
|
1481
|
+
Filter?: EntitiesDetectionJobFilter | undefined;
|
|
1482
|
+
NextToken?: string | undefined;
|
|
1483
|
+
MaxResults?: number | undefined;
|
|
1466
1484
|
}
|
|
1467
1485
|
export interface ListEntitiesDetectionJobsResponse {
|
|
1468
|
-
EntitiesDetectionJobPropertiesList?:
|
|
1469
|
-
|
|
1486
|
+
EntitiesDetectionJobPropertiesList?:
|
|
1487
|
+
| EntitiesDetectionJobProperties[]
|
|
1488
|
+
| undefined;
|
|
1489
|
+
NextToken?: string | undefined;
|
|
1470
1490
|
}
|
|
1471
1491
|
export interface EntityRecognizerFilter {
|
|
1472
|
-
Status?: ModelStatus;
|
|
1473
|
-
RecognizerName?: string;
|
|
1474
|
-
SubmitTimeBefore?: Date;
|
|
1475
|
-
SubmitTimeAfter?: Date;
|
|
1492
|
+
Status?: ModelStatus | undefined;
|
|
1493
|
+
RecognizerName?: string | undefined;
|
|
1494
|
+
SubmitTimeBefore?: Date | undefined;
|
|
1495
|
+
SubmitTimeAfter?: Date | undefined;
|
|
1476
1496
|
}
|
|
1477
1497
|
export interface ListEntityRecognizersRequest {
|
|
1478
|
-
Filter?: EntityRecognizerFilter;
|
|
1479
|
-
NextToken?: string;
|
|
1480
|
-
MaxResults?: number;
|
|
1498
|
+
Filter?: EntityRecognizerFilter | undefined;
|
|
1499
|
+
NextToken?: string | undefined;
|
|
1500
|
+
MaxResults?: number | undefined;
|
|
1481
1501
|
}
|
|
1482
1502
|
export interface ListEntityRecognizersResponse {
|
|
1483
|
-
EntityRecognizerPropertiesList?: EntityRecognizerProperties[];
|
|
1484
|
-
NextToken?: string;
|
|
1503
|
+
EntityRecognizerPropertiesList?: EntityRecognizerProperties[] | undefined;
|
|
1504
|
+
NextToken?: string | undefined;
|
|
1485
1505
|
}
|
|
1486
1506
|
export interface ListEntityRecognizerSummariesRequest {
|
|
1487
|
-
NextToken?: string;
|
|
1488
|
-
MaxResults?: number;
|
|
1507
|
+
NextToken?: string | undefined;
|
|
1508
|
+
MaxResults?: number | undefined;
|
|
1489
1509
|
}
|
|
1490
1510
|
export interface EntityRecognizerSummary {
|
|
1491
|
-
RecognizerName?: string;
|
|
1492
|
-
NumberOfVersions?: number;
|
|
1493
|
-
LatestVersionCreatedAt?: Date;
|
|
1494
|
-
LatestVersionName?: string;
|
|
1495
|
-
LatestVersionStatus?: ModelStatus;
|
|
1511
|
+
RecognizerName?: string | undefined;
|
|
1512
|
+
NumberOfVersions?: number | undefined;
|
|
1513
|
+
LatestVersionCreatedAt?: Date | undefined;
|
|
1514
|
+
LatestVersionName?: string | undefined;
|
|
1515
|
+
LatestVersionStatus?: ModelStatus | undefined;
|
|
1496
1516
|
}
|
|
1497
1517
|
export interface ListEntityRecognizerSummariesResponse {
|
|
1498
|
-
EntityRecognizerSummariesList?: EntityRecognizerSummary[];
|
|
1499
|
-
NextToken?: string;
|
|
1518
|
+
EntityRecognizerSummariesList?: EntityRecognizerSummary[] | undefined;
|
|
1519
|
+
NextToken?: string | undefined;
|
|
1500
1520
|
}
|
|
1501
1521
|
export interface EventsDetectionJobFilter {
|
|
1502
|
-
JobName?: string;
|
|
1503
|
-
JobStatus?: JobStatus;
|
|
1504
|
-
SubmitTimeBefore?: Date;
|
|
1505
|
-
SubmitTimeAfter?: Date;
|
|
1522
|
+
JobName?: string | undefined;
|
|
1523
|
+
JobStatus?: JobStatus | undefined;
|
|
1524
|
+
SubmitTimeBefore?: Date | undefined;
|
|
1525
|
+
SubmitTimeAfter?: Date | undefined;
|
|
1506
1526
|
}
|
|
1507
1527
|
export interface ListEventsDetectionJobsRequest {
|
|
1508
|
-
Filter?: EventsDetectionJobFilter;
|
|
1509
|
-
NextToken?: string;
|
|
1510
|
-
MaxResults?: number;
|
|
1528
|
+
Filter?: EventsDetectionJobFilter | undefined;
|
|
1529
|
+
NextToken?: string | undefined;
|
|
1530
|
+
MaxResults?: number | undefined;
|
|
1511
1531
|
}
|
|
1512
1532
|
export interface ListEventsDetectionJobsResponse {
|
|
1513
|
-
EventsDetectionJobPropertiesList?: EventsDetectionJobProperties[];
|
|
1514
|
-
NextToken?: string;
|
|
1533
|
+
EventsDetectionJobPropertiesList?: EventsDetectionJobProperties[] | undefined;
|
|
1534
|
+
NextToken?: string | undefined;
|
|
1515
1535
|
}
|
|
1516
1536
|
export interface FlywheelIterationFilter {
|
|
1517
|
-
CreationTimeAfter?: Date;
|
|
1518
|
-
CreationTimeBefore?: Date;
|
|
1537
|
+
CreationTimeAfter?: Date | undefined;
|
|
1538
|
+
CreationTimeBefore?: Date | undefined;
|
|
1519
1539
|
}
|
|
1520
1540
|
export interface ListFlywheelIterationHistoryRequest {
|
|
1521
1541
|
FlywheelArn: string | undefined;
|
|
1522
|
-
Filter?: FlywheelIterationFilter;
|
|
1523
|
-
NextToken?: string;
|
|
1524
|
-
MaxResults?: number;
|
|
1542
|
+
Filter?: FlywheelIterationFilter | undefined;
|
|
1543
|
+
NextToken?: string | undefined;
|
|
1544
|
+
MaxResults?: number | undefined;
|
|
1525
1545
|
}
|
|
1526
1546
|
export interface ListFlywheelIterationHistoryResponse {
|
|
1527
|
-
FlywheelIterationPropertiesList?: FlywheelIterationProperties[];
|
|
1528
|
-
NextToken?: string;
|
|
1547
|
+
FlywheelIterationPropertiesList?: FlywheelIterationProperties[] | undefined;
|
|
1548
|
+
NextToken?: string | undefined;
|
|
1529
1549
|
}
|
|
1530
1550
|
export interface FlywheelFilter {
|
|
1531
|
-
Status?: FlywheelStatus;
|
|
1532
|
-
CreationTimeAfter?: Date;
|
|
1533
|
-
CreationTimeBefore?: Date;
|
|
1551
|
+
Status?: FlywheelStatus | undefined;
|
|
1552
|
+
CreationTimeAfter?: Date | undefined;
|
|
1553
|
+
CreationTimeBefore?: Date | undefined;
|
|
1534
1554
|
}
|
|
1535
1555
|
export interface ListFlywheelsRequest {
|
|
1536
|
-
Filter?: FlywheelFilter;
|
|
1537
|
-
NextToken?: string;
|
|
1538
|
-
MaxResults?: number;
|
|
1556
|
+
Filter?: FlywheelFilter | undefined;
|
|
1557
|
+
NextToken?: string | undefined;
|
|
1558
|
+
MaxResults?: number | undefined;
|
|
1539
1559
|
}
|
|
1540
1560
|
export interface FlywheelSummary {
|
|
1541
|
-
FlywheelArn?: string;
|
|
1542
|
-
ActiveModelArn?: string;
|
|
1543
|
-
DataLakeS3Uri?: string;
|
|
1544
|
-
Status?: FlywheelStatus;
|
|
1545
|
-
ModelType?: ModelType;
|
|
1546
|
-
Message?: string;
|
|
1547
|
-
CreationTime?: Date;
|
|
1548
|
-
LastModifiedTime?: Date;
|
|
1549
|
-
LatestFlywheelIteration?: string;
|
|
1561
|
+
FlywheelArn?: string | undefined;
|
|
1562
|
+
ActiveModelArn?: string | undefined;
|
|
1563
|
+
DataLakeS3Uri?: string | undefined;
|
|
1564
|
+
Status?: FlywheelStatus | undefined;
|
|
1565
|
+
ModelType?: ModelType | undefined;
|
|
1566
|
+
Message?: string | undefined;
|
|
1567
|
+
CreationTime?: Date | undefined;
|
|
1568
|
+
LastModifiedTime?: Date | undefined;
|
|
1569
|
+
LatestFlywheelIteration?: string | undefined;
|
|
1550
1570
|
}
|
|
1551
1571
|
export interface ListFlywheelsResponse {
|
|
1552
|
-
FlywheelSummaryList?: FlywheelSummary[];
|
|
1553
|
-
NextToken?: string;
|
|
1572
|
+
FlywheelSummaryList?: FlywheelSummary[] | undefined;
|
|
1573
|
+
NextToken?: string | undefined;
|
|
1554
1574
|
}
|
|
1555
1575
|
export interface KeyPhrasesDetectionJobFilter {
|
|
1556
|
-
JobName?: string;
|
|
1557
|
-
JobStatus?: JobStatus;
|
|
1558
|
-
SubmitTimeBefore?: Date;
|
|
1559
|
-
SubmitTimeAfter?: Date;
|
|
1576
|
+
JobName?: string | undefined;
|
|
1577
|
+
JobStatus?: JobStatus | undefined;
|
|
1578
|
+
SubmitTimeBefore?: Date | undefined;
|
|
1579
|
+
SubmitTimeAfter?: Date | undefined;
|
|
1560
1580
|
}
|
|
1561
1581
|
export interface ListKeyPhrasesDetectionJobsRequest {
|
|
1562
|
-
Filter?: KeyPhrasesDetectionJobFilter;
|
|
1563
|
-
NextToken?: string;
|
|
1564
|
-
MaxResults?: number;
|
|
1582
|
+
Filter?: KeyPhrasesDetectionJobFilter | undefined;
|
|
1583
|
+
NextToken?: string | undefined;
|
|
1584
|
+
MaxResults?: number | undefined;
|
|
1565
1585
|
}
|
|
1566
1586
|
export interface ListKeyPhrasesDetectionJobsResponse {
|
|
1567
|
-
KeyPhrasesDetectionJobPropertiesList?:
|
|
1568
|
-
|
|
1587
|
+
KeyPhrasesDetectionJobPropertiesList?:
|
|
1588
|
+
| KeyPhrasesDetectionJobProperties[]
|
|
1589
|
+
| undefined;
|
|
1590
|
+
NextToken?: string | undefined;
|
|
1569
1591
|
}
|
|
1570
1592
|
export interface PiiEntitiesDetectionJobFilter {
|
|
1571
|
-
JobName?: string;
|
|
1572
|
-
JobStatus?: JobStatus;
|
|
1573
|
-
SubmitTimeBefore?: Date;
|
|
1574
|
-
SubmitTimeAfter?: Date;
|
|
1593
|
+
JobName?: string | undefined;
|
|
1594
|
+
JobStatus?: JobStatus | undefined;
|
|
1595
|
+
SubmitTimeBefore?: Date | undefined;
|
|
1596
|
+
SubmitTimeAfter?: Date | undefined;
|
|
1575
1597
|
}
|
|
1576
1598
|
export interface ListPiiEntitiesDetectionJobsRequest {
|
|
1577
|
-
Filter?: PiiEntitiesDetectionJobFilter;
|
|
1578
|
-
NextToken?: string;
|
|
1579
|
-
MaxResults?: number;
|
|
1599
|
+
Filter?: PiiEntitiesDetectionJobFilter | undefined;
|
|
1600
|
+
NextToken?: string | undefined;
|
|
1601
|
+
MaxResults?: number | undefined;
|
|
1580
1602
|
}
|
|
1581
1603
|
export interface ListPiiEntitiesDetectionJobsResponse {
|
|
1582
|
-
PiiEntitiesDetectionJobPropertiesList?:
|
|
1583
|
-
|
|
1604
|
+
PiiEntitiesDetectionJobPropertiesList?:
|
|
1605
|
+
| PiiEntitiesDetectionJobProperties[]
|
|
1606
|
+
| undefined;
|
|
1607
|
+
NextToken?: string | undefined;
|
|
1584
1608
|
}
|
|
1585
1609
|
export interface SentimentDetectionJobFilter {
|
|
1586
|
-
JobName?: string;
|
|
1587
|
-
JobStatus?: JobStatus;
|
|
1588
|
-
SubmitTimeBefore?: Date;
|
|
1589
|
-
SubmitTimeAfter?: Date;
|
|
1610
|
+
JobName?: string | undefined;
|
|
1611
|
+
JobStatus?: JobStatus | undefined;
|
|
1612
|
+
SubmitTimeBefore?: Date | undefined;
|
|
1613
|
+
SubmitTimeAfter?: Date | undefined;
|
|
1590
1614
|
}
|
|
1591
1615
|
export interface ListSentimentDetectionJobsRequest {
|
|
1592
|
-
Filter?: SentimentDetectionJobFilter;
|
|
1593
|
-
NextToken?: string;
|
|
1594
|
-
MaxResults?: number;
|
|
1616
|
+
Filter?: SentimentDetectionJobFilter | undefined;
|
|
1617
|
+
NextToken?: string | undefined;
|
|
1618
|
+
MaxResults?: number | undefined;
|
|
1595
1619
|
}
|
|
1596
1620
|
export interface ListSentimentDetectionJobsResponse {
|
|
1597
|
-
SentimentDetectionJobPropertiesList?:
|
|
1598
|
-
|
|
1621
|
+
SentimentDetectionJobPropertiesList?:
|
|
1622
|
+
| SentimentDetectionJobProperties[]
|
|
1623
|
+
| undefined;
|
|
1624
|
+
NextToken?: string | undefined;
|
|
1599
1625
|
}
|
|
1600
1626
|
export interface ListTagsForResourceRequest {
|
|
1601
1627
|
ResourceArn: string | undefined;
|
|
1602
1628
|
}
|
|
1603
1629
|
export interface ListTagsForResourceResponse {
|
|
1604
|
-
ResourceArn?: string;
|
|
1605
|
-
Tags?: Tag[];
|
|
1630
|
+
ResourceArn?: string | undefined;
|
|
1631
|
+
Tags?: Tag[] | undefined;
|
|
1606
1632
|
}
|
|
1607
1633
|
export interface TargetedSentimentDetectionJobFilter {
|
|
1608
|
-
JobName?: string;
|
|
1609
|
-
JobStatus?: JobStatus;
|
|
1610
|
-
SubmitTimeBefore?: Date;
|
|
1611
|
-
SubmitTimeAfter?: Date;
|
|
1634
|
+
JobName?: string | undefined;
|
|
1635
|
+
JobStatus?: JobStatus | undefined;
|
|
1636
|
+
SubmitTimeBefore?: Date | undefined;
|
|
1637
|
+
SubmitTimeAfter?: Date | undefined;
|
|
1612
1638
|
}
|
|
1613
1639
|
export interface ListTargetedSentimentDetectionJobsRequest {
|
|
1614
|
-
Filter?: TargetedSentimentDetectionJobFilter;
|
|
1615
|
-
NextToken?: string;
|
|
1616
|
-
MaxResults?: number;
|
|
1640
|
+
Filter?: TargetedSentimentDetectionJobFilter | undefined;
|
|
1641
|
+
NextToken?: string | undefined;
|
|
1642
|
+
MaxResults?: number | undefined;
|
|
1617
1643
|
}
|
|
1618
1644
|
export interface ListTargetedSentimentDetectionJobsResponse {
|
|
1619
|
-
TargetedSentimentDetectionJobPropertiesList?:
|
|
1620
|
-
|
|
1645
|
+
TargetedSentimentDetectionJobPropertiesList?:
|
|
1646
|
+
| TargetedSentimentDetectionJobProperties[]
|
|
1647
|
+
| undefined;
|
|
1648
|
+
NextToken?: string | undefined;
|
|
1621
1649
|
}
|
|
1622
1650
|
export interface TopicsDetectionJobFilter {
|
|
1623
|
-
JobName?: string;
|
|
1624
|
-
JobStatus?: JobStatus;
|
|
1625
|
-
SubmitTimeBefore?: Date;
|
|
1626
|
-
SubmitTimeAfter?: Date;
|
|
1651
|
+
JobName?: string | undefined;
|
|
1652
|
+
JobStatus?: JobStatus | undefined;
|
|
1653
|
+
SubmitTimeBefore?: Date | undefined;
|
|
1654
|
+
SubmitTimeAfter?: Date | undefined;
|
|
1627
1655
|
}
|
|
1628
1656
|
export interface ListTopicsDetectionJobsRequest {
|
|
1629
|
-
Filter?: TopicsDetectionJobFilter;
|
|
1630
|
-
NextToken?: string;
|
|
1631
|
-
MaxResults?: number;
|
|
1657
|
+
Filter?: TopicsDetectionJobFilter | undefined;
|
|
1658
|
+
NextToken?: string | undefined;
|
|
1659
|
+
MaxResults?: number | undefined;
|
|
1632
1660
|
}
|
|
1633
1661
|
export interface ListTopicsDetectionJobsResponse {
|
|
1634
|
-
TopicsDetectionJobPropertiesList?: TopicsDetectionJobProperties[];
|
|
1635
|
-
NextToken?: string;
|
|
1662
|
+
TopicsDetectionJobPropertiesList?: TopicsDetectionJobProperties[] | undefined;
|
|
1663
|
+
NextToken?: string | undefined;
|
|
1636
1664
|
}
|
|
1637
1665
|
export interface PutResourcePolicyRequest {
|
|
1638
1666
|
ResourceArn: string | undefined;
|
|
1639
1667
|
ResourcePolicy: string | undefined;
|
|
1640
|
-
PolicyRevisionId?: string;
|
|
1668
|
+
PolicyRevisionId?: string | undefined;
|
|
1641
1669
|
}
|
|
1642
1670
|
export interface PutResourcePolicyResponse {
|
|
1643
|
-
PolicyRevisionId?: string;
|
|
1671
|
+
PolicyRevisionId?: string | undefined;
|
|
1644
1672
|
}
|
|
1645
1673
|
export interface StartDocumentClassificationJobRequest {
|
|
1646
|
-
JobName?: string;
|
|
1647
|
-
DocumentClassifierArn?: string;
|
|
1674
|
+
JobName?: string | undefined;
|
|
1675
|
+
DocumentClassifierArn?: string | undefined;
|
|
1648
1676
|
InputDataConfig: InputDataConfig | undefined;
|
|
1649
1677
|
OutputDataConfig: OutputDataConfig | undefined;
|
|
1650
1678
|
DataAccessRoleArn: string | undefined;
|
|
1651
|
-
ClientRequestToken?: string;
|
|
1652
|
-
VolumeKmsKeyId?: string;
|
|
1653
|
-
VpcConfig?: VpcConfig;
|
|
1654
|
-
Tags?: Tag[];
|
|
1655
|
-
FlywheelArn?: string;
|
|
1679
|
+
ClientRequestToken?: string | undefined;
|
|
1680
|
+
VolumeKmsKeyId?: string | undefined;
|
|
1681
|
+
VpcConfig?: VpcConfig | undefined;
|
|
1682
|
+
Tags?: Tag[] | undefined;
|
|
1683
|
+
FlywheelArn?: string | undefined;
|
|
1656
1684
|
}
|
|
1657
1685
|
export interface StartDocumentClassificationJobResponse {
|
|
1658
|
-
JobId?: string;
|
|
1659
|
-
JobArn?: string;
|
|
1660
|
-
JobStatus?: JobStatus;
|
|
1661
|
-
DocumentClassifierArn?: string;
|
|
1686
|
+
JobId?: string | undefined;
|
|
1687
|
+
JobArn?: string | undefined;
|
|
1688
|
+
JobStatus?: JobStatus | undefined;
|
|
1689
|
+
DocumentClassifierArn?: string | undefined;
|
|
1662
1690
|
}
|
|
1663
1691
|
export interface StartDominantLanguageDetectionJobRequest {
|
|
1664
1692
|
InputDataConfig: InputDataConfig | undefined;
|
|
1665
1693
|
OutputDataConfig: OutputDataConfig | undefined;
|
|
1666
1694
|
DataAccessRoleArn: string | undefined;
|
|
1667
|
-
JobName?: string;
|
|
1668
|
-
ClientRequestToken?: string;
|
|
1669
|
-
VolumeKmsKeyId?: string;
|
|
1670
|
-
VpcConfig?: VpcConfig;
|
|
1671
|
-
Tags?: Tag[];
|
|
1695
|
+
JobName?: string | undefined;
|
|
1696
|
+
ClientRequestToken?: string | undefined;
|
|
1697
|
+
VolumeKmsKeyId?: string | undefined;
|
|
1698
|
+
VpcConfig?: VpcConfig | undefined;
|
|
1699
|
+
Tags?: Tag[] | undefined;
|
|
1672
1700
|
}
|
|
1673
1701
|
export interface StartDominantLanguageDetectionJobResponse {
|
|
1674
|
-
JobId?: string;
|
|
1675
|
-
JobArn?: string;
|
|
1676
|
-
JobStatus?: JobStatus;
|
|
1702
|
+
JobId?: string | undefined;
|
|
1703
|
+
JobArn?: string | undefined;
|
|
1704
|
+
JobStatus?: JobStatus | undefined;
|
|
1677
1705
|
}
|
|
1678
1706
|
export interface StartEntitiesDetectionJobRequest {
|
|
1679
1707
|
InputDataConfig: InputDataConfig | undefined;
|
|
1680
1708
|
OutputDataConfig: OutputDataConfig | undefined;
|
|
1681
1709
|
DataAccessRoleArn: string | undefined;
|
|
1682
|
-
JobName?: string;
|
|
1683
|
-
EntityRecognizerArn?: string;
|
|
1710
|
+
JobName?: string | undefined;
|
|
1711
|
+
EntityRecognizerArn?: string | undefined;
|
|
1684
1712
|
LanguageCode: LanguageCode | undefined;
|
|
1685
|
-
ClientRequestToken?: string;
|
|
1686
|
-
VolumeKmsKeyId?: string;
|
|
1687
|
-
VpcConfig?: VpcConfig;
|
|
1688
|
-
Tags?: Tag[];
|
|
1689
|
-
FlywheelArn?: string;
|
|
1713
|
+
ClientRequestToken?: string | undefined;
|
|
1714
|
+
VolumeKmsKeyId?: string | undefined;
|
|
1715
|
+
VpcConfig?: VpcConfig | undefined;
|
|
1716
|
+
Tags?: Tag[] | undefined;
|
|
1717
|
+
FlywheelArn?: string | undefined;
|
|
1690
1718
|
}
|
|
1691
1719
|
export interface StartEntitiesDetectionJobResponse {
|
|
1692
|
-
JobId?: string;
|
|
1693
|
-
JobArn?: string;
|
|
1694
|
-
JobStatus?: JobStatus;
|
|
1695
|
-
EntityRecognizerArn?: string;
|
|
1720
|
+
JobId?: string | undefined;
|
|
1721
|
+
JobArn?: string | undefined;
|
|
1722
|
+
JobStatus?: JobStatus | undefined;
|
|
1723
|
+
EntityRecognizerArn?: string | undefined;
|
|
1696
1724
|
}
|
|
1697
1725
|
export interface StartEventsDetectionJobRequest {
|
|
1698
1726
|
InputDataConfig: InputDataConfig | undefined;
|
|
1699
1727
|
OutputDataConfig: OutputDataConfig | undefined;
|
|
1700
1728
|
DataAccessRoleArn: string | undefined;
|
|
1701
|
-
JobName?: string;
|
|
1729
|
+
JobName?: string | undefined;
|
|
1702
1730
|
LanguageCode: LanguageCode | undefined;
|
|
1703
|
-
ClientRequestToken?: string;
|
|
1731
|
+
ClientRequestToken?: string | undefined;
|
|
1704
1732
|
TargetEventTypes: string[] | undefined;
|
|
1705
|
-
Tags?: Tag[];
|
|
1733
|
+
Tags?: Tag[] | undefined;
|
|
1706
1734
|
}
|
|
1707
1735
|
export interface StartEventsDetectionJobResponse {
|
|
1708
|
-
JobId?: string;
|
|
1709
|
-
JobArn?: string;
|
|
1710
|
-
JobStatus?: JobStatus;
|
|
1736
|
+
JobId?: string | undefined;
|
|
1737
|
+
JobArn?: string | undefined;
|
|
1738
|
+
JobStatus?: JobStatus | undefined;
|
|
1711
1739
|
}
|
|
1712
1740
|
export interface StartFlywheelIterationRequest {
|
|
1713
1741
|
FlywheelArn: string | undefined;
|
|
1714
|
-
ClientRequestToken?: string;
|
|
1742
|
+
ClientRequestToken?: string | undefined;
|
|
1715
1743
|
}
|
|
1716
1744
|
export interface StartFlywheelIterationResponse {
|
|
1717
|
-
FlywheelArn?: string;
|
|
1718
|
-
FlywheelIterationId?: string;
|
|
1745
|
+
FlywheelArn?: string | undefined;
|
|
1746
|
+
FlywheelIterationId?: string | undefined;
|
|
1719
1747
|
}
|
|
1720
1748
|
export interface StartKeyPhrasesDetectionJobRequest {
|
|
1721
1749
|
InputDataConfig: InputDataConfig | undefined;
|
|
1722
1750
|
OutputDataConfig: OutputDataConfig | undefined;
|
|
1723
1751
|
DataAccessRoleArn: string | undefined;
|
|
1724
|
-
JobName?: string;
|
|
1752
|
+
JobName?: string | undefined;
|
|
1725
1753
|
LanguageCode: LanguageCode | undefined;
|
|
1726
|
-
ClientRequestToken?: string;
|
|
1727
|
-
VolumeKmsKeyId?: string;
|
|
1728
|
-
VpcConfig?: VpcConfig;
|
|
1729
|
-
Tags?: Tag[];
|
|
1754
|
+
ClientRequestToken?: string | undefined;
|
|
1755
|
+
VolumeKmsKeyId?: string | undefined;
|
|
1756
|
+
VpcConfig?: VpcConfig | undefined;
|
|
1757
|
+
Tags?: Tag[] | undefined;
|
|
1730
1758
|
}
|
|
1731
1759
|
export interface StartKeyPhrasesDetectionJobResponse {
|
|
1732
|
-
JobId?: string;
|
|
1733
|
-
JobArn?: string;
|
|
1734
|
-
JobStatus?: JobStatus;
|
|
1760
|
+
JobId?: string | undefined;
|
|
1761
|
+
JobArn?: string | undefined;
|
|
1762
|
+
JobStatus?: JobStatus | undefined;
|
|
1735
1763
|
}
|
|
1736
1764
|
export interface StartPiiEntitiesDetectionJobRequest {
|
|
1737
1765
|
InputDataConfig: InputDataConfig | undefined;
|
|
1738
1766
|
OutputDataConfig: OutputDataConfig | undefined;
|
|
1739
1767
|
Mode: PiiEntitiesDetectionMode | undefined;
|
|
1740
|
-
RedactionConfig?: RedactionConfig;
|
|
1768
|
+
RedactionConfig?: RedactionConfig | undefined;
|
|
1741
1769
|
DataAccessRoleArn: string | undefined;
|
|
1742
|
-
JobName?: string;
|
|
1770
|
+
JobName?: string | undefined;
|
|
1743
1771
|
LanguageCode: LanguageCode | undefined;
|
|
1744
|
-
ClientRequestToken?: string;
|
|
1745
|
-
Tags?: Tag[];
|
|
1772
|
+
ClientRequestToken?: string | undefined;
|
|
1773
|
+
Tags?: Tag[] | undefined;
|
|
1746
1774
|
}
|
|
1747
1775
|
export interface StartPiiEntitiesDetectionJobResponse {
|
|
1748
|
-
JobId?: string;
|
|
1749
|
-
JobArn?: string;
|
|
1750
|
-
JobStatus?: JobStatus;
|
|
1776
|
+
JobId?: string | undefined;
|
|
1777
|
+
JobArn?: string | undefined;
|
|
1778
|
+
JobStatus?: JobStatus | undefined;
|
|
1751
1779
|
}
|
|
1752
1780
|
export interface StartSentimentDetectionJobRequest {
|
|
1753
1781
|
InputDataConfig: InputDataConfig | undefined;
|
|
1754
1782
|
OutputDataConfig: OutputDataConfig | undefined;
|
|
1755
1783
|
DataAccessRoleArn: string | undefined;
|
|
1756
|
-
JobName?: string;
|
|
1784
|
+
JobName?: string | undefined;
|
|
1757
1785
|
LanguageCode: LanguageCode | undefined;
|
|
1758
|
-
ClientRequestToken?: string;
|
|
1759
|
-
VolumeKmsKeyId?: string;
|
|
1760
|
-
VpcConfig?: VpcConfig;
|
|
1761
|
-
Tags?: Tag[];
|
|
1786
|
+
ClientRequestToken?: string | undefined;
|
|
1787
|
+
VolumeKmsKeyId?: string | undefined;
|
|
1788
|
+
VpcConfig?: VpcConfig | undefined;
|
|
1789
|
+
Tags?: Tag[] | undefined;
|
|
1762
1790
|
}
|
|
1763
1791
|
export interface StartSentimentDetectionJobResponse {
|
|
1764
|
-
JobId?: string;
|
|
1765
|
-
JobArn?: string;
|
|
1766
|
-
JobStatus?: JobStatus;
|
|
1792
|
+
JobId?: string | undefined;
|
|
1793
|
+
JobArn?: string | undefined;
|
|
1794
|
+
JobStatus?: JobStatus | undefined;
|
|
1767
1795
|
}
|
|
1768
1796
|
export interface StartTargetedSentimentDetectionJobRequest {
|
|
1769
1797
|
InputDataConfig: InputDataConfig | undefined;
|
|
1770
1798
|
OutputDataConfig: OutputDataConfig | undefined;
|
|
1771
1799
|
DataAccessRoleArn: string | undefined;
|
|
1772
|
-
JobName?: string;
|
|
1800
|
+
JobName?: string | undefined;
|
|
1773
1801
|
LanguageCode: LanguageCode | undefined;
|
|
1774
|
-
ClientRequestToken?: string;
|
|
1775
|
-
VolumeKmsKeyId?: string;
|
|
1776
|
-
VpcConfig?: VpcConfig;
|
|
1777
|
-
Tags?: Tag[];
|
|
1802
|
+
ClientRequestToken?: string | undefined;
|
|
1803
|
+
VolumeKmsKeyId?: string | undefined;
|
|
1804
|
+
VpcConfig?: VpcConfig | undefined;
|
|
1805
|
+
Tags?: Tag[] | undefined;
|
|
1778
1806
|
}
|
|
1779
1807
|
export interface StartTargetedSentimentDetectionJobResponse {
|
|
1780
|
-
JobId?: string;
|
|
1781
|
-
JobArn?: string;
|
|
1782
|
-
JobStatus?: JobStatus;
|
|
1808
|
+
JobId?: string | undefined;
|
|
1809
|
+
JobArn?: string | undefined;
|
|
1810
|
+
JobStatus?: JobStatus | undefined;
|
|
1783
1811
|
}
|
|
1784
1812
|
export interface StartTopicsDetectionJobRequest {
|
|
1785
1813
|
InputDataConfig: InputDataConfig | undefined;
|
|
1786
1814
|
OutputDataConfig: OutputDataConfig | undefined;
|
|
1787
1815
|
DataAccessRoleArn: string | undefined;
|
|
1788
|
-
JobName?: string;
|
|
1789
|
-
NumberOfTopics?: number;
|
|
1790
|
-
ClientRequestToken?: string;
|
|
1791
|
-
VolumeKmsKeyId?: string;
|
|
1792
|
-
VpcConfig?: VpcConfig;
|
|
1793
|
-
Tags?: Tag[];
|
|
1816
|
+
JobName?: string | undefined;
|
|
1817
|
+
NumberOfTopics?: number | undefined;
|
|
1818
|
+
ClientRequestToken?: string | undefined;
|
|
1819
|
+
VolumeKmsKeyId?: string | undefined;
|
|
1820
|
+
VpcConfig?: VpcConfig | undefined;
|
|
1821
|
+
Tags?: Tag[] | undefined;
|
|
1794
1822
|
}
|
|
1795
1823
|
export interface StartTopicsDetectionJobResponse {
|
|
1796
|
-
JobId?: string;
|
|
1797
|
-
JobArn?: string;
|
|
1798
|
-
JobStatus?: JobStatus;
|
|
1824
|
+
JobId?: string | undefined;
|
|
1825
|
+
JobArn?: string | undefined;
|
|
1826
|
+
JobStatus?: JobStatus | undefined;
|
|
1799
1827
|
}
|
|
1800
1828
|
export interface StopDominantLanguageDetectionJobRequest {
|
|
1801
1829
|
JobId: string | undefined;
|
|
1802
1830
|
}
|
|
1803
1831
|
export interface StopDominantLanguageDetectionJobResponse {
|
|
1804
|
-
JobId?: string;
|
|
1805
|
-
JobStatus?: JobStatus;
|
|
1832
|
+
JobId?: string | undefined;
|
|
1833
|
+
JobStatus?: JobStatus | undefined;
|
|
1806
1834
|
}
|
|
1807
1835
|
export declare const BatchDetectDominantLanguageRequestFilterSensitiveLog: (
|
|
1808
1836
|
obj: BatchDetectDominantLanguageRequest
|