Skip to content

BedrockClient.list_provisioned_model_throughputs

rboto-bedrock==0.4.0 · Service index · Types

Model summary (excerpt): Lists the Provisioned Throughputs in the account. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide .

Install and imports

python -m pip install "rboto[bedrock]==0.4.0"
from rboto import BedrockClient
from rboto_bedrock.types import (
    ListProvisionedModelThroughputsOutput,
    ProvisionedModelStatus,
    SortByProvisionedModels,
    SortOrder,
)

Signature

async def list_provisioned_model_throughputs(
    *,
    creation_time_after: str | None = None,
    creation_time_before: str | None = None,
    status_equals: ProvisionedModelStatus | None = None,
    model_arn_equals: str | None = None,
    name_contains: str | None = None,
    max_results: int | None = None,
    next_token: str | None = None,
    sort_by: SortByProvisionedModels | None = None,
    sort_order: SortOrder | None = None,
) -> ListProvisionedModelThroughputsOutput: ...

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)
creation_time_after No A filter that returns Provisioned Throughputs created after the specified time.
creation_time_before No A filter that returns Provisioned Throughputs created before the specified time.
status_equals No A filter that returns Provisioned Throughputs if their statuses matches the value that you specify.
model_arn_equals No A filter that returns Provisioned Throughputs whose model Amazon Resource Name (ARN) is equal to the value that you specify.
name_contains No A filter that returns Provisioned Throughputs if their name contains the expression that you specify.
max_results No THe maximum number of results to return in the response. If there are more results than the number you specified, the response returns a nextToken value. To see the next batch of results, send the nextToken value in another list request.
next_token No If there are more results than the number you specified in the maxResults field, the response returns a nextToken value. To see the next batch of results, specify the nextToken value in this field.
sort_by No The field by which to sort the returned list of Provisioned Throughputs.
sort_order No The sort order of the results.

Output

ListProvisionedModelThroughputsOutput.

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 —
provisioned_model_summaries list[ProvisionedModelSummaryOutput] | None Always present ProvisionedModelSummaryOutput

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

ListProvisionedModelThroughputsOutput, ProvisionedModelStatus, SortByProvisionedModels, SortOrder

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

Pagination and streaming

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