| 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 |
Network.AWS.Snowball.ListClusterJobs
Description
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.
Synopsis
- 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
Arguments
| :: Text | |
| -> ListClusterJobs |
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 ofJobListEntryobjects, you have the option of specifyingNextTokenas the starting point for your returned list.lcjMaxResults- The number ofJobListEntryobjects 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.
Instances
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 #
Arguments
| :: Int | |
| -> ListClusterJobsResponse |
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- EachJobListEntryobject 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 generatedNextTokenvalue in your nextListClusterJobsResultcall, 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.
Instances
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.