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

******************************
get_automated_reasoning_policy
******************************



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

  

  Retrieves details about an Automated Reasoning policy or policy version. Returns information including the policy definition, metadata, and timestamps.

  

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


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the Automated Reasoning policy to retrieve. Can be either the unversioned ARN for the draft policy or an ARN for a specific policy version.

    

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

    
    ::

      {
          'policyArn': 'string',
          'name': 'string',
          'version': 'string',
          'policyId': 'string',
          'description': 'string',
          'definitionHash': 'string',
          'kmsKeyArn': 'string',
          'createdAt': datetime(2015, 1, 1),
          'updatedAt': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The Amazon Resource Name (ARN) of the policy.

        
      

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

        The name of the policy.

        
      

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

        The version of the policy.

        
      

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

        The unique identifier of the policy.

        
      

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

        The description of the policy.

        
      

      - **definitionHash** *(string) --* 

        The hash of the policy definition used as a concurrency token.

        
      

      - **kmsKeyArn** *(string) --* 

        The Amazon Resource Name (ARN) of the KMS key used to encrypt the automated reasoning policy and its associated artifacts. If a KMS key is not provided during the initial CreateAutomatedReasoningPolicyRequest, the kmsKeyArn won't be included in the GetAutomatedReasoningPolicyResponse.

        
      

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

        The timestamp when the policy was created.

        
      

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

        The timestamp when the policy 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`

  