Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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
- listJobs :: ListJobs
- data ListJobs
- ljAPIVersion :: Lens' ListJobs (Maybe Text)
- ljMarker :: Lens' ListJobs (Maybe Text)
- ljMaxJobs :: Lens' ListJobs (Maybe Int)
- listJobsResponse :: Int -> ListJobsResponse
- data ListJobsResponse
- ljrsJobs :: Lens' ListJobsResponse [Job]
- ljrsIsTruncated :: Lens' ListJobsResponse (Maybe Bool)
- ljrsResponseStatus :: Lens' ListJobsResponse Int
Creating a Request
Creates a value of ListJobs
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ljAPIVersion
- Undocumented member.ljMarker
- Undocumented member.ljMaxJobs
- Undocumented member.
Input structure for the ListJobs operation.
See: listJobs
smart constructor.
Instances
Request Lenses
Destructuring the Response
Creates a value of ListJobsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ljrsJobs
- Undocumented member.ljrsIsTruncated
- Undocumented member.ljrsResponseStatus
- -- | The response status code.
data ListJobsResponse Source #
Output structure for the ListJobs operation.
See: listJobsResponse
smart constructor.
Instances
Response Lenses
ljrsIsTruncated :: Lens' ListJobsResponse (Maybe Bool) Source #
Undocumented member.
ljrsResponseStatus :: Lens' ListJobsResponse Int Source #
- - | The response status code.