Skip to content

BedrockClient.list_model_invocation_jobs

rboto-bedrock==0.4.0 · Service index · Types

Model summary (excerpt): Lists all batch inference jobs in the account. For more information, see View details about a batch inference job .

Install and imports

python -m pip install "rboto[bedrock]==0.4.0"
from rboto import BedrockClient
from rboto_bedrock.types import (
    ListModelInvocationJobsOutput,
    ModelInvocationJobStatus,
    SortJobsBy,
    SortOrder,
)

Signature

async def list_model_invocation_jobs(
    *,
    submit_time_after: str | None = None,
    submit_time_before: str | None = None,
    status_equals: ModelInvocationJobStatus | None = None,
    name_contains: str | None = None,
    max_results: int | None = None,
    next_token: str | None = None,
    sort_by: SortJobsBy | None = None,
    sort_order: SortOrder | None = None,
) -> ListModelInvocationJobsOutput: ...

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 Specify a time to filter for batch inference jobs that were submitted after the time you specify.
submit_time_before No Specify a time to filter for batch inference jobs that were submitted before the time you specify.
status_equals No Specify a status to filter for batch inference jobs whose statuses match the string you specify. The following statuses are possible: Submitted – This job has been submitted to a queue for validation. Validating – This job is being validated for the requirements described in Format and upload your batch inference data . The criteria include the following: Your IAM service role has access to...
name_contains No Specify a string to filter for batch inference jobs whose names contain the string.
max_results No The maximum number of results to return. If there are more results than the number that you specify, a nextToken value is returned. Use the nextToken in a request to return the next batch of results.
next_token No If there were more results than the value you specified in the maxResults field in a previous ListModelInvocationJobs request, the response would have returned a nextToken value. To see the next batch of results, send the nextToken value in another request.
sort_by No An attribute by which to sort the results.
sort_order No Specifies whether to sort the results by ascending or descending order.

Output

ListModelInvocationJobsOutput.

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 —
invocation_job_summaries list[ModelInvocationJobSummaryOutput] | None Always present ModelInvocationJobSummaryOutput

| 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.

ListModelInvocationJobsOutput, ModelInvocationJobStatus, SortJobsBy, SortOrder

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

Pagination and streaming

client.paginators.list_model_invocation_jobs(...) accepts the same arguments and returns AsyncIterator[ListModelInvocationJobsOutput]. 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.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