Bedrock / Client / get_automated_reasoning_policy
get_automated_reasoning_policy¶
- 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
Request Syntax
response = client.get_automated_reasoning_policy( policyArn='string' )
- Parameters:
policyArn (string) –
[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.
- Return type:
dict
- Returns:
Response Syntax
{ 'policyArn': 'string', 'name': 'string', 'version': 'string', 'policyId': 'string', 'description': 'string', 'definitionHash': '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.
createdAt (datetime) –
The timestamp when the policy was created.
updatedAt (datetime) –
The timestamp when the policy was last updated.
Exceptions
Bedrock.Client.exceptions.ResourceNotFoundException
Bedrock.Client.exceptions.AccessDeniedException
Bedrock.Client.exceptions.ValidationException
Bedrock.Client.exceptions.InternalServerException
Bedrock.Client.exceptions.ThrottlingException