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 |
Gets the properties associated with a targeted sentiment detection job. Use this operation to get the status of the job.
Synopsis
- data DescribeTargetedSentimentDetectionJob = DescribeTargetedSentimentDetectionJob' {}
- newDescribeTargetedSentimentDetectionJob :: Text -> DescribeTargetedSentimentDetectionJob
- describeTargetedSentimentDetectionJob_jobId :: Lens' DescribeTargetedSentimentDetectionJob Text
- data DescribeTargetedSentimentDetectionJobResponse = DescribeTargetedSentimentDetectionJobResponse' {}
- newDescribeTargetedSentimentDetectionJobResponse :: Int -> DescribeTargetedSentimentDetectionJobResponse
- describeTargetedSentimentDetectionJobResponse_targetedSentimentDetectionJobProperties :: Lens' DescribeTargetedSentimentDetectionJobResponse (Maybe TargetedSentimentDetectionJobProperties)
- describeTargetedSentimentDetectionJobResponse_httpStatus :: Lens' DescribeTargetedSentimentDetectionJobResponse Int
Creating a Request
data DescribeTargetedSentimentDetectionJob Source #
See: newDescribeTargetedSentimentDetectionJob
smart constructor.
Instances
newDescribeTargetedSentimentDetectionJob Source #
Create a value of DescribeTargetedSentimentDetectionJob
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:
DescribeTargetedSentimentDetectionJob
, describeTargetedSentimentDetectionJob_jobId
- The identifier that Amazon Comprehend generated for the job. The
operation returns this identifier in its response.
Request Lenses
describeTargetedSentimentDetectionJob_jobId :: Lens' DescribeTargetedSentimentDetectionJob Text Source #
The identifier that Amazon Comprehend generated for the job. The operation returns this identifier in its response.
Destructuring the Response
data DescribeTargetedSentimentDetectionJobResponse Source #
See: newDescribeTargetedSentimentDetectionJobResponse
smart constructor.
DescribeTargetedSentimentDetectionJobResponse' | |
|
Instances
newDescribeTargetedSentimentDetectionJobResponse Source #
:: Int |
|
-> DescribeTargetedSentimentDetectionJobResponse |
Create a value of DescribeTargetedSentimentDetectionJobResponse
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:targetedSentimentDetectionJobProperties:DescribeTargetedSentimentDetectionJobResponse'
, describeTargetedSentimentDetectionJobResponse_targetedSentimentDetectionJobProperties
- An object that contains the properties associated with a targeted
sentiment detection job.
$sel:httpStatus:DescribeTargetedSentimentDetectionJobResponse'
, describeTargetedSentimentDetectionJobResponse_httpStatus
- The response's http status code.
Response Lenses
describeTargetedSentimentDetectionJobResponse_targetedSentimentDetectionJobProperties :: Lens' DescribeTargetedSentimentDetectionJobResponse (Maybe TargetedSentimentDetectionJobProperties) Source #
An object that contains the properties associated with a targeted sentiment detection job.
describeTargetedSentimentDetectionJobResponse_httpStatus :: Lens' DescribeTargetedSentimentDetectionJobResponse Int Source #
The response's http status code.