IdentityStore.Client.describe_group_membership(**kwargs)¶Retrieves membership metadata and attributes from MembershipId in an identity store.
See also: AWS API Documentation
Request Syntax
response = client.describe_group_membership(
IdentityStoreId='string',
MembershipId='string'
)
[REQUIRED]
The globally unique identifier for the identity store.
[REQUIRED]
The identifier for a GroupMembership in an identity store.
dict
Response Syntax
{
'IdentityStoreId': 'string',
'MembershipId': 'string',
'GroupId': 'string',
'MemberId': {
'UserId': 'string'
}
}
Response Structure
(dict) --
IdentityStoreId (string) --
The globally unique identifier for the identity store.
MembershipId (string) --
The identifier for a GroupMembership in an identity store.
GroupId (string) --
The identifier for a group in the identity store.
MemberId (dict) --
An object containing the identifier of a group member.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set: UserId. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:
'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
UserId (string) --
An object containing the identifiers of resources that can be members.
Exceptions
IdentityStore.Client.exceptions.ResourceNotFoundExceptionIdentityStore.Client.exceptions.ThrottlingExceptionIdentityStore.Client.exceptions.AccessDeniedExceptionIdentityStore.Client.exceptions.InternalServerExceptionIdentityStore.Client.exceptions.ValidationException