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 |
Retrieves a list of annotation import jobs.
This operation returns paginated results.
Synopsis
- data ListAnnotationImportJobs = ListAnnotationImportJobs' {}
- newListAnnotationImportJobs :: ListAnnotationImportJobs
- listAnnotationImportJobs_filter :: Lens' ListAnnotationImportJobs (Maybe ListAnnotationImportJobsFilter)
- listAnnotationImportJobs_ids :: Lens' ListAnnotationImportJobs (Maybe (NonEmpty Text))
- listAnnotationImportJobs_maxResults :: Lens' ListAnnotationImportJobs (Maybe Natural)
- listAnnotationImportJobs_nextToken :: Lens' ListAnnotationImportJobs (Maybe Text)
- data ListAnnotationImportJobsResponse = ListAnnotationImportJobsResponse' {}
- newListAnnotationImportJobsResponse :: Int -> ListAnnotationImportJobsResponse
- listAnnotationImportJobsResponse_annotationImportJobs :: Lens' ListAnnotationImportJobsResponse (Maybe [AnnotationImportJobItem])
- listAnnotationImportJobsResponse_nextToken :: Lens' ListAnnotationImportJobsResponse (Maybe Text)
- listAnnotationImportJobsResponse_httpStatus :: Lens' ListAnnotationImportJobsResponse Int
Creating a Request
data ListAnnotationImportJobs Source #
See: newListAnnotationImportJobs
smart constructor.
ListAnnotationImportJobs' | |
|
Instances
newListAnnotationImportJobs :: ListAnnotationImportJobs Source #
Create a value of ListAnnotationImportJobs
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':ListAnnotationImportJobs'
, listAnnotationImportJobs_filter
- A filter to apply to the list.
$sel:ids:ListAnnotationImportJobs'
, listAnnotationImportJobs_ids
- IDs of annotation import jobs to retrieve.
$sel:maxResults:ListAnnotationImportJobs'
, listAnnotationImportJobs_maxResults
- The maximum number of jobs to return in one page of results.
ListAnnotationImportJobs
, listAnnotationImportJobs_nextToken
- Specify the pagination token from a previous request to retrieve the
next page of results.
Request Lenses
listAnnotationImportJobs_filter :: Lens' ListAnnotationImportJobs (Maybe ListAnnotationImportJobsFilter) Source #
A filter to apply to the list.
listAnnotationImportJobs_ids :: Lens' ListAnnotationImportJobs (Maybe (NonEmpty Text)) Source #
IDs of annotation import jobs to retrieve.
listAnnotationImportJobs_maxResults :: Lens' ListAnnotationImportJobs (Maybe Natural) Source #
The maximum number of jobs to return in one page of results.
listAnnotationImportJobs_nextToken :: Lens' ListAnnotationImportJobs (Maybe Text) Source #
Specify the pagination token from a previous request to retrieve the next page of results.
Destructuring the Response
data ListAnnotationImportJobsResponse Source #
See: newListAnnotationImportJobsResponse
smart constructor.
ListAnnotationImportJobsResponse' | |
|
Instances
newListAnnotationImportJobsResponse Source #
Create a value of ListAnnotationImportJobsResponse
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:annotationImportJobs:ListAnnotationImportJobsResponse'
, listAnnotationImportJobsResponse_annotationImportJobs
- A list of jobs.
ListAnnotationImportJobs
, listAnnotationImportJobsResponse_nextToken
- A pagination token that's included if more results are available.
$sel:httpStatus:ListAnnotationImportJobsResponse'
, listAnnotationImportJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listAnnotationImportJobsResponse_annotationImportJobs :: Lens' ListAnnotationImportJobsResponse (Maybe [AnnotationImportJobItem]) Source #
A list of jobs.
listAnnotationImportJobsResponse_nextToken :: Lens' ListAnnotationImportJobsResponse (Maybe Text) Source #
A pagination token that's included if more results are available.
listAnnotationImportJobsResponse_httpStatus :: Lens' ListAnnotationImportJobsResponse Int Source #
The response's http status code.