list_async_invokes
async
¶
list_async_invokes(
*,
config_overrides: Optional[AsyncBedrockRuntimeClientConfig] = None,
submit_time_after: Optional[Timestamp] = None,
submit_time_before: Optional[Timestamp] = None,
status_equals: Optional[AsyncInvokeStatus] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[PaginationToken] = None,
sort_by: Optional[SortAsyncInvocationBy] = None,
sort_order: Optional[SortOrder] = None,
) -> ListAsyncInvokesResponse
Lists asynchronous invocations.
Parameters:
-
submit_time_after(Optional[Timestamp], default:None) –Include invocations submitted after this time.
-
submit_time_before(Optional[Timestamp], default:None) –Include invocations submitted before this time.
-
status_equals(Optional[AsyncInvokeStatus], default:None) –Filter invocations by status.
-
max_results(Optional[MaxResults], default:None) –The maximum number of invocations to return in one page of results.
-
next_token(Optional[PaginationToken], default:None) –Specify the pagination token from a previous request to retrieve the next page of results.
-
sort_by(Optional[SortAsyncInvocationBy], default:None) –How to sort the response.
-
sort_order(Optional[SortOrder], default:None) –The sorting order for the response.
Raises:
-
AccessDeniedException–The request is denied because you do not have sufficient permissions to perform the requested action. For troubleshooting this error, see AccessDeniedException in the Amazon Bedrock User Guide
-
InternalServerException–An internal server error occurred. For troubleshooting this error, see InternalFailure in the Amazon Bedrock User Guide
-
ThrottlingException–Your request was denied due to exceeding the account quotas for Amazon Bedrock. For troubleshooting this error, see ThrottlingException in the Amazon Bedrock User Guide
-
ValidationException–The input fails to satisfy the constraints specified by Amazon Bedrock. For troubleshooting this error, see ValidationError in the Amazon Bedrock User Guide
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_runtime/_services/async_bedrock_runtime.py
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 | |