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

****************************
delete_iam_policy_assignment
****************************



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

  

  Deletes an existing IAM policy assignment.

  

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


  **Request Syntax**
  ::

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

    The Amazon Web Services account ID where you want to delete the IAM policy assignment.

    

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

    The name of the assignment.

    

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

    The namespace that contains the assignment.

    

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

    
    ::

      {
          'AssignmentName': 'string',
          'RequestId': 'string',
          'Status': 123
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The name of the assignment.

        
      

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

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

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

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

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

  