Skip to content

BedrockClient.list_automated_reasoning_policy_test_results

rboto-bedrock==0.4.0 · Service index · Types

Model summary (excerpt): Lists test results for an Automated Reasoning policy, showing how the policy performed against various test scenarios and validation checks.

Install and imports

python -m pip install "rboto[bedrock]==0.4.0"
from rboto import BedrockClient
from rboto_bedrock.types import (
    ListAutomatedReasoningPolicyTestResultsOutput,
)

Signature

async def list_automated_reasoning_policy_test_results(
    *,
    policy_arn: str,
    build_workflow_id: str,
    next_token: str | None = None,
    max_results: int | None = None,
) -> ListAutomatedReasoningPolicyTestResultsOutput: ...

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 Yes The Amazon Resource Name (ARN) of the Automated Reasoning policy whose test results you want to list.
build_workflow_id Yes The unique identifier of the build workflow whose test results you want to list.
next_token No A pagination token from a previous request to continue listing test results from where the previous request left off.
max_results No The maximum number of test results to return in a single response. Valid range is 1-100.

Output

ListAutomatedReasoningPolicyTestResultsOutput.

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
test_results list[AutomatedReasoningPolicyTestResultOutput] Always present AutomatedReasoningPolicyTestResultOutput
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.

ListAutomatedReasoningPolicyTestResultsOutput

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_policy_test_results(...) accepts the same arguments and returns AsyncIterator[ListAutomatedReasoningPolicyTestResultsOutput]. 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, ServiceQuotaExceededError, ThrottlingError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model