Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Gets a list of sentiment detection jobs that you have submitted.
This operation returns paginated results.
Synopsis
- data ListSentimentDetectionJobs = ListSentimentDetectionJobs' {}
- newListSentimentDetectionJobs :: ListSentimentDetectionJobs
- listSentimentDetectionJobs_nextToken :: Lens' ListSentimentDetectionJobs (Maybe Text)
- listSentimentDetectionJobs_filter :: Lens' ListSentimentDetectionJobs (Maybe SentimentDetectionJobFilter)
- listSentimentDetectionJobs_maxResults :: Lens' ListSentimentDetectionJobs (Maybe Natural)
- data ListSentimentDetectionJobsResponse = ListSentimentDetectionJobsResponse' {}
- newListSentimentDetectionJobsResponse :: Int -> ListSentimentDetectionJobsResponse
- listSentimentDetectionJobsResponse_nextToken :: Lens' ListSentimentDetectionJobsResponse (Maybe Text)
- listSentimentDetectionJobsResponse_sentimentDetectionJobPropertiesList :: Lens' ListSentimentDetectionJobsResponse (Maybe [SentimentDetectionJobProperties])
- listSentimentDetectionJobsResponse_httpStatus :: Lens' ListSentimentDetectionJobsResponse Int
Creating a Request
data ListSentimentDetectionJobs Source #
See: newListSentimentDetectionJobs
smart constructor.
ListSentimentDetectionJobs' | |
|
Instances
newListSentimentDetectionJobs :: ListSentimentDetectionJobs Source #
Create a value of ListSentimentDetectionJobs
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:nextToken:ListSentimentDetectionJobs'
, listSentimentDetectionJobs_nextToken
- Identifies the next page of results to return.
$sel:filter':ListSentimentDetectionJobs'
, listSentimentDetectionJobs_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:ListSentimentDetectionJobs'
, listSentimentDetectionJobs_maxResults
- The maximum number of results to return in each page. The default is
100.
Request Lenses
listSentimentDetectionJobs_nextToken :: Lens' ListSentimentDetectionJobs (Maybe Text) Source #
Identifies the next page of results to return.
listSentimentDetectionJobs_filter :: Lens' ListSentimentDetectionJobs (Maybe SentimentDetectionJobFilter) 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.
listSentimentDetectionJobs_maxResults :: Lens' ListSentimentDetectionJobs (Maybe Natural) Source #
The maximum number of results to return in each page. The default is 100.
Destructuring the Response
data ListSentimentDetectionJobsResponse Source #
See: newListSentimentDetectionJobsResponse
smart constructor.
ListSentimentDetectionJobsResponse' | |
|
Instances
newListSentimentDetectionJobsResponse Source #
Create a value of ListSentimentDetectionJobsResponse
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:nextToken:ListSentimentDetectionJobs'
, listSentimentDetectionJobsResponse_nextToken
- Identifies the next page of results to return.
$sel:sentimentDetectionJobPropertiesList:ListSentimentDetectionJobsResponse'
, listSentimentDetectionJobsResponse_sentimentDetectionJobPropertiesList
- A list containing the properties of each job that is returned.
$sel:httpStatus:ListSentimentDetectionJobsResponse'
, listSentimentDetectionJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listSentimentDetectionJobsResponse_nextToken :: Lens' ListSentimentDetectionJobsResponse (Maybe Text) Source #
Identifies the next page of results to return.
listSentimentDetectionJobsResponse_sentimentDetectionJobPropertiesList :: Lens' ListSentimentDetectionJobsResponse (Maybe [SentimentDetectionJobProperties]) Source #
A list containing the properties of each job that is returned.
listSentimentDetectionJobsResponse_httpStatus :: Lens' ListSentimentDetectionJobsResponse Int Source #
The response's http status code.