aws-sdk-textract 1.50.0 → 1.52.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d9ed1ea669888bee19ff6d4a5c87b672311a18c1d09666e4e3d021aba961e28
4
- data.tar.gz: 29655672abc01396ae9ad2c08cd82232d13b312a905c914c80f2f312562ee6a1
3
+ metadata.gz: d6c27383bca6ec2daf8af86f3f20160b56b4e27bec9fff7fa117a1c2ca3affc5
4
+ data.tar.gz: b3e26b163439b932936aa59126e9f3cfa18f46252c895d3ed16d30aff9a25f08
5
5
  SHA512:
6
- metadata.gz: fe55eb5993ebb1028a98f85bad44d2345fb5376a1ba537367fb3caf33df564cc0c2e605d9ab3ac2cdf9f4c36899e7a7cd85c5f3c1c25150d713be308e3e77c76
7
- data.tar.gz: 81adbe1d7a1806b1554f5162a83aa1465543a2aa4f53eafdf374e281bd84002c77a9b859eea0aeef8d57b53bc7d4bcfb8bf442132a0bdbf6903c931e21d8c0a9
6
+ metadata.gz: 7ac74cb4f655c9c249694dc5b71103ca46b497b0c3ea187bbbdd05205aee36555494409f91e467766aaabf967315816561e7ba2f29371935de98fee8ae5068c1
7
+ data.tar.gz: c99f42f429ee7efeac8b35559efdddabdc9ca7a32fd9fa97af0ca08ae269251010d4ab7e6ee0208e1b61bee94f576bff64189f30436ddd5ac2e56a5c88e3db15
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.52.0 (2023-09-27)
5
+ ------------------
6
+
7
+ * Feature - This release adds new feature - Layout to Analyze Document API which can automatically extract layout elements such as titles, paragraphs, headers, section headers, lists, page numbers, footers, table areas, key-value areas and figure areas and order the elements as a human would read.
8
+
9
+ 1.51.0 (2023-09-19)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.50.0 (2023-07-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.52.0
@@ -462,12 +462,13 @@ module Aws::Textract
462
462
  # A list of the types of analysis to perform. Add TABLES to the list to
463
463
  # return information about the tables that are detected in the input
464
464
  # document. Add FORMS to return detected form data. Add SIGNATURES to
465
- # return the locations of detected signatures. To perform both forms and
466
- # table analysis, add TABLES and FORMS to `FeatureTypes`. To detect
467
- # signatures within form data and table data, add SIGNATURES to either
468
- # TABLES or FORMS. All lines and words detected in the document are
469
- # included in the response (including text that isn't related to the
470
- # value of `FeatureTypes`).
465
+ # return the locations of detected signatures. Add LAYOUT to the list to
466
+ # return information about the layout of the document. To perform both
467
+ # forms and table analysis, add TABLES and FORMS to `FeatureTypes`. To
468
+ # detect signatures within the document and within form data and table
469
+ # data, add SIGNATURES to either TABLES or FORMS. All lines and words
470
+ # detected in the document are included in the response (including text
471
+ # that isn't related to the value of `FeatureTypes`).
471
472
  #
472
473
  # @option params [Types::HumanLoopConfig] :human_loop_config
473
474
  # Sets the configuration for the human in the loop workflow for
@@ -495,7 +496,7 @@ module Aws::Textract
495
496
  # version: "S3ObjectVersion",
496
497
  # },
497
498
  # },
498
- # feature_types: ["TABLES"], # required, accepts TABLES, FORMS, QUERIES, SIGNATURES
499
+ # feature_types: ["TABLES"], # required, accepts TABLES, FORMS, QUERIES, SIGNATURES, LAYOUT
499
500
  # human_loop_config: {
500
501
  # human_loop_name: "HumanLoopName", # required
501
502
  # flow_definition_arn: "FlowDefinitionArn", # required
@@ -518,7 +519,7 @@ module Aws::Textract
518
519
  #
519
520
  # resp.document_metadata.pages #=> Integer
520
521
  # resp.blocks #=> Array
521
- # resp.blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT", "SIGNATURE", "TABLE_TITLE", "TABLE_FOOTER"
522
+ # resp.blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT", "SIGNATURE", "TABLE_TITLE", "TABLE_FOOTER", "LAYOUT_TEXT", "LAYOUT_TITLE", "LAYOUT_HEADER", "LAYOUT_FOOTER", "LAYOUT_SECTION_HEADER", "LAYOUT_PAGE_NUMBER", "LAYOUT_LIST", "LAYOUT_FIGURE", "LAYOUT_TABLE", "LAYOUT_KEY_VALUE"
522
523
  # resp.blocks[0].confidence #=> Float
523
524
  # resp.blocks[0].text #=> String
524
525
  # resp.blocks[0].text_type #=> String, one of "HANDWRITING", "PRINTED"
@@ -682,7 +683,7 @@ module Aws::Textract
682
683
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].group_properties[0].types[0] #=> String
683
684
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].group_properties[0].id #=> String
684
685
  # resp.expense_documents[0].blocks #=> Array
685
- # resp.expense_documents[0].blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT", "SIGNATURE", "TABLE_TITLE", "TABLE_FOOTER"
686
+ # resp.expense_documents[0].blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT", "SIGNATURE", "TABLE_TITLE", "TABLE_FOOTER", "LAYOUT_TEXT", "LAYOUT_TITLE", "LAYOUT_HEADER", "LAYOUT_FOOTER", "LAYOUT_SECTION_HEADER", "LAYOUT_PAGE_NUMBER", "LAYOUT_LIST", "LAYOUT_FIGURE", "LAYOUT_TABLE", "LAYOUT_KEY_VALUE"
686
687
  # resp.expense_documents[0].blocks[0].confidence #=> Float
687
688
  # resp.expense_documents[0].blocks[0].text #=> String
688
689
  # resp.expense_documents[0].blocks[0].text_type #=> String, one of "HANDWRITING", "PRINTED"
@@ -764,7 +765,7 @@ module Aws::Textract
764
765
  # resp.identity_documents[0].identity_document_fields[0].value_detection.normalized_value.value_type #=> String, one of "DATE"
765
766
  # resp.identity_documents[0].identity_document_fields[0].value_detection.confidence #=> Float
766
767
  # resp.identity_documents[0].blocks #=> Array
767
- # resp.identity_documents[0].blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT", "SIGNATURE", "TABLE_TITLE", "TABLE_FOOTER"
768
+ # resp.identity_documents[0].blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT", "SIGNATURE", "TABLE_TITLE", "TABLE_FOOTER", "LAYOUT_TEXT", "LAYOUT_TITLE", "LAYOUT_HEADER", "LAYOUT_FOOTER", "LAYOUT_SECTION_HEADER", "LAYOUT_PAGE_NUMBER", "LAYOUT_LIST", "LAYOUT_FIGURE", "LAYOUT_TABLE", "LAYOUT_KEY_VALUE"
768
769
  # resp.identity_documents[0].blocks[0].confidence #=> Float
769
770
  # resp.identity_documents[0].blocks[0].text #=> String
770
771
  # resp.identity_documents[0].blocks[0].text_type #=> String, one of "HANDWRITING", "PRINTED"
@@ -857,7 +858,7 @@ module Aws::Textract
857
858
  #
858
859
  # resp.document_metadata.pages #=> Integer
859
860
  # resp.blocks #=> Array
860
- # resp.blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT", "SIGNATURE", "TABLE_TITLE", "TABLE_FOOTER"
861
+ # resp.blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT", "SIGNATURE", "TABLE_TITLE", "TABLE_FOOTER", "LAYOUT_TEXT", "LAYOUT_TITLE", "LAYOUT_HEADER", "LAYOUT_FOOTER", "LAYOUT_SECTION_HEADER", "LAYOUT_PAGE_NUMBER", "LAYOUT_LIST", "LAYOUT_FIGURE", "LAYOUT_TABLE", "LAYOUT_KEY_VALUE"
861
862
  # resp.blocks[0].confidence #=> Float
862
863
  # resp.blocks[0].text #=> String
863
864
  # resp.blocks[0].text_type #=> String, one of "HANDWRITING", "PRINTED"
@@ -1002,7 +1003,7 @@ module Aws::Textract
1002
1003
  # resp.job_status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED", "PARTIAL_SUCCESS"
1003
1004
  # resp.next_token #=> String
1004
1005
  # resp.blocks #=> Array
1005
- # resp.blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT", "SIGNATURE", "TABLE_TITLE", "TABLE_FOOTER"
1006
+ # resp.blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT", "SIGNATURE", "TABLE_TITLE", "TABLE_FOOTER", "LAYOUT_TEXT", "LAYOUT_TITLE", "LAYOUT_HEADER", "LAYOUT_FOOTER", "LAYOUT_SECTION_HEADER", "LAYOUT_PAGE_NUMBER", "LAYOUT_LIST", "LAYOUT_FIGURE", "LAYOUT_TABLE", "LAYOUT_KEY_VALUE"
1006
1007
  # resp.blocks[0].confidence #=> Float
1007
1008
  # resp.blocks[0].text #=> String
1008
1009
  # resp.blocks[0].text_type #=> String, one of "HANDWRITING", "PRINTED"
@@ -1124,7 +1125,7 @@ module Aws::Textract
1124
1125
  # resp.job_status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED", "PARTIAL_SUCCESS"
1125
1126
  # resp.next_token #=> String
1126
1127
  # resp.blocks #=> Array
1127
- # resp.blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT", "SIGNATURE", "TABLE_TITLE", "TABLE_FOOTER"
1128
+ # resp.blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT", "SIGNATURE", "TABLE_TITLE", "TABLE_FOOTER", "LAYOUT_TEXT", "LAYOUT_TITLE", "LAYOUT_HEADER", "LAYOUT_FOOTER", "LAYOUT_SECTION_HEADER", "LAYOUT_PAGE_NUMBER", "LAYOUT_LIST", "LAYOUT_FIGURE", "LAYOUT_TABLE", "LAYOUT_KEY_VALUE"
1128
1129
  # resp.blocks[0].confidence #=> Float
1129
1130
  # resp.blocks[0].text #=> String
1130
1131
  # resp.blocks[0].text_type #=> String, one of "HANDWRITING", "PRINTED"
@@ -1299,7 +1300,7 @@ module Aws::Textract
1299
1300
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].group_properties[0].types[0] #=> String
1300
1301
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].group_properties[0].id #=> String
1301
1302
  # resp.expense_documents[0].blocks #=> Array
1302
- # resp.expense_documents[0].blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT", "SIGNATURE", "TABLE_TITLE", "TABLE_FOOTER"
1303
+ # resp.expense_documents[0].blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT", "SIGNATURE", "TABLE_TITLE", "TABLE_FOOTER", "LAYOUT_TEXT", "LAYOUT_TITLE", "LAYOUT_HEADER", "LAYOUT_FOOTER", "LAYOUT_SECTION_HEADER", "LAYOUT_PAGE_NUMBER", "LAYOUT_LIST", "LAYOUT_FIGURE", "LAYOUT_TABLE", "LAYOUT_KEY_VALUE"
1303
1304
  # resp.expense_documents[0].blocks[0].confidence #=> Float
1304
1305
  # resp.expense_documents[0].blocks[0].text #=> String
1305
1306
  # resp.expense_documents[0].blocks[0].text_type #=> String, one of "HANDWRITING", "PRINTED"
@@ -1499,7 +1500,7 @@ module Aws::Textract
1499
1500
  # resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].group_properties[0].types[0] #=> String
1500
1501
  # resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].group_properties[0].id #=> String
1501
1502
  # resp.results[0].extractions[0].expense_document.blocks #=> Array
1502
- # resp.results[0].extractions[0].expense_document.blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT", "SIGNATURE", "TABLE_TITLE", "TABLE_FOOTER"
1503
+ # resp.results[0].extractions[0].expense_document.blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT", "SIGNATURE", "TABLE_TITLE", "TABLE_FOOTER", "LAYOUT_TEXT", "LAYOUT_TITLE", "LAYOUT_HEADER", "LAYOUT_FOOTER", "LAYOUT_SECTION_HEADER", "LAYOUT_PAGE_NUMBER", "LAYOUT_LIST", "LAYOUT_FIGURE", "LAYOUT_TABLE", "LAYOUT_KEY_VALUE"
1503
1504
  # resp.results[0].extractions[0].expense_document.blocks[0].confidence #=> Float
1504
1505
  # resp.results[0].extractions[0].expense_document.blocks[0].text #=> String
1505
1506
  # resp.results[0].extractions[0].expense_document.blocks[0].text_type #=> String, one of "HANDWRITING", "PRINTED"
@@ -1538,7 +1539,7 @@ module Aws::Textract
1538
1539
  # resp.results[0].extractions[0].identity_document.identity_document_fields[0].value_detection.normalized_value.value_type #=> String, one of "DATE"
1539
1540
  # resp.results[0].extractions[0].identity_document.identity_document_fields[0].value_detection.confidence #=> Float
1540
1541
  # resp.results[0].extractions[0].identity_document.blocks #=> Array
1541
- # resp.results[0].extractions[0].identity_document.blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT", "SIGNATURE", "TABLE_TITLE", "TABLE_FOOTER"
1542
+ # resp.results[0].extractions[0].identity_document.blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT", "SIGNATURE", "TABLE_TITLE", "TABLE_FOOTER", "LAYOUT_TEXT", "LAYOUT_TITLE", "LAYOUT_HEADER", "LAYOUT_FOOTER", "LAYOUT_SECTION_HEADER", "LAYOUT_PAGE_NUMBER", "LAYOUT_LIST", "LAYOUT_FIGURE", "LAYOUT_TABLE", "LAYOUT_KEY_VALUE"
1542
1543
  # resp.results[0].extractions[0].identity_document.blocks[0].confidence #=> Float
1543
1544
  # resp.results[0].extractions[0].identity_document.blocks[0].text #=> String
1544
1545
  # resp.results[0].extractions[0].identity_document.blocks[0].text_type #=> String, one of "HANDWRITING", "PRINTED"
@@ -1738,7 +1739,7 @@ module Aws::Textract
1738
1739
  # version: "S3ObjectVersion",
1739
1740
  # },
1740
1741
  # },
1741
- # feature_types: ["TABLES"], # required, accepts TABLES, FORMS, QUERIES, SIGNATURES
1742
+ # feature_types: ["TABLES"], # required, accepts TABLES, FORMS, QUERIES, SIGNATURES, LAYOUT
1742
1743
  # client_request_token: "ClientRequestToken",
1743
1744
  # job_tag: "JobTag",
1744
1745
  # notification_channel: {
@@ -2125,7 +2126,7 @@ module Aws::Textract
2125
2126
  params: params,
2126
2127
  config: config)
2127
2128
  context[:gem_name] = 'aws-sdk-textract'
2128
- context[:gem_version] = '1.50.0'
2129
+ context[:gem_version] = '1.52.0'
2129
2130
  Seahorse::Client::Request.new(handlers, context)
2130
2131
  end
2131
2132
 
@@ -32,12 +32,14 @@ module Aws::Textract
32
32
  # A list of the types of analysis to perform. Add TABLES to the list
33
33
  # to return information about the tables that are detected in the
34
34
  # input document. Add FORMS to return detected form data. Add
35
- # SIGNATURES to return the locations of detected signatures. To
36
- # perform both forms and table analysis, add TABLES and FORMS to
37
- # `FeatureTypes`. To detect signatures within form data and table
38
- # data, add SIGNATURES to either TABLES or FORMS. All lines and words
39
- # detected in the document are included in the response (including
40
- # text that isn't related to the value of `FeatureTypes`).
35
+ # SIGNATURES to return the locations of detected signatures. Add
36
+ # LAYOUT to the list to return information about the layout of the
37
+ # document. To perform both forms and table analysis, add TABLES and
38
+ # FORMS to `FeatureTypes`. To detect signatures within the document
39
+ # and within form data and table data, add SIGNATURES to either TABLES
40
+ # or FORMS. All lines and words detected in the document are included
41
+ # in the response (including text that isn't related to the value of
42
+ # `FeatureTypes`).
41
43
  # @return [Array<String>]
42
44
  #
43
45
  # @!attribute [rw] human_loop_config
@@ -284,7 +286,7 @@ module Aws::Textract
284
286
  # document page. Use the value of `SelectionStatus` to determine the
285
287
  # status of the selection element.
286
288
  #
287
- # * *SIGNATURE* - The location and confidene score of a signature
289
+ # * *SIGNATURE* - The location and confidence score of a signature
288
290
  # detected on a document page. Can be returned as part of a
289
291
  # Key-Value pair or a detected cell.
290
292
  #
@@ -401,9 +403,7 @@ module Aws::Textract
401
403
  # format. A scanned image (JPEG/PNG) provided to an asynchronous
402
404
  # operation, even if it contains multiple document pages, is
403
405
  # considered a single-page document. This means that for scanned
404
- # images the value of `Page` is always 1. Synchronous operations will
405
- # also return a `Page` value of 1 because every input document is
406
- # considered to be a single-page document.
406
+ # images the value of `Page` is always 1.
407
407
  # @return [Integer]
408
408
  #
409
409
  # @!attribute [rw] query
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-textract/customizations'
52
52
  # @!group service
53
53
  module Aws::Textract
54
54
 
55
- GEM_VERSION = '1.50.0'
55
+ GEM_VERSION = '1.52.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-textract
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.50.0
4
+ version: 1.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-11 00:00:00.000000000 Z
11
+ date: 2023-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.177.0
22
+ version: 3.184.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.177.0
32
+ version: 3.184.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement