BedrockClient.list_automated_reasoning_policies
rboto-bedrock==0.4.0 · Service index · Types
Model summary (excerpt): Lists all Automated Reasoning policies in your account, with optional filtering by policy ARN. This helps you manage and discover existing policies.
Install and imports
from rboto import BedrockClient
from rboto_bedrock.types import (
ListAutomatedReasoningPoliciesOutput,
)
Signature
async def list_automated_reasoning_policies(
*,
policy_arn: str | None = None,
next_token: str | None = None,
max_results: int | None = None,
) -> ListAutomatedReasoningPoliciesOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
policy_arn |
No | 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. |
next_token |
No | The pagination token from a previous request to retrieve the next page of results. |
max_results |
No | The maximum number of policies to return in a single call. |
Output
ListAutomatedReasoningPoliciesOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
automated_reasoning_policy_summaries |
list[AutomatedReasoningPolicySummaryOutput] |
Always present | AutomatedReasoningPolicySummaryOutput |
next_token |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
ListAutomatedReasoningPoliciesOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.list_automated_reasoning_policies(...) accepts the same arguments and returns AsyncIterator[ListAutomatedReasoningPoliciesOutput]. Direct calls return one page. Pages preserve the Output representation above.
Input cursors: next_token. Page-size argument: max_results.
No output stream.
Errors
Import from rboto_bedrock.exceptions:
AccessDeniedError, InternalServerError, ResourceNotFoundError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.