aws-sdk-textract 1.77.0 → 1.78.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-textract/client.rb +29 -5
- data/lib/aws-sdk-textract/client_api.rb +2 -0
- data/lib/aws-sdk-textract/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-textract/types.rb +10 -5
- data/lib/aws-sdk-textract.rb +1 -1
- data/sig/types.rbs +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee6cdb062ac85c4d929287ddce04feb1565330f30b28fe25096d9341d4ed766b
|
4
|
+
data.tar.gz: 8fbce72398b83bc6c7d917ee2f875644367555633312498556547b3002252623
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48de7c17971081143e6a9e4e1169b09d8624c0d85316bf938f1d128c0e92e9a6dbb583312f873851cdd167c73884830323f05566693b46c555e3ccfdaf6d3caf
|
7
|
+
data.tar.gz: 5e656d142ed291bc1a4fceee7967e90b40c78f4fa098fea5070dab8c9e299b6a732228e6036b62547d4ee13cf3a0f005c27b16489e543a71bde2fcd7a64926af
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.78.0
|
@@ -621,6 +621,7 @@ module Aws::Textract
|
|
621
621
|
# resp.blocks[0].geometry.polygon #=> Array
|
622
622
|
# resp.blocks[0].geometry.polygon[0].x #=> Float
|
623
623
|
# resp.blocks[0].geometry.polygon[0].y #=> Float
|
624
|
+
# resp.blocks[0].geometry.rotation_angle #=> Float
|
624
625
|
# resp.blocks[0].id #=> String
|
625
626
|
# resp.blocks[0].relationships #=> Array
|
626
627
|
# resp.blocks[0].relationships[0].type #=> String, one of "VALUE", "CHILD", "COMPLEX_FEATURES", "MERGED_CELL", "TITLE", "ANSWER", "TABLE", "TABLE_TITLE", "TABLE_FOOTER"
|
@@ -721,6 +722,7 @@ module Aws::Textract
|
|
721
722
|
# resp.expense_documents[0].summary_fields[0].label_detection.geometry.polygon #=> Array
|
722
723
|
# resp.expense_documents[0].summary_fields[0].label_detection.geometry.polygon[0].x #=> Float
|
723
724
|
# resp.expense_documents[0].summary_fields[0].label_detection.geometry.polygon[0].y #=> Float
|
725
|
+
# resp.expense_documents[0].summary_fields[0].label_detection.geometry.rotation_angle #=> Float
|
724
726
|
# resp.expense_documents[0].summary_fields[0].label_detection.confidence #=> Float
|
725
727
|
# resp.expense_documents[0].summary_fields[0].value_detection.text #=> String
|
726
728
|
# resp.expense_documents[0].summary_fields[0].value_detection.geometry.bounding_box.width #=> Float
|
@@ -730,6 +732,7 @@ module Aws::Textract
|
|
730
732
|
# resp.expense_documents[0].summary_fields[0].value_detection.geometry.polygon #=> Array
|
731
733
|
# resp.expense_documents[0].summary_fields[0].value_detection.geometry.polygon[0].x #=> Float
|
732
734
|
# resp.expense_documents[0].summary_fields[0].value_detection.geometry.polygon[0].y #=> Float
|
735
|
+
# resp.expense_documents[0].summary_fields[0].value_detection.geometry.rotation_angle #=> Float
|
733
736
|
# resp.expense_documents[0].summary_fields[0].value_detection.confidence #=> Float
|
734
737
|
# resp.expense_documents[0].summary_fields[0].page_number #=> Integer
|
735
738
|
# resp.expense_documents[0].summary_fields[0].currency.code #=> String
|
@@ -752,6 +755,7 @@ module Aws::Textract
|
|
752
755
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon #=> Array
|
753
756
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon[0].x #=> Float
|
754
757
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon[0].y #=> Float
|
758
|
+
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.rotation_angle #=> Float
|
755
759
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.confidence #=> Float
|
756
760
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.text #=> String
|
757
761
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.bounding_box.width #=> Float
|
@@ -761,6 +765,7 @@ module Aws::Textract
|
|
761
765
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon #=> Array
|
762
766
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon[0].x #=> Float
|
763
767
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon[0].y #=> Float
|
768
|
+
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.rotation_angle #=> Float
|
764
769
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.confidence #=> Float
|
765
770
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].page_number #=> Integer
|
766
771
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].currency.code #=> String
|
@@ -785,6 +790,7 @@ module Aws::Textract
|
|
785
790
|
# resp.expense_documents[0].blocks[0].geometry.polygon #=> Array
|
786
791
|
# resp.expense_documents[0].blocks[0].geometry.polygon[0].x #=> Float
|
787
792
|
# resp.expense_documents[0].blocks[0].geometry.polygon[0].y #=> Float
|
793
|
+
# resp.expense_documents[0].blocks[0].geometry.rotation_angle #=> Float
|
788
794
|
# resp.expense_documents[0].blocks[0].id #=> String
|
789
795
|
# resp.expense_documents[0].blocks[0].relationships #=> Array
|
790
796
|
# resp.expense_documents[0].blocks[0].relationships[0].type #=> String, one of "VALUE", "CHILD", "COMPLEX_FEATURES", "MERGED_CELL", "TITLE", "ANSWER", "TABLE", "TABLE_TITLE", "TABLE_FOOTER"
|
@@ -867,6 +873,7 @@ module Aws::Textract
|
|
867
873
|
# resp.identity_documents[0].blocks[0].geometry.polygon #=> Array
|
868
874
|
# resp.identity_documents[0].blocks[0].geometry.polygon[0].x #=> Float
|
869
875
|
# resp.identity_documents[0].blocks[0].geometry.polygon[0].y #=> Float
|
876
|
+
# resp.identity_documents[0].blocks[0].geometry.rotation_angle #=> Float
|
870
877
|
# resp.identity_documents[0].blocks[0].id #=> String
|
871
878
|
# resp.identity_documents[0].blocks[0].relationships #=> Array
|
872
879
|
# resp.identity_documents[0].blocks[0].relationships[0].type #=> String, one of "VALUE", "CHILD", "COMPLEX_FEATURES", "MERGED_CELL", "TITLE", "ANSWER", "TABLE", "TABLE_TITLE", "TABLE_FOOTER"
|
@@ -1175,6 +1182,7 @@ module Aws::Textract
|
|
1175
1182
|
# resp.blocks[0].geometry.polygon #=> Array
|
1176
1183
|
# resp.blocks[0].geometry.polygon[0].x #=> Float
|
1177
1184
|
# resp.blocks[0].geometry.polygon[0].y #=> Float
|
1185
|
+
# resp.blocks[0].geometry.rotation_angle #=> Float
|
1178
1186
|
# resp.blocks[0].id #=> String
|
1179
1187
|
# resp.blocks[0].relationships #=> Array
|
1180
1188
|
# resp.blocks[0].relationships[0].type #=> String, one of "VALUE", "CHILD", "COMPLEX_FEATURES", "MERGED_CELL", "TITLE", "ANSWER", "TABLE", "TABLE_TITLE", "TABLE_FOOTER"
|
@@ -1433,6 +1441,7 @@ module Aws::Textract
|
|
1433
1441
|
# resp.blocks[0].geometry.polygon #=> Array
|
1434
1442
|
# resp.blocks[0].geometry.polygon[0].x #=> Float
|
1435
1443
|
# resp.blocks[0].geometry.polygon[0].y #=> Float
|
1444
|
+
# resp.blocks[0].geometry.rotation_angle #=> Float
|
1436
1445
|
# resp.blocks[0].id #=> String
|
1437
1446
|
# resp.blocks[0].relationships #=> Array
|
1438
1447
|
# resp.blocks[0].relationships[0].type #=> String, one of "VALUE", "CHILD", "COMPLEX_FEATURES", "MERGED_CELL", "TITLE", "ANSWER", "TABLE", "TABLE_TITLE", "TABLE_FOOTER"
|
@@ -1555,6 +1564,7 @@ module Aws::Textract
|
|
1555
1564
|
# resp.blocks[0].geometry.polygon #=> Array
|
1556
1565
|
# resp.blocks[0].geometry.polygon[0].x #=> Float
|
1557
1566
|
# resp.blocks[0].geometry.polygon[0].y #=> Float
|
1567
|
+
# resp.blocks[0].geometry.rotation_angle #=> Float
|
1558
1568
|
# resp.blocks[0].id #=> String
|
1559
1569
|
# resp.blocks[0].relationships #=> Array
|
1560
1570
|
# resp.blocks[0].relationships[0].type #=> String, one of "VALUE", "CHILD", "COMPLEX_FEATURES", "MERGED_CELL", "TITLE", "ANSWER", "TABLE", "TABLE_TITLE", "TABLE_FOOTER"
|
@@ -1666,6 +1676,7 @@ module Aws::Textract
|
|
1666
1676
|
# resp.expense_documents[0].summary_fields[0].label_detection.geometry.polygon #=> Array
|
1667
1677
|
# resp.expense_documents[0].summary_fields[0].label_detection.geometry.polygon[0].x #=> Float
|
1668
1678
|
# resp.expense_documents[0].summary_fields[0].label_detection.geometry.polygon[0].y #=> Float
|
1679
|
+
# resp.expense_documents[0].summary_fields[0].label_detection.geometry.rotation_angle #=> Float
|
1669
1680
|
# resp.expense_documents[0].summary_fields[0].label_detection.confidence #=> Float
|
1670
1681
|
# resp.expense_documents[0].summary_fields[0].value_detection.text #=> String
|
1671
1682
|
# resp.expense_documents[0].summary_fields[0].value_detection.geometry.bounding_box.width #=> Float
|
@@ -1675,6 +1686,7 @@ module Aws::Textract
|
|
1675
1686
|
# resp.expense_documents[0].summary_fields[0].value_detection.geometry.polygon #=> Array
|
1676
1687
|
# resp.expense_documents[0].summary_fields[0].value_detection.geometry.polygon[0].x #=> Float
|
1677
1688
|
# resp.expense_documents[0].summary_fields[0].value_detection.geometry.polygon[0].y #=> Float
|
1689
|
+
# resp.expense_documents[0].summary_fields[0].value_detection.geometry.rotation_angle #=> Float
|
1678
1690
|
# resp.expense_documents[0].summary_fields[0].value_detection.confidence #=> Float
|
1679
1691
|
# resp.expense_documents[0].summary_fields[0].page_number #=> Integer
|
1680
1692
|
# resp.expense_documents[0].summary_fields[0].currency.code #=> String
|
@@ -1697,6 +1709,7 @@ module Aws::Textract
|
|
1697
1709
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon #=> Array
|
1698
1710
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon[0].x #=> Float
|
1699
1711
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon[0].y #=> Float
|
1712
|
+
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.rotation_angle #=> Float
|
1700
1713
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.confidence #=> Float
|
1701
1714
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.text #=> String
|
1702
1715
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.bounding_box.width #=> Float
|
@@ -1706,6 +1719,7 @@ module Aws::Textract
|
|
1706
1719
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon #=> Array
|
1707
1720
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon[0].x #=> Float
|
1708
1721
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon[0].y #=> Float
|
1722
|
+
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.rotation_angle #=> Float
|
1709
1723
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.confidence #=> Float
|
1710
1724
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].page_number #=> Integer
|
1711
1725
|
# resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].currency.code #=> String
|
@@ -1730,6 +1744,7 @@ module Aws::Textract
|
|
1730
1744
|
# resp.expense_documents[0].blocks[0].geometry.polygon #=> Array
|
1731
1745
|
# resp.expense_documents[0].blocks[0].geometry.polygon[0].x #=> Float
|
1732
1746
|
# resp.expense_documents[0].blocks[0].geometry.polygon[0].y #=> Float
|
1747
|
+
# resp.expense_documents[0].blocks[0].geometry.rotation_angle #=> Float
|
1733
1748
|
# resp.expense_documents[0].blocks[0].id #=> String
|
1734
1749
|
# resp.expense_documents[0].blocks[0].relationships #=> Array
|
1735
1750
|
# resp.expense_documents[0].blocks[0].relationships[0].type #=> String, one of "VALUE", "CHILD", "COMPLEX_FEATURES", "MERGED_CELL", "TITLE", "ANSWER", "TABLE", "TABLE_TITLE", "TABLE_FOOTER"
|
@@ -1833,6 +1848,7 @@ module Aws::Textract
|
|
1833
1848
|
# resp.results[0].extractions[0].lending_document.lending_fields[0].key_detection.geometry.polygon #=> Array
|
1834
1849
|
# resp.results[0].extractions[0].lending_document.lending_fields[0].key_detection.geometry.polygon[0].x #=> Float
|
1835
1850
|
# resp.results[0].extractions[0].lending_document.lending_fields[0].key_detection.geometry.polygon[0].y #=> Float
|
1851
|
+
# resp.results[0].extractions[0].lending_document.lending_fields[0].key_detection.geometry.rotation_angle #=> Float
|
1836
1852
|
# resp.results[0].extractions[0].lending_document.lending_fields[0].key_detection.confidence #=> Float
|
1837
1853
|
# resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections #=> Array
|
1838
1854
|
# resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections[0].text #=> String
|
@@ -1844,6 +1860,7 @@ module Aws::Textract
|
|
1844
1860
|
# resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections[0].geometry.polygon #=> Array
|
1845
1861
|
# resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections[0].geometry.polygon[0].x #=> Float
|
1846
1862
|
# resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections[0].geometry.polygon[0].y #=> Float
|
1863
|
+
# resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections[0].geometry.rotation_angle #=> Float
|
1847
1864
|
# resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections[0].confidence #=> Float
|
1848
1865
|
# resp.results[0].extractions[0].lending_document.signature_detections #=> Array
|
1849
1866
|
# resp.results[0].extractions[0].lending_document.signature_detections[0].confidence #=> Float
|
@@ -1854,6 +1871,7 @@ module Aws::Textract
|
|
1854
1871
|
# resp.results[0].extractions[0].lending_document.signature_detections[0].geometry.polygon #=> Array
|
1855
1872
|
# resp.results[0].extractions[0].lending_document.signature_detections[0].geometry.polygon[0].x #=> Float
|
1856
1873
|
# resp.results[0].extractions[0].lending_document.signature_detections[0].geometry.polygon[0].y #=> Float
|
1874
|
+
# resp.results[0].extractions[0].lending_document.signature_detections[0].geometry.rotation_angle #=> Float
|
1857
1875
|
# resp.results[0].extractions[0].expense_document.expense_index #=> Integer
|
1858
1876
|
# resp.results[0].extractions[0].expense_document.summary_fields #=> Array
|
1859
1877
|
# resp.results[0].extractions[0].expense_document.summary_fields[0].type.text #=> String
|
@@ -1866,6 +1884,7 @@ module Aws::Textract
|
|
1866
1884
|
# resp.results[0].extractions[0].expense_document.summary_fields[0].label_detection.geometry.polygon #=> Array
|
1867
1885
|
# resp.results[0].extractions[0].expense_document.summary_fields[0].label_detection.geometry.polygon[0].x #=> Float
|
1868
1886
|
# resp.results[0].extractions[0].expense_document.summary_fields[0].label_detection.geometry.polygon[0].y #=> Float
|
1887
|
+
# resp.results[0].extractions[0].expense_document.summary_fields[0].label_detection.geometry.rotation_angle #=> Float
|
1869
1888
|
# resp.results[0].extractions[0].expense_document.summary_fields[0].label_detection.confidence #=> Float
|
1870
1889
|
# resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.text #=> String
|
1871
1890
|
# resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.geometry.bounding_box.width #=> Float
|
@@ -1875,6 +1894,7 @@ module Aws::Textract
|
|
1875
1894
|
# resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.geometry.polygon #=> Array
|
1876
1895
|
# resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.geometry.polygon[0].x #=> Float
|
1877
1896
|
# resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.geometry.polygon[0].y #=> Float
|
1897
|
+
# resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.geometry.rotation_angle #=> Float
|
1878
1898
|
# resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.confidence #=> Float
|
1879
1899
|
# resp.results[0].extractions[0].expense_document.summary_fields[0].page_number #=> Integer
|
1880
1900
|
# resp.results[0].extractions[0].expense_document.summary_fields[0].currency.code #=> String
|
@@ -1897,6 +1917,7 @@ module Aws::Textract
|
|
1897
1917
|
# resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon #=> Array
|
1898
1918
|
# resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon[0].x #=> Float
|
1899
1919
|
# resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon[0].y #=> Float
|
1920
|
+
# resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.rotation_angle #=> Float
|
1900
1921
|
# resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.confidence #=> Float
|
1901
1922
|
# resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.text #=> String
|
1902
1923
|
# resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.bounding_box.width #=> Float
|
@@ -1906,6 +1927,7 @@ module Aws::Textract
|
|
1906
1927
|
# resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon #=> Array
|
1907
1928
|
# resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon[0].x #=> Float
|
1908
1929
|
# resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon[0].y #=> Float
|
1930
|
+
# resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.rotation_angle #=> Float
|
1909
1931
|
# resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.confidence #=> Float
|
1910
1932
|
# resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].page_number #=> Integer
|
1911
1933
|
# resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].currency.code #=> String
|
@@ -1930,6 +1952,7 @@ module Aws::Textract
|
|
1930
1952
|
# resp.results[0].extractions[0].expense_document.blocks[0].geometry.polygon #=> Array
|
1931
1953
|
# resp.results[0].extractions[0].expense_document.blocks[0].geometry.polygon[0].x #=> Float
|
1932
1954
|
# resp.results[0].extractions[0].expense_document.blocks[0].geometry.polygon[0].y #=> Float
|
1955
|
+
# resp.results[0].extractions[0].expense_document.blocks[0].geometry.rotation_angle #=> Float
|
1933
1956
|
# resp.results[0].extractions[0].expense_document.blocks[0].id #=> String
|
1934
1957
|
# resp.results[0].extractions[0].expense_document.blocks[0].relationships #=> Array
|
1935
1958
|
# resp.results[0].extractions[0].expense_document.blocks[0].relationships[0].type #=> String, one of "VALUE", "CHILD", "COMPLEX_FEATURES", "MERGED_CELL", "TITLE", "ANSWER", "TABLE", "TABLE_TITLE", "TABLE_FOOTER"
|
@@ -1969,6 +1992,7 @@ module Aws::Textract
|
|
1969
1992
|
# resp.results[0].extractions[0].identity_document.blocks[0].geometry.polygon #=> Array
|
1970
1993
|
# resp.results[0].extractions[0].identity_document.blocks[0].geometry.polygon[0].x #=> Float
|
1971
1994
|
# resp.results[0].extractions[0].identity_document.blocks[0].geometry.polygon[0].y #=> Float
|
1995
|
+
# resp.results[0].extractions[0].identity_document.blocks[0].geometry.rotation_angle #=> Float
|
1972
1996
|
# resp.results[0].extractions[0].identity_document.blocks[0].id #=> String
|
1973
1997
|
# resp.results[0].extractions[0].identity_document.blocks[0].relationships #=> Array
|
1974
1998
|
# resp.results[0].extractions[0].identity_document.blocks[0].relationships[0].type #=> String, one of "VALUE", "CHILD", "COMPLEX_FEATURES", "MERGED_CELL", "TITLE", "ANSWER", "TABLE", "TABLE_TITLE", "TABLE_FOOTER"
|
@@ -2356,10 +2380,10 @@ module Aws::Textract
|
|
2356
2380
|
# S3 bucket. Use DocumentLocation to specify the bucket name and file
|
2357
2381
|
# name of the document.
|
2358
2382
|
#
|
2359
|
-
# `
|
2360
|
-
# to get the results of the operation. When text detection is
|
2361
|
-
# Amazon Textract publishes a completion status to the Amazon
|
2362
|
-
# Notification Service (Amazon SNS) topic that you specify in
|
2383
|
+
# `StartDocumentTextDetection` returns a job identifier (`JobId`) that
|
2384
|
+
# you use to get the results of the operation. When text detection is
|
2385
|
+
# finished, Amazon Textract publishes a completion status to the Amazon
|
2386
|
+
# Simple Notification Service (Amazon SNS) topic that you specify in
|
2363
2387
|
# `NotificationChannel`. To get the results of the text detection
|
2364
2388
|
# operation, first check that the status value published to the Amazon
|
2365
2389
|
# SNS topic is `SUCCEEDED`. If so, call GetDocumentTextDetection, and
|
@@ -2814,7 +2838,7 @@ module Aws::Textract
|
|
2814
2838
|
tracer: tracer
|
2815
2839
|
)
|
2816
2840
|
context[:gem_name] = 'aws-sdk-textract'
|
2817
|
-
context[:gem_version] = '1.
|
2841
|
+
context[:gem_version] = '1.78.0'
|
2818
2842
|
Seahorse::Client::Request.new(handlers, context)
|
2819
2843
|
end
|
2820
2844
|
|
@@ -41,6 +41,7 @@ module Aws::Textract
|
|
41
41
|
AnalyzeIDDetections = Shapes::StructureShape.new(name: 'AnalyzeIDDetections')
|
42
42
|
AnalyzeIDRequest = Shapes::StructureShape.new(name: 'AnalyzeIDRequest')
|
43
43
|
AnalyzeIDResponse = Shapes::StructureShape.new(name: 'AnalyzeIDResponse')
|
44
|
+
Angle = Shapes::FloatShape.new(name: 'Angle')
|
44
45
|
AutoUpdate = Shapes::StringShape.new(name: 'AutoUpdate')
|
45
46
|
BadDocumentException = Shapes::StructureShape.new(name: 'BadDocumentException')
|
46
47
|
Block = Shapes::StructureShape.new(name: 'Block')
|
@@ -449,6 +450,7 @@ module Aws::Textract
|
|
449
450
|
|
450
451
|
Geometry.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
|
451
452
|
Geometry.add_member(:polygon, Shapes::ShapeRef.new(shape: Polygon, location_name: "Polygon"))
|
453
|
+
Geometry.add_member(:rotation_angle, Shapes::ShapeRef.new(shape: Angle, location_name: "RotationAngle"))
|
452
454
|
Geometry.struct_class = Types::Geometry
|
453
455
|
|
454
456
|
GetAdapterRequest.add_member(:adapter_id, Shapes::ShapeRef.new(shape: AdapterId, required: true, location_name: "AdapterId"))
|
@@ -28,7 +28,7 @@ module Aws::Textract
|
|
28
28
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
29
29
|
end
|
30
30
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
31
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
31
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
32
32
|
return Aws::Endpoints::Endpoint.new(url: "https://textract-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
33
33
|
end
|
34
34
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -420,7 +420,7 @@ module Aws::Textract
|
|
420
420
|
# ISO basic Latin script characters that aren't separated by
|
421
421
|
# spaces.
|
422
422
|
#
|
423
|
-
# * *LINE* - A string of
|
423
|
+
# * *LINE* - A string of space-delimited, contiguous words that are
|
424
424
|
# detected on a document page.
|
425
425
|
#
|
426
426
|
# In text analysis operations, the following types are returned:
|
@@ -1315,11 +1315,17 @@ module Aws::Textract
|
|
1315
1315
|
# recognized item.
|
1316
1316
|
# @return [Array<Types::Point>]
|
1317
1317
|
#
|
1318
|
+
# @!attribute [rw] rotation_angle
|
1319
|
+
# Provides a numerical value corresponding to the rotation of the
|
1320
|
+
# text.
|
1321
|
+
# @return [Float]
|
1322
|
+
#
|
1318
1323
|
# @see http://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/Geometry AWS API Documentation
|
1319
1324
|
#
|
1320
1325
|
class Geometry < Struct.new(
|
1321
1326
|
:bounding_box,
|
1322
|
-
:polygon
|
1327
|
+
:polygon,
|
1328
|
+
:rotation_angle)
|
1323
1329
|
SENSITIVE = []
|
1324
1330
|
include Aws::Structure
|
1325
1331
|
end
|
@@ -2649,9 +2655,8 @@ module Aws::Textract
|
|
2649
2655
|
# @return [String]
|
2650
2656
|
#
|
2651
2657
|
# @!attribute [rw] name
|
2652
|
-
# The file name of the input document.
|
2653
|
-
#
|
2654
|
-
# also support PDF and TIFF format files.
|
2658
|
+
# The file name of the input document. Image files may be in PDF,
|
2659
|
+
# TIFF, JPEG, or PNG format.
|
2655
2660
|
# @return [String]
|
2656
2661
|
#
|
2657
2662
|
# @!attribute [rw] version
|
data/lib/aws-sdk-textract.rb
CHANGED
data/sig/types.rbs
CHANGED