aws-sdk-textract 1.41.0 → 1.42.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed566c195dad52bbc47888392969db539855ff6d9b69c6d78c63ae33aafaefd3
4
- data.tar.gz: efabc2a1b67e08cad8dc6a7a2b06214b34742c52c81c65784f52a56cb066ef47
3
+ metadata.gz: eebbedec0b4bf78bc72386cbf424d474c52cf33465fb73c83da1fb994bcff1b0
4
+ data.tar.gz: d75f1e5629b1149e22dcf9a17eaa141a8b1e7f49c26af7de19f7103841459ecf
5
5
  SHA512:
6
- metadata.gz: 6456b626ed0d1d251ff49ad10f14bb1ed20dfd3d366a775b3e87df73d955a96fda6f8f93e75413213e36d80a4312bc78b0077e97a95a1f03b7931373ad3eb158
7
- data.tar.gz: d760d23d896a6e9c3dbd4703fb39c71579532b1d2046ce515fa16a7480aaabc469997e5f5973f73b4f6164c03e9945acbebfe30fac8bd3e658ee5259f37c5ca6
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.41.0
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. To perform both
440
- # types of analysis, add TABLES and FORMS to `FeatureTypes`. All lines
441
- # and words detected in the document are included in the response
442
- # (including text that isn't related to the value of `FeatureTypes`).
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.41.0'
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. To perform
66
- # both types of analysis, add TABLES and FORMS to `FeatureTypes`. All
67
- # lines and words detected in the document are included in the
68
- # response (including text that isn't related to the value of
69
- # `FeatureTypes`).
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: {
@@ -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.41.0'
55
+ GEM_VERSION = '1.42.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.41.0
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-01 00:00:00.000000000 Z
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