@aws-sdk/client-textract 3.300.0 → 3.301.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-types/commands/AnalyzeDocumentCommand.d.ts +11 -11
- package/dist-types/commands/AnalyzeExpenseCommand.d.ts +3 -3
- package/dist-types/commands/AnalyzeIDCommand.d.ts +4 -4
- package/dist-types/commands/DetectDocumentTextCommand.d.ts +3 -3
- package/dist-types/commands/GetDocumentAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/GetDocumentTextDetectionCommand.d.ts +1 -1
- package/dist-types/commands/GetExpenseAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/GetLendingAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/GetLendingAnalysisSummaryCommand.d.ts +1 -1
- package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +10 -10
- package/dist-types/commands/StartDocumentTextDetectionCommand.d.ts +5 -5
- package/dist-types/commands/StartExpenseAnalysisCommand.d.ts +5 -5
- package/dist-types/commands/StartLendingAnalysisCommand.d.ts +5 -5
- package/package.json +3 -3
|
@@ -72,33 +72,33 @@ export interface AnalyzeDocumentCommandOutput extends AnalyzeDocumentResponse, _
|
|
|
72
72
|
* import { TextractClient, AnalyzeDocumentCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
73
73
|
* // const { TextractClient, AnalyzeDocumentCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
74
74
|
* const client = new TextractClient(config);
|
|
75
|
-
* const input = {
|
|
76
|
-
* Document: {
|
|
75
|
+
* const input = { // AnalyzeDocumentRequest
|
|
76
|
+
* Document: { // Document
|
|
77
77
|
* Bytes: "BLOB_VALUE",
|
|
78
|
-
* S3Object: {
|
|
78
|
+
* S3Object: { // S3Object
|
|
79
79
|
* Bucket: "STRING_VALUE",
|
|
80
80
|
* Name: "STRING_VALUE",
|
|
81
81
|
* Version: "STRING_VALUE",
|
|
82
82
|
* },
|
|
83
83
|
* },
|
|
84
|
-
* FeatureTypes: [ // required
|
|
84
|
+
* FeatureTypes: [ // FeatureTypes // required
|
|
85
85
|
* "TABLES" || "FORMS" || "QUERIES" || "SIGNATURES",
|
|
86
86
|
* ],
|
|
87
|
-
* HumanLoopConfig: {
|
|
87
|
+
* HumanLoopConfig: { // HumanLoopConfig
|
|
88
88
|
* HumanLoopName: "STRING_VALUE", // required
|
|
89
89
|
* FlowDefinitionArn: "STRING_VALUE", // required
|
|
90
|
-
* DataAttributes: {
|
|
91
|
-
* ContentClassifiers: [
|
|
90
|
+
* DataAttributes: { // HumanLoopDataAttributes
|
|
91
|
+
* ContentClassifiers: [ // ContentClassifiers
|
|
92
92
|
* "FreeOfPersonallyIdentifiableInformation" || "FreeOfAdultContent",
|
|
93
93
|
* ],
|
|
94
94
|
* },
|
|
95
95
|
* },
|
|
96
|
-
* QueriesConfig: {
|
|
97
|
-
* Queries: [ // required
|
|
98
|
-
* {
|
|
96
|
+
* QueriesConfig: { // QueriesConfig
|
|
97
|
+
* Queries: [ // Queries // required
|
|
98
|
+
* { // Query
|
|
99
99
|
* Text: "STRING_VALUE", // required
|
|
100
100
|
* Alias: "STRING_VALUE",
|
|
101
|
-
* Pages: [
|
|
101
|
+
* Pages: [ // QueryPages
|
|
102
102
|
* "STRING_VALUE",
|
|
103
103
|
* ],
|
|
104
104
|
* },
|
|
@@ -43,10 +43,10 @@ export interface AnalyzeExpenseCommandOutput extends AnalyzeExpenseResponse, __M
|
|
|
43
43
|
* import { TextractClient, AnalyzeExpenseCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
44
44
|
* // const { TextractClient, AnalyzeExpenseCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
45
45
|
* const client = new TextractClient(config);
|
|
46
|
-
* const input = {
|
|
47
|
-
* Document: {
|
|
46
|
+
* const input = { // AnalyzeExpenseRequest
|
|
47
|
+
* Document: { // Document
|
|
48
48
|
* Bytes: "BLOB_VALUE",
|
|
49
|
-
* S3Object: {
|
|
49
|
+
* S3Object: { // S3Object
|
|
50
50
|
* Bucket: "STRING_VALUE",
|
|
51
51
|
* Name: "STRING_VALUE",
|
|
52
52
|
* Version: "STRING_VALUE",
|
|
@@ -29,11 +29,11 @@ export interface AnalyzeIDCommandOutput extends AnalyzeIDResponse, __MetadataBea
|
|
|
29
29
|
* import { TextractClient, AnalyzeIDCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
30
30
|
* // const { TextractClient, AnalyzeIDCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
31
31
|
* const client = new TextractClient(config);
|
|
32
|
-
* const input = {
|
|
33
|
-
* DocumentPages: [ // required
|
|
34
|
-
* {
|
|
32
|
+
* const input = { // AnalyzeIDRequest
|
|
33
|
+
* DocumentPages: [ // DocumentPages // required
|
|
34
|
+
* { // Document
|
|
35
35
|
* Bytes: "BLOB_VALUE",
|
|
36
|
-
* S3Object: {
|
|
36
|
+
* S3Object: { // S3Object
|
|
37
37
|
* Bucket: "STRING_VALUE",
|
|
38
38
|
* Name: "STRING_VALUE",
|
|
39
39
|
* Version: "STRING_VALUE",
|
|
@@ -36,10 +36,10 @@ export interface DetectDocumentTextCommandOutput extends DetectDocumentTextRespo
|
|
|
36
36
|
* import { TextractClient, DetectDocumentTextCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
37
37
|
* // const { TextractClient, DetectDocumentTextCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
38
38
|
* const client = new TextractClient(config);
|
|
39
|
-
* const input = {
|
|
40
|
-
* Document: {
|
|
39
|
+
* const input = { // DetectDocumentTextRequest
|
|
40
|
+
* Document: { // Document
|
|
41
41
|
* Bytes: "BLOB_VALUE",
|
|
42
|
-
* S3Object: {
|
|
42
|
+
* S3Object: { // S3Object
|
|
43
43
|
* Bucket: "STRING_VALUE",
|
|
44
44
|
* Name: "STRING_VALUE",
|
|
45
45
|
* Version: "STRING_VALUE",
|
|
@@ -86,7 +86,7 @@ export interface GetDocumentAnalysisCommandOutput extends GetDocumentAnalysisRes
|
|
|
86
86
|
* import { TextractClient, GetDocumentAnalysisCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
87
87
|
* // const { TextractClient, GetDocumentAnalysisCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
88
88
|
* const client = new TextractClient(config);
|
|
89
|
-
* const input = {
|
|
89
|
+
* const input = { // GetDocumentAnalysisRequest
|
|
90
90
|
* JobId: "STRING_VALUE", // required
|
|
91
91
|
* MaxResults: Number("int"),
|
|
92
92
|
* NextToken: "STRING_VALUE",
|
|
@@ -49,7 +49,7 @@ export interface GetDocumentTextDetectionCommandOutput extends GetDocumentTextDe
|
|
|
49
49
|
* import { TextractClient, GetDocumentTextDetectionCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
50
50
|
* // const { TextractClient, GetDocumentTextDetectionCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
51
51
|
* const client = new TextractClient(config);
|
|
52
|
-
* const input = {
|
|
52
|
+
* const input = { // GetDocumentTextDetectionRequest
|
|
53
53
|
* JobId: "STRING_VALUE", // required
|
|
54
54
|
* MaxResults: Number("int"),
|
|
55
55
|
* NextToken: "STRING_VALUE",
|
|
@@ -42,7 +42,7 @@ export interface GetExpenseAnalysisCommandOutput extends GetExpenseAnalysisRespo
|
|
|
42
42
|
* import { TextractClient, GetExpenseAnalysisCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
43
43
|
* // const { TextractClient, GetExpenseAnalysisCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
44
44
|
* const client = new TextractClient(config);
|
|
45
|
-
* const input = {
|
|
45
|
+
* const input = { // GetExpenseAnalysisRequest
|
|
46
46
|
* JobId: "STRING_VALUE", // required
|
|
47
47
|
* MaxResults: Number("int"),
|
|
48
48
|
* NextToken: "STRING_VALUE",
|
|
@@ -36,7 +36,7 @@ export interface GetLendingAnalysisCommandOutput extends GetLendingAnalysisRespo
|
|
|
36
36
|
* import { TextractClient, GetLendingAnalysisCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
37
37
|
* // const { TextractClient, GetLendingAnalysisCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
38
38
|
* const client = new TextractClient(config);
|
|
39
|
-
* const input = {
|
|
39
|
+
* const input = { // GetLendingAnalysisRequest
|
|
40
40
|
* JobId: "STRING_VALUE", // required
|
|
41
41
|
* MaxResults: Number("int"),
|
|
42
42
|
* NextToken: "STRING_VALUE",
|
|
@@ -37,7 +37,7 @@ export interface GetLendingAnalysisSummaryCommandOutput extends GetLendingAnalys
|
|
|
37
37
|
* import { TextractClient, GetLendingAnalysisSummaryCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
38
38
|
* // const { TextractClient, GetLendingAnalysisSummaryCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
39
39
|
* const client = new TextractClient(config);
|
|
40
|
-
* const input = {
|
|
40
|
+
* const input = { // GetLendingAnalysisSummaryRequest
|
|
41
41
|
* JobId: "STRING_VALUE", // required
|
|
42
42
|
* };
|
|
43
43
|
* const command = new GetLendingAnalysisSummaryCommand(input);
|
|
@@ -42,34 +42,34 @@ export interface StartDocumentAnalysisCommandOutput extends StartDocumentAnalysi
|
|
|
42
42
|
* import { TextractClient, StartDocumentAnalysisCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
43
43
|
* // const { TextractClient, StartDocumentAnalysisCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
44
44
|
* const client = new TextractClient(config);
|
|
45
|
-
* const input = {
|
|
46
|
-
* DocumentLocation: {
|
|
47
|
-
* S3Object: {
|
|
45
|
+
* const input = { // StartDocumentAnalysisRequest
|
|
46
|
+
* DocumentLocation: { // DocumentLocation
|
|
47
|
+
* S3Object: { // S3Object
|
|
48
48
|
* Bucket: "STRING_VALUE",
|
|
49
49
|
* Name: "STRING_VALUE",
|
|
50
50
|
* Version: "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
52
|
* },
|
|
53
|
-
* FeatureTypes: [ // required
|
|
53
|
+
* FeatureTypes: [ // FeatureTypes // required
|
|
54
54
|
* "TABLES" || "FORMS" || "QUERIES" || "SIGNATURES",
|
|
55
55
|
* ],
|
|
56
56
|
* ClientRequestToken: "STRING_VALUE",
|
|
57
57
|
* JobTag: "STRING_VALUE",
|
|
58
|
-
* NotificationChannel: {
|
|
58
|
+
* NotificationChannel: { // NotificationChannel
|
|
59
59
|
* SNSTopicArn: "STRING_VALUE", // required
|
|
60
60
|
* RoleArn: "STRING_VALUE", // required
|
|
61
61
|
* },
|
|
62
|
-
* OutputConfig: {
|
|
62
|
+
* OutputConfig: { // OutputConfig
|
|
63
63
|
* S3Bucket: "STRING_VALUE", // required
|
|
64
64
|
* S3Prefix: "STRING_VALUE",
|
|
65
65
|
* },
|
|
66
66
|
* KMSKeyId: "STRING_VALUE",
|
|
67
|
-
* QueriesConfig: {
|
|
68
|
-
* Queries: [ // required
|
|
69
|
-
* {
|
|
67
|
+
* QueriesConfig: { // QueriesConfig
|
|
68
|
+
* Queries: [ // Queries // required
|
|
69
|
+
* { // Query
|
|
70
70
|
* Text: "STRING_VALUE", // required
|
|
71
71
|
* Alias: "STRING_VALUE",
|
|
72
|
-
* Pages: [
|
|
72
|
+
* Pages: [ // QueryPages
|
|
73
73
|
* "STRING_VALUE",
|
|
74
74
|
* ],
|
|
75
75
|
* },
|
|
@@ -42,9 +42,9 @@ export interface StartDocumentTextDetectionCommandOutput extends StartDocumentTe
|
|
|
42
42
|
* import { TextractClient, StartDocumentTextDetectionCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
43
43
|
* // const { TextractClient, StartDocumentTextDetectionCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
44
44
|
* const client = new TextractClient(config);
|
|
45
|
-
* const input = {
|
|
46
|
-
* DocumentLocation: {
|
|
47
|
-
* S3Object: {
|
|
45
|
+
* const input = { // StartDocumentTextDetectionRequest
|
|
46
|
+
* DocumentLocation: { // DocumentLocation
|
|
47
|
+
* S3Object: { // S3Object
|
|
48
48
|
* Bucket: "STRING_VALUE",
|
|
49
49
|
* Name: "STRING_VALUE",
|
|
50
50
|
* Version: "STRING_VALUE",
|
|
@@ -52,11 +52,11 @@ export interface StartDocumentTextDetectionCommandOutput extends StartDocumentTe
|
|
|
52
52
|
* },
|
|
53
53
|
* ClientRequestToken: "STRING_VALUE",
|
|
54
54
|
* JobTag: "STRING_VALUE",
|
|
55
|
-
* NotificationChannel: {
|
|
55
|
+
* NotificationChannel: { // NotificationChannel
|
|
56
56
|
* SNSTopicArn: "STRING_VALUE", // required
|
|
57
57
|
* RoleArn: "STRING_VALUE", // required
|
|
58
58
|
* },
|
|
59
|
-
* OutputConfig: {
|
|
59
|
+
* OutputConfig: { // OutputConfig
|
|
60
60
|
* S3Bucket: "STRING_VALUE", // required
|
|
61
61
|
* S3Prefix: "STRING_VALUE",
|
|
62
62
|
* },
|
|
@@ -40,9 +40,9 @@ export interface StartExpenseAnalysisCommandOutput extends StartExpenseAnalysisR
|
|
|
40
40
|
* import { TextractClient, StartExpenseAnalysisCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
41
41
|
* // const { TextractClient, StartExpenseAnalysisCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
42
42
|
* const client = new TextractClient(config);
|
|
43
|
-
* const input = {
|
|
44
|
-
* DocumentLocation: {
|
|
45
|
-
* S3Object: {
|
|
43
|
+
* const input = { // StartExpenseAnalysisRequest
|
|
44
|
+
* DocumentLocation: { // DocumentLocation
|
|
45
|
+
* S3Object: { // S3Object
|
|
46
46
|
* Bucket: "STRING_VALUE",
|
|
47
47
|
* Name: "STRING_VALUE",
|
|
48
48
|
* Version: "STRING_VALUE",
|
|
@@ -50,11 +50,11 @@ export interface StartExpenseAnalysisCommandOutput extends StartExpenseAnalysisR
|
|
|
50
50
|
* },
|
|
51
51
|
* ClientRequestToken: "STRING_VALUE",
|
|
52
52
|
* JobTag: "STRING_VALUE",
|
|
53
|
-
* NotificationChannel: {
|
|
53
|
+
* NotificationChannel: { // NotificationChannel
|
|
54
54
|
* SNSTopicArn: "STRING_VALUE", // required
|
|
55
55
|
* RoleArn: "STRING_VALUE", // required
|
|
56
56
|
* },
|
|
57
|
-
* OutputConfig: {
|
|
57
|
+
* OutputConfig: { // OutputConfig
|
|
58
58
|
* S3Bucket: "STRING_VALUE", // required
|
|
59
59
|
* S3Prefix: "STRING_VALUE",
|
|
60
60
|
* },
|
|
@@ -56,9 +56,9 @@ export interface StartLendingAnalysisCommandOutput extends StartLendingAnalysisR
|
|
|
56
56
|
* import { TextractClient, StartLendingAnalysisCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
57
57
|
* // const { TextractClient, StartLendingAnalysisCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
58
58
|
* const client = new TextractClient(config);
|
|
59
|
-
* const input = {
|
|
60
|
-
* DocumentLocation: {
|
|
61
|
-
* S3Object: {
|
|
59
|
+
* const input = { // StartLendingAnalysisRequest
|
|
60
|
+
* DocumentLocation: { // DocumentLocation
|
|
61
|
+
* S3Object: { // S3Object
|
|
62
62
|
* Bucket: "STRING_VALUE",
|
|
63
63
|
* Name: "STRING_VALUE",
|
|
64
64
|
* Version: "STRING_VALUE",
|
|
@@ -66,11 +66,11 @@ export interface StartLendingAnalysisCommandOutput extends StartLendingAnalysisR
|
|
|
66
66
|
* },
|
|
67
67
|
* ClientRequestToken: "STRING_VALUE",
|
|
68
68
|
* JobTag: "STRING_VALUE",
|
|
69
|
-
* NotificationChannel: {
|
|
69
|
+
* NotificationChannel: { // NotificationChannel
|
|
70
70
|
* SNSTopicArn: "STRING_VALUE", // required
|
|
71
71
|
* RoleArn: "STRING_VALUE", // required
|
|
72
72
|
* },
|
|
73
|
-
* OutputConfig: {
|
|
73
|
+
* OutputConfig: { // OutputConfig
|
|
74
74
|
* S3Bucket: "STRING_VALUE", // required
|
|
75
75
|
* S3Prefix: "STRING_VALUE",
|
|
76
76
|
* },
|
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.301.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,9 +21,9 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|