list_automated_reasoning_policy_test_cases
¶
list_automated_reasoning_policy_test_cases(
policy_arn: AutomatedReasoningPolicyArn,
*,
config_overrides: Optional[BedrockClientConfig] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListAutomatedReasoningPolicyTestCasesResponse
Lists tests for an Automated Reasoning policy. We recommend using pagination to ensure that the operation returns quickly and successfully.
Parameters:
-
policy_arn(AutomatedReasoningPolicyArn) –The Amazon Resource Name (ARN) of the Automated Reasoning policy for which to list tests.
-
next_token(Optional[PaginationToken], default:None) –The pagination token from a previous request to retrieve the next page of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of tests to return in a single call.
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
2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 | |