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 |
Retrieves a subset of information about one or more classification jobs.
This operation returns paginated results.
Synopsis
- data ListClassificationJobs = ListClassificationJobs' {}
- newListClassificationJobs :: ListClassificationJobs
- listClassificationJobs_filterCriteria :: Lens' ListClassificationJobs (Maybe ListJobsFilterCriteria)
- listClassificationJobs_sortCriteria :: Lens' ListClassificationJobs (Maybe ListJobsSortCriteria)
- listClassificationJobs_nextToken :: Lens' ListClassificationJobs (Maybe Text)
- listClassificationJobs_maxResults :: Lens' ListClassificationJobs (Maybe Int)
- data ListClassificationJobsResponse = ListClassificationJobsResponse' {
- items :: Maybe [JobSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListClassificationJobsResponse :: Int -> ListClassificationJobsResponse
- listClassificationJobsResponse_items :: Lens' ListClassificationJobsResponse (Maybe [JobSummary])
- listClassificationJobsResponse_nextToken :: Lens' ListClassificationJobsResponse (Maybe Text)
- listClassificationJobsResponse_httpStatus :: Lens' ListClassificationJobsResponse Int
Creating a Request
data ListClassificationJobs Source #
See: newListClassificationJobs
smart constructor.
ListClassificationJobs' | |
|
Instances
newListClassificationJobs :: ListClassificationJobs Source #
Create a value of ListClassificationJobs
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:filterCriteria:ListClassificationJobs'
, listClassificationJobs_filterCriteria
- The criteria to use to filter the results.
$sel:sortCriteria:ListClassificationJobs'
, listClassificationJobs_sortCriteria
- The criteria to use to sort the results.
$sel:nextToken:ListClassificationJobs'
, listClassificationJobs_nextToken
- The nextToken string that specifies which page of results to return in a
paginated response.
$sel:maxResults:ListClassificationJobs'
, listClassificationJobs_maxResults
- The maximum number of items to include in each page of the response.
Request Lenses
listClassificationJobs_filterCriteria :: Lens' ListClassificationJobs (Maybe ListJobsFilterCriteria) Source #
The criteria to use to filter the results.
listClassificationJobs_sortCriteria :: Lens' ListClassificationJobs (Maybe ListJobsSortCriteria) Source #
The criteria to use to sort the results.
listClassificationJobs_nextToken :: Lens' ListClassificationJobs (Maybe Text) Source #
The nextToken string that specifies which page of results to return in a paginated response.
listClassificationJobs_maxResults :: Lens' ListClassificationJobs (Maybe Int) Source #
The maximum number of items to include in each page of the response.
Destructuring the Response
data ListClassificationJobsResponse Source #
See: newListClassificationJobsResponse
smart constructor.
ListClassificationJobsResponse' | |
|
Instances
newListClassificationJobsResponse Source #
Create a value of ListClassificationJobsResponse
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:items:ListClassificationJobsResponse'
, listClassificationJobsResponse_items
- An array of objects, one for each job that meets the filter criteria
specified in the request.
$sel:nextToken:ListClassificationJobs'
, listClassificationJobsResponse_nextToken
- The string to use in a subsequent request to get the next page of
results in a paginated response. This value is null if there are no
additional pages.
$sel:httpStatus:ListClassificationJobsResponse'
, listClassificationJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listClassificationJobsResponse_items :: Lens' ListClassificationJobsResponse (Maybe [JobSummary]) Source #
An array of objects, one for each job that meets the filter criteria specified in the request.
listClassificationJobsResponse_nextToken :: Lens' ListClassificationJobsResponse (Maybe Text) Source #
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
listClassificationJobsResponse_httpStatus :: Lens' ListClassificationJobsResponse Int Source #
The response's http status code.