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

****************************************
get_automated_reasoning_policy_test_case
****************************************



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

  

  Retrieves details about a specific Automated Reasoning policy test.

  

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


  **Request Syntax**
  ::

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

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

    

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

    The unique identifier of the test to retrieve.

    

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

    
    ::

      {
          'policyArn': 'string',
          'testCase': {
              'testCaseId': 'string',
              'guardContent': 'string',
              'queryContent': 'string',
              'expectedAggregatedFindingsResult': 'VALID'|'INVALID'|'SATISFIABLE'|'IMPOSSIBLE'|'TRANSLATION_AMBIGUOUS'|'TOO_COMPLEX'|'NO_TRANSLATION',
              'createdAt': datetime(2015, 1, 1),
              'updatedAt': datetime(2015, 1, 1),
              'confidenceThreshold': 123.0
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The Amazon Resource Name (ARN) of the policy that contains the test.

        
      

      - **testCase** *(dict) --* 

        The test details including the content, query, expected result, and metadata.

        
        

        - **testCaseId** *(string) --* 

          The unique identifier of the test.

          
        

        - **guardContent** *(string) --* 

          The output content to be validated by the policy, typically representing a foundation model response.

          
        

        - **queryContent** *(string) --* 

          The input query or prompt that generated the content. This provides context for the validation.

          
        

        - **expectedAggregatedFindingsResult** *(string) --* 

          The expected result of the Automated Reasoning check for this test.

          
        

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

          The timestamp when the test was created.

          
        

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

          The timestamp when the test was last updated.

          
        

        - **confidenceThreshold** *(float) --* 

          The minimum confidence level for logic validation. Content meeting this threshold is considered high-confidence and can be validated.

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

  