Bedrock / Client / list_automated_reasoning_policies
list_automated_reasoning_policies¶
- 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
Request Syntax
response = client.list_automated_reasoning_policies( policyArn='string', nextToken='string', maxResults=123 )
- Parameters:
policyArn (string) – 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.
nextToken (string) – The pagination token from a previous request to retrieve the next page of results.
maxResults (integer) – The maximum number of policies to return in a single call.
- Return type:
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