aws-sdk-textract 1.74.0 → 1.84.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: 47d5f1c4daf96c6254e4c3005b3b2fb82ee99f72ecf4d5e36cb2ad1641faa62d
4
- data.tar.gz: ca0f377b035225375cf02969731651aa91e0bdafe21f885f09bf865a19456c00
3
+ metadata.gz: 759f279a4ce4e1d77e2f34b1ad716e5fa12e3bf0712791a6baf10707299dce14
4
+ data.tar.gz: 81bf747e7cde960e752bc3fd2de1166f1f41b9a73615aa93f56e85fc66b1cfe5
5
5
  SHA512:
6
- metadata.gz: 8770483da4fc59705e26e15031c207bf5d239872a7697a7356702d8eaa887c5c0ff527ff5bb77e2cd3ef05046c7010d3ba91115f0ea1d3ef7fca623933677ff6
7
- data.tar.gz: aadd96202dc5a0504d68e75109fc5251b267d4789cc7e670ab2eb480e864f6b3b63637e9016fd9c6a9f72e0076efc064ff837e0e7542910b58c1d58cef7d543d
6
+ metadata.gz: a2a2820651c085a32c30701f4233d2542b3b571fb21deace8f5a265bdcfc92c682fded6cab6b97be1ad04ba5792bf511af70a9d2dfcf38e1863ee03be13d313b
7
+ data.tar.gz: b6edd7c23cd928ff813373935df88bc5119eacf84ce0a44f6eca71abc0b5d136c60ecea1965f710b96153923527b45e89fb3c7149646cf5f27cfd39956de9331
data/CHANGELOG.md CHANGED
@@ -1,6 +1,56 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.84.0 (2025-10-21)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.83.0 (2025-08-27)
10
+ ------------------
11
+
12
+ * Feature - Remove incorrect endpoint tests
13
+
14
+ 1.82.0 (2025-08-26)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.81.0 (2025-08-04)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.80.0 (2025-07-31)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.79.0 (2025-07-21)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.78.0 (2025-06-25)
35
+ ------------------
36
+
37
+ * Feature - Add RotationAngle field to Geometry of WORD blocks for Textract AnalyzeDocument API
38
+
39
+ 1.77.0 (2025-06-02)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.76.0 (2025-05-12)
45
+ ------------------
46
+
47
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
48
+
49
+ 1.75.0 (2025-05-01)
50
+ ------------------
51
+
52
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
53
+
4
54
  1.74.0 (2025-02-18)
5
55
  ------------------
6
56
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.74.0
1
+ 1.84.0
@@ -95,8 +95,8 @@ 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
99
- # following classes:
98
+ # Your AWS credentials used for authentication. This can be any class that includes and implements
99
+ # `Aws::CredentialProvider`, or instance of any one of the following classes:
100
100
  #
101
101
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
102
102
  # credentials.
@@ -124,22 +124,24 @@ module Aws::Textract
124
124
  # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
125
125
  # from the Cognito Identity service.
126
126
  #
127
- # When `:credentials` are not configured directly, the following
128
- # locations will be searched for credentials:
127
+ # When `:credentials` are not configured directly, the following locations will be searched for credentials:
129
128
  #
130
129
  # * `Aws.config[:credentials]`
130
+ #
131
131
  # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
132
132
  # `:account_id` options.
133
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
134
- # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
133
+ #
134
+ # * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
135
+ # `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
136
+ #
135
137
  # * `~/.aws/credentials`
138
+ #
136
139
  # * `~/.aws/config`
137
- # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
- # are very aggressive. Construct and pass an instance of
139
- # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
- # enable retries and extended timeouts. Instance profile credential
141
- # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
- # to true.
140
+ #
141
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
142
+ # Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
143
+ # enable retries and extended timeouts. Instance profile credential fetching can be disabled by
144
+ # setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
143
145
  #
144
146
  # @option options [required, String] :region
145
147
  # The AWS region to connect to. The configured `:region` is
@@ -167,6 +169,11 @@ module Aws::Textract
167
169
  # When false, the request will raise a `RetryCapacityNotAvailableError` and will
168
170
  # not retry instead of sleeping.
169
171
  #
172
+ # @option options [Array<String>] :auth_scheme_preference
173
+ # A list of preferred authentication schemes to use when making a request. Supported values are:
174
+ # `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
175
+ # shared config as `auth_scheme_preference`, the value should be a comma-separated list.
176
+ #
170
177
  # @option options [Boolean] :client_side_monitoring (false)
171
178
  # When `true`, client-side metrics will be collected for all API requests from
172
179
  # this client.
@@ -200,8 +207,7 @@ module Aws::Textract
200
207
  # accepted modes and the configuration defaults that are included.
201
208
  #
202
209
  # @option options [Boolean] :disable_host_prefix_injection (false)
203
- # Set to true to disable SDK automatically adding host prefix
204
- # to default service endpoint when available.
210
+ # When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
205
211
  #
206
212
  # @option options [Boolean] :disable_request_compression (false)
207
213
  # When set to 'true' the request body will not be compressed
@@ -254,8 +260,8 @@ module Aws::Textract
254
260
  # 4 times. Used in `standard` and `adaptive` retry modes.
255
261
  #
256
262
  # @option options [String] :profile ("default")
257
- # Used when loading credentials from the shared credentials file
258
- # at HOME/.aws/credentials. When not specified, 'default' is used.
263
+ # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
264
+ # When not specified, 'default' is used.
259
265
  #
260
266
  # @option options [String] :request_checksum_calculation ("when_supported")
261
267
  # Determines when a checksum will be calculated for request payloads. Values are:
@@ -375,8 +381,8 @@ module Aws::Textract
375
381
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
376
382
  #
377
383
  # @option options [Aws::TokenProvider] :token_provider
378
- # A Bearer Token Provider. This can be an instance of any one of the
379
- # following classes:
384
+ # Your Bearer token used for authentication. This can be any class that includes and implements
385
+ # `Aws::TokenProvider`, or instance of any one of the following classes:
380
386
  #
381
387
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
382
388
  # tokens.
@@ -622,6 +628,7 @@ module Aws::Textract
622
628
  # resp.blocks[0].geometry.polygon #=> Array
623
629
  # resp.blocks[0].geometry.polygon[0].x #=> Float
624
630
  # resp.blocks[0].geometry.polygon[0].y #=> Float
631
+ # resp.blocks[0].geometry.rotation_angle #=> Float
625
632
  # resp.blocks[0].id #=> String
626
633
  # resp.blocks[0].relationships #=> Array
627
634
  # resp.blocks[0].relationships[0].type #=> String, one of "VALUE", "CHILD", "COMPLEX_FEATURES", "MERGED_CELL", "TITLE", "ANSWER", "TABLE", "TABLE_TITLE", "TABLE_FOOTER"
@@ -722,6 +729,7 @@ module Aws::Textract
722
729
  # resp.expense_documents[0].summary_fields[0].label_detection.geometry.polygon #=> Array
723
730
  # resp.expense_documents[0].summary_fields[0].label_detection.geometry.polygon[0].x #=> Float
724
731
  # resp.expense_documents[0].summary_fields[0].label_detection.geometry.polygon[0].y #=> Float
732
+ # resp.expense_documents[0].summary_fields[0].label_detection.geometry.rotation_angle #=> Float
725
733
  # resp.expense_documents[0].summary_fields[0].label_detection.confidence #=> Float
726
734
  # resp.expense_documents[0].summary_fields[0].value_detection.text #=> String
727
735
  # resp.expense_documents[0].summary_fields[0].value_detection.geometry.bounding_box.width #=> Float
@@ -731,6 +739,7 @@ module Aws::Textract
731
739
  # resp.expense_documents[0].summary_fields[0].value_detection.geometry.polygon #=> Array
732
740
  # resp.expense_documents[0].summary_fields[0].value_detection.geometry.polygon[0].x #=> Float
733
741
  # resp.expense_documents[0].summary_fields[0].value_detection.geometry.polygon[0].y #=> Float
742
+ # resp.expense_documents[0].summary_fields[0].value_detection.geometry.rotation_angle #=> Float
734
743
  # resp.expense_documents[0].summary_fields[0].value_detection.confidence #=> Float
735
744
  # resp.expense_documents[0].summary_fields[0].page_number #=> Integer
736
745
  # resp.expense_documents[0].summary_fields[0].currency.code #=> String
@@ -753,6 +762,7 @@ module Aws::Textract
753
762
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon #=> Array
754
763
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon[0].x #=> Float
755
764
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon[0].y #=> Float
765
+ # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.rotation_angle #=> Float
756
766
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.confidence #=> Float
757
767
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.text #=> String
758
768
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.bounding_box.width #=> Float
@@ -762,6 +772,7 @@ module Aws::Textract
762
772
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon #=> Array
763
773
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon[0].x #=> Float
764
774
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon[0].y #=> Float
775
+ # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.rotation_angle #=> Float
765
776
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.confidence #=> Float
766
777
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].page_number #=> Integer
767
778
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].currency.code #=> String
@@ -786,6 +797,7 @@ module Aws::Textract
786
797
  # resp.expense_documents[0].blocks[0].geometry.polygon #=> Array
787
798
  # resp.expense_documents[0].blocks[0].geometry.polygon[0].x #=> Float
788
799
  # resp.expense_documents[0].blocks[0].geometry.polygon[0].y #=> Float
800
+ # resp.expense_documents[0].blocks[0].geometry.rotation_angle #=> Float
789
801
  # resp.expense_documents[0].blocks[0].id #=> String
790
802
  # resp.expense_documents[0].blocks[0].relationships #=> Array
791
803
  # 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"
@@ -868,6 +880,7 @@ module Aws::Textract
868
880
  # resp.identity_documents[0].blocks[0].geometry.polygon #=> Array
869
881
  # resp.identity_documents[0].blocks[0].geometry.polygon[0].x #=> Float
870
882
  # resp.identity_documents[0].blocks[0].geometry.polygon[0].y #=> Float
883
+ # resp.identity_documents[0].blocks[0].geometry.rotation_angle #=> Float
871
884
  # resp.identity_documents[0].blocks[0].id #=> String
872
885
  # resp.identity_documents[0].blocks[0].relationships #=> Array
873
886
  # 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"
@@ -1176,6 +1189,7 @@ module Aws::Textract
1176
1189
  # resp.blocks[0].geometry.polygon #=> Array
1177
1190
  # resp.blocks[0].geometry.polygon[0].x #=> Float
1178
1191
  # resp.blocks[0].geometry.polygon[0].y #=> Float
1192
+ # resp.blocks[0].geometry.rotation_angle #=> Float
1179
1193
  # resp.blocks[0].id #=> String
1180
1194
  # resp.blocks[0].relationships #=> Array
1181
1195
  # resp.blocks[0].relationships[0].type #=> String, one of "VALUE", "CHILD", "COMPLEX_FEATURES", "MERGED_CELL", "TITLE", "ANSWER", "TABLE", "TABLE_TITLE", "TABLE_FOOTER"
@@ -1434,6 +1448,7 @@ module Aws::Textract
1434
1448
  # resp.blocks[0].geometry.polygon #=> Array
1435
1449
  # resp.blocks[0].geometry.polygon[0].x #=> Float
1436
1450
  # resp.blocks[0].geometry.polygon[0].y #=> Float
1451
+ # resp.blocks[0].geometry.rotation_angle #=> Float
1437
1452
  # resp.blocks[0].id #=> String
1438
1453
  # resp.blocks[0].relationships #=> Array
1439
1454
  # resp.blocks[0].relationships[0].type #=> String, one of "VALUE", "CHILD", "COMPLEX_FEATURES", "MERGED_CELL", "TITLE", "ANSWER", "TABLE", "TABLE_TITLE", "TABLE_FOOTER"
@@ -1556,6 +1571,7 @@ module Aws::Textract
1556
1571
  # resp.blocks[0].geometry.polygon #=> Array
1557
1572
  # resp.blocks[0].geometry.polygon[0].x #=> Float
1558
1573
  # resp.blocks[0].geometry.polygon[0].y #=> Float
1574
+ # resp.blocks[0].geometry.rotation_angle #=> Float
1559
1575
  # resp.blocks[0].id #=> String
1560
1576
  # resp.blocks[0].relationships #=> Array
1561
1577
  # resp.blocks[0].relationships[0].type #=> String, one of "VALUE", "CHILD", "COMPLEX_FEATURES", "MERGED_CELL", "TITLE", "ANSWER", "TABLE", "TABLE_TITLE", "TABLE_FOOTER"
@@ -1667,6 +1683,7 @@ module Aws::Textract
1667
1683
  # resp.expense_documents[0].summary_fields[0].label_detection.geometry.polygon #=> Array
1668
1684
  # resp.expense_documents[0].summary_fields[0].label_detection.geometry.polygon[0].x #=> Float
1669
1685
  # resp.expense_documents[0].summary_fields[0].label_detection.geometry.polygon[0].y #=> Float
1686
+ # resp.expense_documents[0].summary_fields[0].label_detection.geometry.rotation_angle #=> Float
1670
1687
  # resp.expense_documents[0].summary_fields[0].label_detection.confidence #=> Float
1671
1688
  # resp.expense_documents[0].summary_fields[0].value_detection.text #=> String
1672
1689
  # resp.expense_documents[0].summary_fields[0].value_detection.geometry.bounding_box.width #=> Float
@@ -1676,6 +1693,7 @@ module Aws::Textract
1676
1693
  # resp.expense_documents[0].summary_fields[0].value_detection.geometry.polygon #=> Array
1677
1694
  # resp.expense_documents[0].summary_fields[0].value_detection.geometry.polygon[0].x #=> Float
1678
1695
  # resp.expense_documents[0].summary_fields[0].value_detection.geometry.polygon[0].y #=> Float
1696
+ # resp.expense_documents[0].summary_fields[0].value_detection.geometry.rotation_angle #=> Float
1679
1697
  # resp.expense_documents[0].summary_fields[0].value_detection.confidence #=> Float
1680
1698
  # resp.expense_documents[0].summary_fields[0].page_number #=> Integer
1681
1699
  # resp.expense_documents[0].summary_fields[0].currency.code #=> String
@@ -1698,6 +1716,7 @@ module Aws::Textract
1698
1716
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon #=> Array
1699
1717
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon[0].x #=> Float
1700
1718
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon[0].y #=> Float
1719
+ # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.rotation_angle #=> Float
1701
1720
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.confidence #=> Float
1702
1721
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.text #=> String
1703
1722
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.bounding_box.width #=> Float
@@ -1707,6 +1726,7 @@ module Aws::Textract
1707
1726
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon #=> Array
1708
1727
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon[0].x #=> Float
1709
1728
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon[0].y #=> Float
1729
+ # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.rotation_angle #=> Float
1710
1730
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.confidence #=> Float
1711
1731
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].page_number #=> Integer
1712
1732
  # resp.expense_documents[0].line_item_groups[0].line_items[0].line_item_expense_fields[0].currency.code #=> String
@@ -1731,6 +1751,7 @@ module Aws::Textract
1731
1751
  # resp.expense_documents[0].blocks[0].geometry.polygon #=> Array
1732
1752
  # resp.expense_documents[0].blocks[0].geometry.polygon[0].x #=> Float
1733
1753
  # resp.expense_documents[0].blocks[0].geometry.polygon[0].y #=> Float
1754
+ # resp.expense_documents[0].blocks[0].geometry.rotation_angle #=> Float
1734
1755
  # resp.expense_documents[0].blocks[0].id #=> String
1735
1756
  # resp.expense_documents[0].blocks[0].relationships #=> Array
1736
1757
  # 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"
@@ -1834,6 +1855,7 @@ module Aws::Textract
1834
1855
  # resp.results[0].extractions[0].lending_document.lending_fields[0].key_detection.geometry.polygon #=> Array
1835
1856
  # resp.results[0].extractions[0].lending_document.lending_fields[0].key_detection.geometry.polygon[0].x #=> Float
1836
1857
  # resp.results[0].extractions[0].lending_document.lending_fields[0].key_detection.geometry.polygon[0].y #=> Float
1858
+ # resp.results[0].extractions[0].lending_document.lending_fields[0].key_detection.geometry.rotation_angle #=> Float
1837
1859
  # resp.results[0].extractions[0].lending_document.lending_fields[0].key_detection.confidence #=> Float
1838
1860
  # resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections #=> Array
1839
1861
  # resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections[0].text #=> String
@@ -1845,6 +1867,7 @@ module Aws::Textract
1845
1867
  # resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections[0].geometry.polygon #=> Array
1846
1868
  # resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections[0].geometry.polygon[0].x #=> Float
1847
1869
  # resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections[0].geometry.polygon[0].y #=> Float
1870
+ # resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections[0].geometry.rotation_angle #=> Float
1848
1871
  # resp.results[0].extractions[0].lending_document.lending_fields[0].value_detections[0].confidence #=> Float
1849
1872
  # resp.results[0].extractions[0].lending_document.signature_detections #=> Array
1850
1873
  # resp.results[0].extractions[0].lending_document.signature_detections[0].confidence #=> Float
@@ -1855,6 +1878,7 @@ module Aws::Textract
1855
1878
  # resp.results[0].extractions[0].lending_document.signature_detections[0].geometry.polygon #=> Array
1856
1879
  # resp.results[0].extractions[0].lending_document.signature_detections[0].geometry.polygon[0].x #=> Float
1857
1880
  # resp.results[0].extractions[0].lending_document.signature_detections[0].geometry.polygon[0].y #=> Float
1881
+ # resp.results[0].extractions[0].lending_document.signature_detections[0].geometry.rotation_angle #=> Float
1858
1882
  # resp.results[0].extractions[0].expense_document.expense_index #=> Integer
1859
1883
  # resp.results[0].extractions[0].expense_document.summary_fields #=> Array
1860
1884
  # resp.results[0].extractions[0].expense_document.summary_fields[0].type.text #=> String
@@ -1867,6 +1891,7 @@ module Aws::Textract
1867
1891
  # resp.results[0].extractions[0].expense_document.summary_fields[0].label_detection.geometry.polygon #=> Array
1868
1892
  # resp.results[0].extractions[0].expense_document.summary_fields[0].label_detection.geometry.polygon[0].x #=> Float
1869
1893
  # resp.results[0].extractions[0].expense_document.summary_fields[0].label_detection.geometry.polygon[0].y #=> Float
1894
+ # resp.results[0].extractions[0].expense_document.summary_fields[0].label_detection.geometry.rotation_angle #=> Float
1870
1895
  # resp.results[0].extractions[0].expense_document.summary_fields[0].label_detection.confidence #=> Float
1871
1896
  # resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.text #=> String
1872
1897
  # resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.geometry.bounding_box.width #=> Float
@@ -1876,6 +1901,7 @@ module Aws::Textract
1876
1901
  # resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.geometry.polygon #=> Array
1877
1902
  # resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.geometry.polygon[0].x #=> Float
1878
1903
  # resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.geometry.polygon[0].y #=> Float
1904
+ # resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.geometry.rotation_angle #=> Float
1879
1905
  # resp.results[0].extractions[0].expense_document.summary_fields[0].value_detection.confidence #=> Float
1880
1906
  # resp.results[0].extractions[0].expense_document.summary_fields[0].page_number #=> Integer
1881
1907
  # resp.results[0].extractions[0].expense_document.summary_fields[0].currency.code #=> String
@@ -1898,6 +1924,7 @@ module Aws::Textract
1898
1924
  # resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.geometry.polygon #=> Array
1899
1925
  # 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
1900
1926
  # 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
1927
+ # 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
1901
1928
  # resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].label_detection.confidence #=> Float
1902
1929
  # resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.text #=> String
1903
1930
  # 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
@@ -1907,6 +1934,7 @@ module Aws::Textract
1907
1934
  # resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.geometry.polygon #=> Array
1908
1935
  # 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
1909
1936
  # 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
1937
+ # 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
1910
1938
  # resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].value_detection.confidence #=> Float
1911
1939
  # resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].page_number #=> Integer
1912
1940
  # resp.results[0].extractions[0].expense_document.line_item_groups[0].line_items[0].line_item_expense_fields[0].currency.code #=> String
@@ -1931,6 +1959,7 @@ module Aws::Textract
1931
1959
  # resp.results[0].extractions[0].expense_document.blocks[0].geometry.polygon #=> Array
1932
1960
  # resp.results[0].extractions[0].expense_document.blocks[0].geometry.polygon[0].x #=> Float
1933
1961
  # resp.results[0].extractions[0].expense_document.blocks[0].geometry.polygon[0].y #=> Float
1962
+ # resp.results[0].extractions[0].expense_document.blocks[0].geometry.rotation_angle #=> Float
1934
1963
  # resp.results[0].extractions[0].expense_document.blocks[0].id #=> String
1935
1964
  # resp.results[0].extractions[0].expense_document.blocks[0].relationships #=> Array
1936
1965
  # 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"
@@ -1970,6 +1999,7 @@ module Aws::Textract
1970
1999
  # resp.results[0].extractions[0].identity_document.blocks[0].geometry.polygon #=> Array
1971
2000
  # resp.results[0].extractions[0].identity_document.blocks[0].geometry.polygon[0].x #=> Float
1972
2001
  # resp.results[0].extractions[0].identity_document.blocks[0].geometry.polygon[0].y #=> Float
2002
+ # resp.results[0].extractions[0].identity_document.blocks[0].geometry.rotation_angle #=> Float
1973
2003
  # resp.results[0].extractions[0].identity_document.blocks[0].id #=> String
1974
2004
  # resp.results[0].extractions[0].identity_document.blocks[0].relationships #=> Array
1975
2005
  # 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"
@@ -2357,10 +2387,10 @@ module Aws::Textract
2357
2387
  # S3 bucket. Use DocumentLocation to specify the bucket name and file
2358
2388
  # name of the document.
2359
2389
  #
2360
- # `StartTextDetection` returns a job identifier (`JobId`) that you use
2361
- # to get the results of the operation. When text detection is finished,
2362
- # Amazon Textract publishes a completion status to the Amazon Simple
2363
- # Notification Service (Amazon SNS) topic that you specify in
2390
+ # `StartDocumentTextDetection` returns a job identifier (`JobId`) that
2391
+ # you use to get the results of the operation. When text detection is
2392
+ # finished, Amazon Textract publishes a completion status to the Amazon
2393
+ # Simple Notification Service (Amazon SNS) topic that you specify in
2364
2394
  # `NotificationChannel`. To get the results of the text detection
2365
2395
  # operation, first check that the status value published to the Amazon
2366
2396
  # SNS topic is `SUCCEEDED`. If so, call GetDocumentTextDetection, and
@@ -2815,7 +2845,7 @@ module Aws::Textract
2815
2845
  tracer: tracer
2816
2846
  )
2817
2847
  context[:gem_name] = 'aws-sdk-textract'
2818
- context[:gem_version] = '1.74.0'
2848
+ context[:gem_version] = '1.84.0'
2819
2849
  Seahorse::Client::Request.new(handlers, context)
2820
2850
  end
2821
2851
 
@@ -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')
@@ -326,7 +327,7 @@ module Aws::Textract
326
327
  ContentClassifiers.member = Shapes::ShapeRef.new(shape: ContentClassifier)
327
328
 
328
329
  CreateAdapterRequest.add_member(:adapter_name, Shapes::ShapeRef.new(shape: AdapterName, required: true, location_name: "AdapterName"))
329
- CreateAdapterRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
330
+ CreateAdapterRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken" => true}))
330
331
  CreateAdapterRequest.add_member(:description, Shapes::ShapeRef.new(shape: AdapterDescription, location_name: "Description"))
331
332
  CreateAdapterRequest.add_member(:feature_types, Shapes::ShapeRef.new(shape: FeatureTypes, required: true, location_name: "FeatureTypes"))
332
333
  CreateAdapterRequest.add_member(:auto_update, Shapes::ShapeRef.new(shape: AutoUpdate, location_name: "AutoUpdate"))
@@ -337,7 +338,7 @@ module Aws::Textract
337
338
  CreateAdapterResponse.struct_class = Types::CreateAdapterResponse
338
339
 
339
340
  CreateAdapterVersionRequest.add_member(:adapter_id, Shapes::ShapeRef.new(shape: AdapterId, required: true, location_name: "AdapterId"))
340
- CreateAdapterVersionRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
341
+ CreateAdapterVersionRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken" => true}))
341
342
  CreateAdapterVersionRequest.add_member(:dataset_config, Shapes::ShapeRef.new(shape: AdapterVersionDatasetConfig, required: true, location_name: "DatasetConfig"))
342
343
  CreateAdapterVersionRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "KMSKeyId"))
343
344
  CreateAdapterVersionRequest.add_member(:output_config, Shapes::ShapeRef.new(shape: OutputConfig, required: true, location_name: "OutputConfig"))
@@ -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"))
@@ -549,7 +551,7 @@ module Aws::Textract
549
551
 
550
552
  HumanLoopActivationOutput.add_member(:human_loop_arn, Shapes::ShapeRef.new(shape: HumanLoopArn, location_name: "HumanLoopArn"))
551
553
  HumanLoopActivationOutput.add_member(:human_loop_activation_reasons, Shapes::ShapeRef.new(shape: HumanLoopActivationReasons, location_name: "HumanLoopActivationReasons"))
552
- HumanLoopActivationOutput.add_member(:human_loop_activation_conditions_evaluation_results, Shapes::ShapeRef.new(shape: HumanLoopActivationConditionsEvaluationResults, location_name: "HumanLoopActivationConditionsEvaluationResults", metadata: {"jsonvalue"=>true}))
554
+ HumanLoopActivationOutput.add_member(:human_loop_activation_conditions_evaluation_results, Shapes::ShapeRef.new(shape: HumanLoopActivationConditionsEvaluationResults, location_name: "HumanLoopActivationConditionsEvaluationResults", metadata: {"jsonvalue" => true}))
553
555
  HumanLoopActivationOutput.struct_class = Types::HumanLoopActivationOutput
554
556
 
555
557
  HumanLoopActivationReasons.member = Shapes::ShapeRef.new(shape: HumanLoopActivationReason)
@@ -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.74.0'
57
+ GEM_VERSION = '1.84.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,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-textract
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.74.0
4
+ version: 1.84.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-02-18 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: aws-sdk-core
@@ -19,7 +18,7 @@ dependencies:
19
18
  version: '3'
20
19
  - - ">="
21
20
  - !ruby/object:Gem::Version
22
- version: 3.216.0
21
+ version: 3.234.0
23
22
  type: :runtime
24
23
  prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +28,7 @@ dependencies:
29
28
  version: '3'
30
29
  - - ">="
31
30
  - !ruby/object:Gem::Version
32
- version: 3.216.0
31
+ version: 3.234.0
33
32
  - !ruby/object:Gem::Dependency
34
33
  name: aws-sigv4
35
34
  requirement: !ruby/object:Gem::Requirement
@@ -77,7 +76,6 @@ licenses:
77
76
  metadata:
78
77
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-textract
79
78
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-textract/CHANGELOG.md
80
- post_install_message:
81
79
  rdoc_options: []
82
80
  require_paths:
83
81
  - lib
@@ -85,15 +83,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
83
  requirements:
86
84
  - - ">="
87
85
  - !ruby/object:Gem::Version
88
- version: '2.5'
86
+ version: '2.7'
89
87
  required_rubygems_version: !ruby/object:Gem::Requirement
90
88
  requirements:
91
89
  - - ">="
92
90
  - !ruby/object:Gem::Version
93
91
  version: '0'
94
92
  requirements: []
95
- rubygems_version: 3.4.10
96
- signing_key:
93
+ rubygems_version: 3.6.7
97
94
  specification_version: 4
98
95
  summary: AWS SDK for Ruby - Amazon Textract
99
96
  test_files: []