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
2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 | |