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

**********************************************
start_automated_reasoning_policy_test_workflow
**********************************************



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

  

  Initiates a test workflow to validate Automated Reasoning policy tests. The workflow executes the specified tests against the policy and generates validation results.

  

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


  **Request Syntax**
  ::

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

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

    

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

    The build workflow identifier. The build workflow must show a ``COMPLETED`` status before running tests.

    

  
  :type testCaseIds: list
  :param testCaseIds: 

    The list of test identifiers to run. If not provided, all tests for the policy are run.

    

  
    - *(string) --* 

    

  :type clientRequestToken: string
  :param clientRequestToken: 

    A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but doesn't return an error.

    This field is autopopulated if not provided.

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

    
    ::

      {
          'policyArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The Amazon Resource Name (ARN) of the policy for which the test workflow was started.

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

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

  