IdentityStore.Client.get_group_membership_id(**kwargs)¶Retrieves the MembershipId in an identity store.
See also: AWS API Documentation
Request Syntax
response = client.get_group_membership_id(
IdentityStoreId='string',
GroupId='string',
MemberId={
'UserId': 'string'
}
)
[REQUIRED]
The globally unique identifier for the identity store.
[REQUIRED]
The identifier for a group in the identity store.
[REQUIRED]
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.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set: UserId.
An object containing the identifiers of resources that can be members.
dict
Response Syntax
{
'MembershipId': 'string',
'IdentityStoreId': 'string'
}
Response Structure
(dict) --
MembershipId (string) --
The identifier for a GroupMembership in an identity store.
IdentityStoreId (string) --
The globally unique identifier for the identity store.
Exceptions
IdentityStore.Client.exceptions.ResourceNotFoundExceptionIdentityStore.Client.exceptions.ThrottlingExceptionIdentityStore.Client.exceptions.AccessDeniedExceptionIdentityStore.Client.exceptions.InternalServerExceptionIdentityStore.Client.exceptions.ValidationException