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

*********************************
list_automated_reasoning_policies
*********************************



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

  

  Lists all Automated Reasoning policies in your account, with optional filtering by policy ARN. This helps you manage and discover existing policies.

  

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


  **Request Syntax**
  ::

    response = client.list_automated_reasoning_policies(
        policyArn='string',
        nextToken='string',
        maxResults=123
    )
    
  :type policyArn: string
  :param policyArn: 

    Optional filter to list only the policy versions with the specified Amazon Resource Name (ARN). If not provided, the DRAFT versions for all policies are listed.

    

  
  :type nextToken: string
  :param nextToken: 

    The pagination token from a previous request to retrieve the next page of results.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of policies to return in a single call.

    

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

    
    ::

      {
          'automatedReasoningPolicySummaries': [
              {
                  'policyArn': 'string',
                  'name': 'string',
                  'description': 'string',
                  'version': 'string',
                  'policyId': 'string',
                  'createdAt': datetime(2015, 1, 1),
                  'updatedAt': datetime(2015, 1, 1)
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **automatedReasoningPolicySummaries** *(list) --* 

        A list of Automated Reasoning policy summaries.

        
        

        - *(dict) --* 

          Contains summary information about an Automated Reasoning policy, including metadata and timestamps.

          
          

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

            The Amazon Resource Name (ARN) of the policy.

            
          

          - **name** *(string) --* 

            The name of the policy.

            
          

          - **description** *(string) --* 

            The description of the policy.

            
          

          - **version** *(string) --* 

            The version of the policy.

            
          

          - **policyId** *(string) --* 

            The unique identifier of the policy.

            
          

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

            The timestamp when the policy was created.

            
          

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

            The timestamp when the policy was last updated.

            
      
    
      

      - **nextToken** *(string) --* 

        The pagination token to use in a subsequent request to retrieve the next page of results.

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

  