Skip to content

list_automated_reasoning_policy_test_cases

Operation

list_automated_reasoning_policy_test_cases

Lists tests for an Automated Reasoning policy. We recommend using pagination to ensure that the operation returns quickly and successfully.

Parameters:

Name Type Description Default
request ListAutomatedReasoningPolicyTestCasesInput | ListAutomatedReasoningPolicyTestCasesInputDict | 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[ListAutomatedReasoningPolicyTestCasesInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListAutomatedReasoningPolicyTestCasesOutput

An instance of ListAutomatedReasoningPolicyTestCasesOutput.

list_automated_reasoning_policy_test_cases async

Lists tests for an Automated Reasoning policy. We recommend using pagination to ensure that the operation returns quickly and successfully.

Parameters:

Name Type Description Default
request ListAutomatedReasoningPolicyTestCasesInput | ListAutomatedReasoningPolicyTestCasesInputDict | 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[ListAutomatedReasoningPolicyTestCasesInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListAutomatedReasoningPolicyTestCasesOutput

An instance of ListAutomatedReasoningPolicyTestCasesOutput.

Input

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

ListAutomatedReasoningPolicyTestCasesInputDict

Bases: TypedDict

Dictionary form of ListAutomatedReasoningPolicyTestCasesInput.

Attributes

max_results instance-attribute
max_results: int | None

The maximum number of tests to return in a single call.

next_token instance-attribute
next_token: str | None

The pagination token from a previous request to retrieve the next page of results.

policy_arn instance-attribute
policy_arn: Required[str]

The Amazon Resource Name (ARN) of the Automated Reasoning policy for which to list tests.

ListAutomatedReasoningPolicyTestCasesInput dataclass

Bases: _SerdeShape

Dataclass for ListAutomatedReasoningPolicyTestCasesInput structure.

Attributes

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

The maximum number of tests to return in a single call.

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

The pagination token from a previous request to retrieve the next page of results.

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

The Amazon Resource Name (ARN) of the Automated Reasoning policy for which to list tests.

Output

ListAutomatedReasoningPolicyTestCasesOutput dataclass

Bases: _SerdeShape

Dataclass for ListAutomatedReasoningPolicyTestCasesOutput structure.

Attributes

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

The pagination token to use in a subsequent request to retrieve the next page of 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_cases instance-attribute

A list of tests for the specified policy.