| 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.MediaPackage.ListHarvestJobs
Description
Returns a collection of HarvestJob records.
This operation returns paginated results.
Synopsis
- data ListHarvestJobs = ListHarvestJobs' {}
- newListHarvestJobs :: ListHarvestJobs
- listHarvestJobs_includeChannelId :: Lens' ListHarvestJobs (Maybe Text)
- listHarvestJobs_includeStatus :: Lens' ListHarvestJobs (Maybe Text)
- listHarvestJobs_maxResults :: Lens' ListHarvestJobs (Maybe Natural)
- listHarvestJobs_nextToken :: Lens' ListHarvestJobs (Maybe Text)
- 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.
Constructors
| ListHarvestJobs' | |
Fields
| |
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:includeChannelId:ListHarvestJobs', listHarvestJobs_includeChannelId - When specified, the request will return only HarvestJobs associated with
the given Channel ID.
$sel:includeStatus:ListHarvestJobs', listHarvestJobs_includeStatus - When specified, the request will return only HarvestJobs in the given
status.
$sel:maxResults:ListHarvestJobs', listHarvestJobs_maxResults - The upper bound on the number of records to return.
ListHarvestJobs, listHarvestJobs_nextToken - A token used to resume pagination from the end of a previous request.
Request Lenses
listHarvestJobs_includeChannelId :: Lens' ListHarvestJobs (Maybe Text) Source #
When specified, the request will return only HarvestJobs associated with the given Channel ID.
listHarvestJobs_includeStatus :: Lens' ListHarvestJobs (Maybe Text) Source #
When specified, the request will return only HarvestJobs in the given status.
listHarvestJobs_maxResults :: Lens' ListHarvestJobs (Maybe Natural) Source #
The upper bound on the number of records to return.
listHarvestJobs_nextToken :: Lens' ListHarvestJobs (Maybe Text) Source #
A token used to resume pagination from the end of a previous request.
Destructuring the Response
data ListHarvestJobsResponse Source #
See: newListHarvestJobsResponse smart constructor.
Constructors
| ListHarvestJobsResponse' | |
Fields
| |
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.
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.