group_memberships_for_members
Creates, updates, deletes, gets or lists a group_memberships_for_members resource.
Overview
| Name | group_memberships_for_members |
| Type | Resource |
| Id | aws.identitystore.group_memberships_for_members |
Fields
The following fields are returned by SELECT queries:
- list_group_memberships_for_member
| Name | Datatype | Description |
|---|---|---|
created_at | string (date-time) | The date and time the group membership was created. |
created_by | string | The identifier of the user or system that created the group membership. |
group_id | string | The identifier for a group in the identity store. (pattern: <code>([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}</code>) |
identity_store_id | string | The globally unique identifier for the identity store. (pattern: <code>d-[0-9a-f]{10}$|^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>) |
member_id | object | An object containing the identifier of a group member. |
membership_id | string | The identifier for a GroupMembership object in an identity store. (pattern: <code>([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}</code>) |
updated_at | string (date-time) | The date and time the group membership was last updated. |
updated_by | string | The identifier of the user or system that last updated the group membership. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_group_memberships_for_member | select | region | 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. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_group_memberships_for_member
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.
SELECT
created_at,
created_by,
group_id,
identity_store_id,
member_id,
membership_id,
updated_at,
updated_by
FROM aws.identitystore.group_memberships_for_members
WHERE region = '{{ region }}' -- required
;