:doc:`EntityResolution <../../entityresolution>` / Client / delete_policy_statement

***********************
delete_policy_statement
***********************



.. py:method:: EntityResolution.Client.delete_policy_statement(**kwargs)

  

  Deletes the policy statement.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/DeletePolicyStatement>`_  


  **Request Syntax**
  ::

    response = client.delete_policy_statement(
        arn='string',
        statementId='string'
    )
    
  :type arn: string
  :param arn: **[REQUIRED]** 

    The ARN of the resource for which the policy need to be deleted.

    

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

    A statement identifier that differentiates the statement from others in the same policy.

    

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

    
    ::

      {
          'arn': 'string',
          'token': 'string',
          'policy': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **arn** *(string) --* 

        The ARN of the resource for which the policy need to be deleted.

        
      

      - **token** *(string) --* 

        A unique identifier for the deleted policy.

        
      

      - **policy** *(string) --* 

        The resource-based policy.

        
  
  **Exceptions**
  
  *   :py:class:`EntityResolution.Client.exceptions.ThrottlingException`

  
  *   :py:class:`EntityResolution.Client.exceptions.InternalServerException`

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

  
  *   :py:class:`EntityResolution.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`EntityResolution.Client.exceptions.ConflictException`

  
  *   :py:class:`EntityResolution.Client.exceptions.ValidationException`

  