update_provisioned_model_throughput
async
¶
update_provisioned_model_throughput(
provisioned_model_id: ProvisionedModelId,
*,
config_overrides: Optional[AsyncBedrockClientConfig] = None,
desired_provisioned_model_name: Optional[ProvisionedModelName] = None,
desired_model_id: Optional[ModelIdentifier] = None,
) -> UpdateProvisionedModelThroughputResponse
Updates the name or associated model for a Provisioned Throughput. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
Parameters:
-
provisioned_model_id(ProvisionedModelId) –The Amazon Resource Name (ARN) or name of the Provisioned Throughput to update.
-
desired_provisioned_model_name(Optional[ProvisionedModelName], default:None) –The new name for this Provisioned Throughput.
-
desired_model_id(Optional[ModelIdentifier], default: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.
-
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
-
ThrottlingException–The number of requests exceeds the limit. Resubmit your request later.
-
ValidationException–Input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock/_services/async_bedrock.py
7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 | |