@aws-sdk/client-textract 3.414.0 → 3.418.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 +5 -0
- package/dist-cjs/commands/AnalyzeExpenseCommand.js +5 -0
- package/dist-cjs/commands/AnalyzeIDCommand.js +5 -0
- package/dist-cjs/commands/DetectDocumentTextCommand.js +5 -0
- package/dist-cjs/commands/GetDocumentAnalysisCommand.js +5 -0
- package/dist-cjs/commands/GetDocumentTextDetectionCommand.js +5 -0
- package/dist-cjs/commands/GetExpenseAnalysisCommand.js +5 -0
- package/dist-cjs/commands/GetLendingAnalysisCommand.js +5 -0
- package/dist-cjs/commands/GetLendingAnalysisSummaryCommand.js +5 -0
- package/dist-cjs/commands/StartDocumentAnalysisCommand.js +5 -0
- package/dist-cjs/commands/StartDocumentTextDetectionCommand.js +5 -0
- package/dist-cjs/commands/StartExpenseAnalysisCommand.js +5 -0
- package/dist-cjs/commands/StartLendingAnalysisCommand.js +5 -0
- package/dist-es/commands/AnalyzeDocumentCommand.js +5 -0
- package/dist-es/commands/AnalyzeExpenseCommand.js +5 -0
- package/dist-es/commands/AnalyzeIDCommand.js +5 -0
- package/dist-es/commands/DetectDocumentTextCommand.js +5 -0
- package/dist-es/commands/GetDocumentAnalysisCommand.js +5 -0
- package/dist-es/commands/GetDocumentTextDetectionCommand.js +5 -0
- package/dist-es/commands/GetExpenseAnalysisCommand.js +5 -0
- package/dist-es/commands/GetLendingAnalysisCommand.js +5 -0
- package/dist-es/commands/GetLendingAnalysisSummaryCommand.js +5 -0
- package/dist-es/commands/StartDocumentAnalysisCommand.js +5 -0
- package/dist-es/commands/StartDocumentTextDetectionCommand.js +5 -0
- package/dist-es/commands/StartExpenseAnalysisCommand.js +5 -0
- package/dist-es/commands/StartLendingAnalysisCommand.js +5 -0
- package/package.json +31 -31
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class AnalyzeDocumentCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class AnalyzeDocumentCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Textract",
|
|
38
|
+
operation: "AnalyzeDocument",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class AnalyzeExpenseCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class AnalyzeExpenseCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Textract",
|
|
38
|
+
operation: "AnalyzeExpense",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class AnalyzeIDCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class AnalyzeIDCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Textract",
|
|
38
|
+
operation: "AnalyzeID",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DetectDocumentTextCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DetectDocumentTextCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Textract",
|
|
38
|
+
operation: "DetectDocumentText",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class GetDocumentAnalysisCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class GetDocumentAnalysisCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Textract",
|
|
38
|
+
operation: "GetDocumentAnalysis",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class GetDocumentTextDetectionCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class GetDocumentTextDetectionCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Textract",
|
|
38
|
+
operation: "GetDocumentTextDetection",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class GetExpenseAnalysisCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class GetExpenseAnalysisCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Textract",
|
|
38
|
+
operation: "GetExpenseAnalysis",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class GetLendingAnalysisCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class GetLendingAnalysisCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Textract",
|
|
38
|
+
operation: "GetLendingAnalysis",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class GetLendingAnalysisSummaryCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class GetLendingAnalysisSummaryCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Textract",
|
|
38
|
+
operation: "GetLendingAnalysisSummary",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class StartDocumentAnalysisCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class StartDocumentAnalysisCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Textract",
|
|
38
|
+
operation: "StartDocumentAnalysis",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class StartDocumentTextDetectionCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class StartDocumentTextDetectionCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Textract",
|
|
38
|
+
operation: "StartDocumentTextDetection",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class StartExpenseAnalysisCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class StartExpenseAnalysisCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Textract",
|
|
38
|
+
operation: "StartExpenseAnalysis",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class StartLendingAnalysisCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class StartLendingAnalysisCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Textract",
|
|
38
|
+
operation: "StartLendingAnalysis",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_AnalyzeDocumentCommand, se_AnalyzeDocumentCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class AnalyzeDocumentCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class AnalyzeDocumentCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Textract",
|
|
35
|
+
operation: "AnalyzeDocument",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_AnalyzeExpenseCommand, se_AnalyzeExpenseCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class AnalyzeExpenseCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class AnalyzeExpenseCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Textract",
|
|
35
|
+
operation: "AnalyzeExpense",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_AnalyzeIDCommand, se_AnalyzeIDCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class AnalyzeIDCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class AnalyzeIDCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Textract",
|
|
35
|
+
operation: "AnalyzeID",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_DetectDocumentTextCommand, se_DetectDocumentTextCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class DetectDocumentTextCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class DetectDocumentTextCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Textract",
|
|
35
|
+
operation: "DetectDocumentText",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_GetDocumentAnalysisCommand, se_GetDocumentAnalysisCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class GetDocumentAnalysisCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class GetDocumentAnalysisCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Textract",
|
|
35
|
+
operation: "GetDocumentAnalysis",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_GetDocumentTextDetectionCommand, se_GetDocumentTextDetectionCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class GetDocumentTextDetectionCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class GetDocumentTextDetectionCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Textract",
|
|
35
|
+
operation: "GetDocumentTextDetection",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_GetExpenseAnalysisCommand, se_GetExpenseAnalysisCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class GetExpenseAnalysisCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class GetExpenseAnalysisCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Textract",
|
|
35
|
+
operation: "GetExpenseAnalysis",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_GetLendingAnalysisCommand, se_GetLendingAnalysisCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class GetLendingAnalysisCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class GetLendingAnalysisCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Textract",
|
|
35
|
+
operation: "GetLendingAnalysis",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_GetLendingAnalysisSummaryCommand, se_GetLendingAnalysisSummaryCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class GetLendingAnalysisSummaryCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class GetLendingAnalysisSummaryCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Textract",
|
|
35
|
+
operation: "GetLendingAnalysisSummary",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_StartDocumentAnalysisCommand, se_StartDocumentAnalysisCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class StartDocumentAnalysisCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class StartDocumentAnalysisCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Textract",
|
|
35
|
+
operation: "StartDocumentAnalysis",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_StartDocumentTextDetectionCommand, se_StartDocumentTextDetectionCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class StartDocumentTextDetectionCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class StartDocumentTextDetectionCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Textract",
|
|
35
|
+
operation: "StartDocumentTextDetection",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_StartExpenseAnalysisCommand, se_StartExpenseAnalysisCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class StartExpenseAnalysisCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class StartExpenseAnalysisCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Textract",
|
|
35
|
+
operation: "StartExpenseAnalysis",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_StartLendingAnalysisCommand, se_StartLendingAnalysisCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class StartLendingAnalysisCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class StartLendingAnalysisCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Textract",
|
|
35
|
+
operation: "StartLendingAnalysis",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-textract",
|
|
3
3
|
"description": "AWS SDK for JavaScript Textract Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.418.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,39 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.1.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.0.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.3.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.418.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.418.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.418.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.418.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.418.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.418.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.418.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.418.0",
|
|
32
|
+
"@aws-sdk/types": "3.418.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.418.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.418.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.418.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.10",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.1.5",
|
|
38
|
+
"@smithy/hash-node": "^2.0.9",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.9",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.11",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.0.9",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.12",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.9",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.2",
|
|
45
|
+
"@smithy/node-config-provider": "^2.0.12",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.5",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.5",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.6",
|
|
49
|
+
"@smithy/types": "^2.3.3",
|
|
50
|
+
"@smithy/url-parser": "^2.0.9",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.10",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.12",
|
|
56
|
+
"@smithy/util-retry": "^2.0.2",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|