aws-sdk-comprehend 1.1.0 → 1.2.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 +818 -50
- data/lib/aws-sdk-comprehend/client_api.rb +465 -3
- data/lib/aws-sdk-comprehend/types.rb +1344 -110
- metadata +2 -2
@@ -28,6 +28,14 @@ module Aws::Comprehend
|
|
28
28
|
BatchItemErrorList = Shapes::ListShape.new(name: 'BatchItemErrorList')
|
29
29
|
BatchSizeLimitExceededException = Shapes::StructureShape.new(name: 'BatchSizeLimitExceededException')
|
30
30
|
ClientRequestTokenString = Shapes::StringShape.new(name: 'ClientRequestTokenString')
|
31
|
+
DescribeDominantLanguageDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribeDominantLanguageDetectionJobRequest')
|
32
|
+
DescribeDominantLanguageDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribeDominantLanguageDetectionJobResponse')
|
33
|
+
DescribeEntitiesDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribeEntitiesDetectionJobRequest')
|
34
|
+
DescribeEntitiesDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribeEntitiesDetectionJobResponse')
|
35
|
+
DescribeKeyPhrasesDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribeKeyPhrasesDetectionJobRequest')
|
36
|
+
DescribeKeyPhrasesDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribeKeyPhrasesDetectionJobResponse')
|
37
|
+
DescribeSentimentDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribeSentimentDetectionJobRequest')
|
38
|
+
DescribeSentimentDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribeSentimentDetectionJobResponse')
|
31
39
|
DescribeTopicsDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribeTopicsDetectionJobRequest')
|
32
40
|
DescribeTopicsDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribeTopicsDetectionJobResponse')
|
33
41
|
DetectDominantLanguageRequest = Shapes::StructureShape.new(name: 'DetectDominantLanguageRequest')
|
@@ -39,6 +47,12 @@ module Aws::Comprehend
|
|
39
47
|
DetectSentimentRequest = Shapes::StructureShape.new(name: 'DetectSentimentRequest')
|
40
48
|
DetectSentimentResponse = Shapes::StructureShape.new(name: 'DetectSentimentResponse')
|
41
49
|
DominantLanguage = Shapes::StructureShape.new(name: 'DominantLanguage')
|
50
|
+
DominantLanguageDetectionJobFilter = Shapes::StructureShape.new(name: 'DominantLanguageDetectionJobFilter')
|
51
|
+
DominantLanguageDetectionJobProperties = Shapes::StructureShape.new(name: 'DominantLanguageDetectionJobProperties')
|
52
|
+
DominantLanguageDetectionJobPropertiesList = Shapes::ListShape.new(name: 'DominantLanguageDetectionJobPropertiesList')
|
53
|
+
EntitiesDetectionJobFilter = Shapes::StructureShape.new(name: 'EntitiesDetectionJobFilter')
|
54
|
+
EntitiesDetectionJobProperties = Shapes::StructureShape.new(name: 'EntitiesDetectionJobProperties')
|
55
|
+
EntitiesDetectionJobPropertiesList = Shapes::ListShape.new(name: 'EntitiesDetectionJobPropertiesList')
|
42
56
|
Entity = Shapes::StructureShape.new(name: 'Entity')
|
43
57
|
EntityType = Shapes::StringShape.new(name: 'EntityType')
|
44
58
|
Float = Shapes::FloatShape.new(name: 'Float')
|
@@ -54,7 +68,16 @@ module Aws::Comprehend
|
|
54
68
|
JobNotFoundException = Shapes::StructureShape.new(name: 'JobNotFoundException')
|
55
69
|
JobStatus = Shapes::StringShape.new(name: 'JobStatus')
|
56
70
|
KeyPhrase = Shapes::StructureShape.new(name: 'KeyPhrase')
|
71
|
+
KeyPhrasesDetectionJobFilter = Shapes::StructureShape.new(name: 'KeyPhrasesDetectionJobFilter')
|
72
|
+
KeyPhrasesDetectionJobProperties = Shapes::StructureShape.new(name: 'KeyPhrasesDetectionJobProperties')
|
73
|
+
KeyPhrasesDetectionJobPropertiesList = Shapes::ListShape.new(name: 'KeyPhrasesDetectionJobPropertiesList')
|
57
74
|
LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
|
75
|
+
ListDominantLanguageDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListDominantLanguageDetectionJobsRequest')
|
76
|
+
ListDominantLanguageDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListDominantLanguageDetectionJobsResponse')
|
77
|
+
ListEntitiesDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListEntitiesDetectionJobsRequest')
|
78
|
+
ListEntitiesDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListEntitiesDetectionJobsResponse')
|
79
|
+
ListKeyPhrasesDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListKeyPhrasesDetectionJobsRequest')
|
80
|
+
ListKeyPhrasesDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListKeyPhrasesDetectionJobsResponse')
|
58
81
|
ListOfDetectDominantLanguageResult = Shapes::ListShape.new(name: 'ListOfDetectDominantLanguageResult')
|
59
82
|
ListOfDetectEntitiesResult = Shapes::ListShape.new(name: 'ListOfDetectEntitiesResult')
|
60
83
|
ListOfDetectKeyPhrasesResult = Shapes::ListShape.new(name: 'ListOfDetectKeyPhrasesResult')
|
@@ -62,16 +85,37 @@ module Aws::Comprehend
|
|
62
85
|
ListOfDominantLanguages = Shapes::ListShape.new(name: 'ListOfDominantLanguages')
|
63
86
|
ListOfEntities = Shapes::ListShape.new(name: 'ListOfEntities')
|
64
87
|
ListOfKeyPhrases = Shapes::ListShape.new(name: 'ListOfKeyPhrases')
|
88
|
+
ListSentimentDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListSentimentDetectionJobsRequest')
|
89
|
+
ListSentimentDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListSentimentDetectionJobsResponse')
|
65
90
|
ListTopicsDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListTopicsDetectionJobsRequest')
|
66
91
|
ListTopicsDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListTopicsDetectionJobsResponse')
|
67
92
|
MaxResultsInteger = Shapes::IntegerShape.new(name: 'MaxResultsInteger')
|
68
93
|
NumberOfTopicsInteger = Shapes::IntegerShape.new(name: 'NumberOfTopicsInteger')
|
69
94
|
OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig')
|
70
95
|
S3Uri = Shapes::StringShape.new(name: 'S3Uri')
|
96
|
+
SentimentDetectionJobFilter = Shapes::StructureShape.new(name: 'SentimentDetectionJobFilter')
|
97
|
+
SentimentDetectionJobProperties = Shapes::StructureShape.new(name: 'SentimentDetectionJobProperties')
|
98
|
+
SentimentDetectionJobPropertiesList = Shapes::ListShape.new(name: 'SentimentDetectionJobPropertiesList')
|
71
99
|
SentimentScore = Shapes::StructureShape.new(name: 'SentimentScore')
|
72
100
|
SentimentType = Shapes::StringShape.new(name: 'SentimentType')
|
101
|
+
StartDominantLanguageDetectionJobRequest = Shapes::StructureShape.new(name: 'StartDominantLanguageDetectionJobRequest')
|
102
|
+
StartDominantLanguageDetectionJobResponse = Shapes::StructureShape.new(name: 'StartDominantLanguageDetectionJobResponse')
|
103
|
+
StartEntitiesDetectionJobRequest = Shapes::StructureShape.new(name: 'StartEntitiesDetectionJobRequest')
|
104
|
+
StartEntitiesDetectionJobResponse = Shapes::StructureShape.new(name: 'StartEntitiesDetectionJobResponse')
|
105
|
+
StartKeyPhrasesDetectionJobRequest = Shapes::StructureShape.new(name: 'StartKeyPhrasesDetectionJobRequest')
|
106
|
+
StartKeyPhrasesDetectionJobResponse = Shapes::StructureShape.new(name: 'StartKeyPhrasesDetectionJobResponse')
|
107
|
+
StartSentimentDetectionJobRequest = Shapes::StructureShape.new(name: 'StartSentimentDetectionJobRequest')
|
108
|
+
StartSentimentDetectionJobResponse = Shapes::StructureShape.new(name: 'StartSentimentDetectionJobResponse')
|
73
109
|
StartTopicsDetectionJobRequest = Shapes::StructureShape.new(name: 'StartTopicsDetectionJobRequest')
|
74
110
|
StartTopicsDetectionJobResponse = Shapes::StructureShape.new(name: 'StartTopicsDetectionJobResponse')
|
111
|
+
StopDominantLanguageDetectionJobRequest = Shapes::StructureShape.new(name: 'StopDominantLanguageDetectionJobRequest')
|
112
|
+
StopDominantLanguageDetectionJobResponse = Shapes::StructureShape.new(name: 'StopDominantLanguageDetectionJobResponse')
|
113
|
+
StopEntitiesDetectionJobRequest = Shapes::StructureShape.new(name: 'StopEntitiesDetectionJobRequest')
|
114
|
+
StopEntitiesDetectionJobResponse = Shapes::StructureShape.new(name: 'StopEntitiesDetectionJobResponse')
|
115
|
+
StopKeyPhrasesDetectionJobRequest = Shapes::StructureShape.new(name: 'StopKeyPhrasesDetectionJobRequest')
|
116
|
+
StopKeyPhrasesDetectionJobResponse = Shapes::StructureShape.new(name: 'StopKeyPhrasesDetectionJobResponse')
|
117
|
+
StopSentimentDetectionJobRequest = Shapes::StructureShape.new(name: 'StopSentimentDetectionJobRequest')
|
118
|
+
StopSentimentDetectionJobResponse = Shapes::StructureShape.new(name: 'StopSentimentDetectionJobResponse')
|
75
119
|
String = Shapes::StringShape.new(name: 'String')
|
76
120
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
77
121
|
TextSizeLimitExceededException = Shapes::StructureShape.new(name: 'TextSizeLimitExceededException')
|
@@ -98,7 +142,7 @@ module Aws::Comprehend
|
|
98
142
|
BatchDetectEntitiesItemResult.struct_class = Types::BatchDetectEntitiesItemResult
|
99
143
|
|
100
144
|
BatchDetectEntitiesRequest.add_member(:text_list, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "TextList"))
|
101
|
-
BatchDetectEntitiesRequest.add_member(:language_code, Shapes::ShapeRef.new(shape:
|
145
|
+
BatchDetectEntitiesRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
102
146
|
BatchDetectEntitiesRequest.struct_class = Types::BatchDetectEntitiesRequest
|
103
147
|
|
104
148
|
BatchDetectEntitiesResponse.add_member(:result_list, Shapes::ShapeRef.new(shape: ListOfDetectEntitiesResult, required: true, location_name: "ResultList"))
|
@@ -110,7 +154,7 @@ module Aws::Comprehend
|
|
110
154
|
BatchDetectKeyPhrasesItemResult.struct_class = Types::BatchDetectKeyPhrasesItemResult
|
111
155
|
|
112
156
|
BatchDetectKeyPhrasesRequest.add_member(:text_list, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "TextList"))
|
113
|
-
BatchDetectKeyPhrasesRequest.add_member(:language_code, Shapes::ShapeRef.new(shape:
|
157
|
+
BatchDetectKeyPhrasesRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
114
158
|
BatchDetectKeyPhrasesRequest.struct_class = Types::BatchDetectKeyPhrasesRequest
|
115
159
|
|
116
160
|
BatchDetectKeyPhrasesResponse.add_member(:result_list, Shapes::ShapeRef.new(shape: ListOfDetectKeyPhrasesResult, required: true, location_name: "ResultList"))
|
@@ -123,7 +167,7 @@ module Aws::Comprehend
|
|
123
167
|
BatchDetectSentimentItemResult.struct_class = Types::BatchDetectSentimentItemResult
|
124
168
|
|
125
169
|
BatchDetectSentimentRequest.add_member(:text_list, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "TextList"))
|
126
|
-
BatchDetectSentimentRequest.add_member(:language_code, Shapes::ShapeRef.new(shape:
|
170
|
+
BatchDetectSentimentRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
127
171
|
BatchDetectSentimentRequest.struct_class = Types::BatchDetectSentimentRequest
|
128
172
|
|
129
173
|
BatchDetectSentimentResponse.add_member(:result_list, Shapes::ShapeRef.new(shape: ListOfDetectSentimentResult, required: true, location_name: "ResultList"))
|
@@ -137,6 +181,30 @@ module Aws::Comprehend
|
|
137
181
|
|
138
182
|
BatchItemErrorList.member = Shapes::ShapeRef.new(shape: BatchItemError)
|
139
183
|
|
184
|
+
DescribeDominantLanguageDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
185
|
+
DescribeDominantLanguageDetectionJobRequest.struct_class = Types::DescribeDominantLanguageDetectionJobRequest
|
186
|
+
|
187
|
+
DescribeDominantLanguageDetectionJobResponse.add_member(:dominant_language_detection_job_properties, Shapes::ShapeRef.new(shape: DominantLanguageDetectionJobProperties, location_name: "DominantLanguageDetectionJobProperties"))
|
188
|
+
DescribeDominantLanguageDetectionJobResponse.struct_class = Types::DescribeDominantLanguageDetectionJobResponse
|
189
|
+
|
190
|
+
DescribeEntitiesDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
191
|
+
DescribeEntitiesDetectionJobRequest.struct_class = Types::DescribeEntitiesDetectionJobRequest
|
192
|
+
|
193
|
+
DescribeEntitiesDetectionJobResponse.add_member(:entities_detection_job_properties, Shapes::ShapeRef.new(shape: EntitiesDetectionJobProperties, location_name: "EntitiesDetectionJobProperties"))
|
194
|
+
DescribeEntitiesDetectionJobResponse.struct_class = Types::DescribeEntitiesDetectionJobResponse
|
195
|
+
|
196
|
+
DescribeKeyPhrasesDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
197
|
+
DescribeKeyPhrasesDetectionJobRequest.struct_class = Types::DescribeKeyPhrasesDetectionJobRequest
|
198
|
+
|
199
|
+
DescribeKeyPhrasesDetectionJobResponse.add_member(:key_phrases_detection_job_properties, Shapes::ShapeRef.new(shape: KeyPhrasesDetectionJobProperties, location_name: "KeyPhrasesDetectionJobProperties"))
|
200
|
+
DescribeKeyPhrasesDetectionJobResponse.struct_class = Types::DescribeKeyPhrasesDetectionJobResponse
|
201
|
+
|
202
|
+
DescribeSentimentDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
203
|
+
DescribeSentimentDetectionJobRequest.struct_class = Types::DescribeSentimentDetectionJobRequest
|
204
|
+
|
205
|
+
DescribeSentimentDetectionJobResponse.add_member(:sentiment_detection_job_properties, Shapes::ShapeRef.new(shape: SentimentDetectionJobProperties, location_name: "SentimentDetectionJobProperties"))
|
206
|
+
DescribeSentimentDetectionJobResponse.struct_class = Types::DescribeSentimentDetectionJobResponse
|
207
|
+
|
140
208
|
DescribeTopicsDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
141
209
|
DescribeTopicsDetectionJobRequest.struct_class = Types::DescribeTopicsDetectionJobRequest
|
142
210
|
|
@@ -175,6 +243,43 @@ module Aws::Comprehend
|
|
175
243
|
DominantLanguage.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
|
176
244
|
DominantLanguage.struct_class = Types::DominantLanguage
|
177
245
|
|
246
|
+
DominantLanguageDetectionJobFilter.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
247
|
+
DominantLanguageDetectionJobFilter.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
248
|
+
DominantLanguageDetectionJobFilter.add_member(:submit_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeBefore"))
|
249
|
+
DominantLanguageDetectionJobFilter.add_member(:submit_time_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeAfter"))
|
250
|
+
DominantLanguageDetectionJobFilter.struct_class = Types::DominantLanguageDetectionJobFilter
|
251
|
+
|
252
|
+
DominantLanguageDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
253
|
+
DominantLanguageDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
254
|
+
DominantLanguageDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
255
|
+
DominantLanguageDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
256
|
+
DominantLanguageDetectionJobProperties.add_member(:submit_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTime"))
|
257
|
+
DominantLanguageDetectionJobProperties.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
258
|
+
DominantLanguageDetectionJobProperties.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
|
259
|
+
DominantLanguageDetectionJobProperties.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "OutputDataConfig"))
|
260
|
+
DominantLanguageDetectionJobProperties.struct_class = Types::DominantLanguageDetectionJobProperties
|
261
|
+
|
262
|
+
DominantLanguageDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: DominantLanguageDetectionJobProperties)
|
263
|
+
|
264
|
+
EntitiesDetectionJobFilter.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
265
|
+
EntitiesDetectionJobFilter.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
266
|
+
EntitiesDetectionJobFilter.add_member(:submit_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeBefore"))
|
267
|
+
EntitiesDetectionJobFilter.add_member(:submit_time_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeAfter"))
|
268
|
+
EntitiesDetectionJobFilter.struct_class = Types::EntitiesDetectionJobFilter
|
269
|
+
|
270
|
+
EntitiesDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
271
|
+
EntitiesDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
272
|
+
EntitiesDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
273
|
+
EntitiesDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
274
|
+
EntitiesDetectionJobProperties.add_member(:submit_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTime"))
|
275
|
+
EntitiesDetectionJobProperties.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
276
|
+
EntitiesDetectionJobProperties.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
|
277
|
+
EntitiesDetectionJobProperties.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "OutputDataConfig"))
|
278
|
+
EntitiesDetectionJobProperties.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
279
|
+
EntitiesDetectionJobProperties.struct_class = Types::EntitiesDetectionJobProperties
|
280
|
+
|
281
|
+
EntitiesDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: EntitiesDetectionJobProperties)
|
282
|
+
|
178
283
|
Entity.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
|
179
284
|
Entity.add_member(:type, Shapes::ShapeRef.new(shape: EntityType, location_name: "Type"))
|
180
285
|
Entity.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "Text"))
|
@@ -192,6 +297,52 @@ module Aws::Comprehend
|
|
192
297
|
KeyPhrase.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "EndOffset"))
|
193
298
|
KeyPhrase.struct_class = Types::KeyPhrase
|
194
299
|
|
300
|
+
KeyPhrasesDetectionJobFilter.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
301
|
+
KeyPhrasesDetectionJobFilter.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
302
|
+
KeyPhrasesDetectionJobFilter.add_member(:submit_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeBefore"))
|
303
|
+
KeyPhrasesDetectionJobFilter.add_member(:submit_time_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeAfter"))
|
304
|
+
KeyPhrasesDetectionJobFilter.struct_class = Types::KeyPhrasesDetectionJobFilter
|
305
|
+
|
306
|
+
KeyPhrasesDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
307
|
+
KeyPhrasesDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
308
|
+
KeyPhrasesDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
309
|
+
KeyPhrasesDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
310
|
+
KeyPhrasesDetectionJobProperties.add_member(:submit_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTime"))
|
311
|
+
KeyPhrasesDetectionJobProperties.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
312
|
+
KeyPhrasesDetectionJobProperties.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
|
313
|
+
KeyPhrasesDetectionJobProperties.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "OutputDataConfig"))
|
314
|
+
KeyPhrasesDetectionJobProperties.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
315
|
+
KeyPhrasesDetectionJobProperties.struct_class = Types::KeyPhrasesDetectionJobProperties
|
316
|
+
|
317
|
+
KeyPhrasesDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: KeyPhrasesDetectionJobProperties)
|
318
|
+
|
319
|
+
ListDominantLanguageDetectionJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: DominantLanguageDetectionJobFilter, location_name: "Filter"))
|
320
|
+
ListDominantLanguageDetectionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
321
|
+
ListDominantLanguageDetectionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
322
|
+
ListDominantLanguageDetectionJobsRequest.struct_class = Types::ListDominantLanguageDetectionJobsRequest
|
323
|
+
|
324
|
+
ListDominantLanguageDetectionJobsResponse.add_member(:dominant_language_detection_job_properties_list, Shapes::ShapeRef.new(shape: DominantLanguageDetectionJobPropertiesList, location_name: "DominantLanguageDetectionJobPropertiesList"))
|
325
|
+
ListDominantLanguageDetectionJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
326
|
+
ListDominantLanguageDetectionJobsResponse.struct_class = Types::ListDominantLanguageDetectionJobsResponse
|
327
|
+
|
328
|
+
ListEntitiesDetectionJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: EntitiesDetectionJobFilter, location_name: "Filter"))
|
329
|
+
ListEntitiesDetectionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
330
|
+
ListEntitiesDetectionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
331
|
+
ListEntitiesDetectionJobsRequest.struct_class = Types::ListEntitiesDetectionJobsRequest
|
332
|
+
|
333
|
+
ListEntitiesDetectionJobsResponse.add_member(:entities_detection_job_properties_list, Shapes::ShapeRef.new(shape: EntitiesDetectionJobPropertiesList, location_name: "EntitiesDetectionJobPropertiesList"))
|
334
|
+
ListEntitiesDetectionJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
335
|
+
ListEntitiesDetectionJobsResponse.struct_class = Types::ListEntitiesDetectionJobsResponse
|
336
|
+
|
337
|
+
ListKeyPhrasesDetectionJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: KeyPhrasesDetectionJobFilter, location_name: "Filter"))
|
338
|
+
ListKeyPhrasesDetectionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
339
|
+
ListKeyPhrasesDetectionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
340
|
+
ListKeyPhrasesDetectionJobsRequest.struct_class = Types::ListKeyPhrasesDetectionJobsRequest
|
341
|
+
|
342
|
+
ListKeyPhrasesDetectionJobsResponse.add_member(:key_phrases_detection_job_properties_list, Shapes::ShapeRef.new(shape: KeyPhrasesDetectionJobPropertiesList, location_name: "KeyPhrasesDetectionJobPropertiesList"))
|
343
|
+
ListKeyPhrasesDetectionJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
344
|
+
ListKeyPhrasesDetectionJobsResponse.struct_class = Types::ListKeyPhrasesDetectionJobsResponse
|
345
|
+
|
195
346
|
ListOfDetectDominantLanguageResult.member = Shapes::ShapeRef.new(shape: BatchDetectDominantLanguageItemResult)
|
196
347
|
|
197
348
|
ListOfDetectEntitiesResult.member = Shapes::ShapeRef.new(shape: BatchDetectEntitiesItemResult)
|
@@ -206,6 +357,15 @@ module Aws::Comprehend
|
|
206
357
|
|
207
358
|
ListOfKeyPhrases.member = Shapes::ShapeRef.new(shape: KeyPhrase)
|
208
359
|
|
360
|
+
ListSentimentDetectionJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: SentimentDetectionJobFilter, location_name: "Filter"))
|
361
|
+
ListSentimentDetectionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
362
|
+
ListSentimentDetectionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
363
|
+
ListSentimentDetectionJobsRequest.struct_class = Types::ListSentimentDetectionJobsRequest
|
364
|
+
|
365
|
+
ListSentimentDetectionJobsResponse.add_member(:sentiment_detection_job_properties_list, Shapes::ShapeRef.new(shape: SentimentDetectionJobPropertiesList, location_name: "SentimentDetectionJobPropertiesList"))
|
366
|
+
ListSentimentDetectionJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
367
|
+
ListSentimentDetectionJobsResponse.struct_class = Types::ListSentimentDetectionJobsResponse
|
368
|
+
|
209
369
|
ListTopicsDetectionJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: TopicsDetectionJobFilter, location_name: "Filter"))
|
210
370
|
ListTopicsDetectionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
211
371
|
ListTopicsDetectionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
@@ -218,12 +378,78 @@ module Aws::Comprehend
|
|
218
378
|
OutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
|
219
379
|
OutputDataConfig.struct_class = Types::OutputDataConfig
|
220
380
|
|
381
|
+
SentimentDetectionJobFilter.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
382
|
+
SentimentDetectionJobFilter.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
383
|
+
SentimentDetectionJobFilter.add_member(:submit_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeBefore"))
|
384
|
+
SentimentDetectionJobFilter.add_member(:submit_time_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeAfter"))
|
385
|
+
SentimentDetectionJobFilter.struct_class = Types::SentimentDetectionJobFilter
|
386
|
+
|
387
|
+
SentimentDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
388
|
+
SentimentDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
389
|
+
SentimentDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
390
|
+
SentimentDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
391
|
+
SentimentDetectionJobProperties.add_member(:submit_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTime"))
|
392
|
+
SentimentDetectionJobProperties.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
393
|
+
SentimentDetectionJobProperties.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
|
394
|
+
SentimentDetectionJobProperties.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "OutputDataConfig"))
|
395
|
+
SentimentDetectionJobProperties.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
396
|
+
SentimentDetectionJobProperties.struct_class = Types::SentimentDetectionJobProperties
|
397
|
+
|
398
|
+
SentimentDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: SentimentDetectionJobProperties)
|
399
|
+
|
221
400
|
SentimentScore.add_member(:positive, Shapes::ShapeRef.new(shape: Float, location_name: "Positive"))
|
222
401
|
SentimentScore.add_member(:negative, Shapes::ShapeRef.new(shape: Float, location_name: "Negative"))
|
223
402
|
SentimentScore.add_member(:neutral, Shapes::ShapeRef.new(shape: Float, location_name: "Neutral"))
|
224
403
|
SentimentScore.add_member(:mixed, Shapes::ShapeRef.new(shape: Float, location_name: "Mixed"))
|
225
404
|
SentimentScore.struct_class = Types::SentimentScore
|
226
405
|
|
406
|
+
StartDominantLanguageDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
407
|
+
StartDominantLanguageDetectionJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
408
|
+
StartDominantLanguageDetectionJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
409
|
+
StartDominantLanguageDetectionJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
410
|
+
StartDominantLanguageDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
411
|
+
StartDominantLanguageDetectionJobRequest.struct_class = Types::StartDominantLanguageDetectionJobRequest
|
412
|
+
|
413
|
+
StartDominantLanguageDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
414
|
+
StartDominantLanguageDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
415
|
+
StartDominantLanguageDetectionJobResponse.struct_class = Types::StartDominantLanguageDetectionJobResponse
|
416
|
+
|
417
|
+
StartEntitiesDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
418
|
+
StartEntitiesDetectionJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
419
|
+
StartEntitiesDetectionJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
420
|
+
StartEntitiesDetectionJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
421
|
+
StartEntitiesDetectionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
422
|
+
StartEntitiesDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
423
|
+
StartEntitiesDetectionJobRequest.struct_class = Types::StartEntitiesDetectionJobRequest
|
424
|
+
|
425
|
+
StartEntitiesDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
426
|
+
StartEntitiesDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
427
|
+
StartEntitiesDetectionJobResponse.struct_class = Types::StartEntitiesDetectionJobResponse
|
428
|
+
|
429
|
+
StartKeyPhrasesDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
430
|
+
StartKeyPhrasesDetectionJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
431
|
+
StartKeyPhrasesDetectionJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
432
|
+
StartKeyPhrasesDetectionJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
433
|
+
StartKeyPhrasesDetectionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
434
|
+
StartKeyPhrasesDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
435
|
+
StartKeyPhrasesDetectionJobRequest.struct_class = Types::StartKeyPhrasesDetectionJobRequest
|
436
|
+
|
437
|
+
StartKeyPhrasesDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
438
|
+
StartKeyPhrasesDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
439
|
+
StartKeyPhrasesDetectionJobResponse.struct_class = Types::StartKeyPhrasesDetectionJobResponse
|
440
|
+
|
441
|
+
StartSentimentDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
442
|
+
StartSentimentDetectionJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
443
|
+
StartSentimentDetectionJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
444
|
+
StartSentimentDetectionJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
445
|
+
StartSentimentDetectionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
446
|
+
StartSentimentDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
447
|
+
StartSentimentDetectionJobRequest.struct_class = Types::StartSentimentDetectionJobRequest
|
448
|
+
|
449
|
+
StartSentimentDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
450
|
+
StartSentimentDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
451
|
+
StartSentimentDetectionJobResponse.struct_class = Types::StartSentimentDetectionJobResponse
|
452
|
+
|
227
453
|
StartTopicsDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
228
454
|
StartTopicsDetectionJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
229
455
|
StartTopicsDetectionJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
@@ -236,6 +462,34 @@ module Aws::Comprehend
|
|
236
462
|
StartTopicsDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
237
463
|
StartTopicsDetectionJobResponse.struct_class = Types::StartTopicsDetectionJobResponse
|
238
464
|
|
465
|
+
StopDominantLanguageDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
466
|
+
StopDominantLanguageDetectionJobRequest.struct_class = Types::StopDominantLanguageDetectionJobRequest
|
467
|
+
|
468
|
+
StopDominantLanguageDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
469
|
+
StopDominantLanguageDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
470
|
+
StopDominantLanguageDetectionJobResponse.struct_class = Types::StopDominantLanguageDetectionJobResponse
|
471
|
+
|
472
|
+
StopEntitiesDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
473
|
+
StopEntitiesDetectionJobRequest.struct_class = Types::StopEntitiesDetectionJobRequest
|
474
|
+
|
475
|
+
StopEntitiesDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
476
|
+
StopEntitiesDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
477
|
+
StopEntitiesDetectionJobResponse.struct_class = Types::StopEntitiesDetectionJobResponse
|
478
|
+
|
479
|
+
StopKeyPhrasesDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
480
|
+
StopKeyPhrasesDetectionJobRequest.struct_class = Types::StopKeyPhrasesDetectionJobRequest
|
481
|
+
|
482
|
+
StopKeyPhrasesDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
483
|
+
StopKeyPhrasesDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
484
|
+
StopKeyPhrasesDetectionJobResponse.struct_class = Types::StopKeyPhrasesDetectionJobResponse
|
485
|
+
|
486
|
+
StopSentimentDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
487
|
+
StopSentimentDetectionJobRequest.struct_class = Types::StopSentimentDetectionJobRequest
|
488
|
+
|
489
|
+
StopSentimentDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
490
|
+
StopSentimentDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
491
|
+
StopSentimentDetectionJobResponse.struct_class = Types::StopSentimentDetectionJobResponse
|
492
|
+
|
239
493
|
StringList.member = Shapes::ShapeRef.new(shape: String)
|
240
494
|
|
241
495
|
TopicsDetectionJobFilter.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
@@ -324,6 +578,54 @@ module Aws::Comprehend
|
|
324
578
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
325
579
|
end)
|
326
580
|
|
581
|
+
api.add_operation(:describe_dominant_language_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
582
|
+
o.name = "DescribeDominantLanguageDetectionJob"
|
583
|
+
o.http_method = "POST"
|
584
|
+
o.http_request_uri = "/"
|
585
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeDominantLanguageDetectionJobRequest)
|
586
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeDominantLanguageDetectionJobResponse)
|
587
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
588
|
+
o.errors << Shapes::ShapeRef.new(shape: JobNotFoundException)
|
589
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
590
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
591
|
+
end)
|
592
|
+
|
593
|
+
api.add_operation(:describe_entities_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
594
|
+
o.name = "DescribeEntitiesDetectionJob"
|
595
|
+
o.http_method = "POST"
|
596
|
+
o.http_request_uri = "/"
|
597
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeEntitiesDetectionJobRequest)
|
598
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeEntitiesDetectionJobResponse)
|
599
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
600
|
+
o.errors << Shapes::ShapeRef.new(shape: JobNotFoundException)
|
601
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
602
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
603
|
+
end)
|
604
|
+
|
605
|
+
api.add_operation(:describe_key_phrases_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
606
|
+
o.name = "DescribeKeyPhrasesDetectionJob"
|
607
|
+
o.http_method = "POST"
|
608
|
+
o.http_request_uri = "/"
|
609
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeKeyPhrasesDetectionJobRequest)
|
610
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeKeyPhrasesDetectionJobResponse)
|
611
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
612
|
+
o.errors << Shapes::ShapeRef.new(shape: JobNotFoundException)
|
613
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
614
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
615
|
+
end)
|
616
|
+
|
617
|
+
api.add_operation(:describe_sentiment_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
618
|
+
o.name = "DescribeSentimentDetectionJob"
|
619
|
+
o.http_method = "POST"
|
620
|
+
o.http_request_uri = "/"
|
621
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeSentimentDetectionJobRequest)
|
622
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeSentimentDetectionJobResponse)
|
623
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
624
|
+
o.errors << Shapes::ShapeRef.new(shape: JobNotFoundException)
|
625
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
626
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
627
|
+
end)
|
628
|
+
|
327
629
|
api.add_operation(:describe_topics_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
328
630
|
o.name = "DescribeTopicsDetectionJob"
|
329
631
|
o.http_method = "POST"
|
@@ -383,6 +685,78 @@ module Aws::Comprehend
|
|
383
685
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
384
686
|
end)
|
385
687
|
|
688
|
+
api.add_operation(:list_dominant_language_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
|
689
|
+
o.name = "ListDominantLanguageDetectionJobs"
|
690
|
+
o.http_method = "POST"
|
691
|
+
o.http_request_uri = "/"
|
692
|
+
o.input = Shapes::ShapeRef.new(shape: ListDominantLanguageDetectionJobsRequest)
|
693
|
+
o.output = Shapes::ShapeRef.new(shape: ListDominantLanguageDetectionJobsResponse)
|
694
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
695
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
696
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFilterException)
|
697
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
698
|
+
o[:pager] = Aws::Pager.new(
|
699
|
+
limit_key: "max_results",
|
700
|
+
tokens: {
|
701
|
+
"next_token" => "next_token"
|
702
|
+
}
|
703
|
+
)
|
704
|
+
end)
|
705
|
+
|
706
|
+
api.add_operation(:list_entities_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
|
707
|
+
o.name = "ListEntitiesDetectionJobs"
|
708
|
+
o.http_method = "POST"
|
709
|
+
o.http_request_uri = "/"
|
710
|
+
o.input = Shapes::ShapeRef.new(shape: ListEntitiesDetectionJobsRequest)
|
711
|
+
o.output = Shapes::ShapeRef.new(shape: ListEntitiesDetectionJobsResponse)
|
712
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
713
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
714
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFilterException)
|
715
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
716
|
+
o[:pager] = Aws::Pager.new(
|
717
|
+
limit_key: "max_results",
|
718
|
+
tokens: {
|
719
|
+
"next_token" => "next_token"
|
720
|
+
}
|
721
|
+
)
|
722
|
+
end)
|
723
|
+
|
724
|
+
api.add_operation(:list_key_phrases_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
|
725
|
+
o.name = "ListKeyPhrasesDetectionJobs"
|
726
|
+
o.http_method = "POST"
|
727
|
+
o.http_request_uri = "/"
|
728
|
+
o.input = Shapes::ShapeRef.new(shape: ListKeyPhrasesDetectionJobsRequest)
|
729
|
+
o.output = Shapes::ShapeRef.new(shape: ListKeyPhrasesDetectionJobsResponse)
|
730
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
731
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
732
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFilterException)
|
733
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
734
|
+
o[:pager] = Aws::Pager.new(
|
735
|
+
limit_key: "max_results",
|
736
|
+
tokens: {
|
737
|
+
"next_token" => "next_token"
|
738
|
+
}
|
739
|
+
)
|
740
|
+
end)
|
741
|
+
|
742
|
+
api.add_operation(:list_sentiment_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
|
743
|
+
o.name = "ListSentimentDetectionJobs"
|
744
|
+
o.http_method = "POST"
|
745
|
+
o.http_request_uri = "/"
|
746
|
+
o.input = Shapes::ShapeRef.new(shape: ListSentimentDetectionJobsRequest)
|
747
|
+
o.output = Shapes::ShapeRef.new(shape: ListSentimentDetectionJobsResponse)
|
748
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
749
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
750
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFilterException)
|
751
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
752
|
+
o[:pager] = Aws::Pager.new(
|
753
|
+
limit_key: "max_results",
|
754
|
+
tokens: {
|
755
|
+
"next_token" => "next_token"
|
756
|
+
}
|
757
|
+
)
|
758
|
+
end)
|
759
|
+
|
386
760
|
api.add_operation(:list_topics_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
|
387
761
|
o.name = "ListTopicsDetectionJobs"
|
388
762
|
o.http_method = "POST"
|
@@ -401,6 +775,50 @@ module Aws::Comprehend
|
|
401
775
|
)
|
402
776
|
end)
|
403
777
|
|
778
|
+
api.add_operation(:start_dominant_language_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
779
|
+
o.name = "StartDominantLanguageDetectionJob"
|
780
|
+
o.http_method = "POST"
|
781
|
+
o.http_request_uri = "/"
|
782
|
+
o.input = Shapes::ShapeRef.new(shape: StartDominantLanguageDetectionJobRequest)
|
783
|
+
o.output = Shapes::ShapeRef.new(shape: StartDominantLanguageDetectionJobResponse)
|
784
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
785
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
786
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
787
|
+
end)
|
788
|
+
|
789
|
+
api.add_operation(:start_entities_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
790
|
+
o.name = "StartEntitiesDetectionJob"
|
791
|
+
o.http_method = "POST"
|
792
|
+
o.http_request_uri = "/"
|
793
|
+
o.input = Shapes::ShapeRef.new(shape: StartEntitiesDetectionJobRequest)
|
794
|
+
o.output = Shapes::ShapeRef.new(shape: StartEntitiesDetectionJobResponse)
|
795
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
796
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
797
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
798
|
+
end)
|
799
|
+
|
800
|
+
api.add_operation(:start_key_phrases_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
801
|
+
o.name = "StartKeyPhrasesDetectionJob"
|
802
|
+
o.http_method = "POST"
|
803
|
+
o.http_request_uri = "/"
|
804
|
+
o.input = Shapes::ShapeRef.new(shape: StartKeyPhrasesDetectionJobRequest)
|
805
|
+
o.output = Shapes::ShapeRef.new(shape: StartKeyPhrasesDetectionJobResponse)
|
806
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
807
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
808
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
809
|
+
end)
|
810
|
+
|
811
|
+
api.add_operation(:start_sentiment_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
812
|
+
o.name = "StartSentimentDetectionJob"
|
813
|
+
o.http_method = "POST"
|
814
|
+
o.http_request_uri = "/"
|
815
|
+
o.input = Shapes::ShapeRef.new(shape: StartSentimentDetectionJobRequest)
|
816
|
+
o.output = Shapes::ShapeRef.new(shape: StartSentimentDetectionJobResponse)
|
817
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
818
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
819
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
820
|
+
end)
|
821
|
+
|
404
822
|
api.add_operation(:start_topics_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
405
823
|
o.name = "StartTopicsDetectionJob"
|
406
824
|
o.http_method = "POST"
|
@@ -411,6 +829,50 @@ module Aws::Comprehend
|
|
411
829
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
412
830
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
413
831
|
end)
|
832
|
+
|
833
|
+
api.add_operation(:stop_dominant_language_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
834
|
+
o.name = "StopDominantLanguageDetectionJob"
|
835
|
+
o.http_method = "POST"
|
836
|
+
o.http_request_uri = "/"
|
837
|
+
o.input = Shapes::ShapeRef.new(shape: StopDominantLanguageDetectionJobRequest)
|
838
|
+
o.output = Shapes::ShapeRef.new(shape: StopDominantLanguageDetectionJobResponse)
|
839
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
840
|
+
o.errors << Shapes::ShapeRef.new(shape: JobNotFoundException)
|
841
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
842
|
+
end)
|
843
|
+
|
844
|
+
api.add_operation(:stop_entities_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
845
|
+
o.name = "StopEntitiesDetectionJob"
|
846
|
+
o.http_method = "POST"
|
847
|
+
o.http_request_uri = "/"
|
848
|
+
o.input = Shapes::ShapeRef.new(shape: StopEntitiesDetectionJobRequest)
|
849
|
+
o.output = Shapes::ShapeRef.new(shape: StopEntitiesDetectionJobResponse)
|
850
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
851
|
+
o.errors << Shapes::ShapeRef.new(shape: JobNotFoundException)
|
852
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
853
|
+
end)
|
854
|
+
|
855
|
+
api.add_operation(:stop_key_phrases_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
856
|
+
o.name = "StopKeyPhrasesDetectionJob"
|
857
|
+
o.http_method = "POST"
|
858
|
+
o.http_request_uri = "/"
|
859
|
+
o.input = Shapes::ShapeRef.new(shape: StopKeyPhrasesDetectionJobRequest)
|
860
|
+
o.output = Shapes::ShapeRef.new(shape: StopKeyPhrasesDetectionJobResponse)
|
861
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
862
|
+
o.errors << Shapes::ShapeRef.new(shape: JobNotFoundException)
|
863
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
864
|
+
end)
|
865
|
+
|
866
|
+
api.add_operation(:stop_sentiment_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
867
|
+
o.name = "StopSentimentDetectionJob"
|
868
|
+
o.http_method = "POST"
|
869
|
+
o.http_request_uri = "/"
|
870
|
+
o.input = Shapes::ShapeRef.new(shape: StopSentimentDetectionJobRequest)
|
871
|
+
o.output = Shapes::ShapeRef.new(shape: StopSentimentDetectionJobResponse)
|
872
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
873
|
+
o.errors << Shapes::ShapeRef.new(shape: JobNotFoundException)
|
874
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
875
|
+
end)
|
414
876
|
end
|
415
877
|
|
416
878
|
end
|