aws-sdk-textract 1.55.0 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-textract/client.rb +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
data/sig/types.rbs
ADDED
@@ -0,0 +1,760 @@
|
|
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::Textract
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException < Aws::EmptyStructure
|
12
|
+
end
|
13
|
+
|
14
|
+
class Adapter
|
15
|
+
attr_accessor adapter_id: ::String
|
16
|
+
attr_accessor pages: ::Array[::String]
|
17
|
+
attr_accessor version: ::String
|
18
|
+
SENSITIVE: []
|
19
|
+
end
|
20
|
+
|
21
|
+
class AdapterOverview
|
22
|
+
attr_accessor adapter_id: ::String
|
23
|
+
attr_accessor adapter_name: ::String
|
24
|
+
attr_accessor creation_time: ::Time
|
25
|
+
attr_accessor feature_types: ::Array[("TABLES" | "FORMS" | "QUERIES" | "SIGNATURES" | "LAYOUT")]
|
26
|
+
SENSITIVE: []
|
27
|
+
end
|
28
|
+
|
29
|
+
class AdapterVersionDatasetConfig
|
30
|
+
attr_accessor manifest_s3_object: Types::S3Object
|
31
|
+
SENSITIVE: []
|
32
|
+
end
|
33
|
+
|
34
|
+
class AdapterVersionEvaluationMetric
|
35
|
+
attr_accessor baseline: Types::EvaluationMetric
|
36
|
+
attr_accessor adapter_version: Types::EvaluationMetric
|
37
|
+
attr_accessor feature_type: ("TABLES" | "FORMS" | "QUERIES" | "SIGNATURES" | "LAYOUT")
|
38
|
+
SENSITIVE: []
|
39
|
+
end
|
40
|
+
|
41
|
+
class AdapterVersionOverview
|
42
|
+
attr_accessor adapter_id: ::String
|
43
|
+
attr_accessor adapter_version: ::String
|
44
|
+
attr_accessor creation_time: ::Time
|
45
|
+
attr_accessor feature_types: ::Array[("TABLES" | "FORMS" | "QUERIES" | "SIGNATURES" | "LAYOUT")]
|
46
|
+
attr_accessor status: ("ACTIVE" | "AT_RISK" | "DEPRECATED" | "CREATION_ERROR" | "CREATION_IN_PROGRESS")
|
47
|
+
attr_accessor status_message: ::String
|
48
|
+
SENSITIVE: []
|
49
|
+
end
|
50
|
+
|
51
|
+
class AdaptersConfig
|
52
|
+
attr_accessor adapters: ::Array[Types::Adapter]
|
53
|
+
SENSITIVE: []
|
54
|
+
end
|
55
|
+
|
56
|
+
class AnalyzeDocumentRequest
|
57
|
+
attr_accessor document: Types::Document
|
58
|
+
attr_accessor feature_types: ::Array[("TABLES" | "FORMS" | "QUERIES" | "SIGNATURES" | "LAYOUT")]
|
59
|
+
attr_accessor human_loop_config: Types::HumanLoopConfig
|
60
|
+
attr_accessor queries_config: Types::QueriesConfig
|
61
|
+
attr_accessor adapters_config: Types::AdaptersConfig
|
62
|
+
SENSITIVE: []
|
63
|
+
end
|
64
|
+
|
65
|
+
class AnalyzeDocumentResponse
|
66
|
+
attr_accessor document_metadata: Types::DocumentMetadata
|
67
|
+
attr_accessor blocks: ::Array[Types::Block]
|
68
|
+
attr_accessor human_loop_activation_output: Types::HumanLoopActivationOutput
|
69
|
+
attr_accessor analyze_document_model_version: ::String
|
70
|
+
SENSITIVE: []
|
71
|
+
end
|
72
|
+
|
73
|
+
class AnalyzeExpenseRequest
|
74
|
+
attr_accessor document: Types::Document
|
75
|
+
SENSITIVE: []
|
76
|
+
end
|
77
|
+
|
78
|
+
class AnalyzeExpenseResponse
|
79
|
+
attr_accessor document_metadata: Types::DocumentMetadata
|
80
|
+
attr_accessor expense_documents: ::Array[Types::ExpenseDocument]
|
81
|
+
SENSITIVE: []
|
82
|
+
end
|
83
|
+
|
84
|
+
class AnalyzeIDDetections
|
85
|
+
attr_accessor text: ::String
|
86
|
+
attr_accessor normalized_value: Types::NormalizedValue
|
87
|
+
attr_accessor confidence: ::Float
|
88
|
+
SENSITIVE: []
|
89
|
+
end
|
90
|
+
|
91
|
+
class AnalyzeIDRequest
|
92
|
+
attr_accessor document_pages: ::Array[Types::Document]
|
93
|
+
SENSITIVE: []
|
94
|
+
end
|
95
|
+
|
96
|
+
class AnalyzeIDResponse
|
97
|
+
attr_accessor identity_documents: ::Array[Types::IdentityDocument]
|
98
|
+
attr_accessor document_metadata: Types::DocumentMetadata
|
99
|
+
attr_accessor analyze_id_model_version: ::String
|
100
|
+
SENSITIVE: []
|
101
|
+
end
|
102
|
+
|
103
|
+
class BadDocumentException < Aws::EmptyStructure
|
104
|
+
end
|
105
|
+
|
106
|
+
class Block
|
107
|
+
attr_accessor block_type: ("KEY_VALUE_SET" | "PAGE" | "LINE" | "WORD" | "TABLE" | "CELL" | "SELECTION_ELEMENT" | "MERGED_CELL" | "TITLE" | "QUERY" | "QUERY_RESULT" | "SIGNATURE" | "TABLE_TITLE" | "TABLE_FOOTER" | "LAYOUT_TEXT" | "LAYOUT_TITLE" | "LAYOUT_HEADER" | "LAYOUT_FOOTER" | "LAYOUT_SECTION_HEADER" | "LAYOUT_PAGE_NUMBER" | "LAYOUT_LIST" | "LAYOUT_FIGURE" | "LAYOUT_TABLE" | "LAYOUT_KEY_VALUE")
|
108
|
+
attr_accessor confidence: ::Float
|
109
|
+
attr_accessor text: ::String
|
110
|
+
attr_accessor text_type: ("HANDWRITING" | "PRINTED")
|
111
|
+
attr_accessor row_index: ::Integer
|
112
|
+
attr_accessor column_index: ::Integer
|
113
|
+
attr_accessor row_span: ::Integer
|
114
|
+
attr_accessor column_span: ::Integer
|
115
|
+
attr_accessor geometry: Types::Geometry
|
116
|
+
attr_accessor id: ::String
|
117
|
+
attr_accessor relationships: ::Array[Types::Relationship]
|
118
|
+
attr_accessor entity_types: ::Array[("KEY" | "VALUE" | "COLUMN_HEADER" | "TABLE_TITLE" | "TABLE_FOOTER" | "TABLE_SECTION_TITLE" | "TABLE_SUMMARY" | "STRUCTURED_TABLE" | "SEMI_STRUCTURED_TABLE")]
|
119
|
+
attr_accessor selection_status: ("SELECTED" | "NOT_SELECTED")
|
120
|
+
attr_accessor page: ::Integer
|
121
|
+
attr_accessor query: Types::Query
|
122
|
+
SENSITIVE: []
|
123
|
+
end
|
124
|
+
|
125
|
+
class BoundingBox
|
126
|
+
attr_accessor width: ::Float
|
127
|
+
attr_accessor height: ::Float
|
128
|
+
attr_accessor left: ::Float
|
129
|
+
attr_accessor top: ::Float
|
130
|
+
SENSITIVE: []
|
131
|
+
end
|
132
|
+
|
133
|
+
class ConflictException < Aws::EmptyStructure
|
134
|
+
end
|
135
|
+
|
136
|
+
class CreateAdapterRequest
|
137
|
+
attr_accessor adapter_name: ::String
|
138
|
+
attr_accessor client_request_token: ::String
|
139
|
+
attr_accessor description: ::String
|
140
|
+
attr_accessor feature_types: ::Array[("TABLES" | "FORMS" | "QUERIES" | "SIGNATURES" | "LAYOUT")]
|
141
|
+
attr_accessor auto_update: ("ENABLED" | "DISABLED")
|
142
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
143
|
+
SENSITIVE: []
|
144
|
+
end
|
145
|
+
|
146
|
+
class CreateAdapterResponse
|
147
|
+
attr_accessor adapter_id: ::String
|
148
|
+
SENSITIVE: []
|
149
|
+
end
|
150
|
+
|
151
|
+
class CreateAdapterVersionRequest
|
152
|
+
attr_accessor adapter_id: ::String
|
153
|
+
attr_accessor client_request_token: ::String
|
154
|
+
attr_accessor dataset_config: Types::AdapterVersionDatasetConfig
|
155
|
+
attr_accessor kms_key_id: ::String
|
156
|
+
attr_accessor output_config: Types::OutputConfig
|
157
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
158
|
+
SENSITIVE: []
|
159
|
+
end
|
160
|
+
|
161
|
+
class CreateAdapterVersionResponse
|
162
|
+
attr_accessor adapter_id: ::String
|
163
|
+
attr_accessor adapter_version: ::String
|
164
|
+
SENSITIVE: []
|
165
|
+
end
|
166
|
+
|
167
|
+
class DeleteAdapterRequest
|
168
|
+
attr_accessor adapter_id: ::String
|
169
|
+
SENSITIVE: []
|
170
|
+
end
|
171
|
+
|
172
|
+
class DeleteAdapterResponse < Aws::EmptyStructure
|
173
|
+
end
|
174
|
+
|
175
|
+
class DeleteAdapterVersionRequest
|
176
|
+
attr_accessor adapter_id: ::String
|
177
|
+
attr_accessor adapter_version: ::String
|
178
|
+
SENSITIVE: []
|
179
|
+
end
|
180
|
+
|
181
|
+
class DeleteAdapterVersionResponse < Aws::EmptyStructure
|
182
|
+
end
|
183
|
+
|
184
|
+
class DetectDocumentTextRequest
|
185
|
+
attr_accessor document: Types::Document
|
186
|
+
SENSITIVE: []
|
187
|
+
end
|
188
|
+
|
189
|
+
class DetectDocumentTextResponse
|
190
|
+
attr_accessor document_metadata: Types::DocumentMetadata
|
191
|
+
attr_accessor blocks: ::Array[Types::Block]
|
192
|
+
attr_accessor detect_document_text_model_version: ::String
|
193
|
+
SENSITIVE: []
|
194
|
+
end
|
195
|
+
|
196
|
+
class DetectedSignature
|
197
|
+
attr_accessor page: ::Integer
|
198
|
+
SENSITIVE: []
|
199
|
+
end
|
200
|
+
|
201
|
+
class Document
|
202
|
+
attr_accessor bytes: ::String
|
203
|
+
attr_accessor s3_object: Types::S3Object
|
204
|
+
SENSITIVE: []
|
205
|
+
end
|
206
|
+
|
207
|
+
class DocumentGroup
|
208
|
+
attr_accessor type: ::String
|
209
|
+
attr_accessor split_documents: ::Array[Types::SplitDocument]
|
210
|
+
attr_accessor detected_signatures: ::Array[Types::DetectedSignature]
|
211
|
+
attr_accessor undetected_signatures: ::Array[Types::UndetectedSignature]
|
212
|
+
SENSITIVE: []
|
213
|
+
end
|
214
|
+
|
215
|
+
class DocumentLocation
|
216
|
+
attr_accessor s3_object: Types::S3Object
|
217
|
+
SENSITIVE: []
|
218
|
+
end
|
219
|
+
|
220
|
+
class DocumentMetadata
|
221
|
+
attr_accessor pages: ::Integer
|
222
|
+
SENSITIVE: []
|
223
|
+
end
|
224
|
+
|
225
|
+
class DocumentTooLargeException < Aws::EmptyStructure
|
226
|
+
end
|
227
|
+
|
228
|
+
class EvaluationMetric
|
229
|
+
attr_accessor f1_score: ::Float
|
230
|
+
attr_accessor precision: ::Float
|
231
|
+
attr_accessor recall: ::Float
|
232
|
+
SENSITIVE: []
|
233
|
+
end
|
234
|
+
|
235
|
+
class ExpenseCurrency
|
236
|
+
attr_accessor code: ::String
|
237
|
+
attr_accessor confidence: ::Float
|
238
|
+
SENSITIVE: []
|
239
|
+
end
|
240
|
+
|
241
|
+
class ExpenseDetection
|
242
|
+
attr_accessor text: ::String
|
243
|
+
attr_accessor geometry: Types::Geometry
|
244
|
+
attr_accessor confidence: ::Float
|
245
|
+
SENSITIVE: []
|
246
|
+
end
|
247
|
+
|
248
|
+
class ExpenseDocument
|
249
|
+
attr_accessor expense_index: ::Integer
|
250
|
+
attr_accessor summary_fields: ::Array[Types::ExpenseField]
|
251
|
+
attr_accessor line_item_groups: ::Array[Types::LineItemGroup]
|
252
|
+
attr_accessor blocks: ::Array[Types::Block]
|
253
|
+
SENSITIVE: []
|
254
|
+
end
|
255
|
+
|
256
|
+
class ExpenseField
|
257
|
+
attr_accessor type: Types::ExpenseType
|
258
|
+
attr_accessor label_detection: Types::ExpenseDetection
|
259
|
+
attr_accessor value_detection: Types::ExpenseDetection
|
260
|
+
attr_accessor page_number: ::Integer
|
261
|
+
attr_accessor currency: Types::ExpenseCurrency
|
262
|
+
attr_accessor group_properties: ::Array[Types::ExpenseGroupProperty]
|
263
|
+
SENSITIVE: []
|
264
|
+
end
|
265
|
+
|
266
|
+
class ExpenseGroupProperty
|
267
|
+
attr_accessor types: ::Array[::String]
|
268
|
+
attr_accessor id: ::String
|
269
|
+
SENSITIVE: []
|
270
|
+
end
|
271
|
+
|
272
|
+
class ExpenseType
|
273
|
+
attr_accessor text: ::String
|
274
|
+
attr_accessor confidence: ::Float
|
275
|
+
SENSITIVE: []
|
276
|
+
end
|
277
|
+
|
278
|
+
class Extraction
|
279
|
+
attr_accessor lending_document: Types::LendingDocument
|
280
|
+
attr_accessor expense_document: Types::ExpenseDocument
|
281
|
+
attr_accessor identity_document: Types::IdentityDocument
|
282
|
+
SENSITIVE: []
|
283
|
+
end
|
284
|
+
|
285
|
+
class Geometry
|
286
|
+
attr_accessor bounding_box: Types::BoundingBox
|
287
|
+
attr_accessor polygon: ::Array[Types::Point]
|
288
|
+
SENSITIVE: []
|
289
|
+
end
|
290
|
+
|
291
|
+
class GetAdapterRequest
|
292
|
+
attr_accessor adapter_id: ::String
|
293
|
+
SENSITIVE: []
|
294
|
+
end
|
295
|
+
|
296
|
+
class GetAdapterResponse
|
297
|
+
attr_accessor adapter_id: ::String
|
298
|
+
attr_accessor adapter_name: ::String
|
299
|
+
attr_accessor creation_time: ::Time
|
300
|
+
attr_accessor description: ::String
|
301
|
+
attr_accessor feature_types: ::Array[("TABLES" | "FORMS" | "QUERIES" | "SIGNATURES" | "LAYOUT")]
|
302
|
+
attr_accessor auto_update: ("ENABLED" | "DISABLED")
|
303
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
304
|
+
SENSITIVE: []
|
305
|
+
end
|
306
|
+
|
307
|
+
class GetAdapterVersionRequest
|
308
|
+
attr_accessor adapter_id: ::String
|
309
|
+
attr_accessor adapter_version: ::String
|
310
|
+
SENSITIVE: []
|
311
|
+
end
|
312
|
+
|
313
|
+
class GetAdapterVersionResponse
|
314
|
+
attr_accessor adapter_id: ::String
|
315
|
+
attr_accessor adapter_version: ::String
|
316
|
+
attr_accessor creation_time: ::Time
|
317
|
+
attr_accessor feature_types: ::Array[("TABLES" | "FORMS" | "QUERIES" | "SIGNATURES" | "LAYOUT")]
|
318
|
+
attr_accessor status: ("ACTIVE" | "AT_RISK" | "DEPRECATED" | "CREATION_ERROR" | "CREATION_IN_PROGRESS")
|
319
|
+
attr_accessor status_message: ::String
|
320
|
+
attr_accessor dataset_config: Types::AdapterVersionDatasetConfig
|
321
|
+
attr_accessor kms_key_id: ::String
|
322
|
+
attr_accessor output_config: Types::OutputConfig
|
323
|
+
attr_accessor evaluation_metrics: ::Array[Types::AdapterVersionEvaluationMetric]
|
324
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
325
|
+
SENSITIVE: []
|
326
|
+
end
|
327
|
+
|
328
|
+
class GetDocumentAnalysisRequest
|
329
|
+
attr_accessor job_id: ::String
|
330
|
+
attr_accessor max_results: ::Integer
|
331
|
+
attr_accessor next_token: ::String
|
332
|
+
SENSITIVE: []
|
333
|
+
end
|
334
|
+
|
335
|
+
class GetDocumentAnalysisResponse
|
336
|
+
attr_accessor document_metadata: Types::DocumentMetadata
|
337
|
+
attr_accessor job_status: ("IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "PARTIAL_SUCCESS")
|
338
|
+
attr_accessor next_token: ::String
|
339
|
+
attr_accessor blocks: ::Array[Types::Block]
|
340
|
+
attr_accessor warnings: ::Array[Types::Warning]
|
341
|
+
attr_accessor status_message: ::String
|
342
|
+
attr_accessor analyze_document_model_version: ::String
|
343
|
+
SENSITIVE: []
|
344
|
+
end
|
345
|
+
|
346
|
+
class GetDocumentTextDetectionRequest
|
347
|
+
attr_accessor job_id: ::String
|
348
|
+
attr_accessor max_results: ::Integer
|
349
|
+
attr_accessor next_token: ::String
|
350
|
+
SENSITIVE: []
|
351
|
+
end
|
352
|
+
|
353
|
+
class GetDocumentTextDetectionResponse
|
354
|
+
attr_accessor document_metadata: Types::DocumentMetadata
|
355
|
+
attr_accessor job_status: ("IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "PARTIAL_SUCCESS")
|
356
|
+
attr_accessor next_token: ::String
|
357
|
+
attr_accessor blocks: ::Array[Types::Block]
|
358
|
+
attr_accessor warnings: ::Array[Types::Warning]
|
359
|
+
attr_accessor status_message: ::String
|
360
|
+
attr_accessor detect_document_text_model_version: ::String
|
361
|
+
SENSITIVE: []
|
362
|
+
end
|
363
|
+
|
364
|
+
class GetExpenseAnalysisRequest
|
365
|
+
attr_accessor job_id: ::String
|
366
|
+
attr_accessor max_results: ::Integer
|
367
|
+
attr_accessor next_token: ::String
|
368
|
+
SENSITIVE: []
|
369
|
+
end
|
370
|
+
|
371
|
+
class GetExpenseAnalysisResponse
|
372
|
+
attr_accessor document_metadata: Types::DocumentMetadata
|
373
|
+
attr_accessor job_status: ("IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "PARTIAL_SUCCESS")
|
374
|
+
attr_accessor next_token: ::String
|
375
|
+
attr_accessor expense_documents: ::Array[Types::ExpenseDocument]
|
376
|
+
attr_accessor warnings: ::Array[Types::Warning]
|
377
|
+
attr_accessor status_message: ::String
|
378
|
+
attr_accessor analyze_expense_model_version: ::String
|
379
|
+
SENSITIVE: []
|
380
|
+
end
|
381
|
+
|
382
|
+
class GetLendingAnalysisRequest
|
383
|
+
attr_accessor job_id: ::String
|
384
|
+
attr_accessor max_results: ::Integer
|
385
|
+
attr_accessor next_token: ::String
|
386
|
+
SENSITIVE: []
|
387
|
+
end
|
388
|
+
|
389
|
+
class GetLendingAnalysisResponse
|
390
|
+
attr_accessor document_metadata: Types::DocumentMetadata
|
391
|
+
attr_accessor job_status: ("IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "PARTIAL_SUCCESS")
|
392
|
+
attr_accessor next_token: ::String
|
393
|
+
attr_accessor results: ::Array[Types::LendingResult]
|
394
|
+
attr_accessor warnings: ::Array[Types::Warning]
|
395
|
+
attr_accessor status_message: ::String
|
396
|
+
attr_accessor analyze_lending_model_version: ::String
|
397
|
+
SENSITIVE: []
|
398
|
+
end
|
399
|
+
|
400
|
+
class GetLendingAnalysisSummaryRequest
|
401
|
+
attr_accessor job_id: ::String
|
402
|
+
SENSITIVE: []
|
403
|
+
end
|
404
|
+
|
405
|
+
class GetLendingAnalysisSummaryResponse
|
406
|
+
attr_accessor document_metadata: Types::DocumentMetadata
|
407
|
+
attr_accessor job_status: ("IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "PARTIAL_SUCCESS")
|
408
|
+
attr_accessor summary: Types::LendingSummary
|
409
|
+
attr_accessor warnings: ::Array[Types::Warning]
|
410
|
+
attr_accessor status_message: ::String
|
411
|
+
attr_accessor analyze_lending_model_version: ::String
|
412
|
+
SENSITIVE: []
|
413
|
+
end
|
414
|
+
|
415
|
+
class HumanLoopActivationOutput
|
416
|
+
attr_accessor human_loop_arn: ::String
|
417
|
+
attr_accessor human_loop_activation_reasons: ::Array[::String]
|
418
|
+
attr_accessor human_loop_activation_conditions_evaluation_results: ::String
|
419
|
+
SENSITIVE: []
|
420
|
+
end
|
421
|
+
|
422
|
+
class HumanLoopConfig
|
423
|
+
attr_accessor human_loop_name: ::String
|
424
|
+
attr_accessor flow_definition_arn: ::String
|
425
|
+
attr_accessor data_attributes: Types::HumanLoopDataAttributes
|
426
|
+
SENSITIVE: []
|
427
|
+
end
|
428
|
+
|
429
|
+
class HumanLoopDataAttributes
|
430
|
+
attr_accessor content_classifiers: ::Array[("FreeOfPersonallyIdentifiableInformation" | "FreeOfAdultContent")]
|
431
|
+
SENSITIVE: []
|
432
|
+
end
|
433
|
+
|
434
|
+
class HumanLoopQuotaExceededException
|
435
|
+
attr_accessor resource_type: ::String
|
436
|
+
attr_accessor quota_code: ::String
|
437
|
+
attr_accessor service_code: ::String
|
438
|
+
SENSITIVE: []
|
439
|
+
end
|
440
|
+
|
441
|
+
class IdempotentParameterMismatchException < Aws::EmptyStructure
|
442
|
+
end
|
443
|
+
|
444
|
+
class IdentityDocument
|
445
|
+
attr_accessor document_index: ::Integer
|
446
|
+
attr_accessor identity_document_fields: ::Array[Types::IdentityDocumentField]
|
447
|
+
attr_accessor blocks: ::Array[Types::Block]
|
448
|
+
SENSITIVE: []
|
449
|
+
end
|
450
|
+
|
451
|
+
class IdentityDocumentField
|
452
|
+
attr_accessor type: Types::AnalyzeIDDetections
|
453
|
+
attr_accessor value_detection: Types::AnalyzeIDDetections
|
454
|
+
SENSITIVE: []
|
455
|
+
end
|
456
|
+
|
457
|
+
class InternalServerError < Aws::EmptyStructure
|
458
|
+
end
|
459
|
+
|
460
|
+
class InvalidJobIdException < Aws::EmptyStructure
|
461
|
+
end
|
462
|
+
|
463
|
+
class InvalidKMSKeyException < Aws::EmptyStructure
|
464
|
+
end
|
465
|
+
|
466
|
+
class InvalidParameterException < Aws::EmptyStructure
|
467
|
+
end
|
468
|
+
|
469
|
+
class InvalidS3ObjectException < Aws::EmptyStructure
|
470
|
+
end
|
471
|
+
|
472
|
+
class LendingDetection
|
473
|
+
attr_accessor text: ::String
|
474
|
+
attr_accessor selection_status: ("SELECTED" | "NOT_SELECTED")
|
475
|
+
attr_accessor geometry: Types::Geometry
|
476
|
+
attr_accessor confidence: ::Float
|
477
|
+
SENSITIVE: []
|
478
|
+
end
|
479
|
+
|
480
|
+
class LendingDocument
|
481
|
+
attr_accessor lending_fields: ::Array[Types::LendingField]
|
482
|
+
attr_accessor signature_detections: ::Array[Types::SignatureDetection]
|
483
|
+
SENSITIVE: []
|
484
|
+
end
|
485
|
+
|
486
|
+
class LendingField
|
487
|
+
attr_accessor type: ::String
|
488
|
+
attr_accessor key_detection: Types::LendingDetection
|
489
|
+
attr_accessor value_detections: ::Array[Types::LendingDetection]
|
490
|
+
SENSITIVE: []
|
491
|
+
end
|
492
|
+
|
493
|
+
class LendingResult
|
494
|
+
attr_accessor page: ::Integer
|
495
|
+
attr_accessor page_classification: Types::PageClassification
|
496
|
+
attr_accessor extractions: ::Array[Types::Extraction]
|
497
|
+
SENSITIVE: []
|
498
|
+
end
|
499
|
+
|
500
|
+
class LendingSummary
|
501
|
+
attr_accessor document_groups: ::Array[Types::DocumentGroup]
|
502
|
+
attr_accessor undetected_document_types: ::Array[::String]
|
503
|
+
SENSITIVE: []
|
504
|
+
end
|
505
|
+
|
506
|
+
class LimitExceededException < Aws::EmptyStructure
|
507
|
+
end
|
508
|
+
|
509
|
+
class LineItemFields
|
510
|
+
attr_accessor line_item_expense_fields: ::Array[Types::ExpenseField]
|
511
|
+
SENSITIVE: []
|
512
|
+
end
|
513
|
+
|
514
|
+
class LineItemGroup
|
515
|
+
attr_accessor line_item_group_index: ::Integer
|
516
|
+
attr_accessor line_items: ::Array[Types::LineItemFields]
|
517
|
+
SENSITIVE: []
|
518
|
+
end
|
519
|
+
|
520
|
+
class ListAdapterVersionsRequest
|
521
|
+
attr_accessor adapter_id: ::String
|
522
|
+
attr_accessor after_creation_time: ::Time
|
523
|
+
attr_accessor before_creation_time: ::Time
|
524
|
+
attr_accessor max_results: ::Integer
|
525
|
+
attr_accessor next_token: ::String
|
526
|
+
SENSITIVE: []
|
527
|
+
end
|
528
|
+
|
529
|
+
class ListAdapterVersionsResponse
|
530
|
+
attr_accessor adapter_versions: ::Array[Types::AdapterVersionOverview]
|
531
|
+
attr_accessor next_token: ::String
|
532
|
+
SENSITIVE: []
|
533
|
+
end
|
534
|
+
|
535
|
+
class ListAdaptersRequest
|
536
|
+
attr_accessor after_creation_time: ::Time
|
537
|
+
attr_accessor before_creation_time: ::Time
|
538
|
+
attr_accessor max_results: ::Integer
|
539
|
+
attr_accessor next_token: ::String
|
540
|
+
SENSITIVE: []
|
541
|
+
end
|
542
|
+
|
543
|
+
class ListAdaptersResponse
|
544
|
+
attr_accessor adapters: ::Array[Types::AdapterOverview]
|
545
|
+
attr_accessor next_token: ::String
|
546
|
+
SENSITIVE: []
|
547
|
+
end
|
548
|
+
|
549
|
+
class ListTagsForResourceRequest
|
550
|
+
attr_accessor resource_arn: ::String
|
551
|
+
SENSITIVE: []
|
552
|
+
end
|
553
|
+
|
554
|
+
class ListTagsForResourceResponse
|
555
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
556
|
+
SENSITIVE: []
|
557
|
+
end
|
558
|
+
|
559
|
+
class NormalizedValue
|
560
|
+
attr_accessor value: ::String
|
561
|
+
attr_accessor value_type: ("DATE")
|
562
|
+
SENSITIVE: []
|
563
|
+
end
|
564
|
+
|
565
|
+
class NotificationChannel
|
566
|
+
attr_accessor sns_topic_arn: ::String
|
567
|
+
attr_accessor role_arn: ::String
|
568
|
+
SENSITIVE: []
|
569
|
+
end
|
570
|
+
|
571
|
+
class OutputConfig
|
572
|
+
attr_accessor s3_bucket: ::String
|
573
|
+
attr_accessor s3_prefix: ::String
|
574
|
+
SENSITIVE: []
|
575
|
+
end
|
576
|
+
|
577
|
+
class PageClassification
|
578
|
+
attr_accessor page_type: ::Array[Types::Prediction]
|
579
|
+
attr_accessor page_number: ::Array[Types::Prediction]
|
580
|
+
SENSITIVE: []
|
581
|
+
end
|
582
|
+
|
583
|
+
class Point
|
584
|
+
attr_accessor x: ::Float
|
585
|
+
attr_accessor y: ::Float
|
586
|
+
SENSITIVE: []
|
587
|
+
end
|
588
|
+
|
589
|
+
class Prediction
|
590
|
+
attr_accessor value: ::String
|
591
|
+
attr_accessor confidence: ::Float
|
592
|
+
SENSITIVE: []
|
593
|
+
end
|
594
|
+
|
595
|
+
class ProvisionedThroughputExceededException < Aws::EmptyStructure
|
596
|
+
end
|
597
|
+
|
598
|
+
class QueriesConfig
|
599
|
+
attr_accessor queries: ::Array[Types::Query]
|
600
|
+
SENSITIVE: []
|
601
|
+
end
|
602
|
+
|
603
|
+
class Query
|
604
|
+
attr_accessor text: ::String
|
605
|
+
attr_accessor alias: ::String
|
606
|
+
attr_accessor pages: ::Array[::String]
|
607
|
+
SENSITIVE: []
|
608
|
+
end
|
609
|
+
|
610
|
+
class Relationship
|
611
|
+
attr_accessor type: ("VALUE" | "CHILD" | "COMPLEX_FEATURES" | "MERGED_CELL" | "TITLE" | "ANSWER" | "TABLE" | "TABLE_TITLE" | "TABLE_FOOTER")
|
612
|
+
attr_accessor ids: ::Array[::String]
|
613
|
+
SENSITIVE: []
|
614
|
+
end
|
615
|
+
|
616
|
+
class ResourceNotFoundException < Aws::EmptyStructure
|
617
|
+
end
|
618
|
+
|
619
|
+
class S3Object
|
620
|
+
attr_accessor bucket: ::String
|
621
|
+
attr_accessor name: ::String
|
622
|
+
attr_accessor version: ::String
|
623
|
+
SENSITIVE: []
|
624
|
+
end
|
625
|
+
|
626
|
+
class ServiceQuotaExceededException < Aws::EmptyStructure
|
627
|
+
end
|
628
|
+
|
629
|
+
class SignatureDetection
|
630
|
+
attr_accessor confidence: ::Float
|
631
|
+
attr_accessor geometry: Types::Geometry
|
632
|
+
SENSITIVE: []
|
633
|
+
end
|
634
|
+
|
635
|
+
class SplitDocument
|
636
|
+
attr_accessor index: ::Integer
|
637
|
+
attr_accessor pages: ::Array[::Integer]
|
638
|
+
SENSITIVE: []
|
639
|
+
end
|
640
|
+
|
641
|
+
class StartDocumentAnalysisRequest
|
642
|
+
attr_accessor document_location: Types::DocumentLocation
|
643
|
+
attr_accessor feature_types: ::Array[("TABLES" | "FORMS" | "QUERIES" | "SIGNATURES" | "LAYOUT")]
|
644
|
+
attr_accessor client_request_token: ::String
|
645
|
+
attr_accessor job_tag: ::String
|
646
|
+
attr_accessor notification_channel: Types::NotificationChannel
|
647
|
+
attr_accessor output_config: Types::OutputConfig
|
648
|
+
attr_accessor kms_key_id: ::String
|
649
|
+
attr_accessor queries_config: Types::QueriesConfig
|
650
|
+
attr_accessor adapters_config: Types::AdaptersConfig
|
651
|
+
SENSITIVE: []
|
652
|
+
end
|
653
|
+
|
654
|
+
class StartDocumentAnalysisResponse
|
655
|
+
attr_accessor job_id: ::String
|
656
|
+
SENSITIVE: []
|
657
|
+
end
|
658
|
+
|
659
|
+
class StartDocumentTextDetectionRequest
|
660
|
+
attr_accessor document_location: Types::DocumentLocation
|
661
|
+
attr_accessor client_request_token: ::String
|
662
|
+
attr_accessor job_tag: ::String
|
663
|
+
attr_accessor notification_channel: Types::NotificationChannel
|
664
|
+
attr_accessor output_config: Types::OutputConfig
|
665
|
+
attr_accessor kms_key_id: ::String
|
666
|
+
SENSITIVE: []
|
667
|
+
end
|
668
|
+
|
669
|
+
class StartDocumentTextDetectionResponse
|
670
|
+
attr_accessor job_id: ::String
|
671
|
+
SENSITIVE: []
|
672
|
+
end
|
673
|
+
|
674
|
+
class StartExpenseAnalysisRequest
|
675
|
+
attr_accessor document_location: Types::DocumentLocation
|
676
|
+
attr_accessor client_request_token: ::String
|
677
|
+
attr_accessor job_tag: ::String
|
678
|
+
attr_accessor notification_channel: Types::NotificationChannel
|
679
|
+
attr_accessor output_config: Types::OutputConfig
|
680
|
+
attr_accessor kms_key_id: ::String
|
681
|
+
SENSITIVE: []
|
682
|
+
end
|
683
|
+
|
684
|
+
class StartExpenseAnalysisResponse
|
685
|
+
attr_accessor job_id: ::String
|
686
|
+
SENSITIVE: []
|
687
|
+
end
|
688
|
+
|
689
|
+
class StartLendingAnalysisRequest
|
690
|
+
attr_accessor document_location: Types::DocumentLocation
|
691
|
+
attr_accessor client_request_token: ::String
|
692
|
+
attr_accessor job_tag: ::String
|
693
|
+
attr_accessor notification_channel: Types::NotificationChannel
|
694
|
+
attr_accessor output_config: Types::OutputConfig
|
695
|
+
attr_accessor kms_key_id: ::String
|
696
|
+
SENSITIVE: []
|
697
|
+
end
|
698
|
+
|
699
|
+
class StartLendingAnalysisResponse
|
700
|
+
attr_accessor job_id: ::String
|
701
|
+
SENSITIVE: []
|
702
|
+
end
|
703
|
+
|
704
|
+
class TagResourceRequest
|
705
|
+
attr_accessor resource_arn: ::String
|
706
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
707
|
+
SENSITIVE: []
|
708
|
+
end
|
709
|
+
|
710
|
+
class TagResourceResponse < Aws::EmptyStructure
|
711
|
+
end
|
712
|
+
|
713
|
+
class ThrottlingException < Aws::EmptyStructure
|
714
|
+
end
|
715
|
+
|
716
|
+
class UndetectedSignature
|
717
|
+
attr_accessor page: ::Integer
|
718
|
+
SENSITIVE: []
|
719
|
+
end
|
720
|
+
|
721
|
+
class UnsupportedDocumentException < Aws::EmptyStructure
|
722
|
+
end
|
723
|
+
|
724
|
+
class UntagResourceRequest
|
725
|
+
attr_accessor resource_arn: ::String
|
726
|
+
attr_accessor tag_keys: ::Array[::String]
|
727
|
+
SENSITIVE: []
|
728
|
+
end
|
729
|
+
|
730
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
731
|
+
end
|
732
|
+
|
733
|
+
class UpdateAdapterRequest
|
734
|
+
attr_accessor adapter_id: ::String
|
735
|
+
attr_accessor description: ::String
|
736
|
+
attr_accessor adapter_name: ::String
|
737
|
+
attr_accessor auto_update: ("ENABLED" | "DISABLED")
|
738
|
+
SENSITIVE: []
|
739
|
+
end
|
740
|
+
|
741
|
+
class UpdateAdapterResponse
|
742
|
+
attr_accessor adapter_id: ::String
|
743
|
+
attr_accessor adapter_name: ::String
|
744
|
+
attr_accessor creation_time: ::Time
|
745
|
+
attr_accessor description: ::String
|
746
|
+
attr_accessor feature_types: ::Array[("TABLES" | "FORMS" | "QUERIES" | "SIGNATURES" | "LAYOUT")]
|
747
|
+
attr_accessor auto_update: ("ENABLED" | "DISABLED")
|
748
|
+
SENSITIVE: []
|
749
|
+
end
|
750
|
+
|
751
|
+
class ValidationException < Aws::EmptyStructure
|
752
|
+
end
|
753
|
+
|
754
|
+
class Warning
|
755
|
+
attr_accessor error_code: ::String
|
756
|
+
attr_accessor pages: ::Array[::Integer]
|
757
|
+
SENSITIVE: []
|
758
|
+
end
|
759
|
+
end
|
760
|
+
end
|