Skip to content

Bedrock  >  Operations  >  update_provisioned_model_throughput

update_provisioned_model_throughput

Operation

update_provisioned_model_throughput async

update_provisioned_model_throughput(input: UpdateProvisionedModelThroughputInput, plugins: list[Plugin] | None = None) -> UpdateProvisionedModelThroughputOutput

Updates the name or associated model for a Provisioned Throughput. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.

Parameters:

Name Type Description Default
input UpdateProvisionedModelThroughputInput

An instance of UpdateProvisionedModelThroughputInput.

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
UpdateProvisionedModelThroughputOutput

An instance of UpdateProvisionedModelThroughputOutput.

Input

UpdateProvisionedModelThroughputInput dataclass

Dataclass for UpdateProvisionedModelThroughputInput structure.

Attributes

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

The Amazon Resource Name (ARN) of the new model to associate with this Provisioned Throughput. You can't specify this field if this Provisioned Throughput is associated with a base model.

If this Provisioned Throughput is associated with a custom model, you can specify one of the following options:

  • The base model from which the custom model was customized.

  • Another custom model that was customized from the same base model as the custom model.

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

The new name for this Provisioned Throughput.

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

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

Output

UpdateProvisionedModelThroughputOutput dataclass

Dataclass for UpdateProvisionedModelThroughputOutput structure.