Bedrock / Client / update_custom_model_deployment

update_custom_model_deployment

Bedrock.Client.update_custom_model_deployment(**kwargs)

Updates a custom model deployment with a new custom model. This allows you to deploy updated models without creating new deployment endpoints.

See also: AWS API Documentation

Request Syntax

response = client.update_custom_model_deployment(
    modelArn='string',
    customModelDeploymentIdentifier='string'
)
Parameters:
  • modelArn (string) –

    [REQUIRED]

    ARN of the new custom model to deploy. This replaces the currently deployed model.

  • customModelDeploymentIdentifier (string) –

    [REQUIRED]

    Identifier of the custom model deployment to update with the new custom model.

Return type:

dict

Returns:

Response Syntax

{
    'customModelDeploymentArn': 'string'
}

Response Structure

  • (dict) –

    • customModelDeploymentArn (string) –

      ARN of the custom model deployment being updated.

Exceptions