update_provisioned_model_throughput¶
Operation¶
update_provisioned_model_throughput
¶
update_provisioned_model_throughput(request: UpdateProvisionedModelThroughputInput | UpdateProvisionedModelThroughputInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateProvisionedModelThroughputInputDict]) -> 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 |
|---|---|---|---|
request
|
UpdateProvisionedModelThroughputInput | UpdateProvisionedModelThroughputInputDict | 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[UpdateProvisionedModelThroughputInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
UpdateProvisionedModelThroughputOutput
|
An instance of |
update_provisioned_model_throughput
async
¶
update_provisioned_model_throughput(request: UpdateProvisionedModelThroughputInput | UpdateProvisionedModelThroughputInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateProvisionedModelThroughputInputDict]) -> 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 |
|---|---|---|---|
request
|
UpdateProvisionedModelThroughputInput | UpdateProvisionedModelThroughputInputDict | 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[UpdateProvisionedModelThroughputInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
UpdateProvisionedModelThroughputOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
UpdateProvisionedModelThroughputInputDict
¶
Bases: TypedDict
Dictionary form of UpdateProvisionedModelThroughputInput.
Attributes¶
desired_model_id
instance-attribute
¶
desired_model_id: str | 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.
UpdateProvisionedModelThroughputInput
dataclass
¶
Bases: _SerdeShape
Dataclass for UpdateProvisionedModelThroughputInput structure.
Attributes¶
desired_model_id
class-attribute
instance-attribute
¶
desired_model_id: str | 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.
Output¶
UpdateProvisionedModelThroughputOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for UpdateProvisionedModelThroughputOutput structure.