:doc:`Bedrock <../../bedrock>` / Client / update_custom_model_deployment

******************************
update_custom_model_deployment
******************************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/UpdateCustomModelDeployment>`_  


  **Request Syntax**
  ::

    response = client.update_custom_model_deployment(
        modelArn='string',
        customModelDeploymentIdentifier='string'
    )
    
  :type modelArn: string
  :param modelArn: **[REQUIRED]** 

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

    

  
  :type customModelDeploymentIdentifier: string
  :param customModelDeploymentIdentifier: **[REQUIRED]** 

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

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'customModelDeploymentArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **customModelDeploymentArn** *(string) --* 

        ARN of the custom model deployment being updated.

        
  
  **Exceptions**
  
  *   :py:class:`Bedrock.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Bedrock.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Bedrock.Client.exceptions.ValidationException`

  
  *   :py:class:`Bedrock.Client.exceptions.InternalServerException`

  
  *   :py:class:`Bedrock.Client.exceptions.ThrottlingException`

  