get_automated_reasoning_policy_next_scenario
¶
get_automated_reasoning_policy_next_scenario(
policy_arn: AutomatedReasoningPolicyArn,
build_workflow_id: AutomatedReasoningPolicyBuildWorkflowId,
*,
config_overrides: Optional[BedrockClientConfig] = None,
) -> GetAutomatedReasoningPolicyNextScenarioResponse
Retrieves the next test scenario for validating an Automated Reasoning policy. This is used during the interactive policy refinement process to test policy behavior.
Parameters:
-
policy_arn(AutomatedReasoningPolicyArn) –The Amazon Resource Name (ARN) of the Automated Reasoning policy for which you want to get the next test scenario.
-
build_workflow_id(AutomatedReasoningPolicyBuildWorkflowId) –The unique identifier of the build workflow associated with the test scenarios.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
-
ThrottlingException–The number of requests exceeds the limit. Resubmit your request later.
-
ValidationException–Input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock/_services/bedrock.py
2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 | |