BedrockClient.get_automated_reasoning_policy_next_scenario
rboto-bedrock==0.4.0 · Service index · Types
Model summary (excerpt): Retrieves the next test scenario for validating an Automated Reasoning policy. This is used during the interactive policy refinement process to test policy behavior.
Install and imports
from rboto import BedrockClient
from rboto_bedrock.types import (
GetAutomatedReasoningPolicyNextScenarioOutput,
)
Signature
async def get_automated_reasoning_policy_next_scenario(
*,
policy_arn: str,
build_workflow_id: str,
) -> GetAutomatedReasoningPolicyNextScenarioOutput: ...
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 for which you want to get the next test scenario. |
build_workflow_id |
Yes | The unique identifier of the build workflow associated with the test scenarios. |
Output
GetAutomatedReasoningPolicyNextScenarioOutput.
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 |
|---|---|---|---|
policy_arn |
str |
Always present | — |
scenario |
AutomatedReasoningPolicyScenarioOutput | None |
Always present | AutomatedReasoningPolicyScenarioOutput |
| 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
GetAutomatedReasoningPolicyNextScenarioOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
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.