@aws-sdk/client-textract 3.215.0 → 3.218.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/Textract.js +45 -0
- package/dist-cjs/commands/GetLendingAnalysisCommand.js +46 -0
- package/dist-cjs/commands/GetLendingAnalysisSummaryCommand.js +46 -0
- package/dist-cjs/commands/StartLendingAnalysisCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +77 -1
- package/dist-cjs/protocols/Aws_json1_1.js +501 -1
- package/dist-es/Textract.js +45 -0
- package/dist-es/commands/GetLendingAnalysisCommand.js +42 -0
- package/dist-es/commands/GetLendingAnalysisSummaryCommand.js +42 -0
- package/dist-es/commands/StartLendingAnalysisCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +57 -0
- package/dist-es/protocols/Aws_json1_1.js +494 -0
- package/dist-types/Textract.d.ts +72 -0
- package/dist-types/TextractClient.d.ts +5 -2
- package/dist-types/commands/GetLendingAnalysisCommand.d.ts +47 -0
- package/dist-types/commands/GetLendingAnalysisSummaryCommand.d.ts +48 -0
- package/dist-types/commands/StartLendingAnalysisCommand.d.ts +67 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +431 -10
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/Textract.d.ts +51 -0
- package/dist-types/ts3.4/TextractClient.d.ts +20 -2
- package/dist-types/ts3.4/commands/GetLendingAnalysisCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetLendingAnalysisSummaryCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StartLendingAnalysisCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +144 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +4 -4
package/dist-cjs/Textract.js
CHANGED
|
@@ -8,9 +8,12 @@ const DetectDocumentTextCommand_1 = require("./commands/DetectDocumentTextComman
|
|
|
8
8
|
const GetDocumentAnalysisCommand_1 = require("./commands/GetDocumentAnalysisCommand");
|
|
9
9
|
const GetDocumentTextDetectionCommand_1 = require("./commands/GetDocumentTextDetectionCommand");
|
|
10
10
|
const GetExpenseAnalysisCommand_1 = require("./commands/GetExpenseAnalysisCommand");
|
|
11
|
+
const GetLendingAnalysisCommand_1 = require("./commands/GetLendingAnalysisCommand");
|
|
12
|
+
const GetLendingAnalysisSummaryCommand_1 = require("./commands/GetLendingAnalysisSummaryCommand");
|
|
11
13
|
const StartDocumentAnalysisCommand_1 = require("./commands/StartDocumentAnalysisCommand");
|
|
12
14
|
const StartDocumentTextDetectionCommand_1 = require("./commands/StartDocumentTextDetectionCommand");
|
|
13
15
|
const StartExpenseAnalysisCommand_1 = require("./commands/StartExpenseAnalysisCommand");
|
|
16
|
+
const StartLendingAnalysisCommand_1 = require("./commands/StartLendingAnalysisCommand");
|
|
14
17
|
const TextractClient_1 = require("./TextractClient");
|
|
15
18
|
class Textract extends TextractClient_1.TextractClient {
|
|
16
19
|
analyzeDocument(args, optionsOrCb, cb) {
|
|
@@ -111,6 +114,34 @@ class Textract extends TextractClient_1.TextractClient {
|
|
|
111
114
|
return this.send(command, optionsOrCb);
|
|
112
115
|
}
|
|
113
116
|
}
|
|
117
|
+
getLendingAnalysis(args, optionsOrCb, cb) {
|
|
118
|
+
const command = new GetLendingAnalysisCommand_1.GetLendingAnalysisCommand(args);
|
|
119
|
+
if (typeof optionsOrCb === "function") {
|
|
120
|
+
this.send(command, optionsOrCb);
|
|
121
|
+
}
|
|
122
|
+
else if (typeof cb === "function") {
|
|
123
|
+
if (typeof optionsOrCb !== "object")
|
|
124
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
125
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
126
|
+
}
|
|
127
|
+
else {
|
|
128
|
+
return this.send(command, optionsOrCb);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
getLendingAnalysisSummary(args, optionsOrCb, cb) {
|
|
132
|
+
const command = new GetLendingAnalysisSummaryCommand_1.GetLendingAnalysisSummaryCommand(args);
|
|
133
|
+
if (typeof optionsOrCb === "function") {
|
|
134
|
+
this.send(command, optionsOrCb);
|
|
135
|
+
}
|
|
136
|
+
else if (typeof cb === "function") {
|
|
137
|
+
if (typeof optionsOrCb !== "object")
|
|
138
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
139
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
140
|
+
}
|
|
141
|
+
else {
|
|
142
|
+
return this.send(command, optionsOrCb);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
114
145
|
startDocumentAnalysis(args, optionsOrCb, cb) {
|
|
115
146
|
const command = new StartDocumentAnalysisCommand_1.StartDocumentAnalysisCommand(args);
|
|
116
147
|
if (typeof optionsOrCb === "function") {
|
|
@@ -153,5 +184,19 @@ class Textract extends TextractClient_1.TextractClient {
|
|
|
153
184
|
return this.send(command, optionsOrCb);
|
|
154
185
|
}
|
|
155
186
|
}
|
|
187
|
+
startLendingAnalysis(args, optionsOrCb, cb) {
|
|
188
|
+
const command = new StartLendingAnalysisCommand_1.StartLendingAnalysisCommand(args);
|
|
189
|
+
if (typeof optionsOrCb === "function") {
|
|
190
|
+
this.send(command, optionsOrCb);
|
|
191
|
+
}
|
|
192
|
+
else if (typeof cb === "function") {
|
|
193
|
+
if (typeof optionsOrCb !== "object")
|
|
194
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
195
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
196
|
+
}
|
|
197
|
+
else {
|
|
198
|
+
return this.send(command, optionsOrCb);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
156
201
|
}
|
|
157
202
|
exports.Textract = Textract;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetLendingAnalysisCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class GetLendingAnalysisCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetLendingAnalysisCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "TextractClient";
|
|
28
|
+
const commandName = "GetLendingAnalysisCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.GetLendingAnalysisRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.GetLendingAnalysisResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetLendingAnalysisCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetLendingAnalysisCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.GetLendingAnalysisCommand = GetLendingAnalysisCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetLendingAnalysisSummaryCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class GetLendingAnalysisSummaryCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetLendingAnalysisSummaryCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "TextractClient";
|
|
28
|
+
const commandName = "GetLendingAnalysisSummaryCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.GetLendingAnalysisSummaryRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.GetLendingAnalysisSummaryResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetLendingAnalysisSummaryCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetLendingAnalysisSummaryCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.GetLendingAnalysisSummaryCommand = GetLendingAnalysisSummaryCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartLendingAnalysisCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class StartLendingAnalysisCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartLendingAnalysisCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "TextractClient";
|
|
28
|
+
const commandName = "StartLendingAnalysisCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.StartLendingAnalysisRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.StartLendingAnalysisResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1StartLendingAnalysisCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1StartLendingAnalysisCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.StartLendingAnalysisCommand = StartLendingAnalysisCommand;
|
|
@@ -8,6 +8,9 @@ tslib_1.__exportStar(require("./DetectDocumentTextCommand"), exports);
|
|
|
8
8
|
tslib_1.__exportStar(require("./GetDocumentAnalysisCommand"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./GetDocumentTextDetectionCommand"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./GetExpenseAnalysisCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./GetLendingAnalysisCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./GetLendingAnalysisSummaryCommand"), exports);
|
|
11
13
|
tslib_1.__exportStar(require("./StartDocumentAnalysisCommand"), exports);
|
|
12
14
|
tslib_1.__exportStar(require("./StartDocumentTextDetectionCommand"), exports);
|
|
13
15
|
tslib_1.__exportStar(require("./StartExpenseAnalysisCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./StartLendingAnalysisCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.NormalizedValueFilterSensitiveLog = exports.AnalyzeIDRequestFilterSensitiveLog = exports.AnalyzeExpenseResponseFilterSensitiveLog = exports.ExpenseDocumentFilterSensitiveLog = exports.LineItemGroupFilterSensitiveLog = exports.LineItemFieldsFilterSensitiveLog = exports.ExpenseFieldFilterSensitiveLog = exports.ExpenseTypeFilterSensitiveLog = exports.ExpenseDetectionFilterSensitiveLog = exports.ExpenseGroupPropertyFilterSensitiveLog = exports.ExpenseCurrencyFilterSensitiveLog = 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 = exports.IdentityDocumentFieldFilterSensitiveLog = exports.AnalyzeIDDetectionsFilterSensitiveLog = void 0;
|
|
4
|
+
exports.StartLendingAnalysisResponseFilterSensitiveLog = exports.StartLendingAnalysisRequestFilterSensitiveLog = exports.StartExpenseAnalysisResponseFilterSensitiveLog = exports.StartExpenseAnalysisRequestFilterSensitiveLog = exports.StartDocumentTextDetectionResponseFilterSensitiveLog = exports.StartDocumentTextDetectionRequestFilterSensitiveLog = exports.StartDocumentAnalysisResponseFilterSensitiveLog = exports.StartDocumentAnalysisRequestFilterSensitiveLog = exports.OutputConfigFilterSensitiveLog = exports.NotificationChannelFilterSensitiveLog = exports.GetLendingAnalysisSummaryResponseFilterSensitiveLog = exports.LendingSummaryFilterSensitiveLog = exports.GetLendingAnalysisSummaryRequestFilterSensitiveLog = exports.GetLendingAnalysisResponseFilterSensitiveLog = exports.LendingResultFilterSensitiveLog = exports.PageClassificationFilterSensitiveLog = exports.PredictionFilterSensitiveLog = exports.GetLendingAnalysisRequestFilterSensitiveLog = exports.GetExpenseAnalysisResponseFilterSensitiveLog = exports.GetExpenseAnalysisRequestFilterSensitiveLog = exports.GetDocumentTextDetectionResponseFilterSensitiveLog = exports.GetDocumentTextDetectionRequestFilterSensitiveLog = exports.GetDocumentAnalysisResponseFilterSensitiveLog = exports.WarningFilterSensitiveLog = exports.GetDocumentAnalysisRequestFilterSensitiveLog = exports.ExtractionFilterSensitiveLog = exports.LendingDocumentFilterSensitiveLog = exports.SignatureDetectionFilterSensitiveLog = exports.LendingFieldFilterSensitiveLog = exports.LendingDetectionFilterSensitiveLog = exports.DocumentLocationFilterSensitiveLog = exports.DocumentGroupFilterSensitiveLog = exports.UndetectedSignatureFilterSensitiveLog = exports.SplitDocumentFilterSensitiveLog = exports.DetectedSignatureFilterSensitiveLog = exports.DetectDocumentTextResponseFilterSensitiveLog = exports.DetectDocumentTextRequestFilterSensitiveLog = exports.AnalyzeIDResponseFilterSensitiveLog = exports.IdentityDocumentFilterSensitiveLog = exports.IdentityDocumentFieldFilterSensitiveLog = exports.AnalyzeIDDetectionsFilterSensitiveLog = void 0;
|
|
5
5
|
const TextractServiceException_1 = require("./TextractServiceException");
|
|
6
6
|
class AccessDeniedException extends TextractServiceException_1.TextractServiceException {
|
|
7
7
|
constructor(opts) {
|
|
@@ -411,10 +411,46 @@ const DetectDocumentTextResponseFilterSensitiveLog = (obj) => ({
|
|
|
411
411
|
...obj,
|
|
412
412
|
});
|
|
413
413
|
exports.DetectDocumentTextResponseFilterSensitiveLog = DetectDocumentTextResponseFilterSensitiveLog;
|
|
414
|
+
const DetectedSignatureFilterSensitiveLog = (obj) => ({
|
|
415
|
+
...obj,
|
|
416
|
+
});
|
|
417
|
+
exports.DetectedSignatureFilterSensitiveLog = DetectedSignatureFilterSensitiveLog;
|
|
418
|
+
const SplitDocumentFilterSensitiveLog = (obj) => ({
|
|
419
|
+
...obj,
|
|
420
|
+
});
|
|
421
|
+
exports.SplitDocumentFilterSensitiveLog = SplitDocumentFilterSensitiveLog;
|
|
422
|
+
const UndetectedSignatureFilterSensitiveLog = (obj) => ({
|
|
423
|
+
...obj,
|
|
424
|
+
});
|
|
425
|
+
exports.UndetectedSignatureFilterSensitiveLog = UndetectedSignatureFilterSensitiveLog;
|
|
426
|
+
const DocumentGroupFilterSensitiveLog = (obj) => ({
|
|
427
|
+
...obj,
|
|
428
|
+
});
|
|
429
|
+
exports.DocumentGroupFilterSensitiveLog = DocumentGroupFilterSensitiveLog;
|
|
414
430
|
const DocumentLocationFilterSensitiveLog = (obj) => ({
|
|
415
431
|
...obj,
|
|
416
432
|
});
|
|
417
433
|
exports.DocumentLocationFilterSensitiveLog = DocumentLocationFilterSensitiveLog;
|
|
434
|
+
const LendingDetectionFilterSensitiveLog = (obj) => ({
|
|
435
|
+
...obj,
|
|
436
|
+
});
|
|
437
|
+
exports.LendingDetectionFilterSensitiveLog = LendingDetectionFilterSensitiveLog;
|
|
438
|
+
const LendingFieldFilterSensitiveLog = (obj) => ({
|
|
439
|
+
...obj,
|
|
440
|
+
});
|
|
441
|
+
exports.LendingFieldFilterSensitiveLog = LendingFieldFilterSensitiveLog;
|
|
442
|
+
const SignatureDetectionFilterSensitiveLog = (obj) => ({
|
|
443
|
+
...obj,
|
|
444
|
+
});
|
|
445
|
+
exports.SignatureDetectionFilterSensitiveLog = SignatureDetectionFilterSensitiveLog;
|
|
446
|
+
const LendingDocumentFilterSensitiveLog = (obj) => ({
|
|
447
|
+
...obj,
|
|
448
|
+
});
|
|
449
|
+
exports.LendingDocumentFilterSensitiveLog = LendingDocumentFilterSensitiveLog;
|
|
450
|
+
const ExtractionFilterSensitiveLog = (obj) => ({
|
|
451
|
+
...obj,
|
|
452
|
+
});
|
|
453
|
+
exports.ExtractionFilterSensitiveLog = ExtractionFilterSensitiveLog;
|
|
418
454
|
const GetDocumentAnalysisRequestFilterSensitiveLog = (obj) => ({
|
|
419
455
|
...obj,
|
|
420
456
|
});
|
|
@@ -443,6 +479,38 @@ const GetExpenseAnalysisResponseFilterSensitiveLog = (obj) => ({
|
|
|
443
479
|
...obj,
|
|
444
480
|
});
|
|
445
481
|
exports.GetExpenseAnalysisResponseFilterSensitiveLog = GetExpenseAnalysisResponseFilterSensitiveLog;
|
|
482
|
+
const GetLendingAnalysisRequestFilterSensitiveLog = (obj) => ({
|
|
483
|
+
...obj,
|
|
484
|
+
});
|
|
485
|
+
exports.GetLendingAnalysisRequestFilterSensitiveLog = GetLendingAnalysisRequestFilterSensitiveLog;
|
|
486
|
+
const PredictionFilterSensitiveLog = (obj) => ({
|
|
487
|
+
...obj,
|
|
488
|
+
});
|
|
489
|
+
exports.PredictionFilterSensitiveLog = PredictionFilterSensitiveLog;
|
|
490
|
+
const PageClassificationFilterSensitiveLog = (obj) => ({
|
|
491
|
+
...obj,
|
|
492
|
+
});
|
|
493
|
+
exports.PageClassificationFilterSensitiveLog = PageClassificationFilterSensitiveLog;
|
|
494
|
+
const LendingResultFilterSensitiveLog = (obj) => ({
|
|
495
|
+
...obj,
|
|
496
|
+
});
|
|
497
|
+
exports.LendingResultFilterSensitiveLog = LendingResultFilterSensitiveLog;
|
|
498
|
+
const GetLendingAnalysisResponseFilterSensitiveLog = (obj) => ({
|
|
499
|
+
...obj,
|
|
500
|
+
});
|
|
501
|
+
exports.GetLendingAnalysisResponseFilterSensitiveLog = GetLendingAnalysisResponseFilterSensitiveLog;
|
|
502
|
+
const GetLendingAnalysisSummaryRequestFilterSensitiveLog = (obj) => ({
|
|
503
|
+
...obj,
|
|
504
|
+
});
|
|
505
|
+
exports.GetLendingAnalysisSummaryRequestFilterSensitiveLog = GetLendingAnalysisSummaryRequestFilterSensitiveLog;
|
|
506
|
+
const LendingSummaryFilterSensitiveLog = (obj) => ({
|
|
507
|
+
...obj,
|
|
508
|
+
});
|
|
509
|
+
exports.LendingSummaryFilterSensitiveLog = LendingSummaryFilterSensitiveLog;
|
|
510
|
+
const GetLendingAnalysisSummaryResponseFilterSensitiveLog = (obj) => ({
|
|
511
|
+
...obj,
|
|
512
|
+
});
|
|
513
|
+
exports.GetLendingAnalysisSummaryResponseFilterSensitiveLog = GetLendingAnalysisSummaryResponseFilterSensitiveLog;
|
|
446
514
|
const NotificationChannelFilterSensitiveLog = (obj) => ({
|
|
447
515
|
...obj,
|
|
448
516
|
});
|
|
@@ -475,3 +543,11 @@ const StartExpenseAnalysisResponseFilterSensitiveLog = (obj) => ({
|
|
|
475
543
|
...obj,
|
|
476
544
|
});
|
|
477
545
|
exports.StartExpenseAnalysisResponseFilterSensitiveLog = StartExpenseAnalysisResponseFilterSensitiveLog;
|
|
546
|
+
const StartLendingAnalysisRequestFilterSensitiveLog = (obj) => ({
|
|
547
|
+
...obj,
|
|
548
|
+
});
|
|
549
|
+
exports.StartLendingAnalysisRequestFilterSensitiveLog = StartLendingAnalysisRequestFilterSensitiveLog;
|
|
550
|
+
const StartLendingAnalysisResponseFilterSensitiveLog = (obj) => ({
|
|
551
|
+
...obj,
|
|
552
|
+
});
|
|
553
|
+
exports.StartLendingAnalysisResponseFilterSensitiveLog = StartLendingAnalysisResponseFilterSensitiveLog;
|