For the specified member in the specified identity store, returns the list of all GroupMembership objects and returns results in paginated form¶
Description¶
For the specified member in the specified identity store, returns the list of all GroupMembership objects and returns results in paginated form.
If you have access to a member account, you can use this API operation from the member account. For more information, see Limiting access to the identity store from member accounts in the IAM Identity Center User Guide.
Usage¶
Arguments¶
-
IdentityStoreId[required] The globally unique identifier for the identity store.
You can specify the identity store by ID or by Amazon Resource Name (ARN). For example, identity store ID
d-1234567890or identity store ARNarn:aws:identitystore::111122223333:identitystore/d-1234567890. -
MemberId[required] An object that contains the identifier of a group member. Setting the
UserIDfield to the specific identifier for a user indicates that the user is a member of the group. -
MaxResultsThe maximum number of results to be returned per request. This parameter is used in all
Listrequests to specify how many results to return in one page. -
NextTokenThe pagination token used for the
list_users,list_groups, andlist_group_membershipsAPI 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 retrieve the next page of results.
Value¶
A list with the following syntax:
list(
GroupMemberships = list(
list(
IdentityStoreId = "string",
MembershipId = "string",
MembershipArn = "string",
GroupId = "string",
MemberId = list(
UserId = "string"
),
CreatedAt = as.POSIXct(
"2015-01-01"
),
UpdatedAt = as.POSIXct(
"2015-01-01"
),
CreatedBy = "string",
UpdatedBy = "string"
)
),
NextToken = "string"
)