@aws-sdk/client-textract 3.130.0 → 3.141.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/CHANGELOG.md +30 -0
- package/README.md +1 -1
- package/dist-cjs/commands/AnalyzeDocumentCommand.js +2 -2
- package/dist-cjs/commands/AnalyzeExpenseCommand.js +2 -2
- package/dist-cjs/commands/AnalyzeIDCommand.js +2 -2
- package/dist-cjs/commands/DetectDocumentTextCommand.js +2 -2
- package/dist-cjs/commands/GetDocumentAnalysisCommand.js +2 -2
- package/dist-cjs/commands/GetDocumentTextDetectionCommand.js +2 -2
- package/dist-cjs/commands/GetExpenseAnalysisCommand.js +2 -2
- package/dist-cjs/commands/StartDocumentAnalysisCommand.js +2 -2
- package/dist-cjs/commands/StartDocumentTextDetectionCommand.js +2 -2
- package/dist-cjs/commands/StartExpenseAnalysisCommand.js +2 -2
- package/dist-cjs/models/models_0.js +190 -284
- package/dist-es/commands/AnalyzeDocumentCommand.js +3 -3
- package/dist-es/commands/AnalyzeExpenseCommand.js +3 -3
- package/dist-es/commands/AnalyzeIDCommand.js +3 -3
- package/dist-es/commands/DetectDocumentTextCommand.js +3 -3
- package/dist-es/commands/GetDocumentAnalysisCommand.js +3 -3
- package/dist-es/commands/GetDocumentTextDetectionCommand.js +3 -3
- package/dist-es/commands/GetExpenseAnalysisCommand.js +3 -3
- package/dist-es/commands/StartDocumentAnalysisCommand.js +3 -3
- package/dist-es/commands/StartDocumentTextDetectionCommand.js +3 -3
- package/dist-es/commands/StartExpenseAnalysisCommand.js +3 -3
- package/dist-es/models/models_0.js +47 -188
- package/dist-types/models/models_0.d.ts +188 -282
- package/dist-types/ts3.4/models/models_0.d.ts +94 -188
- package/package.json +7 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.IdentityDocumentFieldFilterSensitiveLog = exports.AnalyzeIDDetectionsFilterSensitiveLog = exports.NormalizedValueFilterSensitiveLog = exports.AnalyzeIDRequestFilterSensitiveLog = exports.AnalyzeExpenseResponseFilterSensitiveLog = exports.ExpenseDocumentFilterSensitiveLog = exports.LineItemGroupFilterSensitiveLog = exports.LineItemFieldsFilterSensitiveLog = exports.ExpenseFieldFilterSensitiveLog = exports.ExpenseTypeFilterSensitiveLog = exports.ExpenseDetectionFilterSensitiveLog = exports.AnalyzeExpenseRequestFilterSensitiveLog = exports.AnalyzeDocumentResponseFilterSensitiveLog = exports.HumanLoopActivationOutputFilterSensitiveLog = exports.DocumentMetadataFilterSensitiveLog = exports.BlockFilterSensitiveLog = exports.RelationshipFilterSensitiveLog = exports.GeometryFilterSensitiveLog = exports.PointFilterSensitiveLog = exports.BoundingBoxFilterSensitiveLog = exports.AnalyzeDocumentRequestFilterSensitiveLog = exports.QueriesConfigFilterSensitiveLog = exports.QueryFilterSensitiveLog = exports.HumanLoopConfigFilterSensitiveLog = exports.HumanLoopDataAttributesFilterSensitiveLog = exports.DocumentFilterSensitiveLog = exports.S3ObjectFilterSensitiveLog = exports.LimitExceededException = exports.IdempotentParameterMismatchException = exports.InvalidKMSKeyException = exports.InvalidJobIdException = exports.JobStatus = exports.ValueType = exports.UnsupportedDocumentException = exports.ThrottlingException = exports.ProvisionedThroughputExceededException = exports.InvalidS3ObjectException = exports.InvalidParameterException = exports.InternalServerError = exports.HumanLoopQuotaExceededException = exports.DocumentTooLargeException = exports.BadDocumentException = exports.TextType = exports.SelectionStatus = exports.RelationshipType = exports.EntityType = exports.BlockType = exports.ContentClassifier = exports.FeatureType = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.StartExpenseAnalysisResponseFilterSensitiveLog = exports.StartExpenseAnalysisRequestFilterSensitiveLog = exports.StartDocumentTextDetectionResponseFilterSensitiveLog = exports.StartDocumentTextDetectionRequestFilterSensitiveLog = exports.StartDocumentAnalysisResponseFilterSensitiveLog = exports.StartDocumentAnalysisRequestFilterSensitiveLog = exports.OutputConfigFilterSensitiveLog = exports.NotificationChannelFilterSensitiveLog = exports.GetExpenseAnalysisResponseFilterSensitiveLog = exports.GetExpenseAnalysisRequestFilterSensitiveLog = exports.GetDocumentTextDetectionResponseFilterSensitiveLog = exports.GetDocumentTextDetectionRequestFilterSensitiveLog = exports.GetDocumentAnalysisResponseFilterSensitiveLog = exports.WarningFilterSensitiveLog = exports.GetDocumentAnalysisRequestFilterSensitiveLog = exports.DocumentLocationFilterSensitiveLog = exports.DetectDocumentTextResponseFilterSensitiveLog = exports.DetectDocumentTextRequestFilterSensitiveLog = exports.AnalyzeIDResponseFilterSensitiveLog = exports.IdentityDocumentFilterSensitiveLog = void 0;
|
|
5
5
|
const TextractServiceException_1 = require("./TextractServiceException");
|
|
6
6
|
class AccessDeniedException extends TextractServiceException_1.TextractServiceException {
|
|
7
7
|
constructor(opts) {
|
|
@@ -18,18 +18,6 @@ class AccessDeniedException extends TextractServiceException_1.TextractServiceEx
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
exports.AccessDeniedException = AccessDeniedException;
|
|
21
|
-
var S3Object;
|
|
22
|
-
(function (S3Object) {
|
|
23
|
-
S3Object.filterSensitiveLog = (obj) => ({
|
|
24
|
-
...obj,
|
|
25
|
-
});
|
|
26
|
-
})(S3Object = exports.S3Object || (exports.S3Object = {}));
|
|
27
|
-
var Document;
|
|
28
|
-
(function (Document) {
|
|
29
|
-
Document.filterSensitiveLog = (obj) => ({
|
|
30
|
-
...obj,
|
|
31
|
-
});
|
|
32
|
-
})(Document = exports.Document || (exports.Document = {}));
|
|
33
21
|
var FeatureType;
|
|
34
22
|
(function (FeatureType) {
|
|
35
23
|
FeatureType["FORMS"] = "FORMS";
|
|
@@ -41,36 +29,6 @@ var ContentClassifier;
|
|
|
41
29
|
ContentClassifier["FREE_OF_ADULT_CONTENT"] = "FreeOfAdultContent";
|
|
42
30
|
ContentClassifier["FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION"] = "FreeOfPersonallyIdentifiableInformation";
|
|
43
31
|
})(ContentClassifier = exports.ContentClassifier || (exports.ContentClassifier = {}));
|
|
44
|
-
var HumanLoopDataAttributes;
|
|
45
|
-
(function (HumanLoopDataAttributes) {
|
|
46
|
-
HumanLoopDataAttributes.filterSensitiveLog = (obj) => ({
|
|
47
|
-
...obj,
|
|
48
|
-
});
|
|
49
|
-
})(HumanLoopDataAttributes = exports.HumanLoopDataAttributes || (exports.HumanLoopDataAttributes = {}));
|
|
50
|
-
var HumanLoopConfig;
|
|
51
|
-
(function (HumanLoopConfig) {
|
|
52
|
-
HumanLoopConfig.filterSensitiveLog = (obj) => ({
|
|
53
|
-
...obj,
|
|
54
|
-
});
|
|
55
|
-
})(HumanLoopConfig = exports.HumanLoopConfig || (exports.HumanLoopConfig = {}));
|
|
56
|
-
var Query;
|
|
57
|
-
(function (Query) {
|
|
58
|
-
Query.filterSensitiveLog = (obj) => ({
|
|
59
|
-
...obj,
|
|
60
|
-
});
|
|
61
|
-
})(Query = exports.Query || (exports.Query = {}));
|
|
62
|
-
var QueriesConfig;
|
|
63
|
-
(function (QueriesConfig) {
|
|
64
|
-
QueriesConfig.filterSensitiveLog = (obj) => ({
|
|
65
|
-
...obj,
|
|
66
|
-
});
|
|
67
|
-
})(QueriesConfig = exports.QueriesConfig || (exports.QueriesConfig = {}));
|
|
68
|
-
var AnalyzeDocumentRequest;
|
|
69
|
-
(function (AnalyzeDocumentRequest) {
|
|
70
|
-
AnalyzeDocumentRequest.filterSensitiveLog = (obj) => ({
|
|
71
|
-
...obj,
|
|
72
|
-
});
|
|
73
|
-
})(AnalyzeDocumentRequest = exports.AnalyzeDocumentRequest || (exports.AnalyzeDocumentRequest = {}));
|
|
74
32
|
var BlockType;
|
|
75
33
|
(function (BlockType) {
|
|
76
34
|
BlockType["CELL"] = "CELL";
|
|
@@ -91,24 +49,6 @@ var EntityType;
|
|
|
91
49
|
EntityType["KEY"] = "KEY";
|
|
92
50
|
EntityType["VALUE"] = "VALUE";
|
|
93
51
|
})(EntityType = exports.EntityType || (exports.EntityType = {}));
|
|
94
|
-
var BoundingBox;
|
|
95
|
-
(function (BoundingBox) {
|
|
96
|
-
BoundingBox.filterSensitiveLog = (obj) => ({
|
|
97
|
-
...obj,
|
|
98
|
-
});
|
|
99
|
-
})(BoundingBox = exports.BoundingBox || (exports.BoundingBox = {}));
|
|
100
|
-
var Point;
|
|
101
|
-
(function (Point) {
|
|
102
|
-
Point.filterSensitiveLog = (obj) => ({
|
|
103
|
-
...obj,
|
|
104
|
-
});
|
|
105
|
-
})(Point = exports.Point || (exports.Point = {}));
|
|
106
|
-
var Geometry;
|
|
107
|
-
(function (Geometry) {
|
|
108
|
-
Geometry.filterSensitiveLog = (obj) => ({
|
|
109
|
-
...obj,
|
|
110
|
-
});
|
|
111
|
-
})(Geometry = exports.Geometry || (exports.Geometry = {}));
|
|
112
52
|
var RelationshipType;
|
|
113
53
|
(function (RelationshipType) {
|
|
114
54
|
RelationshipType["ANSWER"] = "ANSWER";
|
|
@@ -118,12 +58,6 @@ var RelationshipType;
|
|
|
118
58
|
RelationshipType["TITLE"] = "TITLE";
|
|
119
59
|
RelationshipType["VALUE"] = "VALUE";
|
|
120
60
|
})(RelationshipType = exports.RelationshipType || (exports.RelationshipType = {}));
|
|
121
|
-
var Relationship;
|
|
122
|
-
(function (Relationship) {
|
|
123
|
-
Relationship.filterSensitiveLog = (obj) => ({
|
|
124
|
-
...obj,
|
|
125
|
-
});
|
|
126
|
-
})(Relationship = exports.Relationship || (exports.Relationship = {}));
|
|
127
61
|
var SelectionStatus;
|
|
128
62
|
(function (SelectionStatus) {
|
|
129
63
|
SelectionStatus["NOT_SELECTED"] = "NOT_SELECTED";
|
|
@@ -134,30 +68,6 @@ var TextType;
|
|
|
134
68
|
TextType["HANDWRITING"] = "HANDWRITING";
|
|
135
69
|
TextType["PRINTED"] = "PRINTED";
|
|
136
70
|
})(TextType = exports.TextType || (exports.TextType = {}));
|
|
137
|
-
var Block;
|
|
138
|
-
(function (Block) {
|
|
139
|
-
Block.filterSensitiveLog = (obj) => ({
|
|
140
|
-
...obj,
|
|
141
|
-
});
|
|
142
|
-
})(Block = exports.Block || (exports.Block = {}));
|
|
143
|
-
var DocumentMetadata;
|
|
144
|
-
(function (DocumentMetadata) {
|
|
145
|
-
DocumentMetadata.filterSensitiveLog = (obj) => ({
|
|
146
|
-
...obj,
|
|
147
|
-
});
|
|
148
|
-
})(DocumentMetadata = exports.DocumentMetadata || (exports.DocumentMetadata = {}));
|
|
149
|
-
var HumanLoopActivationOutput;
|
|
150
|
-
(function (HumanLoopActivationOutput) {
|
|
151
|
-
HumanLoopActivationOutput.filterSensitiveLog = (obj) => ({
|
|
152
|
-
...obj,
|
|
153
|
-
});
|
|
154
|
-
})(HumanLoopActivationOutput = exports.HumanLoopActivationOutput || (exports.HumanLoopActivationOutput = {}));
|
|
155
|
-
var AnalyzeDocumentResponse;
|
|
156
|
-
(function (AnalyzeDocumentResponse) {
|
|
157
|
-
AnalyzeDocumentResponse.filterSensitiveLog = (obj) => ({
|
|
158
|
-
...obj,
|
|
159
|
-
});
|
|
160
|
-
})(AnalyzeDocumentResponse = exports.AnalyzeDocumentResponse || (exports.AnalyzeDocumentResponse = {}));
|
|
161
71
|
class BadDocumentException extends TextractServiceException_1.TextractServiceException {
|
|
162
72
|
constructor(opts) {
|
|
163
73
|
super({
|
|
@@ -296,118 +206,10 @@ class UnsupportedDocumentException extends TextractServiceException_1.TextractSe
|
|
|
296
206
|
}
|
|
297
207
|
}
|
|
298
208
|
exports.UnsupportedDocumentException = UnsupportedDocumentException;
|
|
299
|
-
var AnalyzeExpenseRequest;
|
|
300
|
-
(function (AnalyzeExpenseRequest) {
|
|
301
|
-
AnalyzeExpenseRequest.filterSensitiveLog = (obj) => ({
|
|
302
|
-
...obj,
|
|
303
|
-
});
|
|
304
|
-
})(AnalyzeExpenseRequest = exports.AnalyzeExpenseRequest || (exports.AnalyzeExpenseRequest = {}));
|
|
305
|
-
var ExpenseDetection;
|
|
306
|
-
(function (ExpenseDetection) {
|
|
307
|
-
ExpenseDetection.filterSensitiveLog = (obj) => ({
|
|
308
|
-
...obj,
|
|
309
|
-
});
|
|
310
|
-
})(ExpenseDetection = exports.ExpenseDetection || (exports.ExpenseDetection = {}));
|
|
311
|
-
var ExpenseType;
|
|
312
|
-
(function (ExpenseType) {
|
|
313
|
-
ExpenseType.filterSensitiveLog = (obj) => ({
|
|
314
|
-
...obj,
|
|
315
|
-
});
|
|
316
|
-
})(ExpenseType = exports.ExpenseType || (exports.ExpenseType = {}));
|
|
317
|
-
var ExpenseField;
|
|
318
|
-
(function (ExpenseField) {
|
|
319
|
-
ExpenseField.filterSensitiveLog = (obj) => ({
|
|
320
|
-
...obj,
|
|
321
|
-
});
|
|
322
|
-
})(ExpenseField = exports.ExpenseField || (exports.ExpenseField = {}));
|
|
323
|
-
var LineItemFields;
|
|
324
|
-
(function (LineItemFields) {
|
|
325
|
-
LineItemFields.filterSensitiveLog = (obj) => ({
|
|
326
|
-
...obj,
|
|
327
|
-
});
|
|
328
|
-
})(LineItemFields = exports.LineItemFields || (exports.LineItemFields = {}));
|
|
329
|
-
var LineItemGroup;
|
|
330
|
-
(function (LineItemGroup) {
|
|
331
|
-
LineItemGroup.filterSensitiveLog = (obj) => ({
|
|
332
|
-
...obj,
|
|
333
|
-
});
|
|
334
|
-
})(LineItemGroup = exports.LineItemGroup || (exports.LineItemGroup = {}));
|
|
335
|
-
var ExpenseDocument;
|
|
336
|
-
(function (ExpenseDocument) {
|
|
337
|
-
ExpenseDocument.filterSensitiveLog = (obj) => ({
|
|
338
|
-
...obj,
|
|
339
|
-
});
|
|
340
|
-
})(ExpenseDocument = exports.ExpenseDocument || (exports.ExpenseDocument = {}));
|
|
341
|
-
var AnalyzeExpenseResponse;
|
|
342
|
-
(function (AnalyzeExpenseResponse) {
|
|
343
|
-
AnalyzeExpenseResponse.filterSensitiveLog = (obj) => ({
|
|
344
|
-
...obj,
|
|
345
|
-
});
|
|
346
|
-
})(AnalyzeExpenseResponse = exports.AnalyzeExpenseResponse || (exports.AnalyzeExpenseResponse = {}));
|
|
347
|
-
var AnalyzeIDRequest;
|
|
348
|
-
(function (AnalyzeIDRequest) {
|
|
349
|
-
AnalyzeIDRequest.filterSensitiveLog = (obj) => ({
|
|
350
|
-
...obj,
|
|
351
|
-
});
|
|
352
|
-
})(AnalyzeIDRequest = exports.AnalyzeIDRequest || (exports.AnalyzeIDRequest = {}));
|
|
353
209
|
var ValueType;
|
|
354
210
|
(function (ValueType) {
|
|
355
211
|
ValueType["DATE"] = "DATE";
|
|
356
212
|
})(ValueType = exports.ValueType || (exports.ValueType = {}));
|
|
357
|
-
var NormalizedValue;
|
|
358
|
-
(function (NormalizedValue) {
|
|
359
|
-
NormalizedValue.filterSensitiveLog = (obj) => ({
|
|
360
|
-
...obj,
|
|
361
|
-
});
|
|
362
|
-
})(NormalizedValue = exports.NormalizedValue || (exports.NormalizedValue = {}));
|
|
363
|
-
var AnalyzeIDDetections;
|
|
364
|
-
(function (AnalyzeIDDetections) {
|
|
365
|
-
AnalyzeIDDetections.filterSensitiveLog = (obj) => ({
|
|
366
|
-
...obj,
|
|
367
|
-
});
|
|
368
|
-
})(AnalyzeIDDetections = exports.AnalyzeIDDetections || (exports.AnalyzeIDDetections = {}));
|
|
369
|
-
var IdentityDocumentField;
|
|
370
|
-
(function (IdentityDocumentField) {
|
|
371
|
-
IdentityDocumentField.filterSensitiveLog = (obj) => ({
|
|
372
|
-
...obj,
|
|
373
|
-
});
|
|
374
|
-
})(IdentityDocumentField = exports.IdentityDocumentField || (exports.IdentityDocumentField = {}));
|
|
375
|
-
var IdentityDocument;
|
|
376
|
-
(function (IdentityDocument) {
|
|
377
|
-
IdentityDocument.filterSensitiveLog = (obj) => ({
|
|
378
|
-
...obj,
|
|
379
|
-
});
|
|
380
|
-
})(IdentityDocument = exports.IdentityDocument || (exports.IdentityDocument = {}));
|
|
381
|
-
var AnalyzeIDResponse;
|
|
382
|
-
(function (AnalyzeIDResponse) {
|
|
383
|
-
AnalyzeIDResponse.filterSensitiveLog = (obj) => ({
|
|
384
|
-
...obj,
|
|
385
|
-
});
|
|
386
|
-
})(AnalyzeIDResponse = exports.AnalyzeIDResponse || (exports.AnalyzeIDResponse = {}));
|
|
387
|
-
var DetectDocumentTextRequest;
|
|
388
|
-
(function (DetectDocumentTextRequest) {
|
|
389
|
-
DetectDocumentTextRequest.filterSensitiveLog = (obj) => ({
|
|
390
|
-
...obj,
|
|
391
|
-
});
|
|
392
|
-
})(DetectDocumentTextRequest = exports.DetectDocumentTextRequest || (exports.DetectDocumentTextRequest = {}));
|
|
393
|
-
var DetectDocumentTextResponse;
|
|
394
|
-
(function (DetectDocumentTextResponse) {
|
|
395
|
-
DetectDocumentTextResponse.filterSensitiveLog = (obj) => ({
|
|
396
|
-
...obj,
|
|
397
|
-
});
|
|
398
|
-
})(DetectDocumentTextResponse = exports.DetectDocumentTextResponse || (exports.DetectDocumentTextResponse = {}));
|
|
399
|
-
var DocumentLocation;
|
|
400
|
-
(function (DocumentLocation) {
|
|
401
|
-
DocumentLocation.filterSensitiveLog = (obj) => ({
|
|
402
|
-
...obj,
|
|
403
|
-
});
|
|
404
|
-
})(DocumentLocation = exports.DocumentLocation || (exports.DocumentLocation = {}));
|
|
405
|
-
var GetDocumentAnalysisRequest;
|
|
406
|
-
(function (GetDocumentAnalysisRequest) {
|
|
407
|
-
GetDocumentAnalysisRequest.filterSensitiveLog = (obj) => ({
|
|
408
|
-
...obj,
|
|
409
|
-
});
|
|
410
|
-
})(GetDocumentAnalysisRequest = exports.GetDocumentAnalysisRequest || (exports.GetDocumentAnalysisRequest = {}));
|
|
411
213
|
var JobStatus;
|
|
412
214
|
(function (JobStatus) {
|
|
413
215
|
JobStatus["FAILED"] = "FAILED";
|
|
@@ -415,18 +217,6 @@ var JobStatus;
|
|
|
415
217
|
JobStatus["PARTIAL_SUCCESS"] = "PARTIAL_SUCCESS";
|
|
416
218
|
JobStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
417
219
|
})(JobStatus = exports.JobStatus || (exports.JobStatus = {}));
|
|
418
|
-
var Warning;
|
|
419
|
-
(function (Warning) {
|
|
420
|
-
Warning.filterSensitiveLog = (obj) => ({
|
|
421
|
-
...obj,
|
|
422
|
-
});
|
|
423
|
-
})(Warning = exports.Warning || (exports.Warning = {}));
|
|
424
|
-
var GetDocumentAnalysisResponse;
|
|
425
|
-
(function (GetDocumentAnalysisResponse) {
|
|
426
|
-
GetDocumentAnalysisResponse.filterSensitiveLog = (obj) => ({
|
|
427
|
-
...obj,
|
|
428
|
-
});
|
|
429
|
-
})(GetDocumentAnalysisResponse = exports.GetDocumentAnalysisResponse || (exports.GetDocumentAnalysisResponse = {}));
|
|
430
220
|
class InvalidJobIdException extends TextractServiceException_1.TextractServiceException {
|
|
431
221
|
constructor(opts) {
|
|
432
222
|
super({
|
|
@@ -457,30 +247,6 @@ class InvalidKMSKeyException extends TextractServiceException_1.TextractServiceE
|
|
|
457
247
|
}
|
|
458
248
|
}
|
|
459
249
|
exports.InvalidKMSKeyException = InvalidKMSKeyException;
|
|
460
|
-
var GetDocumentTextDetectionRequest;
|
|
461
|
-
(function (GetDocumentTextDetectionRequest) {
|
|
462
|
-
GetDocumentTextDetectionRequest.filterSensitiveLog = (obj) => ({
|
|
463
|
-
...obj,
|
|
464
|
-
});
|
|
465
|
-
})(GetDocumentTextDetectionRequest = exports.GetDocumentTextDetectionRequest || (exports.GetDocumentTextDetectionRequest = {}));
|
|
466
|
-
var GetDocumentTextDetectionResponse;
|
|
467
|
-
(function (GetDocumentTextDetectionResponse) {
|
|
468
|
-
GetDocumentTextDetectionResponse.filterSensitiveLog = (obj) => ({
|
|
469
|
-
...obj,
|
|
470
|
-
});
|
|
471
|
-
})(GetDocumentTextDetectionResponse = exports.GetDocumentTextDetectionResponse || (exports.GetDocumentTextDetectionResponse = {}));
|
|
472
|
-
var GetExpenseAnalysisRequest;
|
|
473
|
-
(function (GetExpenseAnalysisRequest) {
|
|
474
|
-
GetExpenseAnalysisRequest.filterSensitiveLog = (obj) => ({
|
|
475
|
-
...obj,
|
|
476
|
-
});
|
|
477
|
-
})(GetExpenseAnalysisRequest = exports.GetExpenseAnalysisRequest || (exports.GetExpenseAnalysisRequest = {}));
|
|
478
|
-
var GetExpenseAnalysisResponse;
|
|
479
|
-
(function (GetExpenseAnalysisResponse) {
|
|
480
|
-
GetExpenseAnalysisResponse.filterSensitiveLog = (obj) => ({
|
|
481
|
-
...obj,
|
|
482
|
-
});
|
|
483
|
-
})(GetExpenseAnalysisResponse = exports.GetExpenseAnalysisResponse || (exports.GetExpenseAnalysisResponse = {}));
|
|
484
250
|
class IdempotentParameterMismatchException extends TextractServiceException_1.TextractServiceException {
|
|
485
251
|
constructor(opts) {
|
|
486
252
|
super({
|
|
@@ -511,51 +277,191 @@ class LimitExceededException extends TextractServiceException_1.TextractServiceE
|
|
|
511
277
|
}
|
|
512
278
|
}
|
|
513
279
|
exports.LimitExceededException = LimitExceededException;
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
280
|
+
const S3ObjectFilterSensitiveLog = (obj) => ({
|
|
281
|
+
...obj,
|
|
282
|
+
});
|
|
283
|
+
exports.S3ObjectFilterSensitiveLog = S3ObjectFilterSensitiveLog;
|
|
284
|
+
const DocumentFilterSensitiveLog = (obj) => ({
|
|
285
|
+
...obj,
|
|
286
|
+
});
|
|
287
|
+
exports.DocumentFilterSensitiveLog = DocumentFilterSensitiveLog;
|
|
288
|
+
const HumanLoopDataAttributesFilterSensitiveLog = (obj) => ({
|
|
289
|
+
...obj,
|
|
290
|
+
});
|
|
291
|
+
exports.HumanLoopDataAttributesFilterSensitiveLog = HumanLoopDataAttributesFilterSensitiveLog;
|
|
292
|
+
const HumanLoopConfigFilterSensitiveLog = (obj) => ({
|
|
293
|
+
...obj,
|
|
294
|
+
});
|
|
295
|
+
exports.HumanLoopConfigFilterSensitiveLog = HumanLoopConfigFilterSensitiveLog;
|
|
296
|
+
const QueryFilterSensitiveLog = (obj) => ({
|
|
297
|
+
...obj,
|
|
298
|
+
});
|
|
299
|
+
exports.QueryFilterSensitiveLog = QueryFilterSensitiveLog;
|
|
300
|
+
const QueriesConfigFilterSensitiveLog = (obj) => ({
|
|
301
|
+
...obj,
|
|
302
|
+
});
|
|
303
|
+
exports.QueriesConfigFilterSensitiveLog = QueriesConfigFilterSensitiveLog;
|
|
304
|
+
const AnalyzeDocumentRequestFilterSensitiveLog = (obj) => ({
|
|
305
|
+
...obj,
|
|
306
|
+
});
|
|
307
|
+
exports.AnalyzeDocumentRequestFilterSensitiveLog = AnalyzeDocumentRequestFilterSensitiveLog;
|
|
308
|
+
const BoundingBoxFilterSensitiveLog = (obj) => ({
|
|
309
|
+
...obj,
|
|
310
|
+
});
|
|
311
|
+
exports.BoundingBoxFilterSensitiveLog = BoundingBoxFilterSensitiveLog;
|
|
312
|
+
const PointFilterSensitiveLog = (obj) => ({
|
|
313
|
+
...obj,
|
|
314
|
+
});
|
|
315
|
+
exports.PointFilterSensitiveLog = PointFilterSensitiveLog;
|
|
316
|
+
const GeometryFilterSensitiveLog = (obj) => ({
|
|
317
|
+
...obj,
|
|
318
|
+
});
|
|
319
|
+
exports.GeometryFilterSensitiveLog = GeometryFilterSensitiveLog;
|
|
320
|
+
const RelationshipFilterSensitiveLog = (obj) => ({
|
|
321
|
+
...obj,
|
|
322
|
+
});
|
|
323
|
+
exports.RelationshipFilterSensitiveLog = RelationshipFilterSensitiveLog;
|
|
324
|
+
const BlockFilterSensitiveLog = (obj) => ({
|
|
325
|
+
...obj,
|
|
326
|
+
});
|
|
327
|
+
exports.BlockFilterSensitiveLog = BlockFilterSensitiveLog;
|
|
328
|
+
const DocumentMetadataFilterSensitiveLog = (obj) => ({
|
|
329
|
+
...obj,
|
|
330
|
+
});
|
|
331
|
+
exports.DocumentMetadataFilterSensitiveLog = DocumentMetadataFilterSensitiveLog;
|
|
332
|
+
const HumanLoopActivationOutputFilterSensitiveLog = (obj) => ({
|
|
333
|
+
...obj,
|
|
334
|
+
});
|
|
335
|
+
exports.HumanLoopActivationOutputFilterSensitiveLog = HumanLoopActivationOutputFilterSensitiveLog;
|
|
336
|
+
const AnalyzeDocumentResponseFilterSensitiveLog = (obj) => ({
|
|
337
|
+
...obj,
|
|
338
|
+
});
|
|
339
|
+
exports.AnalyzeDocumentResponseFilterSensitiveLog = AnalyzeDocumentResponseFilterSensitiveLog;
|
|
340
|
+
const AnalyzeExpenseRequestFilterSensitiveLog = (obj) => ({
|
|
341
|
+
...obj,
|
|
342
|
+
});
|
|
343
|
+
exports.AnalyzeExpenseRequestFilterSensitiveLog = AnalyzeExpenseRequestFilterSensitiveLog;
|
|
344
|
+
const ExpenseDetectionFilterSensitiveLog = (obj) => ({
|
|
345
|
+
...obj,
|
|
346
|
+
});
|
|
347
|
+
exports.ExpenseDetectionFilterSensitiveLog = ExpenseDetectionFilterSensitiveLog;
|
|
348
|
+
const ExpenseTypeFilterSensitiveLog = (obj) => ({
|
|
349
|
+
...obj,
|
|
350
|
+
});
|
|
351
|
+
exports.ExpenseTypeFilterSensitiveLog = ExpenseTypeFilterSensitiveLog;
|
|
352
|
+
const ExpenseFieldFilterSensitiveLog = (obj) => ({
|
|
353
|
+
...obj,
|
|
354
|
+
});
|
|
355
|
+
exports.ExpenseFieldFilterSensitiveLog = ExpenseFieldFilterSensitiveLog;
|
|
356
|
+
const LineItemFieldsFilterSensitiveLog = (obj) => ({
|
|
357
|
+
...obj,
|
|
358
|
+
});
|
|
359
|
+
exports.LineItemFieldsFilterSensitiveLog = LineItemFieldsFilterSensitiveLog;
|
|
360
|
+
const LineItemGroupFilterSensitiveLog = (obj) => ({
|
|
361
|
+
...obj,
|
|
362
|
+
});
|
|
363
|
+
exports.LineItemGroupFilterSensitiveLog = LineItemGroupFilterSensitiveLog;
|
|
364
|
+
const ExpenseDocumentFilterSensitiveLog = (obj) => ({
|
|
365
|
+
...obj,
|
|
366
|
+
});
|
|
367
|
+
exports.ExpenseDocumentFilterSensitiveLog = ExpenseDocumentFilterSensitiveLog;
|
|
368
|
+
const AnalyzeExpenseResponseFilterSensitiveLog = (obj) => ({
|
|
369
|
+
...obj,
|
|
370
|
+
});
|
|
371
|
+
exports.AnalyzeExpenseResponseFilterSensitiveLog = AnalyzeExpenseResponseFilterSensitiveLog;
|
|
372
|
+
const AnalyzeIDRequestFilterSensitiveLog = (obj) => ({
|
|
373
|
+
...obj,
|
|
374
|
+
});
|
|
375
|
+
exports.AnalyzeIDRequestFilterSensitiveLog = AnalyzeIDRequestFilterSensitiveLog;
|
|
376
|
+
const NormalizedValueFilterSensitiveLog = (obj) => ({
|
|
377
|
+
...obj,
|
|
378
|
+
});
|
|
379
|
+
exports.NormalizedValueFilterSensitiveLog = NormalizedValueFilterSensitiveLog;
|
|
380
|
+
const AnalyzeIDDetectionsFilterSensitiveLog = (obj) => ({
|
|
381
|
+
...obj,
|
|
382
|
+
});
|
|
383
|
+
exports.AnalyzeIDDetectionsFilterSensitiveLog = AnalyzeIDDetectionsFilterSensitiveLog;
|
|
384
|
+
const IdentityDocumentFieldFilterSensitiveLog = (obj) => ({
|
|
385
|
+
...obj,
|
|
386
|
+
});
|
|
387
|
+
exports.IdentityDocumentFieldFilterSensitiveLog = IdentityDocumentFieldFilterSensitiveLog;
|
|
388
|
+
const IdentityDocumentFilterSensitiveLog = (obj) => ({
|
|
389
|
+
...obj,
|
|
390
|
+
});
|
|
391
|
+
exports.IdentityDocumentFilterSensitiveLog = IdentityDocumentFilterSensitiveLog;
|
|
392
|
+
const AnalyzeIDResponseFilterSensitiveLog = (obj) => ({
|
|
393
|
+
...obj,
|
|
394
|
+
});
|
|
395
|
+
exports.AnalyzeIDResponseFilterSensitiveLog = AnalyzeIDResponseFilterSensitiveLog;
|
|
396
|
+
const DetectDocumentTextRequestFilterSensitiveLog = (obj) => ({
|
|
397
|
+
...obj,
|
|
398
|
+
});
|
|
399
|
+
exports.DetectDocumentTextRequestFilterSensitiveLog = DetectDocumentTextRequestFilterSensitiveLog;
|
|
400
|
+
const DetectDocumentTextResponseFilterSensitiveLog = (obj) => ({
|
|
401
|
+
...obj,
|
|
402
|
+
});
|
|
403
|
+
exports.DetectDocumentTextResponseFilterSensitiveLog = DetectDocumentTextResponseFilterSensitiveLog;
|
|
404
|
+
const DocumentLocationFilterSensitiveLog = (obj) => ({
|
|
405
|
+
...obj,
|
|
406
|
+
});
|
|
407
|
+
exports.DocumentLocationFilterSensitiveLog = DocumentLocationFilterSensitiveLog;
|
|
408
|
+
const GetDocumentAnalysisRequestFilterSensitiveLog = (obj) => ({
|
|
409
|
+
...obj,
|
|
410
|
+
});
|
|
411
|
+
exports.GetDocumentAnalysisRequestFilterSensitiveLog = GetDocumentAnalysisRequestFilterSensitiveLog;
|
|
412
|
+
const WarningFilterSensitiveLog = (obj) => ({
|
|
413
|
+
...obj,
|
|
414
|
+
});
|
|
415
|
+
exports.WarningFilterSensitiveLog = WarningFilterSensitiveLog;
|
|
416
|
+
const GetDocumentAnalysisResponseFilterSensitiveLog = (obj) => ({
|
|
417
|
+
...obj,
|
|
418
|
+
});
|
|
419
|
+
exports.GetDocumentAnalysisResponseFilterSensitiveLog = GetDocumentAnalysisResponseFilterSensitiveLog;
|
|
420
|
+
const GetDocumentTextDetectionRequestFilterSensitiveLog = (obj) => ({
|
|
421
|
+
...obj,
|
|
422
|
+
});
|
|
423
|
+
exports.GetDocumentTextDetectionRequestFilterSensitiveLog = GetDocumentTextDetectionRequestFilterSensitiveLog;
|
|
424
|
+
const GetDocumentTextDetectionResponseFilterSensitiveLog = (obj) => ({
|
|
425
|
+
...obj,
|
|
426
|
+
});
|
|
427
|
+
exports.GetDocumentTextDetectionResponseFilterSensitiveLog = GetDocumentTextDetectionResponseFilterSensitiveLog;
|
|
428
|
+
const GetExpenseAnalysisRequestFilterSensitiveLog = (obj) => ({
|
|
429
|
+
...obj,
|
|
430
|
+
});
|
|
431
|
+
exports.GetExpenseAnalysisRequestFilterSensitiveLog = GetExpenseAnalysisRequestFilterSensitiveLog;
|
|
432
|
+
const GetExpenseAnalysisResponseFilterSensitiveLog = (obj) => ({
|
|
433
|
+
...obj,
|
|
434
|
+
});
|
|
435
|
+
exports.GetExpenseAnalysisResponseFilterSensitiveLog = GetExpenseAnalysisResponseFilterSensitiveLog;
|
|
436
|
+
const NotificationChannelFilterSensitiveLog = (obj) => ({
|
|
437
|
+
...obj,
|
|
438
|
+
});
|
|
439
|
+
exports.NotificationChannelFilterSensitiveLog = NotificationChannelFilterSensitiveLog;
|
|
440
|
+
const OutputConfigFilterSensitiveLog = (obj) => ({
|
|
441
|
+
...obj,
|
|
442
|
+
});
|
|
443
|
+
exports.OutputConfigFilterSensitiveLog = OutputConfigFilterSensitiveLog;
|
|
444
|
+
const StartDocumentAnalysisRequestFilterSensitiveLog = (obj) => ({
|
|
445
|
+
...obj,
|
|
446
|
+
});
|
|
447
|
+
exports.StartDocumentAnalysisRequestFilterSensitiveLog = StartDocumentAnalysisRequestFilterSensitiveLog;
|
|
448
|
+
const StartDocumentAnalysisResponseFilterSensitiveLog = (obj) => ({
|
|
449
|
+
...obj,
|
|
450
|
+
});
|
|
451
|
+
exports.StartDocumentAnalysisResponseFilterSensitiveLog = StartDocumentAnalysisResponseFilterSensitiveLog;
|
|
452
|
+
const StartDocumentTextDetectionRequestFilterSensitiveLog = (obj) => ({
|
|
453
|
+
...obj,
|
|
454
|
+
});
|
|
455
|
+
exports.StartDocumentTextDetectionRequestFilterSensitiveLog = StartDocumentTextDetectionRequestFilterSensitiveLog;
|
|
456
|
+
const StartDocumentTextDetectionResponseFilterSensitiveLog = (obj) => ({
|
|
457
|
+
...obj,
|
|
458
|
+
});
|
|
459
|
+
exports.StartDocumentTextDetectionResponseFilterSensitiveLog = StartDocumentTextDetectionResponseFilterSensitiveLog;
|
|
460
|
+
const StartExpenseAnalysisRequestFilterSensitiveLog = (obj) => ({
|
|
461
|
+
...obj,
|
|
462
|
+
});
|
|
463
|
+
exports.StartExpenseAnalysisRequestFilterSensitiveLog = StartExpenseAnalysisRequestFilterSensitiveLog;
|
|
464
|
+
const StartExpenseAnalysisResponseFilterSensitiveLog = (obj) => ({
|
|
465
|
+
...obj,
|
|
466
|
+
});
|
|
467
|
+
exports.StartExpenseAnalysisResponseFilterSensitiveLog = StartExpenseAnalysisResponseFilterSensitiveLog;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { AnalyzeDocumentRequestFilterSensitiveLog, AnalyzeDocumentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1AnalyzeDocumentCommand, serializeAws_json1_1AnalyzeDocumentCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var AnalyzeDocumentCommand = (function (_super) {
|
|
7
7
|
__extends(AnalyzeDocumentCommand, _super);
|
|
@@ -20,8 +20,8 @@ var AnalyzeDocumentCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: AnalyzeDocumentRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: AnalyzeDocumentResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { AnalyzeExpenseRequestFilterSensitiveLog, AnalyzeExpenseResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1AnalyzeExpenseCommand, serializeAws_json1_1AnalyzeExpenseCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var AnalyzeExpenseCommand = (function (_super) {
|
|
7
7
|
__extends(AnalyzeExpenseCommand, _super);
|
|
@@ -20,8 +20,8 @@ var AnalyzeExpenseCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: AnalyzeExpenseRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: AnalyzeExpenseResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { AnalyzeIDRequestFilterSensitiveLog, AnalyzeIDResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1AnalyzeIDCommand, serializeAws_json1_1AnalyzeIDCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
var AnalyzeIDCommand = (function (_super) {
|
|
7
7
|
__extends(AnalyzeIDCommand, _super);
|
|
@@ -20,8 +20,8 @@ var AnalyzeIDCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: AnalyzeIDRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: AnalyzeIDResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DetectDocumentTextRequestFilterSensitiveLog, DetectDocumentTextResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DetectDocumentTextCommand, serializeAws_json1_1DetectDocumentTextCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DetectDocumentTextCommand = (function (_super) {
|
|
7
7
|
__extends(DetectDocumentTextCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DetectDocumentTextCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DetectDocumentTextRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DetectDocumentTextResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetDocumentAnalysisRequestFilterSensitiveLog, GetDocumentAnalysisResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1GetDocumentAnalysisCommand, serializeAws_json1_1GetDocumentAnalysisCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var GetDocumentAnalysisCommand = (function (_super) {
|
|
7
7
|
__extends(GetDocumentAnalysisCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetDocumentAnalysisCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetDocumentAnalysisRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetDocumentAnalysisResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|