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 |
Gets information about jobs for a given test run.
This operation returns paginated results.
Synopsis
- data ListJobs = ListJobs' {}
- newListJobs :: Text -> ListJobs
- listJobs_nextToken :: Lens' ListJobs (Maybe Text)
- listJobs_arn :: Lens' ListJobs Text
- data ListJobsResponse = ListJobsResponse' {}
- newListJobsResponse :: Int -> ListJobsResponse
- listJobsResponse_jobs :: Lens' ListJobsResponse (Maybe [Job])
- listJobsResponse_nextToken :: Lens' ListJobsResponse (Maybe Text)
- listJobsResponse_httpStatus :: Lens' ListJobsResponse Int
Creating a Request
Represents a request to the list jobs operation.
See: newListJobs
smart constructor.
Instances
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:nextToken:ListJobs'
, listJobs_nextToken
- 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.
$sel:arn:ListJobs'
, listJobs_arn
- The run's Amazon Resource Name (ARN).
Request Lenses
listJobs_nextToken :: 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
data ListJobsResponse Source #
Represents the result of a list jobs request.
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
- Information about the jobs.
$sel:nextToken:ListJobs'
, listJobsResponse_nextToken
- If the number of items that are returned is significantly large, this is
an identifier that is also returned. It can be used in a subsequent call
to this operation to return the next set of items in the list.
$sel:httpStatus:ListJobsResponse'
, listJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listJobsResponse_jobs :: Lens' ListJobsResponse (Maybe [Job]) Source #
Information about the jobs.
listJobsResponse_nextToken :: Lens' ListJobsResponse (Maybe Text) Source #
If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
listJobsResponse_httpStatus :: Lens' ListJobsResponse Int Source #
The response's http status code.