aws-sdk-textract 1.55.0 → 1.56.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-textract/client.rb +1 -1
- data/lib/aws-sdk-textract/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-textract.rb +1 -1
- data/sig/client.rbs +569 -0
- data/sig/errors.rbs +55 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +760 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1c7fd80c6c9561d0e13a5337fa04b9e3d97bcedaa85350dca794e86e3fd61fc
|
4
|
+
data.tar.gz: f8142826ca5ac9c78a3f98ee5ed67f6fd2a1ec20be0bb6896c2629b46e177abd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77f3de16fda320adba2c0c9929e1eca7c5ce49f35501174173e8a7bf0f3207463e34ef4b1b6426d00915505853a0bcfcaf5caaf018dc7ec64eef75030c1441fc
|
7
|
+
data.tar.gz: 7c2156e5c16c584e9a59ddc4f5e2afa861c6bdf3de30b6d33aaaba619f53c84951b9d50a029bde353c0cf612acef31eb43155760166eef487422582a65eff102
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.56.0
|
@@ -2731,7 +2731,7 @@ module Aws::Textract
|
|
2731
2731
|
params: params,
|
2732
2732
|
config: config)
|
2733
2733
|
context[:gem_name] = 'aws-sdk-textract'
|
2734
|
-
context[:gem_version] = '1.
|
2734
|
+
context[:gem_version] = '1.56.0'
|
2735
2735
|
Seahorse::Client::Request.new(handlers, context)
|
2736
2736
|
end
|
2737
2737
|
|
@@ -14,6 +14,7 @@ module Aws::Textract
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::Textract::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
data/lib/aws-sdk-textract.rb
CHANGED
data/sig/client.rbs
ADDED
@@ -0,0 +1,569 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module Textract
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?simple_json: bool,
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?token_provider: untyped,
|
54
|
+
?use_dualstack_endpoint: bool,
|
55
|
+
?use_fips_endpoint: bool,
|
56
|
+
?validate_params: bool,
|
57
|
+
?endpoint_provider: untyped,
|
58
|
+
?http_proxy: String,
|
59
|
+
?http_open_timeout: (Float | Integer),
|
60
|
+
?http_read_timeout: (Float | Integer),
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
64
|
+
?http_wire_trace: bool,
|
65
|
+
?ssl_verify_peer: bool,
|
66
|
+
?ssl_ca_bundle: String,
|
67
|
+
?ssl_ca_directory: String,
|
68
|
+
?ssl_ca_store: String,
|
69
|
+
?on_chunk_received: Proc,
|
70
|
+
?on_chunk_sent: Proc,
|
71
|
+
?raise_response_errors: bool
|
72
|
+
) -> instance
|
73
|
+
| (?Hash[Symbol, untyped]) -> instance
|
74
|
+
|
75
|
+
|
76
|
+
interface _AnalyzeDocumentResponseSuccess
|
77
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AnalyzeDocumentResponse]
|
78
|
+
def document_metadata: () -> Types::DocumentMetadata
|
79
|
+
def blocks: () -> ::Array[Types::Block]
|
80
|
+
def human_loop_activation_output: () -> Types::HumanLoopActivationOutput
|
81
|
+
def analyze_document_model_version: () -> ::String
|
82
|
+
end
|
83
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#analyze_document-instance_method
|
84
|
+
def analyze_document: (
|
85
|
+
document: {
|
86
|
+
bytes: ::String?,
|
87
|
+
s3_object: {
|
88
|
+
bucket: ::String?,
|
89
|
+
name: ::String?,
|
90
|
+
version: ::String?
|
91
|
+
}?
|
92
|
+
},
|
93
|
+
feature_types: Array[("TABLES" | "FORMS" | "QUERIES" | "SIGNATURES" | "LAYOUT")],
|
94
|
+
?human_loop_config: {
|
95
|
+
human_loop_name: ::String,
|
96
|
+
flow_definition_arn: ::String,
|
97
|
+
data_attributes: {
|
98
|
+
content_classifiers: Array[("FreeOfPersonallyIdentifiableInformation" | "FreeOfAdultContent")]?
|
99
|
+
}?
|
100
|
+
},
|
101
|
+
?queries_config: {
|
102
|
+
queries: Array[
|
103
|
+
{
|
104
|
+
text: ::String,
|
105
|
+
alias: ::String?,
|
106
|
+
pages: Array[::String]?
|
107
|
+
},
|
108
|
+
]
|
109
|
+
},
|
110
|
+
?adapters_config: {
|
111
|
+
adapters: Array[
|
112
|
+
{
|
113
|
+
adapter_id: ::String,
|
114
|
+
pages: Array[::String]?,
|
115
|
+
version: ::String
|
116
|
+
},
|
117
|
+
]
|
118
|
+
}
|
119
|
+
) -> _AnalyzeDocumentResponseSuccess
|
120
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AnalyzeDocumentResponseSuccess
|
121
|
+
|
122
|
+
interface _AnalyzeExpenseResponseSuccess
|
123
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AnalyzeExpenseResponse]
|
124
|
+
def document_metadata: () -> Types::DocumentMetadata
|
125
|
+
def expense_documents: () -> ::Array[Types::ExpenseDocument]
|
126
|
+
end
|
127
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#analyze_expense-instance_method
|
128
|
+
def analyze_expense: (
|
129
|
+
document: {
|
130
|
+
bytes: ::String?,
|
131
|
+
s3_object: {
|
132
|
+
bucket: ::String?,
|
133
|
+
name: ::String?,
|
134
|
+
version: ::String?
|
135
|
+
}?
|
136
|
+
}
|
137
|
+
) -> _AnalyzeExpenseResponseSuccess
|
138
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AnalyzeExpenseResponseSuccess
|
139
|
+
|
140
|
+
interface _AnalyzeIDResponseSuccess
|
141
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AnalyzeIDResponse]
|
142
|
+
def identity_documents: () -> ::Array[Types::IdentityDocument]
|
143
|
+
def document_metadata: () -> Types::DocumentMetadata
|
144
|
+
def analyze_id_model_version: () -> ::String
|
145
|
+
end
|
146
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#analyze_id-instance_method
|
147
|
+
def analyze_id: (
|
148
|
+
document_pages: Array[
|
149
|
+
{
|
150
|
+
bytes: ::String?,
|
151
|
+
s3_object: {
|
152
|
+
bucket: ::String?,
|
153
|
+
name: ::String?,
|
154
|
+
version: ::String?
|
155
|
+
}?
|
156
|
+
},
|
157
|
+
]
|
158
|
+
) -> _AnalyzeIDResponseSuccess
|
159
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AnalyzeIDResponseSuccess
|
160
|
+
|
161
|
+
interface _CreateAdapterResponseSuccess
|
162
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateAdapterResponse]
|
163
|
+
def adapter_id: () -> ::String
|
164
|
+
end
|
165
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#create_adapter-instance_method
|
166
|
+
def create_adapter: (
|
167
|
+
adapter_name: ::String,
|
168
|
+
?client_request_token: ::String,
|
169
|
+
?description: ::String,
|
170
|
+
feature_types: Array[("TABLES" | "FORMS" | "QUERIES" | "SIGNATURES" | "LAYOUT")],
|
171
|
+
?auto_update: ("ENABLED" | "DISABLED"),
|
172
|
+
?tags: Hash[::String, ::String]
|
173
|
+
) -> _CreateAdapterResponseSuccess
|
174
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAdapterResponseSuccess
|
175
|
+
|
176
|
+
interface _CreateAdapterVersionResponseSuccess
|
177
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateAdapterVersionResponse]
|
178
|
+
def adapter_id: () -> ::String
|
179
|
+
def adapter_version: () -> ::String
|
180
|
+
end
|
181
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#create_adapter_version-instance_method
|
182
|
+
def create_adapter_version: (
|
183
|
+
adapter_id: ::String,
|
184
|
+
?client_request_token: ::String,
|
185
|
+
dataset_config: {
|
186
|
+
manifest_s3_object: {
|
187
|
+
bucket: ::String?,
|
188
|
+
name: ::String?,
|
189
|
+
version: ::String?
|
190
|
+
}?
|
191
|
+
},
|
192
|
+
?kms_key_id: ::String,
|
193
|
+
output_config: {
|
194
|
+
s3_bucket: ::String,
|
195
|
+
s3_prefix: ::String?
|
196
|
+
},
|
197
|
+
?tags: Hash[::String, ::String]
|
198
|
+
) -> _CreateAdapterVersionResponseSuccess
|
199
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAdapterVersionResponseSuccess
|
200
|
+
|
201
|
+
interface _DeleteAdapterResponseSuccess
|
202
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAdapterResponse]
|
203
|
+
end
|
204
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#delete_adapter-instance_method
|
205
|
+
def delete_adapter: (
|
206
|
+
adapter_id: ::String
|
207
|
+
) -> _DeleteAdapterResponseSuccess
|
208
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAdapterResponseSuccess
|
209
|
+
|
210
|
+
interface _DeleteAdapterVersionResponseSuccess
|
211
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAdapterVersionResponse]
|
212
|
+
end
|
213
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#delete_adapter_version-instance_method
|
214
|
+
def delete_adapter_version: (
|
215
|
+
adapter_id: ::String,
|
216
|
+
adapter_version: ::String
|
217
|
+
) -> _DeleteAdapterVersionResponseSuccess
|
218
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAdapterVersionResponseSuccess
|
219
|
+
|
220
|
+
interface _DetectDocumentTextResponseSuccess
|
221
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DetectDocumentTextResponse]
|
222
|
+
def document_metadata: () -> Types::DocumentMetadata
|
223
|
+
def blocks: () -> ::Array[Types::Block]
|
224
|
+
def detect_document_text_model_version: () -> ::String
|
225
|
+
end
|
226
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#detect_document_text-instance_method
|
227
|
+
def detect_document_text: (
|
228
|
+
document: {
|
229
|
+
bytes: ::String?,
|
230
|
+
s3_object: {
|
231
|
+
bucket: ::String?,
|
232
|
+
name: ::String?,
|
233
|
+
version: ::String?
|
234
|
+
}?
|
235
|
+
}
|
236
|
+
) -> _DetectDocumentTextResponseSuccess
|
237
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetectDocumentTextResponseSuccess
|
238
|
+
|
239
|
+
interface _GetAdapterResponseSuccess
|
240
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAdapterResponse]
|
241
|
+
def adapter_id: () -> ::String
|
242
|
+
def adapter_name: () -> ::String
|
243
|
+
def creation_time: () -> ::Time
|
244
|
+
def description: () -> ::String
|
245
|
+
def feature_types: () -> ::Array[("TABLES" | "FORMS" | "QUERIES" | "SIGNATURES" | "LAYOUT")]
|
246
|
+
def auto_update: () -> ("ENABLED" | "DISABLED")
|
247
|
+
def tags: () -> ::Hash[::String, ::String]
|
248
|
+
end
|
249
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#get_adapter-instance_method
|
250
|
+
def get_adapter: (
|
251
|
+
adapter_id: ::String
|
252
|
+
) -> _GetAdapterResponseSuccess
|
253
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAdapterResponseSuccess
|
254
|
+
|
255
|
+
interface _GetAdapterVersionResponseSuccess
|
256
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAdapterVersionResponse]
|
257
|
+
def adapter_id: () -> ::String
|
258
|
+
def adapter_version: () -> ::String
|
259
|
+
def creation_time: () -> ::Time
|
260
|
+
def feature_types: () -> ::Array[("TABLES" | "FORMS" | "QUERIES" | "SIGNATURES" | "LAYOUT")]
|
261
|
+
def status: () -> ("ACTIVE" | "AT_RISK" | "DEPRECATED" | "CREATION_ERROR" | "CREATION_IN_PROGRESS")
|
262
|
+
def status_message: () -> ::String
|
263
|
+
def dataset_config: () -> Types::AdapterVersionDatasetConfig
|
264
|
+
def kms_key_id: () -> ::String
|
265
|
+
def output_config: () -> Types::OutputConfig
|
266
|
+
def evaluation_metrics: () -> ::Array[Types::AdapterVersionEvaluationMetric]
|
267
|
+
def tags: () -> ::Hash[::String, ::String]
|
268
|
+
end
|
269
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#get_adapter_version-instance_method
|
270
|
+
def get_adapter_version: (
|
271
|
+
adapter_id: ::String,
|
272
|
+
adapter_version: ::String
|
273
|
+
) -> _GetAdapterVersionResponseSuccess
|
274
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAdapterVersionResponseSuccess
|
275
|
+
|
276
|
+
interface _GetDocumentAnalysisResponseSuccess
|
277
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDocumentAnalysisResponse]
|
278
|
+
def document_metadata: () -> Types::DocumentMetadata
|
279
|
+
def job_status: () -> ("IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "PARTIAL_SUCCESS")
|
280
|
+
def next_token: () -> ::String
|
281
|
+
def blocks: () -> ::Array[Types::Block]
|
282
|
+
def warnings: () -> ::Array[Types::Warning]
|
283
|
+
def status_message: () -> ::String
|
284
|
+
def analyze_document_model_version: () -> ::String
|
285
|
+
end
|
286
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#get_document_analysis-instance_method
|
287
|
+
def get_document_analysis: (
|
288
|
+
job_id: ::String,
|
289
|
+
?max_results: ::Integer,
|
290
|
+
?next_token: ::String
|
291
|
+
) -> _GetDocumentAnalysisResponseSuccess
|
292
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDocumentAnalysisResponseSuccess
|
293
|
+
|
294
|
+
interface _GetDocumentTextDetectionResponseSuccess
|
295
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDocumentTextDetectionResponse]
|
296
|
+
def document_metadata: () -> Types::DocumentMetadata
|
297
|
+
def job_status: () -> ("IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "PARTIAL_SUCCESS")
|
298
|
+
def next_token: () -> ::String
|
299
|
+
def blocks: () -> ::Array[Types::Block]
|
300
|
+
def warnings: () -> ::Array[Types::Warning]
|
301
|
+
def status_message: () -> ::String
|
302
|
+
def detect_document_text_model_version: () -> ::String
|
303
|
+
end
|
304
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#get_document_text_detection-instance_method
|
305
|
+
def get_document_text_detection: (
|
306
|
+
job_id: ::String,
|
307
|
+
?max_results: ::Integer,
|
308
|
+
?next_token: ::String
|
309
|
+
) -> _GetDocumentTextDetectionResponseSuccess
|
310
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDocumentTextDetectionResponseSuccess
|
311
|
+
|
312
|
+
interface _GetExpenseAnalysisResponseSuccess
|
313
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetExpenseAnalysisResponse]
|
314
|
+
def document_metadata: () -> Types::DocumentMetadata
|
315
|
+
def job_status: () -> ("IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "PARTIAL_SUCCESS")
|
316
|
+
def next_token: () -> ::String
|
317
|
+
def expense_documents: () -> ::Array[Types::ExpenseDocument]
|
318
|
+
def warnings: () -> ::Array[Types::Warning]
|
319
|
+
def status_message: () -> ::String
|
320
|
+
def analyze_expense_model_version: () -> ::String
|
321
|
+
end
|
322
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#get_expense_analysis-instance_method
|
323
|
+
def get_expense_analysis: (
|
324
|
+
job_id: ::String,
|
325
|
+
?max_results: ::Integer,
|
326
|
+
?next_token: ::String
|
327
|
+
) -> _GetExpenseAnalysisResponseSuccess
|
328
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExpenseAnalysisResponseSuccess
|
329
|
+
|
330
|
+
interface _GetLendingAnalysisResponseSuccess
|
331
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetLendingAnalysisResponse]
|
332
|
+
def document_metadata: () -> Types::DocumentMetadata
|
333
|
+
def job_status: () -> ("IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "PARTIAL_SUCCESS")
|
334
|
+
def next_token: () -> ::String
|
335
|
+
def results: () -> ::Array[Types::LendingResult]
|
336
|
+
def warnings: () -> ::Array[Types::Warning]
|
337
|
+
def status_message: () -> ::String
|
338
|
+
def analyze_lending_model_version: () -> ::String
|
339
|
+
end
|
340
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#get_lending_analysis-instance_method
|
341
|
+
def get_lending_analysis: (
|
342
|
+
job_id: ::String,
|
343
|
+
?max_results: ::Integer,
|
344
|
+
?next_token: ::String
|
345
|
+
) -> _GetLendingAnalysisResponseSuccess
|
346
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLendingAnalysisResponseSuccess
|
347
|
+
|
348
|
+
interface _GetLendingAnalysisSummaryResponseSuccess
|
349
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetLendingAnalysisSummaryResponse]
|
350
|
+
def document_metadata: () -> Types::DocumentMetadata
|
351
|
+
def job_status: () -> ("IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "PARTIAL_SUCCESS")
|
352
|
+
def summary: () -> Types::LendingSummary
|
353
|
+
def warnings: () -> ::Array[Types::Warning]
|
354
|
+
def status_message: () -> ::String
|
355
|
+
def analyze_lending_model_version: () -> ::String
|
356
|
+
end
|
357
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#get_lending_analysis_summary-instance_method
|
358
|
+
def get_lending_analysis_summary: (
|
359
|
+
job_id: ::String
|
360
|
+
) -> _GetLendingAnalysisSummaryResponseSuccess
|
361
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLendingAnalysisSummaryResponseSuccess
|
362
|
+
|
363
|
+
interface _ListAdapterVersionsResponseSuccess
|
364
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAdapterVersionsResponse]
|
365
|
+
def adapter_versions: () -> ::Array[Types::AdapterVersionOverview]
|
366
|
+
def next_token: () -> ::String
|
367
|
+
end
|
368
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#list_adapter_versions-instance_method
|
369
|
+
def list_adapter_versions: (
|
370
|
+
?adapter_id: ::String,
|
371
|
+
?after_creation_time: ::Time,
|
372
|
+
?before_creation_time: ::Time,
|
373
|
+
?max_results: ::Integer,
|
374
|
+
?next_token: ::String
|
375
|
+
) -> _ListAdapterVersionsResponseSuccess
|
376
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAdapterVersionsResponseSuccess
|
377
|
+
|
378
|
+
interface _ListAdaptersResponseSuccess
|
379
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAdaptersResponse]
|
380
|
+
def adapters: () -> ::Array[Types::AdapterOverview]
|
381
|
+
def next_token: () -> ::String
|
382
|
+
end
|
383
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#list_adapters-instance_method
|
384
|
+
def list_adapters: (
|
385
|
+
?after_creation_time: ::Time,
|
386
|
+
?before_creation_time: ::Time,
|
387
|
+
?max_results: ::Integer,
|
388
|
+
?next_token: ::String
|
389
|
+
) -> _ListAdaptersResponseSuccess
|
390
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAdaptersResponseSuccess
|
391
|
+
|
392
|
+
interface _ListTagsForResourceResponseSuccess
|
393
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
394
|
+
def tags: () -> ::Hash[::String, ::String]
|
395
|
+
end
|
396
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#list_tags_for_resource-instance_method
|
397
|
+
def list_tags_for_resource: (
|
398
|
+
resource_arn: ::String
|
399
|
+
) -> _ListTagsForResourceResponseSuccess
|
400
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
401
|
+
|
402
|
+
interface _StartDocumentAnalysisResponseSuccess
|
403
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartDocumentAnalysisResponse]
|
404
|
+
def job_id: () -> ::String
|
405
|
+
end
|
406
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#start_document_analysis-instance_method
|
407
|
+
def start_document_analysis: (
|
408
|
+
document_location: {
|
409
|
+
s3_object: {
|
410
|
+
bucket: ::String?,
|
411
|
+
name: ::String?,
|
412
|
+
version: ::String?
|
413
|
+
}?
|
414
|
+
},
|
415
|
+
feature_types: Array[("TABLES" | "FORMS" | "QUERIES" | "SIGNATURES" | "LAYOUT")],
|
416
|
+
?client_request_token: ::String,
|
417
|
+
?job_tag: ::String,
|
418
|
+
?notification_channel: {
|
419
|
+
sns_topic_arn: ::String,
|
420
|
+
role_arn: ::String
|
421
|
+
},
|
422
|
+
?output_config: {
|
423
|
+
s3_bucket: ::String,
|
424
|
+
s3_prefix: ::String?
|
425
|
+
},
|
426
|
+
?kms_key_id: ::String,
|
427
|
+
?queries_config: {
|
428
|
+
queries: Array[
|
429
|
+
{
|
430
|
+
text: ::String,
|
431
|
+
alias: ::String?,
|
432
|
+
pages: Array[::String]?
|
433
|
+
},
|
434
|
+
]
|
435
|
+
},
|
436
|
+
?adapters_config: {
|
437
|
+
adapters: Array[
|
438
|
+
{
|
439
|
+
adapter_id: ::String,
|
440
|
+
pages: Array[::String]?,
|
441
|
+
version: ::String
|
442
|
+
},
|
443
|
+
]
|
444
|
+
}
|
445
|
+
) -> _StartDocumentAnalysisResponseSuccess
|
446
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDocumentAnalysisResponseSuccess
|
447
|
+
|
448
|
+
interface _StartDocumentTextDetectionResponseSuccess
|
449
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartDocumentTextDetectionResponse]
|
450
|
+
def job_id: () -> ::String
|
451
|
+
end
|
452
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#start_document_text_detection-instance_method
|
453
|
+
def start_document_text_detection: (
|
454
|
+
document_location: {
|
455
|
+
s3_object: {
|
456
|
+
bucket: ::String?,
|
457
|
+
name: ::String?,
|
458
|
+
version: ::String?
|
459
|
+
}?
|
460
|
+
},
|
461
|
+
?client_request_token: ::String,
|
462
|
+
?job_tag: ::String,
|
463
|
+
?notification_channel: {
|
464
|
+
sns_topic_arn: ::String,
|
465
|
+
role_arn: ::String
|
466
|
+
},
|
467
|
+
?output_config: {
|
468
|
+
s3_bucket: ::String,
|
469
|
+
s3_prefix: ::String?
|
470
|
+
},
|
471
|
+
?kms_key_id: ::String
|
472
|
+
) -> _StartDocumentTextDetectionResponseSuccess
|
473
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDocumentTextDetectionResponseSuccess
|
474
|
+
|
475
|
+
interface _StartExpenseAnalysisResponseSuccess
|
476
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartExpenseAnalysisResponse]
|
477
|
+
def job_id: () -> ::String
|
478
|
+
end
|
479
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#start_expense_analysis-instance_method
|
480
|
+
def start_expense_analysis: (
|
481
|
+
document_location: {
|
482
|
+
s3_object: {
|
483
|
+
bucket: ::String?,
|
484
|
+
name: ::String?,
|
485
|
+
version: ::String?
|
486
|
+
}?
|
487
|
+
},
|
488
|
+
?client_request_token: ::String,
|
489
|
+
?job_tag: ::String,
|
490
|
+
?notification_channel: {
|
491
|
+
sns_topic_arn: ::String,
|
492
|
+
role_arn: ::String
|
493
|
+
},
|
494
|
+
?output_config: {
|
495
|
+
s3_bucket: ::String,
|
496
|
+
s3_prefix: ::String?
|
497
|
+
},
|
498
|
+
?kms_key_id: ::String
|
499
|
+
) -> _StartExpenseAnalysisResponseSuccess
|
500
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartExpenseAnalysisResponseSuccess
|
501
|
+
|
502
|
+
interface _StartLendingAnalysisResponseSuccess
|
503
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartLendingAnalysisResponse]
|
504
|
+
def job_id: () -> ::String
|
505
|
+
end
|
506
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#start_lending_analysis-instance_method
|
507
|
+
def start_lending_analysis: (
|
508
|
+
document_location: {
|
509
|
+
s3_object: {
|
510
|
+
bucket: ::String?,
|
511
|
+
name: ::String?,
|
512
|
+
version: ::String?
|
513
|
+
}?
|
514
|
+
},
|
515
|
+
?client_request_token: ::String,
|
516
|
+
?job_tag: ::String,
|
517
|
+
?notification_channel: {
|
518
|
+
sns_topic_arn: ::String,
|
519
|
+
role_arn: ::String
|
520
|
+
},
|
521
|
+
?output_config: {
|
522
|
+
s3_bucket: ::String,
|
523
|
+
s3_prefix: ::String?
|
524
|
+
},
|
525
|
+
?kms_key_id: ::String
|
526
|
+
) -> _StartLendingAnalysisResponseSuccess
|
527
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartLendingAnalysisResponseSuccess
|
528
|
+
|
529
|
+
interface _TagResourceResponseSuccess
|
530
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
531
|
+
end
|
532
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#tag_resource-instance_method
|
533
|
+
def tag_resource: (
|
534
|
+
resource_arn: ::String,
|
535
|
+
tags: Hash[::String, ::String]
|
536
|
+
) -> _TagResourceResponseSuccess
|
537
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
538
|
+
|
539
|
+
interface _UntagResourceResponseSuccess
|
540
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
541
|
+
end
|
542
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#untag_resource-instance_method
|
543
|
+
def untag_resource: (
|
544
|
+
resource_arn: ::String,
|
545
|
+
tag_keys: Array[::String]
|
546
|
+
) -> _UntagResourceResponseSuccess
|
547
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
548
|
+
|
549
|
+
interface _UpdateAdapterResponseSuccess
|
550
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAdapterResponse]
|
551
|
+
def adapter_id: () -> ::String
|
552
|
+
def adapter_name: () -> ::String
|
553
|
+
def creation_time: () -> ::Time
|
554
|
+
def description: () -> ::String
|
555
|
+
def feature_types: () -> ::Array[("TABLES" | "FORMS" | "QUERIES" | "SIGNATURES" | "LAYOUT")]
|
556
|
+
def auto_update: () -> ("ENABLED" | "DISABLED")
|
557
|
+
end
|
558
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#update_adapter-instance_method
|
559
|
+
def update_adapter: (
|
560
|
+
adapter_id: ::String,
|
561
|
+
?description: ::String,
|
562
|
+
?adapter_name: ::String,
|
563
|
+
?auto_update: ("ENABLED" | "DISABLED")
|
564
|
+
) -> _UpdateAdapterResponseSuccess
|
565
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAdapterResponseSuccess
|
566
|
+
end
|
567
|
+
end
|
568
|
+
end
|
569
|
+
|