Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed Mar 9, 2022
1 parent 9cf431c commit f072efb
Show file tree
Hide file tree
Showing 12 changed files with 1,148 additions and 16 deletions.
166 changes: 165 additions & 1 deletion apis/comprehend/2017-11-27/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,21 @@
{"shape":"InternalServerException"}
]
},
"DescribeTargetedSentimentDetectionJob":{
"name":"DescribeTargetedSentimentDetectionJob",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeTargetedSentimentDetectionJobRequest"},
"output":{"shape":"DescribeTargetedSentimentDetectionJobResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"JobNotFoundException"},
{"shape":"TooManyRequestsException"},
{"shape":"InternalServerException"}
]
},
"DescribeTopicsDetectionJob":{
"name":"DescribeTopicsDetectionJob",
"http":{
Expand Down Expand Up @@ -723,6 +738,21 @@
{"shape":"InternalServerException"}
]
},
"ListTargetedSentimentDetectionJobs":{
"name":"ListTargetedSentimentDetectionJobs",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListTargetedSentimentDetectionJobsRequest"},
"output":{"shape":"ListTargetedSentimentDetectionJobsResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"TooManyRequestsException"},
{"shape":"InvalidFilterException"},
{"shape":"InternalServerException"}
]
},
"ListTopicsDetectionJobs":{
"name":"ListTopicsDetectionJobs",
"http":{
Expand Down Expand Up @@ -868,6 +898,22 @@
{"shape":"InternalServerException"}
]
},
"StartTargetedSentimentDetectionJob":{
"name":"StartTargetedSentimentDetectionJob",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"StartTargetedSentimentDetectionJobRequest"},
"output":{"shape":"StartTargetedSentimentDetectionJobResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"TooManyRequestsException"},
{"shape":"KmsKeyValidationException"},
{"shape":"TooManyTagsException"},
{"shape":"InternalServerException"}
]
},
"StartTopicsDetectionJob":{
"name":"StartTopicsDetectionJob",
"http":{
Expand Down Expand Up @@ -968,6 +1014,20 @@
{"shape":"InternalServerException"}
]
},
"StopTargetedSentimentDetectionJob":{
"name":"StopTargetedSentimentDetectionJob",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"StopTargetedSentimentDetectionJobRequest"},
"output":{"shape":"StopTargetedSentimentDetectionJobResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"JobNotFoundException"},
{"shape":"InternalServerException"}
]
},
"StopTrainingDocumentClassifier":{
"name":"StopTrainingDocumentClassifier",
"http":{
Expand Down Expand Up @@ -1640,6 +1700,19 @@
"SentimentDetectionJobProperties":{"shape":"SentimentDetectionJobProperties"}
}
},
"DescribeTargetedSentimentDetectionJobRequest":{
"type":"structure",
"required":["JobId"],
"members":{
"JobId":{"shape":"JobId"}
}
},
"DescribeTargetedSentimentDetectionJobResponse":{
"type":"structure",
"members":{
"TargetedSentimentDetectionJobProperties":{"shape":"TargetedSentimentDetectionJobProperties"}
}
},
"DescribeTopicsDetectionJobRequest":{
"type":"structure",
"required":["JobId"],
Expand Down Expand Up @@ -2401,7 +2474,7 @@
"KmsKeyId":{
"type":"string",
"max":2048,
"pattern":".*"
"pattern":"^\\p{ASCII}+$"
},
"KmsKeyValidationException":{
"type":"structure",
Expand Down Expand Up @@ -2687,6 +2760,21 @@
"Tags":{"shape":"TagList"}
}
},
"ListTargetedSentimentDetectionJobsRequest":{
"type":"structure",
"members":{
"Filter":{"shape":"TargetedSentimentDetectionJobFilter"},
"NextToken":{"shape":"String"},
"MaxResults":{"shape":"MaxResultsInteger"}
}
},
"ListTargetedSentimentDetectionJobsResponse":{
"type":"structure",
"members":{
"TargetedSentimentDetectionJobPropertiesList":{"shape":"TargetedSentimentDetectionJobPropertiesList"},
"NextToken":{"shape":"String"}
}
},
"ListTopicsDetectionJobsRequest":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -3213,6 +3301,37 @@
"JobStatus":{"shape":"JobStatus"}
}
},
"StartTargetedSentimentDetectionJobRequest":{
"type":"structure",
"required":[
"InputDataConfig",
"OutputDataConfig",
"DataAccessRoleArn",
"LanguageCode"
],
"members":{
"InputDataConfig":{"shape":"InputDataConfig"},
"OutputDataConfig":{"shape":"OutputDataConfig"},
"DataAccessRoleArn":{"shape":"IamRoleArn"},
"JobName":{"shape":"JobName"},
"LanguageCode":{"shape":"LanguageCode"},
"ClientRequestToken":{
"shape":"ClientRequestTokenString",
"idempotencyToken":true
},
"VolumeKmsKeyId":{"shape":"KmsKeyId"},
"VpcConfig":{"shape":"VpcConfig"},
"Tags":{"shape":"TagList"}
}
},
"StartTargetedSentimentDetectionJobResponse":{
"type":"structure",
"members":{
"JobId":{"shape":"JobId"},
"JobArn":{"shape":"ComprehendArn"},
"JobStatus":{"shape":"JobStatus"}
}
},
"StartTopicsDetectionJobRequest":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -3327,6 +3446,20 @@
"JobStatus":{"shape":"JobStatus"}
}
},
"StopTargetedSentimentDetectionJobRequest":{
"type":"structure",
"required":["JobId"],
"members":{
"JobId":{"shape":"JobId"}
}
},
"StopTargetedSentimentDetectionJobResponse":{
"type":"structure",
"members":{
"JobId":{"shape":"JobId"},
"JobStatus":{"shape":"JobStatus"}
}
},
"StopTrainingDocumentClassifierRequest":{
"type":"structure",
"required":["DocumentClassifierArn"],
Expand Down Expand Up @@ -3435,6 +3568,37 @@
"member":{"shape":"EventTypeString"},
"min":1
},
"TargetedSentimentDetectionJobFilter":{
"type":"structure",
"members":{
"JobName":{"shape":"JobName"},
"JobStatus":{"shape":"JobStatus"},
"SubmitTimeBefore":{"shape":"Timestamp"},
"SubmitTimeAfter":{"shape":"Timestamp"}
}
},
"TargetedSentimentDetectionJobProperties":{
"type":"structure",
"members":{
"JobId":{"shape":"JobId"},
"JobArn":{"shape":"ComprehendArn"},
"JobName":{"shape":"JobName"},
"JobStatus":{"shape":"JobStatus"},
"Message":{"shape":"AnyLengthString"},
"SubmitTime":{"shape":"Timestamp"},
"EndTime":{"shape":"Timestamp"},
"InputDataConfig":{"shape":"InputDataConfig"},
"OutputDataConfig":{"shape":"OutputDataConfig"},
"LanguageCode":{"shape":"LanguageCode"},
"DataAccessRoleArn":{"shape":"IamRoleArn"},
"VolumeKmsKeyId":{"shape":"KmsKeyId"},
"VpcConfig":{"shape":"VpcConfig"}
}
},
"TargetedSentimentDetectionJobPropertiesList":{
"type":"list",
"member":{"shape":"TargetedSentimentDetectionJobProperties"}
},
"TextSizeLimitExceededException":{
"type":"structure",
"members":{
Expand Down
Loading

0 comments on commit f072efb

Please sign in to comment.