aws-sdk-comprehend 1.48.0 → 1.52.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-comprehend/client.rb +392 -3
- data/lib/aws-sdk-comprehend/client_api.rb +143 -1
- data/lib/aws-sdk-comprehend/types.rb +790 -18
- data/lib/aws-sdk-comprehend.rb +1 -1
- metadata +5 -5
@@ -16,6 +16,7 @@ module Aws::Comprehend
|
|
16
16
|
AnyLengthString = Shapes::StringShape.new(name: 'AnyLengthString')
|
17
17
|
AttributeNamesList = Shapes::ListShape.new(name: 'AttributeNamesList')
|
18
18
|
AttributeNamesListItem = Shapes::StringShape.new(name: 'AttributeNamesListItem')
|
19
|
+
AugmentedManifestsDocumentTypeFormat = Shapes::StringShape.new(name: 'AugmentedManifestsDocumentTypeFormat')
|
19
20
|
AugmentedManifestsListItem = Shapes::StructureShape.new(name: 'AugmentedManifestsListItem')
|
20
21
|
BatchDetectDominantLanguageItemResult = Shapes::StructureShape.new(name: 'BatchDetectDominantLanguageItemResult')
|
21
22
|
BatchDetectDominantLanguageRequest = Shapes::StructureShape.new(name: 'BatchDetectDominantLanguageRequest')
|
@@ -110,7 +111,13 @@ module Aws::Comprehend
|
|
110
111
|
DocumentClassifierOutputDataConfig = Shapes::StructureShape.new(name: 'DocumentClassifierOutputDataConfig')
|
111
112
|
DocumentClassifierProperties = Shapes::StructureShape.new(name: 'DocumentClassifierProperties')
|
112
113
|
DocumentClassifierPropertiesList = Shapes::ListShape.new(name: 'DocumentClassifierPropertiesList')
|
114
|
+
DocumentClassifierSummariesList = Shapes::ListShape.new(name: 'DocumentClassifierSummariesList')
|
115
|
+
DocumentClassifierSummary = Shapes::StructureShape.new(name: 'DocumentClassifierSummary')
|
113
116
|
DocumentLabel = Shapes::StructureShape.new(name: 'DocumentLabel')
|
117
|
+
DocumentReadAction = Shapes::StringShape.new(name: 'DocumentReadAction')
|
118
|
+
DocumentReadFeatureTypes = Shapes::StringShape.new(name: 'DocumentReadFeatureTypes')
|
119
|
+
DocumentReadMode = Shapes::StringShape.new(name: 'DocumentReadMode')
|
120
|
+
DocumentReaderConfig = Shapes::StructureShape.new(name: 'DocumentReaderConfig')
|
114
121
|
DominantLanguage = Shapes::StructureShape.new(name: 'DominantLanguage')
|
115
122
|
DominantLanguageDetectionJobFilter = Shapes::StructureShape.new(name: 'DominantLanguageDetectionJobFilter')
|
116
123
|
DominantLanguageDetectionJobProperties = Shapes::StructureShape.new(name: 'DominantLanguageDetectionJobProperties')
|
@@ -140,6 +147,8 @@ module Aws::Comprehend
|
|
140
147
|
EntityRecognizerMetadataEntityTypesListItem = Shapes::StructureShape.new(name: 'EntityRecognizerMetadataEntityTypesListItem')
|
141
148
|
EntityRecognizerProperties = Shapes::StructureShape.new(name: 'EntityRecognizerProperties')
|
142
149
|
EntityRecognizerPropertiesList = Shapes::ListShape.new(name: 'EntityRecognizerPropertiesList')
|
150
|
+
EntityRecognizerSummariesList = Shapes::ListShape.new(name: 'EntityRecognizerSummariesList')
|
151
|
+
EntityRecognizerSummary = Shapes::StructureShape.new(name: 'EntityRecognizerSummary')
|
143
152
|
EntityType = Shapes::StringShape.new(name: 'EntityType')
|
144
153
|
EntityTypeName = Shapes::StringShape.new(name: 'EntityTypeName')
|
145
154
|
EntityTypesEvaluationMetrics = Shapes::StructureShape.new(name: 'EntityTypesEvaluationMetrics')
|
@@ -172,6 +181,8 @@ module Aws::Comprehend
|
|
172
181
|
LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
|
173
182
|
ListDocumentClassificationJobsRequest = Shapes::StructureShape.new(name: 'ListDocumentClassificationJobsRequest')
|
174
183
|
ListDocumentClassificationJobsResponse = Shapes::StructureShape.new(name: 'ListDocumentClassificationJobsResponse')
|
184
|
+
ListDocumentClassifierSummariesRequest = Shapes::StructureShape.new(name: 'ListDocumentClassifierSummariesRequest')
|
185
|
+
ListDocumentClassifierSummariesResponse = Shapes::StructureShape.new(name: 'ListDocumentClassifierSummariesResponse')
|
175
186
|
ListDocumentClassifiersRequest = Shapes::StructureShape.new(name: 'ListDocumentClassifiersRequest')
|
176
187
|
ListDocumentClassifiersResponse = Shapes::StructureShape.new(name: 'ListDocumentClassifiersResponse')
|
177
188
|
ListDominantLanguageDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListDominantLanguageDetectionJobsRequest')
|
@@ -180,6 +191,8 @@ module Aws::Comprehend
|
|
180
191
|
ListEndpointsResponse = Shapes::StructureShape.new(name: 'ListEndpointsResponse')
|
181
192
|
ListEntitiesDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListEntitiesDetectionJobsRequest')
|
182
193
|
ListEntitiesDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListEntitiesDetectionJobsResponse')
|
194
|
+
ListEntityRecognizerSummariesRequest = Shapes::StructureShape.new(name: 'ListEntityRecognizerSummariesRequest')
|
195
|
+
ListEntityRecognizerSummariesResponse = Shapes::StructureShape.new(name: 'ListEntityRecognizerSummariesResponse')
|
183
196
|
ListEntityRecognizersRequest = Shapes::StructureShape.new(name: 'ListEntityRecognizersRequest')
|
184
197
|
ListEntityRecognizersResponse = Shapes::StructureShape.new(name: 'ListEntityRecognizersResponse')
|
185
198
|
ListEventsDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListEventsDetectionJobsRequest')
|
@@ -192,6 +205,7 @@ module Aws::Comprehend
|
|
192
205
|
ListOfDetectKeyPhrasesResult = Shapes::ListShape.new(name: 'ListOfDetectKeyPhrasesResult')
|
193
206
|
ListOfDetectSentimentResult = Shapes::ListShape.new(name: 'ListOfDetectSentimentResult')
|
194
207
|
ListOfDetectSyntaxResult = Shapes::ListShape.new(name: 'ListOfDetectSyntaxResult')
|
208
|
+
ListOfDocumentReadFeatureTypes = Shapes::ListShape.new(name: 'ListOfDocumentReadFeatureTypes')
|
195
209
|
ListOfDominantLanguages = Shapes::ListShape.new(name: 'ListOfDominantLanguages')
|
196
210
|
ListOfEntities = Shapes::ListShape.new(name: 'ListOfEntities')
|
197
211
|
ListOfEntityLabels = Shapes::ListShape.new(name: 'ListOfEntityLabels')
|
@@ -236,6 +250,7 @@ module Aws::Comprehend
|
|
236
250
|
SentimentDetectionJobPropertiesList = Shapes::ListShape.new(name: 'SentimentDetectionJobPropertiesList')
|
237
251
|
SentimentScore = Shapes::StructureShape.new(name: 'SentimentScore')
|
238
252
|
SentimentType = Shapes::StringShape.new(name: 'SentimentType')
|
253
|
+
Split = Shapes::StringShape.new(name: 'Split')
|
239
254
|
StartDocumentClassificationJobRequest = Shapes::StructureShape.new(name: 'StartDocumentClassificationJobRequest')
|
240
255
|
StartDocumentClassificationJobResponse = Shapes::StructureShape.new(name: 'StartDocumentClassificationJobResponse')
|
241
256
|
StartDominantLanguageDetectionJobRequest = Shapes::StructureShape.new(name: 'StartDominantLanguageDetectionJobRequest')
|
@@ -294,12 +309,17 @@ module Aws::Comprehend
|
|
294
309
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
295
310
|
UpdateEndpointRequest = Shapes::StructureShape.new(name: 'UpdateEndpointRequest')
|
296
311
|
UpdateEndpointResponse = Shapes::StructureShape.new(name: 'UpdateEndpointResponse')
|
312
|
+
VersionName = Shapes::StringShape.new(name: 'VersionName')
|
297
313
|
VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
|
298
314
|
|
299
315
|
AttributeNamesList.member = Shapes::ShapeRef.new(shape: AttributeNamesListItem)
|
300
316
|
|
301
317
|
AugmentedManifestsListItem.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
|
318
|
+
AugmentedManifestsListItem.add_member(:split, Shapes::ShapeRef.new(shape: Split, location_name: "Split"))
|
302
319
|
AugmentedManifestsListItem.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNamesList, required: true, location_name: "AttributeNames"))
|
320
|
+
AugmentedManifestsListItem.add_member(:annotation_data_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "AnnotationDataS3Uri"))
|
321
|
+
AugmentedManifestsListItem.add_member(:source_documents_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "SourceDocumentsS3Uri"))
|
322
|
+
AugmentedManifestsListItem.add_member(:document_type, Shapes::ShapeRef.new(shape: AugmentedManifestsDocumentTypeFormat, location_name: "DocumentType"))
|
303
323
|
AugmentedManifestsListItem.struct_class = Types::AugmentedManifestsListItem
|
304
324
|
|
305
325
|
BatchDetectDominantLanguageItemResult.add_member(:index, Shapes::ShapeRef.new(shape: Integer, location_name: "Index"))
|
@@ -407,6 +427,7 @@ module Aws::Comprehend
|
|
407
427
|
ContainsPiiEntitiesResponse.struct_class = Types::ContainsPiiEntitiesResponse
|
408
428
|
|
409
429
|
CreateDocumentClassifierRequest.add_member(:document_classifier_name, Shapes::ShapeRef.new(shape: ComprehendArnName, required: true, location_name: "DocumentClassifierName"))
|
430
|
+
CreateDocumentClassifierRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "VersionName"))
|
410
431
|
CreateDocumentClassifierRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
411
432
|
CreateDocumentClassifierRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
412
433
|
CreateDocumentClassifierRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: DocumentClassifierInputDataConfig, required: true, location_name: "InputDataConfig"))
|
@@ -434,6 +455,7 @@ module Aws::Comprehend
|
|
434
455
|
CreateEndpointResponse.struct_class = Types::CreateEndpointResponse
|
435
456
|
|
436
457
|
CreateEntityRecognizerRequest.add_member(:recognizer_name, Shapes::ShapeRef.new(shape: ComprehendArnName, required: true, location_name: "RecognizerName"))
|
458
|
+
CreateEntityRecognizerRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "VersionName"))
|
437
459
|
CreateEntityRecognizerRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
438
460
|
CreateEntityRecognizerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
439
461
|
CreateEntityRecognizerRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: EntityRecognizerInputDataConfig, required: true, location_name: "InputDataConfig"))
|
@@ -584,6 +606,7 @@ module Aws::Comprehend
|
|
584
606
|
DocumentClassificationJobFilter.struct_class = Types::DocumentClassificationJobFilter
|
585
607
|
|
586
608
|
DocumentClassificationJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
609
|
+
DocumentClassificationJobProperties.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
587
610
|
DocumentClassificationJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
588
611
|
DocumentClassificationJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
589
612
|
DocumentClassificationJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
@@ -602,12 +625,14 @@ module Aws::Comprehend
|
|
602
625
|
DocumentClassifierAugmentedManifestsList.member = Shapes::ShapeRef.new(shape: AugmentedManifestsListItem)
|
603
626
|
|
604
627
|
DocumentClassifierFilter.add_member(:status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "Status"))
|
628
|
+
DocumentClassifierFilter.add_member(:document_classifier_name, Shapes::ShapeRef.new(shape: ComprehendArnName, location_name: "DocumentClassifierName"))
|
605
629
|
DocumentClassifierFilter.add_member(:submit_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeBefore"))
|
606
630
|
DocumentClassifierFilter.add_member(:submit_time_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeAfter"))
|
607
631
|
DocumentClassifierFilter.struct_class = Types::DocumentClassifierFilter
|
608
632
|
|
609
633
|
DocumentClassifierInputDataConfig.add_member(:data_format, Shapes::ShapeRef.new(shape: DocumentClassifierDataFormat, location_name: "DataFormat"))
|
610
634
|
DocumentClassifierInputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "S3Uri"))
|
635
|
+
DocumentClassifierInputDataConfig.add_member(:test_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "TestS3Uri"))
|
611
636
|
DocumentClassifierInputDataConfig.add_member(:label_delimiter, Shapes::ShapeRef.new(shape: LabelDelimiter, location_name: "LabelDelimiter"))
|
612
637
|
DocumentClassifierInputDataConfig.add_member(:augmented_manifests, Shapes::ShapeRef.new(shape: DocumentClassifierAugmentedManifestsList, location_name: "AugmentedManifests"))
|
613
638
|
DocumentClassifierInputDataConfig.struct_class = Types::DocumentClassifierInputDataConfig
|
@@ -632,14 +657,29 @@ module Aws::Comprehend
|
|
632
657
|
DocumentClassifierProperties.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
633
658
|
DocumentClassifierProperties.add_member(:mode, Shapes::ShapeRef.new(shape: DocumentClassifierMode, location_name: "Mode"))
|
634
659
|
DocumentClassifierProperties.add_member(:model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "ModelKmsKeyId"))
|
660
|
+
DocumentClassifierProperties.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "VersionName"))
|
635
661
|
DocumentClassifierProperties.struct_class = Types::DocumentClassifierProperties
|
636
662
|
|
637
663
|
DocumentClassifierPropertiesList.member = Shapes::ShapeRef.new(shape: DocumentClassifierProperties)
|
638
664
|
|
665
|
+
DocumentClassifierSummariesList.member = Shapes::ShapeRef.new(shape: DocumentClassifierSummary)
|
666
|
+
|
667
|
+
DocumentClassifierSummary.add_member(:document_classifier_name, Shapes::ShapeRef.new(shape: ComprehendArnName, location_name: "DocumentClassifierName"))
|
668
|
+
DocumentClassifierSummary.add_member(:number_of_versions, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfVersions"))
|
669
|
+
DocumentClassifierSummary.add_member(:latest_version_created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LatestVersionCreatedAt"))
|
670
|
+
DocumentClassifierSummary.add_member(:latest_version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "LatestVersionName"))
|
671
|
+
DocumentClassifierSummary.add_member(:latest_version_status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "LatestVersionStatus"))
|
672
|
+
DocumentClassifierSummary.struct_class = Types::DocumentClassifierSummary
|
673
|
+
|
639
674
|
DocumentLabel.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
640
675
|
DocumentLabel.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
|
641
676
|
DocumentLabel.struct_class = Types::DocumentLabel
|
642
677
|
|
678
|
+
DocumentReaderConfig.add_member(:document_read_action, Shapes::ShapeRef.new(shape: DocumentReadAction, required: true, location_name: "DocumentReadAction"))
|
679
|
+
DocumentReaderConfig.add_member(:document_read_mode, Shapes::ShapeRef.new(shape: DocumentReadMode, location_name: "DocumentReadMode"))
|
680
|
+
DocumentReaderConfig.add_member(:feature_types, Shapes::ShapeRef.new(shape: ListOfDocumentReadFeatureTypes, location_name: "FeatureTypes"))
|
681
|
+
DocumentReaderConfig.struct_class = Types::DocumentReaderConfig
|
682
|
+
|
643
683
|
DominantLanguage.add_member(:language_code, Shapes::ShapeRef.new(shape: String, location_name: "LanguageCode"))
|
644
684
|
DominantLanguage.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
|
645
685
|
DominantLanguage.struct_class = Types::DominantLanguage
|
@@ -651,6 +691,7 @@ module Aws::Comprehend
|
|
651
691
|
DominantLanguageDetectionJobFilter.struct_class = Types::DominantLanguageDetectionJobFilter
|
652
692
|
|
653
693
|
DominantLanguageDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
694
|
+
DominantLanguageDetectionJobProperties.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
654
695
|
DominantLanguageDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
655
696
|
DominantLanguageDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
656
697
|
DominantLanguageDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
@@ -675,11 +716,13 @@ module Aws::Comprehend
|
|
675
716
|
EndpointProperties.add_member(:status, Shapes::ShapeRef.new(shape: EndpointStatus, location_name: "Status"))
|
676
717
|
EndpointProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
677
718
|
EndpointProperties.add_member(:model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "ModelArn"))
|
719
|
+
EndpointProperties.add_member(:desired_model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "DesiredModelArn"))
|
678
720
|
EndpointProperties.add_member(:desired_inference_units, Shapes::ShapeRef.new(shape: InferenceUnitsInteger, location_name: "DesiredInferenceUnits"))
|
679
721
|
EndpointProperties.add_member(:current_inference_units, Shapes::ShapeRef.new(shape: InferenceUnitsInteger, location_name: "CurrentInferenceUnits"))
|
680
722
|
EndpointProperties.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
681
723
|
EndpointProperties.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
|
682
724
|
EndpointProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
|
725
|
+
EndpointProperties.add_member(:desired_data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DesiredDataAccessRoleArn"))
|
683
726
|
EndpointProperties.struct_class = Types::EndpointProperties
|
684
727
|
|
685
728
|
EndpointPropertiesList.member = Shapes::ShapeRef.new(shape: EndpointProperties)
|
@@ -691,6 +734,7 @@ module Aws::Comprehend
|
|
691
734
|
EntitiesDetectionJobFilter.struct_class = Types::EntitiesDetectionJobFilter
|
692
735
|
|
693
736
|
EntitiesDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
737
|
+
EntitiesDetectionJobProperties.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
694
738
|
EntitiesDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
695
739
|
EntitiesDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
696
740
|
EntitiesDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
@@ -719,11 +763,14 @@ module Aws::Comprehend
|
|
719
763
|
EntityLabel.struct_class = Types::EntityLabel
|
720
764
|
|
721
765
|
EntityRecognizerAnnotations.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
|
766
|
+
EntityRecognizerAnnotations.add_member(:test_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "TestS3Uri"))
|
722
767
|
EntityRecognizerAnnotations.struct_class = Types::EntityRecognizerAnnotations
|
723
768
|
|
724
769
|
EntityRecognizerAugmentedManifestsList.member = Shapes::ShapeRef.new(shape: AugmentedManifestsListItem)
|
725
770
|
|
726
771
|
EntityRecognizerDocuments.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
|
772
|
+
EntityRecognizerDocuments.add_member(:test_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "TestS3Uri"))
|
773
|
+
EntityRecognizerDocuments.add_member(:input_format, Shapes::ShapeRef.new(shape: InputFormat, location_name: "InputFormat"))
|
727
774
|
EntityRecognizerDocuments.struct_class = Types::EntityRecognizerDocuments
|
728
775
|
|
729
776
|
EntityRecognizerEntityList.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
|
@@ -735,6 +782,7 @@ module Aws::Comprehend
|
|
735
782
|
EntityRecognizerEvaluationMetrics.struct_class = Types::EntityRecognizerEvaluationMetrics
|
736
783
|
|
737
784
|
EntityRecognizerFilter.add_member(:status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "Status"))
|
785
|
+
EntityRecognizerFilter.add_member(:recognizer_name, Shapes::ShapeRef.new(shape: ComprehendArnName, location_name: "RecognizerName"))
|
738
786
|
EntityRecognizerFilter.add_member(:submit_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeBefore"))
|
739
787
|
EntityRecognizerFilter.add_member(:submit_time_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeAfter"))
|
740
788
|
EntityRecognizerFilter.struct_class = Types::EntityRecognizerFilter
|
@@ -774,10 +822,20 @@ module Aws::Comprehend
|
|
774
822
|
EntityRecognizerProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
775
823
|
EntityRecognizerProperties.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
776
824
|
EntityRecognizerProperties.add_member(:model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "ModelKmsKeyId"))
|
825
|
+
EntityRecognizerProperties.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "VersionName"))
|
777
826
|
EntityRecognizerProperties.struct_class = Types::EntityRecognizerProperties
|
778
827
|
|
779
828
|
EntityRecognizerPropertiesList.member = Shapes::ShapeRef.new(shape: EntityRecognizerProperties)
|
780
829
|
|
830
|
+
EntityRecognizerSummariesList.member = Shapes::ShapeRef.new(shape: EntityRecognizerSummary)
|
831
|
+
|
832
|
+
EntityRecognizerSummary.add_member(:recognizer_name, Shapes::ShapeRef.new(shape: ComprehendArnName, location_name: "RecognizerName"))
|
833
|
+
EntityRecognizerSummary.add_member(:number_of_versions, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfVersions"))
|
834
|
+
EntityRecognizerSummary.add_member(:latest_version_created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LatestVersionCreatedAt"))
|
835
|
+
EntityRecognizerSummary.add_member(:latest_version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "LatestVersionName"))
|
836
|
+
EntityRecognizerSummary.add_member(:latest_version_status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "LatestVersionStatus"))
|
837
|
+
EntityRecognizerSummary.struct_class = Types::EntityRecognizerSummary
|
838
|
+
|
781
839
|
EntityTypesEvaluationMetrics.add_member(:precision, Shapes::ShapeRef.new(shape: Double, location_name: "Precision"))
|
782
840
|
EntityTypesEvaluationMetrics.add_member(:recall, Shapes::ShapeRef.new(shape: Double, location_name: "Recall"))
|
783
841
|
EntityTypesEvaluationMetrics.add_member(:f1_score, Shapes::ShapeRef.new(shape: Double, location_name: "F1Score"))
|
@@ -795,6 +853,7 @@ module Aws::Comprehend
|
|
795
853
|
EventsDetectionJobFilter.struct_class = Types::EventsDetectionJobFilter
|
796
854
|
|
797
855
|
EventsDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
856
|
+
EventsDetectionJobProperties.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
798
857
|
EventsDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
799
858
|
EventsDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
800
859
|
EventsDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
@@ -811,6 +870,7 @@ module Aws::Comprehend
|
|
811
870
|
|
812
871
|
InputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
|
813
872
|
InputDataConfig.add_member(:input_format, Shapes::ShapeRef.new(shape: InputFormat, location_name: "InputFormat"))
|
873
|
+
InputDataConfig.add_member(:document_reader_config, Shapes::ShapeRef.new(shape: DocumentReaderConfig, location_name: "DocumentReaderConfig"))
|
814
874
|
InputDataConfig.struct_class = Types::InputDataConfig
|
815
875
|
|
816
876
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
@@ -838,6 +898,7 @@ module Aws::Comprehend
|
|
838
898
|
KeyPhrasesDetectionJobFilter.struct_class = Types::KeyPhrasesDetectionJobFilter
|
839
899
|
|
840
900
|
KeyPhrasesDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
901
|
+
KeyPhrasesDetectionJobProperties.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
841
902
|
KeyPhrasesDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
842
903
|
KeyPhrasesDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
843
904
|
KeyPhrasesDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
@@ -865,6 +926,14 @@ module Aws::Comprehend
|
|
865
926
|
ListDocumentClassificationJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
866
927
|
ListDocumentClassificationJobsResponse.struct_class = Types::ListDocumentClassificationJobsResponse
|
867
928
|
|
929
|
+
ListDocumentClassifierSummariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
930
|
+
ListDocumentClassifierSummariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
931
|
+
ListDocumentClassifierSummariesRequest.struct_class = Types::ListDocumentClassifierSummariesRequest
|
932
|
+
|
933
|
+
ListDocumentClassifierSummariesResponse.add_member(:document_classifier_summaries_list, Shapes::ShapeRef.new(shape: DocumentClassifierSummariesList, location_name: "DocumentClassifierSummariesList"))
|
934
|
+
ListDocumentClassifierSummariesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
935
|
+
ListDocumentClassifierSummariesResponse.struct_class = Types::ListDocumentClassifierSummariesResponse
|
936
|
+
|
868
937
|
ListDocumentClassifiersRequest.add_member(:filter, Shapes::ShapeRef.new(shape: DocumentClassifierFilter, location_name: "Filter"))
|
869
938
|
ListDocumentClassifiersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
870
939
|
ListDocumentClassifiersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
@@ -901,6 +970,14 @@ module Aws::Comprehend
|
|
901
970
|
ListEntitiesDetectionJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
902
971
|
ListEntitiesDetectionJobsResponse.struct_class = Types::ListEntitiesDetectionJobsResponse
|
903
972
|
|
973
|
+
ListEntityRecognizerSummariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
974
|
+
ListEntityRecognizerSummariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
975
|
+
ListEntityRecognizerSummariesRequest.struct_class = Types::ListEntityRecognizerSummariesRequest
|
976
|
+
|
977
|
+
ListEntityRecognizerSummariesResponse.add_member(:entity_recognizer_summaries_list, Shapes::ShapeRef.new(shape: EntityRecognizerSummariesList, location_name: "EntityRecognizerSummariesList"))
|
978
|
+
ListEntityRecognizerSummariesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
979
|
+
ListEntityRecognizerSummariesResponse.struct_class = Types::ListEntityRecognizerSummariesResponse
|
980
|
+
|
904
981
|
ListEntityRecognizersRequest.add_member(:filter, Shapes::ShapeRef.new(shape: EntityRecognizerFilter, location_name: "Filter"))
|
905
982
|
ListEntityRecognizersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
906
983
|
ListEntityRecognizersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
@@ -940,6 +1017,8 @@ module Aws::Comprehend
|
|
940
1017
|
|
941
1018
|
ListOfDetectSyntaxResult.member = Shapes::ShapeRef.new(shape: BatchDetectSyntaxItemResult)
|
942
1019
|
|
1020
|
+
ListOfDocumentReadFeatureTypes.member = Shapes::ShapeRef.new(shape: DocumentReadFeatureTypes)
|
1021
|
+
|
943
1022
|
ListOfDominantLanguages.member = Shapes::ShapeRef.new(shape: DominantLanguage)
|
944
1023
|
|
945
1024
|
ListOfEntities.member = Shapes::ShapeRef.new(shape: Entity)
|
@@ -1005,6 +1084,7 @@ module Aws::Comprehend
|
|
1005
1084
|
PiiEntitiesDetectionJobFilter.struct_class = Types::PiiEntitiesDetectionJobFilter
|
1006
1085
|
|
1007
1086
|
PiiEntitiesDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1087
|
+
PiiEntitiesDetectionJobProperties.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1008
1088
|
PiiEntitiesDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
1009
1089
|
PiiEntitiesDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1010
1090
|
PiiEntitiesDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
@@ -1056,6 +1136,7 @@ module Aws::Comprehend
|
|
1056
1136
|
SentimentDetectionJobFilter.struct_class = Types::SentimentDetectionJobFilter
|
1057
1137
|
|
1058
1138
|
SentimentDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1139
|
+
SentimentDetectionJobProperties.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1059
1140
|
SentimentDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
1060
1141
|
SentimentDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1061
1142
|
SentimentDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
@@ -1085,9 +1166,11 @@ module Aws::Comprehend
|
|
1085
1166
|
StartDocumentClassificationJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1086
1167
|
StartDocumentClassificationJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
1087
1168
|
StartDocumentClassificationJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
1169
|
+
StartDocumentClassificationJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1088
1170
|
StartDocumentClassificationJobRequest.struct_class = Types::StartDocumentClassificationJobRequest
|
1089
1171
|
|
1090
1172
|
StartDocumentClassificationJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1173
|
+
StartDocumentClassificationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1091
1174
|
StartDocumentClassificationJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1092
1175
|
StartDocumentClassificationJobResponse.struct_class = Types::StartDocumentClassificationJobResponse
|
1093
1176
|
|
@@ -1098,9 +1181,11 @@ module Aws::Comprehend
|
|
1098
1181
|
StartDominantLanguageDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1099
1182
|
StartDominantLanguageDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
1100
1183
|
StartDominantLanguageDetectionJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
1184
|
+
StartDominantLanguageDetectionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1101
1185
|
StartDominantLanguageDetectionJobRequest.struct_class = Types::StartDominantLanguageDetectionJobRequest
|
1102
1186
|
|
1103
1187
|
StartDominantLanguageDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1188
|
+
StartDominantLanguageDetectionJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1104
1189
|
StartDominantLanguageDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1105
1190
|
StartDominantLanguageDetectionJobResponse.struct_class = Types::StartDominantLanguageDetectionJobResponse
|
1106
1191
|
|
@@ -1113,9 +1198,11 @@ module Aws::Comprehend
|
|
1113
1198
|
StartEntitiesDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1114
1199
|
StartEntitiesDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
1115
1200
|
StartEntitiesDetectionJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
1201
|
+
StartEntitiesDetectionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1116
1202
|
StartEntitiesDetectionJobRequest.struct_class = Types::StartEntitiesDetectionJobRequest
|
1117
1203
|
|
1118
1204
|
StartEntitiesDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1205
|
+
StartEntitiesDetectionJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1119
1206
|
StartEntitiesDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1120
1207
|
StartEntitiesDetectionJobResponse.struct_class = Types::StartEntitiesDetectionJobResponse
|
1121
1208
|
|
@@ -1126,9 +1213,11 @@ module Aws::Comprehend
|
|
1126
1213
|
StartEventsDetectionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
1127
1214
|
StartEventsDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1128
1215
|
StartEventsDetectionJobRequest.add_member(:target_event_types, Shapes::ShapeRef.new(shape: TargetEventTypes, required: true, location_name: "TargetEventTypes"))
|
1216
|
+
StartEventsDetectionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1129
1217
|
StartEventsDetectionJobRequest.struct_class = Types::StartEventsDetectionJobRequest
|
1130
1218
|
|
1131
1219
|
StartEventsDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1220
|
+
StartEventsDetectionJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1132
1221
|
StartEventsDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1133
1222
|
StartEventsDetectionJobResponse.struct_class = Types::StartEventsDetectionJobResponse
|
1134
1223
|
|
@@ -1140,9 +1229,11 @@ module Aws::Comprehend
|
|
1140
1229
|
StartKeyPhrasesDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1141
1230
|
StartKeyPhrasesDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
1142
1231
|
StartKeyPhrasesDetectionJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
1232
|
+
StartKeyPhrasesDetectionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1143
1233
|
StartKeyPhrasesDetectionJobRequest.struct_class = Types::StartKeyPhrasesDetectionJobRequest
|
1144
1234
|
|
1145
1235
|
StartKeyPhrasesDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1236
|
+
StartKeyPhrasesDetectionJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1146
1237
|
StartKeyPhrasesDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1147
1238
|
StartKeyPhrasesDetectionJobResponse.struct_class = Types::StartKeyPhrasesDetectionJobResponse
|
1148
1239
|
|
@@ -1154,9 +1245,11 @@ module Aws::Comprehend
|
|
1154
1245
|
StartPiiEntitiesDetectionJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
1155
1246
|
StartPiiEntitiesDetectionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
1156
1247
|
StartPiiEntitiesDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1248
|
+
StartPiiEntitiesDetectionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1157
1249
|
StartPiiEntitiesDetectionJobRequest.struct_class = Types::StartPiiEntitiesDetectionJobRequest
|
1158
1250
|
|
1159
1251
|
StartPiiEntitiesDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1252
|
+
StartPiiEntitiesDetectionJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1160
1253
|
StartPiiEntitiesDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1161
1254
|
StartPiiEntitiesDetectionJobResponse.struct_class = Types::StartPiiEntitiesDetectionJobResponse
|
1162
1255
|
|
@@ -1168,9 +1261,11 @@ module Aws::Comprehend
|
|
1168
1261
|
StartSentimentDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1169
1262
|
StartSentimentDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
1170
1263
|
StartSentimentDetectionJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
1264
|
+
StartSentimentDetectionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1171
1265
|
StartSentimentDetectionJobRequest.struct_class = Types::StartSentimentDetectionJobRequest
|
1172
1266
|
|
1173
1267
|
StartSentimentDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1268
|
+
StartSentimentDetectionJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1174
1269
|
StartSentimentDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1175
1270
|
StartSentimentDetectionJobResponse.struct_class = Types::StartSentimentDetectionJobResponse
|
1176
1271
|
|
@@ -1182,9 +1277,11 @@ module Aws::Comprehend
|
|
1182
1277
|
StartTopicsDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1183
1278
|
StartTopicsDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
1184
1279
|
StartTopicsDetectionJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
1280
|
+
StartTopicsDetectionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1185
1281
|
StartTopicsDetectionJobRequest.struct_class = Types::StartTopicsDetectionJobRequest
|
1186
1282
|
|
1187
1283
|
StartTopicsDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1284
|
+
StartTopicsDetectionJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1188
1285
|
StartTopicsDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1189
1286
|
StartTopicsDetectionJobResponse.struct_class = Types::StartTopicsDetectionJobResponse
|
1190
1287
|
|
@@ -1284,6 +1381,7 @@ module Aws::Comprehend
|
|
1284
1381
|
TopicsDetectionJobFilter.struct_class = Types::TopicsDetectionJobFilter
|
1285
1382
|
|
1286
1383
|
TopicsDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1384
|
+
TopicsDetectionJobProperties.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1287
1385
|
TopicsDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
1288
1386
|
TopicsDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1289
1387
|
TopicsDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
@@ -1309,7 +1407,9 @@ module Aws::Comprehend
|
|
1309
1407
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
1310
1408
|
|
1311
1409
|
UpdateEndpointRequest.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: ComprehendEndpointArn, required: true, location_name: "EndpointArn"))
|
1312
|
-
UpdateEndpointRequest.add_member(:
|
1410
|
+
UpdateEndpointRequest.add_member(:desired_model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "DesiredModelArn"))
|
1411
|
+
UpdateEndpointRequest.add_member(:desired_inference_units, Shapes::ShapeRef.new(shape: InferenceUnitsInteger, location_name: "DesiredInferenceUnits"))
|
1412
|
+
UpdateEndpointRequest.add_member(:desired_data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DesiredDataAccessRoleArn"))
|
1313
1413
|
UpdateEndpointRequest.struct_class = Types::UpdateEndpointRequest
|
1314
1414
|
|
1315
1415
|
UpdateEndpointResponse.struct_class = Types::UpdateEndpointResponse
|
@@ -1736,6 +1836,23 @@ module Aws::Comprehend
|
|
1736
1836
|
)
|
1737
1837
|
end)
|
1738
1838
|
|
1839
|
+
api.add_operation(:list_document_classifier_summaries, Seahorse::Model::Operation.new.tap do |o|
|
1840
|
+
o.name = "ListDocumentClassifierSummaries"
|
1841
|
+
o.http_method = "POST"
|
1842
|
+
o.http_request_uri = "/"
|
1843
|
+
o.input = Shapes::ShapeRef.new(shape: ListDocumentClassifierSummariesRequest)
|
1844
|
+
o.output = Shapes::ShapeRef.new(shape: ListDocumentClassifierSummariesResponse)
|
1845
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1846
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1847
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1848
|
+
o[:pager] = Aws::Pager.new(
|
1849
|
+
limit_key: "max_results",
|
1850
|
+
tokens: {
|
1851
|
+
"next_token" => "next_token"
|
1852
|
+
}
|
1853
|
+
)
|
1854
|
+
end)
|
1855
|
+
|
1739
1856
|
api.add_operation(:list_document_classifiers, Seahorse::Model::Operation.new.tap do |o|
|
1740
1857
|
o.name = "ListDocumentClassifiers"
|
1741
1858
|
o.http_method = "POST"
|
@@ -1801,6 +1918,23 @@ module Aws::Comprehend
|
|
1801
1918
|
)
|
1802
1919
|
end)
|
1803
1920
|
|
1921
|
+
api.add_operation(:list_entity_recognizer_summaries, Seahorse::Model::Operation.new.tap do |o|
|
1922
|
+
o.name = "ListEntityRecognizerSummaries"
|
1923
|
+
o.http_method = "POST"
|
1924
|
+
o.http_request_uri = "/"
|
1925
|
+
o.input = Shapes::ShapeRef.new(shape: ListEntityRecognizerSummariesRequest)
|
1926
|
+
o.output = Shapes::ShapeRef.new(shape: ListEntityRecognizerSummariesResponse)
|
1927
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1928
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1929
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1930
|
+
o[:pager] = Aws::Pager.new(
|
1931
|
+
limit_key: "max_results",
|
1932
|
+
tokens: {
|
1933
|
+
"next_token" => "next_token"
|
1934
|
+
}
|
1935
|
+
)
|
1936
|
+
end)
|
1937
|
+
|
1804
1938
|
api.add_operation(:list_entity_recognizers, Seahorse::Model::Operation.new.tap do |o|
|
1805
1939
|
o.name = "ListEntityRecognizers"
|
1806
1940
|
o.http_method = "POST"
|
@@ -1925,6 +2059,7 @@ module Aws::Comprehend
|
|
1925
2059
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1926
2060
|
o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
|
1927
2061
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
2062
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1928
2063
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1929
2064
|
end)
|
1930
2065
|
|
@@ -1937,6 +2072,7 @@ module Aws::Comprehend
|
|
1937
2072
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1938
2073
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1939
2074
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
2075
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1940
2076
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1941
2077
|
end)
|
1942
2078
|
|
@@ -1951,6 +2087,7 @@ module Aws::Comprehend
|
|
1951
2087
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1952
2088
|
o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
|
1953
2089
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
2090
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1954
2091
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1955
2092
|
end)
|
1956
2093
|
|
@@ -1963,6 +2100,7 @@ module Aws::Comprehend
|
|
1963
2100
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1964
2101
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1965
2102
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
2103
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1966
2104
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1967
2105
|
end)
|
1968
2106
|
|
@@ -1975,6 +2113,7 @@ module Aws::Comprehend
|
|
1975
2113
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1976
2114
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1977
2115
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
2116
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1978
2117
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1979
2118
|
end)
|
1980
2119
|
|
@@ -1987,6 +2126,7 @@ module Aws::Comprehend
|
|
1987
2126
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1988
2127
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1989
2128
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
2129
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1990
2130
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1991
2131
|
end)
|
1992
2132
|
|
@@ -1999,6 +2139,7 @@ module Aws::Comprehend
|
|
1999
2139
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2000
2140
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2001
2141
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
2142
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
2002
2143
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2003
2144
|
end)
|
2004
2145
|
|
@@ -2011,6 +2152,7 @@ module Aws::Comprehend
|
|
2011
2152
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2012
2153
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2013
2154
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
2155
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
2014
2156
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2015
2157
|
end)
|
2016
2158
|
|