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

************************************************
cancel_automated_reasoning_policy_build_workflow
************************************************



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

  

  Cancels a running Automated Reasoning policy build workflow. This stops the policy generation process and prevents further processing of the source documents.

  

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


  **Request Syntax**
  ::

    response = client.cancel_automated_reasoning_policy_build_workflow(
        policyArn='string',
        buildWorkflowId='string'
    )
    
  :type policyArn: string
  :param policyArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the Automated Reasoning policy whose build workflow you want to cancel.

    

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

    The unique identifier of the build workflow to cancel. You can get this ID from the StartAutomatedReasoningPolicyBuildWorkflow response or by listing build workflows.

    

  
  
  :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.InternalServerException`

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

  