| 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.Omics.ListRunGroups
Description
Retrieves a list of run groups.
This operation returns paginated results.
Synopsis
- data ListRunGroups = ListRunGroups' {
- maxResults :: Maybe Natural
- name :: Maybe Text
- startingToken :: Maybe Text
- newListRunGroups :: ListRunGroups
- listRunGroups_maxResults :: Lens' ListRunGroups (Maybe Natural)
- listRunGroups_name :: Lens' ListRunGroups (Maybe Text)
- listRunGroups_startingToken :: Lens' ListRunGroups (Maybe Text)
- data ListRunGroupsResponse = ListRunGroupsResponse' {
- items :: Maybe [RunGroupListItem]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListRunGroupsResponse :: Int -> ListRunGroupsResponse
- listRunGroupsResponse_items :: Lens' ListRunGroupsResponse (Maybe [RunGroupListItem])
- listRunGroupsResponse_nextToken :: Lens' ListRunGroupsResponse (Maybe Text)
- listRunGroupsResponse_httpStatus :: Lens' ListRunGroupsResponse Int
Creating a Request
data ListRunGroups Source #
See: newListRunGroups smart constructor.
Constructors
| ListRunGroups' | |
Fields
| |
Instances
newListRunGroups :: ListRunGroups Source #
Create a value of ListRunGroups 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:ListRunGroups', listRunGroups_maxResults - The maximum number of run groups to return in one page of results.
ListRunGroups, listRunGroups_name - The run groups' name.
$sel:startingToken:ListRunGroups', listRunGroups_startingToken - Specify the pagination token from a previous request to retrieve the
next page of results.
Request Lenses
listRunGroups_maxResults :: Lens' ListRunGroups (Maybe Natural) Source #
The maximum number of run groups to return in one page of results.
listRunGroups_name :: Lens' ListRunGroups (Maybe Text) Source #
The run groups' name.
listRunGroups_startingToken :: Lens' ListRunGroups (Maybe Text) Source #
Specify the pagination token from a previous request to retrieve the next page of results.
Destructuring the Response
data ListRunGroupsResponse Source #
See: newListRunGroupsResponse smart constructor.
Constructors
| ListRunGroupsResponse' | |
Fields
| |
Instances
newListRunGroupsResponse Source #
Create a value of ListRunGroupsResponse 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:ListRunGroupsResponse', listRunGroupsResponse_items - A list of groups.
$sel:nextToken:ListRunGroupsResponse', listRunGroupsResponse_nextToken - A pagination token that's included if more results are available.
$sel:httpStatus:ListRunGroupsResponse', listRunGroupsResponse_httpStatus - The response's http status code.
Response Lenses
listRunGroupsResponse_items :: Lens' ListRunGroupsResponse (Maybe [RunGroupListItem]) Source #
A list of groups.
listRunGroupsResponse_nextToken :: Lens' ListRunGroupsResponse (Maybe Text) Source #
A pagination token that's included if more results are available.
listRunGroupsResponse_httpStatus :: Lens' ListRunGroupsResponse Int Source #
The response's http status code.