Skip to content

Bedrock  >  Operations  >  get_provisioned_model_throughput

get_provisioned_model_throughput

Operation

get_provisioned_model_throughput async

get_provisioned_model_throughput(input: GetProvisionedModelThroughputInput, plugins: list[Plugin] | None = None) -> GetProvisionedModelThroughputOutput

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

Parameters:

Name Type Description Default
input GetProvisionedModelThroughputInput

An instance of GetProvisionedModelThroughputInput.

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
GetProvisionedModelThroughputOutput

An instance of GetProvisionedModelThroughputOutput.

Input

GetProvisionedModelThroughputInput dataclass

Dataclass for GetProvisionedModelThroughputInput structure.

Attributes

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

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

Output

GetProvisionedModelThroughputOutput dataclass

Dataclass for GetProvisionedModelThroughputOutput structure.

Attributes

commitment_duration class-attribute instance-attribute
commitment_duration: CommitmentDuration | None = None

Commitment duration of the Provisioned Throughput.

commitment_expiration_time class-attribute instance-attribute
commitment_expiration_time: datetime | None = 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 = 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.

status instance-attribute

The status of the Provisioned Throughput.