| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DeviceFarm.ListRuns
Description
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_nextToken :: Lens' ListRunsResponse (Maybe Text)
- listRunsResponse_runs :: Lens' ListRunsResponse (Maybe [Run])
- listRunsResponse_httpStatus :: Lens' ListRunsResponse Int
Creating a Request
Represents a request to the list runs operation.
See: newListRuns smart constructor.
Constructors
| ListRuns' | |
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:
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.
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.
Constructors
| ListRunsResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> ListRunsResponse |
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:
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:runs:ListRunsResponse', listRunsResponse_runs - Information about the runs.
$sel:httpStatus:ListRunsResponse', listRunsResponse_httpStatus - The response's http status code.
Response Lenses
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_runs :: Lens' ListRunsResponse (Maybe [Run]) Source #
Information about the runs.
listRunsResponse_httpStatus :: Lens' ListRunsResponse Int Source #
The response's http status code.