list_automated_reasoning_policy_test_results
¶
list_automated_reasoning_policy_test_results(
policy_arn: AutomatedReasoningPolicyArn,
build_workflow_id: AutomatedReasoningPolicyBuildWorkflowId,
*,
config_overrides: Optional[BedrockClientConfig] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListAutomatedReasoningPolicyTestResultsResponse
Lists test results for an Automated Reasoning policy, showing how the policy performed against various test scenarios and validation checks.
Parameters:
-
policy_arn(AutomatedReasoningPolicyArn) –The Amazon Resource Name (ARN) of the Automated Reasoning policy whose test results you want to list.
-
build_workflow_id(AutomatedReasoningPolicyBuildWorkflowId) –The unique identifier of the build workflow whose test results you want to list.
-
next_token(Optional[PaginationToken], default:None) –A pagination token from a previous request to continue listing test results from where the previous request left off.
-
max_results(Optional[MaxResults], default:None) –The maximum number of test results to return in a single response. Valid range is 1-100.
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.
-
ServiceQuotaExceededException–The number of requests exceeds the service quota. Resubmit your request later.
-
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
2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 | |