aws-sdk-textract 1.41.0 → 1.42.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-textract/client.rb +22 -14
- data/lib/aws-sdk-textract/types.rb +13 -7
- data/lib/aws-sdk-textract.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eebbedec0b4bf78bc72386cbf424d474c52cf33465fb73c83da1fb994bcff1b0
|
4
|
+
data.tar.gz: d75f1e5629b1149e22dcf9a17eaa141a8b1e7f49c26af7de19f7103841459ecf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3fbec574131ba1187459288605c3ca483069783022d3efa23d2a729073c738057749b9ba83933df5a334c29d3b0eb16d0fa10341d8fcfc878234c1accebbdff
|
7
|
+
data.tar.gz: 618c001d6629ee90c46a6bd3f9d16ee2e394d1f76e99d5c0814b5aa2d49a24b233e766242d520d1c4aab3d086b144b017600391749dbc1c0a20c2de960572098
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.42.0 (2022-11-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for specifying and extracting information from documents using the Signatures feature within Analyze Document API
|
8
|
+
|
4
9
|
1.41.0 (2022-11-01)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.42.0
|
@@ -397,6 +397,11 @@ module Aws::Textract
|
|
397
397
|
# document are returned (including text that doesn't have a
|
398
398
|
# relationship with the value of `FeatureTypes`).
|
399
399
|
#
|
400
|
+
# * Signatures. A SIGNATURE `Block` object contains the location
|
401
|
+
# information of a signature in a document. If used in conjunction
|
402
|
+
# with forms or tables, a signature can be given a Key-Value pairing
|
403
|
+
# or be detected in the cell of a table.
|
404
|
+
#
|
400
405
|
# * Query. A QUERY Block object contains the query text, alias and link
|
401
406
|
# to the associated Query results block object.
|
402
407
|
#
|
@@ -436,10 +441,13 @@ module Aws::Textract
|
|
436
441
|
# @option params [required, Array<String>] :feature_types
|
437
442
|
# A list of the types of analysis to perform. Add TABLES to the list to
|
438
443
|
# return information about the tables that are detected in the input
|
439
|
-
# document. Add FORMS to return detected form data.
|
440
|
-
#
|
441
|
-
#
|
442
|
-
#
|
444
|
+
# document. Add FORMS to return detected form data. Add SIGNATURES to
|
445
|
+
# return the locations of detected signatures. To perform both forms and
|
446
|
+
# table analysis, add TABLES and FORMS to `FeatureTypes`. To detect
|
447
|
+
# signatures within form data and table data, add SIGNATURES to either
|
448
|
+
# TABLES or FORMS. All lines and words detected in the document are
|
449
|
+
# included in the response (including text that isn't related to the
|
450
|
+
# value of `FeatureTypes`).
|
443
451
|
#
|
444
452
|
# @option params [Types::HumanLoopConfig] :human_loop_config
|
445
453
|
# Sets the configuration for the human in the loop workflow for
|
@@ -467,7 +475,7 @@ module Aws::Textract
|
|
467
475
|
# version: "S3ObjectVersion",
|
468
476
|
# },
|
469
477
|
# },
|
470
|
-
# feature_types: ["TABLES"], # required, accepts TABLES, FORMS, QUERIES
|
478
|
+
# feature_types: ["TABLES"], # required, accepts TABLES, FORMS, QUERIES, SIGNATURES
|
471
479
|
# human_loop_config: {
|
472
480
|
# human_loop_name: "HumanLoopName", # required
|
473
481
|
# flow_definition_arn: "FlowDefinitionArn", # required
|
@@ -490,7 +498,7 @@ module Aws::Textract
|
|
490
498
|
#
|
491
499
|
# resp.document_metadata.pages #=> Integer
|
492
500
|
# resp.blocks #=> Array
|
493
|
-
# resp.blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT"
|
501
|
+
# 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"
|
494
502
|
# resp.blocks[0].confidence #=> Float
|
495
503
|
# resp.blocks[0].text #=> String
|
496
504
|
# resp.blocks[0].text_type #=> String, one of "HANDWRITING", "PRINTED"
|
@@ -654,7 +662,7 @@ module Aws::Textract
|
|
654
662
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].group_properties[0].types[0] #=> String
|
655
663
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].group_properties[0].id #=> String
|
656
664
|
# resp.expense_documents[0].blocks #=> Array
|
657
|
-
# 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"
|
665
|
+
# 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"
|
658
666
|
# resp.expense_documents[0].blocks[0].confidence #=> Float
|
659
667
|
# resp.expense_documents[0].blocks[0].text #=> String
|
660
668
|
# resp.expense_documents[0].blocks[0].text_type #=> String, one of "HANDWRITING", "PRINTED"
|
@@ -736,7 +744,7 @@ module Aws::Textract
|
|
736
744
|
# resp.identity_documents[0].identity_document_fields[0].value_detection.normalized_value.value_type #=> String, one of "DATE"
|
737
745
|
# resp.identity_documents[0].identity_document_fields[0].value_detection.confidence #=> Float
|
738
746
|
# resp.identity_documents[0].blocks #=> Array
|
739
|
-
# 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"
|
747
|
+
# 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"
|
740
748
|
# resp.identity_documents[0].blocks[0].confidence #=> Float
|
741
749
|
# resp.identity_documents[0].blocks[0].text #=> String
|
742
750
|
# resp.identity_documents[0].blocks[0].text_type #=> String, one of "HANDWRITING", "PRINTED"
|
@@ -829,7 +837,7 @@ module Aws::Textract
|
|
829
837
|
#
|
830
838
|
# resp.document_metadata.pages #=> Integer
|
831
839
|
# resp.blocks #=> Array
|
832
|
-
# resp.blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT"
|
840
|
+
# 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"
|
833
841
|
# resp.blocks[0].confidence #=> Float
|
834
842
|
# resp.blocks[0].text #=> String
|
835
843
|
# resp.blocks[0].text_type #=> String, one of "HANDWRITING", "PRINTED"
|
@@ -974,7 +982,7 @@ module Aws::Textract
|
|
974
982
|
# resp.job_status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED", "PARTIAL_SUCCESS"
|
975
983
|
# resp.next_token #=> String
|
976
984
|
# resp.blocks #=> Array
|
977
|
-
# resp.blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT"
|
985
|
+
# 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"
|
978
986
|
# resp.blocks[0].confidence #=> Float
|
979
987
|
# resp.blocks[0].text #=> String
|
980
988
|
# resp.blocks[0].text_type #=> String, one of "HANDWRITING", "PRINTED"
|
@@ -1096,7 +1104,7 @@ module Aws::Textract
|
|
1096
1104
|
# resp.job_status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED", "PARTIAL_SUCCESS"
|
1097
1105
|
# resp.next_token #=> String
|
1098
1106
|
# resp.blocks #=> Array
|
1099
|
-
# resp.blocks[0].block_type #=> String, one of "KEY_VALUE_SET", "PAGE", "LINE", "WORD", "TABLE", "CELL", "SELECTION_ELEMENT", "MERGED_CELL", "TITLE", "QUERY", "QUERY_RESULT"
|
1107
|
+
# 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"
|
1100
1108
|
# resp.blocks[0].confidence #=> Float
|
1101
1109
|
# resp.blocks[0].text #=> String
|
1102
1110
|
# resp.blocks[0].text_type #=> String, one of "HANDWRITING", "PRINTED"
|
@@ -1271,7 +1279,7 @@ module Aws::Textract
|
|
1271
1279
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].group_properties[0].types[0] #=> String
|
1272
1280
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].group_properties[0].id #=> String
|
1273
1281
|
# resp.expense_documents[0].blocks #=> Array
|
1274
|
-
# 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"
|
1282
|
+
# 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"
|
1275
1283
|
# resp.expense_documents[0].blocks[0].confidence #=> Float
|
1276
1284
|
# resp.expense_documents[0].blocks[0].text #=> String
|
1277
1285
|
# resp.expense_documents[0].blocks[0].text_type #=> String, one of "HANDWRITING", "PRINTED"
|
@@ -1400,7 +1408,7 @@ module Aws::Textract
|
|
1400
1408
|
# version: "S3ObjectVersion",
|
1401
1409
|
# },
|
1402
1410
|
# },
|
1403
|
-
# feature_types: ["TABLES"], # required, accepts TABLES, FORMS, QUERIES
|
1411
|
+
# feature_types: ["TABLES"], # required, accepts TABLES, FORMS, QUERIES, SIGNATURES
|
1404
1412
|
# client_request_token: "ClientRequestToken",
|
1405
1413
|
# job_tag: "JobTag",
|
1406
1414
|
# notification_channel: {
|
@@ -1653,7 +1661,7 @@ module Aws::Textract
|
|
1653
1661
|
params: params,
|
1654
1662
|
config: config)
|
1655
1663
|
context[:gem_name] = 'aws-sdk-textract'
|
1656
|
-
context[:gem_version] = '1.
|
1664
|
+
context[:gem_version] = '1.42.0'
|
1657
1665
|
Seahorse::Client::Request.new(handlers, context)
|
1658
1666
|
end
|
1659
1667
|
|
@@ -29,7 +29,7 @@ module Aws::Textract
|
|
29
29
|
# version: "S3ObjectVersion",
|
30
30
|
# },
|
31
31
|
# },
|
32
|
-
# feature_types: ["TABLES"], # required, accepts TABLES, FORMS, QUERIES
|
32
|
+
# feature_types: ["TABLES"], # required, accepts TABLES, FORMS, QUERIES, SIGNATURES
|
33
33
|
# human_loop_config: {
|
34
34
|
# human_loop_name: "HumanLoopName", # required
|
35
35
|
# flow_definition_arn: "FlowDefinitionArn", # required
|
@@ -62,11 +62,13 @@ module Aws::Textract
|
|
62
62
|
# @!attribute [rw] feature_types
|
63
63
|
# A list of the types of analysis to perform. Add TABLES to the list
|
64
64
|
# to return information about the tables that are detected in the
|
65
|
-
# input document. Add FORMS to return detected form data.
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
69
|
-
#
|
65
|
+
# input document. Add FORMS to return detected form data. Add
|
66
|
+
# SIGNATURES to return the locations of detected signatures. To
|
67
|
+
# perform both forms and table analysis, add TABLES and FORMS to
|
68
|
+
# `FeatureTypes`. To detect signatures within form data and table
|
69
|
+
# data, add SIGNATURES to either TABLES or FORMS. All lines and words
|
70
|
+
# detected in the document are included in the response (including
|
71
|
+
# text that isn't related to the value of `FeatureTypes`).
|
70
72
|
# @return [Array<String>]
|
71
73
|
#
|
72
74
|
# @!attribute [rw] human_loop_config
|
@@ -331,6 +333,10 @@ module Aws::Textract
|
|
331
333
|
# document page. Use the value of `SelectionStatus` to determine the
|
332
334
|
# status of the selection element.
|
333
335
|
#
|
336
|
+
# * *SIGNATURE* - The location and confidene score of a signature
|
337
|
+
# detected on a document page. Can be returned as part of a
|
338
|
+
# Key-Value pair or a detected cell.
|
339
|
+
#
|
334
340
|
# * *QUERY* - A question asked during the call of AnalyzeDocument.
|
335
341
|
# Contains an alias and an ID that attaches it to its answer.
|
336
342
|
#
|
@@ -1705,7 +1711,7 @@ module Aws::Textract
|
|
1705
1711
|
# version: "S3ObjectVersion",
|
1706
1712
|
# },
|
1707
1713
|
# },
|
1708
|
-
# feature_types: ["TABLES"], # required, accepts TABLES, FORMS, QUERIES
|
1714
|
+
# feature_types: ["TABLES"], # required, accepts TABLES, FORMS, QUERIES, SIGNATURES
|
1709
1715
|
# client_request_token: "ClientRequestToken",
|
1710
1716
|
# job_tag: "JobTag",
|
1711
1717
|
# notification_channel: {
|
data/lib/aws-sdk-textract.rb
CHANGED
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.
|
4
|
+
version: 1.42.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: 2022-11-
|
11
|
+
date: 2022-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|