Skip to content

Bedrock Runtime  >  Operations  >  list_async_invokes

list_async_invokes

Operation

list_async_invokes async

list_async_invokes(input: ListAsyncInvokesInput, plugins: list[Plugin] | None = None) -> ListAsyncInvokesOutput

Lists asynchronous invocations.

Parameters:

Name Type Description Default
input ListAsyncInvokesInput

An instance of ListAsyncInvokesInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
ListAsyncInvokesOutput

An instance of ListAsyncInvokesOutput.

Input

ListAsyncInvokesInput dataclass

Dataclass for ListAsyncInvokesInput structure.

Attributes

max_results class-attribute instance-attribute
max_results: int | None = None

The maximum number of invocations to return in one page of results.

next_token class-attribute instance-attribute
next_token: str | None = None

Specify the pagination token from a previous request to retrieve the next page of results.

sort_by class-attribute instance-attribute
sort_by: SortAsyncInvocationBy = SortAsyncInvocationBy('SubmissionTime')

How to sort the response.

sort_order class-attribute instance-attribute
sort_order: SortOrder = SortOrder('Descending')

The sorting order for the response.

status_equals class-attribute instance-attribute
status_equals: AsyncInvokeStatus | None = None

Filter invocations by status.

submit_time_after class-attribute instance-attribute
submit_time_after: datetime | None = None

Include invocations submitted after this time.

submit_time_before class-attribute instance-attribute
submit_time_before: datetime | None = None

Include invocations submitted before this time.

Output

ListAsyncInvokesOutput dataclass

Dataclass for ListAsyncInvokesOutput structure.

Attributes

async_invoke_summaries class-attribute instance-attribute
async_invoke_summaries: list[AsyncInvokeSummary] | None = None

A list of invocation summaries.

next_token class-attribute instance-attribute
next_token: str | None = None

Specify the pagination token from a previous request to retrieve the next page of results.