aws-sdk-textract 1.42.0 → 1.43.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 +445 -1
- data/lib/aws-sdk-textract/client_api.rb +200 -0
- data/lib/aws-sdk-textract/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-textract/endpoint_provider.rb +76 -76
- data/lib/aws-sdk-textract/endpoints.rb +42 -0
- data/lib/aws-sdk-textract/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-textract/types.rb +577 -7
- data/lib/aws-sdk-textract.rb +1 -1
- metadata +2 -2
@@ -31,7 +31,11 @@ module Aws::Textract
|
|
31
31
|
ContentClassifiers = Shapes::ListShape.new(name: 'ContentClassifiers')
|
32
32
|
DetectDocumentTextRequest = Shapes::StructureShape.new(name: 'DetectDocumentTextRequest')
|
33
33
|
DetectDocumentTextResponse = Shapes::StructureShape.new(name: 'DetectDocumentTextResponse')
|
34
|
+
DetectedSignature = Shapes::StructureShape.new(name: 'DetectedSignature')
|
35
|
+
DetectedSignatureList = Shapes::ListShape.new(name: 'DetectedSignatureList')
|
34
36
|
Document = Shapes::StructureShape.new(name: 'Document')
|
37
|
+
DocumentGroup = Shapes::StructureShape.new(name: 'DocumentGroup')
|
38
|
+
DocumentGroupList = Shapes::ListShape.new(name: 'DocumentGroupList')
|
35
39
|
DocumentLocation = Shapes::StructureShape.new(name: 'DocumentLocation')
|
36
40
|
DocumentMetadata = Shapes::StructureShape.new(name: 'DocumentMetadata')
|
37
41
|
DocumentPages = Shapes::ListShape.new(name: 'DocumentPages')
|
@@ -48,6 +52,8 @@ module Aws::Textract
|
|
48
52
|
ExpenseGroupProperty = Shapes::StructureShape.new(name: 'ExpenseGroupProperty')
|
49
53
|
ExpenseGroupPropertyList = Shapes::ListShape.new(name: 'ExpenseGroupPropertyList')
|
50
54
|
ExpenseType = Shapes::StructureShape.new(name: 'ExpenseType')
|
55
|
+
Extraction = Shapes::StructureShape.new(name: 'Extraction')
|
56
|
+
ExtractionList = Shapes::ListShape.new(name: 'ExtractionList')
|
51
57
|
FeatureType = Shapes::StringShape.new(name: 'FeatureType')
|
52
58
|
FeatureTypes = Shapes::ListShape.new(name: 'FeatureTypes')
|
53
59
|
Float = Shapes::FloatShape.new(name: 'Float')
|
@@ -59,6 +65,10 @@ module Aws::Textract
|
|
59
65
|
GetDocumentTextDetectionResponse = Shapes::StructureShape.new(name: 'GetDocumentTextDetectionResponse')
|
60
66
|
GetExpenseAnalysisRequest = Shapes::StructureShape.new(name: 'GetExpenseAnalysisRequest')
|
61
67
|
GetExpenseAnalysisResponse = Shapes::StructureShape.new(name: 'GetExpenseAnalysisResponse')
|
68
|
+
GetLendingAnalysisRequest = Shapes::StructureShape.new(name: 'GetLendingAnalysisRequest')
|
69
|
+
GetLendingAnalysisResponse = Shapes::StructureShape.new(name: 'GetLendingAnalysisResponse')
|
70
|
+
GetLendingAnalysisSummaryRequest = Shapes::StructureShape.new(name: 'GetLendingAnalysisSummaryRequest')
|
71
|
+
GetLendingAnalysisSummaryResponse = Shapes::StructureShape.new(name: 'GetLendingAnalysisSummaryResponse')
|
62
72
|
HumanLoopActivationConditionsEvaluationResults = Shapes::StringShape.new(name: 'HumanLoopActivationConditionsEvaluationResults')
|
63
73
|
HumanLoopActivationOutput = Shapes::StructureShape.new(name: 'HumanLoopActivationOutput')
|
64
74
|
HumanLoopActivationReason = Shapes::StringShape.new(name: 'HumanLoopActivationReason')
|
@@ -84,6 +94,14 @@ module Aws::Textract
|
|
84
94
|
JobStatus = Shapes::StringShape.new(name: 'JobStatus')
|
85
95
|
JobTag = Shapes::StringShape.new(name: 'JobTag')
|
86
96
|
KMSKeyId = Shapes::StringShape.new(name: 'KMSKeyId')
|
97
|
+
LendingDetection = Shapes::StructureShape.new(name: 'LendingDetection')
|
98
|
+
LendingDetectionList = Shapes::ListShape.new(name: 'LendingDetectionList')
|
99
|
+
LendingDocument = Shapes::StructureShape.new(name: 'LendingDocument')
|
100
|
+
LendingField = Shapes::StructureShape.new(name: 'LendingField')
|
101
|
+
LendingFieldList = Shapes::ListShape.new(name: 'LendingFieldList')
|
102
|
+
LendingResult = Shapes::StructureShape.new(name: 'LendingResult')
|
103
|
+
LendingResultList = Shapes::ListShape.new(name: 'LendingResultList')
|
104
|
+
LendingSummary = Shapes::StructureShape.new(name: 'LendingSummary')
|
87
105
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
88
106
|
LineItemFields = Shapes::StructureShape.new(name: 'LineItemFields')
|
89
107
|
LineItemGroup = Shapes::StructureShape.new(name: 'LineItemGroup')
|
@@ -94,11 +112,15 @@ module Aws::Textract
|
|
94
112
|
NormalizedValue = Shapes::StructureShape.new(name: 'NormalizedValue')
|
95
113
|
NotificationChannel = Shapes::StructureShape.new(name: 'NotificationChannel')
|
96
114
|
OutputConfig = Shapes::StructureShape.new(name: 'OutputConfig')
|
115
|
+
PageClassification = Shapes::StructureShape.new(name: 'PageClassification')
|
116
|
+
PageList = Shapes::ListShape.new(name: 'PageList')
|
97
117
|
Pages = Shapes::ListShape.new(name: 'Pages')
|
98
118
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
99
119
|
Percent = Shapes::FloatShape.new(name: 'Percent')
|
100
120
|
Point = Shapes::StructureShape.new(name: 'Point')
|
101
121
|
Polygon = Shapes::ListShape.new(name: 'Polygon')
|
122
|
+
Prediction = Shapes::StructureShape.new(name: 'Prediction')
|
123
|
+
PredictionList = Shapes::ListShape.new(name: 'PredictionList')
|
102
124
|
ProvisionedThroughputExceededException = Shapes::StructureShape.new(name: 'ProvisionedThroughputExceededException')
|
103
125
|
Queries = Shapes::ListShape.new(name: 'Queries')
|
104
126
|
QueriesConfig = Shapes::StructureShape.new(name: 'QueriesConfig')
|
@@ -116,18 +138,27 @@ module Aws::Textract
|
|
116
138
|
S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
|
117
139
|
SNSTopicArn = Shapes::StringShape.new(name: 'SNSTopicArn')
|
118
140
|
SelectionStatus = Shapes::StringShape.new(name: 'SelectionStatus')
|
141
|
+
SignatureDetection = Shapes::StructureShape.new(name: 'SignatureDetection')
|
142
|
+
SignatureDetectionList = Shapes::ListShape.new(name: 'SignatureDetectionList')
|
143
|
+
SplitDocument = Shapes::StructureShape.new(name: 'SplitDocument')
|
144
|
+
SplitDocumentList = Shapes::ListShape.new(name: 'SplitDocumentList')
|
119
145
|
StartDocumentAnalysisRequest = Shapes::StructureShape.new(name: 'StartDocumentAnalysisRequest')
|
120
146
|
StartDocumentAnalysisResponse = Shapes::StructureShape.new(name: 'StartDocumentAnalysisResponse')
|
121
147
|
StartDocumentTextDetectionRequest = Shapes::StructureShape.new(name: 'StartDocumentTextDetectionRequest')
|
122
148
|
StartDocumentTextDetectionResponse = Shapes::StructureShape.new(name: 'StartDocumentTextDetectionResponse')
|
123
149
|
StartExpenseAnalysisRequest = Shapes::StructureShape.new(name: 'StartExpenseAnalysisRequest')
|
124
150
|
StartExpenseAnalysisResponse = Shapes::StructureShape.new(name: 'StartExpenseAnalysisResponse')
|
151
|
+
StartLendingAnalysisRequest = Shapes::StructureShape.new(name: 'StartLendingAnalysisRequest')
|
152
|
+
StartLendingAnalysisResponse = Shapes::StructureShape.new(name: 'StartLendingAnalysisResponse')
|
125
153
|
StatusMessage = Shapes::StringShape.new(name: 'StatusMessage')
|
126
154
|
String = Shapes::StringShape.new(name: 'String')
|
127
155
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
128
156
|
TextType = Shapes::StringShape.new(name: 'TextType')
|
129
157
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
130
158
|
UInteger = Shapes::IntegerShape.new(name: 'UInteger')
|
159
|
+
UndetectedDocumentTypeList = Shapes::ListShape.new(name: 'UndetectedDocumentTypeList')
|
160
|
+
UndetectedSignature = Shapes::StructureShape.new(name: 'UndetectedSignature')
|
161
|
+
UndetectedSignatureList = Shapes::ListShape.new(name: 'UndetectedSignatureList')
|
131
162
|
UnsupportedDocumentException = Shapes::StructureShape.new(name: 'UnsupportedDocumentException')
|
132
163
|
ValueType = Shapes::StringShape.new(name: 'ValueType')
|
133
164
|
Warning = Shapes::StructureShape.new(name: 'Warning')
|
@@ -204,10 +235,23 @@ module Aws::Textract
|
|
204
235
|
DetectDocumentTextResponse.add_member(:detect_document_text_model_version, Shapes::ShapeRef.new(shape: String, location_name: "DetectDocumentTextModelVersion"))
|
205
236
|
DetectDocumentTextResponse.struct_class = Types::DetectDocumentTextResponse
|
206
237
|
|
238
|
+
DetectedSignature.add_member(:page, Shapes::ShapeRef.new(shape: UInteger, location_name: "Page"))
|
239
|
+
DetectedSignature.struct_class = Types::DetectedSignature
|
240
|
+
|
241
|
+
DetectedSignatureList.member = Shapes::ShapeRef.new(shape: DetectedSignature)
|
242
|
+
|
207
243
|
Document.add_member(:bytes, Shapes::ShapeRef.new(shape: ImageBlob, location_name: "Bytes"))
|
208
244
|
Document.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, location_name: "S3Object"))
|
209
245
|
Document.struct_class = Types::Document
|
210
246
|
|
247
|
+
DocumentGroup.add_member(:type, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Type"))
|
248
|
+
DocumentGroup.add_member(:split_documents, Shapes::ShapeRef.new(shape: SplitDocumentList, location_name: "SplitDocuments"))
|
249
|
+
DocumentGroup.add_member(:detected_signatures, Shapes::ShapeRef.new(shape: DetectedSignatureList, location_name: "DetectedSignatures"))
|
250
|
+
DocumentGroup.add_member(:undetected_signatures, Shapes::ShapeRef.new(shape: UndetectedSignatureList, location_name: "UndetectedSignatures"))
|
251
|
+
DocumentGroup.struct_class = Types::DocumentGroup
|
252
|
+
|
253
|
+
DocumentGroupList.member = Shapes::ShapeRef.new(shape: DocumentGroup)
|
254
|
+
|
211
255
|
DocumentLocation.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, location_name: "S3Object"))
|
212
256
|
DocumentLocation.struct_class = Types::DocumentLocation
|
213
257
|
|
@@ -257,6 +301,13 @@ module Aws::Textract
|
|
257
301
|
ExpenseType.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
258
302
|
ExpenseType.struct_class = Types::ExpenseType
|
259
303
|
|
304
|
+
Extraction.add_member(:lending_document, Shapes::ShapeRef.new(shape: LendingDocument, location_name: "LendingDocument"))
|
305
|
+
Extraction.add_member(:expense_document, Shapes::ShapeRef.new(shape: ExpenseDocument, location_name: "ExpenseDocument"))
|
306
|
+
Extraction.add_member(:identity_document, Shapes::ShapeRef.new(shape: IdentityDocument, location_name: "IdentityDocument"))
|
307
|
+
Extraction.struct_class = Types::Extraction
|
308
|
+
|
309
|
+
ExtractionList.member = Shapes::ShapeRef.new(shape: Extraction)
|
310
|
+
|
260
311
|
FeatureTypes.member = Shapes::ShapeRef.new(shape: FeatureType)
|
261
312
|
|
262
313
|
Geometry.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
|
@@ -305,6 +356,31 @@ module Aws::Textract
|
|
305
356
|
GetExpenseAnalysisResponse.add_member(:analyze_expense_model_version, Shapes::ShapeRef.new(shape: String, location_name: "AnalyzeExpenseModelVersion"))
|
306
357
|
GetExpenseAnalysisResponse.struct_class = Types::GetExpenseAnalysisResponse
|
307
358
|
|
359
|
+
GetLendingAnalysisRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
360
|
+
GetLendingAnalysisRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
361
|
+
GetLendingAnalysisRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
362
|
+
GetLendingAnalysisRequest.struct_class = Types::GetLendingAnalysisRequest
|
363
|
+
|
364
|
+
GetLendingAnalysisResponse.add_member(:document_metadata, Shapes::ShapeRef.new(shape: DocumentMetadata, location_name: "DocumentMetadata"))
|
365
|
+
GetLendingAnalysisResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
366
|
+
GetLendingAnalysisResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
367
|
+
GetLendingAnalysisResponse.add_member(:results, Shapes::ShapeRef.new(shape: LendingResultList, location_name: "Results"))
|
368
|
+
GetLendingAnalysisResponse.add_member(:warnings, Shapes::ShapeRef.new(shape: Warnings, location_name: "Warnings"))
|
369
|
+
GetLendingAnalysisResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage"))
|
370
|
+
GetLendingAnalysisResponse.add_member(:analyze_lending_model_version, Shapes::ShapeRef.new(shape: String, location_name: "AnalyzeLendingModelVersion"))
|
371
|
+
GetLendingAnalysisResponse.struct_class = Types::GetLendingAnalysisResponse
|
372
|
+
|
373
|
+
GetLendingAnalysisSummaryRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
374
|
+
GetLendingAnalysisSummaryRequest.struct_class = Types::GetLendingAnalysisSummaryRequest
|
375
|
+
|
376
|
+
GetLendingAnalysisSummaryResponse.add_member(:document_metadata, Shapes::ShapeRef.new(shape: DocumentMetadata, location_name: "DocumentMetadata"))
|
377
|
+
GetLendingAnalysisSummaryResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
378
|
+
GetLendingAnalysisSummaryResponse.add_member(:summary, Shapes::ShapeRef.new(shape: LendingSummary, location_name: "Summary"))
|
379
|
+
GetLendingAnalysisSummaryResponse.add_member(:warnings, Shapes::ShapeRef.new(shape: Warnings, location_name: "Warnings"))
|
380
|
+
GetLendingAnalysisSummaryResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage"))
|
381
|
+
GetLendingAnalysisSummaryResponse.add_member(:analyze_lending_model_version, Shapes::ShapeRef.new(shape: String, location_name: "AnalyzeLendingModelVersion"))
|
382
|
+
GetLendingAnalysisSummaryResponse.struct_class = Types::GetLendingAnalysisSummaryResponse
|
383
|
+
|
308
384
|
HumanLoopActivationOutput.add_member(:human_loop_arn, Shapes::ShapeRef.new(shape: HumanLoopArn, location_name: "HumanLoopArn"))
|
309
385
|
HumanLoopActivationOutput.add_member(:human_loop_activation_reasons, Shapes::ShapeRef.new(shape: HumanLoopActivationReasons, location_name: "HumanLoopActivationReasons"))
|
310
386
|
HumanLoopActivationOutput.add_member(:human_loop_activation_conditions_evaluation_results, Shapes::ShapeRef.new(shape: HumanLoopActivationConditionsEvaluationResults, location_name: "HumanLoopActivationConditionsEvaluationResults", metadata: {"jsonvalue"=>true}))
|
@@ -352,6 +428,36 @@ module Aws::Textract
|
|
352
428
|
|
353
429
|
InvalidS3ObjectException.struct_class = Types::InvalidS3ObjectException
|
354
430
|
|
431
|
+
LendingDetection.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "Text"))
|
432
|
+
LendingDetection.add_member(:selection_status, Shapes::ShapeRef.new(shape: SelectionStatus, location_name: "SelectionStatus"))
|
433
|
+
LendingDetection.add_member(:geometry, Shapes::ShapeRef.new(shape: Geometry, location_name: "Geometry"))
|
434
|
+
LendingDetection.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
435
|
+
LendingDetection.struct_class = Types::LendingDetection
|
436
|
+
|
437
|
+
LendingDetectionList.member = Shapes::ShapeRef.new(shape: LendingDetection)
|
438
|
+
|
439
|
+
LendingDocument.add_member(:lending_fields, Shapes::ShapeRef.new(shape: LendingFieldList, location_name: "LendingFields"))
|
440
|
+
LendingDocument.add_member(:signature_detections, Shapes::ShapeRef.new(shape: SignatureDetectionList, location_name: "SignatureDetections"))
|
441
|
+
LendingDocument.struct_class = Types::LendingDocument
|
442
|
+
|
443
|
+
LendingField.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
444
|
+
LendingField.add_member(:key_detection, Shapes::ShapeRef.new(shape: LendingDetection, location_name: "KeyDetection"))
|
445
|
+
LendingField.add_member(:value_detections, Shapes::ShapeRef.new(shape: LendingDetectionList, location_name: "ValueDetections"))
|
446
|
+
LendingField.struct_class = Types::LendingField
|
447
|
+
|
448
|
+
LendingFieldList.member = Shapes::ShapeRef.new(shape: LendingField)
|
449
|
+
|
450
|
+
LendingResult.add_member(:page, Shapes::ShapeRef.new(shape: UInteger, location_name: "Page"))
|
451
|
+
LendingResult.add_member(:page_classification, Shapes::ShapeRef.new(shape: PageClassification, location_name: "PageClassification"))
|
452
|
+
LendingResult.add_member(:extractions, Shapes::ShapeRef.new(shape: ExtractionList, location_name: "Extractions"))
|
453
|
+
LendingResult.struct_class = Types::LendingResult
|
454
|
+
|
455
|
+
LendingResultList.member = Shapes::ShapeRef.new(shape: LendingResult)
|
456
|
+
|
457
|
+
LendingSummary.add_member(:document_groups, Shapes::ShapeRef.new(shape: DocumentGroupList, location_name: "DocumentGroups"))
|
458
|
+
LendingSummary.add_member(:undetected_document_types, Shapes::ShapeRef.new(shape: UndetectedDocumentTypeList, location_name: "UndetectedDocumentTypes"))
|
459
|
+
LendingSummary.struct_class = Types::LendingSummary
|
460
|
+
|
355
461
|
LimitExceededException.struct_class = Types::LimitExceededException
|
356
462
|
|
357
463
|
LineItemFields.add_member(:line_item_expense_fields, Shapes::ShapeRef.new(shape: ExpenseFieldList, location_name: "LineItemExpenseFields"))
|
@@ -377,6 +483,12 @@ module Aws::Textract
|
|
377
483
|
OutputConfig.add_member(:s3_prefix, Shapes::ShapeRef.new(shape: S3ObjectName, location_name: "S3Prefix"))
|
378
484
|
OutputConfig.struct_class = Types::OutputConfig
|
379
485
|
|
486
|
+
PageClassification.add_member(:page_type, Shapes::ShapeRef.new(shape: PredictionList, required: true, location_name: "PageType"))
|
487
|
+
PageClassification.add_member(:page_number, Shapes::ShapeRef.new(shape: PredictionList, required: true, location_name: "PageNumber"))
|
488
|
+
PageClassification.struct_class = Types::PageClassification
|
489
|
+
|
490
|
+
PageList.member = Shapes::ShapeRef.new(shape: UInteger)
|
491
|
+
|
380
492
|
Pages.member = Shapes::ShapeRef.new(shape: UInteger)
|
381
493
|
|
382
494
|
Point.add_member(:x, Shapes::ShapeRef.new(shape: Float, location_name: "X"))
|
@@ -385,6 +497,12 @@ module Aws::Textract
|
|
385
497
|
|
386
498
|
Polygon.member = Shapes::ShapeRef.new(shape: Point)
|
387
499
|
|
500
|
+
Prediction.add_member(:value, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Value"))
|
501
|
+
Prediction.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
502
|
+
Prediction.struct_class = Types::Prediction
|
503
|
+
|
504
|
+
PredictionList.member = Shapes::ShapeRef.new(shape: Prediction)
|
505
|
+
|
388
506
|
ProvisionedThroughputExceededException.struct_class = Types::ProvisionedThroughputExceededException
|
389
507
|
|
390
508
|
Queries.member = Shapes::ShapeRef.new(shape: Query)
|
@@ -410,6 +528,18 @@ module Aws::Textract
|
|
410
528
|
S3Object.add_member(:version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "Version"))
|
411
529
|
S3Object.struct_class = Types::S3Object
|
412
530
|
|
531
|
+
SignatureDetection.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
532
|
+
SignatureDetection.add_member(:geometry, Shapes::ShapeRef.new(shape: Geometry, location_name: "Geometry"))
|
533
|
+
SignatureDetection.struct_class = Types::SignatureDetection
|
534
|
+
|
535
|
+
SignatureDetectionList.member = Shapes::ShapeRef.new(shape: SignatureDetection)
|
536
|
+
|
537
|
+
SplitDocument.add_member(:index, Shapes::ShapeRef.new(shape: UInteger, location_name: "Index"))
|
538
|
+
SplitDocument.add_member(:pages, Shapes::ShapeRef.new(shape: PageList, location_name: "Pages"))
|
539
|
+
SplitDocument.struct_class = Types::SplitDocument
|
540
|
+
|
541
|
+
SplitDocumentList.member = Shapes::ShapeRef.new(shape: SplitDocument)
|
542
|
+
|
413
543
|
StartDocumentAnalysisRequest.add_member(:document_location, Shapes::ShapeRef.new(shape: DocumentLocation, required: true, location_name: "DocumentLocation"))
|
414
544
|
StartDocumentAnalysisRequest.add_member(:feature_types, Shapes::ShapeRef.new(shape: FeatureTypes, required: true, location_name: "FeatureTypes"))
|
415
545
|
StartDocumentAnalysisRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
@@ -445,10 +575,28 @@ module Aws::Textract
|
|
445
575
|
StartExpenseAnalysisResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
446
576
|
StartExpenseAnalysisResponse.struct_class = Types::StartExpenseAnalysisResponse
|
447
577
|
|
578
|
+
StartLendingAnalysisRequest.add_member(:document_location, Shapes::ShapeRef.new(shape: DocumentLocation, required: true, location_name: "DocumentLocation"))
|
579
|
+
StartLendingAnalysisRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
580
|
+
StartLendingAnalysisRequest.add_member(:job_tag, Shapes::ShapeRef.new(shape: JobTag, location_name: "JobTag"))
|
581
|
+
StartLendingAnalysisRequest.add_member(:notification_channel, Shapes::ShapeRef.new(shape: NotificationChannel, location_name: "NotificationChannel"))
|
582
|
+
StartLendingAnalysisRequest.add_member(:output_config, Shapes::ShapeRef.new(shape: OutputConfig, location_name: "OutputConfig"))
|
583
|
+
StartLendingAnalysisRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "KMSKeyId"))
|
584
|
+
StartLendingAnalysisRequest.struct_class = Types::StartLendingAnalysisRequest
|
585
|
+
|
586
|
+
StartLendingAnalysisResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
587
|
+
StartLendingAnalysisResponse.struct_class = Types::StartLendingAnalysisResponse
|
588
|
+
|
448
589
|
StringList.member = Shapes::ShapeRef.new(shape: String)
|
449
590
|
|
450
591
|
ThrottlingException.struct_class = Types::ThrottlingException
|
451
592
|
|
593
|
+
UndetectedDocumentTypeList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
594
|
+
|
595
|
+
UndetectedSignature.add_member(:page, Shapes::ShapeRef.new(shape: UInteger, location_name: "Page"))
|
596
|
+
UndetectedSignature.struct_class = Types::UndetectedSignature
|
597
|
+
|
598
|
+
UndetectedSignatureList.member = Shapes::ShapeRef.new(shape: UndetectedSignature)
|
599
|
+
|
452
600
|
UnsupportedDocumentException.struct_class = Types::UnsupportedDocumentException
|
453
601
|
|
454
602
|
Warning.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
@@ -592,6 +740,38 @@ module Aws::Textract
|
|
592
740
|
o.errors << Shapes::ShapeRef.new(shape: InvalidKMSKeyException)
|
593
741
|
end)
|
594
742
|
|
743
|
+
api.add_operation(:get_lending_analysis, Seahorse::Model::Operation.new.tap do |o|
|
744
|
+
o.name = "GetLendingAnalysis"
|
745
|
+
o.http_method = "POST"
|
746
|
+
o.http_request_uri = "/"
|
747
|
+
o.input = Shapes::ShapeRef.new(shape: GetLendingAnalysisRequest)
|
748
|
+
o.output = Shapes::ShapeRef.new(shape: GetLendingAnalysisResponse)
|
749
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
750
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
751
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
752
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidJobIdException)
|
753
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
754
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
755
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
|
756
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKMSKeyException)
|
757
|
+
end)
|
758
|
+
|
759
|
+
api.add_operation(:get_lending_analysis_summary, Seahorse::Model::Operation.new.tap do |o|
|
760
|
+
o.name = "GetLendingAnalysisSummary"
|
761
|
+
o.http_method = "POST"
|
762
|
+
o.http_request_uri = "/"
|
763
|
+
o.input = Shapes::ShapeRef.new(shape: GetLendingAnalysisSummaryRequest)
|
764
|
+
o.output = Shapes::ShapeRef.new(shape: GetLendingAnalysisSummaryResponse)
|
765
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
766
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
767
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
768
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidJobIdException)
|
769
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
770
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
771
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
|
772
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKMSKeyException)
|
773
|
+
end)
|
774
|
+
|
595
775
|
api.add_operation(:start_document_analysis, Seahorse::Model::Operation.new.tap do |o|
|
596
776
|
o.name = "StartDocumentAnalysis"
|
597
777
|
o.http_method = "POST"
|
@@ -651,6 +831,26 @@ module Aws::Textract
|
|
651
831
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
652
832
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
653
833
|
end)
|
834
|
+
|
835
|
+
api.add_operation(:start_lending_analysis, Seahorse::Model::Operation.new.tap do |o|
|
836
|
+
o.name = "StartLendingAnalysis"
|
837
|
+
o.http_method = "POST"
|
838
|
+
o.http_request_uri = "/"
|
839
|
+
o.input = Shapes::ShapeRef.new(shape: StartLendingAnalysisRequest)
|
840
|
+
o.output = Shapes::ShapeRef.new(shape: StartLendingAnalysisResponse)
|
841
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
842
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
|
843
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKMSKeyException)
|
844
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedDocumentException)
|
845
|
+
o.errors << Shapes::ShapeRef.new(shape: DocumentTooLargeException)
|
846
|
+
o.errors << Shapes::ShapeRef.new(shape: BadDocumentException)
|
847
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
848
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
849
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
850
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
|
851
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
852
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
853
|
+
end)
|
654
854
|
end
|
655
855
|
|
656
856
|
end
|
@@ -50,6 +50,9 @@ module Aws::Textract
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -29,82 +29,82 @@ module Aws::Textract
|
|
29
29
|
# @api private
|
30
30
|
RULES = <<-JSON
|
31
31
|
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58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1YWxTdGFj
|
103
|
+
ayBpcyBlbmFibGVkIGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBw
|
104
|
+
b3J0IER1YWxTdGFjayIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25z
|
105
|
+
IjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly90ZXh0cmFjdC57UmVn
|
106
|
+
aW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVz
|
107
|
+
Ijp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
|
108
108
|
|
109
109
|
JSON
|
110
110
|
end
|
@@ -109,6 +109,34 @@ module Aws::Textract
|
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
112
|
+
class GetLendingAnalysis
|
113
|
+
def self.build(context)
|
114
|
+
unless context.config.regional_endpoint
|
115
|
+
endpoint = context.config.endpoint.to_s
|
116
|
+
end
|
117
|
+
Aws::Textract::EndpointParameters.new(
|
118
|
+
region: context.config.region,
|
119
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
120
|
+
use_fips: context.config.use_fips_endpoint,
|
121
|
+
endpoint: endpoint,
|
122
|
+
)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
class GetLendingAnalysisSummary
|
127
|
+
def self.build(context)
|
128
|
+
unless context.config.regional_endpoint
|
129
|
+
endpoint = context.config.endpoint.to_s
|
130
|
+
end
|
131
|
+
Aws::Textract::EndpointParameters.new(
|
132
|
+
region: context.config.region,
|
133
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
134
|
+
use_fips: context.config.use_fips_endpoint,
|
135
|
+
endpoint: endpoint,
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
112
140
|
class StartDocumentAnalysis
|
113
141
|
def self.build(context)
|
114
142
|
unless context.config.regional_endpoint
|
@@ -151,5 +179,19 @@ module Aws::Textract
|
|
151
179
|
end
|
152
180
|
end
|
153
181
|
|
182
|
+
class StartLendingAnalysis
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::Textract::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
154
196
|
end
|
155
197
|
end
|
@@ -70,12 +70,18 @@ module Aws::Textract
|
|
70
70
|
Aws::Textract::Endpoints::GetDocumentTextDetection.build(context)
|
71
71
|
when :get_expense_analysis
|
72
72
|
Aws::Textract::Endpoints::GetExpenseAnalysis.build(context)
|
73
|
+
when :get_lending_analysis
|
74
|
+
Aws::Textract::Endpoints::GetLendingAnalysis.build(context)
|
75
|
+
when :get_lending_analysis_summary
|
76
|
+
Aws::Textract::Endpoints::GetLendingAnalysisSummary.build(context)
|
73
77
|
when :start_document_analysis
|
74
78
|
Aws::Textract::Endpoints::StartDocumentAnalysis.build(context)
|
75
79
|
when :start_document_text_detection
|
76
80
|
Aws::Textract::Endpoints::StartDocumentTextDetection.build(context)
|
77
81
|
when :start_expense_analysis
|
78
82
|
Aws::Textract::Endpoints::StartExpenseAnalysis.build(context)
|
83
|
+
when :start_lending_analysis
|
84
|
+
Aws::Textract::Endpoints::StartLendingAnalysis.build(context)
|
79
85
|
end
|
80
86
|
end
|
81
87
|
end
|