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 member 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 ListGroupMembershipsForMember = ListGroupMembershipsForMember' {}
- newListGroupMembershipsForMember :: Text -> MemberId -> ListGroupMembershipsForMember
- listGroupMembershipsForMember_maxResults :: Lens' ListGroupMembershipsForMember (Maybe Natural)
- listGroupMembershipsForMember_nextToken :: Lens' ListGroupMembershipsForMember (Maybe Text)
- listGroupMembershipsForMember_identityStoreId :: Lens' ListGroupMembershipsForMember Text
- listGroupMembershipsForMember_memberId :: Lens' ListGroupMembershipsForMember MemberId
- data ListGroupMembershipsForMemberResponse = ListGroupMembershipsForMemberResponse' {}
- newListGroupMembershipsForMemberResponse :: Int -> ListGroupMembershipsForMemberResponse
- listGroupMembershipsForMemberResponse_nextToken :: Lens' ListGroupMembershipsForMemberResponse (Maybe Text)
- listGroupMembershipsForMemberResponse_httpStatus :: Lens' ListGroupMembershipsForMemberResponse Int
- listGroupMembershipsForMemberResponse_groupMemberships :: Lens' ListGroupMembershipsForMemberResponse [GroupMembership]
Creating a Request
data ListGroupMembershipsForMember Source #
See: newListGroupMembershipsForMember
smart constructor.
ListGroupMembershipsForMember' | |
|
Instances
newListGroupMembershipsForMember Source #
Create a value of ListGroupMembershipsForMember
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:ListGroupMembershipsForMember'
, listGroupMembershipsForMember_maxResults
- The maximum number of results to be returned per request. This parameter
is used in the ListUsers
and ListGroups
requests to specify how many
results to return in one page. The length limit is 50 characters.
ListGroupMembershipsForMember
, listGroupMembershipsForMember_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.
ListGroupMembershipsForMember
, listGroupMembershipsForMember_identityStoreId
- The globally unique identifier for the identity store.
ListGroupMembershipsForMember
, listGroupMembershipsForMember_memberId
- An object that contains the identifier of a group member. Setting the
UserID
field to the specific identifier for a user indicates that the
user is a member of the group.
Request Lenses
listGroupMembershipsForMember_maxResults :: Lens' ListGroupMembershipsForMember (Maybe Natural) Source #
The maximum number of results to be returned per request. This parameter
is used in the ListUsers
and ListGroups
requests to specify how many
results to return in one page. The length limit is 50 characters.
listGroupMembershipsForMember_nextToken :: Lens' ListGroupMembershipsForMember (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.
listGroupMembershipsForMember_identityStoreId :: Lens' ListGroupMembershipsForMember Text Source #
The globally unique identifier for the identity store.
listGroupMembershipsForMember_memberId :: Lens' ListGroupMembershipsForMember MemberId Source #
An object that contains the identifier of a group member. Setting the
UserID
field to the specific identifier for a user indicates that the
user is a member of the group.
Destructuring the Response
data ListGroupMembershipsForMemberResponse Source #
See: newListGroupMembershipsForMemberResponse
smart constructor.
ListGroupMembershipsForMemberResponse' | |
|
Instances
newListGroupMembershipsForMemberResponse Source #
Create a value of ListGroupMembershipsForMemberResponse
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:
ListGroupMembershipsForMember
, listGroupMembershipsForMemberResponse_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:ListGroupMembershipsForMemberResponse'
, listGroupMembershipsForMemberResponse_httpStatus
- The response's http status code.
$sel:groupMemberships:ListGroupMembershipsForMemberResponse'
, listGroupMembershipsForMemberResponse_groupMemberships
- A list of GroupMembership
objects in the group for a specified member.
Response Lenses
listGroupMembershipsForMemberResponse_nextToken :: Lens' ListGroupMembershipsForMemberResponse (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.
listGroupMembershipsForMemberResponse_httpStatus :: Lens' ListGroupMembershipsForMemberResponse Int Source #
The response's http status code.
listGroupMembershipsForMemberResponse_groupMemberships :: Lens' ListGroupMembershipsForMemberResponse [GroupMembership] Source #
A list of GroupMembership
objects in the group for a specified member.