get_automated_reasoning_policy_test_result
async
¶
get_automated_reasoning_policy_test_result(
policy_arn: AutomatedReasoningPolicyArn,
build_workflow_id: AutomatedReasoningPolicyBuildWorkflowId,
test_case_id: AutomatedReasoningPolicyTestCaseId,
*,
config_overrides: Optional[AsyncBedrockClientConfig] = 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/async_bedrock.py
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 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 | |