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 a list of targeted sentiment detection jobs that you have submitted.
Synopsis
- data ListTargetedSentimentDetectionJobs = ListTargetedSentimentDetectionJobs' {}
- newListTargetedSentimentDetectionJobs :: ListTargetedSentimentDetectionJobs
- listTargetedSentimentDetectionJobs_filter :: Lens' ListTargetedSentimentDetectionJobs (Maybe TargetedSentimentDetectionJobFilter)
- listTargetedSentimentDetectionJobs_maxResults :: Lens' ListTargetedSentimentDetectionJobs (Maybe Natural)
- listTargetedSentimentDetectionJobs_nextToken :: Lens' ListTargetedSentimentDetectionJobs (Maybe Text)
- data ListTargetedSentimentDetectionJobsResponse = ListTargetedSentimentDetectionJobsResponse' {}
- newListTargetedSentimentDetectionJobsResponse :: Int -> ListTargetedSentimentDetectionJobsResponse
- listTargetedSentimentDetectionJobsResponse_nextToken :: Lens' ListTargetedSentimentDetectionJobsResponse (Maybe Text)
- listTargetedSentimentDetectionJobsResponse_targetedSentimentDetectionJobPropertiesList :: Lens' ListTargetedSentimentDetectionJobsResponse (Maybe [TargetedSentimentDetectionJobProperties])
- listTargetedSentimentDetectionJobsResponse_httpStatus :: Lens' ListTargetedSentimentDetectionJobsResponse Int
Creating a Request
data ListTargetedSentimentDetectionJobs Source #
See: newListTargetedSentimentDetectionJobs
smart constructor.
ListTargetedSentimentDetectionJobs' | |
|
Instances
newListTargetedSentimentDetectionJobs :: ListTargetedSentimentDetectionJobs Source #
Create a value of ListTargetedSentimentDetectionJobs
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:filter':ListTargetedSentimentDetectionJobs'
, listTargetedSentimentDetectionJobs_filter
- Filters the jobs that are returned. You can filter jobs on their name,
status, or the date and time that they were submitted. You can only set
one filter at a time.
$sel:maxResults:ListTargetedSentimentDetectionJobs'
, listTargetedSentimentDetectionJobs_maxResults
- The maximum number of results to return in each page. The default is
100.
ListTargetedSentimentDetectionJobs
, listTargetedSentimentDetectionJobs_nextToken
- Identifies the next page of results to return.
Request Lenses
listTargetedSentimentDetectionJobs_filter :: Lens' ListTargetedSentimentDetectionJobs (Maybe TargetedSentimentDetectionJobFilter) Source #
Filters the jobs that are returned. You can filter jobs on their name, status, or the date and time that they were submitted. You can only set one filter at a time.
listTargetedSentimentDetectionJobs_maxResults :: Lens' ListTargetedSentimentDetectionJobs (Maybe Natural) Source #
The maximum number of results to return in each page. The default is 100.
listTargetedSentimentDetectionJobs_nextToken :: Lens' ListTargetedSentimentDetectionJobs (Maybe Text) Source #
Identifies the next page of results to return.
Destructuring the Response
data ListTargetedSentimentDetectionJobsResponse Source #
See: newListTargetedSentimentDetectionJobsResponse
smart constructor.
ListTargetedSentimentDetectionJobsResponse' | |
|
Instances
newListTargetedSentimentDetectionJobsResponse Source #
Create a value of ListTargetedSentimentDetectionJobsResponse
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:
ListTargetedSentimentDetectionJobs
, listTargetedSentimentDetectionJobsResponse_nextToken
- Identifies the next page of results to return.
$sel:targetedSentimentDetectionJobPropertiesList:ListTargetedSentimentDetectionJobsResponse'
, listTargetedSentimentDetectionJobsResponse_targetedSentimentDetectionJobPropertiesList
- A list containing the properties of each job that is returned.
$sel:httpStatus:ListTargetedSentimentDetectionJobsResponse'
, listTargetedSentimentDetectionJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listTargetedSentimentDetectionJobsResponse_nextToken :: Lens' ListTargetedSentimentDetectionJobsResponse (Maybe Text) Source #
Identifies the next page of results to return.
listTargetedSentimentDetectionJobsResponse_targetedSentimentDetectionJobPropertiesList :: Lens' ListTargetedSentimentDetectionJobsResponse (Maybe [TargetedSentimentDetectionJobProperties]) Source #
A list containing the properties of each job that is returned.
listTargetedSentimentDetectionJobsResponse_httpStatus :: Lens' ListTargetedSentimentDetectionJobsResponse Int Source #
The response's http status code.