describe_group_membership
async
¶
describe_group_membership(
member_name: GroupMemberName,
group_name: GroupName,
aws_account_id: AwsAccountId,
namespace: Namespace,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
) -> DescribeGroupMembershipResponse
Use the DescribeGroupMembership operation to determine if a user is a member of the specified group. If the user exists and is a member of the specified group, an associated GroupMember object is returned.
Parameters:
-
member_name(GroupMemberName) –The user name of the user that you want to search for.
-
group_name(GroupName) –The name of the group that you want to search.
-
aws_account_id(AwsAccountId) –The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon Quick Sight account.
-
namespace(Namespace) –The namespace that includes the group you are searching within.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
PreconditionNotMetException–One or more preconditions aren't met.
-
ResourceNotFoundException–One or more resources can't be found.
-
ResourceUnavailableException–This resource is currently unavailable.
-
ThrottlingException–Access is throttled.
-
UnknownServiceError–The service returned an error code this client does not model.