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 |
Returns a collection of HarvestJob records.
This operation returns paginated results.
Synopsis
- data ListHarvestJobs = ListHarvestJobs' {}
- newListHarvestJobs :: ListHarvestJobs
- listHarvestJobs_includeStatus :: Lens' ListHarvestJobs (Maybe Text)
- listHarvestJobs_nextToken :: Lens' ListHarvestJobs (Maybe Text)
- listHarvestJobs_includeChannelId :: Lens' ListHarvestJobs (Maybe Text)
- listHarvestJobs_maxResults :: Lens' ListHarvestJobs (Maybe Natural)
- data ListHarvestJobsResponse = ListHarvestJobsResponse' {
- harvestJobs :: Maybe [HarvestJob]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListHarvestJobsResponse :: Int -> ListHarvestJobsResponse
- listHarvestJobsResponse_harvestJobs :: Lens' ListHarvestJobsResponse (Maybe [HarvestJob])
- listHarvestJobsResponse_nextToken :: Lens' ListHarvestJobsResponse (Maybe Text)
- listHarvestJobsResponse_httpStatus :: Lens' ListHarvestJobsResponse Int
Creating a Request
data ListHarvestJobs Source #
See: newListHarvestJobs
smart constructor.
ListHarvestJobs' | |
|
Instances
newListHarvestJobs :: ListHarvestJobs Source #
Create a value of ListHarvestJobs
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:includeStatus:ListHarvestJobs'
, listHarvestJobs_includeStatus
- When specified, the request will return only HarvestJobs in the given
status.
$sel:nextToken:ListHarvestJobs'
, listHarvestJobs_nextToken
- A token used to resume pagination from the end of a previous request.
$sel:includeChannelId:ListHarvestJobs'
, listHarvestJobs_includeChannelId
- When specified, the request will return only HarvestJobs associated with
the given Channel ID.
$sel:maxResults:ListHarvestJobs'
, listHarvestJobs_maxResults
- The upper bound on the number of records to return.
Request Lenses
listHarvestJobs_includeStatus :: Lens' ListHarvestJobs (Maybe Text) Source #
When specified, the request will return only HarvestJobs in the given status.
listHarvestJobs_nextToken :: Lens' ListHarvestJobs (Maybe Text) Source #
A token used to resume pagination from the end of a previous request.
listHarvestJobs_includeChannelId :: Lens' ListHarvestJobs (Maybe Text) Source #
When specified, the request will return only HarvestJobs associated with the given Channel ID.
listHarvestJobs_maxResults :: Lens' ListHarvestJobs (Maybe Natural) Source #
The upper bound on the number of records to return.
Destructuring the Response
data ListHarvestJobsResponse Source #
See: newListHarvestJobsResponse
smart constructor.
ListHarvestJobsResponse' | |
|
Instances
newListHarvestJobsResponse Source #
Create a value of ListHarvestJobsResponse
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:harvestJobs:ListHarvestJobsResponse'
, listHarvestJobsResponse_harvestJobs
- A list of HarvestJob records.
$sel:nextToken:ListHarvestJobs'
, listHarvestJobsResponse_nextToken
- A token that can be used to resume pagination from the end of the
collection.
$sel:httpStatus:ListHarvestJobsResponse'
, listHarvestJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listHarvestJobsResponse_harvestJobs :: Lens' ListHarvestJobsResponse (Maybe [HarvestJob]) Source #
A list of HarvestJob records.
listHarvestJobsResponse_nextToken :: Lens' ListHarvestJobsResponse (Maybe Text) Source #
A token that can be used to resume pagination from the end of the collection.
listHarvestJobsResponse_httpStatus :: Lens' ListHarvestJobsResponse Int Source #
The response's http status code.