Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Retrieves a list of groups.
- listGroups :: ListGroups
- data ListGroups
- lgNextToken :: Lens' ListGroups (Maybe Text)
- lgMaxResults :: Lens' ListGroups (Maybe Text)
- listGroupsResponse :: Int -> ListGroupsResponse
- data ListGroupsResponse
- lgrsGroups :: Lens' ListGroupsResponse [GroupInformation]
- lgrsNextToken :: Lens' ListGroupsResponse (Maybe Text)
- lgrsResponseStatus :: Lens' ListGroupsResponse Int
Creating a Request
listGroups :: ListGroups Source #
Creates a value of ListGroups
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lgNextToken
- The token for the next set of results, or 'null'
if there are no additional results.lgMaxResults
- The maximum number of results to be returned per request.
data ListGroups Source #
See: listGroups
smart constructor.
Request Lenses
lgNextToken :: Lens' ListGroups (Maybe Text) Source #
The token for the next set of results, or 'null'
if there are no additional results.
lgMaxResults :: Lens' ListGroups (Maybe Text) Source #
The maximum number of results to be returned per request.
Destructuring the Response
Creates a value of ListGroupsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lgrsGroups
- Information about a group.lgrsNextToken
- The token for the next set of results, or 'null'
if there are no additional results.lgrsResponseStatus
- -- | The response status code.
data ListGroupsResponse Source #
See: listGroupsResponse
smart constructor.
Response Lenses
lgrsGroups :: Lens' ListGroupsResponse [GroupInformation] Source #
Information about a group.
lgrsNextToken :: Lens' ListGroupsResponse (Maybe Text) Source #
The token for the next set of results, or 'null'
if there are no additional results.
lgrsResponseStatus :: Lens' ListGroupsResponse Int Source #
- - | The response status code.