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 |
For the specified group in the specified identity store, returns the
list of all GroupMembership
objects and returns results in paginated
form.
This operation returns paginated results.
Synopsis
- data ListGroupMemberships = ListGroupMemberships' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- identityStoreId :: Text
- groupId :: Text
- newListGroupMemberships :: Text -> Text -> ListGroupMemberships
- listGroupMemberships_maxResults :: Lens' ListGroupMemberships (Maybe Natural)
- listGroupMemberships_nextToken :: Lens' ListGroupMemberships (Maybe Text)
- listGroupMemberships_identityStoreId :: Lens' ListGroupMemberships Text
- listGroupMemberships_groupId :: Lens' ListGroupMemberships Text
- data ListGroupMembershipsResponse = ListGroupMembershipsResponse' {}
- newListGroupMembershipsResponse :: Int -> ListGroupMembershipsResponse
- listGroupMembershipsResponse_nextToken :: Lens' ListGroupMembershipsResponse (Maybe Text)
- listGroupMembershipsResponse_httpStatus :: Lens' ListGroupMembershipsResponse Int
- listGroupMembershipsResponse_groupMemberships :: Lens' ListGroupMembershipsResponse [GroupMembership]
Creating a Request
data ListGroupMemberships Source #
See: newListGroupMemberships
smart constructor.
ListGroupMemberships' | |
|
Instances
newListGroupMemberships Source #
Create a value of ListGroupMemberships
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:ListGroupMemberships'
, listGroupMemberships_maxResults
- The maximum number of results to be returned per request. This parameter
is used in all List
requests to specify how many results to return in
one page.
ListGroupMemberships
, listGroupMemberships_nextToken
- The pagination token used for the ListUsers
, ListGroups
and
ListGroupMemberships
API operations. This value is generated by the
identity store service. It is returned in the API response if the total
results are more than the size of one page. This token is also returned
when it is used in the API request to search for the next page.
ListGroupMemberships
, listGroupMemberships_identityStoreId
- The globally unique identifier for the identity store.
ListGroupMemberships
, listGroupMemberships_groupId
- The identifier for a group in the identity store.
Request Lenses
listGroupMemberships_maxResults :: Lens' ListGroupMemberships (Maybe Natural) Source #
The maximum number of results to be returned per request. This parameter
is used in all List
requests to specify how many results to return in
one page.
listGroupMemberships_nextToken :: Lens' ListGroupMemberships (Maybe Text) Source #
The pagination token used for the ListUsers
, ListGroups
and
ListGroupMemberships
API operations. This value is generated by the
identity store service. It is returned in the API response if the total
results are more than the size of one page. This token is also returned
when it is used in the API request to search for the next page.
listGroupMemberships_identityStoreId :: Lens' ListGroupMemberships Text Source #
The globally unique identifier for the identity store.
listGroupMemberships_groupId :: Lens' ListGroupMemberships Text Source #
The identifier for a group in the identity store.
Destructuring the Response
data ListGroupMembershipsResponse Source #
See: newListGroupMembershipsResponse
smart constructor.
ListGroupMembershipsResponse' | |
|
Instances
newListGroupMembershipsResponse Source #
Create a value of ListGroupMembershipsResponse
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:
ListGroupMemberships
, listGroupMembershipsResponse_nextToken
- The pagination token used for the ListUsers
, ListGroups
, and
ListGroupMemberships
API operations. This value is generated by the
identity store service. It is returned in the API response if the total
results are more than the size of one page. This token is also returned
when it is used in the API request to search for the next page.
$sel:httpStatus:ListGroupMembershipsResponse'
, listGroupMembershipsResponse_httpStatus
- The response's http status code.
$sel:groupMemberships:ListGroupMembershipsResponse'
, listGroupMembershipsResponse_groupMemberships
- A list of GroupMembership
objects in the group.
Response Lenses
listGroupMembershipsResponse_nextToken :: Lens' ListGroupMembershipsResponse (Maybe Text) Source #
The pagination token used for the ListUsers
, ListGroups
, and
ListGroupMemberships
API operations. This value is generated by the
identity store service. It is returned in the API response if the total
results are more than the size of one page. This token is also returned
when it is used in the API request to search for the next page.
listGroupMembershipsResponse_httpStatus :: Lens' ListGroupMembershipsResponse Int Source #
The response's http status code.
listGroupMembershipsResponse_groupMemberships :: Lens' ListGroupMembershipsResponse [GroupMembership] Source #
A list of GroupMembership
objects in the group.