Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets information about jobs.
- listJobs :: Text -> ListJobs
- data ListJobs
- ljNextToken :: Lens' ListJobs (Maybe Text)
- ljArn :: Lens' ListJobs Text
- listJobsResponse :: Int -> ListJobsResponse
- data ListJobsResponse
- ljrsJobs :: Lens' ListJobsResponse [Job]
- ljrsNextToken :: Lens' ListJobsResponse (Maybe Text)
- 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:
Represents a request to the list jobs operation.
See: listJobs
smart constructor.
Request Lenses
ljNextToken :: Lens' ListJobs (Maybe Text) Source
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
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:
data ListJobsResponse Source
Represents the result of a list jobs request.
See: listJobsResponse
smart constructor.
Response Lenses
ljrsJobs :: Lens' ListJobsResponse [Job] Source
Information about the jobs.
ljrsNextToken :: Lens' ListJobsResponse (Maybe Text) Source
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
ljrsResponseStatus :: Lens' ListJobsResponse Int Source
The response status code.