Skip to content

BedrockRuntimeClient.list_async_invokes

rboto-bedrock-runtime==0.4.0 · Service index · Types

Model summary (excerpt): Lists asynchronous invocations.

Install and imports

python -m pip install "rboto[bedrock-runtime]==0.4.0"
from rboto import BedrockRuntimeClient
from rboto_bedrock_runtime.types import (
    AsyncInvokeStatus,
    ListAsyncInvokesOutput,
    SortAsyncInvocationBy,
    SortOrder,
)

Signature

async def list_async_invokes(
    *,
    submit_time_after: str | None = None,
    submit_time_before: str | None = None,
    status_equals: AsyncInvokeStatus | None = None,
    max_results: int | None = None,
    next_token: str | None = None,
    sort_by: SortAsyncInvocationBy | None = None,
    sort_order: SortOrder | None = None,
) -> ListAsyncInvokesOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
submit_time_after No Include invocations submitted after this time.
submit_time_before No Include invocations submitted before this time.
status_equals No Filter invocations by status.
max_results No The maximum number of invocations to return in one page of results.
next_token No Specify the pagination token from a previous request to retrieve the next page of results.
sort_by No How to sort the response.
sort_order No The sorting order for the response.

Output

ListAsyncInvokesOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
next_token str | None Always present —
async_invoke_summaries list[AsyncInvokeSummaryOutput] | None Always present AsyncInvokeSummaryOutput

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

AsyncInvokeStatus, ListAsyncInvokesOutput, SortAsyncInvocationBy, SortOrder

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

client.paginators.list_async_invokes(...) accepts the same arguments and returns AsyncIterator[ListAsyncInvokesOutput]. Direct calls return one page. Pages preserve the Output representation above.

Input cursors: next_token. Page-size argument: max_results.

No output stream.

Errors

Import from rboto_bedrock_runtime.exceptions:

AccessDeniedError, InternalServerError, ThrottlingError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model