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

******************************
describe_iam_policy_assignment
******************************



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

  

  Describes an existing IAM policy assignment, as specified by the assignment name.

  

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


  **Request Syntax**
  ::

    response = client.describe_iam_policy_assignment(
        AwsAccountId='string',
        AssignmentName='string',
        Namespace='string'
    )
    
  :type AwsAccountId: string
  :param AwsAccountId: **[REQUIRED]** 

    The ID of the Amazon Web Services account that contains the assignment that you want to describe.

    

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

    The name of the assignment, also called a rule.

    

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

    The namespace that contains the assignment.

    

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

    
    ::

      {
          'IAMPolicyAssignment': {
              'AwsAccountId': 'string',
              'AssignmentId': 'string',
              'AssignmentName': 'string',
              'PolicyArn': 'string',
              'Identities': {
                  'string': [
                      'string',
                  ]
              },
              'AssignmentStatus': 'ENABLED'|'DRAFT'|'DISABLED'
          },
          'RequestId': 'string',
          'Status': 123
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **IAMPolicyAssignment** *(dict) --* 

        Information describing the IAM policy assignment.

        
        

        - **AwsAccountId** *(string) --* 

          The Amazon Web Services account ID.

          
        

        - **AssignmentId** *(string) --* 

          Assignment ID.

          
        

        - **AssignmentName** *(string) --* 

          Assignment name.

          
        

        - **PolicyArn** *(string) --* 

          The Amazon Resource Name (ARN) for the IAM policy.

          
        

        - **Identities** *(dict) --* 

          Identities.

          
          

          - *(string) --* 
            

            - *(list) --* 
              

              - *(string) --* 
          
      
    
        

        - **AssignmentStatus** *(string) --* 

          Assignment status.

          
    
      

      - **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`

  