:doc:`QuickSight <../../quicksight>` / Client / list_group_memberships

**********************
list_group_memberships
**********************



.. py:method:: QuickSight.Client.list_group_memberships(**kwargs)

  

  Lists member users in a group.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroupMemberships>`_  


  **Request Syntax**
  ::

    response = client.list_group_memberships(
        GroupName='string',
        NextToken='string',
        MaxResults=123,
        AwsAccountId='string',
        Namespace='string'
    )
    
  :type GroupName: string
  :param GroupName: **[REQUIRED]** 

    The name of the group that you want to see a membership list of.

    

  
  :type NextToken: string
  :param NextToken: 

    A pagination token that can be used in a subsequent request.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return from this request.

    

  
  :type AwsAccountId: string
  :param AwsAccountId: **[REQUIRED]** 

    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.

    

  
  :type Namespace: string
  :param Namespace: **[REQUIRED]** 

    The namespace of the group that you want a list of users from.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'GroupMemberList': [
              {
                  'Arn': 'string',
                  'MemberName': 'string'
              },
          ],
          'NextToken': 'string',
          'RequestId': 'string',
          'Status': 123
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **GroupMemberList** *(list) --* 

        The list of the members of the group.

        
        

        - *(dict) --* 

          A member of an Quick Sight group. Currently, group members must be users. Groups can't be members of another group. .

          
          

          - **Arn** *(string) --* 

            The Amazon Resource Name (ARN) for the group member (user).

            
          

          - **MemberName** *(string) --* 

            The name of the group member (user).

            
      
    
      

      - **NextToken** *(string) --* 

        A pagination token that can be used in a subsequent request.

        
      

      - **RequestId** *(string) --* 

        The Amazon Web Services request ID for this operation.

        
      

      - **Status** *(integer) --* 

        The HTTP status of the request.

        
  
  **Exceptions**
  
  *   :py:class:`QuickSight.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`QuickSight.Client.exceptions.InvalidParameterValueException`

  
  *   :py:class:`QuickSight.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`QuickSight.Client.exceptions.ThrottlingException`

  
  *   :py:class:`QuickSight.Client.exceptions.InvalidNextTokenException`

  
  *   :py:class:`QuickSight.Client.exceptions.PreconditionNotMetException`

  
  *   :py:class:`QuickSight.Client.exceptions.InternalFailureException`

  
  *   :py:class:`QuickSight.Client.exceptions.ResourceUnavailableException`

  