| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Comprehend.DescribeSentimentDetectionJob
Description
Gets the properties associated with a sentiment detection job. Use this operation to get the status of a detection job.
Synopsis
- data DescribeSentimentDetectionJob = DescribeSentimentDetectionJob' {}
- newDescribeSentimentDetectionJob :: Text -> DescribeSentimentDetectionJob
- describeSentimentDetectionJob_jobId :: Lens' DescribeSentimentDetectionJob Text
- data DescribeSentimentDetectionJobResponse = DescribeSentimentDetectionJobResponse' {}
- newDescribeSentimentDetectionJobResponse :: Int -> DescribeSentimentDetectionJobResponse
- describeSentimentDetectionJobResponse_sentimentDetectionJobProperties :: Lens' DescribeSentimentDetectionJobResponse (Maybe SentimentDetectionJobProperties)
- describeSentimentDetectionJobResponse_httpStatus :: Lens' DescribeSentimentDetectionJobResponse Int
Creating a Request
data DescribeSentimentDetectionJob Source #
See: newDescribeSentimentDetectionJob smart constructor.
Constructors
| DescribeSentimentDetectionJob' | |
Instances
newDescribeSentimentDetectionJob Source #
Create a value of DescribeSentimentDetectionJob with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeSentimentDetectionJob, describeSentimentDetectionJob_jobId - The identifier that Amazon Comprehend generated for the job. The
operation returns this identifier in its response.
Request Lenses
describeSentimentDetectionJob_jobId :: Lens' DescribeSentimentDetectionJob Text Source #
The identifier that Amazon Comprehend generated for the job. The operation returns this identifier in its response.
Destructuring the Response
data DescribeSentimentDetectionJobResponse Source #
See: newDescribeSentimentDetectionJobResponse smart constructor.
Constructors
| DescribeSentimentDetectionJobResponse' | |
Fields
| |
Instances
newDescribeSentimentDetectionJobResponse Source #
Arguments
| :: Int | |
| -> DescribeSentimentDetectionJobResponse |
Create a value of DescribeSentimentDetectionJobResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:sentimentDetectionJobProperties:DescribeSentimentDetectionJobResponse', describeSentimentDetectionJobResponse_sentimentDetectionJobProperties - An object that contains the properties associated with a sentiment
detection job.
$sel:httpStatus:DescribeSentimentDetectionJobResponse', describeSentimentDetectionJobResponse_httpStatus - The response's http status code.
Response Lenses
describeSentimentDetectionJobResponse_sentimentDetectionJobProperties :: Lens' DescribeSentimentDetectionJobResponse (Maybe SentimentDetectionJobProperties) Source #
An object that contains the properties associated with a sentiment detection job.
describeSentimentDetectionJobResponse_httpStatus :: Lens' DescribeSentimentDetectionJobResponse Int Source #
The response's http status code.