Skip to main content

automated_reasoning_policy_next_scenarios

Creates, updates, deletes, gets or lists an automated_reasoning_policy_next_scenarios resource.

Overview​

Nameautomated_reasoning_policy_next_scenarios
TypeResource
Idaws.bedrock.automated_reasoning_policy_next_scenarios

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
policy_arnstringThe Amazon Resource Name (ARN) of the Automated Reasoning policy. (pattern: <code>arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:automated-reasoning-policy/[a-z0-9]{12}(:([1-9][0-9]{0,11}))?</code>)
scenarioobjectRepresents a test scenario used to validate an Automated Reasoning policy, including the test conditions and expected outcomes.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_automated_reasoning_policy_next_scenarioselectpolicy_arn, build_workflow_id, regionRetrieves the next test scenario for validating an Automated Reasoning policy. This is used during the interactive policy refinement process to test policy behavior.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
build_workflow_idstringThe unique identifier of the build workflow associated with the test scenarios.
policy_arnstringThe Amazon Resource Name (ARN) of the Automated Reasoning policy for which you want to get the next test scenario.
regionstringAWS region (default: us-east-1)

SELECT examples​

Retrieves the next test scenario for validating an Automated Reasoning policy. This is used during the interactive policy refinement process to test policy behavior.

SELECT
policy_arn,
scenario
FROM aws.bedrock.automated_reasoning_policy_next_scenarios
WHERE policy_arn = '{{ policy_arn }}' -- required
AND build_workflow_id = '{{ build_workflow_id }}' -- required
AND region = '{{ region }}' -- required
;