aws-sdk-comprehend 1.66.0 → 1.68.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -151,6 +151,8 @@ module Aws::Comprehend
151
151
  DocumentClassifierArn = Shapes::StringShape.new(name: 'DocumentClassifierArn')
152
152
  DocumentClassifierAugmentedManifestsList = Shapes::ListShape.new(name: 'DocumentClassifierAugmentedManifestsList')
153
153
  DocumentClassifierDataFormat = Shapes::StringShape.new(name: 'DocumentClassifierDataFormat')
154
+ DocumentClassifierDocumentTypeFormat = Shapes::StringShape.new(name: 'DocumentClassifierDocumentTypeFormat')
155
+ DocumentClassifierDocuments = Shapes::StructureShape.new(name: 'DocumentClassifierDocuments')
154
156
  DocumentClassifierEndpointArn = Shapes::StringShape.new(name: 'DocumentClassifierEndpointArn')
155
157
  DocumentClassifierFilter = Shapes::StructureShape.new(name: 'DocumentClassifierFilter')
156
158
  DocumentClassifierInputDataConfig = Shapes::StructureShape.new(name: 'DocumentClassifierInputDataConfig')
@@ -305,6 +307,7 @@ module Aws::Comprehend
305
307
  ListOfRelationships = Shapes::ListShape.new(name: 'ListOfRelationships')
306
308
  ListOfSyntaxTokens = Shapes::ListShape.new(name: 'ListOfSyntaxTokens')
307
309
  ListOfTargetedSentimentEntities = Shapes::ListShape.new(name: 'ListOfTargetedSentimentEntities')
310
+ ListOfWarnings = Shapes::ListShape.new(name: 'ListOfWarnings')
308
311
  ListPiiEntitiesDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListPiiEntitiesDetectionJobsRequest')
309
312
  ListPiiEntitiesDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListPiiEntitiesDetectionJobsResponse')
310
313
  ListSentimentDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListSentimentDetectionJobsRequest')
@@ -324,6 +327,7 @@ module Aws::Comprehend
324
327
  NumberOfTopicsInteger = Shapes::IntegerShape.new(name: 'NumberOfTopicsInteger')
325
328
  OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig')
326
329
  PageBasedErrorCode = Shapes::StringShape.new(name: 'PageBasedErrorCode')
330
+ PageBasedWarningCode = Shapes::StringShape.new(name: 'PageBasedWarningCode')
327
331
  PartOfSpeechTag = Shapes::StructureShape.new(name: 'PartOfSpeechTag')
328
332
  PartOfSpeechTagType = Shapes::StringShape.new(name: 'PartOfSpeechTagType')
329
333
  PiiEntitiesDetectionJobFilter = Shapes::StructureShape.new(name: 'PiiEntitiesDetectionJobFilter')
@@ -434,6 +438,7 @@ module Aws::Comprehend
434
438
  UpdateFlywheelResponse = Shapes::StructureShape.new(name: 'UpdateFlywheelResponse')
435
439
  VersionName = Shapes::StringShape.new(name: 'VersionName')
436
440
  VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
441
+ WarningsListItem = Shapes::StructureShape.new(name: 'WarningsListItem')
437
442
 
438
443
  AttributeNamesList.member = Shapes::ShapeRef.new(shape: AttributeNamesListItem)
439
444
 
@@ -579,6 +584,7 @@ module Aws::Comprehend
579
584
  ClassifyDocumentResponse.add_member(:document_metadata, Shapes::ShapeRef.new(shape: DocumentMetadata, location_name: "DocumentMetadata"))
580
585
  ClassifyDocumentResponse.add_member(:document_type, Shapes::ShapeRef.new(shape: ListOfDocumentType, location_name: "DocumentType"))
581
586
  ClassifyDocumentResponse.add_member(:errors, Shapes::ShapeRef.new(shape: ListOfErrors, location_name: "Errors"))
587
+ ClassifyDocumentResponse.add_member(:warnings, Shapes::ShapeRef.new(shape: ListOfWarnings, location_name: "Warnings"))
582
588
  ClassifyDocumentResponse.struct_class = Types::ClassifyDocumentResponse
583
589
 
584
590
  ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
@@ -944,6 +950,10 @@ module Aws::Comprehend
944
950
 
945
951
  DocumentClassifierAugmentedManifestsList.member = Shapes::ShapeRef.new(shape: AugmentedManifestsListItem)
946
952
 
953
+ DocumentClassifierDocuments.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
954
+ DocumentClassifierDocuments.add_member(:test_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "TestS3Uri"))
955
+ DocumentClassifierDocuments.struct_class = Types::DocumentClassifierDocuments
956
+
947
957
  DocumentClassifierFilter.add_member(:status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "Status"))
948
958
  DocumentClassifierFilter.add_member(:document_classifier_name, Shapes::ShapeRef.new(shape: ComprehendArnName, location_name: "DocumentClassifierName"))
949
959
  DocumentClassifierFilter.add_member(:submit_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeBefore"))
@@ -955,6 +965,9 @@ module Aws::Comprehend
955
965
  DocumentClassifierInputDataConfig.add_member(:test_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "TestS3Uri"))
956
966
  DocumentClassifierInputDataConfig.add_member(:label_delimiter, Shapes::ShapeRef.new(shape: LabelDelimiter, location_name: "LabelDelimiter"))
957
967
  DocumentClassifierInputDataConfig.add_member(:augmented_manifests, Shapes::ShapeRef.new(shape: DocumentClassifierAugmentedManifestsList, location_name: "AugmentedManifests"))
968
+ DocumentClassifierInputDataConfig.add_member(:document_type, Shapes::ShapeRef.new(shape: DocumentClassifierDocumentTypeFormat, location_name: "DocumentType"))
969
+ DocumentClassifierInputDataConfig.add_member(:documents, Shapes::ShapeRef.new(shape: DocumentClassifierDocuments, location_name: "Documents"))
970
+ DocumentClassifierInputDataConfig.add_member(:document_reader_config, Shapes::ShapeRef.new(shape: DocumentReaderConfig, location_name: "DocumentReaderConfig"))
958
971
  DocumentClassifierInputDataConfig.struct_class = Types::DocumentClassifierInputDataConfig
959
972
 
960
973
  DocumentClassifierOutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "S3Uri"))
@@ -1080,6 +1093,7 @@ module Aws::Comprehend
1080
1093
  EntitiesDetectionJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
1081
1094
  EntitiesDetectionJobProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
1082
1095
  EntitiesDetectionJobProperties.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
1096
+ EntitiesDetectionJobProperties.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1083
1097
  EntitiesDetectionJobProperties.struct_class = Types::EntitiesDetectionJobProperties
1084
1098
 
1085
1099
  EntitiesDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: EntitiesDetectionJobProperties)
@@ -1517,6 +1531,8 @@ module Aws::Comprehend
1517
1531
 
1518
1532
  ListOfTargetedSentimentEntities.member = Shapes::ShapeRef.new(shape: TargetedSentimentEntity)
1519
1533
 
1534
+ ListOfWarnings.member = Shapes::ShapeRef.new(shape: WarningsListItem)
1535
+
1520
1536
  ListPiiEntitiesDetectionJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: PiiEntitiesDetectionJobFilter, location_name: "Filter"))
1521
1537
  ListPiiEntitiesDetectionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1522
1538
  ListPiiEntitiesDetectionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
@@ -2025,6 +2041,11 @@ module Aws::Comprehend
2025
2041
  VpcConfig.add_member(:subnets, Shapes::ShapeRef.new(shape: Subnets, required: true, location_name: "Subnets"))
2026
2042
  VpcConfig.struct_class = Types::VpcConfig
2027
2043
 
2044
+ WarningsListItem.add_member(:page, Shapes::ShapeRef.new(shape: Integer, location_name: "Page"))
2045
+ WarningsListItem.add_member(:warn_code, Shapes::ShapeRef.new(shape: PageBasedWarningCode, location_name: "WarnCode"))
2046
+ WarningsListItem.add_member(:warn_message, Shapes::ShapeRef.new(shape: String, location_name: "WarnMessage"))
2047
+ WarningsListItem.struct_class = Types::WarningsListItem
2048
+
2028
2049
 
2029
2050
  # @api private
2030
2051
  API = Seahorse::Model::Api.new.tap do |api|
@@ -2923,6 +2944,7 @@ module Aws::Comprehend
2923
2944
  o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
2924
2945
  o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
2925
2946
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
2947
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2926
2948
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2927
2949
  end)
2928
2950
 
@@ -2936,6 +2958,7 @@ module Aws::Comprehend
2936
2958
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2937
2959
  o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
2938
2960
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
2961
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2939
2962
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2940
2963
  end)
2941
2964
 
@@ -2951,6 +2974,7 @@ module Aws::Comprehend
2951
2974
  o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
2952
2975
  o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
2953
2976
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
2977
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2954
2978
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2955
2979
  end)
2956
2980
 
@@ -2964,6 +2988,7 @@ module Aws::Comprehend
2964
2988
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2965
2989
  o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
2966
2990
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
2991
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2967
2992
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2968
2993
  end)
2969
2994
 
@@ -2990,6 +3015,7 @@ module Aws::Comprehend
2990
3015
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2991
3016
  o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
2992
3017
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
3018
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2993
3019
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2994
3020
  end)
2995
3021
 
@@ -3003,6 +3029,7 @@ module Aws::Comprehend
3003
3029
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3004
3030
  o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
3005
3031
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
3032
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
3006
3033
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3007
3034
  end)
3008
3035
 
@@ -3016,6 +3043,7 @@ module Aws::Comprehend
3016
3043
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3017
3044
  o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
3018
3045
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
3046
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
3019
3047
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3020
3048
  end)
3021
3049
 
@@ -3029,6 +3057,7 @@ module Aws::Comprehend
3029
3057
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3030
3058
  o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
3031
3059
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
3060
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
3032
3061
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3033
3062
  end)
3034
3063
 
@@ -3042,6 +3071,7 @@ module Aws::Comprehend
3042
3071
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3043
3072
  o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
3044
3073
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
3074
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
3045
3075
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3046
3076
  end)
3047
3077