:doc:`Bedrock <../../bedrock>` / Client / delete_automated_reasoning_policy

*********************************
delete_automated_reasoning_policy
*********************************



.. py:method:: Bedrock.Client.delete_automated_reasoning_policy(**kwargs)

  

  Deletes an Automated Reasoning policy or policy version. This operation is idempotent. If you delete a policy more than once, each call succeeds. Deleting a policy removes it permanently and cannot be undone.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteAutomatedReasoningPolicy>`_  


  **Request Syntax**
  ::

    response = client.delete_automated_reasoning_policy(
        policyArn='string',
        force=True|False
    )
    
  :type policyArn: string
  :param policyArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the Automated Reasoning policy to delete.

    

  
  :type force: boolean
  :param force: 

    Specifies whether to force delete the automated reasoning policy even if it has active resources. When ``false``, Amazon Bedrock validates if all artifacts have been deleted (e.g. policy version, test case, test result) for a policy before deletion. When ``true``, Amazon Bedrock will delete the policy and all its artifacts without validation. Default is ``false``.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Bedrock.Client.exceptions.ResourceNotFoundException`

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

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

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

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

  
  *   :py:class:`Bedrock.Client.exceptions.ResourceInUseException`

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

  