Skip to content

list_automated_reasoning_policy_test_results

Operation

list_automated_reasoning_policy_test_results

Lists test results for an Automated Reasoning policy, showing how the policy performed against various test scenarios and validation checks.

Parameters:

Name Type Description Default
request ListAutomatedReasoningPolicyTestResultsInput | ListAutomatedReasoningPolicyTestResultsInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[ListAutomatedReasoningPolicyTestResultsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListAutomatedReasoningPolicyTestResultsOutput

An instance of ListAutomatedReasoningPolicyTestResultsOutput.

list_automated_reasoning_policy_test_results async

Lists test results for an Automated Reasoning policy, showing how the policy performed against various test scenarios and validation checks.

Parameters:

Name Type Description Default
request ListAutomatedReasoningPolicyTestResultsInput | ListAutomatedReasoningPolicyTestResultsInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[ListAutomatedReasoningPolicyTestResultsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListAutomatedReasoningPolicyTestResultsOutput

An instance of ListAutomatedReasoningPolicyTestResultsOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

ListAutomatedReasoningPolicyTestResultsInputDict

Bases: TypedDict

Dictionary form of ListAutomatedReasoningPolicyTestResultsInput.

Attributes

build_workflow_id instance-attribute
build_workflow_id: Required[str]

The unique identifier of the build workflow whose test results you want to list.

max_results instance-attribute
max_results: int | None

The maximum number of test results to return in a single response. Valid range is 1-100.

next_token instance-attribute
next_token: str | None

A pagination token from a previous request to continue listing test results from where the previous request left off.

policy_arn instance-attribute
policy_arn: Required[str]

The Amazon Resource Name (ARN) of the Automated Reasoning policy whose test results you want to list.

ListAutomatedReasoningPolicyTestResultsInput dataclass

Bases: _SerdeShape

Dataclass for ListAutomatedReasoningPolicyTestResultsInput structure.

Attributes

build_workflow_id class-attribute instance-attribute
build_workflow_id: str | None = ...

The unique identifier of the build workflow whose test results you want to list.

max_results class-attribute instance-attribute
max_results: int = ...

The maximum number of test results to return in a single response. Valid range is 1-100.

next_token class-attribute instance-attribute
next_token: str | None = ...

A pagination token from a previous request to continue listing test results from where the previous request left off.

policy_arn class-attribute instance-attribute
policy_arn: str | None = ...

The Amazon Resource Name (ARN) of the Automated Reasoning policy whose test results you want to list.

Output

ListAutomatedReasoningPolicyTestResultsOutput dataclass

Bases: _SerdeShape

Dataclass for ListAutomatedReasoningPolicyTestResultsOutput structure.

Attributes

next_token class-attribute instance-attribute
next_token: str | None = ...

A pagination token to use in subsequent requests to retrieve additional test results.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

test_results instance-attribute

A list of test results, each containing information about how the policy performed on specific test scenarios.