BedrockClient.update_provisioned_model_throughput
rboto-bedrock==0.4.0 · Service index · Types
Model summary (excerpt): Updates the name or associated model for a Provisioned Throughput. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide .
Install and imports
from rboto import BedrockClient
from rboto_bedrock.types import (
UpdateProvisionedModelThroughputOutput,
)
Signature
async def update_provisioned_model_throughput(
*,
provisioned_model_id: str,
desired_provisioned_model_name: str | None = None,
desired_model_id: str | None = None,
) -> UpdateProvisionedModelThroughputOutput: ...
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) |
|---|---|---|
provisioned_model_id |
Yes | The Amazon Resource Name (ARN) or name of the Provisioned Throughput to update. |
desired_provisioned_model_name |
No | The new name for this Provisioned Throughput. |
desired_model_id |
No | 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... |
Output
UpdateProvisionedModelThroughputOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
No fields.
| 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.
Related types
UpdateProvisionedModelThroughputOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_bedrock.exceptions:
AccessDeniedError, InternalServerError, ResourceNotFoundError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.