aws-sdk-comprehend 1.38.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/lib/aws-sdk-comprehend.rb +1 -1
- data/lib/aws-sdk-comprehend/client.rb +493 -3
- data/lib/aws-sdk-comprehend/client_api.rb +312 -2
- data/lib/aws-sdk-comprehend/types.rb +1008 -41
- metadata +4 -4
@@ -14,6 +14,9 @@ module Aws::Comprehend
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
AnyLengthString = Shapes::StringShape.new(name: 'AnyLengthString')
|
17
|
+
AttributeNamesList = Shapes::ListShape.new(name: 'AttributeNamesList')
|
18
|
+
AttributeNamesListItem = Shapes::StringShape.new(name: 'AttributeNamesListItem')
|
19
|
+
AugmentedManifestsListItem = Shapes::StructureShape.new(name: 'AugmentedManifestsListItem')
|
17
20
|
BatchDetectDominantLanguageItemResult = Shapes::StructureShape.new(name: 'BatchDetectDominantLanguageItemResult')
|
18
21
|
BatchDetectDominantLanguageRequest = Shapes::StructureShape.new(name: 'BatchDetectDominantLanguageRequest')
|
19
22
|
BatchDetectDominantLanguageResponse = Shapes::StructureShape.new(name: 'BatchDetectDominantLanguageResponse')
|
@@ -69,8 +72,12 @@ module Aws::Comprehend
|
|
69
72
|
DescribeEntitiesDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribeEntitiesDetectionJobResponse')
|
70
73
|
DescribeEntityRecognizerRequest = Shapes::StructureShape.new(name: 'DescribeEntityRecognizerRequest')
|
71
74
|
DescribeEntityRecognizerResponse = Shapes::StructureShape.new(name: 'DescribeEntityRecognizerResponse')
|
75
|
+
DescribeEventsDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribeEventsDetectionJobRequest')
|
76
|
+
DescribeEventsDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribeEventsDetectionJobResponse')
|
72
77
|
DescribeKeyPhrasesDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribeKeyPhrasesDetectionJobRequest')
|
73
78
|
DescribeKeyPhrasesDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribeKeyPhrasesDetectionJobResponse')
|
79
|
+
DescribePiiEntitiesDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribePiiEntitiesDetectionJobRequest')
|
80
|
+
DescribePiiEntitiesDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribePiiEntitiesDetectionJobResponse')
|
74
81
|
DescribeSentimentDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribeSentimentDetectionJobRequest')
|
75
82
|
DescribeSentimentDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribeSentimentDetectionJobResponse')
|
76
83
|
DescribeTopicsDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribeTopicsDetectionJobRequest')
|
@@ -81,6 +88,8 @@ module Aws::Comprehend
|
|
81
88
|
DetectEntitiesResponse = Shapes::StructureShape.new(name: 'DetectEntitiesResponse')
|
82
89
|
DetectKeyPhrasesRequest = Shapes::StructureShape.new(name: 'DetectKeyPhrasesRequest')
|
83
90
|
DetectKeyPhrasesResponse = Shapes::StructureShape.new(name: 'DetectKeyPhrasesResponse')
|
91
|
+
DetectPiiEntitiesRequest = Shapes::StructureShape.new(name: 'DetectPiiEntitiesRequest')
|
92
|
+
DetectPiiEntitiesResponse = Shapes::StructureShape.new(name: 'DetectPiiEntitiesResponse')
|
84
93
|
DetectSentimentRequest = Shapes::StructureShape.new(name: 'DetectSentimentRequest')
|
85
94
|
DetectSentimentResponse = Shapes::StructureShape.new(name: 'DetectSentimentResponse')
|
86
95
|
DetectSyntaxRequest = Shapes::StructureShape.new(name: 'DetectSyntaxRequest')
|
@@ -90,6 +99,8 @@ module Aws::Comprehend
|
|
90
99
|
DocumentClassificationJobProperties = Shapes::StructureShape.new(name: 'DocumentClassificationJobProperties')
|
91
100
|
DocumentClassificationJobPropertiesList = Shapes::ListShape.new(name: 'DocumentClassificationJobPropertiesList')
|
92
101
|
DocumentClassifierArn = Shapes::StringShape.new(name: 'DocumentClassifierArn')
|
102
|
+
DocumentClassifierAugmentedManifestsList = Shapes::ListShape.new(name: 'DocumentClassifierAugmentedManifestsList')
|
103
|
+
DocumentClassifierDataFormat = Shapes::StringShape.new(name: 'DocumentClassifierDataFormat')
|
93
104
|
DocumentClassifierEndpointArn = Shapes::StringShape.new(name: 'DocumentClassifierEndpointArn')
|
94
105
|
DocumentClassifierFilter = Shapes::StructureShape.new(name: 'DocumentClassifierFilter')
|
95
106
|
DocumentClassifierInputDataConfig = Shapes::StructureShape.new(name: 'DocumentClassifierInputDataConfig')
|
@@ -113,6 +124,8 @@ module Aws::Comprehend
|
|
113
124
|
Entity = Shapes::StructureShape.new(name: 'Entity')
|
114
125
|
EntityRecognizerAnnotations = Shapes::StructureShape.new(name: 'EntityRecognizerAnnotations')
|
115
126
|
EntityRecognizerArn = Shapes::StringShape.new(name: 'EntityRecognizerArn')
|
127
|
+
EntityRecognizerAugmentedManifestsList = Shapes::ListShape.new(name: 'EntityRecognizerAugmentedManifestsList')
|
128
|
+
EntityRecognizerDataFormat = Shapes::StringShape.new(name: 'EntityRecognizerDataFormat')
|
116
129
|
EntityRecognizerDocuments = Shapes::StructureShape.new(name: 'EntityRecognizerDocuments')
|
117
130
|
EntityRecognizerEndpointArn = Shapes::StringShape.new(name: 'EntityRecognizerEndpointArn')
|
118
131
|
EntityRecognizerEntityList = Shapes::StructureShape.new(name: 'EntityRecognizerEntityList')
|
@@ -129,6 +142,10 @@ module Aws::Comprehend
|
|
129
142
|
EntityTypesEvaluationMetrics = Shapes::StructureShape.new(name: 'EntityTypesEvaluationMetrics')
|
130
143
|
EntityTypesList = Shapes::ListShape.new(name: 'EntityTypesList')
|
131
144
|
EntityTypesListItem = Shapes::StructureShape.new(name: 'EntityTypesListItem')
|
145
|
+
EventTypeString = Shapes::StringShape.new(name: 'EventTypeString')
|
146
|
+
EventsDetectionJobFilter = Shapes::StructureShape.new(name: 'EventsDetectionJobFilter')
|
147
|
+
EventsDetectionJobProperties = Shapes::StructureShape.new(name: 'EventsDetectionJobProperties')
|
148
|
+
EventsDetectionJobPropertiesList = Shapes::ListShape.new(name: 'EventsDetectionJobPropertiesList')
|
132
149
|
Float = Shapes::FloatShape.new(name: 'Float')
|
133
150
|
IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
|
134
151
|
InferenceUnitsInteger = Shapes::IntegerShape.new(name: 'InferenceUnitsInteger')
|
@@ -162,6 +179,8 @@ module Aws::Comprehend
|
|
162
179
|
ListEntitiesDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListEntitiesDetectionJobsResponse')
|
163
180
|
ListEntityRecognizersRequest = Shapes::StructureShape.new(name: 'ListEntityRecognizersRequest')
|
164
181
|
ListEntityRecognizersResponse = Shapes::StructureShape.new(name: 'ListEntityRecognizersResponse')
|
182
|
+
ListEventsDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListEventsDetectionJobsRequest')
|
183
|
+
ListEventsDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListEventsDetectionJobsResponse')
|
165
184
|
ListKeyPhrasesDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListKeyPhrasesDetectionJobsRequest')
|
166
185
|
ListKeyPhrasesDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListKeyPhrasesDetectionJobsResponse')
|
167
186
|
ListOfClasses = Shapes::ListShape.new(name: 'ListOfClasses')
|
@@ -174,19 +193,33 @@ module Aws::Comprehend
|
|
174
193
|
ListOfEntities = Shapes::ListShape.new(name: 'ListOfEntities')
|
175
194
|
ListOfKeyPhrases = Shapes::ListShape.new(name: 'ListOfKeyPhrases')
|
176
195
|
ListOfLabels = Shapes::ListShape.new(name: 'ListOfLabels')
|
196
|
+
ListOfPiiEntities = Shapes::ListShape.new(name: 'ListOfPiiEntities')
|
197
|
+
ListOfPiiEntityTypes = Shapes::ListShape.new(name: 'ListOfPiiEntityTypes')
|
177
198
|
ListOfSyntaxTokens = Shapes::ListShape.new(name: 'ListOfSyntaxTokens')
|
199
|
+
ListPiiEntitiesDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListPiiEntitiesDetectionJobsRequest')
|
200
|
+
ListPiiEntitiesDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListPiiEntitiesDetectionJobsResponse')
|
178
201
|
ListSentimentDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListSentimentDetectionJobsRequest')
|
179
202
|
ListSentimentDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListSentimentDetectionJobsResponse')
|
180
203
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
181
204
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
182
205
|
ListTopicsDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListTopicsDetectionJobsRequest')
|
183
206
|
ListTopicsDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListTopicsDetectionJobsResponse')
|
207
|
+
MaskCharacter = Shapes::StringShape.new(name: 'MaskCharacter')
|
184
208
|
MaxResultsInteger = Shapes::IntegerShape.new(name: 'MaxResultsInteger')
|
185
209
|
ModelStatus = Shapes::StringShape.new(name: 'ModelStatus')
|
186
210
|
NumberOfTopicsInteger = Shapes::IntegerShape.new(name: 'NumberOfTopicsInteger')
|
187
211
|
OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig')
|
188
212
|
PartOfSpeechTag = Shapes::StructureShape.new(name: 'PartOfSpeechTag')
|
189
213
|
PartOfSpeechTagType = Shapes::StringShape.new(name: 'PartOfSpeechTagType')
|
214
|
+
PiiEntitiesDetectionJobFilter = Shapes::StructureShape.new(name: 'PiiEntitiesDetectionJobFilter')
|
215
|
+
PiiEntitiesDetectionJobProperties = Shapes::StructureShape.new(name: 'PiiEntitiesDetectionJobProperties')
|
216
|
+
PiiEntitiesDetectionJobPropertiesList = Shapes::ListShape.new(name: 'PiiEntitiesDetectionJobPropertiesList')
|
217
|
+
PiiEntitiesDetectionMaskMode = Shapes::StringShape.new(name: 'PiiEntitiesDetectionMaskMode')
|
218
|
+
PiiEntitiesDetectionMode = Shapes::StringShape.new(name: 'PiiEntitiesDetectionMode')
|
219
|
+
PiiEntity = Shapes::StructureShape.new(name: 'PiiEntity')
|
220
|
+
PiiEntityType = Shapes::StringShape.new(name: 'PiiEntityType')
|
221
|
+
PiiOutputDataConfig = Shapes::StructureShape.new(name: 'PiiOutputDataConfig')
|
222
|
+
RedactionConfig = Shapes::StructureShape.new(name: 'RedactionConfig')
|
190
223
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
191
224
|
ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
|
192
225
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
@@ -205,8 +238,12 @@ module Aws::Comprehend
|
|
205
238
|
StartDominantLanguageDetectionJobResponse = Shapes::StructureShape.new(name: 'StartDominantLanguageDetectionJobResponse')
|
206
239
|
StartEntitiesDetectionJobRequest = Shapes::StructureShape.new(name: 'StartEntitiesDetectionJobRequest')
|
207
240
|
StartEntitiesDetectionJobResponse = Shapes::StructureShape.new(name: 'StartEntitiesDetectionJobResponse')
|
241
|
+
StartEventsDetectionJobRequest = Shapes::StructureShape.new(name: 'StartEventsDetectionJobRequest')
|
242
|
+
StartEventsDetectionJobResponse = Shapes::StructureShape.new(name: 'StartEventsDetectionJobResponse')
|
208
243
|
StartKeyPhrasesDetectionJobRequest = Shapes::StructureShape.new(name: 'StartKeyPhrasesDetectionJobRequest')
|
209
244
|
StartKeyPhrasesDetectionJobResponse = Shapes::StructureShape.new(name: 'StartKeyPhrasesDetectionJobResponse')
|
245
|
+
StartPiiEntitiesDetectionJobRequest = Shapes::StructureShape.new(name: 'StartPiiEntitiesDetectionJobRequest')
|
246
|
+
StartPiiEntitiesDetectionJobResponse = Shapes::StructureShape.new(name: 'StartPiiEntitiesDetectionJobResponse')
|
210
247
|
StartSentimentDetectionJobRequest = Shapes::StructureShape.new(name: 'StartSentimentDetectionJobRequest')
|
211
248
|
StartSentimentDetectionJobResponse = Shapes::StructureShape.new(name: 'StartSentimentDetectionJobResponse')
|
212
249
|
StartTopicsDetectionJobRequest = Shapes::StructureShape.new(name: 'StartTopicsDetectionJobRequest')
|
@@ -215,8 +252,12 @@ module Aws::Comprehend
|
|
215
252
|
StopDominantLanguageDetectionJobResponse = Shapes::StructureShape.new(name: 'StopDominantLanguageDetectionJobResponse')
|
216
253
|
StopEntitiesDetectionJobRequest = Shapes::StructureShape.new(name: 'StopEntitiesDetectionJobRequest')
|
217
254
|
StopEntitiesDetectionJobResponse = Shapes::StructureShape.new(name: 'StopEntitiesDetectionJobResponse')
|
255
|
+
StopEventsDetectionJobRequest = Shapes::StructureShape.new(name: 'StopEventsDetectionJobRequest')
|
256
|
+
StopEventsDetectionJobResponse = Shapes::StructureShape.new(name: 'StopEventsDetectionJobResponse')
|
218
257
|
StopKeyPhrasesDetectionJobRequest = Shapes::StructureShape.new(name: 'StopKeyPhrasesDetectionJobRequest')
|
219
258
|
StopKeyPhrasesDetectionJobResponse = Shapes::StructureShape.new(name: 'StopKeyPhrasesDetectionJobResponse')
|
259
|
+
StopPiiEntitiesDetectionJobRequest = Shapes::StructureShape.new(name: 'StopPiiEntitiesDetectionJobRequest')
|
260
|
+
StopPiiEntitiesDetectionJobResponse = Shapes::StructureShape.new(name: 'StopPiiEntitiesDetectionJobResponse')
|
220
261
|
StopSentimentDetectionJobRequest = Shapes::StructureShape.new(name: 'StopSentimentDetectionJobRequest')
|
221
262
|
StopSentimentDetectionJobResponse = Shapes::StructureShape.new(name: 'StopSentimentDetectionJobResponse')
|
222
263
|
StopTrainingDocumentClassifierRequest = Shapes::StructureShape.new(name: 'StopTrainingDocumentClassifierRequest')
|
@@ -235,6 +276,7 @@ module Aws::Comprehend
|
|
235
276
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
236
277
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
237
278
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
279
|
+
TargetEventTypes = Shapes::ListShape.new(name: 'TargetEventTypes')
|
238
280
|
TextSizeLimitExceededException = Shapes::StructureShape.new(name: 'TextSizeLimitExceededException')
|
239
281
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
240
282
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
@@ -250,6 +292,12 @@ module Aws::Comprehend
|
|
250
292
|
UpdateEndpointResponse = Shapes::StructureShape.new(name: 'UpdateEndpointResponse')
|
251
293
|
VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
|
252
294
|
|
295
|
+
AttributeNamesList.member = Shapes::ShapeRef.new(shape: AttributeNamesListItem)
|
296
|
+
|
297
|
+
AugmentedManifestsListItem.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
|
298
|
+
AugmentedManifestsListItem.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNamesList, required: true, location_name: "AttributeNames"))
|
299
|
+
AugmentedManifestsListItem.struct_class = Types::AugmentedManifestsListItem
|
300
|
+
|
253
301
|
BatchDetectDominantLanguageItemResult.add_member(:index, Shapes::ShapeRef.new(shape: Integer, location_name: "Index"))
|
254
302
|
BatchDetectDominantLanguageItemResult.add_member(:languages, Shapes::ShapeRef.new(shape: ListOfDominantLanguages, location_name: "Languages"))
|
255
303
|
BatchDetectDominantLanguageItemResult.struct_class = Types::BatchDetectDominantLanguageItemResult
|
@@ -438,12 +486,24 @@ module Aws::Comprehend
|
|
438
486
|
DescribeEntityRecognizerResponse.add_member(:entity_recognizer_properties, Shapes::ShapeRef.new(shape: EntityRecognizerProperties, location_name: "EntityRecognizerProperties"))
|
439
487
|
DescribeEntityRecognizerResponse.struct_class = Types::DescribeEntityRecognizerResponse
|
440
488
|
|
489
|
+
DescribeEventsDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
490
|
+
DescribeEventsDetectionJobRequest.struct_class = Types::DescribeEventsDetectionJobRequest
|
491
|
+
|
492
|
+
DescribeEventsDetectionJobResponse.add_member(:events_detection_job_properties, Shapes::ShapeRef.new(shape: EventsDetectionJobProperties, location_name: "EventsDetectionJobProperties"))
|
493
|
+
DescribeEventsDetectionJobResponse.struct_class = Types::DescribeEventsDetectionJobResponse
|
494
|
+
|
441
495
|
DescribeKeyPhrasesDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
442
496
|
DescribeKeyPhrasesDetectionJobRequest.struct_class = Types::DescribeKeyPhrasesDetectionJobRequest
|
443
497
|
|
444
498
|
DescribeKeyPhrasesDetectionJobResponse.add_member(:key_phrases_detection_job_properties, Shapes::ShapeRef.new(shape: KeyPhrasesDetectionJobProperties, location_name: "KeyPhrasesDetectionJobProperties"))
|
445
499
|
DescribeKeyPhrasesDetectionJobResponse.struct_class = Types::DescribeKeyPhrasesDetectionJobResponse
|
446
500
|
|
501
|
+
DescribePiiEntitiesDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
502
|
+
DescribePiiEntitiesDetectionJobRequest.struct_class = Types::DescribePiiEntitiesDetectionJobRequest
|
503
|
+
|
504
|
+
DescribePiiEntitiesDetectionJobResponse.add_member(:pii_entities_detection_job_properties, Shapes::ShapeRef.new(shape: PiiEntitiesDetectionJobProperties, location_name: "PiiEntitiesDetectionJobProperties"))
|
505
|
+
DescribePiiEntitiesDetectionJobResponse.struct_class = Types::DescribePiiEntitiesDetectionJobResponse
|
506
|
+
|
447
507
|
DescribeSentimentDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
448
508
|
DescribeSentimentDetectionJobRequest.struct_class = Types::DescribeSentimentDetectionJobRequest
|
449
509
|
|
@@ -477,6 +537,13 @@ module Aws::Comprehend
|
|
477
537
|
DetectKeyPhrasesResponse.add_member(:key_phrases, Shapes::ShapeRef.new(shape: ListOfKeyPhrases, location_name: "KeyPhrases"))
|
478
538
|
DetectKeyPhrasesResponse.struct_class = Types::DetectKeyPhrasesResponse
|
479
539
|
|
540
|
+
DetectPiiEntitiesRequest.add_member(:text, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Text"))
|
541
|
+
DetectPiiEntitiesRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
542
|
+
DetectPiiEntitiesRequest.struct_class = Types::DetectPiiEntitiesRequest
|
543
|
+
|
544
|
+
DetectPiiEntitiesResponse.add_member(:entities, Shapes::ShapeRef.new(shape: ListOfPiiEntities, location_name: "Entities"))
|
545
|
+
DetectPiiEntitiesResponse.struct_class = Types::DetectPiiEntitiesResponse
|
546
|
+
|
480
547
|
DetectSentimentRequest.add_member(:text, Shapes::ShapeRef.new(shape: CustomerInputString, required: true, location_name: "Text"))
|
481
548
|
DetectSentimentRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
482
549
|
DetectSentimentRequest.struct_class = Types::DetectSentimentRequest
|
@@ -518,13 +585,17 @@ module Aws::Comprehend
|
|
518
585
|
|
519
586
|
DocumentClassificationJobPropertiesList.member = Shapes::ShapeRef.new(shape: DocumentClassificationJobProperties)
|
520
587
|
|
588
|
+
DocumentClassifierAugmentedManifestsList.member = Shapes::ShapeRef.new(shape: AugmentedManifestsListItem)
|
589
|
+
|
521
590
|
DocumentClassifierFilter.add_member(:status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "Status"))
|
522
591
|
DocumentClassifierFilter.add_member(:submit_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeBefore"))
|
523
592
|
DocumentClassifierFilter.add_member(:submit_time_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeAfter"))
|
524
593
|
DocumentClassifierFilter.struct_class = Types::DocumentClassifierFilter
|
525
594
|
|
526
|
-
DocumentClassifierInputDataConfig.add_member(:
|
595
|
+
DocumentClassifierInputDataConfig.add_member(:data_format, Shapes::ShapeRef.new(shape: DocumentClassifierDataFormat, location_name: "DataFormat"))
|
596
|
+
DocumentClassifierInputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "S3Uri"))
|
527
597
|
DocumentClassifierInputDataConfig.add_member(:label_delimiter, Shapes::ShapeRef.new(shape: LabelDelimiter, location_name: "LabelDelimiter"))
|
598
|
+
DocumentClassifierInputDataConfig.add_member(:augmented_manifests, Shapes::ShapeRef.new(shape: DocumentClassifierAugmentedManifestsList, location_name: "AugmentedManifests"))
|
528
599
|
DocumentClassifierInputDataConfig.struct_class = Types::DocumentClassifierInputDataConfig
|
529
600
|
|
530
601
|
DocumentClassifierOutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "S3Uri"))
|
@@ -630,6 +701,8 @@ module Aws::Comprehend
|
|
630
701
|
EntityRecognizerAnnotations.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
|
631
702
|
EntityRecognizerAnnotations.struct_class = Types::EntityRecognizerAnnotations
|
632
703
|
|
704
|
+
EntityRecognizerAugmentedManifestsList.member = Shapes::ShapeRef.new(shape: AugmentedManifestsListItem)
|
705
|
+
|
633
706
|
EntityRecognizerDocuments.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
|
634
707
|
EntityRecognizerDocuments.struct_class = Types::EntityRecognizerDocuments
|
635
708
|
|
@@ -646,10 +719,12 @@ module Aws::Comprehend
|
|
646
719
|
EntityRecognizerFilter.add_member(:submit_time_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeAfter"))
|
647
720
|
EntityRecognizerFilter.struct_class = Types::EntityRecognizerFilter
|
648
721
|
|
722
|
+
EntityRecognizerInputDataConfig.add_member(:data_format, Shapes::ShapeRef.new(shape: EntityRecognizerDataFormat, location_name: "DataFormat"))
|
649
723
|
EntityRecognizerInputDataConfig.add_member(:entity_types, Shapes::ShapeRef.new(shape: EntityTypesList, required: true, location_name: "EntityTypes"))
|
650
|
-
EntityRecognizerInputDataConfig.add_member(:documents, Shapes::ShapeRef.new(shape: EntityRecognizerDocuments,
|
724
|
+
EntityRecognizerInputDataConfig.add_member(:documents, Shapes::ShapeRef.new(shape: EntityRecognizerDocuments, location_name: "Documents"))
|
651
725
|
EntityRecognizerInputDataConfig.add_member(:annotations, Shapes::ShapeRef.new(shape: EntityRecognizerAnnotations, location_name: "Annotations"))
|
652
726
|
EntityRecognizerInputDataConfig.add_member(:entity_list, Shapes::ShapeRef.new(shape: EntityRecognizerEntityList, location_name: "EntityList"))
|
727
|
+
EntityRecognizerInputDataConfig.add_member(:augmented_manifests, Shapes::ShapeRef.new(shape: EntityRecognizerAugmentedManifestsList, location_name: "AugmentedManifests"))
|
653
728
|
EntityRecognizerInputDataConfig.struct_class = Types::EntityRecognizerInputDataConfig
|
654
729
|
|
655
730
|
EntityRecognizerMetadata.add_member(:number_of_trained_documents, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfTrainedDocuments"))
|
@@ -692,6 +767,27 @@ module Aws::Comprehend
|
|
692
767
|
EntityTypesListItem.add_member(:type, Shapes::ShapeRef.new(shape: EntityTypeName, required: true, location_name: "Type"))
|
693
768
|
EntityTypesListItem.struct_class = Types::EntityTypesListItem
|
694
769
|
|
770
|
+
EventsDetectionJobFilter.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
771
|
+
EventsDetectionJobFilter.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
772
|
+
EventsDetectionJobFilter.add_member(:submit_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeBefore"))
|
773
|
+
EventsDetectionJobFilter.add_member(:submit_time_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeAfter"))
|
774
|
+
EventsDetectionJobFilter.struct_class = Types::EventsDetectionJobFilter
|
775
|
+
|
776
|
+
EventsDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
777
|
+
EventsDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
778
|
+
EventsDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
779
|
+
EventsDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
780
|
+
EventsDetectionJobProperties.add_member(:submit_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTime"))
|
781
|
+
EventsDetectionJobProperties.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
782
|
+
EventsDetectionJobProperties.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
|
783
|
+
EventsDetectionJobProperties.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "OutputDataConfig"))
|
784
|
+
EventsDetectionJobProperties.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
785
|
+
EventsDetectionJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
|
786
|
+
EventsDetectionJobProperties.add_member(:target_event_types, Shapes::ShapeRef.new(shape: TargetEventTypes, location_name: "TargetEventTypes"))
|
787
|
+
EventsDetectionJobProperties.struct_class = Types::EventsDetectionJobProperties
|
788
|
+
|
789
|
+
EventsDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: EventsDetectionJobProperties)
|
790
|
+
|
695
791
|
InputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
|
696
792
|
InputDataConfig.add_member(:input_format, Shapes::ShapeRef.new(shape: InputFormat, location_name: "InputFormat"))
|
697
793
|
InputDataConfig.struct_class = Types::InputDataConfig
|
@@ -793,6 +889,15 @@ module Aws::Comprehend
|
|
793
889
|
ListEntityRecognizersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
794
890
|
ListEntityRecognizersResponse.struct_class = Types::ListEntityRecognizersResponse
|
795
891
|
|
892
|
+
ListEventsDetectionJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: EventsDetectionJobFilter, location_name: "Filter"))
|
893
|
+
ListEventsDetectionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
894
|
+
ListEventsDetectionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
895
|
+
ListEventsDetectionJobsRequest.struct_class = Types::ListEventsDetectionJobsRequest
|
896
|
+
|
897
|
+
ListEventsDetectionJobsResponse.add_member(:events_detection_job_properties_list, Shapes::ShapeRef.new(shape: EventsDetectionJobPropertiesList, location_name: "EventsDetectionJobPropertiesList"))
|
898
|
+
ListEventsDetectionJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
899
|
+
ListEventsDetectionJobsResponse.struct_class = Types::ListEventsDetectionJobsResponse
|
900
|
+
|
796
901
|
ListKeyPhrasesDetectionJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: KeyPhrasesDetectionJobFilter, location_name: "Filter"))
|
797
902
|
ListKeyPhrasesDetectionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
798
903
|
ListKeyPhrasesDetectionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
@@ -822,8 +927,21 @@ module Aws::Comprehend
|
|
822
927
|
|
823
928
|
ListOfLabels.member = Shapes::ShapeRef.new(shape: DocumentLabel)
|
824
929
|
|
930
|
+
ListOfPiiEntities.member = Shapes::ShapeRef.new(shape: PiiEntity)
|
931
|
+
|
932
|
+
ListOfPiiEntityTypes.member = Shapes::ShapeRef.new(shape: PiiEntityType)
|
933
|
+
|
825
934
|
ListOfSyntaxTokens.member = Shapes::ShapeRef.new(shape: SyntaxToken)
|
826
935
|
|
936
|
+
ListPiiEntitiesDetectionJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: PiiEntitiesDetectionJobFilter, location_name: "Filter"))
|
937
|
+
ListPiiEntitiesDetectionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
938
|
+
ListPiiEntitiesDetectionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
939
|
+
ListPiiEntitiesDetectionJobsRequest.struct_class = Types::ListPiiEntitiesDetectionJobsRequest
|
940
|
+
|
941
|
+
ListPiiEntitiesDetectionJobsResponse.add_member(:pii_entities_detection_job_properties_list, Shapes::ShapeRef.new(shape: PiiEntitiesDetectionJobPropertiesList, location_name: "PiiEntitiesDetectionJobPropertiesList"))
|
942
|
+
ListPiiEntitiesDetectionJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
943
|
+
ListPiiEntitiesDetectionJobsResponse.struct_class = Types::ListPiiEntitiesDetectionJobsResponse
|
944
|
+
|
827
945
|
ListSentimentDetectionJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: SentimentDetectionJobFilter, location_name: "Filter"))
|
828
946
|
ListSentimentDetectionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
829
947
|
ListSentimentDetectionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
@@ -857,6 +975,43 @@ module Aws::Comprehend
|
|
857
975
|
PartOfSpeechTag.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
|
858
976
|
PartOfSpeechTag.struct_class = Types::PartOfSpeechTag
|
859
977
|
|
978
|
+
PiiEntitiesDetectionJobFilter.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
979
|
+
PiiEntitiesDetectionJobFilter.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
980
|
+
PiiEntitiesDetectionJobFilter.add_member(:submit_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeBefore"))
|
981
|
+
PiiEntitiesDetectionJobFilter.add_member(:submit_time_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeAfter"))
|
982
|
+
PiiEntitiesDetectionJobFilter.struct_class = Types::PiiEntitiesDetectionJobFilter
|
983
|
+
|
984
|
+
PiiEntitiesDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
985
|
+
PiiEntitiesDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
986
|
+
PiiEntitiesDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
987
|
+
PiiEntitiesDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
988
|
+
PiiEntitiesDetectionJobProperties.add_member(:submit_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTime"))
|
989
|
+
PiiEntitiesDetectionJobProperties.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
990
|
+
PiiEntitiesDetectionJobProperties.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
|
991
|
+
PiiEntitiesDetectionJobProperties.add_member(:output_data_config, Shapes::ShapeRef.new(shape: PiiOutputDataConfig, location_name: "OutputDataConfig"))
|
992
|
+
PiiEntitiesDetectionJobProperties.add_member(:redaction_config, Shapes::ShapeRef.new(shape: RedactionConfig, location_name: "RedactionConfig"))
|
993
|
+
PiiEntitiesDetectionJobProperties.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
994
|
+
PiiEntitiesDetectionJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
|
995
|
+
PiiEntitiesDetectionJobProperties.add_member(:mode, Shapes::ShapeRef.new(shape: PiiEntitiesDetectionMode, location_name: "Mode"))
|
996
|
+
PiiEntitiesDetectionJobProperties.struct_class = Types::PiiEntitiesDetectionJobProperties
|
997
|
+
|
998
|
+
PiiEntitiesDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: PiiEntitiesDetectionJobProperties)
|
999
|
+
|
1000
|
+
PiiEntity.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
|
1001
|
+
PiiEntity.add_member(:type, Shapes::ShapeRef.new(shape: PiiEntityType, location_name: "Type"))
|
1002
|
+
PiiEntity.add_member(:begin_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "BeginOffset"))
|
1003
|
+
PiiEntity.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "EndOffset"))
|
1004
|
+
PiiEntity.struct_class = Types::PiiEntity
|
1005
|
+
|
1006
|
+
PiiOutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
|
1007
|
+
PiiOutputDataConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
1008
|
+
PiiOutputDataConfig.struct_class = Types::PiiOutputDataConfig
|
1009
|
+
|
1010
|
+
RedactionConfig.add_member(:pii_entity_types, Shapes::ShapeRef.new(shape: ListOfPiiEntityTypes, location_name: "PiiEntityTypes"))
|
1011
|
+
RedactionConfig.add_member(:mask_mode, Shapes::ShapeRef.new(shape: PiiEntitiesDetectionMaskMode, location_name: "MaskMode"))
|
1012
|
+
RedactionConfig.add_member(:mask_character, Shapes::ShapeRef.new(shape: MaskCharacter, location_name: "MaskCharacter"))
|
1013
|
+
RedactionConfig.struct_class = Types::RedactionConfig
|
1014
|
+
|
860
1015
|
ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
861
1016
|
ResourceInUseException.struct_class = Types::ResourceInUseException
|
862
1017
|
|
@@ -941,6 +1096,19 @@ module Aws::Comprehend
|
|
941
1096
|
StartEntitiesDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
942
1097
|
StartEntitiesDetectionJobResponse.struct_class = Types::StartEntitiesDetectionJobResponse
|
943
1098
|
|
1099
|
+
StartEventsDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
1100
|
+
StartEventsDetectionJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
1101
|
+
StartEventsDetectionJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
1102
|
+
StartEventsDetectionJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
1103
|
+
StartEventsDetectionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
1104
|
+
StartEventsDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1105
|
+
StartEventsDetectionJobRequest.add_member(:target_event_types, Shapes::ShapeRef.new(shape: TargetEventTypes, required: true, location_name: "TargetEventTypes"))
|
1106
|
+
StartEventsDetectionJobRequest.struct_class = Types::StartEventsDetectionJobRequest
|
1107
|
+
|
1108
|
+
StartEventsDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1109
|
+
StartEventsDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1110
|
+
StartEventsDetectionJobResponse.struct_class = Types::StartEventsDetectionJobResponse
|
1111
|
+
|
944
1112
|
StartKeyPhrasesDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
945
1113
|
StartKeyPhrasesDetectionJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
946
1114
|
StartKeyPhrasesDetectionJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
@@ -955,6 +1123,20 @@ module Aws::Comprehend
|
|
955
1123
|
StartKeyPhrasesDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
956
1124
|
StartKeyPhrasesDetectionJobResponse.struct_class = Types::StartKeyPhrasesDetectionJobResponse
|
957
1125
|
|
1126
|
+
StartPiiEntitiesDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
1127
|
+
StartPiiEntitiesDetectionJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
1128
|
+
StartPiiEntitiesDetectionJobRequest.add_member(:mode, Shapes::ShapeRef.new(shape: PiiEntitiesDetectionMode, required: true, location_name: "Mode"))
|
1129
|
+
StartPiiEntitiesDetectionJobRequest.add_member(:redaction_config, Shapes::ShapeRef.new(shape: RedactionConfig, location_name: "RedactionConfig"))
|
1130
|
+
StartPiiEntitiesDetectionJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
1131
|
+
StartPiiEntitiesDetectionJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
1132
|
+
StartPiiEntitiesDetectionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
1133
|
+
StartPiiEntitiesDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1134
|
+
StartPiiEntitiesDetectionJobRequest.struct_class = Types::StartPiiEntitiesDetectionJobRequest
|
1135
|
+
|
1136
|
+
StartPiiEntitiesDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1137
|
+
StartPiiEntitiesDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1138
|
+
StartPiiEntitiesDetectionJobResponse.struct_class = Types::StartPiiEntitiesDetectionJobResponse
|
1139
|
+
|
958
1140
|
StartSentimentDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
959
1141
|
StartSentimentDetectionJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
960
1142
|
StartSentimentDetectionJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
@@ -997,6 +1179,13 @@ module Aws::Comprehend
|
|
997
1179
|
StopEntitiesDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
998
1180
|
StopEntitiesDetectionJobResponse.struct_class = Types::StopEntitiesDetectionJobResponse
|
999
1181
|
|
1182
|
+
StopEventsDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
1183
|
+
StopEventsDetectionJobRequest.struct_class = Types::StopEventsDetectionJobRequest
|
1184
|
+
|
1185
|
+
StopEventsDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1186
|
+
StopEventsDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1187
|
+
StopEventsDetectionJobResponse.struct_class = Types::StopEventsDetectionJobResponse
|
1188
|
+
|
1000
1189
|
StopKeyPhrasesDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
1001
1190
|
StopKeyPhrasesDetectionJobRequest.struct_class = Types::StopKeyPhrasesDetectionJobRequest
|
1002
1191
|
|
@@ -1004,6 +1193,13 @@ module Aws::Comprehend
|
|
1004
1193
|
StopKeyPhrasesDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1005
1194
|
StopKeyPhrasesDetectionJobResponse.struct_class = Types::StopKeyPhrasesDetectionJobResponse
|
1006
1195
|
|
1196
|
+
StopPiiEntitiesDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
1197
|
+
StopPiiEntitiesDetectionJobRequest.struct_class = Types::StopPiiEntitiesDetectionJobRequest
|
1198
|
+
|
1199
|
+
StopPiiEntitiesDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1200
|
+
StopPiiEntitiesDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1201
|
+
StopPiiEntitiesDetectionJobResponse.struct_class = Types::StopPiiEntitiesDetectionJobResponse
|
1202
|
+
|
1007
1203
|
StopSentimentDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
1008
1204
|
StopSentimentDetectionJobRequest.struct_class = Types::StopSentimentDetectionJobRequest
|
1009
1205
|
|
@@ -1044,6 +1240,8 @@ module Aws::Comprehend
|
|
1044
1240
|
|
1045
1241
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
1046
1242
|
|
1243
|
+
TargetEventTypes.member = Shapes::ShapeRef.new(shape: EventTypeString)
|
1244
|
+
|
1047
1245
|
TextSizeLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
1048
1246
|
TextSizeLimitExceededException.struct_class = Types::TextSizeLimitExceededException
|
1049
1247
|
|
@@ -1353,6 +1551,18 @@ module Aws::Comprehend
|
|
1353
1551
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1354
1552
|
end)
|
1355
1553
|
|
1554
|
+
api.add_operation(:describe_events_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
1555
|
+
o.name = "DescribeEventsDetectionJob"
|
1556
|
+
o.http_method = "POST"
|
1557
|
+
o.http_request_uri = "/"
|
1558
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeEventsDetectionJobRequest)
|
1559
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeEventsDetectionJobResponse)
|
1560
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1561
|
+
o.errors << Shapes::ShapeRef.new(shape: JobNotFoundException)
|
1562
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1563
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1564
|
+
end)
|
1565
|
+
|
1356
1566
|
api.add_operation(:describe_key_phrases_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
1357
1567
|
o.name = "DescribeKeyPhrasesDetectionJob"
|
1358
1568
|
o.http_method = "POST"
|
@@ -1365,6 +1575,18 @@ module Aws::Comprehend
|
|
1365
1575
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1366
1576
|
end)
|
1367
1577
|
|
1578
|
+
api.add_operation(:describe_pii_entities_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
1579
|
+
o.name = "DescribePiiEntitiesDetectionJob"
|
1580
|
+
o.http_method = "POST"
|
1581
|
+
o.http_request_uri = "/"
|
1582
|
+
o.input = Shapes::ShapeRef.new(shape: DescribePiiEntitiesDetectionJobRequest)
|
1583
|
+
o.output = Shapes::ShapeRef.new(shape: DescribePiiEntitiesDetectionJobResponse)
|
1584
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1585
|
+
o.errors << Shapes::ShapeRef.new(shape: JobNotFoundException)
|
1586
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1587
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1588
|
+
end)
|
1589
|
+
|
1368
1590
|
api.add_operation(:describe_sentiment_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
1369
1591
|
o.name = "DescribeSentimentDetectionJob"
|
1370
1592
|
o.http_method = "POST"
|
@@ -1425,6 +1647,18 @@ module Aws::Comprehend
|
|
1425
1647
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1426
1648
|
end)
|
1427
1649
|
|
1650
|
+
api.add_operation(:detect_pii_entities, Seahorse::Model::Operation.new.tap do |o|
|
1651
|
+
o.name = "DetectPiiEntities"
|
1652
|
+
o.http_method = "POST"
|
1653
|
+
o.http_request_uri = "/"
|
1654
|
+
o.input = Shapes::ShapeRef.new(shape: DetectPiiEntitiesRequest)
|
1655
|
+
o.output = Shapes::ShapeRef.new(shape: DetectPiiEntitiesResponse)
|
1656
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1657
|
+
o.errors << Shapes::ShapeRef.new(shape: TextSizeLimitExceededException)
|
1658
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedLanguageException)
|
1659
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1660
|
+
end)
|
1661
|
+
|
1428
1662
|
api.add_operation(:detect_sentiment, Seahorse::Model::Operation.new.tap do |o|
|
1429
1663
|
o.name = "DetectSentiment"
|
1430
1664
|
o.http_method = "POST"
|
@@ -1550,6 +1784,24 @@ module Aws::Comprehend
|
|
1550
1784
|
)
|
1551
1785
|
end)
|
1552
1786
|
|
1787
|
+
api.add_operation(:list_events_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1788
|
+
o.name = "ListEventsDetectionJobs"
|
1789
|
+
o.http_method = "POST"
|
1790
|
+
o.http_request_uri = "/"
|
1791
|
+
o.input = Shapes::ShapeRef.new(shape: ListEventsDetectionJobsRequest)
|
1792
|
+
o.output = Shapes::ShapeRef.new(shape: ListEventsDetectionJobsResponse)
|
1793
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1794
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1795
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFilterException)
|
1796
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1797
|
+
o[:pager] = Aws::Pager.new(
|
1798
|
+
limit_key: "max_results",
|
1799
|
+
tokens: {
|
1800
|
+
"next_token" => "next_token"
|
1801
|
+
}
|
1802
|
+
)
|
1803
|
+
end)
|
1804
|
+
|
1553
1805
|
api.add_operation(:list_key_phrases_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1554
1806
|
o.name = "ListKeyPhrasesDetectionJobs"
|
1555
1807
|
o.http_method = "POST"
|
@@ -1568,6 +1820,18 @@ module Aws::Comprehend
|
|
1568
1820
|
)
|
1569
1821
|
end)
|
1570
1822
|
|
1823
|
+
api.add_operation(:list_pii_entities_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1824
|
+
o.name = "ListPiiEntitiesDetectionJobs"
|
1825
|
+
o.http_method = "POST"
|
1826
|
+
o.http_request_uri = "/"
|
1827
|
+
o.input = Shapes::ShapeRef.new(shape: ListPiiEntitiesDetectionJobsRequest)
|
1828
|
+
o.output = Shapes::ShapeRef.new(shape: ListPiiEntitiesDetectionJobsResponse)
|
1829
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1830
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1831
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFilterException)
|
1832
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1833
|
+
end)
|
1834
|
+
|
1571
1835
|
api.add_operation(:list_sentiment_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1572
1836
|
o.name = "ListSentimentDetectionJobs"
|
1573
1837
|
o.http_method = "POST"
|
@@ -1655,6 +1919,18 @@ module Aws::Comprehend
|
|
1655
1919
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1656
1920
|
end)
|
1657
1921
|
|
1922
|
+
api.add_operation(:start_events_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
1923
|
+
o.name = "StartEventsDetectionJob"
|
1924
|
+
o.http_method = "POST"
|
1925
|
+
o.http_request_uri = "/"
|
1926
|
+
o.input = Shapes::ShapeRef.new(shape: StartEventsDetectionJobRequest)
|
1927
|
+
o.output = Shapes::ShapeRef.new(shape: StartEventsDetectionJobResponse)
|
1928
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1929
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1930
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
1931
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1932
|
+
end)
|
1933
|
+
|
1658
1934
|
api.add_operation(:start_key_phrases_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
1659
1935
|
o.name = "StartKeyPhrasesDetectionJob"
|
1660
1936
|
o.http_method = "POST"
|
@@ -1667,6 +1943,18 @@ module Aws::Comprehend
|
|
1667
1943
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1668
1944
|
end)
|
1669
1945
|
|
1946
|
+
api.add_operation(:start_pii_entities_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
1947
|
+
o.name = "StartPiiEntitiesDetectionJob"
|
1948
|
+
o.http_method = "POST"
|
1949
|
+
o.http_request_uri = "/"
|
1950
|
+
o.input = Shapes::ShapeRef.new(shape: StartPiiEntitiesDetectionJobRequest)
|
1951
|
+
o.output = Shapes::ShapeRef.new(shape: StartPiiEntitiesDetectionJobResponse)
|
1952
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1953
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1954
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
1955
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1956
|
+
end)
|
1957
|
+
|
1670
1958
|
api.add_operation(:start_sentiment_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
1671
1959
|
o.name = "StartSentimentDetectionJob"
|
1672
1960
|
o.http_method = "POST"
|
@@ -1713,6 +2001,17 @@ module Aws::Comprehend
|
|
1713
2001
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1714
2002
|
end)
|
1715
2003
|
|
2004
|
+
api.add_operation(:stop_events_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
2005
|
+
o.name = "StopEventsDetectionJob"
|
2006
|
+
o.http_method = "POST"
|
2007
|
+
o.http_request_uri = "/"
|
2008
|
+
o.input = Shapes::ShapeRef.new(shape: StopEventsDetectionJobRequest)
|
2009
|
+
o.output = Shapes::ShapeRef.new(shape: StopEventsDetectionJobResponse)
|
2010
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2011
|
+
o.errors << Shapes::ShapeRef.new(shape: JobNotFoundException)
|
2012
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2013
|
+
end)
|
2014
|
+
|
1716
2015
|
api.add_operation(:stop_key_phrases_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
1717
2016
|
o.name = "StopKeyPhrasesDetectionJob"
|
1718
2017
|
o.http_method = "POST"
|
@@ -1724,6 +2023,17 @@ module Aws::Comprehend
|
|
1724
2023
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1725
2024
|
end)
|
1726
2025
|
|
2026
|
+
api.add_operation(:stop_pii_entities_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
2027
|
+
o.name = "StopPiiEntitiesDetectionJob"
|
2028
|
+
o.http_method = "POST"
|
2029
|
+
o.http_request_uri = "/"
|
2030
|
+
o.input = Shapes::ShapeRef.new(shape: StopPiiEntitiesDetectionJobRequest)
|
2031
|
+
o.output = Shapes::ShapeRef.new(shape: StopPiiEntitiesDetectionJobResponse)
|
2032
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2033
|
+
o.errors << Shapes::ShapeRef.new(shape: JobNotFoundException)
|
2034
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2035
|
+
end)
|
2036
|
+
|
1727
2037
|
api.add_operation(:stop_sentiment_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
1728
2038
|
o.name = "StopSentimentDetectionJob"
|
1729
2039
|
o.http_method = "POST"
|