| 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.ListSentimentDetectionJobs
Description
Gets a list of sentiment detection jobs that you have submitted.
This operation returns paginated results.
Synopsis
- data ListSentimentDetectionJobs = ListSentimentDetectionJobs' {}
- newListSentimentDetectionJobs :: ListSentimentDetectionJobs
- listSentimentDetectionJobs_filter :: Lens' ListSentimentDetectionJobs (Maybe SentimentDetectionJobFilter)
- listSentimentDetectionJobs_maxResults :: Lens' ListSentimentDetectionJobs (Maybe Natural)
- listSentimentDetectionJobs_nextToken :: Lens' ListSentimentDetectionJobs (Maybe Text)
- 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.
Constructors
| ListSentimentDetectionJobs' | |
Fields
| |
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: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.
ListSentimentDetectionJobs, listSentimentDetectionJobs_nextToken - Identifies the next page of results to return.
Request Lenses
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.
listSentimentDetectionJobs_nextToken :: Lens' ListSentimentDetectionJobs (Maybe Text) Source #
Identifies the next page of results to return.
Destructuring the Response
data ListSentimentDetectionJobsResponse Source #
See: newListSentimentDetectionJobsResponse smart constructor.
Constructors
| ListSentimentDetectionJobsResponse' | |
Fields
| |
Instances
newListSentimentDetectionJobsResponse Source #
Arguments
| :: Int | |
| -> ListSentimentDetectionJobsResponse |
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:
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.