aws-sdk-comprehend 1.58.0 → 1.61.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-comprehend/client.rb +336 -18
- data/lib/aws-sdk-comprehend/client_api.rb +126 -0
- data/lib/aws-sdk-comprehend/types.rb +478 -15
- data/lib/aws-sdk-comprehend.rb +1 -1
- metadata +4 -4
@@ -87,6 +87,8 @@ module Aws::Comprehend
|
|
87
87
|
DescribeResourcePolicyResponse = Shapes::StructureShape.new(name: 'DescribeResourcePolicyResponse')
|
88
88
|
DescribeSentimentDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribeSentimentDetectionJobRequest')
|
89
89
|
DescribeSentimentDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribeSentimentDetectionJobResponse')
|
90
|
+
DescribeTargetedSentimentDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribeTargetedSentimentDetectionJobRequest')
|
91
|
+
DescribeTargetedSentimentDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribeTargetedSentimentDetectionJobResponse')
|
90
92
|
DescribeTopicsDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribeTopicsDetectionJobRequest')
|
91
93
|
DescribeTopicsDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribeTopicsDetectionJobResponse')
|
92
94
|
DetectDominantLanguageRequest = Shapes::StructureShape.new(name: 'DetectDominantLanguageRequest')
|
@@ -226,6 +228,8 @@ module Aws::Comprehend
|
|
226
228
|
ListSentimentDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListSentimentDetectionJobsResponse')
|
227
229
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
228
230
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
231
|
+
ListTargetedSentimentDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListTargetedSentimentDetectionJobsRequest')
|
232
|
+
ListTargetedSentimentDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListTargetedSentimentDetectionJobsResponse')
|
229
233
|
ListTopicsDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListTopicsDetectionJobsRequest')
|
230
234
|
ListTopicsDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListTopicsDetectionJobsResponse')
|
231
235
|
MaskCharacter = Shapes::StringShape.new(name: 'MaskCharacter')
|
@@ -275,6 +279,8 @@ module Aws::Comprehend
|
|
275
279
|
StartPiiEntitiesDetectionJobResponse = Shapes::StructureShape.new(name: 'StartPiiEntitiesDetectionJobResponse')
|
276
280
|
StartSentimentDetectionJobRequest = Shapes::StructureShape.new(name: 'StartSentimentDetectionJobRequest')
|
277
281
|
StartSentimentDetectionJobResponse = Shapes::StructureShape.new(name: 'StartSentimentDetectionJobResponse')
|
282
|
+
StartTargetedSentimentDetectionJobRequest = Shapes::StructureShape.new(name: 'StartTargetedSentimentDetectionJobRequest')
|
283
|
+
StartTargetedSentimentDetectionJobResponse = Shapes::StructureShape.new(name: 'StartTargetedSentimentDetectionJobResponse')
|
278
284
|
StartTopicsDetectionJobRequest = Shapes::StructureShape.new(name: 'StartTopicsDetectionJobRequest')
|
279
285
|
StartTopicsDetectionJobResponse = Shapes::StructureShape.new(name: 'StartTopicsDetectionJobResponse')
|
280
286
|
StopDominantLanguageDetectionJobRequest = Shapes::StructureShape.new(name: 'StopDominantLanguageDetectionJobRequest')
|
@@ -289,6 +295,8 @@ module Aws::Comprehend
|
|
289
295
|
StopPiiEntitiesDetectionJobResponse = Shapes::StructureShape.new(name: 'StopPiiEntitiesDetectionJobResponse')
|
290
296
|
StopSentimentDetectionJobRequest = Shapes::StructureShape.new(name: 'StopSentimentDetectionJobRequest')
|
291
297
|
StopSentimentDetectionJobResponse = Shapes::StructureShape.new(name: 'StopSentimentDetectionJobResponse')
|
298
|
+
StopTargetedSentimentDetectionJobRequest = Shapes::StructureShape.new(name: 'StopTargetedSentimentDetectionJobRequest')
|
299
|
+
StopTargetedSentimentDetectionJobResponse = Shapes::StructureShape.new(name: 'StopTargetedSentimentDetectionJobResponse')
|
292
300
|
StopTrainingDocumentClassifierRequest = Shapes::StructureShape.new(name: 'StopTrainingDocumentClassifierRequest')
|
293
301
|
StopTrainingDocumentClassifierResponse = Shapes::StructureShape.new(name: 'StopTrainingDocumentClassifierResponse')
|
294
302
|
StopTrainingEntityRecognizerRequest = Shapes::StructureShape.new(name: 'StopTrainingEntityRecognizerRequest')
|
@@ -306,6 +314,9 @@ module Aws::Comprehend
|
|
306
314
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
307
315
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
308
316
|
TargetEventTypes = Shapes::ListShape.new(name: 'TargetEventTypes')
|
317
|
+
TargetedSentimentDetectionJobFilter = Shapes::StructureShape.new(name: 'TargetedSentimentDetectionJobFilter')
|
318
|
+
TargetedSentimentDetectionJobProperties = Shapes::StructureShape.new(name: 'TargetedSentimentDetectionJobProperties')
|
319
|
+
TargetedSentimentDetectionJobPropertiesList = Shapes::ListShape.new(name: 'TargetedSentimentDetectionJobPropertiesList')
|
309
320
|
TextSizeLimitExceededException = Shapes::StructureShape.new(name: 'TextSizeLimitExceededException')
|
310
321
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
311
322
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
@@ -573,6 +584,12 @@ module Aws::Comprehend
|
|
573
584
|
DescribeSentimentDetectionJobResponse.add_member(:sentiment_detection_job_properties, Shapes::ShapeRef.new(shape: SentimentDetectionJobProperties, location_name: "SentimentDetectionJobProperties"))
|
574
585
|
DescribeSentimentDetectionJobResponse.struct_class = Types::DescribeSentimentDetectionJobResponse
|
575
586
|
|
587
|
+
DescribeTargetedSentimentDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
588
|
+
DescribeTargetedSentimentDetectionJobRequest.struct_class = Types::DescribeTargetedSentimentDetectionJobRequest
|
589
|
+
|
590
|
+
DescribeTargetedSentimentDetectionJobResponse.add_member(:targeted_sentiment_detection_job_properties, Shapes::ShapeRef.new(shape: TargetedSentimentDetectionJobProperties, location_name: "TargetedSentimentDetectionJobProperties"))
|
591
|
+
DescribeTargetedSentimentDetectionJobResponse.struct_class = Types::DescribeTargetedSentimentDetectionJobResponse
|
592
|
+
|
576
593
|
DescribeTopicsDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
577
594
|
DescribeTopicsDetectionJobRequest.struct_class = Types::DescribeTopicsDetectionJobRequest
|
578
595
|
|
@@ -1100,6 +1117,15 @@ module Aws::Comprehend
|
|
1100
1117
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1101
1118
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
1102
1119
|
|
1120
|
+
ListTargetedSentimentDetectionJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: TargetedSentimentDetectionJobFilter, location_name: "Filter"))
|
1121
|
+
ListTargetedSentimentDetectionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
1122
|
+
ListTargetedSentimentDetectionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
1123
|
+
ListTargetedSentimentDetectionJobsRequest.struct_class = Types::ListTargetedSentimentDetectionJobsRequest
|
1124
|
+
|
1125
|
+
ListTargetedSentimentDetectionJobsResponse.add_member(:targeted_sentiment_detection_job_properties_list, Shapes::ShapeRef.new(shape: TargetedSentimentDetectionJobPropertiesList, location_name: "TargetedSentimentDetectionJobPropertiesList"))
|
1126
|
+
ListTargetedSentimentDetectionJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
1127
|
+
ListTargetedSentimentDetectionJobsResponse.struct_class = Types::ListTargetedSentimentDetectionJobsResponse
|
1128
|
+
|
1103
1129
|
ListTopicsDetectionJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: TopicsDetectionJobFilter, location_name: "Filter"))
|
1104
1130
|
ListTopicsDetectionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
1105
1131
|
ListTopicsDetectionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
@@ -1317,6 +1343,22 @@ module Aws::Comprehend
|
|
1317
1343
|
StartSentimentDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1318
1344
|
StartSentimentDetectionJobResponse.struct_class = Types::StartSentimentDetectionJobResponse
|
1319
1345
|
|
1346
|
+
StartTargetedSentimentDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
1347
|
+
StartTargetedSentimentDetectionJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
1348
|
+
StartTargetedSentimentDetectionJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
1349
|
+
StartTargetedSentimentDetectionJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
1350
|
+
StartTargetedSentimentDetectionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
1351
|
+
StartTargetedSentimentDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1352
|
+
StartTargetedSentimentDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
1353
|
+
StartTargetedSentimentDetectionJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
1354
|
+
StartTargetedSentimentDetectionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1355
|
+
StartTargetedSentimentDetectionJobRequest.struct_class = Types::StartTargetedSentimentDetectionJobRequest
|
1356
|
+
|
1357
|
+
StartTargetedSentimentDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1358
|
+
StartTargetedSentimentDetectionJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1359
|
+
StartTargetedSentimentDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1360
|
+
StartTargetedSentimentDetectionJobResponse.struct_class = Types::StartTargetedSentimentDetectionJobResponse
|
1361
|
+
|
1320
1362
|
StartTopicsDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
1321
1363
|
StartTopicsDetectionJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
1322
1364
|
StartTopicsDetectionJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
@@ -1375,6 +1417,13 @@ module Aws::Comprehend
|
|
1375
1417
|
StopSentimentDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1376
1418
|
StopSentimentDetectionJobResponse.struct_class = Types::StopSentimentDetectionJobResponse
|
1377
1419
|
|
1420
|
+
StopTargetedSentimentDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
1421
|
+
StopTargetedSentimentDetectionJobRequest.struct_class = Types::StopTargetedSentimentDetectionJobRequest
|
1422
|
+
|
1423
|
+
StopTargetedSentimentDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1424
|
+
StopTargetedSentimentDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1425
|
+
StopTargetedSentimentDetectionJobResponse.struct_class = Types::StopTargetedSentimentDetectionJobResponse
|
1426
|
+
|
1378
1427
|
StopTrainingDocumentClassifierRequest.add_member(:document_classifier_arn, Shapes::ShapeRef.new(shape: DocumentClassifierArn, required: true, location_name: "DocumentClassifierArn"))
|
1379
1428
|
StopTrainingDocumentClassifierRequest.struct_class = Types::StopTrainingDocumentClassifierRequest
|
1380
1429
|
|
@@ -1410,6 +1459,29 @@ module Aws::Comprehend
|
|
1410
1459
|
|
1411
1460
|
TargetEventTypes.member = Shapes::ShapeRef.new(shape: EventTypeString)
|
1412
1461
|
|
1462
|
+
TargetedSentimentDetectionJobFilter.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
1463
|
+
TargetedSentimentDetectionJobFilter.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1464
|
+
TargetedSentimentDetectionJobFilter.add_member(:submit_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeBefore"))
|
1465
|
+
TargetedSentimentDetectionJobFilter.add_member(:submit_time_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeAfter"))
|
1466
|
+
TargetedSentimentDetectionJobFilter.struct_class = Types::TargetedSentimentDetectionJobFilter
|
1467
|
+
|
1468
|
+
TargetedSentimentDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1469
|
+
TargetedSentimentDetectionJobProperties.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1470
|
+
TargetedSentimentDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
1471
|
+
TargetedSentimentDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1472
|
+
TargetedSentimentDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
1473
|
+
TargetedSentimentDetectionJobProperties.add_member(:submit_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTime"))
|
1474
|
+
TargetedSentimentDetectionJobProperties.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
1475
|
+
TargetedSentimentDetectionJobProperties.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
|
1476
|
+
TargetedSentimentDetectionJobProperties.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "OutputDataConfig"))
|
1477
|
+
TargetedSentimentDetectionJobProperties.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
1478
|
+
TargetedSentimentDetectionJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
|
1479
|
+
TargetedSentimentDetectionJobProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
1480
|
+
TargetedSentimentDetectionJobProperties.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
1481
|
+
TargetedSentimentDetectionJobProperties.struct_class = Types::TargetedSentimentDetectionJobProperties
|
1482
|
+
|
1483
|
+
TargetedSentimentDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: TargetedSentimentDetectionJobProperties)
|
1484
|
+
|
1413
1485
|
TextSizeLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
1414
1486
|
TextSizeLimitExceededException.struct_class = Types::TextSizeLimitExceededException
|
1415
1487
|
|
@@ -1804,6 +1876,18 @@ module Aws::Comprehend
|
|
1804
1876
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1805
1877
|
end)
|
1806
1878
|
|
1879
|
+
api.add_operation(:describe_targeted_sentiment_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
1880
|
+
o.name = "DescribeTargetedSentimentDetectionJob"
|
1881
|
+
o.http_method = "POST"
|
1882
|
+
o.http_request_uri = "/"
|
1883
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeTargetedSentimentDetectionJobRequest)
|
1884
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeTargetedSentimentDetectionJobResponse)
|
1885
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1886
|
+
o.errors << Shapes::ShapeRef.new(shape: JobNotFoundException)
|
1887
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1888
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1889
|
+
end)
|
1890
|
+
|
1807
1891
|
api.add_operation(:describe_topics_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
1808
1892
|
o.name = "DescribeTopicsDetectionJob"
|
1809
1893
|
o.http_method = "POST"
|
@@ -2117,6 +2201,24 @@ module Aws::Comprehend
|
|
2117
2201
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2118
2202
|
end)
|
2119
2203
|
|
2204
|
+
api.add_operation(:list_targeted_sentiment_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
|
2205
|
+
o.name = "ListTargetedSentimentDetectionJobs"
|
2206
|
+
o.http_method = "POST"
|
2207
|
+
o.http_request_uri = "/"
|
2208
|
+
o.input = Shapes::ShapeRef.new(shape: ListTargetedSentimentDetectionJobsRequest)
|
2209
|
+
o.output = Shapes::ShapeRef.new(shape: ListTargetedSentimentDetectionJobsResponse)
|
2210
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2211
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2212
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFilterException)
|
2213
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2214
|
+
o[:pager] = Aws::Pager.new(
|
2215
|
+
limit_key: "max_results",
|
2216
|
+
tokens: {
|
2217
|
+
"next_token" => "next_token"
|
2218
|
+
}
|
2219
|
+
)
|
2220
|
+
end)
|
2221
|
+
|
2120
2222
|
api.add_operation(:list_topics_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
|
2121
2223
|
o.name = "ListTopicsDetectionJobs"
|
2122
2224
|
o.http_method = "POST"
|
@@ -2241,6 +2343,19 @@ module Aws::Comprehend
|
|
2241
2343
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2242
2344
|
end)
|
2243
2345
|
|
2346
|
+
api.add_operation(:start_targeted_sentiment_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
2347
|
+
o.name = "StartTargetedSentimentDetectionJob"
|
2348
|
+
o.http_method = "POST"
|
2349
|
+
o.http_request_uri = "/"
|
2350
|
+
o.input = Shapes::ShapeRef.new(shape: StartTargetedSentimentDetectionJobRequest)
|
2351
|
+
o.output = Shapes::ShapeRef.new(shape: StartTargetedSentimentDetectionJobResponse)
|
2352
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2353
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2354
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
2355
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
2356
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2357
|
+
end)
|
2358
|
+
|
2244
2359
|
api.add_operation(:start_topics_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
2245
2360
|
o.name = "StartTopicsDetectionJob"
|
2246
2361
|
o.http_method = "POST"
|
@@ -2320,6 +2435,17 @@ module Aws::Comprehend
|
|
2320
2435
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2321
2436
|
end)
|
2322
2437
|
|
2438
|
+
api.add_operation(:stop_targeted_sentiment_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
2439
|
+
o.name = "StopTargetedSentimentDetectionJob"
|
2440
|
+
o.http_method = "POST"
|
2441
|
+
o.http_request_uri = "/"
|
2442
|
+
o.input = Shapes::ShapeRef.new(shape: StopTargetedSentimentDetectionJobRequest)
|
2443
|
+
o.output = Shapes::ShapeRef.new(shape: StopTargetedSentimentDetectionJobResponse)
|
2444
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2445
|
+
o.errors << Shapes::ShapeRef.new(shape: JobNotFoundException)
|
2446
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2447
|
+
end)
|
2448
|
+
|
2323
2449
|
api.add_operation(:stop_training_document_classifier, Seahorse::Model::Operation.new.tap do |o|
|
2324
2450
|
o.name = "StopTrainingDocumentClassifier"
|
2325
2451
|
o.http_method = "POST"
|