@aws-sdk/client-textract 3.297.0 → 3.299.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.
Files changed (44) hide show
  1. package/dist-cjs/commands/AnalyzeDocumentCommand.js +2 -3
  2. package/dist-cjs/commands/AnalyzeExpenseCommand.js +2 -3
  3. package/dist-cjs/commands/AnalyzeIDCommand.js +2 -3
  4. package/dist-cjs/commands/DetectDocumentTextCommand.js +2 -3
  5. package/dist-cjs/commands/GetDocumentAnalysisCommand.js +2 -3
  6. package/dist-cjs/commands/GetDocumentTextDetectionCommand.js +2 -3
  7. package/dist-cjs/commands/GetExpenseAnalysisCommand.js +2 -3
  8. package/dist-cjs/commands/GetLendingAnalysisCommand.js +2 -3
  9. package/dist-cjs/commands/GetLendingAnalysisSummaryCommand.js +2 -3
  10. package/dist-cjs/commands/StartDocumentAnalysisCommand.js +2 -3
  11. package/dist-cjs/commands/StartDocumentTextDetectionCommand.js +2 -3
  12. package/dist-cjs/commands/StartExpenseAnalysisCommand.js +2 -3
  13. package/dist-cjs/commands/StartLendingAnalysisCommand.js +2 -3
  14. package/dist-cjs/endpoint/ruleset.js +3 -3
  15. package/dist-cjs/models/models_0.js +12 -274
  16. package/dist-es/commands/AnalyzeDocumentCommand.js +2 -3
  17. package/dist-es/commands/AnalyzeExpenseCommand.js +2 -3
  18. package/dist-es/commands/AnalyzeIDCommand.js +2 -3
  19. package/dist-es/commands/DetectDocumentTextCommand.js +2 -3
  20. package/dist-es/commands/GetDocumentAnalysisCommand.js +2 -3
  21. package/dist-es/commands/GetDocumentTextDetectionCommand.js +2 -3
  22. package/dist-es/commands/GetExpenseAnalysisCommand.js +2 -3
  23. package/dist-es/commands/GetLendingAnalysisCommand.js +2 -3
  24. package/dist-es/commands/GetLendingAnalysisSummaryCommand.js +2 -3
  25. package/dist-es/commands/StartDocumentAnalysisCommand.js +2 -3
  26. package/dist-es/commands/StartDocumentTextDetectionCommand.js +2 -3
  27. package/dist-es/commands/StartExpenseAnalysisCommand.js +2 -3
  28. package/dist-es/commands/StartLendingAnalysisCommand.js +2 -3
  29. package/dist-es/endpoint/ruleset.js +3 -3
  30. package/dist-es/models/models_0.js +11 -204
  31. package/dist-types/Textract.d.ts +3 -13
  32. package/dist-types/commands/AnalyzeDocumentCommand.d.ts +0 -2
  33. package/dist-types/commands/AnalyzeIDCommand.d.ts +1 -1
  34. package/dist-types/commands/DetectDocumentTextCommand.d.ts +0 -1
  35. package/dist-types/commands/GetDocumentAnalysisCommand.d.ts +0 -4
  36. package/dist-types/commands/GetDocumentTextDetectionCommand.d.ts +0 -1
  37. package/dist-types/commands/GetLendingAnalysisCommand.d.ts +2 -2
  38. package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +0 -1
  39. package/dist-types/commands/StartExpenseAnalysisCommand.d.ts +0 -1
  40. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  41. package/dist-types/models/models_0.d.ts +114 -300
  42. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  43. package/dist-types/ts3.4/models/models_0.d.ts +11 -174
  44. package/package.json +11 -10
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { AnalyzeIDRequestFilterSensitiveLog, AnalyzeIDResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1AnalyzeIDCommand, serializeAws_json1_1AnalyzeIDCommand } from "../protocols/Aws_json1_1";
6
5
  export class AnalyzeIDCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class AnalyzeIDCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: AnalyzeIDRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: AnalyzeIDResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DetectDocumentTextRequestFilterSensitiveLog, DetectDocumentTextResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DetectDocumentTextCommand, serializeAws_json1_1DetectDocumentTextCommand, } from "../protocols/Aws_json1_1";
6
5
  export class DetectDocumentTextCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class DetectDocumentTextCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: DetectDocumentTextRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: DetectDocumentTextResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetDocumentAnalysisRequestFilterSensitiveLog, GetDocumentAnalysisResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetDocumentAnalysisCommand, serializeAws_json1_1GetDocumentAnalysisCommand, } from "../protocols/Aws_json1_1";
6
5
  export class GetDocumentAnalysisCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class GetDocumentAnalysisCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: GetDocumentAnalysisRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: GetDocumentAnalysisResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetDocumentTextDetectionRequestFilterSensitiveLog, GetDocumentTextDetectionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetDocumentTextDetectionCommand, serializeAws_json1_1GetDocumentTextDetectionCommand, } from "../protocols/Aws_json1_1";
6
5
  export class GetDocumentTextDetectionCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class GetDocumentTextDetectionCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: GetDocumentTextDetectionRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: GetDocumentTextDetectionResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetExpenseAnalysisRequestFilterSensitiveLog, GetExpenseAnalysisResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetExpenseAnalysisCommand, serializeAws_json1_1GetExpenseAnalysisCommand, } from "../protocols/Aws_json1_1";
6
5
  export class GetExpenseAnalysisCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class GetExpenseAnalysisCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: GetExpenseAnalysisRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: GetExpenseAnalysisResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetLendingAnalysisRequestFilterSensitiveLog, GetLendingAnalysisResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetLendingAnalysisCommand, serializeAws_json1_1GetLendingAnalysisCommand, } from "../protocols/Aws_json1_1";
6
5
  export class GetLendingAnalysisCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class GetLendingAnalysisCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: GetLendingAnalysisRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: GetLendingAnalysisResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetLendingAnalysisSummaryRequestFilterSensitiveLog, GetLendingAnalysisSummaryResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetLendingAnalysisSummaryCommand, serializeAws_json1_1GetLendingAnalysisSummaryCommand, } from "../protocols/Aws_json1_1";
6
5
  export class GetLendingAnalysisSummaryCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class GetLendingAnalysisSummaryCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: GetLendingAnalysisSummaryRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: GetLendingAnalysisSummaryResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { StartDocumentAnalysisRequestFilterSensitiveLog, StartDocumentAnalysisResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1StartDocumentAnalysisCommand, serializeAws_json1_1StartDocumentAnalysisCommand, } from "../protocols/Aws_json1_1";
6
5
  export class StartDocumentAnalysisCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class StartDocumentAnalysisCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: StartDocumentAnalysisRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: StartDocumentAnalysisResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { StartDocumentTextDetectionRequestFilterSensitiveLog, StartDocumentTextDetectionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1StartDocumentTextDetectionCommand, serializeAws_json1_1StartDocumentTextDetectionCommand, } from "../protocols/Aws_json1_1";
6
5
  export class StartDocumentTextDetectionCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class StartDocumentTextDetectionCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: StartDocumentTextDetectionRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: StartDocumentTextDetectionResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { StartExpenseAnalysisRequestFilterSensitiveLog, StartExpenseAnalysisResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1StartExpenseAnalysisCommand, serializeAws_json1_1StartExpenseAnalysisCommand, } from "../protocols/Aws_json1_1";
6
5
  export class StartExpenseAnalysisCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class StartExpenseAnalysisCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: StartExpenseAnalysisRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: StartExpenseAnalysisResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { StartLendingAnalysisRequestFilterSensitiveLog, StartLendingAnalysisResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1StartLendingAnalysisCommand, serializeAws_json1_1StartLendingAnalysisCommand, } from "../protocols/Aws_json1_1";
6
5
  export class StartLendingAnalysisCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class StartLendingAnalysisCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: StartLendingAnalysisRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: StartLendingAnalysisResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,4 +1,4 @@
1
- const r = "fn", s = "argv", t = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://textract-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://textract-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://textract.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://textract.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://textract-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://textract-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://textract.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://textract.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -37,6 +37,8 @@ export var BlockType;
37
37
  BlockType["SELECTION_ELEMENT"] = "SELECTION_ELEMENT";
38
38
  BlockType["SIGNATURE"] = "SIGNATURE";
39
39
  BlockType["TABLE"] = "TABLE";
40
+ BlockType["TABLE_FOOTER"] = "TABLE_FOOTER";
41
+ BlockType["TABLE_TITLE"] = "TABLE_TITLE";
40
42
  BlockType["TITLE"] = "TITLE";
41
43
  BlockType["WORD"] = "WORD";
42
44
  })(BlockType || (BlockType = {}));
@@ -44,6 +46,12 @@ export var EntityType;
44
46
  (function (EntityType) {
45
47
  EntityType["COLUMN_HEADER"] = "COLUMN_HEADER";
46
48
  EntityType["KEY"] = "KEY";
49
+ EntityType["SEMI_STRUCTURED_TABLE"] = "SEMI_STRUCTURED_TABLE";
50
+ EntityType["STRUCTURED_TABLE"] = "STRUCTURED_TABLE";
51
+ EntityType["TABLE_FOOTER"] = "TABLE_FOOTER";
52
+ EntityType["TABLE_SECTION_TITLE"] = "TABLE_SECTION_TITLE";
53
+ EntityType["TABLE_SUMMARY"] = "TABLE_SUMMARY";
54
+ EntityType["TABLE_TITLE"] = "TABLE_TITLE";
47
55
  EntityType["VALUE"] = "VALUE";
48
56
  })(EntityType || (EntityType = {}));
49
57
  export var RelationshipType;
@@ -52,6 +60,9 @@ export var RelationshipType;
52
60
  RelationshipType["CHILD"] = "CHILD";
53
61
  RelationshipType["COMPLEX_FEATURES"] = "COMPLEX_FEATURES";
54
62
  RelationshipType["MERGED_CELL"] = "MERGED_CELL";
63
+ RelationshipType["TABLE"] = "TABLE";
64
+ RelationshipType["TABLE_FOOTER"] = "TABLE_FOOTER";
65
+ RelationshipType["TABLE_TITLE"] = "TABLE_TITLE";
55
66
  RelationshipType["TITLE"] = "TITLE";
56
67
  RelationshipType["VALUE"] = "VALUE";
57
68
  })(RelationshipType || (RelationshipType = {}));
@@ -261,207 +272,3 @@ export class LimitExceededException extends __BaseException {
261
272
  this.Code = opts.Code;
262
273
  }
263
274
  }
264
- export const S3ObjectFilterSensitiveLog = (obj) => ({
265
- ...obj,
266
- });
267
- export const DocumentFilterSensitiveLog = (obj) => ({
268
- ...obj,
269
- });
270
- export const HumanLoopDataAttributesFilterSensitiveLog = (obj) => ({
271
- ...obj,
272
- });
273
- export const HumanLoopConfigFilterSensitiveLog = (obj) => ({
274
- ...obj,
275
- });
276
- export const QueryFilterSensitiveLog = (obj) => ({
277
- ...obj,
278
- });
279
- export const QueriesConfigFilterSensitiveLog = (obj) => ({
280
- ...obj,
281
- });
282
- export const AnalyzeDocumentRequestFilterSensitiveLog = (obj) => ({
283
- ...obj,
284
- });
285
- export const BoundingBoxFilterSensitiveLog = (obj) => ({
286
- ...obj,
287
- });
288
- export const PointFilterSensitiveLog = (obj) => ({
289
- ...obj,
290
- });
291
- export const GeometryFilterSensitiveLog = (obj) => ({
292
- ...obj,
293
- });
294
- export const RelationshipFilterSensitiveLog = (obj) => ({
295
- ...obj,
296
- });
297
- export const BlockFilterSensitiveLog = (obj) => ({
298
- ...obj,
299
- });
300
- export const DocumentMetadataFilterSensitiveLog = (obj) => ({
301
- ...obj,
302
- });
303
- export const HumanLoopActivationOutputFilterSensitiveLog = (obj) => ({
304
- ...obj,
305
- });
306
- export const AnalyzeDocumentResponseFilterSensitiveLog = (obj) => ({
307
- ...obj,
308
- });
309
- export const AnalyzeExpenseRequestFilterSensitiveLog = (obj) => ({
310
- ...obj,
311
- });
312
- export const ExpenseCurrencyFilterSensitiveLog = (obj) => ({
313
- ...obj,
314
- });
315
- export const ExpenseGroupPropertyFilterSensitiveLog = (obj) => ({
316
- ...obj,
317
- });
318
- export const ExpenseDetectionFilterSensitiveLog = (obj) => ({
319
- ...obj,
320
- });
321
- export const ExpenseTypeFilterSensitiveLog = (obj) => ({
322
- ...obj,
323
- });
324
- export const ExpenseFieldFilterSensitiveLog = (obj) => ({
325
- ...obj,
326
- });
327
- export const LineItemFieldsFilterSensitiveLog = (obj) => ({
328
- ...obj,
329
- });
330
- export const LineItemGroupFilterSensitiveLog = (obj) => ({
331
- ...obj,
332
- });
333
- export const ExpenseDocumentFilterSensitiveLog = (obj) => ({
334
- ...obj,
335
- });
336
- export const AnalyzeExpenseResponseFilterSensitiveLog = (obj) => ({
337
- ...obj,
338
- });
339
- export const AnalyzeIDRequestFilterSensitiveLog = (obj) => ({
340
- ...obj,
341
- });
342
- export const NormalizedValueFilterSensitiveLog = (obj) => ({
343
- ...obj,
344
- });
345
- export const AnalyzeIDDetectionsFilterSensitiveLog = (obj) => ({
346
- ...obj,
347
- });
348
- export const IdentityDocumentFieldFilterSensitiveLog = (obj) => ({
349
- ...obj,
350
- });
351
- export const IdentityDocumentFilterSensitiveLog = (obj) => ({
352
- ...obj,
353
- });
354
- export const AnalyzeIDResponseFilterSensitiveLog = (obj) => ({
355
- ...obj,
356
- });
357
- export const DetectDocumentTextRequestFilterSensitiveLog = (obj) => ({
358
- ...obj,
359
- });
360
- export const DetectDocumentTextResponseFilterSensitiveLog = (obj) => ({
361
- ...obj,
362
- });
363
- export const DetectedSignatureFilterSensitiveLog = (obj) => ({
364
- ...obj,
365
- });
366
- export const SplitDocumentFilterSensitiveLog = (obj) => ({
367
- ...obj,
368
- });
369
- export const UndetectedSignatureFilterSensitiveLog = (obj) => ({
370
- ...obj,
371
- });
372
- export const DocumentGroupFilterSensitiveLog = (obj) => ({
373
- ...obj,
374
- });
375
- export const DocumentLocationFilterSensitiveLog = (obj) => ({
376
- ...obj,
377
- });
378
- export const LendingDetectionFilterSensitiveLog = (obj) => ({
379
- ...obj,
380
- });
381
- export const LendingFieldFilterSensitiveLog = (obj) => ({
382
- ...obj,
383
- });
384
- export const SignatureDetectionFilterSensitiveLog = (obj) => ({
385
- ...obj,
386
- });
387
- export const LendingDocumentFilterSensitiveLog = (obj) => ({
388
- ...obj,
389
- });
390
- export const ExtractionFilterSensitiveLog = (obj) => ({
391
- ...obj,
392
- });
393
- export const GetDocumentAnalysisRequestFilterSensitiveLog = (obj) => ({
394
- ...obj,
395
- });
396
- export const WarningFilterSensitiveLog = (obj) => ({
397
- ...obj,
398
- });
399
- export const GetDocumentAnalysisResponseFilterSensitiveLog = (obj) => ({
400
- ...obj,
401
- });
402
- export const GetDocumentTextDetectionRequestFilterSensitiveLog = (obj) => ({
403
- ...obj,
404
- });
405
- export const GetDocumentTextDetectionResponseFilterSensitiveLog = (obj) => ({
406
- ...obj,
407
- });
408
- export const GetExpenseAnalysisRequestFilterSensitiveLog = (obj) => ({
409
- ...obj,
410
- });
411
- export const GetExpenseAnalysisResponseFilterSensitiveLog = (obj) => ({
412
- ...obj,
413
- });
414
- export const GetLendingAnalysisRequestFilterSensitiveLog = (obj) => ({
415
- ...obj,
416
- });
417
- export const PredictionFilterSensitiveLog = (obj) => ({
418
- ...obj,
419
- });
420
- export const PageClassificationFilterSensitiveLog = (obj) => ({
421
- ...obj,
422
- });
423
- export const LendingResultFilterSensitiveLog = (obj) => ({
424
- ...obj,
425
- });
426
- export const GetLendingAnalysisResponseFilterSensitiveLog = (obj) => ({
427
- ...obj,
428
- });
429
- export const GetLendingAnalysisSummaryRequestFilterSensitiveLog = (obj) => ({
430
- ...obj,
431
- });
432
- export const LendingSummaryFilterSensitiveLog = (obj) => ({
433
- ...obj,
434
- });
435
- export const GetLendingAnalysisSummaryResponseFilterSensitiveLog = (obj) => ({
436
- ...obj,
437
- });
438
- export const NotificationChannelFilterSensitiveLog = (obj) => ({
439
- ...obj,
440
- });
441
- export const OutputConfigFilterSensitiveLog = (obj) => ({
442
- ...obj,
443
- });
444
- export const StartDocumentAnalysisRequestFilterSensitiveLog = (obj) => ({
445
- ...obj,
446
- });
447
- export const StartDocumentAnalysisResponseFilterSensitiveLog = (obj) => ({
448
- ...obj,
449
- });
450
- export const StartDocumentTextDetectionRequestFilterSensitiveLog = (obj) => ({
451
- ...obj,
452
- });
453
- export const StartDocumentTextDetectionResponseFilterSensitiveLog = (obj) => ({
454
- ...obj,
455
- });
456
- export const StartExpenseAnalysisRequestFilterSensitiveLog = (obj) => ({
457
- ...obj,
458
- });
459
- export const StartExpenseAnalysisResponseFilterSensitiveLog = (obj) => ({
460
- ...obj,
461
- });
462
- export const StartLendingAnalysisRequestFilterSensitiveLog = (obj) => ({
463
- ...obj,
464
- });
465
- export const StartLendingAnalysisResponseFilterSensitiveLog = (obj) => ({
466
- ...obj,
467
- });
@@ -58,11 +58,9 @@ export declare class Textract extends TextractClient {
58
58
  * score.</p>
59
59
  * </li>
60
60
  * </ul>
61
- *
62
61
  * <p>Selection elements such as check boxes and option buttons (radio buttons) can be
63
62
  * detected in form data and in tables. A SELECTION_ELEMENT <code>Block</code> object contains
64
63
  * information about a selection element, including the selection status.</p>
65
- *
66
64
  * <p>You can choose which type of analysis to perform by specifying the
67
65
  * <code>FeatureTypes</code> list. </p>
68
66
  * <p>The output is returned in a list of <code>Block</code> objects.</p>
@@ -103,7 +101,7 @@ export declare class Textract extends TextractClient {
103
101
  * @public
104
102
  * <p>Analyzes identity documents for relevant information. This information is extracted and
105
103
  * returned as <code>IdentityDocumentFields</code>, which records both the normalized field
106
- * and value of the extracted text.Unlike other Amazon Textract operations,
104
+ * and value of the extracted text. Unlike other Amazon Textract operations,
107
105
  * <code>AnalyzeID</code> doesn't return any Geometry data.</p>
108
106
  */
109
107
  analyzeID(args: AnalyzeIDCommandInput, options?: __HttpHandlerOptions): Promise<AnalyzeIDCommandOutput>;
@@ -118,7 +116,6 @@ export declare class Textract extends TextractClient {
118
116
  * <p>Each document page has as an associated <code>Block</code> of type PAGE. Each PAGE <code>Block</code> object
119
117
  * is the parent of LINE <code>Block</code> objects that represent the lines of detected text on a page. A LINE <code>Block</code> object is
120
118
  * a parent for each word that makes up the line. Words are represented by <code>Block</code> objects of type WORD.</p>
121
- *
122
119
  * <p>
123
120
  * <code>DetectDocumentText</code> is a synchronous operation. To analyze documents
124
121
  * asynchronously, use <a>StartDocumentTextDetection</a>.</p>
@@ -172,19 +169,15 @@ export declare class Textract extends TextractClient {
172
169
  * score.</p>
173
170
  * </li>
174
171
  * </ul>
175
- *
176
172
  * <note>
177
173
  * <p>While processing a document with queries, look out for
178
174
  * <code>INVALID_REQUEST_PARAMETERS</code> output. This indicates that either the per
179
175
  * page query limit has been exceeded or that the operation is trying to query a page in
180
176
  * the document which doesn’t exist. </p>
181
177
  * </note>
182
- *
183
178
  * <p>Selection elements such as check boxes and option buttons (radio buttons) can be
184
179
  * detected in form data and in tables. A SELECTION_ELEMENT <code>Block</code> object contains
185
180
  * information about a selection element, including the selection status.</p>
186
- *
187
- *
188
181
  * <p>Use the <code>MaxResults</code> parameter to limit the number of blocks that are
189
182
  * returned. If there are more results than specified in <code>MaxResults</code>, the value of
190
183
  * <code>NextToken</code> in the operation response contains a pagination token for getting
@@ -216,7 +209,6 @@ export declare class Textract extends TextractClient {
216
209
  * <p>Each document page has as an associated <code>Block</code> of type PAGE. Each PAGE <code>Block</code> object
217
210
  * is the parent of LINE <code>Block</code> objects that represent the lines of detected text on a page. A LINE <code>Block</code> object is
218
211
  * a parent for each word that makes up the line. Words are represented by <code>Block</code> objects of type WORD.</p>
219
- *
220
212
  * <p>Use the MaxResults parameter to limit the number of blocks that are returned. If there
221
213
  * are more results than specified in <code>MaxResults</code>, the value of
222
214
  * <code>NextToken</code> in the operation response contains a pagination token for getting
@@ -256,12 +248,12 @@ export declare class Textract extends TextractClient {
256
248
  * @public
257
249
  * <p>Gets the results for an Amazon Textract asynchronous operation that analyzes text in a
258
250
  * lending document. </p>
259
- * <p>You start asynchronous text analysis by calling <code>StartLendingAnalysis</code>,
251
+ * <p>You start asynchronous text analysis by calling <code>StartLendingAnalysis</code>,
260
252
  * which returns a job identifier (<code>JobId</code>). When the text analysis operation
261
253
  * finishes, Amazon Textract publishes a completion status to the Amazon Simple
262
254
  * Notification Service (Amazon SNS) topic that's registered in the initial call to
263
255
  * <code>StartLendingAnalysis</code>. </p>
264
- * <p>To get the results of the text analysis operation, first check that the status value
256
+ * <p>To get the results of the text analysis operation, first check that the status value
265
257
  * published to the Amazon SNS topic is SUCCEEDED. If so, call GetLendingAnalysis, and pass
266
258
  * the job identifier (<code>JobId</code>) from the initial call to
267
259
  * <code>StartLendingAnalysis</code>.</p>
@@ -291,7 +283,6 @@ export declare class Textract extends TextractClient {
291
283
  * @public
292
284
  * <p>Starts the asynchronous analysis of an input document for relationships between detected
293
285
  * items such as key-value pairs, tables, and selection elements.</p>
294
- *
295
286
  * <p>
296
287
  * <code>StartDocumentAnalysis</code> can analyze text in documents that are in JPEG, PNG, TIFF, and PDF format. The
297
288
  * documents are stored in an Amazon S3 bucket. Use <a>DocumentLocation</a> to specify the bucket name and file name
@@ -338,7 +329,6 @@ export declare class Textract extends TextractClient {
338
329
  * @public
339
330
  * <p>Starts the asynchronous analysis of invoices or receipts for data like contact information,
340
331
  * items purchased, and vendor names.</p>
341
- *
342
332
  * <p>
343
333
  * <code>StartExpenseAnalysis</code> can analyze text in documents that are in JPEG, PNG, and
344
334
  * PDF format. The documents must be stored in an Amazon S3 bucket. Use the <a>DocumentLocation</a> parameter to specify the name of your S3 bucket and the name of the
@@ -55,11 +55,9 @@ export interface AnalyzeDocumentCommandOutput extends AnalyzeDocumentResponse, _
55
55
  * score.</p>
56
56
  * </li>
57
57
  * </ul>
58
- *
59
58
  * <p>Selection elements such as check boxes and option buttons (radio buttons) can be
60
59
  * detected in form data and in tables. A SELECTION_ELEMENT <code>Block</code> object contains
61
60
  * information about a selection element, including the selection status.</p>
62
- *
63
61
  * <p>You can choose which type of analysis to perform by specifying the
64
62
  * <code>FeatureTypes</code> list. </p>
65
63
  * <p>The output is returned in a list of <code>Block</code> objects.</p>
@@ -21,7 +21,7 @@ export interface AnalyzeIDCommandOutput extends AnalyzeIDResponse, __MetadataBea
21
21
  * @public
22
22
  * <p>Analyzes identity documents for relevant information. This information is extracted and
23
23
  * returned as <code>IdentityDocumentFields</code>, which records both the normalized field
24
- * and value of the extracted text.Unlike other Amazon Textract operations,
24
+ * and value of the extracted text. Unlike other Amazon Textract operations,
25
25
  * <code>AnalyzeID</code> doesn't return any Geometry data.</p>
26
26
  * @example
27
27
  * Use a bare-bones client and the command you need to make an API call.
@@ -26,7 +26,6 @@ export interface DetectDocumentTextCommandOutput extends DetectDocumentTextRespo
26
26
  * <p>Each document page has as an associated <code>Block</code> of type PAGE. Each PAGE <code>Block</code> object
27
27
  * is the parent of LINE <code>Block</code> objects that represent the lines of detected text on a page. A LINE <code>Block</code> object is
28
28
  * a parent for each word that makes up the line. Words are represented by <code>Block</code> objects of type WORD.</p>
29
- *
30
29
  * <p>
31
30
  * <code>DetectDocumentText</code> is a synchronous operation. To analyze documents
32
31
  * asynchronously, use <a>StartDocumentTextDetection</a>.</p>
@@ -62,19 +62,15 @@ export interface GetDocumentAnalysisCommandOutput extends GetDocumentAnalysisRes
62
62
  * score.</p>
63
63
  * </li>
64
64
  * </ul>
65
- *
66
65
  * <note>
67
66
  * <p>While processing a document with queries, look out for
68
67
  * <code>INVALID_REQUEST_PARAMETERS</code> output. This indicates that either the per
69
68
  * page query limit has been exceeded or that the operation is trying to query a page in
70
69
  * the document which doesn’t exist. </p>
71
70
  * </note>
72
- *
73
71
  * <p>Selection elements such as check boxes and option buttons (radio buttons) can be
74
72
  * detected in form data and in tables. A SELECTION_ELEMENT <code>Block</code> object contains
75
73
  * information about a selection element, including the selection status.</p>
76
- *
77
- *
78
74
  * <p>Use the <code>MaxResults</code> parameter to limit the number of blocks that are
79
75
  * returned. If there are more results than specified in <code>MaxResults</code>, the value of
80
76
  * <code>NextToken</code> in the operation response contains a pagination token for getting
@@ -35,7 +35,6 @@ export interface GetDocumentTextDetectionCommandOutput extends GetDocumentTextDe
35
35
  * <p>Each document page has as an associated <code>Block</code> of type PAGE. Each PAGE <code>Block</code> object
36
36
  * is the parent of LINE <code>Block</code> objects that represent the lines of detected text on a page. A LINE <code>Block</code> object is
37
37
  * a parent for each word that makes up the line. Words are represented by <code>Block</code> objects of type WORD.</p>
38
- *
39
38
  * <p>Use the MaxResults parameter to limit the number of blocks that are returned. If there
40
39
  * are more results than specified in <code>MaxResults</code>, the value of
41
40
  * <code>NextToken</code> in the operation response contains a pagination token for getting
@@ -21,12 +21,12 @@ export interface GetLendingAnalysisCommandOutput extends GetLendingAnalysisRespo
21
21
  * @public
22
22
  * <p>Gets the results for an Amazon Textract asynchronous operation that analyzes text in a
23
23
  * lending document. </p>
24
- * <p>You start asynchronous text analysis by calling <code>StartLendingAnalysis</code>,
24
+ * <p>You start asynchronous text analysis by calling <code>StartLendingAnalysis</code>,
25
25
  * which returns a job identifier (<code>JobId</code>). When the text analysis operation
26
26
  * finishes, Amazon Textract publishes a completion status to the Amazon Simple
27
27
  * Notification Service (Amazon SNS) topic that's registered in the initial call to
28
28
  * <code>StartLendingAnalysis</code>. </p>
29
- * <p>To get the results of the text analysis operation, first check that the status value
29
+ * <p>To get the results of the text analysis operation, first check that the status value
30
30
  * published to the Amazon SNS topic is SUCCEEDED. If so, call GetLendingAnalysis, and pass
31
31
  * the job identifier (<code>JobId</code>) from the initial call to
32
32
  * <code>StartLendingAnalysis</code>.</p>