get_automated_reasoning_policy_test_result
¶
get_automated_reasoning_policy_test_result(
policy_arn: AutomatedReasoningPolicyArn,
build_workflow_id: AutomatedReasoningPolicyBuildWorkflowId,
test_case_id: AutomatedReasoningPolicyTestCaseId,
*,
config_overrides: Optional[BedrockClientConfig] = None,
) -> GetAutomatedReasoningPolicyTestResultResponse
Retrieves the test result for a specific Automated Reasoning policy test. Returns detailed validation findings and execution status.
Parameters:
-
policy_arn(AutomatedReasoningPolicyArn) –The Amazon Resource Name (ARN) of the Automated Reasoning policy.
-
build_workflow_id(AutomatedReasoningPolicyBuildWorkflowId) –The build workflow identifier. The build workflow must display a
COMPLETEDstatus to get results. -
test_case_id(AutomatedReasoningPolicyTestCaseId) –The unique identifier of the test for which to retrieve results.
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
2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 | |