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 |
Retrieves a list of runs.
This operation returns paginated results.
Synopsis
- data ListRuns = ListRuns' {
- maxResults :: Maybe Natural
- name :: Maybe Text
- runGroupId :: Maybe Text
- startingToken :: Maybe Text
- newListRuns :: ListRuns
- listRuns_maxResults :: Lens' ListRuns (Maybe Natural)
- listRuns_name :: Lens' ListRuns (Maybe Text)
- listRuns_runGroupId :: Lens' ListRuns (Maybe Text)
- listRuns_startingToken :: Lens' ListRuns (Maybe Text)
- data ListRunsResponse = ListRunsResponse' {
- items :: Maybe [RunListItem]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListRunsResponse :: Int -> ListRunsResponse
- listRunsResponse_items :: Lens' ListRunsResponse (Maybe [RunListItem])
- listRunsResponse_nextToken :: Lens' ListRunsResponse (Maybe Text)
- listRunsResponse_httpStatus :: Lens' ListRunsResponse Int
Creating a Request
See: newListRuns
smart constructor.
ListRuns' | |
|
Instances
newListRuns :: ListRuns Source #
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:maxResults:ListRuns'
, listRuns_maxResults
- The maximum number of runs to return in one page of results.
ListRuns
, listRuns_name
- Filter the list by run name.
$sel:runGroupId:ListRuns'
, listRuns_runGroupId
- Filter the list by run group ID.
$sel:startingToken:ListRuns'
, listRuns_startingToken
- Specify the pagination token from a previous request to retrieve the
next page of results.
Request Lenses
listRuns_maxResults :: Lens' ListRuns (Maybe Natural) Source #
The maximum number of runs to return in one page of results.
listRuns_startingToken :: Lens' ListRuns (Maybe Text) Source #
Specify the pagination token from a previous request to retrieve the next page of results.
Destructuring the Response
data ListRunsResponse Source #
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:items:ListRunsResponse'
, listRunsResponse_items
- A list of runs.
$sel:nextToken:ListRunsResponse'
, listRunsResponse_nextToken
- A pagination token that's included if more results are available.
$sel:httpStatus:ListRunsResponse'
, listRunsResponse_httpStatus
- The response's http status code.
Response Lenses
listRunsResponse_items :: Lens' ListRunsResponse (Maybe [RunListItem]) Source #
A list of runs.
listRunsResponse_nextToken :: Lens' ListRunsResponse (Maybe Text) Source #
A pagination token that's included if more results are available.
listRunsResponse_httpStatus :: Lens' ListRunsResponse Int Source #
The response's http status code.