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 a list of key groups.
You can optionally specify the maximum number of items to receive in the
response. If the total number of items in the list exceeds the maximum
that you specify, or the default maximum, the response is paginated. To
get the next page of items, send a subsequent request that specifies the
NextMarker
value from the current response as the Marker
value in
the subsequent request.
Synopsis
- data ListKeyGroups = ListKeyGroups' {}
- newListKeyGroups :: ListKeyGroups
- listKeyGroups_marker :: Lens' ListKeyGroups (Maybe Text)
- listKeyGroups_maxItems :: Lens' ListKeyGroups (Maybe Text)
- data ListKeyGroupsResponse = ListKeyGroupsResponse' {}
- newListKeyGroupsResponse :: Int -> ListKeyGroupsResponse
- listKeyGroupsResponse_keyGroupList :: Lens' ListKeyGroupsResponse (Maybe KeyGroupList)
- listKeyGroupsResponse_httpStatus :: Lens' ListKeyGroupsResponse Int
Creating a Request
data ListKeyGroups Source #
See: newListKeyGroups
smart constructor.
ListKeyGroups' | |
|
Instances
newListKeyGroups :: ListKeyGroups Source #
Create a value of ListKeyGroups
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:marker:ListKeyGroups'
, listKeyGroups_marker
- Use this field when paginating results to indicate where to begin in
your list of key groups. The response includes key groups in the list
that occur after the marker. To get the next page of the list, set this
field’s value to the value of NextMarker
from the current page’s
response.
$sel:maxItems:ListKeyGroups'
, listKeyGroups_maxItems
- The maximum number of key groups that you want in the response.
Request Lenses
listKeyGroups_marker :: Lens' ListKeyGroups (Maybe Text) Source #
Use this field when paginating results to indicate where to begin in
your list of key groups. The response includes key groups in the list
that occur after the marker. To get the next page of the list, set this
field’s value to the value of NextMarker
from the current page’s
response.
listKeyGroups_maxItems :: Lens' ListKeyGroups (Maybe Text) Source #
The maximum number of key groups that you want in the response.
Destructuring the Response
data ListKeyGroupsResponse Source #
See: newListKeyGroupsResponse
smart constructor.
ListKeyGroupsResponse' | |
|
Instances
newListKeyGroupsResponse Source #
Create a value of ListKeyGroupsResponse
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:keyGroupList:ListKeyGroupsResponse'
, listKeyGroupsResponse_keyGroupList
- A list of key groups.
$sel:httpStatus:ListKeyGroupsResponse'
, listKeyGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
listKeyGroupsResponse_keyGroupList :: Lens' ListKeyGroupsResponse (Maybe KeyGroupList) Source #
A list of key groups.
listKeyGroupsResponse_httpStatus :: Lens' ListKeyGroupsResponse Int Source #
The response's http status code.