aws-sdk-textract 1.43.0 → 1.44.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d7c8e395c8d4e7aa7f2b97e3e9b8115db3fd38dab0c3a18b4c459dd9b659bee
4
- data.tar.gz: 8aec72017e4b7894c7c40d987f1a8543f5e6084e0e19dfecdae3b99aab3e101f
3
+ metadata.gz: 92de5df3f3155b90c297f558e4776f6fb177bda6086bb7d8f47049c480a5ce83
4
+ data.tar.gz: d0ebc6f5b4023820527fbdf4e2f78f3d6b4d0e871f632b0058b94bb007a7a482
5
5
  SHA512:
6
- metadata.gz: 57b83ac505c43cdcf86038e27e5b1b4714ff6bfaea83ca754ee37a54139f14806ebf6ff1a952fc7567fa9316cfd4339d91fe3270162a2e3e84420d3c139b978d
7
- data.tar.gz: e4d909d5bb66c53edd0172146ed0729ea45ec0dd35b16d20f064de21fbe3a9f3d7ab3a48c9b8b5a14210298b3412696670687ef559d1879a05b9316c6597b691
6
+ metadata.gz: 000f30a115c02b37cb9107ba9a7a1644eeb087667ca786c3b59c06d4c0c052b98d0eca172d68fa319b72478c603e20a332fabcc310110226f4837d3569f778be
7
+ data.tar.gz: 7dc44d28f5fc7a39c9023590edf884328fa43fad33c89d2d32138651ab33b3b8dda75c1345ca898fcfdb60f4c1f30cc6628ae4e48c321c512e5c5e819aeb81cb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.44.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.43.0 (2022-11-28)
5
12
  ------------------
6
13
 
@@ -225,4 +232,4 @@ Unreleased Changes
225
232
  1.0.0 (2019-03-05)
226
233
  ------------------
227
234
 
228
- * Feature - Initial release of `aws-sdk-textract`.
235
+ * Feature - Initial release of `aws-sdk-textract`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.43.0
1
+ 1.44.0
@@ -2105,7 +2105,7 @@ module Aws::Textract
2105
2105
  params: params,
2106
2106
  config: config)
2107
2107
  context[:gem_name] = 'aws-sdk-textract'
2108
- context[:gem_version] = '1.43.0'
2108
+ context[:gem_version] = '1.44.0'
2109
2109
  Seahorse::Client::Request.new(handlers, context)
2110
2110
  end
2111
2111
 
@@ -9,103 +9,43 @@
9
9
 
10
10
  module Aws::Textract
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://textract-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://textract-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://textract.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://textract.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
- YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
- ZXF1ZXN0LiI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NkdWFsU3RhY2tEbnNTdWZm
101
- aXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVu
102
- ZHBvaW50In1dfSx7ImNvbmRpdGlvbnMiOltdLCJlcnJvciI6IkR1YWxTdGFj
103
- ayBpcyBlbmFibGVkIGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBw
104
- b3J0IER1YWxTdGFjayIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25z
105
- IjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly90ZXh0cmFjdC57UmVn
106
- aW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVz
107
- Ijp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
108
-
109
- JSON
110
50
  end
111
51
  end
@@ -17,37 +17,6 @@ module Aws::Textract
17
17
  #
18
18
  class AccessDeniedException < Aws::EmptyStructure; end
19
19
 
20
- # @note When making an API call, you may pass AnalyzeDocumentRequest
21
- # data as a hash:
22
- #
23
- # {
24
- # document: { # required
25
- # bytes: "data",
26
- # s3_object: {
27
- # bucket: "S3Bucket",
28
- # name: "S3ObjectName",
29
- # version: "S3ObjectVersion",
30
- # },
31
- # },
32
- # feature_types: ["TABLES"], # required, accepts TABLES, FORMS, QUERIES, SIGNATURES
33
- # human_loop_config: {
34
- # human_loop_name: "HumanLoopName", # required
35
- # flow_definition_arn: "FlowDefinitionArn", # required
36
- # data_attributes: {
37
- # content_classifiers: ["FreeOfPersonallyIdentifiableInformation"], # accepts FreeOfPersonallyIdentifiableInformation, FreeOfAdultContent
38
- # },
39
- # },
40
- # queries_config: {
41
- # queries: [ # required
42
- # {
43
- # text: "QueryInput", # required
44
- # alias: "QueryInput",
45
- # pages: ["QueryPage"],
46
- # },
47
- # ],
48
- # },
49
- # }
50
- #
51
20
  # @!attribute [rw] document
52
21
  # The input document as base64-encoded bytes or an Amazon S3 object.
53
22
  # If you use the AWS CLI to call Amazon Textract operations, you
@@ -120,20 +89,6 @@ module Aws::Textract
120
89
  include Aws::Structure
121
90
  end
122
91
 
123
- # @note When making an API call, you may pass AnalyzeExpenseRequest
124
- # data as a hash:
125
- #
126
- # {
127
- # document: { # required
128
- # bytes: "data",
129
- # s3_object: {
130
- # bucket: "S3Bucket",
131
- # name: "S3ObjectName",
132
- # version: "S3ObjectVersion",
133
- # },
134
- # },
135
- # }
136
- #
137
92
  # @!attribute [rw] document
138
93
  # The input document, either as bytes or as an S3 object.
139
94
  #
@@ -210,22 +165,6 @@ module Aws::Textract
210
165
  include Aws::Structure
211
166
  end
212
167
 
213
- # @note When making an API call, you may pass AnalyzeIDRequest
214
- # data as a hash:
215
- #
216
- # {
217
- # document_pages: [ # required
218
- # {
219
- # bytes: "data",
220
- # s3_object: {
221
- # bucket: "S3Bucket",
222
- # name: "S3ObjectName",
223
- # version: "S3ObjectVersion",
224
- # },
225
- # },
226
- # ],
227
- # }
228
- #
229
168
  # @!attribute [rw] document_pages
230
169
  # The document being passed to AnalyzeID.
231
170
  # @return [Array<Types::Document>]
@@ -511,20 +450,6 @@ module Aws::Textract
511
450
  include Aws::Structure
512
451
  end
513
452
 
514
- # @note When making an API call, you may pass DetectDocumentTextRequest
515
- # data as a hash:
516
- #
517
- # {
518
- # document: { # required
519
- # bytes: "data",
520
- # s3_object: {
521
- # bucket: "S3Bucket",
522
- # name: "S3ObjectName",
523
- # version: "S3ObjectVersion",
524
- # },
525
- # },
526
- # }
527
- #
528
453
  # @!attribute [rw] document
529
454
  # The input document as base64-encoded bytes or an Amazon S3 object.
530
455
  # If you use the AWS CLI to call Amazon Textract operations, you
@@ -606,18 +531,6 @@ module Aws::Textract
606
531
  # For Amazon Textract to process an S3 object, the user must have
607
532
  # permission to access the S3 object.
608
533
  #
609
- # @note When making an API call, you may pass Document
610
- # data as a hash:
611
- #
612
- # {
613
- # bytes: "data",
614
- # s3_object: {
615
- # bucket: "S3Bucket",
616
- # name: "S3ObjectName",
617
- # version: "S3ObjectVersion",
618
- # },
619
- # }
620
- #
621
534
  # @!attribute [rw] bytes
622
535
  # A blob of base64-encoded document bytes. The maximum size of a
623
536
  # document that's provided in a blob of bytes is 5 MB. The document
@@ -678,17 +591,6 @@ module Aws::Textract
678
591
  # The input document can be an image file in JPEG or PNG format. It can
679
592
  # also be a file in PDF format.
680
593
  #
681
- # @note When making an API call, you may pass DocumentLocation
682
- # data as a hash:
683
- #
684
- # {
685
- # s3_object: {
686
- # bucket: "S3Bucket",
687
- # name: "S3ObjectName",
688
- # version: "S3ObjectVersion",
689
- # },
690
- # }
691
- #
692
594
  # @!attribute [rw] s3_object
693
595
  # The Amazon S3 bucket that contains the input document.
694
596
  # @return [Types::S3Object]
@@ -963,15 +865,6 @@ module Aws::Textract
963
865
  include Aws::Structure
964
866
  end
965
867
 
966
- # @note When making an API call, you may pass GetDocumentAnalysisRequest
967
- # data as a hash:
968
- #
969
- # {
970
- # job_id: "JobId", # required
971
- # max_results: 1,
972
- # next_token: "PaginationToken",
973
- # }
974
- #
975
868
  # @!attribute [rw] job_id
976
869
  # A unique identifier for the text-detection job. The `JobId` is
977
870
  # returned from `StartDocumentAnalysis`. A `JobId` value is only valid
@@ -1049,15 +942,6 @@ module Aws::Textract
1049
942
  include Aws::Structure
1050
943
  end
1051
944
 
1052
- # @note When making an API call, you may pass GetDocumentTextDetectionRequest
1053
- # data as a hash:
1054
- #
1055
- # {
1056
- # job_id: "JobId", # required
1057
- # max_results: 1,
1058
- # next_token: "PaginationToken",
1059
- # }
1060
- #
1061
945
  # @!attribute [rw] job_id
1062
946
  # A unique identifier for the text detection job. The `JobId` is
1063
947
  # returned from `StartDocumentTextDetection`. A `JobId` value is only
@@ -1135,15 +1019,6 @@ module Aws::Textract
1135
1019
  include Aws::Structure
1136
1020
  end
1137
1021
 
1138
- # @note When making an API call, you may pass GetExpenseAnalysisRequest
1139
- # data as a hash:
1140
- #
1141
- # {
1142
- # job_id: "JobId", # required
1143
- # max_results: 1,
1144
- # next_token: "PaginationToken",
1145
- # }
1146
- #
1147
1022
  # @!attribute [rw] job_id
1148
1023
  # A unique identifier for the text detection job. The `JobId` is
1149
1024
  # returned from `StartExpenseAnalysis`. A `JobId` value is only valid
@@ -1222,15 +1097,6 @@ module Aws::Textract
1222
1097
  include Aws::Structure
1223
1098
  end
1224
1099
 
1225
- # @note When making an API call, you may pass GetLendingAnalysisRequest
1226
- # data as a hash:
1227
- #
1228
- # {
1229
- # job_id: "JobId", # required
1230
- # max_results: 1,
1231
- # next_token: "PaginationToken",
1232
- # }
1233
- #
1234
1100
  # @!attribute [rw] job_id
1235
1101
  # A unique identifier for the lending or text-detection job. The
1236
1102
  # `JobId` is returned from `StartLendingAnalysis`. A `JobId` value is
@@ -1307,13 +1173,6 @@ module Aws::Textract
1307
1173
  include Aws::Structure
1308
1174
  end
1309
1175
 
1310
- # @note When making an API call, you may pass GetLendingAnalysisSummaryRequest
1311
- # data as a hash:
1312
- #
1313
- # {
1314
- # job_id: "JobId", # required
1315
- # }
1316
- #
1317
1176
  # @!attribute [rw] job_id
1318
1177
  # A unique identifier for the lending or text-detection job. The
1319
1178
  # `JobId` is returned from StartLendingAnalysis. A `JobId` value is
@@ -1397,17 +1256,6 @@ module Aws::Textract
1397
1256
  # of the conditions is met. You can also set certain attributes of the
1398
1257
  # image before review.
1399
1258
  #
1400
- # @note When making an API call, you may pass HumanLoopConfig
1401
- # data as a hash:
1402
- #
1403
- # {
1404
- # human_loop_name: "HumanLoopName", # required
1405
- # flow_definition_arn: "FlowDefinitionArn", # required
1406
- # data_attributes: {
1407
- # content_classifiers: ["FreeOfPersonallyIdentifiableInformation"], # accepts FreeOfPersonallyIdentifiableInformation, FreeOfAdultContent
1408
- # },
1409
- # }
1410
- #
1411
1259
  # @!attribute [rw] human_loop_name
1412
1260
  # The name of the human workflow used for this image. This should be
1413
1261
  # kept unique within a region.
@@ -1435,13 +1283,6 @@ module Aws::Textract
1435
1283
  # an image as free of personally identifiable information and adult
1436
1284
  # content.
1437
1285
  #
1438
- # @note When making an API call, you may pass HumanLoopDataAttributes
1439
- # data as a hash:
1440
- #
1441
- # {
1442
- # content_classifiers: ["FreeOfPersonallyIdentifiableInformation"], # accepts FreeOfPersonallyIdentifiableInformation, FreeOfAdultContent
1443
- # }
1444
- #
1445
1286
  # @!attribute [rw] content_classifiers
1446
1287
  # Sets whether the input image is free of personally identifiable
1447
1288
  # information or adult content.
@@ -1777,14 +1618,6 @@ module Aws::Textract
1777
1618
  # Amazon Textract publishes the completion status of an asynchronous
1778
1619
  # document operation.
1779
1620
  #
1780
- # @note When making an API call, you may pass NotificationChannel
1781
- # data as a hash:
1782
- #
1783
- # {
1784
- # sns_topic_arn: "SNSTopicArn", # required
1785
- # role_arn: "RoleArn", # required
1786
- # }
1787
- #
1788
1621
  # @!attribute [rw] sns_topic_arn
1789
1622
  # The Amazon SNS topic that Amazon Textract posts the completion
1790
1623
  # status to.
@@ -1832,14 +1665,6 @@ module Aws::Textract
1832
1665
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
1833
1666
  # [2]: https://aws.amazon.com/compliance/data-privacy-faq/
1834
1667
  #
1835
- # @note When making an API call, you may pass OutputConfig
1836
- # data as a hash:
1837
- #
1838
- # {
1839
- # s3_bucket: "S3Bucket", # required
1840
- # s3_prefix: "S3ObjectName",
1841
- # }
1842
- #
1843
1668
  # @!attribute [rw] s3_bucket
1844
1669
  # The name of the bucket your output will go to.
1845
1670
  # @return [String]
@@ -1938,19 +1763,6 @@ module Aws::Textract
1938
1763
  #
1939
1764
  class ProvisionedThroughputExceededException < Aws::EmptyStructure; end
1940
1765
 
1941
- # @note When making an API call, you may pass QueriesConfig
1942
- # data as a hash:
1943
- #
1944
- # {
1945
- # queries: [ # required
1946
- # {
1947
- # text: "QueryInput", # required
1948
- # alias: "QueryInput",
1949
- # pages: ["QueryPage"],
1950
- # },
1951
- # ],
1952
- # }
1953
- #
1954
1766
  # @!attribute [rw] queries
1955
1767
  # @return [Array<Types::Query>]
1956
1768
  #
@@ -1965,15 +1777,6 @@ module Aws::Textract
1965
1777
  # Each query contains the question you want to ask in the Text and the
1966
1778
  # alias you want to associate.
1967
1779
  #
1968
- # @note When making an API call, you may pass Query
1969
- # data as a hash:
1970
- #
1971
- # {
1972
- # text: "QueryInput", # required
1973
- # alias: "QueryInput",
1974
- # pages: ["QueryPage"],
1975
- # }
1976
- #
1977
1780
  # @!attribute [rw] text
1978
1781
  # Question that Amazon Textract will apply to the document. An example
1979
1782
  # would be "What is the customer's SSN?"
@@ -2052,15 +1855,6 @@ module Aws::Textract
2052
1855
  # For Amazon Textract to process a file in an S3 bucket, the user must
2053
1856
  # have permission to access the S3 bucket and file.
2054
1857
  #
2055
- # @note When making an API call, you may pass S3Object
2056
- # data as a hash:
2057
- #
2058
- # {
2059
- # bucket: "S3Bucket",
2060
- # name: "S3ObjectName",
2061
- # version: "S3ObjectVersion",
2062
- # }
2063
- #
2064
1858
  # @!attribute [rw] bucket
2065
1859
  # The name of the S3 bucket. Note that the # character is not valid in
2066
1860
  # the file name.
@@ -2131,40 +1925,6 @@ module Aws::Textract
2131
1925
  include Aws::Structure
2132
1926
  end
2133
1927
 
2134
- # @note When making an API call, you may pass StartDocumentAnalysisRequest
2135
- # data as a hash:
2136
- #
2137
- # {
2138
- # document_location: { # required
2139
- # s3_object: {
2140
- # bucket: "S3Bucket",
2141
- # name: "S3ObjectName",
2142
- # version: "S3ObjectVersion",
2143
- # },
2144
- # },
2145
- # feature_types: ["TABLES"], # required, accepts TABLES, FORMS, QUERIES, SIGNATURES
2146
- # client_request_token: "ClientRequestToken",
2147
- # job_tag: "JobTag",
2148
- # notification_channel: {
2149
- # sns_topic_arn: "SNSTopicArn", # required
2150
- # role_arn: "RoleArn", # required
2151
- # },
2152
- # output_config: {
2153
- # s3_bucket: "S3Bucket", # required
2154
- # s3_prefix: "S3ObjectName",
2155
- # },
2156
- # kms_key_id: "KMSKeyId",
2157
- # queries_config: {
2158
- # queries: [ # required
2159
- # {
2160
- # text: "QueryInput", # required
2161
- # alias: "QueryInput",
2162
- # pages: ["QueryPage"],
2163
- # },
2164
- # ],
2165
- # },
2166
- # }
2167
- #
2168
1928
  # @!attribute [rw] document_location
2169
1929
  # The location of the document to be processed.
2170
1930
  # @return [Types::DocumentLocation]
@@ -2250,30 +2010,6 @@ module Aws::Textract
2250
2010
  include Aws::Structure
2251
2011
  end
2252
2012
 
2253
- # @note When making an API call, you may pass StartDocumentTextDetectionRequest
2254
- # data as a hash:
2255
- #
2256
- # {
2257
- # document_location: { # required
2258
- # s3_object: {
2259
- # bucket: "S3Bucket",
2260
- # name: "S3ObjectName",
2261
- # version: "S3ObjectVersion",
2262
- # },
2263
- # },
2264
- # client_request_token: "ClientRequestToken",
2265
- # job_tag: "JobTag",
2266
- # notification_channel: {
2267
- # sns_topic_arn: "SNSTopicArn", # required
2268
- # role_arn: "RoleArn", # required
2269
- # },
2270
- # output_config: {
2271
- # s3_bucket: "S3Bucket", # required
2272
- # s3_prefix: "S3ObjectName",
2273
- # },
2274
- # kms_key_id: "KMSKeyId",
2275
- # }
2276
- #
2277
2013
  # @!attribute [rw] document_location
2278
2014
  # The location of the document to be processed.
2279
2015
  # @return [Types::DocumentLocation]
@@ -2345,30 +2081,6 @@ module Aws::Textract
2345
2081
  include Aws::Structure
2346
2082
  end
2347
2083
 
2348
- # @note When making an API call, you may pass StartExpenseAnalysisRequest
2349
- # data as a hash:
2350
- #
2351
- # {
2352
- # document_location: { # required
2353
- # s3_object: {
2354
- # bucket: "S3Bucket",
2355
- # name: "S3ObjectName",
2356
- # version: "S3ObjectVersion",
2357
- # },
2358
- # },
2359
- # client_request_token: "ClientRequestToken",
2360
- # job_tag: "JobTag",
2361
- # notification_channel: {
2362
- # sns_topic_arn: "SNSTopicArn", # required
2363
- # role_arn: "RoleArn", # required
2364
- # },
2365
- # output_config: {
2366
- # s3_bucket: "S3Bucket", # required
2367
- # s3_prefix: "S3ObjectName",
2368
- # },
2369
- # kms_key_id: "KMSKeyId",
2370
- # }
2371
- #
2372
2084
  # @!attribute [rw] document_location
2373
2085
  # The location of the document to be processed.
2374
2086
  # @return [Types::DocumentLocation]
@@ -2439,30 +2151,6 @@ module Aws::Textract
2439
2151
  include Aws::Structure
2440
2152
  end
2441
2153
 
2442
- # @note When making an API call, you may pass StartLendingAnalysisRequest
2443
- # data as a hash:
2444
- #
2445
- # {
2446
- # document_location: { # required
2447
- # s3_object: {
2448
- # bucket: "S3Bucket",
2449
- # name: "S3ObjectName",
2450
- # version: "S3ObjectVersion",
2451
- # },
2452
- # },
2453
- # client_request_token: "ClientRequestToken",
2454
- # job_tag: "JobTag",
2455
- # notification_channel: {
2456
- # sns_topic_arn: "SNSTopicArn", # required
2457
- # role_arn: "RoleArn", # required
2458
- # },
2459
- # output_config: {
2460
- # s3_bucket: "S3Bucket", # required
2461
- # s3_prefix: "S3ObjectName",
2462
- # },
2463
- # kms_key_id: "KMSKeyId",
2464
- # }
2465
- #
2466
2154
  # @!attribute [rw] document_location
2467
2155
  # The Amazon S3 bucket that contains the document to be processed.
2468
2156
  # It's used by asynchronous operations.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-textract/customizations'
52
52
  # @!group service
53
53
  module Aws::Textract
54
54
 
55
- GEM_VERSION = '1.43.0'
55
+ GEM_VERSION = '1.44.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-textract
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.43.0
4
+ version: 1.44.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-28 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core