:doc:`Bedrock <../../bedrock>` / Paginator / ListAutomatedReasoningPolicyTestCases

*************************************
ListAutomatedReasoningPolicyTestCases
*************************************



.. py:class:: Bedrock.Paginator.ListAutomatedReasoningPolicyTestCases

  ::

    
    paginator = client.get_paginator('list_automated_reasoning_policy_test_cases')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`Bedrock.Client.list_automated_reasoning_policy_test_cases`.

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


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          policyArn='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type policyArn: string
    :param policyArn: **[REQUIRED]** 

      The Amazon Resource Name (ARN) of the Automated Reasoning policy for which to list tests.

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **PageSize** *(integer) --* 

        The size of each page.

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

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

      
      ::

        {
            'testCases': [
                {
                    '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
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **testCases** *(list) --* 

          A list of tests for the specified policy.

          
          

          - *(dict) --* 

            Represents a test for validating an Automated Reasoning policy. tests contain sample inputs and expected outcomes to verify policy behavior.

            
            

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

              
        
      
        

        - **NextToken** *(string) --* 

          A token to resume pagination.

          
    