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 runs, given an AWS Device Farm project ARN.
This operation returns paginated results.
Synopsis
- data ListRuns = ListRuns' {}
- newListRuns :: Text -> ListRuns
- listRuns_nextToken :: Lens' ListRuns (Maybe Text)
- listRuns_arn :: Lens' ListRuns Text
- data ListRunsResponse = ListRunsResponse' {}
- newListRunsResponse :: Int -> ListRunsResponse
- listRunsResponse_runs :: Lens' ListRunsResponse (Maybe [Run])
- listRunsResponse_nextToken :: Lens' ListRunsResponse (Maybe Text)
- listRunsResponse_httpStatus :: Lens' ListRunsResponse Int
Creating a Request
Represents a request to the list runs operation.
See: newListRuns
smart constructor.
Instances
Create a value of ListRuns
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:ListRuns'
, listRuns_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:ListRuns'
, listRuns_arn
- The Amazon Resource Name (ARN) of the project for which you want to list
runs.
Request Lenses
listRuns_nextToken :: Lens' ListRuns (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.
listRuns_arn :: Lens' ListRuns Text Source #
The Amazon Resource Name (ARN) of the project for which you want to list runs.
Destructuring the Response
data ListRunsResponse Source #
Represents the result of a list runs request.
See: newListRunsResponse
smart constructor.
ListRunsResponse' | |
|
Instances
Create a value of ListRunsResponse
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:runs:ListRunsResponse'
, listRunsResponse_runs
- Information about the runs.
$sel:nextToken:ListRuns'
, listRunsResponse_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:ListRunsResponse'
, listRunsResponse_httpStatus
- The response's http status code.
Response Lenses
listRunsResponse_runs :: Lens' ListRunsResponse (Maybe [Run]) Source #
Information about the runs.
listRunsResponse_nextToken :: Lens' ListRunsResponse (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.
listRunsResponse_httpStatus :: Lens' ListRunsResponse Int Source #
The response's http status code.