@aws-sdk/client-textract 3.299.0 → 3.300.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.
@@ -72,6 +72,39 @@ 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: {
77
+ * Bytes: "BLOB_VALUE",
78
+ * S3Object: {
79
+ * Bucket: "STRING_VALUE",
80
+ * Name: "STRING_VALUE",
81
+ * Version: "STRING_VALUE",
82
+ * },
83
+ * },
84
+ * FeatureTypes: [ // required
85
+ * "TABLES" || "FORMS" || "QUERIES" || "SIGNATURES",
86
+ * ],
87
+ * HumanLoopConfig: {
88
+ * HumanLoopName: "STRING_VALUE", // required
89
+ * FlowDefinitionArn: "STRING_VALUE", // required
90
+ * DataAttributes: {
91
+ * ContentClassifiers: [
92
+ * "FreeOfPersonallyIdentifiableInformation" || "FreeOfAdultContent",
93
+ * ],
94
+ * },
95
+ * },
96
+ * QueriesConfig: {
97
+ * Queries: [ // required
98
+ * {
99
+ * Text: "STRING_VALUE", // required
100
+ * Alias: "STRING_VALUE",
101
+ * Pages: [
102
+ * "STRING_VALUE",
103
+ * ],
104
+ * },
105
+ * ],
106
+ * },
107
+ * };
75
108
  * const command = new AnalyzeDocumentCommand(input);
76
109
  * const response = await client.send(command);
77
110
  * ```
@@ -43,6 +43,16 @@ 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: {
48
+ * Bytes: "BLOB_VALUE",
49
+ * S3Object: {
50
+ * Bucket: "STRING_VALUE",
51
+ * Name: "STRING_VALUE",
52
+ * Version: "STRING_VALUE",
53
+ * },
54
+ * },
55
+ * };
46
56
  * const command = new AnalyzeExpenseCommand(input);
47
57
  * const response = await client.send(command);
48
58
  * ```
@@ -29,6 +29,18 @@ 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
+ * {
35
+ * Bytes: "BLOB_VALUE",
36
+ * S3Object: {
37
+ * Bucket: "STRING_VALUE",
38
+ * Name: "STRING_VALUE",
39
+ * Version: "STRING_VALUE",
40
+ * },
41
+ * },
42
+ * ],
43
+ * };
32
44
  * const command = new AnalyzeIDCommand(input);
33
45
  * const response = await client.send(command);
34
46
  * ```
@@ -36,6 +36,16 @@ 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: {
41
+ * Bytes: "BLOB_VALUE",
42
+ * S3Object: {
43
+ * Bucket: "STRING_VALUE",
44
+ * Name: "STRING_VALUE",
45
+ * Version: "STRING_VALUE",
46
+ * },
47
+ * },
48
+ * };
39
49
  * const command = new DetectDocumentTextCommand(input);
40
50
  * const response = await client.send(command);
41
51
  * ```
@@ -86,6 +86,11 @@ 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 = {
90
+ * JobId: "STRING_VALUE", // required
91
+ * MaxResults: Number("int"),
92
+ * NextToken: "STRING_VALUE",
93
+ * };
89
94
  * const command = new GetDocumentAnalysisCommand(input);
90
95
  * const response = await client.send(command);
91
96
  * ```
@@ -49,6 +49,11 @@ 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 = {
53
+ * JobId: "STRING_VALUE", // required
54
+ * MaxResults: Number("int"),
55
+ * NextToken: "STRING_VALUE",
56
+ * };
52
57
  * const command = new GetDocumentTextDetectionCommand(input);
53
58
  * const response = await client.send(command);
54
59
  * ```
@@ -42,6 +42,11 @@ 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 = {
46
+ * JobId: "STRING_VALUE", // required
47
+ * MaxResults: Number("int"),
48
+ * NextToken: "STRING_VALUE",
49
+ * };
45
50
  * const command = new GetExpenseAnalysisCommand(input);
46
51
  * const response = await client.send(command);
47
52
  * ```
@@ -36,6 +36,11 @@ 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 = {
40
+ * JobId: "STRING_VALUE", // required
41
+ * MaxResults: Number("int"),
42
+ * NextToken: "STRING_VALUE",
43
+ * };
39
44
  * const command = new GetLendingAnalysisCommand(input);
40
45
  * const response = await client.send(command);
41
46
  * ```
@@ -37,6 +37,9 @@ 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 = {
41
+ * JobId: "STRING_VALUE", // required
42
+ * };
40
43
  * const command = new GetLendingAnalysisSummaryCommand(input);
41
44
  * const response = await client.send(command);
42
45
  * ```
@@ -42,6 +42,40 @@ 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: {
48
+ * Bucket: "STRING_VALUE",
49
+ * Name: "STRING_VALUE",
50
+ * Version: "STRING_VALUE",
51
+ * },
52
+ * },
53
+ * FeatureTypes: [ // required
54
+ * "TABLES" || "FORMS" || "QUERIES" || "SIGNATURES",
55
+ * ],
56
+ * ClientRequestToken: "STRING_VALUE",
57
+ * JobTag: "STRING_VALUE",
58
+ * NotificationChannel: {
59
+ * SNSTopicArn: "STRING_VALUE", // required
60
+ * RoleArn: "STRING_VALUE", // required
61
+ * },
62
+ * OutputConfig: {
63
+ * S3Bucket: "STRING_VALUE", // required
64
+ * S3Prefix: "STRING_VALUE",
65
+ * },
66
+ * KMSKeyId: "STRING_VALUE",
67
+ * QueriesConfig: {
68
+ * Queries: [ // required
69
+ * {
70
+ * Text: "STRING_VALUE", // required
71
+ * Alias: "STRING_VALUE",
72
+ * Pages: [
73
+ * "STRING_VALUE",
74
+ * ],
75
+ * },
76
+ * ],
77
+ * },
78
+ * };
45
79
  * const command = new StartDocumentAnalysisCommand(input);
46
80
  * const response = await client.send(command);
47
81
  * ```
@@ -42,6 +42,26 @@ 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: {
48
+ * Bucket: "STRING_VALUE",
49
+ * Name: "STRING_VALUE",
50
+ * Version: "STRING_VALUE",
51
+ * },
52
+ * },
53
+ * ClientRequestToken: "STRING_VALUE",
54
+ * JobTag: "STRING_VALUE",
55
+ * NotificationChannel: {
56
+ * SNSTopicArn: "STRING_VALUE", // required
57
+ * RoleArn: "STRING_VALUE", // required
58
+ * },
59
+ * OutputConfig: {
60
+ * S3Bucket: "STRING_VALUE", // required
61
+ * S3Prefix: "STRING_VALUE",
62
+ * },
63
+ * KMSKeyId: "STRING_VALUE",
64
+ * };
45
65
  * const command = new StartDocumentTextDetectionCommand(input);
46
66
  * const response = await client.send(command);
47
67
  * ```
@@ -40,6 +40,26 @@ 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: {
46
+ * Bucket: "STRING_VALUE",
47
+ * Name: "STRING_VALUE",
48
+ * Version: "STRING_VALUE",
49
+ * },
50
+ * },
51
+ * ClientRequestToken: "STRING_VALUE",
52
+ * JobTag: "STRING_VALUE",
53
+ * NotificationChannel: {
54
+ * SNSTopicArn: "STRING_VALUE", // required
55
+ * RoleArn: "STRING_VALUE", // required
56
+ * },
57
+ * OutputConfig: {
58
+ * S3Bucket: "STRING_VALUE", // required
59
+ * S3Prefix: "STRING_VALUE",
60
+ * },
61
+ * KMSKeyId: "STRING_VALUE",
62
+ * };
43
63
  * const command = new StartExpenseAnalysisCommand(input);
44
64
  * const response = await client.send(command);
45
65
  * ```
@@ -56,6 +56,26 @@ 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: {
62
+ * Bucket: "STRING_VALUE",
63
+ * Name: "STRING_VALUE",
64
+ * Version: "STRING_VALUE",
65
+ * },
66
+ * },
67
+ * ClientRequestToken: "STRING_VALUE",
68
+ * JobTag: "STRING_VALUE",
69
+ * NotificationChannel: {
70
+ * SNSTopicArn: "STRING_VALUE", // required
71
+ * RoleArn: "STRING_VALUE", // required
72
+ * },
73
+ * OutputConfig: {
74
+ * S3Bucket: "STRING_VALUE", // required
75
+ * S3Prefix: "STRING_VALUE",
76
+ * },
77
+ * KMSKeyId: "STRING_VALUE",
78
+ * };
59
79
  * const command = new StartLendingAnalysisCommand(input);
60
80
  * const response = await client.send(command);
61
81
  * ```
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.299.0",
4
+ "version": "3.300.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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.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",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },