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

*********************************************
get_automated_reasoning_policy_build_workflow
*********************************************



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

  

  Retrieves detailed information about an Automated Reasoning policy build workflow, including its status, configuration, and metadata.

  

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


  **Request Syntax**
  ::

    response = client.get_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 retrieve.

    

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

    The unique identifier of the build workflow to retrieve.

    

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

    
    ::

      {
          'policyArn': 'string',
          'buildWorkflowId': 'string',
          'status': 'SCHEDULED'|'CANCEL_REQUESTED'|'PREPROCESSING'|'BUILDING'|'TESTING'|'COMPLETED'|'FAILED'|'CANCELLED',
          'buildWorkflowType': 'INGEST_CONTENT'|'REFINE_POLICY'|'IMPORT_POLICY',
          'documentName': 'string',
          'documentContentType': 'pdf'|'txt',
          'documentDescription': 'string',
          'createdAt': datetime(2015, 1, 1),
          'updatedAt': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **policyArn** *(string) --* 

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

        
      

      - **buildWorkflowId** *(string) --* 

        The unique identifier of the build workflow.

        
      

      - **status** *(string) --* 

        The current status of the build workflow (e.g., RUNNING, COMPLETED, FAILED, CANCELLED).

        
      

      - **buildWorkflowType** *(string) --* 

        The type of build workflow being executed (e.g., DOCUMENT_INGESTION, POLICY_REPAIR).

        
      

      - **documentName** *(string) --* 

        The name of the source document used in the build workflow.

        
      

      - **documentContentType** *(string) --* 

        The content type of the source document (e.g., text/plain, application/pdf).

        
      

      - **documentDescription** *(string) --* 

        A detailed description of the document's content and how it should be used in the policy generation process.

        
      

      - **createdAt** *(datetime) --* 

        The timestamp when the build workflow was created.

        
      

      - **updatedAt** *(datetime) --* 

        The timestamp when the build workflow was last updated.

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

  