QuickSight / Client / list_role_memberships

list_role_memberships#

QuickSight.Client.list_role_memberships(**kwargs)#

Lists all groups that are associated with a role.

See also: AWS API Documentation

Request Syntax

response = client.list_role_memberships(
    Role='ADMIN'|'AUTHOR'|'READER'|'ADMIN_PRO'|'AUTHOR_PRO'|'READER_PRO',
    NextToken='string',
    MaxResults=123,
    AwsAccountId='string',
    Namespace='string'
)
Parameters:
  • Role (string) –

    [REQUIRED]

    The name of the role.

  • NextToken (string) – A pagination token that can be used in a subsequent request.

  • MaxResults (integer) – The maximum number of results to return.

  • AwsAccountId (string) –

    [REQUIRED]

    The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon QuickSight account.

  • Namespace (string) –

    [REQUIRED]

    The namespace that includes the role.

Return type:

dict

Returns:

Response Syntax

{
    'MembersList': [
        'string',
    ],
    'NextToken': 'string',
    'RequestId': 'string',
    'Status': 123
}

Response Structure

  • (dict) –

    • MembersList (list) –

      The list of groups associated with a role

      • (string) –

    • 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