@aws-sdk/client-textract 3.1107.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1106.0";
72
+ var version = "3.1107.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -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
@@ -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 text.</p>
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-textract",
3
- "version": "3.1107.0",
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 --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
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.6",
50
- "@aws-sdk/credential-provider-node": "^3.972.78",
51
- "@aws-sdk/types": "^3.974.2",
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": "~5.8.3"
64
+ "typescript": "~6.0.3"
65
65
  },
66
66
  "engines": {
67
67
  "node": ">=20.0.0"