@aws-sdk/client-textract 3.131.0 → 3.142.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 +33 -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-cjs/protocols/Aws_json1_1.js +50 -95
- 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-es/protocols/Aws_json1_1.js +81 -96
- 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 +6 -6
|
@@ -124,7 +124,6 @@ const deserializeAws_json1_1AnalyzeDocumentCommandError = async (output, context
|
|
|
124
124
|
...output,
|
|
125
125
|
body: await parseBody(output.body, context),
|
|
126
126
|
};
|
|
127
|
-
let response;
|
|
128
127
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
129
128
|
switch (errorCode) {
|
|
130
129
|
case "AccessDeniedException":
|
|
@@ -159,14 +158,12 @@ const deserializeAws_json1_1AnalyzeDocumentCommandError = async (output, context
|
|
|
159
158
|
throw await deserializeAws_json1_1UnsupportedDocumentExceptionResponse(parsedOutput, context);
|
|
160
159
|
default:
|
|
161
160
|
const parsedBody = parsedOutput.body;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
$metadata,
|
|
161
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
162
|
+
output,
|
|
163
|
+
parsedBody,
|
|
164
|
+
exceptionCtor: TextractServiceException_1.TextractServiceException,
|
|
165
|
+
errorCode,
|
|
168
166
|
});
|
|
169
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
170
167
|
}
|
|
171
168
|
};
|
|
172
169
|
const deserializeAws_json1_1AnalyzeExpenseCommand = async (output, context) => {
|
|
@@ -188,7 +185,6 @@ const deserializeAws_json1_1AnalyzeExpenseCommandError = async (output, context)
|
|
|
188
185
|
...output,
|
|
189
186
|
body: await parseBody(output.body, context),
|
|
190
187
|
};
|
|
191
|
-
let response;
|
|
192
188
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
193
189
|
switch (errorCode) {
|
|
194
190
|
case "AccessDeniedException":
|
|
@@ -220,14 +216,12 @@ const deserializeAws_json1_1AnalyzeExpenseCommandError = async (output, context)
|
|
|
220
216
|
throw await deserializeAws_json1_1UnsupportedDocumentExceptionResponse(parsedOutput, context);
|
|
221
217
|
default:
|
|
222
218
|
const parsedBody = parsedOutput.body;
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
$metadata,
|
|
219
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
220
|
+
output,
|
|
221
|
+
parsedBody,
|
|
222
|
+
exceptionCtor: TextractServiceException_1.TextractServiceException,
|
|
223
|
+
errorCode,
|
|
229
224
|
});
|
|
230
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
231
225
|
}
|
|
232
226
|
};
|
|
233
227
|
const deserializeAws_json1_1AnalyzeIDCommand = async (output, context) => {
|
|
@@ -249,7 +243,6 @@ const deserializeAws_json1_1AnalyzeIDCommandError = async (output, context) => {
|
|
|
249
243
|
...output,
|
|
250
244
|
body: await parseBody(output.body, context),
|
|
251
245
|
};
|
|
252
|
-
let response;
|
|
253
246
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
254
247
|
switch (errorCode) {
|
|
255
248
|
case "AccessDeniedException":
|
|
@@ -281,14 +274,12 @@ const deserializeAws_json1_1AnalyzeIDCommandError = async (output, context) => {
|
|
|
281
274
|
throw await deserializeAws_json1_1UnsupportedDocumentExceptionResponse(parsedOutput, context);
|
|
282
275
|
default:
|
|
283
276
|
const parsedBody = parsedOutput.body;
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
$metadata,
|
|
277
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
278
|
+
output,
|
|
279
|
+
parsedBody,
|
|
280
|
+
exceptionCtor: TextractServiceException_1.TextractServiceException,
|
|
281
|
+
errorCode,
|
|
290
282
|
});
|
|
291
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
292
283
|
}
|
|
293
284
|
};
|
|
294
285
|
const deserializeAws_json1_1DetectDocumentTextCommand = async (output, context) => {
|
|
@@ -310,7 +301,6 @@ const deserializeAws_json1_1DetectDocumentTextCommandError = async (output, cont
|
|
|
310
301
|
...output,
|
|
311
302
|
body: await parseBody(output.body, context),
|
|
312
303
|
};
|
|
313
|
-
let response;
|
|
314
304
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
315
305
|
switch (errorCode) {
|
|
316
306
|
case "AccessDeniedException":
|
|
@@ -342,14 +332,12 @@ const deserializeAws_json1_1DetectDocumentTextCommandError = async (output, cont
|
|
|
342
332
|
throw await deserializeAws_json1_1UnsupportedDocumentExceptionResponse(parsedOutput, context);
|
|
343
333
|
default:
|
|
344
334
|
const parsedBody = parsedOutput.body;
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
$metadata,
|
|
335
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
336
|
+
output,
|
|
337
|
+
parsedBody,
|
|
338
|
+
exceptionCtor: TextractServiceException_1.TextractServiceException,
|
|
339
|
+
errorCode,
|
|
351
340
|
});
|
|
352
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
353
341
|
}
|
|
354
342
|
};
|
|
355
343
|
const deserializeAws_json1_1GetDocumentAnalysisCommand = async (output, context) => {
|
|
@@ -371,7 +359,6 @@ const deserializeAws_json1_1GetDocumentAnalysisCommandError = async (output, con
|
|
|
371
359
|
...output,
|
|
372
360
|
body: await parseBody(output.body, context),
|
|
373
361
|
};
|
|
374
|
-
let response;
|
|
375
362
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
376
363
|
switch (errorCode) {
|
|
377
364
|
case "AccessDeniedException":
|
|
@@ -400,14 +387,12 @@ const deserializeAws_json1_1GetDocumentAnalysisCommandError = async (output, con
|
|
|
400
387
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
401
388
|
default:
|
|
402
389
|
const parsedBody = parsedOutput.body;
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
$metadata,
|
|
390
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
391
|
+
output,
|
|
392
|
+
parsedBody,
|
|
393
|
+
exceptionCtor: TextractServiceException_1.TextractServiceException,
|
|
394
|
+
errorCode,
|
|
409
395
|
});
|
|
410
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
411
396
|
}
|
|
412
397
|
};
|
|
413
398
|
const deserializeAws_json1_1GetDocumentTextDetectionCommand = async (output, context) => {
|
|
@@ -429,7 +414,6 @@ const deserializeAws_json1_1GetDocumentTextDetectionCommandError = async (output
|
|
|
429
414
|
...output,
|
|
430
415
|
body: await parseBody(output.body, context),
|
|
431
416
|
};
|
|
432
|
-
let response;
|
|
433
417
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
434
418
|
switch (errorCode) {
|
|
435
419
|
case "AccessDeniedException":
|
|
@@ -458,14 +442,12 @@ const deserializeAws_json1_1GetDocumentTextDetectionCommandError = async (output
|
|
|
458
442
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
459
443
|
default:
|
|
460
444
|
const parsedBody = parsedOutput.body;
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
$metadata,
|
|
445
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
446
|
+
output,
|
|
447
|
+
parsedBody,
|
|
448
|
+
exceptionCtor: TextractServiceException_1.TextractServiceException,
|
|
449
|
+
errorCode,
|
|
467
450
|
});
|
|
468
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
469
451
|
}
|
|
470
452
|
};
|
|
471
453
|
const deserializeAws_json1_1GetExpenseAnalysisCommand = async (output, context) => {
|
|
@@ -487,7 +469,6 @@ const deserializeAws_json1_1GetExpenseAnalysisCommandError = async (output, cont
|
|
|
487
469
|
...output,
|
|
488
470
|
body: await parseBody(output.body, context),
|
|
489
471
|
};
|
|
490
|
-
let response;
|
|
491
472
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
492
473
|
switch (errorCode) {
|
|
493
474
|
case "AccessDeniedException":
|
|
@@ -516,14 +497,12 @@ const deserializeAws_json1_1GetExpenseAnalysisCommandError = async (output, cont
|
|
|
516
497
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
517
498
|
default:
|
|
518
499
|
const parsedBody = parsedOutput.body;
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
$metadata,
|
|
500
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
501
|
+
output,
|
|
502
|
+
parsedBody,
|
|
503
|
+
exceptionCtor: TextractServiceException_1.TextractServiceException,
|
|
504
|
+
errorCode,
|
|
525
505
|
});
|
|
526
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
527
506
|
}
|
|
528
507
|
};
|
|
529
508
|
const deserializeAws_json1_1StartDocumentAnalysisCommand = async (output, context) => {
|
|
@@ -545,7 +524,6 @@ const deserializeAws_json1_1StartDocumentAnalysisCommandError = async (output, c
|
|
|
545
524
|
...output,
|
|
546
525
|
body: await parseBody(output.body, context),
|
|
547
526
|
};
|
|
548
|
-
let response;
|
|
549
527
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
550
528
|
switch (errorCode) {
|
|
551
529
|
case "AccessDeniedException":
|
|
@@ -586,14 +564,12 @@ const deserializeAws_json1_1StartDocumentAnalysisCommandError = async (output, c
|
|
|
586
564
|
throw await deserializeAws_json1_1UnsupportedDocumentExceptionResponse(parsedOutput, context);
|
|
587
565
|
default:
|
|
588
566
|
const parsedBody = parsedOutput.body;
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
$metadata,
|
|
567
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
568
|
+
output,
|
|
569
|
+
parsedBody,
|
|
570
|
+
exceptionCtor: TextractServiceException_1.TextractServiceException,
|
|
571
|
+
errorCode,
|
|
595
572
|
});
|
|
596
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
597
573
|
}
|
|
598
574
|
};
|
|
599
575
|
const deserializeAws_json1_1StartDocumentTextDetectionCommand = async (output, context) => {
|
|
@@ -615,7 +591,6 @@ const deserializeAws_json1_1StartDocumentTextDetectionCommandError = async (outp
|
|
|
615
591
|
...output,
|
|
616
592
|
body: await parseBody(output.body, context),
|
|
617
593
|
};
|
|
618
|
-
let response;
|
|
619
594
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
620
595
|
switch (errorCode) {
|
|
621
596
|
case "AccessDeniedException":
|
|
@@ -656,14 +631,12 @@ const deserializeAws_json1_1StartDocumentTextDetectionCommandError = async (outp
|
|
|
656
631
|
throw await deserializeAws_json1_1UnsupportedDocumentExceptionResponse(parsedOutput, context);
|
|
657
632
|
default:
|
|
658
633
|
const parsedBody = parsedOutput.body;
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
$metadata,
|
|
634
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
635
|
+
output,
|
|
636
|
+
parsedBody,
|
|
637
|
+
exceptionCtor: TextractServiceException_1.TextractServiceException,
|
|
638
|
+
errorCode,
|
|
665
639
|
});
|
|
666
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
667
640
|
}
|
|
668
641
|
};
|
|
669
642
|
const deserializeAws_json1_1StartExpenseAnalysisCommand = async (output, context) => {
|
|
@@ -685,7 +658,6 @@ const deserializeAws_json1_1StartExpenseAnalysisCommandError = async (output, co
|
|
|
685
658
|
...output,
|
|
686
659
|
body: await parseBody(output.body, context),
|
|
687
660
|
};
|
|
688
|
-
let response;
|
|
689
661
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
690
662
|
switch (errorCode) {
|
|
691
663
|
case "AccessDeniedException":
|
|
@@ -726,14 +698,12 @@ const deserializeAws_json1_1StartExpenseAnalysisCommandError = async (output, co
|
|
|
726
698
|
throw await deserializeAws_json1_1UnsupportedDocumentExceptionResponse(parsedOutput, context);
|
|
727
699
|
default:
|
|
728
700
|
const parsedBody = parsedOutput.body;
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
$metadata,
|
|
701
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
702
|
+
output,
|
|
703
|
+
parsedBody,
|
|
704
|
+
exceptionCtor: TextractServiceException_1.TextractServiceException,
|
|
705
|
+
errorCode,
|
|
735
706
|
});
|
|
736
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
737
707
|
}
|
|
738
708
|
};
|
|
739
709
|
const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -890,9 +860,6 @@ const serializeAws_json1_1ContentClassifiers = (input, context) => {
|
|
|
890
860
|
return input
|
|
891
861
|
.filter((e) => e != null)
|
|
892
862
|
.map((entry) => {
|
|
893
|
-
if (entry === null) {
|
|
894
|
-
return null;
|
|
895
|
-
}
|
|
896
863
|
return entry;
|
|
897
864
|
});
|
|
898
865
|
};
|
|
@@ -916,9 +883,6 @@ const serializeAws_json1_1DocumentPages = (input, context) => {
|
|
|
916
883
|
return input
|
|
917
884
|
.filter((e) => e != null)
|
|
918
885
|
.map((entry) => {
|
|
919
|
-
if (entry === null) {
|
|
920
|
-
return null;
|
|
921
|
-
}
|
|
922
886
|
return serializeAws_json1_1Document(entry, context);
|
|
923
887
|
});
|
|
924
888
|
};
|
|
@@ -926,9 +890,6 @@ const serializeAws_json1_1FeatureTypes = (input, context) => {
|
|
|
926
890
|
return input
|
|
927
891
|
.filter((e) => e != null)
|
|
928
892
|
.map((entry) => {
|
|
929
|
-
if (entry === null) {
|
|
930
|
-
return null;
|
|
931
|
-
}
|
|
932
893
|
return entry;
|
|
933
894
|
});
|
|
934
895
|
};
|
|
@@ -985,9 +946,6 @@ const serializeAws_json1_1Queries = (input, context) => {
|
|
|
985
946
|
return input
|
|
986
947
|
.filter((e) => e != null)
|
|
987
948
|
.map((entry) => {
|
|
988
|
-
if (entry === null) {
|
|
989
|
-
return null;
|
|
990
|
-
}
|
|
991
949
|
return serializeAws_json1_1Query(entry, context);
|
|
992
950
|
});
|
|
993
951
|
};
|
|
@@ -1007,9 +965,6 @@ const serializeAws_json1_1QueryPages = (input, context) => {
|
|
|
1007
965
|
return input
|
|
1008
966
|
.filter((e) => e != null)
|
|
1009
967
|
.map((entry) => {
|
|
1010
|
-
if (entry === null) {
|
|
1011
|
-
return null;
|
|
1012
|
-
}
|
|
1013
968
|
return entry;
|
|
1014
969
|
});
|
|
1015
970
|
};
|
|
@@ -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) {
|
|
@@ -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 { GetDocumentTextDetectionRequestFilterSensitiveLog, GetDocumentTextDetectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1GetDocumentTextDetectionCommand, serializeAws_json1_1GetDocumentTextDetectionCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var GetDocumentTextDetectionCommand = (function (_super) {
|
|
7
7
|
__extends(GetDocumentTextDetectionCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetDocumentTextDetectionCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetDocumentTextDetectionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetDocumentTextDetectionResponseFilterSensitiveLog,
|
|
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 { GetExpenseAnalysisRequestFilterSensitiveLog, GetExpenseAnalysisResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1GetExpenseAnalysisCommand, serializeAws_json1_1GetExpenseAnalysisCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var GetExpenseAnalysisCommand = (function (_super) {
|
|
7
7
|
__extends(GetExpenseAnalysisCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetExpenseAnalysisCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetExpenseAnalysisRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetExpenseAnalysisResponseFilterSensitiveLog,
|
|
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 { StartDocumentAnalysisRequestFilterSensitiveLog, StartDocumentAnalysisResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1StartDocumentAnalysisCommand, serializeAws_json1_1StartDocumentAnalysisCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var StartDocumentAnalysisCommand = (function (_super) {
|
|
7
7
|
__extends(StartDocumentAnalysisCommand, _super);
|
|
@@ -20,8 +20,8 @@ var StartDocumentAnalysisCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: StartDocumentAnalysisRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: StartDocumentAnalysisResponseFilterSensitiveLog,
|
|
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 { StartDocumentTextDetectionRequestFilterSensitiveLog, StartDocumentTextDetectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1StartDocumentTextDetectionCommand, serializeAws_json1_1StartDocumentTextDetectionCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var StartDocumentTextDetectionCommand = (function (_super) {
|
|
7
7
|
__extends(StartDocumentTextDetectionCommand, _super);
|
|
@@ -20,8 +20,8 @@ var StartDocumentTextDetectionCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: StartDocumentTextDetectionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: StartDocumentTextDetectionResponseFilterSensitiveLog,
|
|
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 { StartExpenseAnalysisRequestFilterSensitiveLog, StartExpenseAnalysisResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1StartExpenseAnalysisCommand, serializeAws_json1_1StartExpenseAnalysisCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var StartExpenseAnalysisCommand = (function (_super) {
|
|
7
7
|
__extends(StartExpenseAnalysisCommand, _super);
|
|
@@ -20,8 +20,8 @@ var StartExpenseAnalysisCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: StartExpenseAnalysisRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: StartExpenseAnalysisResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|