@aws-sdk/client-textract 3.1106.0 → 3.1108.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/index.js +1 -1
- package/dist-es/index.js +1 -1
- package/dist-types/commands/AnalyzeDocumentCommand.d.ts +1 -1
- package/dist-types/commands/AnalyzeExpenseCommand.d.ts +1 -1
- package/dist-types/commands/AnalyzeIDCommand.d.ts +1 -1
- package/dist-types/commands/DetectDocumentTextCommand.d.ts +1 -1
- package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/StartDocumentTextDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StartExpenseAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/StartLendingAnalysisCommand.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +20 -1
- package/dist-types/ts3.4/index.d.ts +1 -1
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
package/dist-es/index.js
CHANGED
|
@@ -2,8 +2,8 @@ export * from "./TextractClient";
|
|
|
2
2
|
export * from "./Textract";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export { Command as $Command } from "@smithy/core/client";
|
|
5
|
-
export * from "./schemas/schemas_0";
|
|
6
5
|
export * from "./pagination";
|
|
6
|
+
export * from "./schemas/schemas_0";
|
|
7
7
|
export * from "./models/enums";
|
|
8
8
|
export * from "./models/errors";
|
|
9
9
|
export * from "./models/models_0";
|
|
@@ -201,7 +201,7 @@ declare const AnalyzeDocumentCommand_base: {
|
|
|
201
201
|
*
|
|
202
202
|
* @throws {@link BadDocumentException} (client fault)
|
|
203
203
|
* <p>Amazon Textract isn't able to read the document. For more information on the document
|
|
204
|
-
* limits in Amazon Textract, see <a>limits</a>.</p>
|
|
204
|
+
* limits in Amazon Textract, see <a href="https://docs.aws.amazon.com/textract/latest/dg/limits.html">Hard limits</a>.</p>
|
|
205
205
|
*
|
|
206
206
|
* @throws {@link DocumentTooLargeException} (client fault)
|
|
207
207
|
* <p>The document can't be processed because it's too large. The maximum document size for
|
|
@@ -248,7 +248,7 @@ declare const AnalyzeExpenseCommand_base: {
|
|
|
248
248
|
*
|
|
249
249
|
* @throws {@link BadDocumentException} (client fault)
|
|
250
250
|
* <p>Amazon Textract isn't able to read the document. For more information on the document
|
|
251
|
-
* limits in Amazon Textract, see <a>limits</a>.</p>
|
|
251
|
+
* limits in Amazon Textract, see <a href="https://docs.aws.amazon.com/textract/latest/dg/limits.html">Hard limits</a>.</p>
|
|
252
252
|
*
|
|
253
253
|
* @throws {@link DocumentTooLargeException} (client fault)
|
|
254
254
|
* <p>The document can't be processed because it's too large. The maximum document size for
|
|
@@ -144,7 +144,7 @@ declare const AnalyzeIDCommand_base: {
|
|
|
144
144
|
*
|
|
145
145
|
* @throws {@link BadDocumentException} (client fault)
|
|
146
146
|
* <p>Amazon Textract isn't able to read the document. For more information on the document
|
|
147
|
-
* limits in Amazon Textract, see <a>limits</a>.</p>
|
|
147
|
+
* limits in Amazon Textract, see <a href="https://docs.aws.amazon.com/textract/latest/dg/limits.html">Hard limits</a>.</p>
|
|
148
148
|
*
|
|
149
149
|
* @throws {@link DocumentTooLargeException} (client fault)
|
|
150
150
|
* <p>The document can't be processed because it's too large. The maximum document size for
|
|
@@ -124,7 +124,7 @@ declare const DetectDocumentTextCommand_base: {
|
|
|
124
124
|
*
|
|
125
125
|
* @throws {@link BadDocumentException} (client fault)
|
|
126
126
|
* <p>Amazon Textract isn't able to read the document. For more information on the document
|
|
127
|
-
* limits in Amazon Textract, see <a>limits</a>.</p>
|
|
127
|
+
* limits in Amazon Textract, see <a href="https://docs.aws.amazon.com/textract/latest/dg/limits.html">Hard limits</a>.</p>
|
|
128
128
|
*
|
|
129
129
|
* @throws {@link DocumentTooLargeException} (client fault)
|
|
130
130
|
* <p>The document can't be processed because it's too large. The maximum document size for
|
|
@@ -114,7 +114,7 @@ declare const StartDocumentAnalysisCommand_base: {
|
|
|
114
114
|
*
|
|
115
115
|
* @throws {@link BadDocumentException} (client fault)
|
|
116
116
|
* <p>Amazon Textract isn't able to read the document. For more information on the document
|
|
117
|
-
* limits in Amazon Textract, see <a>limits</a>.</p>
|
|
117
|
+
* limits in Amazon Textract, see <a href="https://docs.aws.amazon.com/textract/latest/dg/limits.html">Hard limits</a>.</p>
|
|
118
118
|
*
|
|
119
119
|
* @throws {@link DocumentTooLargeException} (client fault)
|
|
120
120
|
* <p>The document can't be processed because it's too large. The maximum document size for
|
|
@@ -89,7 +89,7 @@ declare const StartDocumentTextDetectionCommand_base: {
|
|
|
89
89
|
*
|
|
90
90
|
* @throws {@link BadDocumentException} (client fault)
|
|
91
91
|
* <p>Amazon Textract isn't able to read the document. For more information on the document
|
|
92
|
-
* limits in Amazon Textract, see <a>limits</a>.</p>
|
|
92
|
+
* limits in Amazon Textract, see <a href="https://docs.aws.amazon.com/textract/latest/dg/limits.html">Hard limits</a>.</p>
|
|
93
93
|
*
|
|
94
94
|
* @throws {@link DocumentTooLargeException} (client fault)
|
|
95
95
|
* <p>The document can't be processed because it's too large. The maximum document size for
|
|
@@ -87,7 +87,7 @@ declare const StartExpenseAnalysisCommand_base: {
|
|
|
87
87
|
*
|
|
88
88
|
* @throws {@link BadDocumentException} (client fault)
|
|
89
89
|
* <p>Amazon Textract isn't able to read the document. For more information on the document
|
|
90
|
-
* limits in Amazon Textract, see <a>limits</a>.</p>
|
|
90
|
+
* limits in Amazon Textract, see <a href="https://docs.aws.amazon.com/textract/latest/dg/limits.html">Hard limits</a>.</p>
|
|
91
91
|
*
|
|
92
92
|
* @throws {@link DocumentTooLargeException} (client fault)
|
|
93
93
|
* <p>The document can't be processed because it's too large. The maximum document size for
|
|
@@ -103,7 +103,7 @@ declare const StartLendingAnalysisCommand_base: {
|
|
|
103
103
|
*
|
|
104
104
|
* @throws {@link BadDocumentException} (client fault)
|
|
105
105
|
* <p>Amazon Textract isn't able to read the document. For more information on the document
|
|
106
|
-
* limits in Amazon Textract, see <a>limits</a>.</p>
|
|
106
|
+
* limits in Amazon Textract, see <a href="https://docs.aws.amazon.com/textract/latest/dg/limits.html">Hard limits</a>.</p>
|
|
107
107
|
*
|
|
108
108
|
* @throws {@link DocumentTooLargeException} (client fault)
|
|
109
109
|
* <p>The document can't be processed because it's too large. The maximum document size for
|
package/dist-types/index.d.ts
CHANGED
|
@@ -12,8 +12,8 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
12
12
|
export type { TextractExtensionConfiguration } from "./extensionConfiguration";
|
|
13
13
|
export * from "./commands";
|
|
14
14
|
export { Command as $Command } from "@smithy/core/client";
|
|
15
|
-
export * from "./schemas/schemas_0";
|
|
16
15
|
export * from "./pagination";
|
|
16
|
+
export * from "./schemas/schemas_0";
|
|
17
17
|
export * from "./models/enums";
|
|
18
18
|
export * from "./models/errors";
|
|
19
19
|
export * from "./models/models_0";
|
|
@@ -17,7 +17,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* <p>Amazon Textract isn't able to read the document. For more information on the document
|
|
20
|
-
* limits in Amazon Textract, see <a>limits</a>.</p>
|
|
20
|
+
* limits in Amazon Textract, see <a href="https://docs.aws.amazon.com/textract/latest/dg/limits.html">Hard limits</a>.</p>
|
|
21
21
|
* @public
|
|
22
22
|
*/
|
|
23
23
|
export declare class BadDocumentException extends __BaseException {
|
|
@@ -256,6 +256,15 @@ export interface HumanLoopDataAttributes {
|
|
|
256
256
|
/**
|
|
257
257
|
* <p>Sets up the human review workflow the document will be sent to if one of the conditions
|
|
258
258
|
* is met. You can also set certain attributes of the image before review. </p>
|
|
259
|
+
* <note>
|
|
260
|
+
* <p>Amazon Textract uses Amazon Augmented AI (A2I) to run the human review
|
|
261
|
+
* workflows that you specify in <code>HumanLoopConfig</code>. A2I entered
|
|
262
|
+
* maintenance mode in July 2026 and no longer accepts new customers. If your account is not an
|
|
263
|
+
* existing A2I customer, requests fail with an
|
|
264
|
+
* <code>InvalidParameterException</code>. For more information, see <a href="https://aws.amazon.com/about-aws/whats-new/2026/06/aws-service-availability/">AWS
|
|
265
|
+
* service availability</a>. If you're an existing A2I customer but receive
|
|
266
|
+
* this error, contact AWS Support and request assistance from the A2I team.</p>
|
|
267
|
+
* </note>
|
|
259
268
|
* @public
|
|
260
269
|
*/
|
|
261
270
|
export interface HumanLoopConfig {
|
|
@@ -353,6 +362,15 @@ export interface AnalyzeDocumentRequest {
|
|
|
353
362
|
/**
|
|
354
363
|
* <p>Sets the configuration for the human in the loop workflow for analyzing
|
|
355
364
|
* documents.</p>
|
|
365
|
+
* <note>
|
|
366
|
+
* <p>Amazon Textract uses Amazon Augmented AI (A2I) to run the human review
|
|
367
|
+
* workflows that you specify in <code>HumanLoopConfig</code>. A2I entered
|
|
368
|
+
* maintenance mode in July 2026 and no longer accepts new customers. If your account is not an
|
|
369
|
+
* existing A2I customer, requests fail with an
|
|
370
|
+
* <code>InvalidParameterException</code>. For more information, see <a href="https://aws.amazon.com/about-aws/whats-new/2026/06/aws-service-availability/">AWS
|
|
371
|
+
* service availability</a>. If you're an existing A2I customer but receive
|
|
372
|
+
* this error, contact AWS Support and request assistance from the A2I team.</p>
|
|
373
|
+
* </note>
|
|
356
374
|
* @public
|
|
357
375
|
*/
|
|
358
376
|
HumanLoopConfig?: HumanLoopConfig | undefined;
|
|
@@ -449,7 +467,8 @@ export interface Geometry {
|
|
|
449
467
|
*/
|
|
450
468
|
Polygon?: Point[] | undefined;
|
|
451
469
|
/**
|
|
452
|
-
* <p>Provides a numerical value corresponding to the rotation of the
|
|
470
|
+
* <p>Provides a numerical value corresponding to the rotation of the WORD block.
|
|
471
|
+
* Possible values are 0, 90, 180, and 270.</p>
|
|
453
472
|
* @public
|
|
454
473
|
*/
|
|
455
474
|
RotationAngle?: number | undefined;
|
|
@@ -5,8 +5,8 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { TextractExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export { Command as $Command } from "@smithy/core/client";
|
|
8
|
-
export * from "./schemas/schemas_0";
|
|
9
8
|
export * from "./pagination";
|
|
9
|
+
export * from "./schemas/schemas_0";
|
|
10
10
|
export * from "./models/enums";
|
|
11
11
|
export * from "./models/errors";
|
|
12
12
|
export * from "./models/models_0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-textract",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1108.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Textract Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-textract",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"clean": "premove dist-cjs dist-es dist-types",
|
|
44
44
|
"extract:docs": "api-extractor run --local",
|
|
45
45
|
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
46
|
-
"test:index": "tsc
|
|
46
|
+
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.977.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
49
|
+
"@aws-sdk/core": "^3.977.7",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.79",
|
|
51
|
+
"@aws-sdk/types": "^3.974.3",
|
|
52
52
|
"@smithy/core": "^3.31.1",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.6.13",
|
|
54
54
|
"@smithy/node-http-handler": "^4.9.13",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"concurrently": "7.0.0",
|
|
62
62
|
"downlevel-dts": "0.10.1",
|
|
63
63
|
"premove": "4.0.0",
|
|
64
|
-
"typescript": "~
|
|
64
|
+
"typescript": "~6.0.3"
|
|
65
65
|
},
|
|
66
66
|
"engines": {
|
|
67
67
|
"node": ">=20.0.0"
|