aws-sdk-textract 1.109.0 → 1.110.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.
data/sig/types.rbs CHANGED
@@ -122,6 +122,28 @@ module Aws::Textract
122
122
  SENSITIVE: []
123
123
  end
124
124
 
125
+ class BlueprintFilter
126
+ attr_accessor blueprint_arn: ::String
127
+ attr_accessor blueprint_version: ::String
128
+ SENSITIVE: []
129
+ end
130
+
131
+ class BlueprintItem
132
+ attr_accessor blueprint_arn: ::String
133
+ attr_accessor blueprint_version: ::String
134
+ SENSITIVE: []
135
+ end
136
+
137
+ class BlueprintSummary
138
+ attr_accessor blueprint_arn: ::String
139
+ attr_accessor blueprint_name: ::String
140
+ attr_accessor blueprint_version: ::String
141
+ attr_accessor resource_owner: ("ACCOUNT" | "SERVICE")
142
+ attr_accessor creation_time: ::Time
143
+ attr_accessor last_modified_time: ::Time
144
+ SENSITIVE: []
145
+ end
146
+
125
147
  class BoundingBox
126
148
  attr_accessor width: ::Float
127
149
  attr_accessor height: ::Float
@@ -130,6 +152,11 @@ module Aws::Textract
130
152
  SENSITIVE: []
131
153
  end
132
154
 
155
+ class BoundingBoxConfiguration
156
+ attr_accessor state: ("ENABLED" | "DISABLED")
157
+ SENSITIVE: []
158
+ end
159
+
133
160
  class ConflictException < Aws::EmptyStructure
134
161
  end
135
162
 
@@ -164,6 +191,58 @@ module Aws::Textract
164
191
  SENSITIVE: []
165
192
  end
166
193
 
194
+ class CreateBlueprintRequest
195
+ attr_accessor client_request_token: ::String
196
+ attr_accessor blueprint_name: ::String
197
+ attr_accessor schema: ::String
198
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
199
+ attr_accessor tags: ::Hash[::String, ::String]
200
+ SENSITIVE: []
201
+ end
202
+
203
+ class CreateBlueprintResponse
204
+ attr_accessor blueprint_arn: ::String
205
+ SENSITIVE: []
206
+ end
207
+
208
+ class CreateBlueprintVersionRequest
209
+ attr_accessor blueprint_arn: ::String
210
+ attr_accessor client_request_token: ::String
211
+ SENSITIVE: []
212
+ end
213
+
214
+ class CreateBlueprintVersionResponse
215
+ attr_accessor blueprint_arn: ::String
216
+ attr_accessor blueprint_version: ::String
217
+ SENSITIVE: []
218
+ end
219
+
220
+ class CreateProjectRequest
221
+ attr_accessor client_request_token: ::String
222
+ attr_accessor project_name: ::String
223
+ attr_accessor project_description: ::String
224
+ attr_accessor extraction_configuration: Types::ExtractionConfiguration
225
+ attr_accessor generative_configuration: Types::GenerativeConfiguration
226
+ attr_accessor custom_configuration: Types::CustomConfiguration
227
+ attr_accessor splitter_configuration: Types::SplitterConfiguration
228
+ attr_accessor sensitive_data_configuration: Types::SensitiveDataConfiguration
229
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
230
+ attr_accessor tags: ::Hash[::String, ::String]
231
+ SENSITIVE: []
232
+ end
233
+
234
+ class CreateProjectResponse
235
+ attr_accessor project_arn: ::String
236
+ attr_accessor status: ("COMPLETED" | "FAILED")
237
+ SENSITIVE: []
238
+ end
239
+
240
+ class CustomConfiguration
241
+ attr_accessor blueprints: ::Array[Types::BlueprintItem]
242
+ attr_accessor fallback_blueprints: ::Array[Types::BlueprintItem]
243
+ SENSITIVE: []
244
+ end
245
+
167
246
  class DeleteAdapterRequest
168
247
  attr_accessor adapter_id: ::String
169
248
  SENSITIVE: []
@@ -181,6 +260,23 @@ module Aws::Textract
181
260
  class DeleteAdapterVersionResponse < Aws::EmptyStructure
182
261
  end
183
262
 
263
+ class DeleteBlueprintRequest
264
+ attr_accessor blueprint_arn: ::String
265
+ attr_accessor blueprint_version: ::String
266
+ SENSITIVE: []
267
+ end
268
+
269
+ class DeleteBlueprintResponse < Aws::EmptyStructure
270
+ end
271
+
272
+ class DeleteProjectRequest
273
+ attr_accessor project_arn: ::String
274
+ SENSITIVE: []
275
+ end
276
+
277
+ class DeleteProjectResponse < Aws::EmptyStructure
278
+ end
279
+
184
280
  class DetectDocumentTextRequest
185
281
  attr_accessor document: Types::Document
186
282
  SENSITIVE: []
@@ -225,6 +321,12 @@ module Aws::Textract
225
321
  class DocumentTooLargeException < Aws::EmptyStructure
226
322
  end
227
323
 
324
+ class EncryptionConfiguration
325
+ attr_accessor kms_key_id: ::String
326
+ attr_accessor kms_encryption_context: ::Hash[::String, ::String]
327
+ SENSITIVE: []
328
+ end
329
+
228
330
  class EvaluationMetric
229
331
  attr_accessor f1_score: ::Float
230
332
  attr_accessor precision: ::Float
@@ -232,6 +334,11 @@ module Aws::Textract
232
334
  SENSITIVE: []
233
335
  end
234
336
 
337
+ class EventBridgeConfiguration
338
+ attr_accessor state: ("ENABLED" | "DISABLED")
339
+ SENSITIVE: []
340
+ end
341
+
235
342
  class ExpenseCurrency
236
343
  attr_accessor code: ::String
237
344
  attr_accessor confidence: ::Float
@@ -282,6 +389,29 @@ module Aws::Textract
282
389
  SENSITIVE: []
283
390
  end
284
391
 
392
+ class ExtractionConfiguration
393
+ attr_accessor bounding_box: Types::BoundingBoxConfiguration
394
+ attr_accessor granularity: Types::ExtractionGranularity
395
+ attr_accessor output_format: Types::OutputFormat
396
+ SENSITIVE: []
397
+ end
398
+
399
+ class ExtractionGranularity
400
+ attr_accessor types: ::Array[("DOCUMENT" | "PAGE" | "ELEMENT" | "WORD" | "LINE")]
401
+ SENSITIVE: []
402
+ end
403
+
404
+ class FigureCaptionConfiguration
405
+ attr_accessor state: ("ENABLED" | "DISABLED")
406
+ SENSITIVE: []
407
+ end
408
+
409
+ class GenerativeConfiguration
410
+ attr_accessor summarization: Types::SummarizationConfiguration
411
+ attr_accessor figure_caption: Types::FigureCaptionConfiguration
412
+ SENSITIVE: []
413
+ end
414
+
285
415
  class Geometry
286
416
  attr_accessor bounding_box: Types::BoundingBox
287
417
  attr_accessor polygon: ::Array[Types::Point]
@@ -326,6 +456,24 @@ module Aws::Textract
326
456
  SENSITIVE: []
327
457
  end
328
458
 
459
+ class GetBlueprintRequest
460
+ attr_accessor blueprint_arn: ::String
461
+ attr_accessor blueprint_version: ::String
462
+ SENSITIVE: []
463
+ end
464
+
465
+ class GetBlueprintResponse
466
+ attr_accessor blueprint_arn: ::String
467
+ attr_accessor blueprint_name: ::String
468
+ attr_accessor blueprint_version: ::String
469
+ attr_accessor schema: ::String
470
+ attr_accessor kms_key_id: ::String
471
+ attr_accessor kms_encryption_context: ::Hash[::String, ::String]
472
+ attr_accessor creation_time: ::Time
473
+ attr_accessor last_modified_time: ::Time
474
+ SENSITIVE: []
475
+ end
476
+
329
477
  class GetDocumentAnalysisRequest
330
478
  attr_accessor job_id: ::String
331
479
  attr_accessor max_results: ::Integer
@@ -344,6 +492,19 @@ module Aws::Textract
344
492
  SENSITIVE: []
345
493
  end
346
494
 
495
+ class GetDocumentInsightsRequest
496
+ attr_accessor job_arn: ::String
497
+ SENSITIVE: []
498
+ end
499
+
500
+ class GetDocumentInsightsResponse
501
+ attr_accessor status: ("IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "PARTIAL_SUCCESS")
502
+ attr_accessor output_configuration: Types::OutputConfiguration
503
+ attr_accessor error_type: ::String
504
+ attr_accessor error_message: ::String
505
+ SENSITIVE: []
506
+ end
507
+
347
508
  class GetDocumentTextDetectionRequest
348
509
  attr_accessor job_id: ::String
349
510
  attr_accessor max_results: ::Integer
@@ -413,6 +574,27 @@ module Aws::Textract
413
574
  SENSITIVE: []
414
575
  end
415
576
 
577
+ class GetProjectRequest
578
+ attr_accessor project_arn: ::String
579
+ SENSITIVE: []
580
+ end
581
+
582
+ class GetProjectResponse
583
+ attr_accessor project_arn: ::String
584
+ attr_accessor project_name: ::String
585
+ attr_accessor project_description: ::String
586
+ attr_accessor status: ("COMPLETED" | "FAILED")
587
+ attr_accessor extraction_configuration: Types::ExtractionConfiguration
588
+ attr_accessor generative_configuration: Types::GenerativeConfiguration
589
+ attr_accessor custom_configuration: Types::CustomConfiguration
590
+ attr_accessor splitter_configuration: Types::SplitterConfiguration
591
+ attr_accessor sensitive_data_configuration: Types::SensitiveDataConfiguration
592
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
593
+ attr_accessor creation_time: ::Time
594
+ attr_accessor last_modified_time: ::Time
595
+ SENSITIVE: []
596
+ end
597
+
416
598
  class HumanLoopActivationOutput
417
599
  attr_accessor human_loop_arn: ::String
418
600
  attr_accessor human_loop_activation_reasons: ::Array[::String]
@@ -455,6 +637,11 @@ module Aws::Textract
455
637
  SENSITIVE: []
456
638
  end
457
639
 
640
+ class InputConfiguration
641
+ attr_accessor s3_uri: ::String
642
+ SENSITIVE: []
643
+ end
644
+
458
645
  class InternalServerError < Aws::EmptyStructure
459
646
  end
460
647
 
@@ -547,6 +734,34 @@ module Aws::Textract
547
734
  SENSITIVE: []
548
735
  end
549
736
 
737
+ class ListBlueprintsRequest
738
+ attr_accessor max_results: ::Integer
739
+ attr_accessor next_token: ::String
740
+ attr_accessor blueprint_arn: ::String
741
+ attr_accessor project_filter: Types::ProjectFilter
742
+ attr_accessor resource_owner: ("ACCOUNT" | "SERVICE")
743
+ SENSITIVE: []
744
+ end
745
+
746
+ class ListBlueprintsResponse
747
+ attr_accessor blueprints: ::Array[Types::BlueprintSummary]
748
+ attr_accessor next_token: ::String
749
+ SENSITIVE: []
750
+ end
751
+
752
+ class ListProjectsRequest
753
+ attr_accessor max_results: ::Integer
754
+ attr_accessor next_token: ::String
755
+ attr_accessor blueprint_filter: Types::BlueprintFilter
756
+ SENSITIVE: []
757
+ end
758
+
759
+ class ListProjectsResponse
760
+ attr_accessor projects: ::Array[Types::ProjectSummary]
761
+ attr_accessor next_token: ::String
762
+ SENSITIVE: []
763
+ end
764
+
550
765
  class ListTagsForResourceRequest
551
766
  attr_accessor resource_arn: ::String
552
767
  SENSITIVE: []
@@ -569,12 +784,44 @@ module Aws::Textract
569
784
  SENSITIVE: []
570
785
  end
571
786
 
787
+ class NotificationConfiguration
788
+ attr_accessor event_bridge_configuration: Types::EventBridgeConfiguration
789
+ SENSITIVE: []
790
+ end
791
+
792
+ class OutputAdditionalFileFormat
793
+ attr_accessor state: ("ENABLED" | "DISABLED")
794
+ SENSITIVE: []
795
+ end
796
+
572
797
  class OutputConfig
573
798
  attr_accessor s3_bucket: ::String
574
799
  attr_accessor s3_prefix: ::String
575
800
  SENSITIVE: []
576
801
  end
577
802
 
803
+ class OutputConfiguration
804
+ attr_accessor s3_uri: ::String
805
+ SENSITIVE: []
806
+ end
807
+
808
+ class OutputFormat
809
+ attr_accessor additional_file_format: Types::OutputAdditionalFileFormat
810
+ attr_accessor text_format: Types::OutputTextFormat
811
+ SENSITIVE: []
812
+ end
813
+
814
+ class OutputTextFormat
815
+ attr_accessor types: ::Array[("PLAIN_TEXT" | "MARKDOWN" | "HTML" | "CSV")]
816
+ SENSITIVE: []
817
+ end
818
+
819
+ class PIIEntitiesConfiguration
820
+ attr_accessor pii_entity_types: ::Array[("ALL" | "ADDRESS" | "AGE" | "NAME" | "EMAIL" | "PHONE" | "USERNAME" | "PASSWORD" | "DRIVER_ID" | "LICENSE_PLATE" | "VEHICLE_IDENTIFICATION_NUMBER" | "CREDIT_DEBIT_CARD_CVV" | "CREDIT_DEBIT_CARD_EXPIRY" | "CREDIT_DEBIT_CARD_NUMBER" | "PIN" | "INTERNATIONAL_BANK_ACCOUNT_NUMBER" | "SWIFT_CODE" | "IP_ADDRESS" | "MAC_ADDRESS" | "URL" | "AWS_ACCESS_KEY" | "AWS_SECRET_KEY" | "US_BANK_ACCOUNT_NUMBER" | "US_BANK_ROUTING_NUMBER" | "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" | "US_PASSPORT_NUMBER" | "US_SOCIAL_SECURITY_NUMBER" | "CA_HEALTH_NUMBER" | "CA_SOCIAL_INSURANCE_NUMBER" | "UK_NATIONAL_HEALTH_SERVICE_NUMBER" | "UK_NATIONAL_INSURANCE_NUMBER" | "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER")]
821
+ attr_accessor redaction_mask_mode: ("PII" | "ENTITY_TYPE")
822
+ SENSITIVE: []
823
+ end
824
+
578
825
  class PageClassification
579
826
  attr_accessor page_type: ::Array[Types::Prediction]
580
827
  attr_accessor page_number: ::Array[Types::Prediction]
@@ -593,6 +840,19 @@ module Aws::Textract
593
840
  SENSITIVE: []
594
841
  end
595
842
 
843
+ class ProjectFilter
844
+ attr_accessor project_arn: ::String
845
+ SENSITIVE: []
846
+ end
847
+
848
+ class ProjectSummary
849
+ attr_accessor project_arn: ::String
850
+ attr_accessor project_name: ::String
851
+ attr_accessor creation_time: ::Time
852
+ attr_accessor last_modified_time: ::Time
853
+ SENSITIVE: []
854
+ end
855
+
596
856
  class ProvisionedThroughputExceededException < Aws::EmptyStructure
597
857
  end
598
858
 
@@ -624,6 +884,12 @@ module Aws::Textract
624
884
  SENSITIVE: []
625
885
  end
626
886
 
887
+ class SensitiveDataConfiguration
888
+ attr_accessor detection_mode: ("DETECTION" | "DETECTION_AND_REDACTION" | "DISABLED")
889
+ attr_accessor pii_entities_configuration: Types::PIIEntitiesConfiguration
890
+ SENSITIVE: []
891
+ end
892
+
627
893
  class ServiceQuotaExceededException < Aws::EmptyStructure
628
894
  end
629
895
 
@@ -639,6 +905,11 @@ module Aws::Textract
639
905
  SENSITIVE: []
640
906
  end
641
907
 
908
+ class SplitterConfiguration
909
+ attr_accessor state: ("ENABLED" | "DISABLED")
910
+ SENSITIVE: []
911
+ end
912
+
642
913
  class StartDocumentAnalysisRequest
643
914
  attr_accessor document_location: Types::DocumentLocation
644
915
  attr_accessor feature_types: ::Array[("TABLES" | "FORMS" | "QUERIES" | "SIGNATURES" | "LAYOUT")]
@@ -657,6 +928,22 @@ module Aws::Textract
657
928
  SENSITIVE: []
658
929
  end
659
930
 
931
+ class StartDocumentInsightsRequest
932
+ attr_accessor input_configuration: Types::InputConfiguration
933
+ attr_accessor output_configuration: Types::OutputConfiguration
934
+ attr_accessor project_arn: ::String
935
+ attr_accessor blueprints: ::Array[Types::BlueprintItem]
936
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
937
+ attr_accessor notification_configuration: Types::NotificationConfiguration
938
+ attr_accessor tags: ::Hash[::String, ::String]
939
+ SENSITIVE: []
940
+ end
941
+
942
+ class StartDocumentInsightsResponse
943
+ attr_accessor job_arn: ::String
944
+ SENSITIVE: []
945
+ end
946
+
660
947
  class StartDocumentTextDetectionRequest
661
948
  attr_accessor document_location: Types::DocumentLocation
662
949
  attr_accessor client_request_token: ::String
@@ -702,6 +989,11 @@ module Aws::Textract
702
989
  SENSITIVE: []
703
990
  end
704
991
 
992
+ class SummarizationConfiguration
993
+ attr_accessor state: ("ENABLED" | "DISABLED")
994
+ SENSITIVE: []
995
+ end
996
+
705
997
  class TagResourceRequest
706
998
  attr_accessor resource_arn: ::String
707
999
  attr_accessor tags: ::Hash[::String, ::String]
@@ -749,6 +1041,36 @@ module Aws::Textract
749
1041
  SENSITIVE: []
750
1042
  end
751
1043
 
1044
+ class UpdateBlueprintRequest
1045
+ attr_accessor blueprint_arn: ::String
1046
+ attr_accessor schema: ::String
1047
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
1048
+ SENSITIVE: []
1049
+ end
1050
+
1051
+ class UpdateBlueprintResponse
1052
+ attr_accessor blueprint_arn: ::String
1053
+ SENSITIVE: []
1054
+ end
1055
+
1056
+ class UpdateProjectRequest
1057
+ attr_accessor project_arn: ::String
1058
+ attr_accessor project_description: ::String
1059
+ attr_accessor extraction_configuration: Types::ExtractionConfiguration
1060
+ attr_accessor generative_configuration: Types::GenerativeConfiguration
1061
+ attr_accessor custom_configuration: Types::CustomConfiguration
1062
+ attr_accessor splitter_configuration: Types::SplitterConfiguration
1063
+ attr_accessor sensitive_data_configuration: Types::SensitiveDataConfiguration
1064
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
1065
+ SENSITIVE: []
1066
+ end
1067
+
1068
+ class UpdateProjectResponse
1069
+ attr_accessor project_arn: ::String
1070
+ attr_accessor status: ("COMPLETED" | "FAILED")
1071
+ SENSITIVE: []
1072
+ end
1073
+
752
1074
  class ValidationException < Aws::EmptyStructure
753
1075
  end
754
1076
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-textract
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.109.0
4
+ version: 1.110.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services