@aws-sdk/client-textract 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.
- package/dist-types/models/models_0.d.ts +293 -293
- package/dist-types/ts3.4/models/models_0.d.ts +296 -293
- package/package.json +7 -7
|
@@ -6,15 +6,15 @@ import { TextractServiceException as __BaseException } from "./TextractServiceEx
|
|
|
6
6
|
export declare class AccessDeniedException extends __BaseException {
|
|
7
7
|
readonly name: "AccessDeniedException";
|
|
8
8
|
readonly $fault: "client";
|
|
9
|
-
Message?: string;
|
|
10
|
-
Code?: string;
|
|
9
|
+
Message?: string | undefined;
|
|
10
|
+
Code?: string | undefined;
|
|
11
11
|
constructor(
|
|
12
12
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
13
13
|
);
|
|
14
14
|
}
|
|
15
15
|
export interface Adapter {
|
|
16
16
|
AdapterId: string | undefined;
|
|
17
|
-
Pages?: string[];
|
|
17
|
+
Pages?: string[] | undefined;
|
|
18
18
|
Version: string | undefined;
|
|
19
19
|
}
|
|
20
20
|
export declare const FeatureType: {
|
|
@@ -26,31 +26,31 @@ export declare const FeatureType: {
|
|
|
26
26
|
};
|
|
27
27
|
export type FeatureType = (typeof FeatureType)[keyof typeof FeatureType];
|
|
28
28
|
export interface AdapterOverview {
|
|
29
|
-
AdapterId?: string;
|
|
30
|
-
AdapterName?: string;
|
|
31
|
-
CreationTime?: Date;
|
|
32
|
-
FeatureTypes?: FeatureType[];
|
|
29
|
+
AdapterId?: string | undefined;
|
|
30
|
+
AdapterName?: string | undefined;
|
|
31
|
+
CreationTime?: Date | undefined;
|
|
32
|
+
FeatureTypes?: FeatureType[] | undefined;
|
|
33
33
|
}
|
|
34
34
|
export interface AdaptersConfig {
|
|
35
35
|
Adapters: Adapter[] | undefined;
|
|
36
36
|
}
|
|
37
37
|
export interface S3Object {
|
|
38
|
-
Bucket?: string;
|
|
39
|
-
Name?: string;
|
|
40
|
-
Version?: string;
|
|
38
|
+
Bucket?: string | undefined;
|
|
39
|
+
Name?: string | undefined;
|
|
40
|
+
Version?: string | undefined;
|
|
41
41
|
}
|
|
42
42
|
export interface AdapterVersionDatasetConfig {
|
|
43
|
-
ManifestS3Object?: S3Object;
|
|
43
|
+
ManifestS3Object?: S3Object | undefined;
|
|
44
44
|
}
|
|
45
45
|
export interface EvaluationMetric {
|
|
46
|
-
F1Score?: number;
|
|
47
|
-
Precision?: number;
|
|
48
|
-
Recall?: number;
|
|
46
|
+
F1Score?: number | undefined;
|
|
47
|
+
Precision?: number | undefined;
|
|
48
|
+
Recall?: number | undefined;
|
|
49
49
|
}
|
|
50
50
|
export interface AdapterVersionEvaluationMetric {
|
|
51
|
-
Baseline?: EvaluationMetric;
|
|
52
|
-
AdapterVersion?: EvaluationMetric;
|
|
53
|
-
FeatureType?: FeatureType;
|
|
51
|
+
Baseline?: EvaluationMetric | undefined;
|
|
52
|
+
AdapterVersion?: EvaluationMetric | undefined;
|
|
53
|
+
FeatureType?: FeatureType | undefined;
|
|
54
54
|
}
|
|
55
55
|
export declare const AdapterVersionStatus: {
|
|
56
56
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -62,16 +62,16 @@ export declare const AdapterVersionStatus: {
|
|
|
62
62
|
export type AdapterVersionStatus =
|
|
63
63
|
(typeof AdapterVersionStatus)[keyof typeof AdapterVersionStatus];
|
|
64
64
|
export interface AdapterVersionOverview {
|
|
65
|
-
AdapterId?: string;
|
|
66
|
-
AdapterVersion?: string;
|
|
67
|
-
CreationTime?: Date;
|
|
68
|
-
FeatureTypes?: FeatureType[];
|
|
69
|
-
Status?: AdapterVersionStatus;
|
|
70
|
-
StatusMessage?: string;
|
|
65
|
+
AdapterId?: string | undefined;
|
|
66
|
+
AdapterVersion?: string | undefined;
|
|
67
|
+
CreationTime?: Date | undefined;
|
|
68
|
+
FeatureTypes?: FeatureType[] | undefined;
|
|
69
|
+
Status?: AdapterVersionStatus | undefined;
|
|
70
|
+
StatusMessage?: string | undefined;
|
|
71
71
|
}
|
|
72
72
|
export interface Document {
|
|
73
|
-
Bytes?: Uint8Array;
|
|
74
|
-
S3Object?: S3Object;
|
|
73
|
+
Bytes?: Uint8Array | undefined;
|
|
74
|
+
S3Object?: S3Object | undefined;
|
|
75
75
|
}
|
|
76
76
|
export declare const ContentClassifier: {
|
|
77
77
|
readonly FREE_OF_ADULT_CONTENT: "FreeOfAdultContent";
|
|
@@ -80,17 +80,17 @@ export declare const ContentClassifier: {
|
|
|
80
80
|
export type ContentClassifier =
|
|
81
81
|
(typeof ContentClassifier)[keyof typeof ContentClassifier];
|
|
82
82
|
export interface HumanLoopDataAttributes {
|
|
83
|
-
ContentClassifiers?: ContentClassifier[];
|
|
83
|
+
ContentClassifiers?: ContentClassifier[] | undefined;
|
|
84
84
|
}
|
|
85
85
|
export interface HumanLoopConfig {
|
|
86
86
|
HumanLoopName: string | undefined;
|
|
87
87
|
FlowDefinitionArn: string | undefined;
|
|
88
|
-
DataAttributes?: HumanLoopDataAttributes;
|
|
88
|
+
DataAttributes?: HumanLoopDataAttributes | undefined;
|
|
89
89
|
}
|
|
90
90
|
export interface Query {
|
|
91
91
|
Text: string | undefined;
|
|
92
|
-
Alias?: string;
|
|
93
|
-
Pages?: string[];
|
|
92
|
+
Alias?: string | undefined;
|
|
93
|
+
Pages?: string[] | undefined;
|
|
94
94
|
}
|
|
95
95
|
export interface QueriesConfig {
|
|
96
96
|
Queries: Query[] | undefined;
|
|
@@ -98,9 +98,9 @@ export interface QueriesConfig {
|
|
|
98
98
|
export interface AnalyzeDocumentRequest {
|
|
99
99
|
Document: Document | undefined;
|
|
100
100
|
FeatureTypes: FeatureType[] | undefined;
|
|
101
|
-
HumanLoopConfig?: HumanLoopConfig;
|
|
102
|
-
QueriesConfig?: QueriesConfig;
|
|
103
|
-
AdaptersConfig?: AdaptersConfig;
|
|
101
|
+
HumanLoopConfig?: HumanLoopConfig | undefined;
|
|
102
|
+
QueriesConfig?: QueriesConfig | undefined;
|
|
103
|
+
AdaptersConfig?: AdaptersConfig | undefined;
|
|
104
104
|
}
|
|
105
105
|
export declare const BlockType: {
|
|
106
106
|
readonly CELL: "CELL";
|
|
@@ -142,18 +142,18 @@ export declare const EntityType: {
|
|
|
142
142
|
};
|
|
143
143
|
export type EntityType = (typeof EntityType)[keyof typeof EntityType];
|
|
144
144
|
export interface BoundingBox {
|
|
145
|
-
Width?: number;
|
|
146
|
-
Height?: number;
|
|
147
|
-
Left?: number;
|
|
148
|
-
Top?: number;
|
|
145
|
+
Width?: number | undefined;
|
|
146
|
+
Height?: number | undefined;
|
|
147
|
+
Left?: number | undefined;
|
|
148
|
+
Top?: number | undefined;
|
|
149
149
|
}
|
|
150
150
|
export interface Point {
|
|
151
|
-
X?: number;
|
|
152
|
-
Y?: number;
|
|
151
|
+
X?: number | undefined;
|
|
152
|
+
Y?: number | undefined;
|
|
153
153
|
}
|
|
154
154
|
export interface Geometry {
|
|
155
|
-
BoundingBox?: BoundingBox;
|
|
156
|
-
Polygon?: Point[];
|
|
155
|
+
BoundingBox?: BoundingBox | undefined;
|
|
156
|
+
Polygon?: Point[] | undefined;
|
|
157
157
|
}
|
|
158
158
|
export declare const RelationshipType: {
|
|
159
159
|
readonly ANSWER: "ANSWER";
|
|
@@ -169,8 +169,8 @@ export declare const RelationshipType: {
|
|
|
169
169
|
export type RelationshipType =
|
|
170
170
|
(typeof RelationshipType)[keyof typeof RelationshipType];
|
|
171
171
|
export interface Relationship {
|
|
172
|
-
Type?: RelationshipType;
|
|
173
|
-
Ids?: string[];
|
|
172
|
+
Type?: RelationshipType | undefined;
|
|
173
|
+
Ids?: string[] | undefined;
|
|
174
174
|
}
|
|
175
175
|
export declare const SelectionStatus: {
|
|
176
176
|
readonly NOT_SELECTED: "NOT_SELECTED";
|
|
@@ -184,41 +184,44 @@ export declare const TextType: {
|
|
|
184
184
|
};
|
|
185
185
|
export type TextType = (typeof TextType)[keyof typeof TextType];
|
|
186
186
|
export interface Block {
|
|
187
|
-
BlockType?: BlockType;
|
|
188
|
-
Confidence?: number;
|
|
189
|
-
Text?: string;
|
|
190
|
-
TextType?: TextType;
|
|
191
|
-
RowIndex?: number;
|
|
192
|
-
ColumnIndex?: number;
|
|
193
|
-
RowSpan?: number;
|
|
194
|
-
ColumnSpan?: number;
|
|
195
|
-
Geometry?: Geometry;
|
|
196
|
-
Id?: string;
|
|
197
|
-
Relationships?: Relationship[];
|
|
198
|
-
EntityTypes?: EntityType[];
|
|
199
|
-
SelectionStatus?: SelectionStatus;
|
|
200
|
-
Page?: number;
|
|
201
|
-
Query?: Query;
|
|
187
|
+
BlockType?: BlockType | undefined;
|
|
188
|
+
Confidence?: number | undefined;
|
|
189
|
+
Text?: string | undefined;
|
|
190
|
+
TextType?: TextType | undefined;
|
|
191
|
+
RowIndex?: number | undefined;
|
|
192
|
+
ColumnIndex?: number | undefined;
|
|
193
|
+
RowSpan?: number | undefined;
|
|
194
|
+
ColumnSpan?: number | undefined;
|
|
195
|
+
Geometry?: Geometry | undefined;
|
|
196
|
+
Id?: string | undefined;
|
|
197
|
+
Relationships?: Relationship[] | undefined;
|
|
198
|
+
EntityTypes?: EntityType[] | undefined;
|
|
199
|
+
SelectionStatus?: SelectionStatus | undefined;
|
|
200
|
+
Page?: number | undefined;
|
|
201
|
+
Query?: Query | undefined;
|
|
202
202
|
}
|
|
203
203
|
export interface DocumentMetadata {
|
|
204
|
-
Pages?: number;
|
|
204
|
+
Pages?: number | undefined;
|
|
205
205
|
}
|
|
206
206
|
export interface HumanLoopActivationOutput {
|
|
207
|
-
HumanLoopArn?: string;
|
|
208
|
-
HumanLoopActivationReasons?: string[];
|
|
209
|
-
HumanLoopActivationConditionsEvaluationResults?:
|
|
207
|
+
HumanLoopArn?: string | undefined;
|
|
208
|
+
HumanLoopActivationReasons?: string[] | undefined;
|
|
209
|
+
HumanLoopActivationConditionsEvaluationResults?:
|
|
210
|
+
| __LazyJsonString
|
|
211
|
+
| string
|
|
212
|
+
| undefined;
|
|
210
213
|
}
|
|
211
214
|
export interface AnalyzeDocumentResponse {
|
|
212
|
-
DocumentMetadata?: DocumentMetadata;
|
|
213
|
-
Blocks?: Block[];
|
|
214
|
-
HumanLoopActivationOutput?: HumanLoopActivationOutput;
|
|
215
|
-
AnalyzeDocumentModelVersion?: string;
|
|
215
|
+
DocumentMetadata?: DocumentMetadata | undefined;
|
|
216
|
+
Blocks?: Block[] | undefined;
|
|
217
|
+
HumanLoopActivationOutput?: HumanLoopActivationOutput | undefined;
|
|
218
|
+
AnalyzeDocumentModelVersion?: string | undefined;
|
|
216
219
|
}
|
|
217
220
|
export declare class BadDocumentException extends __BaseException {
|
|
218
221
|
readonly name: "BadDocumentException";
|
|
219
222
|
readonly $fault: "client";
|
|
220
|
-
Message?: string;
|
|
221
|
-
Code?: string;
|
|
223
|
+
Message?: string | undefined;
|
|
224
|
+
Code?: string | undefined;
|
|
222
225
|
constructor(
|
|
223
226
|
opts: __ExceptionOptionType<BadDocumentException, __BaseException>
|
|
224
227
|
);
|
|
@@ -226,8 +229,8 @@ export declare class BadDocumentException extends __BaseException {
|
|
|
226
229
|
export declare class DocumentTooLargeException extends __BaseException {
|
|
227
230
|
readonly name: "DocumentTooLargeException";
|
|
228
231
|
readonly $fault: "client";
|
|
229
|
-
Message?: string;
|
|
230
|
-
Code?: string;
|
|
232
|
+
Message?: string | undefined;
|
|
233
|
+
Code?: string | undefined;
|
|
231
234
|
constructor(
|
|
232
235
|
opts: __ExceptionOptionType<DocumentTooLargeException, __BaseException>
|
|
233
236
|
);
|
|
@@ -235,11 +238,11 @@ export declare class DocumentTooLargeException extends __BaseException {
|
|
|
235
238
|
export declare class HumanLoopQuotaExceededException extends __BaseException {
|
|
236
239
|
readonly name: "HumanLoopQuotaExceededException";
|
|
237
240
|
readonly $fault: "client";
|
|
238
|
-
ResourceType?: string;
|
|
239
|
-
QuotaCode?: string;
|
|
240
|
-
ServiceCode?: string;
|
|
241
|
-
Message?: string;
|
|
242
|
-
Code?: string;
|
|
241
|
+
ResourceType?: string | undefined;
|
|
242
|
+
QuotaCode?: string | undefined;
|
|
243
|
+
ServiceCode?: string | undefined;
|
|
244
|
+
Message?: string | undefined;
|
|
245
|
+
Code?: string | undefined;
|
|
243
246
|
constructor(
|
|
244
247
|
opts: __ExceptionOptionType<
|
|
245
248
|
HumanLoopQuotaExceededException,
|
|
@@ -250,8 +253,8 @@ export declare class HumanLoopQuotaExceededException extends __BaseException {
|
|
|
250
253
|
export declare class InternalServerError extends __BaseException {
|
|
251
254
|
readonly name: "InternalServerError";
|
|
252
255
|
readonly $fault: "server";
|
|
253
|
-
Message?: string;
|
|
254
|
-
Code?: string;
|
|
256
|
+
Message?: string | undefined;
|
|
257
|
+
Code?: string | undefined;
|
|
255
258
|
constructor(
|
|
256
259
|
opts: __ExceptionOptionType<InternalServerError, __BaseException>
|
|
257
260
|
);
|
|
@@ -259,8 +262,8 @@ export declare class InternalServerError extends __BaseException {
|
|
|
259
262
|
export declare class InvalidParameterException extends __BaseException {
|
|
260
263
|
readonly name: "InvalidParameterException";
|
|
261
264
|
readonly $fault: "client";
|
|
262
|
-
Message?: string;
|
|
263
|
-
Code?: string;
|
|
265
|
+
Message?: string | undefined;
|
|
266
|
+
Code?: string | undefined;
|
|
264
267
|
constructor(
|
|
265
268
|
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
266
269
|
);
|
|
@@ -268,8 +271,8 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
268
271
|
export declare class InvalidS3ObjectException extends __BaseException {
|
|
269
272
|
readonly name: "InvalidS3ObjectException";
|
|
270
273
|
readonly $fault: "client";
|
|
271
|
-
Message?: string;
|
|
272
|
-
Code?: string;
|
|
274
|
+
Message?: string | undefined;
|
|
275
|
+
Code?: string | undefined;
|
|
273
276
|
constructor(
|
|
274
277
|
opts: __ExceptionOptionType<InvalidS3ObjectException, __BaseException>
|
|
275
278
|
);
|
|
@@ -277,8 +280,8 @@ export declare class InvalidS3ObjectException extends __BaseException {
|
|
|
277
280
|
export declare class ProvisionedThroughputExceededException extends __BaseException {
|
|
278
281
|
readonly name: "ProvisionedThroughputExceededException";
|
|
279
282
|
readonly $fault: "client";
|
|
280
|
-
Message?: string;
|
|
281
|
-
Code?: string;
|
|
283
|
+
Message?: string | undefined;
|
|
284
|
+
Code?: string | undefined;
|
|
282
285
|
constructor(
|
|
283
286
|
opts: __ExceptionOptionType<
|
|
284
287
|
ProvisionedThroughputExceededException,
|
|
@@ -289,8 +292,8 @@ export declare class ProvisionedThroughputExceededException extends __BaseExcept
|
|
|
289
292
|
export declare class ThrottlingException extends __BaseException {
|
|
290
293
|
readonly name: "ThrottlingException";
|
|
291
294
|
readonly $fault: "server";
|
|
292
|
-
Message?: string;
|
|
293
|
-
Code?: string;
|
|
295
|
+
Message?: string | undefined;
|
|
296
|
+
Code?: string | undefined;
|
|
294
297
|
constructor(
|
|
295
298
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
296
299
|
);
|
|
@@ -298,8 +301,8 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
298
301
|
export declare class UnsupportedDocumentException extends __BaseException {
|
|
299
302
|
readonly name: "UnsupportedDocumentException";
|
|
300
303
|
readonly $fault: "client";
|
|
301
|
-
Message?: string;
|
|
302
|
-
Code?: string;
|
|
304
|
+
Message?: string | undefined;
|
|
305
|
+
Code?: string | undefined;
|
|
303
306
|
constructor(
|
|
304
307
|
opts: __ExceptionOptionType<UnsupportedDocumentException, __BaseException>
|
|
305
308
|
);
|
|
@@ -308,46 +311,46 @@ export interface AnalyzeExpenseRequest {
|
|
|
308
311
|
Document: Document | undefined;
|
|
309
312
|
}
|
|
310
313
|
export interface ExpenseCurrency {
|
|
311
|
-
Code?: string;
|
|
312
|
-
Confidence?: number;
|
|
314
|
+
Code?: string | undefined;
|
|
315
|
+
Confidence?: number | undefined;
|
|
313
316
|
}
|
|
314
317
|
export interface ExpenseGroupProperty {
|
|
315
|
-
Types?: string[];
|
|
316
|
-
Id?: string;
|
|
318
|
+
Types?: string[] | undefined;
|
|
319
|
+
Id?: string | undefined;
|
|
317
320
|
}
|
|
318
321
|
export interface ExpenseDetection {
|
|
319
|
-
Text?: string;
|
|
320
|
-
Geometry?: Geometry;
|
|
321
|
-
Confidence?: number;
|
|
322
|
+
Text?: string | undefined;
|
|
323
|
+
Geometry?: Geometry | undefined;
|
|
324
|
+
Confidence?: number | undefined;
|
|
322
325
|
}
|
|
323
326
|
export interface ExpenseType {
|
|
324
|
-
Text?: string;
|
|
325
|
-
Confidence?: number;
|
|
327
|
+
Text?: string | undefined;
|
|
328
|
+
Confidence?: number | undefined;
|
|
326
329
|
}
|
|
327
330
|
export interface ExpenseField {
|
|
328
|
-
Type?: ExpenseType;
|
|
329
|
-
LabelDetection?: ExpenseDetection;
|
|
330
|
-
ValueDetection?: ExpenseDetection;
|
|
331
|
-
PageNumber?: number;
|
|
332
|
-
Currency?: ExpenseCurrency;
|
|
333
|
-
GroupProperties?: ExpenseGroupProperty[];
|
|
331
|
+
Type?: ExpenseType | undefined;
|
|
332
|
+
LabelDetection?: ExpenseDetection | undefined;
|
|
333
|
+
ValueDetection?: ExpenseDetection | undefined;
|
|
334
|
+
PageNumber?: number | undefined;
|
|
335
|
+
Currency?: ExpenseCurrency | undefined;
|
|
336
|
+
GroupProperties?: ExpenseGroupProperty[] | undefined;
|
|
334
337
|
}
|
|
335
338
|
export interface LineItemFields {
|
|
336
|
-
LineItemExpenseFields?: ExpenseField[];
|
|
339
|
+
LineItemExpenseFields?: ExpenseField[] | undefined;
|
|
337
340
|
}
|
|
338
341
|
export interface LineItemGroup {
|
|
339
|
-
LineItemGroupIndex?: number;
|
|
340
|
-
LineItems?: LineItemFields[];
|
|
342
|
+
LineItemGroupIndex?: number | undefined;
|
|
343
|
+
LineItems?: LineItemFields[] | undefined;
|
|
341
344
|
}
|
|
342
345
|
export interface ExpenseDocument {
|
|
343
|
-
ExpenseIndex?: number;
|
|
344
|
-
SummaryFields?: ExpenseField[];
|
|
345
|
-
LineItemGroups?: LineItemGroup[];
|
|
346
|
-
Blocks?: Block[];
|
|
346
|
+
ExpenseIndex?: number | undefined;
|
|
347
|
+
SummaryFields?: ExpenseField[] | undefined;
|
|
348
|
+
LineItemGroups?: LineItemGroup[] | undefined;
|
|
349
|
+
Blocks?: Block[] | undefined;
|
|
347
350
|
}
|
|
348
351
|
export interface AnalyzeExpenseResponse {
|
|
349
|
-
DocumentMetadata?: DocumentMetadata;
|
|
350
|
-
ExpenseDocuments?: ExpenseDocument[];
|
|
352
|
+
DocumentMetadata?: DocumentMetadata | undefined;
|
|
353
|
+
ExpenseDocuments?: ExpenseDocument[] | undefined;
|
|
351
354
|
}
|
|
352
355
|
export interface AnalyzeIDRequest {
|
|
353
356
|
DocumentPages: Document[] | undefined;
|
|
@@ -357,27 +360,27 @@ export declare const ValueType: {
|
|
|
357
360
|
};
|
|
358
361
|
export type ValueType = (typeof ValueType)[keyof typeof ValueType];
|
|
359
362
|
export interface NormalizedValue {
|
|
360
|
-
Value?: string;
|
|
361
|
-
ValueType?: ValueType;
|
|
363
|
+
Value?: string | undefined;
|
|
364
|
+
ValueType?: ValueType | undefined;
|
|
362
365
|
}
|
|
363
366
|
export interface AnalyzeIDDetections {
|
|
364
367
|
Text: string | undefined;
|
|
365
|
-
NormalizedValue?: NormalizedValue;
|
|
366
|
-
Confidence?: number;
|
|
368
|
+
NormalizedValue?: NormalizedValue | undefined;
|
|
369
|
+
Confidence?: number | undefined;
|
|
367
370
|
}
|
|
368
371
|
export interface IdentityDocumentField {
|
|
369
|
-
Type?: AnalyzeIDDetections;
|
|
370
|
-
ValueDetection?: AnalyzeIDDetections;
|
|
372
|
+
Type?: AnalyzeIDDetections | undefined;
|
|
373
|
+
ValueDetection?: AnalyzeIDDetections | undefined;
|
|
371
374
|
}
|
|
372
375
|
export interface IdentityDocument {
|
|
373
|
-
DocumentIndex?: number;
|
|
374
|
-
IdentityDocumentFields?: IdentityDocumentField[];
|
|
375
|
-
Blocks?: Block[];
|
|
376
|
+
DocumentIndex?: number | undefined;
|
|
377
|
+
IdentityDocumentFields?: IdentityDocumentField[] | undefined;
|
|
378
|
+
Blocks?: Block[] | undefined;
|
|
376
379
|
}
|
|
377
380
|
export interface AnalyzeIDResponse {
|
|
378
|
-
IdentityDocuments?: IdentityDocument[];
|
|
379
|
-
DocumentMetadata?: DocumentMetadata;
|
|
380
|
-
AnalyzeIDModelVersion?: string;
|
|
381
|
+
IdentityDocuments?: IdentityDocument[] | undefined;
|
|
382
|
+
DocumentMetadata?: DocumentMetadata | undefined;
|
|
383
|
+
AnalyzeIDModelVersion?: string | undefined;
|
|
381
384
|
}
|
|
382
385
|
export declare const AutoUpdate: {
|
|
383
386
|
readonly DISABLED: "DISABLED";
|
|
@@ -387,26 +390,26 @@ export type AutoUpdate = (typeof AutoUpdate)[keyof typeof AutoUpdate];
|
|
|
387
390
|
export declare class ConflictException extends __BaseException {
|
|
388
391
|
readonly name: "ConflictException";
|
|
389
392
|
readonly $fault: "client";
|
|
390
|
-
Message?: string;
|
|
391
|
-
Code?: string;
|
|
393
|
+
Message?: string | undefined;
|
|
394
|
+
Code?: string | undefined;
|
|
392
395
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
393
396
|
}
|
|
394
397
|
export interface CreateAdapterRequest {
|
|
395
398
|
AdapterName: string | undefined;
|
|
396
|
-
ClientRequestToken?: string;
|
|
397
|
-
Description?: string;
|
|
399
|
+
ClientRequestToken?: string | undefined;
|
|
400
|
+
Description?: string | undefined;
|
|
398
401
|
FeatureTypes: FeatureType[] | undefined;
|
|
399
|
-
AutoUpdate?: AutoUpdate;
|
|
400
|
-
Tags?: Record<string, string
|
|
402
|
+
AutoUpdate?: AutoUpdate | undefined;
|
|
403
|
+
Tags?: Record<string, string> | undefined;
|
|
401
404
|
}
|
|
402
405
|
export interface CreateAdapterResponse {
|
|
403
|
-
AdapterId?: string;
|
|
406
|
+
AdapterId?: string | undefined;
|
|
404
407
|
}
|
|
405
408
|
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
406
409
|
readonly name: "IdempotentParameterMismatchException";
|
|
407
410
|
readonly $fault: "client";
|
|
408
|
-
Message?: string;
|
|
409
|
-
Code?: string;
|
|
411
|
+
Message?: string | undefined;
|
|
412
|
+
Code?: string | undefined;
|
|
410
413
|
constructor(
|
|
411
414
|
opts: __ExceptionOptionType<
|
|
412
415
|
IdempotentParameterMismatchException,
|
|
@@ -417,8 +420,8 @@ export declare class IdempotentParameterMismatchException extends __BaseExceptio
|
|
|
417
420
|
export declare class LimitExceededException extends __BaseException {
|
|
418
421
|
readonly name: "LimitExceededException";
|
|
419
422
|
readonly $fault: "client";
|
|
420
|
-
Message?: string;
|
|
421
|
-
Code?: string;
|
|
423
|
+
Message?: string | undefined;
|
|
424
|
+
Code?: string | undefined;
|
|
422
425
|
constructor(
|
|
423
426
|
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
424
427
|
);
|
|
@@ -426,8 +429,8 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
426
429
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
427
430
|
readonly name: "ServiceQuotaExceededException";
|
|
428
431
|
readonly $fault: "client";
|
|
429
|
-
Message?: string;
|
|
430
|
-
Code?: string;
|
|
432
|
+
Message?: string | undefined;
|
|
433
|
+
Code?: string | undefined;
|
|
431
434
|
constructor(
|
|
432
435
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
433
436
|
);
|
|
@@ -435,33 +438,33 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
435
438
|
export declare class ValidationException extends __BaseException {
|
|
436
439
|
readonly name: "ValidationException";
|
|
437
440
|
readonly $fault: "client";
|
|
438
|
-
Message?: string;
|
|
439
|
-
Code?: string;
|
|
441
|
+
Message?: string | undefined;
|
|
442
|
+
Code?: string | undefined;
|
|
440
443
|
constructor(
|
|
441
444
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
442
445
|
);
|
|
443
446
|
}
|
|
444
447
|
export interface OutputConfig {
|
|
445
448
|
S3Bucket: string | undefined;
|
|
446
|
-
S3Prefix?: string;
|
|
449
|
+
S3Prefix?: string | undefined;
|
|
447
450
|
}
|
|
448
451
|
export interface CreateAdapterVersionRequest {
|
|
449
452
|
AdapterId: string | undefined;
|
|
450
|
-
ClientRequestToken?: string;
|
|
453
|
+
ClientRequestToken?: string | undefined;
|
|
451
454
|
DatasetConfig: AdapterVersionDatasetConfig | undefined;
|
|
452
|
-
KMSKeyId?: string;
|
|
455
|
+
KMSKeyId?: string | undefined;
|
|
453
456
|
OutputConfig: OutputConfig | undefined;
|
|
454
|
-
Tags?: Record<string, string
|
|
457
|
+
Tags?: Record<string, string> | undefined;
|
|
455
458
|
}
|
|
456
459
|
export interface CreateAdapterVersionResponse {
|
|
457
|
-
AdapterId?: string;
|
|
458
|
-
AdapterVersion?: string;
|
|
460
|
+
AdapterId?: string | undefined;
|
|
461
|
+
AdapterVersion?: string | undefined;
|
|
459
462
|
}
|
|
460
463
|
export declare class InvalidKMSKeyException extends __BaseException {
|
|
461
464
|
readonly name: "InvalidKMSKeyException";
|
|
462
465
|
readonly $fault: "client";
|
|
463
|
-
Message?: string;
|
|
464
|
-
Code?: string;
|
|
466
|
+
Message?: string | undefined;
|
|
467
|
+
Code?: string | undefined;
|
|
465
468
|
constructor(
|
|
466
469
|
opts: __ExceptionOptionType<InvalidKMSKeyException, __BaseException>
|
|
467
470
|
);
|
|
@@ -469,8 +472,8 @@ export declare class InvalidKMSKeyException extends __BaseException {
|
|
|
469
472
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
470
473
|
readonly name: "ResourceNotFoundException";
|
|
471
474
|
readonly $fault: "client";
|
|
472
|
-
Message?: string;
|
|
473
|
-
Code?: string;
|
|
475
|
+
Message?: string | undefined;
|
|
476
|
+
Code?: string | undefined;
|
|
474
477
|
constructor(
|
|
475
478
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
476
479
|
);
|
|
@@ -488,86 +491,86 @@ export interface DetectDocumentTextRequest {
|
|
|
488
491
|
Document: Document | undefined;
|
|
489
492
|
}
|
|
490
493
|
export interface DetectDocumentTextResponse {
|
|
491
|
-
DocumentMetadata?: DocumentMetadata;
|
|
492
|
-
Blocks?: Block[];
|
|
493
|
-
DetectDocumentTextModelVersion?: string;
|
|
494
|
+
DocumentMetadata?: DocumentMetadata | undefined;
|
|
495
|
+
Blocks?: Block[] | undefined;
|
|
496
|
+
DetectDocumentTextModelVersion?: string | undefined;
|
|
494
497
|
}
|
|
495
498
|
export interface DetectedSignature {
|
|
496
|
-
Page?: number;
|
|
499
|
+
Page?: number | undefined;
|
|
497
500
|
}
|
|
498
501
|
export interface SplitDocument {
|
|
499
|
-
Index?: number;
|
|
500
|
-
Pages?: number[];
|
|
502
|
+
Index?: number | undefined;
|
|
503
|
+
Pages?: number[] | undefined;
|
|
501
504
|
}
|
|
502
505
|
export interface UndetectedSignature {
|
|
503
|
-
Page?: number;
|
|
506
|
+
Page?: number | undefined;
|
|
504
507
|
}
|
|
505
508
|
export interface DocumentGroup {
|
|
506
|
-
Type?: string;
|
|
507
|
-
SplitDocuments?: SplitDocument[];
|
|
508
|
-
DetectedSignatures?: DetectedSignature[];
|
|
509
|
-
UndetectedSignatures?: UndetectedSignature[];
|
|
509
|
+
Type?: string | undefined;
|
|
510
|
+
SplitDocuments?: SplitDocument[] | undefined;
|
|
511
|
+
DetectedSignatures?: DetectedSignature[] | undefined;
|
|
512
|
+
UndetectedSignatures?: UndetectedSignature[] | undefined;
|
|
510
513
|
}
|
|
511
514
|
export interface DocumentLocation {
|
|
512
|
-
S3Object?: S3Object;
|
|
515
|
+
S3Object?: S3Object | undefined;
|
|
513
516
|
}
|
|
514
517
|
export interface LendingDetection {
|
|
515
|
-
Text?: string;
|
|
516
|
-
SelectionStatus?: SelectionStatus;
|
|
517
|
-
Geometry?: Geometry;
|
|
518
|
-
Confidence?: number;
|
|
518
|
+
Text?: string | undefined;
|
|
519
|
+
SelectionStatus?: SelectionStatus | undefined;
|
|
520
|
+
Geometry?: Geometry | undefined;
|
|
521
|
+
Confidence?: number | undefined;
|
|
519
522
|
}
|
|
520
523
|
export interface LendingField {
|
|
521
|
-
Type?: string;
|
|
522
|
-
KeyDetection?: LendingDetection;
|
|
523
|
-
ValueDetections?: LendingDetection[];
|
|
524
|
+
Type?: string | undefined;
|
|
525
|
+
KeyDetection?: LendingDetection | undefined;
|
|
526
|
+
ValueDetections?: LendingDetection[] | undefined;
|
|
524
527
|
}
|
|
525
528
|
export interface SignatureDetection {
|
|
526
|
-
Confidence?: number;
|
|
527
|
-
Geometry?: Geometry;
|
|
529
|
+
Confidence?: number | undefined;
|
|
530
|
+
Geometry?: Geometry | undefined;
|
|
528
531
|
}
|
|
529
532
|
export interface LendingDocument {
|
|
530
|
-
LendingFields?: LendingField[];
|
|
531
|
-
SignatureDetections?: SignatureDetection[];
|
|
533
|
+
LendingFields?: LendingField[] | undefined;
|
|
534
|
+
SignatureDetections?: SignatureDetection[] | undefined;
|
|
532
535
|
}
|
|
533
536
|
export interface Extraction {
|
|
534
|
-
LendingDocument?: LendingDocument;
|
|
535
|
-
ExpenseDocument?: ExpenseDocument;
|
|
536
|
-
IdentityDocument?: IdentityDocument;
|
|
537
|
+
LendingDocument?: LendingDocument | undefined;
|
|
538
|
+
ExpenseDocument?: ExpenseDocument | undefined;
|
|
539
|
+
IdentityDocument?: IdentityDocument | undefined;
|
|
537
540
|
}
|
|
538
541
|
export interface GetAdapterRequest {
|
|
539
542
|
AdapterId: string | undefined;
|
|
540
543
|
}
|
|
541
544
|
export interface GetAdapterResponse {
|
|
542
|
-
AdapterId?: string;
|
|
543
|
-
AdapterName?: string;
|
|
544
|
-
CreationTime?: Date;
|
|
545
|
-
Description?: string;
|
|
546
|
-
FeatureTypes?: FeatureType[];
|
|
547
|
-
AutoUpdate?: AutoUpdate;
|
|
548
|
-
Tags?: Record<string, string
|
|
545
|
+
AdapterId?: string | undefined;
|
|
546
|
+
AdapterName?: string | undefined;
|
|
547
|
+
CreationTime?: Date | undefined;
|
|
548
|
+
Description?: string | undefined;
|
|
549
|
+
FeatureTypes?: FeatureType[] | undefined;
|
|
550
|
+
AutoUpdate?: AutoUpdate | undefined;
|
|
551
|
+
Tags?: Record<string, string> | undefined;
|
|
549
552
|
}
|
|
550
553
|
export interface GetAdapterVersionRequest {
|
|
551
554
|
AdapterId: string | undefined;
|
|
552
555
|
AdapterVersion: string | undefined;
|
|
553
556
|
}
|
|
554
557
|
export interface GetAdapterVersionResponse {
|
|
555
|
-
AdapterId?: string;
|
|
556
|
-
AdapterVersion?: string;
|
|
557
|
-
CreationTime?: Date;
|
|
558
|
-
FeatureTypes?: FeatureType[];
|
|
559
|
-
Status?: AdapterVersionStatus;
|
|
560
|
-
StatusMessage?: string;
|
|
561
|
-
DatasetConfig?: AdapterVersionDatasetConfig;
|
|
562
|
-
KMSKeyId?: string;
|
|
563
|
-
OutputConfig?: OutputConfig;
|
|
564
|
-
EvaluationMetrics?: AdapterVersionEvaluationMetric[];
|
|
565
|
-
Tags?: Record<string, string
|
|
558
|
+
AdapterId?: string | undefined;
|
|
559
|
+
AdapterVersion?: string | undefined;
|
|
560
|
+
CreationTime?: Date | undefined;
|
|
561
|
+
FeatureTypes?: FeatureType[] | undefined;
|
|
562
|
+
Status?: AdapterVersionStatus | undefined;
|
|
563
|
+
StatusMessage?: string | undefined;
|
|
564
|
+
DatasetConfig?: AdapterVersionDatasetConfig | undefined;
|
|
565
|
+
KMSKeyId?: string | undefined;
|
|
566
|
+
OutputConfig?: OutputConfig | undefined;
|
|
567
|
+
EvaluationMetrics?: AdapterVersionEvaluationMetric[] | undefined;
|
|
568
|
+
Tags?: Record<string, string> | undefined;
|
|
566
569
|
}
|
|
567
570
|
export interface GetDocumentAnalysisRequest {
|
|
568
571
|
JobId: string | undefined;
|
|
569
|
-
MaxResults?: number;
|
|
570
|
-
NextToken?: string;
|
|
572
|
+
MaxResults?: number | undefined;
|
|
573
|
+
NextToken?: string | undefined;
|
|
571
574
|
}
|
|
572
575
|
export declare const JobStatus: {
|
|
573
576
|
readonly FAILED: "FAILED";
|
|
@@ -577,123 +580,123 @@ export declare const JobStatus: {
|
|
|
577
580
|
};
|
|
578
581
|
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
579
582
|
export interface Warning {
|
|
580
|
-
ErrorCode?: string;
|
|
581
|
-
Pages?: number[];
|
|
583
|
+
ErrorCode?: string | undefined;
|
|
584
|
+
Pages?: number[] | undefined;
|
|
582
585
|
}
|
|
583
586
|
export interface GetDocumentAnalysisResponse {
|
|
584
|
-
DocumentMetadata?: DocumentMetadata;
|
|
585
|
-
JobStatus?: JobStatus;
|
|
586
|
-
NextToken?: string;
|
|
587
|
-
Blocks?: Block[];
|
|
588
|
-
Warnings?: Warning[];
|
|
589
|
-
StatusMessage?: string;
|
|
590
|
-
AnalyzeDocumentModelVersion?: string;
|
|
587
|
+
DocumentMetadata?: DocumentMetadata | undefined;
|
|
588
|
+
JobStatus?: JobStatus | undefined;
|
|
589
|
+
NextToken?: string | undefined;
|
|
590
|
+
Blocks?: Block[] | undefined;
|
|
591
|
+
Warnings?: Warning[] | undefined;
|
|
592
|
+
StatusMessage?: string | undefined;
|
|
593
|
+
AnalyzeDocumentModelVersion?: string | undefined;
|
|
591
594
|
}
|
|
592
595
|
export declare class InvalidJobIdException extends __BaseException {
|
|
593
596
|
readonly name: "InvalidJobIdException";
|
|
594
597
|
readonly $fault: "client";
|
|
595
|
-
Message?: string;
|
|
596
|
-
Code?: string;
|
|
598
|
+
Message?: string | undefined;
|
|
599
|
+
Code?: string | undefined;
|
|
597
600
|
constructor(
|
|
598
601
|
opts: __ExceptionOptionType<InvalidJobIdException, __BaseException>
|
|
599
602
|
);
|
|
600
603
|
}
|
|
601
604
|
export interface GetDocumentTextDetectionRequest {
|
|
602
605
|
JobId: string | undefined;
|
|
603
|
-
MaxResults?: number;
|
|
604
|
-
NextToken?: string;
|
|
606
|
+
MaxResults?: number | undefined;
|
|
607
|
+
NextToken?: string | undefined;
|
|
605
608
|
}
|
|
606
609
|
export interface GetDocumentTextDetectionResponse {
|
|
607
|
-
DocumentMetadata?: DocumentMetadata;
|
|
608
|
-
JobStatus?: JobStatus;
|
|
609
|
-
NextToken?: string;
|
|
610
|
-
Blocks?: Block[];
|
|
611
|
-
Warnings?: Warning[];
|
|
612
|
-
StatusMessage?: string;
|
|
613
|
-
DetectDocumentTextModelVersion?: string;
|
|
610
|
+
DocumentMetadata?: DocumentMetadata | undefined;
|
|
611
|
+
JobStatus?: JobStatus | undefined;
|
|
612
|
+
NextToken?: string | undefined;
|
|
613
|
+
Blocks?: Block[] | undefined;
|
|
614
|
+
Warnings?: Warning[] | undefined;
|
|
615
|
+
StatusMessage?: string | undefined;
|
|
616
|
+
DetectDocumentTextModelVersion?: string | undefined;
|
|
614
617
|
}
|
|
615
618
|
export interface GetExpenseAnalysisRequest {
|
|
616
619
|
JobId: string | undefined;
|
|
617
|
-
MaxResults?: number;
|
|
618
|
-
NextToken?: string;
|
|
620
|
+
MaxResults?: number | undefined;
|
|
621
|
+
NextToken?: string | undefined;
|
|
619
622
|
}
|
|
620
623
|
export interface GetExpenseAnalysisResponse {
|
|
621
|
-
DocumentMetadata?: DocumentMetadata;
|
|
622
|
-
JobStatus?: JobStatus;
|
|
623
|
-
NextToken?: string;
|
|
624
|
-
ExpenseDocuments?: ExpenseDocument[];
|
|
625
|
-
Warnings?: Warning[];
|
|
626
|
-
StatusMessage?: string;
|
|
627
|
-
AnalyzeExpenseModelVersion?: string;
|
|
624
|
+
DocumentMetadata?: DocumentMetadata | undefined;
|
|
625
|
+
JobStatus?: JobStatus | undefined;
|
|
626
|
+
NextToken?: string | undefined;
|
|
627
|
+
ExpenseDocuments?: ExpenseDocument[] | undefined;
|
|
628
|
+
Warnings?: Warning[] | undefined;
|
|
629
|
+
StatusMessage?: string | undefined;
|
|
630
|
+
AnalyzeExpenseModelVersion?: string | undefined;
|
|
628
631
|
}
|
|
629
632
|
export interface GetLendingAnalysisRequest {
|
|
630
633
|
JobId: string | undefined;
|
|
631
|
-
MaxResults?: number;
|
|
632
|
-
NextToken?: string;
|
|
634
|
+
MaxResults?: number | undefined;
|
|
635
|
+
NextToken?: string | undefined;
|
|
633
636
|
}
|
|
634
637
|
export interface Prediction {
|
|
635
|
-
Value?: string;
|
|
636
|
-
Confidence?: number;
|
|
638
|
+
Value?: string | undefined;
|
|
639
|
+
Confidence?: number | undefined;
|
|
637
640
|
}
|
|
638
641
|
export interface PageClassification {
|
|
639
642
|
PageType: Prediction[] | undefined;
|
|
640
643
|
PageNumber: Prediction[] | undefined;
|
|
641
644
|
}
|
|
642
645
|
export interface LendingResult {
|
|
643
|
-
Page?: number;
|
|
644
|
-
PageClassification?: PageClassification;
|
|
645
|
-
Extractions?: Extraction[];
|
|
646
|
+
Page?: number | undefined;
|
|
647
|
+
PageClassification?: PageClassification | undefined;
|
|
648
|
+
Extractions?: Extraction[] | undefined;
|
|
646
649
|
}
|
|
647
650
|
export interface GetLendingAnalysisResponse {
|
|
648
|
-
DocumentMetadata?: DocumentMetadata;
|
|
649
|
-
JobStatus?: JobStatus;
|
|
650
|
-
NextToken?: string;
|
|
651
|
-
Results?: LendingResult[];
|
|
652
|
-
Warnings?: Warning[];
|
|
653
|
-
StatusMessage?: string;
|
|
654
|
-
AnalyzeLendingModelVersion?: string;
|
|
651
|
+
DocumentMetadata?: DocumentMetadata | undefined;
|
|
652
|
+
JobStatus?: JobStatus | undefined;
|
|
653
|
+
NextToken?: string | undefined;
|
|
654
|
+
Results?: LendingResult[] | undefined;
|
|
655
|
+
Warnings?: Warning[] | undefined;
|
|
656
|
+
StatusMessage?: string | undefined;
|
|
657
|
+
AnalyzeLendingModelVersion?: string | undefined;
|
|
655
658
|
}
|
|
656
659
|
export interface GetLendingAnalysisSummaryRequest {
|
|
657
660
|
JobId: string | undefined;
|
|
658
661
|
}
|
|
659
662
|
export interface LendingSummary {
|
|
660
|
-
DocumentGroups?: DocumentGroup[];
|
|
661
|
-
UndetectedDocumentTypes?: string[];
|
|
663
|
+
DocumentGroups?: DocumentGroup[] | undefined;
|
|
664
|
+
UndetectedDocumentTypes?: string[] | undefined;
|
|
662
665
|
}
|
|
663
666
|
export interface GetLendingAnalysisSummaryResponse {
|
|
664
|
-
DocumentMetadata?: DocumentMetadata;
|
|
665
|
-
JobStatus?: JobStatus;
|
|
666
|
-
Summary?: LendingSummary;
|
|
667
|
-
Warnings?: Warning[];
|
|
668
|
-
StatusMessage?: string;
|
|
669
|
-
AnalyzeLendingModelVersion?: string;
|
|
667
|
+
DocumentMetadata?: DocumentMetadata | undefined;
|
|
668
|
+
JobStatus?: JobStatus | undefined;
|
|
669
|
+
Summary?: LendingSummary | undefined;
|
|
670
|
+
Warnings?: Warning[] | undefined;
|
|
671
|
+
StatusMessage?: string | undefined;
|
|
672
|
+
AnalyzeLendingModelVersion?: string | undefined;
|
|
670
673
|
}
|
|
671
674
|
export interface ListAdaptersRequest {
|
|
672
|
-
AfterCreationTime?: Date;
|
|
673
|
-
BeforeCreationTime?: Date;
|
|
674
|
-
MaxResults?: number;
|
|
675
|
-
NextToken?: string;
|
|
675
|
+
AfterCreationTime?: Date | undefined;
|
|
676
|
+
BeforeCreationTime?: Date | undefined;
|
|
677
|
+
MaxResults?: number | undefined;
|
|
678
|
+
NextToken?: string | undefined;
|
|
676
679
|
}
|
|
677
680
|
export interface ListAdaptersResponse {
|
|
678
|
-
Adapters?: AdapterOverview[];
|
|
679
|
-
NextToken?: string;
|
|
681
|
+
Adapters?: AdapterOverview[] | undefined;
|
|
682
|
+
NextToken?: string | undefined;
|
|
680
683
|
}
|
|
681
684
|
export interface ListAdapterVersionsRequest {
|
|
682
|
-
AdapterId?: string;
|
|
683
|
-
AfterCreationTime?: Date;
|
|
684
|
-
BeforeCreationTime?: Date;
|
|
685
|
-
MaxResults?: number;
|
|
686
|
-
NextToken?: string;
|
|
685
|
+
AdapterId?: string | undefined;
|
|
686
|
+
AfterCreationTime?: Date | undefined;
|
|
687
|
+
BeforeCreationTime?: Date | undefined;
|
|
688
|
+
MaxResults?: number | undefined;
|
|
689
|
+
NextToken?: string | undefined;
|
|
687
690
|
}
|
|
688
691
|
export interface ListAdapterVersionsResponse {
|
|
689
|
-
AdapterVersions?: AdapterVersionOverview[];
|
|
690
|
-
NextToken?: string;
|
|
692
|
+
AdapterVersions?: AdapterVersionOverview[] | undefined;
|
|
693
|
+
NextToken?: string | undefined;
|
|
691
694
|
}
|
|
692
695
|
export interface ListTagsForResourceRequest {
|
|
693
696
|
ResourceARN: string | undefined;
|
|
694
697
|
}
|
|
695
698
|
export interface ListTagsForResourceResponse {
|
|
696
|
-
Tags?: Record<string, string
|
|
699
|
+
Tags?: Record<string, string> | undefined;
|
|
697
700
|
}
|
|
698
701
|
export interface NotificationChannel {
|
|
699
702
|
SNSTopicArn: string | undefined;
|
|
@@ -702,49 +705,49 @@ export interface NotificationChannel {
|
|
|
702
705
|
export interface StartDocumentAnalysisRequest {
|
|
703
706
|
DocumentLocation: DocumentLocation | undefined;
|
|
704
707
|
FeatureTypes: FeatureType[] | undefined;
|
|
705
|
-
ClientRequestToken?: string;
|
|
706
|
-
JobTag?: string;
|
|
707
|
-
NotificationChannel?: NotificationChannel;
|
|
708
|
-
OutputConfig?: OutputConfig;
|
|
709
|
-
KMSKeyId?: string;
|
|
710
|
-
QueriesConfig?: QueriesConfig;
|
|
711
|
-
AdaptersConfig?: AdaptersConfig;
|
|
708
|
+
ClientRequestToken?: string | undefined;
|
|
709
|
+
JobTag?: string | undefined;
|
|
710
|
+
NotificationChannel?: NotificationChannel | undefined;
|
|
711
|
+
OutputConfig?: OutputConfig | undefined;
|
|
712
|
+
KMSKeyId?: string | undefined;
|
|
713
|
+
QueriesConfig?: QueriesConfig | undefined;
|
|
714
|
+
AdaptersConfig?: AdaptersConfig | undefined;
|
|
712
715
|
}
|
|
713
716
|
export interface StartDocumentAnalysisResponse {
|
|
714
|
-
JobId?: string;
|
|
717
|
+
JobId?: string | undefined;
|
|
715
718
|
}
|
|
716
719
|
export interface StartDocumentTextDetectionRequest {
|
|
717
720
|
DocumentLocation: DocumentLocation | undefined;
|
|
718
|
-
ClientRequestToken?: string;
|
|
719
|
-
JobTag?: string;
|
|
720
|
-
NotificationChannel?: NotificationChannel;
|
|
721
|
-
OutputConfig?: OutputConfig;
|
|
722
|
-
KMSKeyId?: string;
|
|
721
|
+
ClientRequestToken?: string | undefined;
|
|
722
|
+
JobTag?: string | undefined;
|
|
723
|
+
NotificationChannel?: NotificationChannel | undefined;
|
|
724
|
+
OutputConfig?: OutputConfig | undefined;
|
|
725
|
+
KMSKeyId?: string | undefined;
|
|
723
726
|
}
|
|
724
727
|
export interface StartDocumentTextDetectionResponse {
|
|
725
|
-
JobId?: string;
|
|
728
|
+
JobId?: string | undefined;
|
|
726
729
|
}
|
|
727
730
|
export interface StartExpenseAnalysisRequest {
|
|
728
731
|
DocumentLocation: DocumentLocation | undefined;
|
|
729
|
-
ClientRequestToken?: string;
|
|
730
|
-
JobTag?: string;
|
|
731
|
-
NotificationChannel?: NotificationChannel;
|
|
732
|
-
OutputConfig?: OutputConfig;
|
|
733
|
-
KMSKeyId?: string;
|
|
732
|
+
ClientRequestToken?: string | undefined;
|
|
733
|
+
JobTag?: string | undefined;
|
|
734
|
+
NotificationChannel?: NotificationChannel | undefined;
|
|
735
|
+
OutputConfig?: OutputConfig | undefined;
|
|
736
|
+
KMSKeyId?: string | undefined;
|
|
734
737
|
}
|
|
735
738
|
export interface StartExpenseAnalysisResponse {
|
|
736
|
-
JobId?: string;
|
|
739
|
+
JobId?: string | undefined;
|
|
737
740
|
}
|
|
738
741
|
export interface StartLendingAnalysisRequest {
|
|
739
742
|
DocumentLocation: DocumentLocation | undefined;
|
|
740
|
-
ClientRequestToken?: string;
|
|
741
|
-
JobTag?: string;
|
|
742
|
-
NotificationChannel?: NotificationChannel;
|
|
743
|
-
OutputConfig?: OutputConfig;
|
|
744
|
-
KMSKeyId?: string;
|
|
743
|
+
ClientRequestToken?: string | undefined;
|
|
744
|
+
JobTag?: string | undefined;
|
|
745
|
+
NotificationChannel?: NotificationChannel | undefined;
|
|
746
|
+
OutputConfig?: OutputConfig | undefined;
|
|
747
|
+
KMSKeyId?: string | undefined;
|
|
745
748
|
}
|
|
746
749
|
export interface StartLendingAnalysisResponse {
|
|
747
|
-
JobId?: string;
|
|
750
|
+
JobId?: string | undefined;
|
|
748
751
|
}
|
|
749
752
|
export interface TagResourceRequest {
|
|
750
753
|
ResourceARN: string | undefined;
|
|
@@ -758,15 +761,15 @@ export interface UntagResourceRequest {
|
|
|
758
761
|
export interface UntagResourceResponse {}
|
|
759
762
|
export interface UpdateAdapterRequest {
|
|
760
763
|
AdapterId: string | undefined;
|
|
761
|
-
Description?: string;
|
|
762
|
-
AdapterName?: string;
|
|
763
|
-
AutoUpdate?: AutoUpdate;
|
|
764
|
+
Description?: string | undefined;
|
|
765
|
+
AdapterName?: string | undefined;
|
|
766
|
+
AutoUpdate?: AutoUpdate | undefined;
|
|
764
767
|
}
|
|
765
768
|
export interface UpdateAdapterResponse {
|
|
766
|
-
AdapterId?: string;
|
|
767
|
-
AdapterName?: string;
|
|
768
|
-
CreationTime?: Date;
|
|
769
|
-
Description?: string;
|
|
770
|
-
FeatureTypes?: FeatureType[];
|
|
771
|
-
AutoUpdate?: AutoUpdate;
|
|
769
|
+
AdapterId?: string | undefined;
|
|
770
|
+
AdapterName?: string | undefined;
|
|
771
|
+
CreationTime?: Date | undefined;
|
|
772
|
+
Description?: string | undefined;
|
|
773
|
+
FeatureTypes?: FeatureType[] | undefined;
|
|
774
|
+
AutoUpdate?: AutoUpdate | undefined;
|
|
772
775
|
}
|