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 |
Returns an array of JobListEntry
objects of the specified length. Each JobListEntry
object is for a job in the specified cluster and contains a job's state, a job's ID, and other information.
- listClusterJobs :: Text -> ListClusterJobs
- data ListClusterJobs
- lcjNextToken :: Lens' ListClusterJobs (Maybe Text)
- lcjMaxResults :: Lens' ListClusterJobs (Maybe Natural)
- lcjClusterId :: Lens' ListClusterJobs Text
- listClusterJobsResponse :: Int -> ListClusterJobsResponse
- data ListClusterJobsResponse
- lcjrsJobListEntries :: Lens' ListClusterJobsResponse [JobListEntry]
- lcjrsNextToken :: Lens' ListClusterJobsResponse (Maybe Text)
- lcjrsResponseStatus :: Lens' ListClusterJobsResponse Int
Creating a Request
Creates a value of ListClusterJobs
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcjNextToken
- HTTP requests are stateless. To identify what object comes "next" in the list ofJobListEntry
objects, you have the option of specifyingNextToken
as the starting point for your returned list.lcjMaxResults
- The number ofJobListEntry
objects to return.lcjClusterId
- The 39-character ID for the cluster that you want to list, for exampleCID123e4567-e89b-12d3-a456-426655440000
.
data ListClusterJobs Source #
See: listClusterJobs
smart constructor.
Request Lenses
lcjNextToken :: Lens' ListClusterJobs (Maybe Text) Source #
HTTP requests are stateless. To identify what object comes "next" in the list of JobListEntry
objects, you have the option of specifying NextToken
as the starting point for your returned list.
lcjMaxResults :: Lens' ListClusterJobs (Maybe Natural) Source #
The number of JobListEntry
objects to return.
lcjClusterId :: Lens' ListClusterJobs Text Source #
The 39-character ID for the cluster that you want to list, for example CID123e4567-e89b-12d3-a456-426655440000
.
Destructuring the Response
listClusterJobsResponse Source #
Creates a value of ListClusterJobsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcjrsJobListEntries
- EachJobListEntry
object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs.lcjrsNextToken
- HTTP requests are stateless. If you use the automatically generatedNextToken
value in your nextListClusterJobsResult
call, your list of returned jobs will start from this point in the array.lcjrsResponseStatus
- -- | The response status code.
data ListClusterJobsResponse Source #
See: listClusterJobsResponse
smart constructor.
Response Lenses
lcjrsJobListEntries :: Lens' ListClusterJobsResponse [JobListEntry] Source #
Each JobListEntry
object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs.
lcjrsNextToken :: Lens' ListClusterJobsResponse (Maybe Text) Source #
HTTP requests are stateless. If you use the automatically generated NextToken
value in your next ListClusterJobsResult
call, your list of returned jobs will start from this point in the array.
lcjrsResponseStatus :: Lens' ListClusterJobsResponse Int Source #
- - | The response status code.