Skip to content

get_provisioned_model_throughput

Operation

get_provisioned_model_throughput

get_provisioned_model_throughput(request: GetProvisionedModelThroughputInput | GetProvisionedModelThroughputInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetProvisionedModelThroughputInputDict]) -> GetProvisionedModelThroughputOutput

Returns details for a Provisioned Throughput. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.

Parameters:

Name Type Description Default
request GetProvisionedModelThroughputInput | GetProvisionedModelThroughputInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[GetProvisionedModelThroughputInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetProvisionedModelThroughputOutput

An instance of GetProvisionedModelThroughputOutput.

get_provisioned_model_throughput async

get_provisioned_model_throughput(request: GetProvisionedModelThroughputInput | GetProvisionedModelThroughputInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetProvisionedModelThroughputInputDict]) -> GetProvisionedModelThroughputOutput

Returns details for a Provisioned Throughput. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.

Parameters:

Name Type Description Default
request GetProvisionedModelThroughputInput | GetProvisionedModelThroughputInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[GetProvisionedModelThroughputInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetProvisionedModelThroughputOutput

An instance of GetProvisionedModelThroughputOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

GetProvisionedModelThroughputInputDict

Bases: TypedDict

Dictionary form of GetProvisionedModelThroughputInput.

Attributes

provisioned_model_id instance-attribute
provisioned_model_id: Required[str]

The Amazon Resource Name (ARN) or name of the Provisioned Throughput.

GetProvisionedModelThroughputInput dataclass

Bases: _SerdeShape

Dataclass for GetProvisionedModelThroughputInput structure.

Attributes

provisioned_model_id class-attribute instance-attribute
provisioned_model_id: str | None = ...

The Amazon Resource Name (ARN) or name of the Provisioned Throughput.

Output

GetProvisionedModelThroughputOutput dataclass

Bases: _SerdeShape

Dataclass for GetProvisionedModelThroughputOutput structure.

Attributes

commitment_duration class-attribute instance-attribute
commitment_duration: str | None = ...

Commitment duration of the Provisioned Throughput.

commitment_expiration_time class-attribute instance-attribute
commitment_expiration_time: datetime | None = ...

The timestamp for when the commitment term for the Provisioned Throughput expires.

creation_time instance-attribute
creation_time: datetime

The timestamp of the creation time for this Provisioned Throughput.

desired_model_arn instance-attribute
desired_model_arn: str

The Amazon Resource Name (ARN) of the model requested to be associated to this Provisioned Throughput. This value differs from the modelArn if updating hasn't completed.

desired_model_units instance-attribute
desired_model_units: int

The number of model units that was requested for this Provisioned Throughput.

failure_message class-attribute instance-attribute
failure_message: str | None = ...

A failure message for any issues that occurred during creation, updating, or deletion of the Provisioned Throughput.

foundation_model_arn instance-attribute
foundation_model_arn: str

The Amazon Resource Name (ARN) of the base model for which the Provisioned Throughput was created, or of the base model that the custom model for which the Provisioned Throughput was created was customized.

last_modified_time instance-attribute
last_modified_time: datetime

The timestamp of the last time that this Provisioned Throughput was modified.

model_arn instance-attribute
model_arn: str

The Amazon Resource Name (ARN) of the model associated with this Provisioned Throughput.

model_units instance-attribute
model_units: int

The number of model units allocated to this Provisioned Throughput.

provisioned_model_arn instance-attribute
provisioned_model_arn: str

The Amazon Resource Name (ARN) of the Provisioned Throughput.

provisioned_model_name instance-attribute
provisioned_model_name: str

The name of the Provisioned Throughput.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

status instance-attribute
status: str

The status of the Provisioned Throughput.