@aws-sdk/client-textract 3.296.0 → 3.298.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/commands/AnalyzeDocumentCommand.js +2 -3
- package/dist-cjs/commands/AnalyzeExpenseCommand.js +2 -3
- package/dist-cjs/commands/AnalyzeIDCommand.js +2 -3
- package/dist-cjs/commands/DetectDocumentTextCommand.js +2 -3
- package/dist-cjs/commands/GetDocumentAnalysisCommand.js +2 -3
- package/dist-cjs/commands/GetDocumentTextDetectionCommand.js +2 -3
- package/dist-cjs/commands/GetExpenseAnalysisCommand.js +2 -3
- package/dist-cjs/commands/GetLendingAnalysisCommand.js +2 -3
- package/dist-cjs/commands/GetLendingAnalysisSummaryCommand.js +2 -3
- package/dist-cjs/commands/StartDocumentAnalysisCommand.js +2 -3
- package/dist-cjs/commands/StartDocumentTextDetectionCommand.js +2 -3
- package/dist-cjs/commands/StartExpenseAnalysisCommand.js +2 -3
- package/dist-cjs/commands/StartLendingAnalysisCommand.js +2 -3
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +12 -274
- package/dist-es/commands/AnalyzeDocumentCommand.js +2 -3
- package/dist-es/commands/AnalyzeExpenseCommand.js +2 -3
- package/dist-es/commands/AnalyzeIDCommand.js +2 -3
- package/dist-es/commands/DetectDocumentTextCommand.js +2 -3
- package/dist-es/commands/GetDocumentAnalysisCommand.js +2 -3
- package/dist-es/commands/GetDocumentTextDetectionCommand.js +2 -3
- package/dist-es/commands/GetExpenseAnalysisCommand.js +2 -3
- package/dist-es/commands/GetLendingAnalysisCommand.js +2 -3
- package/dist-es/commands/GetLendingAnalysisSummaryCommand.js +2 -3
- package/dist-es/commands/StartDocumentAnalysisCommand.js +2 -3
- package/dist-es/commands/StartDocumentTextDetectionCommand.js +2 -3
- package/dist-es/commands/StartExpenseAnalysisCommand.js +2 -3
- package/dist-es/commands/StartLendingAnalysisCommand.js +2 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +11 -204
- package/dist-types/Textract.d.ts +17 -13
- package/dist-types/TextractClient.d.ts +24 -4
- package/dist-types/commands/AnalyzeDocumentCommand.d.ts +16 -2
- package/dist-types/commands/AnalyzeExpenseCommand.d.ts +16 -0
- package/dist-types/commands/AnalyzeIDCommand.d.ts +17 -1
- package/dist-types/commands/DetectDocumentTextCommand.d.ts +16 -1
- package/dist-types/commands/GetDocumentAnalysisCommand.d.ts +16 -4
- package/dist-types/commands/GetDocumentTextDetectionCommand.d.ts +16 -1
- package/dist-types/commands/GetExpenseAnalysisCommand.d.ts +16 -0
- package/dist-types/commands/GetLendingAnalysisCommand.d.ts +18 -2
- package/dist-types/commands/GetLendingAnalysisSummaryCommand.d.ts +16 -0
- package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +16 -1
- package/dist-types/commands/StartDocumentTextDetectionCommand.d.ts +16 -0
- package/dist-types/commands/StartExpenseAnalysisCommand.d.ts +16 -1
- package/dist-types/commands/StartLendingAnalysisCommand.d.ts +16 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/TextractServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +275 -300
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +11 -174
- package/package.json +4 -3
|
@@ -4,7 +4,6 @@ exports.AnalyzeDocumentCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class AnalyzeDocumentCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class AnalyzeDocumentCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.AnalyzeExpenseCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class AnalyzeExpenseCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class AnalyzeExpenseCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.AnalyzeIDCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class AnalyzeIDCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class AnalyzeIDCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.DetectDocumentTextCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class DetectDocumentTextCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class DetectDocumentTextCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.GetDocumentAnalysisCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class GetDocumentAnalysisCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class GetDocumentAnalysisCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.GetDocumentTextDetectionCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class GetDocumentTextDetectionCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class GetDocumentTextDetectionCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.GetExpenseAnalysisCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class GetExpenseAnalysisCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class GetExpenseAnalysisCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.GetLendingAnalysisCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class GetLendingAnalysisCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class GetLendingAnalysisCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.GetLendingAnalysisSummaryCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class GetLendingAnalysisSummaryCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class GetLendingAnalysisSummaryCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.StartDocumentAnalysisCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class StartDocumentAnalysisCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class StartDocumentAnalysisCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.StartDocumentTextDetectionCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class StartDocumentTextDetectionCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class StartDocumentTextDetectionCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.StartExpenseAnalysisCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class StartExpenseAnalysisCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class StartExpenseAnalysisCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.StartLendingAnalysisCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class StartLendingAnalysisCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class StartLendingAnalysisCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const r = "fn", s = "argv", t = "ref";
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://textract-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://textract-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://textract.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://textract.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
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;
|
|
3
|
+
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;
|
|
5
4
|
const TextractServiceException_1 = require("./TextractServiceException");
|
|
6
5
|
class AccessDeniedException extends TextractServiceException_1.TextractServiceException {
|
|
7
6
|
constructor(opts) {
|
|
@@ -42,6 +41,8 @@ var BlockType;
|
|
|
42
41
|
BlockType["SELECTION_ELEMENT"] = "SELECTION_ELEMENT";
|
|
43
42
|
BlockType["SIGNATURE"] = "SIGNATURE";
|
|
44
43
|
BlockType["TABLE"] = "TABLE";
|
|
44
|
+
BlockType["TABLE_FOOTER"] = "TABLE_FOOTER";
|
|
45
|
+
BlockType["TABLE_TITLE"] = "TABLE_TITLE";
|
|
45
46
|
BlockType["TITLE"] = "TITLE";
|
|
46
47
|
BlockType["WORD"] = "WORD";
|
|
47
48
|
})(BlockType = exports.BlockType || (exports.BlockType = {}));
|
|
@@ -49,6 +50,12 @@ var EntityType;
|
|
|
49
50
|
(function (EntityType) {
|
|
50
51
|
EntityType["COLUMN_HEADER"] = "COLUMN_HEADER";
|
|
51
52
|
EntityType["KEY"] = "KEY";
|
|
53
|
+
EntityType["SEMI_STRUCTURED_TABLE"] = "SEMI_STRUCTURED_TABLE";
|
|
54
|
+
EntityType["STRUCTURED_TABLE"] = "STRUCTURED_TABLE";
|
|
55
|
+
EntityType["TABLE_FOOTER"] = "TABLE_FOOTER";
|
|
56
|
+
EntityType["TABLE_SECTION_TITLE"] = "TABLE_SECTION_TITLE";
|
|
57
|
+
EntityType["TABLE_SUMMARY"] = "TABLE_SUMMARY";
|
|
58
|
+
EntityType["TABLE_TITLE"] = "TABLE_TITLE";
|
|
52
59
|
EntityType["VALUE"] = "VALUE";
|
|
53
60
|
})(EntityType = exports.EntityType || (exports.EntityType = {}));
|
|
54
61
|
var RelationshipType;
|
|
@@ -57,6 +64,9 @@ var RelationshipType;
|
|
|
57
64
|
RelationshipType["CHILD"] = "CHILD";
|
|
58
65
|
RelationshipType["COMPLEX_FEATURES"] = "COMPLEX_FEATURES";
|
|
59
66
|
RelationshipType["MERGED_CELL"] = "MERGED_CELL";
|
|
67
|
+
RelationshipType["TABLE"] = "TABLE";
|
|
68
|
+
RelationshipType["TABLE_FOOTER"] = "TABLE_FOOTER";
|
|
69
|
+
RelationshipType["TABLE_TITLE"] = "TABLE_TITLE";
|
|
60
70
|
RelationshipType["TITLE"] = "TITLE";
|
|
61
71
|
RelationshipType["VALUE"] = "VALUE";
|
|
62
72
|
})(RelationshipType = exports.RelationshipType || (exports.RelationshipType = {}));
|
|
@@ -279,275 +289,3 @@ class LimitExceededException extends TextractServiceException_1.TextractServiceE
|
|
|
279
289
|
}
|
|
280
290
|
}
|
|
281
291
|
exports.LimitExceededException = LimitExceededException;
|
|
282
|
-
const S3ObjectFilterSensitiveLog = (obj) => ({
|
|
283
|
-
...obj,
|
|
284
|
-
});
|
|
285
|
-
exports.S3ObjectFilterSensitiveLog = S3ObjectFilterSensitiveLog;
|
|
286
|
-
const DocumentFilterSensitiveLog = (obj) => ({
|
|
287
|
-
...obj,
|
|
288
|
-
});
|
|
289
|
-
exports.DocumentFilterSensitiveLog = DocumentFilterSensitiveLog;
|
|
290
|
-
const HumanLoopDataAttributesFilterSensitiveLog = (obj) => ({
|
|
291
|
-
...obj,
|
|
292
|
-
});
|
|
293
|
-
exports.HumanLoopDataAttributesFilterSensitiveLog = HumanLoopDataAttributesFilterSensitiveLog;
|
|
294
|
-
const HumanLoopConfigFilterSensitiveLog = (obj) => ({
|
|
295
|
-
...obj,
|
|
296
|
-
});
|
|
297
|
-
exports.HumanLoopConfigFilterSensitiveLog = HumanLoopConfigFilterSensitiveLog;
|
|
298
|
-
const QueryFilterSensitiveLog = (obj) => ({
|
|
299
|
-
...obj,
|
|
300
|
-
});
|
|
301
|
-
exports.QueryFilterSensitiveLog = QueryFilterSensitiveLog;
|
|
302
|
-
const QueriesConfigFilterSensitiveLog = (obj) => ({
|
|
303
|
-
...obj,
|
|
304
|
-
});
|
|
305
|
-
exports.QueriesConfigFilterSensitiveLog = QueriesConfigFilterSensitiveLog;
|
|
306
|
-
const AnalyzeDocumentRequestFilterSensitiveLog = (obj) => ({
|
|
307
|
-
...obj,
|
|
308
|
-
});
|
|
309
|
-
exports.AnalyzeDocumentRequestFilterSensitiveLog = AnalyzeDocumentRequestFilterSensitiveLog;
|
|
310
|
-
const BoundingBoxFilterSensitiveLog = (obj) => ({
|
|
311
|
-
...obj,
|
|
312
|
-
});
|
|
313
|
-
exports.BoundingBoxFilterSensitiveLog = BoundingBoxFilterSensitiveLog;
|
|
314
|
-
const PointFilterSensitiveLog = (obj) => ({
|
|
315
|
-
...obj,
|
|
316
|
-
});
|
|
317
|
-
exports.PointFilterSensitiveLog = PointFilterSensitiveLog;
|
|
318
|
-
const GeometryFilterSensitiveLog = (obj) => ({
|
|
319
|
-
...obj,
|
|
320
|
-
});
|
|
321
|
-
exports.GeometryFilterSensitiveLog = GeometryFilterSensitiveLog;
|
|
322
|
-
const RelationshipFilterSensitiveLog = (obj) => ({
|
|
323
|
-
...obj,
|
|
324
|
-
});
|
|
325
|
-
exports.RelationshipFilterSensitiveLog = RelationshipFilterSensitiveLog;
|
|
326
|
-
const BlockFilterSensitiveLog = (obj) => ({
|
|
327
|
-
...obj,
|
|
328
|
-
});
|
|
329
|
-
exports.BlockFilterSensitiveLog = BlockFilterSensitiveLog;
|
|
330
|
-
const DocumentMetadataFilterSensitiveLog = (obj) => ({
|
|
331
|
-
...obj,
|
|
332
|
-
});
|
|
333
|
-
exports.DocumentMetadataFilterSensitiveLog = DocumentMetadataFilterSensitiveLog;
|
|
334
|
-
const HumanLoopActivationOutputFilterSensitiveLog = (obj) => ({
|
|
335
|
-
...obj,
|
|
336
|
-
});
|
|
337
|
-
exports.HumanLoopActivationOutputFilterSensitiveLog = HumanLoopActivationOutputFilterSensitiveLog;
|
|
338
|
-
const AnalyzeDocumentResponseFilterSensitiveLog = (obj) => ({
|
|
339
|
-
...obj,
|
|
340
|
-
});
|
|
341
|
-
exports.AnalyzeDocumentResponseFilterSensitiveLog = AnalyzeDocumentResponseFilterSensitiveLog;
|
|
342
|
-
const AnalyzeExpenseRequestFilterSensitiveLog = (obj) => ({
|
|
343
|
-
...obj,
|
|
344
|
-
});
|
|
345
|
-
exports.AnalyzeExpenseRequestFilterSensitiveLog = AnalyzeExpenseRequestFilterSensitiveLog;
|
|
346
|
-
const ExpenseCurrencyFilterSensitiveLog = (obj) => ({
|
|
347
|
-
...obj,
|
|
348
|
-
});
|
|
349
|
-
exports.ExpenseCurrencyFilterSensitiveLog = ExpenseCurrencyFilterSensitiveLog;
|
|
350
|
-
const ExpenseGroupPropertyFilterSensitiveLog = (obj) => ({
|
|
351
|
-
...obj,
|
|
352
|
-
});
|
|
353
|
-
exports.ExpenseGroupPropertyFilterSensitiveLog = ExpenseGroupPropertyFilterSensitiveLog;
|
|
354
|
-
const ExpenseDetectionFilterSensitiveLog = (obj) => ({
|
|
355
|
-
...obj,
|
|
356
|
-
});
|
|
357
|
-
exports.ExpenseDetectionFilterSensitiveLog = ExpenseDetectionFilterSensitiveLog;
|
|
358
|
-
const ExpenseTypeFilterSensitiveLog = (obj) => ({
|
|
359
|
-
...obj,
|
|
360
|
-
});
|
|
361
|
-
exports.ExpenseTypeFilterSensitiveLog = ExpenseTypeFilterSensitiveLog;
|
|
362
|
-
const ExpenseFieldFilterSensitiveLog = (obj) => ({
|
|
363
|
-
...obj,
|
|
364
|
-
});
|
|
365
|
-
exports.ExpenseFieldFilterSensitiveLog = ExpenseFieldFilterSensitiveLog;
|
|
366
|
-
const LineItemFieldsFilterSensitiveLog = (obj) => ({
|
|
367
|
-
...obj,
|
|
368
|
-
});
|
|
369
|
-
exports.LineItemFieldsFilterSensitiveLog = LineItemFieldsFilterSensitiveLog;
|
|
370
|
-
const LineItemGroupFilterSensitiveLog = (obj) => ({
|
|
371
|
-
...obj,
|
|
372
|
-
});
|
|
373
|
-
exports.LineItemGroupFilterSensitiveLog = LineItemGroupFilterSensitiveLog;
|
|
374
|
-
const ExpenseDocumentFilterSensitiveLog = (obj) => ({
|
|
375
|
-
...obj,
|
|
376
|
-
});
|
|
377
|
-
exports.ExpenseDocumentFilterSensitiveLog = ExpenseDocumentFilterSensitiveLog;
|
|
378
|
-
const AnalyzeExpenseResponseFilterSensitiveLog = (obj) => ({
|
|
379
|
-
...obj,
|
|
380
|
-
});
|
|
381
|
-
exports.AnalyzeExpenseResponseFilterSensitiveLog = AnalyzeExpenseResponseFilterSensitiveLog;
|
|
382
|
-
const AnalyzeIDRequestFilterSensitiveLog = (obj) => ({
|
|
383
|
-
...obj,
|
|
384
|
-
});
|
|
385
|
-
exports.AnalyzeIDRequestFilterSensitiveLog = AnalyzeIDRequestFilterSensitiveLog;
|
|
386
|
-
const NormalizedValueFilterSensitiveLog = (obj) => ({
|
|
387
|
-
...obj,
|
|
388
|
-
});
|
|
389
|
-
exports.NormalizedValueFilterSensitiveLog = NormalizedValueFilterSensitiveLog;
|
|
390
|
-
const AnalyzeIDDetectionsFilterSensitiveLog = (obj) => ({
|
|
391
|
-
...obj,
|
|
392
|
-
});
|
|
393
|
-
exports.AnalyzeIDDetectionsFilterSensitiveLog = AnalyzeIDDetectionsFilterSensitiveLog;
|
|
394
|
-
const IdentityDocumentFieldFilterSensitiveLog = (obj) => ({
|
|
395
|
-
...obj,
|
|
396
|
-
});
|
|
397
|
-
exports.IdentityDocumentFieldFilterSensitiveLog = IdentityDocumentFieldFilterSensitiveLog;
|
|
398
|
-
const IdentityDocumentFilterSensitiveLog = (obj) => ({
|
|
399
|
-
...obj,
|
|
400
|
-
});
|
|
401
|
-
exports.IdentityDocumentFilterSensitiveLog = IdentityDocumentFilterSensitiveLog;
|
|
402
|
-
const AnalyzeIDResponseFilterSensitiveLog = (obj) => ({
|
|
403
|
-
...obj,
|
|
404
|
-
});
|
|
405
|
-
exports.AnalyzeIDResponseFilterSensitiveLog = AnalyzeIDResponseFilterSensitiveLog;
|
|
406
|
-
const DetectDocumentTextRequestFilterSensitiveLog = (obj) => ({
|
|
407
|
-
...obj,
|
|
408
|
-
});
|
|
409
|
-
exports.DetectDocumentTextRequestFilterSensitiveLog = DetectDocumentTextRequestFilterSensitiveLog;
|
|
410
|
-
const DetectDocumentTextResponseFilterSensitiveLog = (obj) => ({
|
|
411
|
-
...obj,
|
|
412
|
-
});
|
|
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;
|
|
430
|
-
const DocumentLocationFilterSensitiveLog = (obj) => ({
|
|
431
|
-
...obj,
|
|
432
|
-
});
|
|
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;
|
|
454
|
-
const GetDocumentAnalysisRequestFilterSensitiveLog = (obj) => ({
|
|
455
|
-
...obj,
|
|
456
|
-
});
|
|
457
|
-
exports.GetDocumentAnalysisRequestFilterSensitiveLog = GetDocumentAnalysisRequestFilterSensitiveLog;
|
|
458
|
-
const WarningFilterSensitiveLog = (obj) => ({
|
|
459
|
-
...obj,
|
|
460
|
-
});
|
|
461
|
-
exports.WarningFilterSensitiveLog = WarningFilterSensitiveLog;
|
|
462
|
-
const GetDocumentAnalysisResponseFilterSensitiveLog = (obj) => ({
|
|
463
|
-
...obj,
|
|
464
|
-
});
|
|
465
|
-
exports.GetDocumentAnalysisResponseFilterSensitiveLog = GetDocumentAnalysisResponseFilterSensitiveLog;
|
|
466
|
-
const GetDocumentTextDetectionRequestFilterSensitiveLog = (obj) => ({
|
|
467
|
-
...obj,
|
|
468
|
-
});
|
|
469
|
-
exports.GetDocumentTextDetectionRequestFilterSensitiveLog = GetDocumentTextDetectionRequestFilterSensitiveLog;
|
|
470
|
-
const GetDocumentTextDetectionResponseFilterSensitiveLog = (obj) => ({
|
|
471
|
-
...obj,
|
|
472
|
-
});
|
|
473
|
-
exports.GetDocumentTextDetectionResponseFilterSensitiveLog = GetDocumentTextDetectionResponseFilterSensitiveLog;
|
|
474
|
-
const GetExpenseAnalysisRequestFilterSensitiveLog = (obj) => ({
|
|
475
|
-
...obj,
|
|
476
|
-
});
|
|
477
|
-
exports.GetExpenseAnalysisRequestFilterSensitiveLog = GetExpenseAnalysisRequestFilterSensitiveLog;
|
|
478
|
-
const GetExpenseAnalysisResponseFilterSensitiveLog = (obj) => ({
|
|
479
|
-
...obj,
|
|
480
|
-
});
|
|
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;
|
|
514
|
-
const NotificationChannelFilterSensitiveLog = (obj) => ({
|
|
515
|
-
...obj,
|
|
516
|
-
});
|
|
517
|
-
exports.NotificationChannelFilterSensitiveLog = NotificationChannelFilterSensitiveLog;
|
|
518
|
-
const OutputConfigFilterSensitiveLog = (obj) => ({
|
|
519
|
-
...obj,
|
|
520
|
-
});
|
|
521
|
-
exports.OutputConfigFilterSensitiveLog = OutputConfigFilterSensitiveLog;
|
|
522
|
-
const StartDocumentAnalysisRequestFilterSensitiveLog = (obj) => ({
|
|
523
|
-
...obj,
|
|
524
|
-
});
|
|
525
|
-
exports.StartDocumentAnalysisRequestFilterSensitiveLog = StartDocumentAnalysisRequestFilterSensitiveLog;
|
|
526
|
-
const StartDocumentAnalysisResponseFilterSensitiveLog = (obj) => ({
|
|
527
|
-
...obj,
|
|
528
|
-
});
|
|
529
|
-
exports.StartDocumentAnalysisResponseFilterSensitiveLog = StartDocumentAnalysisResponseFilterSensitiveLog;
|
|
530
|
-
const StartDocumentTextDetectionRequestFilterSensitiveLog = (obj) => ({
|
|
531
|
-
...obj,
|
|
532
|
-
});
|
|
533
|
-
exports.StartDocumentTextDetectionRequestFilterSensitiveLog = StartDocumentTextDetectionRequestFilterSensitiveLog;
|
|
534
|
-
const StartDocumentTextDetectionResponseFilterSensitiveLog = (obj) => ({
|
|
535
|
-
...obj,
|
|
536
|
-
});
|
|
537
|
-
exports.StartDocumentTextDetectionResponseFilterSensitiveLog = StartDocumentTextDetectionResponseFilterSensitiveLog;
|
|
538
|
-
const StartExpenseAnalysisRequestFilterSensitiveLog = (obj) => ({
|
|
539
|
-
...obj,
|
|
540
|
-
});
|
|
541
|
-
exports.StartExpenseAnalysisRequestFilterSensitiveLog = StartExpenseAnalysisRequestFilterSensitiveLog;
|
|
542
|
-
const StartExpenseAnalysisResponseFilterSensitiveLog = (obj) => ({
|
|
543
|
-
...obj,
|
|
544
|
-
});
|
|
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;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { AnalyzeDocumentRequestFilterSensitiveLog, AnalyzeDocumentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1AnalyzeDocumentCommand, serializeAws_json1_1AnalyzeDocumentCommand, } from "../protocols/Aws_json1_1";
|
|
6
5
|
export class AnalyzeDocumentCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class AnalyzeDocumentCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { AnalyzeExpenseRequestFilterSensitiveLog, AnalyzeExpenseResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1AnalyzeExpenseCommand, serializeAws_json1_1AnalyzeExpenseCommand, } from "../protocols/Aws_json1_1";
|
|
6
5
|
export class AnalyzeExpenseCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class AnalyzeExpenseCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|