QuickSight / Client / list_iam_policy_assignments

list_iam_policy_assignments#

QuickSight.Client.list_iam_policy_assignments(**kwargs)#

Lists IAM policy assignments in the current Amazon QuickSight account.

See also: AWS API Documentation

Request Syntax

response = client.list_iam_policy_assignments(
    AwsAccountId='string',
    AssignmentStatus='ENABLED'|'DRAFT'|'DISABLED',
    Namespace='string',
    NextToken='string',
    MaxResults=123
)
Parameters:
  • AwsAccountId (string) –

    [REQUIRED]

    The ID of the Amazon Web Services account that contains these IAM policy assignments.

  • AssignmentStatus (string) – The status of the assignments.

  • Namespace (string) –

    [REQUIRED]

    The namespace for the assignments.

  • NextToken (string) – The token for the next set of results, or null if there are no more results.

  • MaxResults (integer) – The maximum number of results to be returned per request.

Return type:

dict

Returns:

Response Syntax

{
    'IAMPolicyAssignments': [
        {
            'AssignmentName': 'string',
            'AssignmentStatus': 'ENABLED'|'DRAFT'|'DISABLED'
        },
    ],
    'NextToken': 'string',
    'RequestId': 'string',
    'Status': 123
}

Response Structure

  • (dict) –

    • IAMPolicyAssignments (list) –

      Information describing the IAM policy assignments.

      • (dict) –

        IAM policy assignment summary.

        • AssignmentName (string) –

          Assignment name.

        • AssignmentStatus (string) –

          Assignment status.

    • NextToken (string) –

      The token for the next set of results, or null if there are no more results.

    • RequestId (string) –

      The Amazon Web Services request ID for this operation.

    • Status (integer) –

      The HTTP status of the request.

Exceptions

  • QuickSight.Client.exceptions.AccessDeniedException

  • QuickSight.Client.exceptions.InvalidParameterValueException

  • QuickSight.Client.exceptions.ResourceNotFoundException

  • QuickSight.Client.exceptions.ThrottlingException

  • QuickSight.Client.exceptions.InvalidNextTokenException

  • QuickSight.Client.exceptions.InternalFailureException