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

***************************
list_iam_policy_assignments
***************************



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

  

  Lists the IAM policy assignments in the current Amazon Quick Sight account.

  

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


  **Request Syntax**
  ::

    response = client.list_iam_policy_assignments(
        AwsAccountId='string',
        AssignmentStatus='ENABLED'|'DRAFT'|'DISABLED',
        Namespace='string',
        NextToken='string',
        MaxResults=123
    )
    
  :type AwsAccountId: string
  :param AwsAccountId: **[REQUIRED]** 

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

    

  
  :type AssignmentStatus: string
  :param AssignmentStatus: 

    The status of the assignments.

    

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

    The namespace for the assignments.

    

  
  :type NextToken: string
  :param NextToken: 

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

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to be returned per request.

    

  
  
  :rtype: 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**
  
  *   :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.InternalFailureException`

  