aws-sdk-textract 1.40.0 → 1.41.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 +30 -1
- data/lib/aws-sdk-textract/client_api.rb +1 -0
- data/lib/aws-sdk-textract/types.rb +35 -5
- 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: ed566c195dad52bbc47888392969db539855ff6d9b69c6d78c63ae33aafaefd3
|
4
|
+
data.tar.gz: efabc2a1b67e08cad8dc6a7a2b06214b34742c52c81c65784f52a56cb066ef47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6456b626ed0d1d251ff49ad10f14bb1ed20dfd3d366a775b3e87df73d955a96fda6f8f93e75413213e36d80a4312bc78b0077e97a95a1f03b7931373ad3eb158
|
7
|
+
data.tar.gz: d760d23d896a6e9c3dbd4703fb39c71579532b1d2046ce515fa16a7480aaabc469997e5f5973f73b4f6164c03e9945acbebfe30fac8bd3e658ee5259f37c5ca6
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.41.0
|
@@ -735,6 +735,35 @@ module Aws::Textract
|
|
735
735
|
# resp.identity_documents[0].identity_document_fields[0].value_detection.normalized_value.value #=> String
|
736
736
|
# resp.identity_documents[0].identity_document_fields[0].value_detection.normalized_value.value_type #=> String, one of "DATE"
|
737
737
|
# resp.identity_documents[0].identity_document_fields[0].value_detection.confidence #=> Float
|
738
|
+
# 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"
|
740
|
+
# resp.identity_documents[0].blocks[0].confidence #=> Float
|
741
|
+
# resp.identity_documents[0].blocks[0].text #=> String
|
742
|
+
# resp.identity_documents[0].blocks[0].text_type #=> String, one of "HANDWRITING", "PRINTED"
|
743
|
+
# resp.identity_documents[0].blocks[0].row_index #=> Integer
|
744
|
+
# resp.identity_documents[0].blocks[0].column_index #=> Integer
|
745
|
+
# resp.identity_documents[0].blocks[0].row_span #=> Integer
|
746
|
+
# resp.identity_documents[0].blocks[0].column_span #=> Integer
|
747
|
+
# resp.identity_documents[0].blocks[0].geometry.bounding_box.width #=> Float
|
748
|
+
# resp.identity_documents[0].blocks[0].geometry.bounding_box.height #=> Float
|
749
|
+
# resp.identity_documents[0].blocks[0].geometry.bounding_box.left #=> Float
|
750
|
+
# resp.identity_documents[0].blocks[0].geometry.bounding_box.top #=> Float
|
751
|
+
# resp.identity_documents[0].blocks[0].geometry.polygon #=> Array
|
752
|
+
# resp.identity_documents[0].blocks[0].geometry.polygon[0].x #=> Float
|
753
|
+
# resp.identity_documents[0].blocks[0].geometry.polygon[0].y #=> Float
|
754
|
+
# resp.identity_documents[0].blocks[0].id #=> String
|
755
|
+
# resp.identity_documents[0].blocks[0].relationships #=> Array
|
756
|
+
# resp.identity_documents[0].blocks[0].relationships[0].type #=> String, one of "VALUE", "CHILD", "COMPLEX_FEATURES", "MERGED_CELL", "TITLE", "ANSWER"
|
757
|
+
# resp.identity_documents[0].blocks[0].relationships[0].ids #=> Array
|
758
|
+
# resp.identity_documents[0].blocks[0].relationships[0].ids[0] #=> String
|
759
|
+
# resp.identity_documents[0].blocks[0].entity_types #=> Array
|
760
|
+
# resp.identity_documents[0].blocks[0].entity_types[0] #=> String, one of "KEY", "VALUE", "COLUMN_HEADER"
|
761
|
+
# resp.identity_documents[0].blocks[0].selection_status #=> String, one of "SELECTED", "NOT_SELECTED"
|
762
|
+
# resp.identity_documents[0].blocks[0].page #=> Integer
|
763
|
+
# resp.identity_documents[0].blocks[0].query.text #=> String
|
764
|
+
# resp.identity_documents[0].blocks[0].query.alias #=> String
|
765
|
+
# resp.identity_documents[0].blocks[0].query.pages #=> Array
|
766
|
+
# resp.identity_documents[0].blocks[0].query.pages[0] #=> String
|
738
767
|
# resp.document_metadata.pages #=> Integer
|
739
768
|
# resp.analyze_id_model_version #=> String
|
740
769
|
#
|
@@ -1624,7 +1653,7 @@ module Aws::Textract
|
|
1624
1653
|
params: params,
|
1625
1654
|
config: config)
|
1626
1655
|
context[:gem_name] = 'aws-sdk-textract'
|
1627
|
-
context[:gem_version] = '1.
|
1656
|
+
context[:gem_version] = '1.41.0'
|
1628
1657
|
Seahorse::Client::Request.new(handlers, context)
|
1629
1658
|
end
|
1630
1659
|
|
@@ -331,6 +331,7 @@ module Aws::Textract
|
|
331
331
|
|
332
332
|
IdentityDocument.add_member(:document_index, Shapes::ShapeRef.new(shape: UInteger, location_name: "DocumentIndex"))
|
333
333
|
IdentityDocument.add_member(:identity_document_fields, Shapes::ShapeRef.new(shape: IdentityDocumentFieldList, location_name: "IdentityDocumentFields"))
|
334
|
+
IdentityDocument.add_member(:blocks, Shapes::ShapeRef.new(shape: BlockList, location_name: "Blocks"))
|
334
335
|
IdentityDocument.struct_class = Types::IdentityDocument
|
335
336
|
|
336
337
|
IdentityDocumentField.add_member(:type, Shapes::ShapeRef.new(shape: AnalyzeIDDetections, location_name: "Type"))
|
@@ -674,7 +674,32 @@ module Aws::Textract
|
|
674
674
|
# Returns the kind of currency detected.
|
675
675
|
#
|
676
676
|
# @!attribute [rw] code
|
677
|
-
# Currency code for detected currency.
|
677
|
+
# Currency code for detected currency. the current supported codes
|
678
|
+
# are:
|
679
|
+
#
|
680
|
+
# * USD
|
681
|
+
#
|
682
|
+
# * EUR
|
683
|
+
#
|
684
|
+
# * GBP
|
685
|
+
#
|
686
|
+
# * CAD
|
687
|
+
#
|
688
|
+
# * INR
|
689
|
+
#
|
690
|
+
# * JPY
|
691
|
+
#
|
692
|
+
# * CHF
|
693
|
+
#
|
694
|
+
# * AUD
|
695
|
+
#
|
696
|
+
# * CNY
|
697
|
+
#
|
698
|
+
# * BZR
|
699
|
+
#
|
700
|
+
# * SEK
|
701
|
+
#
|
702
|
+
# * HKD
|
678
703
|
# @return [String]
|
679
704
|
#
|
680
705
|
# @!attribute [rw] confidence
|
@@ -795,11 +820,11 @@ module Aws::Textract
|
|
795
820
|
end
|
796
821
|
|
797
822
|
# Shows the group that a certain key belongs to. This helps
|
798
|
-
# differentiate
|
799
|
-
#
|
823
|
+
# differentiate between names and addresses for different organizations,
|
824
|
+
# that can be hard to determine via JSON response.
|
800
825
|
#
|
801
826
|
# @!attribute [rw] types
|
802
|
-
# Informs you on the
|
827
|
+
# Informs you on whether the expense group is a name or an address.
|
803
828
|
# @return [Array<String>]
|
804
829
|
#
|
805
830
|
# @!attribute [rw] id
|
@@ -1253,11 +1278,16 @@ module Aws::Textract
|
|
1253
1278
|
# text.
|
1254
1279
|
# @return [Array<Types::IdentityDocumentField>]
|
1255
1280
|
#
|
1281
|
+
# @!attribute [rw] blocks
|
1282
|
+
# Individual word recognition, as returned by document detection.
|
1283
|
+
# @return [Array<Types::Block>]
|
1284
|
+
#
|
1256
1285
|
# @see http://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/IdentityDocument AWS API Documentation
|
1257
1286
|
#
|
1258
1287
|
class IdentityDocument < Struct.new(
|
1259
1288
|
:document_index,
|
1260
|
-
:identity_document_fields
|
1289
|
+
:identity_document_fields,
|
1290
|
+
:blocks)
|
1261
1291
|
SENSITIVE = []
|
1262
1292
|
include Aws::Structure
|
1263
1293
|
end
|
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.41.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
|
+
date: 2022-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|