aws-sdk-textract 1.77.0 → 1.79.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: 6e1b80aad05627e3c9b3f7759ae0702738a2c9b6bca27574192d4bcbc5788772
4
- data.tar.gz: 5ddc51aa34f6f395479cb8b368eb1516d264c94855a02aa31a01360f6d67b4d3
3
+ metadata.gz: eb2b52bea91ef3947708b4711d3b8627b5cd61b8d597d9a9c84c51661c424b84
4
+ data.tar.gz: 012b4644d6816fb3bcfee35998473ff610521d20d5e7252d005b4e1cca3dbead
5
5
  SHA512:
6
- metadata.gz: 8003cce5602e8d984a33f0e09a7ca16d7a637d7c8814a3648afc59c667052d886b51c871812e0de8b59150185cced2cca6ebadbcfa98deb340c923ac56391298
7
- data.tar.gz: 192f1fc5b9f82beca15b0da618b38d026644c3a3f69252d4b83d2edc8434b2fdf080769216a21ff59958b4a0851db1ababad20159362670ed334bf7b89c03ac4
6
+ metadata.gz: 3ed795ff763df6d24e597c5257ff2896fe1a69591870c71534a28fb0aa96b59f415d93fc3c310480630f40643d82419961cdf65799f016f726f2f8aa05958f5a
7
+ data.tar.gz: 95a2368aff25fcb97784ead46282ce22c173295caf998d02f03b132457ace9036900abdc586ff24246276fdd2e834ab6b9731ad76bec3d86f36e61a5d8f6c0b4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.79.0 (2025-07-21)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.78.0 (2025-06-25)
10
+ ------------------
11
+
12
+ * Feature - Add RotationAngle field to Geometry of WORD blocks for Textract AnalyzeDocument API
13
+
4
14
  1.77.0 (2025-06-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.77.0
1
+ 1.79.0
@@ -95,7 +95,7 @@ module Aws::Textract
95
95
  # class name or an instance of a plugin class.
96
96
  #
97
97
  # @option options [required, Aws::CredentialProvider] :credentials
98
- # Your AWS credentials. This can be an instance of any one of the
98
+ # Your AWS credentials used for authentication. This can be an instance of any one of the
99
99
  # following classes:
100
100
  #
101
101
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
@@ -128,18 +128,23 @@ module Aws::Textract
128
128
  # locations will be searched for credentials:
129
129
  #
130
130
  # * `Aws.config[:credentials]`
131
+ #
131
132
  # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
132
133
  # `:account_id` options.
133
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
134
- # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
134
+ #
135
+ # * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
136
+ # `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
137
+ #
135
138
  # * `~/.aws/credentials`
139
+ #
136
140
  # * `~/.aws/config`
141
+ #
137
142
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
143
  # are very aggressive. Construct and pass an instance of
139
144
  # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
145
  # enable retries and extended timeouts. Instance profile credential
141
- # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
- # to true.
146
+ # fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
147
+ # to `true`.
143
148
  #
144
149
  # @option options [required, String] :region
145
150
  # The AWS region to connect to. The configured `:region` is
@@ -167,6 +172,11 @@ module Aws::Textract
167
172
  # When false, the request will raise a `RetryCapacityNotAvailableError` and will
168
173
  # not retry instead of sleeping.
169
174
  #
175
+ # @option options [Array<String>] :auth_scheme_preference
176
+ # A list of preferred authentication schemes to use when making a request. Supported values are:
177
+ # `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
178
+ # shared config as `auth_scheme_preference`, the value should be a comma-separated list.
179
+ #
170
180
  # @option options [Boolean] :client_side_monitoring (false)
171
181
  # When `true`, client-side metrics will be collected for all API requests from
172
182
  # this client.
@@ -253,8 +263,8 @@ module Aws::Textract
253
263
  # 4 times. Used in `standard` and `adaptive` retry modes.
254
264
  #
255
265
  # @option options [String] :profile ("default")
256
- # Used when loading credentials from the shared credentials file
257
- # at HOME/.aws/credentials. When not specified, 'default' is used.
266
+ # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
267
+ # When not specified, 'default' is used.
258
268
  #
259
269
  # @option options [String] :request_checksum_calculation ("when_supported")
260
270
  # Determines when a checksum will be calculated for request payloads. Values are:
@@ -374,7 +384,7 @@ module Aws::Textract
374
384
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
375
385
  #
376
386
  # @option options [Aws::TokenProvider] :token_provider
377
- # A Bearer Token Provider. This can be an instance of any one of the
387
+ # Your Bearer token used for authentication. This can be an instance of any one of the
378
388
  # following classes:
379
389
  #
380
390
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
@@ -621,6 +631,7 @@ module Aws::Textract
621
631
  # resp.blocks[0].geometry.polygon #=> Array
622
632
  # resp.blocks[0].geometry.polygon[0].x #=> Float
623
633
  # resp.blocks[0].geometry.polygon[0].y #=> Float
634
+ # resp.blocks[0].geometry.rotation_angle #=> Float
624
635
  # resp.blocks[0].id #=> String
625
636
  # resp.blocks[0].relationships #=> Array
626
637
  # resp.blocks[0].relationships[0].type #=> String, one of "VALUE", "CHILD", "COMPLEX_FEATURES", "MERGED_CELL", "TITLE", "ANSWER", "TABLE", "TABLE_TITLE", "TABLE_FOOTER"
@@ -721,6 +732,7 @@ module Aws::Textract
721
732
  # resp.expense_documents[0].summary_fields[0].label_detection.geometry.polygon #=> Array
722
733
  # resp.expense_documents[0].summary_fields[0].label_detection.geometry.polygon[0].x #=> Float
723
734
  # resp.expense_documents[0].summary_fields[0].label_detection.geometry.polygon[0].y #=> Float
735
+ # resp.expense_documents[0].summary_fields[0].label_detection.geometry.rotation_angle #=> Float
724
736
  # resp.expense_documents[0].summary_fields[0].label_detection.confidence #=> Float
725
737
  # resp.expense_documents[0].summary_fields[0].value_detection.text #=> String
726
738
  # resp.expense_documents[0].summary_fields[0].value_detection.geometry.bounding_box.width #=> Float
@@ -730,6 +742,7 @@ module Aws::Textract
730
742
  # resp.expense_documents[0].summary_fields[0].value_detection.geometry.polygon #=> Array
731
743
  # resp.expense_documents[0].summary_fields[0].value_detection.geometry.polygon[0].x #=> Float
732
744
  # resp.expense_documents[0].summary_fields[0].value_detection.geometry.polygon[0].y #=> Float
745
+ # resp.expense_documents[0].summary_fields[0].value_detection.geometry.rotation_angle #=> Float
733
746
  # resp.expense_documents[0].summary_fields[0].value_detection.confidence #=> Float
734
747
  # resp.expense_documents[0].summary_fields[0].page_number #=> Integer
735
748
  # resp.expense_documents[0].summary_fields[0].currency.code #=> String
@@ -752,6 +765,7 @@ module Aws::Textract
752
765
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon #=> Array
753
766
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon[0].x #=> Float
754
767
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon[0].y #=> Float
768
+ # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.rotation_angle #=> Float
755
769
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.confidence #=> Float
756
770
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.text #=> String
757
771
  # 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 +775,7 @@ module Aws::Textract
761
775
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon #=> Array
762
776
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon[0].x #=> Float
763
777
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon[0].y #=> Float
778
+ # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.rotation_angle #=> Float
764
779
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.confidence #=> Float
765
780
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].page_number #=> Integer
766
781
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].currency.code #=> String
@@ -785,6 +800,7 @@ module Aws::Textract
785
800
  # resp.expense_documents[0].blocks[0].geometry.polygon #=> Array
786
801
  # resp.expense_documents[0].blocks[0].geometry.polygon[0].x #=> Float
787
802
  # resp.expense_documents[0].blocks[0].geometry.polygon[0].y #=> Float
803
+ # resp.expense_documents[0].blocks[0].geometry.rotation_angle #=> Float
788
804
  # resp.expense_documents[0].blocks[0].id #=> String
789
805
  # resp.expense_documents[0].blocks[0].relationships #=> Array
790
806
  # 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 +883,7 @@ module Aws::Textract
867
883
  # resp.identity_documents[0].blocks[0].geometry.polygon #=> Array
868
884
  # resp.identity_documents[0].blocks[0].geometry.polygon[0].x #=> Float
869
885
  # resp.identity_documents[0].blocks[0].geometry.polygon[0].y #=> Float
886
+ # resp.identity_documents[0].blocks[0].geometry.rotation_angle #=> Float
870
887
  # resp.identity_documents[0].blocks[0].id #=> String
871
888
  # resp.identity_documents[0].blocks[0].relationships #=> Array
872
889
  # 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 +1192,7 @@ module Aws::Textract
1175
1192
  # resp.blocks[0].geometry.polygon #=> Array
1176
1193
  # resp.blocks[0].geometry.polygon[0].x #=> Float
1177
1194
  # resp.blocks[0].geometry.polygon[0].y #=> Float
1195
+ # resp.blocks[0].geometry.rotation_angle #=> Float
1178
1196
  # resp.blocks[0].id #=> String
1179
1197
  # resp.blocks[0].relationships #=> Array
1180
1198
  # resp.blocks[0].relationships[0].type #=> String, one of "VALUE", "CHILD", "COMPLEX_FEATURES", "MERGED_CELL", "TITLE", "ANSWER", "TABLE", "TABLE_TITLE", "TABLE_FOOTER"
@@ -1433,6 +1451,7 @@ module Aws::Textract
1433
1451
  # resp.blocks[0].geometry.polygon #=> Array
1434
1452
  # resp.blocks[0].geometry.polygon[0].x #=> Float
1435
1453
  # resp.blocks[0].geometry.polygon[0].y #=> Float
1454
+ # resp.blocks[0].geometry.rotation_angle #=> Float
1436
1455
  # resp.blocks[0].id #=> String
1437
1456
  # resp.blocks[0].relationships #=> Array
1438
1457
  # resp.blocks[0].relationships[0].type #=> String, one of "VALUE", "CHILD", "COMPLEX_FEATURES", "MERGED_CELL", "TITLE", "ANSWER", "TABLE", "TABLE_TITLE", "TABLE_FOOTER"
@@ -1555,6 +1574,7 @@ module Aws::Textract
1555
1574
  # resp.blocks[0].geometry.polygon #=> Array
1556
1575
  # resp.blocks[0].geometry.polygon[0].x #=> Float
1557
1576
  # resp.blocks[0].geometry.polygon[0].y #=> Float
1577
+ # resp.blocks[0].geometry.rotation_angle #=> Float
1558
1578
  # resp.blocks[0].id #=> String
1559
1579
  # resp.blocks[0].relationships #=> Array
1560
1580
  # resp.blocks[0].relationships[0].type #=> String, one of "VALUE", "CHILD", "COMPLEX_FEATURES", "MERGED_CELL", "TITLE", "ANSWER", "TABLE", "TABLE_TITLE", "TABLE_FOOTER"
@@ -1666,6 +1686,7 @@ module Aws::Textract
1666
1686
  # resp.expense_documents[0].summary_fields[0].label_detection.geometry.polygon #=> Array
1667
1687
  # resp.expense_documents[0].summary_fields[0].label_detection.geometry.polygon[0].x #=> Float
1668
1688
  # resp.expense_documents[0].summary_fields[0].label_detection.geometry.polygon[0].y #=> Float
1689
+ # resp.expense_documents[0].summary_fields[0].label_detection.geometry.rotation_angle #=> Float
1669
1690
  # resp.expense_documents[0].summary_fields[0].label_detection.confidence #=> Float
1670
1691
  # resp.expense_documents[0].summary_fields[0].value_detection.text #=> String
1671
1692
  # resp.expense_documents[0].summary_fields[0].value_detection.geometry.bounding_box.width #=> Float
@@ -1675,6 +1696,7 @@ module Aws::Textract
1675
1696
  # resp.expense_documents[0].summary_fields[0].value_detection.geometry.polygon #=> Array
1676
1697
  # resp.expense_documents[0].summary_fields[0].value_detection.geometry.polygon[0].x #=> Float
1677
1698
  # resp.expense_documents[0].summary_fields[0].value_detection.geometry.polygon[0].y #=> Float
1699
+ # resp.expense_documents[0].summary_fields[0].value_detection.geometry.rotation_angle #=> Float
1678
1700
  # resp.expense_documents[0].summary_fields[0].value_detection.confidence #=> Float
1679
1701
  # resp.expense_documents[0].summary_fields[0].page_number #=> Integer
1680
1702
  # resp.expense_documents[0].summary_fields[0].currency.code #=> String
@@ -1697,6 +1719,7 @@ module Aws::Textract
1697
1719
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon #=> Array
1698
1720
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon[0].x #=> Float
1699
1721
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon[0].y #=> Float
1722
+ # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.rotation_angle #=> Float
1700
1723
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.confidence #=> Float
1701
1724
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.text #=> String
1702
1725
  # 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 +1729,7 @@ module Aws::Textract
1706
1729
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon #=> Array
1707
1730
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon[0].x #=> Float
1708
1731
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon[0].y #=> Float
1732
+ # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.rotation_angle #=> Float
1709
1733
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.confidence #=> Float
1710
1734
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].page_number #=> Integer
1711
1735
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].currency.code #=> String
@@ -1730,6 +1754,7 @@ module Aws::Textract
1730
1754
  # resp.expense_documents[0].blocks[0].geometry.polygon #=> Array
1731
1755
  # resp.expense_documents[0].blocks[0].geometry.polygon[0].x #=> Float
1732
1756
  # resp.expense_documents[0].blocks[0].geometry.polygon[0].y #=> Float
1757
+ # resp.expense_documents[0].blocks[0].geometry.rotation_angle #=> Float
1733
1758
  # resp.expense_documents[0].blocks[0].id #=> String
1734
1759
  # resp.expense_documents[0].blocks[0].relationships #=> Array
1735
1760
  # 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 +1858,7 @@ module Aws::Textract
1833
1858
  # resp.results[0].extractions[0].lending_document.lending_fields[0].key_detection.geometry.polygon #=> Array
1834
1859
  # resp.results[0].extractions[0].lending_document.lending_fields[0].key_detection.geometry.polygon[0].x #=> Float
1835
1860
  # resp.results[0].extractions[0].lending_document.lending_fields[0].key_detection.geometry.polygon[0].y #=> Float
1861
+ # resp.results[0].extractions[0].lending_document.lending_fields[0].key_detection.geometry.rotation_angle #=> Float
1836
1862
  # resp.results[0].extractions[0].lending_document.lending_fields[0].key_detection.confidence #=> Float
1837
1863
  # resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections #=> Array
1838
1864
  # resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections[0].text #=> String
@@ -1844,6 +1870,7 @@ module Aws::Textract
1844
1870
  # resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections[0].geometry.polygon #=> Array
1845
1871
  # resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections[0].geometry.polygon[0].x #=> Float
1846
1872
  # resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections[0].geometry.polygon[0].y #=> Float
1873
+ # resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections[0].geometry.rotation_angle #=> Float
1847
1874
  # resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections[0].confidence #=> Float
1848
1875
  # resp.results[0].extractions[0].lending_document.signature_detections #=> Array
1849
1876
  # resp.results[0].extractions[0].lending_document.signature_detections[0].confidence #=> Float
@@ -1854,6 +1881,7 @@ module Aws::Textract
1854
1881
  # resp.results[0].extractions[0].lending_document.signature_detections[0].geometry.polygon #=> Array
1855
1882
  # resp.results[0].extractions[0].lending_document.signature_detections[0].geometry.polygon[0].x #=> Float
1856
1883
  # resp.results[0].extractions[0].lending_document.signature_detections[0].geometry.polygon[0].y #=> Float
1884
+ # resp.results[0].extractions[0].lending_document.signature_detections[0].geometry.rotation_angle #=> Float
1857
1885
  # resp.results[0].extractions[0].expense_document.expense_index #=> Integer
1858
1886
  # resp.results[0].extractions[0].expense_document.summary_fields #=> Array
1859
1887
  # resp.results[0].extractions[0].expense_document.summary_fields[0].type.text #=> String
@@ -1866,6 +1894,7 @@ module Aws::Textract
1866
1894
  # resp.results[0].extractions[0].expense_document.summary_fields[0].label_detection.geometry.polygon #=> Array
1867
1895
  # resp.results[0].extractions[0].expense_document.summary_fields[0].label_detection.geometry.polygon[0].x #=> Float
1868
1896
  # resp.results[0].extractions[0].expense_document.summary_fields[0].label_detection.geometry.polygon[0].y #=> Float
1897
+ # resp.results[0].extractions[0].expense_document.summary_fields[0].label_detection.geometry.rotation_angle #=> Float
1869
1898
  # resp.results[0].extractions[0].expense_document.summary_fields[0].label_detection.confidence #=> Float
1870
1899
  # resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.text #=> String
1871
1900
  # resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.geometry.bounding_box.width #=> Float
@@ -1875,6 +1904,7 @@ module Aws::Textract
1875
1904
  # resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.geometry.polygon #=> Array
1876
1905
  # resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.geometry.polygon[0].x #=> Float
1877
1906
  # resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.geometry.polygon[0].y #=> Float
1907
+ # resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.geometry.rotation_angle #=> Float
1878
1908
  # resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.confidence #=> Float
1879
1909
  # resp.results[0].extractions[0].expense_document.summary_fields[0].page_number #=> Integer
1880
1910
  # resp.results[0].extractions[0].expense_document.summary_fields[0].currency.code #=> String
@@ -1897,6 +1927,7 @@ module Aws::Textract
1897
1927
  # 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
1928
  # 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
1929
  # 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
1930
+ # 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
1931
  # resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.confidence #=> Float
1901
1932
  # resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.text #=> String
1902
1933
  # 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 +1937,7 @@ module Aws::Textract
1906
1937
  # 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
1938
  # 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
1939
  # 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
1940
+ # 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
1941
  # resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.confidence #=> Float
1910
1942
  # resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].page_number #=> Integer
1911
1943
  # resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].currency.code #=> String
@@ -1930,6 +1962,7 @@ module Aws::Textract
1930
1962
  # resp.results[0].extractions[0].expense_document.blocks[0].geometry.polygon #=> Array
1931
1963
  # resp.results[0].extractions[0].expense_document.blocks[0].geometry.polygon[0].x #=> Float
1932
1964
  # resp.results[0].extractions[0].expense_document.blocks[0].geometry.polygon[0].y #=> Float
1965
+ # resp.results[0].extractions[0].expense_document.blocks[0].geometry.rotation_angle #=> Float
1933
1966
  # resp.results[0].extractions[0].expense_document.blocks[0].id #=> String
1934
1967
  # resp.results[0].extractions[0].expense_document.blocks[0].relationships #=> Array
1935
1968
  # 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 +2002,7 @@ module Aws::Textract
1969
2002
  # resp.results[0].extractions[0].identity_document.blocks[0].geometry.polygon #=> Array
1970
2003
  # resp.results[0].extractions[0].identity_document.blocks[0].geometry.polygon[0].x #=> Float
1971
2004
  # resp.results[0].extractions[0].identity_document.blocks[0].geometry.polygon[0].y #=> Float
2005
+ # resp.results[0].extractions[0].identity_document.blocks[0].geometry.rotation_angle #=> Float
1972
2006
  # resp.results[0].extractions[0].identity_document.blocks[0].id #=> String
1973
2007
  # resp.results[0].extractions[0].identity_document.blocks[0].relationships #=> Array
1974
2008
  # 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 +2390,10 @@ module Aws::Textract
2356
2390
  # S3 bucket. Use DocumentLocation to specify the bucket name and file
2357
2391
  # name of the document.
2358
2392
  #
2359
- # `StartTextDetection` returns a job identifier (`JobId`) that you use
2360
- # to get the results of the operation. When text detection is finished,
2361
- # Amazon Textract publishes a completion status to the Amazon Simple
2362
- # Notification Service (Amazon SNS) topic that you specify in
2393
+ # `StartDocumentTextDetection` returns a job identifier (`JobId`) that
2394
+ # you use to get the results of the operation. When text detection is
2395
+ # finished, Amazon Textract publishes a completion status to the Amazon
2396
+ # Simple Notification Service (Amazon SNS) topic that you specify in
2363
2397
  # `NotificationChannel`. To get the results of the text detection
2364
2398
  # operation, first check that the status value published to the Amazon
2365
2399
  # SNS topic is `SUCCEEDED`. If so, call GetDocumentTextDetection, and
@@ -2814,7 +2848,7 @@ module Aws::Textract
2814
2848
  tracer: tracer
2815
2849
  )
2816
2850
  context[:gem_name] = 'aws-sdk-textract'
2817
- context[:gem_version] = '1.77.0'
2851
+ context[:gem_version] = '1.79.0'
2818
2852
  Seahorse::Client::Request.new(handlers, context)
2819
2853
  end
2820
2854
 
@@ -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?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
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 tab-delimited, contiguous words that are
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. Synchronous operations can use
2653
- # image files that are in JPEG or PNG format. Asynchronous operations
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
@@ -54,7 +54,7 @@ module Aws::Textract
54
54
  autoload :EndpointProvider, 'aws-sdk-textract/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-textract/endpoints'
56
56
 
57
- GEM_VERSION = '1.77.0'
57
+ GEM_VERSION = '1.79.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
data/sig/resource.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
data/sig/types.rbs CHANGED
@@ -285,6 +285,7 @@ module Aws::Textract
285
285
  class Geometry
286
286
  attr_accessor bounding_box: Types::BoundingBox
287
287
  attr_accessor polygon: ::Array[Types::Point]
288
+ attr_accessor rotation_angle: ::Float
288
289
  SENSITIVE: []
289
290
  end
290
291
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-textract
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.77.0
4
+ version: 1.79.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.225.0
21
+ version: 3.227.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.225.0
31
+ version: 3.227.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement