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 |
This operation returns the jobs associated with the requester. AWS Import/Export lists the jobs in reverse chronological order based on the date of creation. For example if Job Test1 was created 2009Dec30 and Test2 was created 2010Feb05, the ListJobs operation would return Test2 followed by Test1.
This operation returns paginated results.
Synopsis
- data ListJobs = ListJobs' {}
- newListJobs :: ListJobs
- listJobs_aPIVersion :: Lens' ListJobs (Maybe Text)
- listJobs_marker :: Lens' ListJobs (Maybe Text)
- listJobs_maxJobs :: Lens' ListJobs (Maybe Int)
- data ListJobsResponse = ListJobsResponse' {
- jobs :: Maybe [Job]
- isTruncated :: Maybe Bool
- httpStatus :: Int
- newListJobsResponse :: Int -> ListJobsResponse
- listJobsResponse_jobs :: Lens' ListJobsResponse (Maybe [Job])
- listJobsResponse_isTruncated :: Lens' ListJobsResponse (Maybe Bool)
- listJobsResponse_httpStatus :: Lens' ListJobsResponse Int
Creating a Request
Input structure for the ListJobs operation.
See: newListJobs
smart constructor.
Instances
newListJobs :: ListJobs Source #
Create a value of ListJobs
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:aPIVersion:ListJobs'
, listJobs_aPIVersion
- Undocumented member.
$sel:marker:ListJobs'
, listJobs_marker
- Undocumented member.
$sel:maxJobs:ListJobs'
, listJobs_maxJobs
- Undocumented member.
Request Lenses
Destructuring the Response
data ListJobsResponse Source #
Output structure for the ListJobs operation.
See: newListJobsResponse
smart constructor.
ListJobsResponse' | |
|
Instances
Create a value of ListJobsResponse
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:jobs:ListJobsResponse'
, listJobsResponse_jobs
- Undocumented member.
$sel:isTruncated:ListJobsResponse'
, listJobsResponse_isTruncated
- Undocumented member.
$sel:httpStatus:ListJobsResponse'
, listJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listJobsResponse_jobs :: Lens' ListJobsResponse (Maybe [Job]) Source #
Undocumented member.
listJobsResponse_isTruncated :: Lens' ListJobsResponse (Maybe Bool) Source #
Undocumented member.
listJobsResponse_httpStatus :: Lens' ListJobsResponse Int Source #
The response's http status code.