Skip to content

BedrockClient.update_custom_model_deployment

rboto-bedrock==0.4.0 · Service index · Types

Model summary (excerpt): Updates a custom model deployment with a new custom model. This allows you to deploy updated models without creating new deployment endpoints.

Install and imports

python -m pip install "rboto[bedrock]==0.4.0"
from rboto import BedrockClient
from rboto_bedrock.types import (
    UpdateCustomModelDeploymentOutput,
)

Signature

async def update_custom_model_deployment(
    *,
    model_arn: str,
    custom_model_deployment_identifier: str,
) -> UpdateCustomModelDeploymentOutput: ...

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)
model_arn Yes ARN of the new custom model to deploy. This replaces the currently deployed model.
custom_model_deployment_identifier Yes Identifier of the custom model deployment to update with the new custom model.

Output

UpdateCustomModelDeploymentOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
custom_model_deployment_arn str Always present —

| 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.

UpdateCustomModelDeploymentOutput

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.

Service guide · Pinned model