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

******************************
delete_custom_model_deployment
******************************



.. py:method:: Bedrock.Client.delete_custom_model_deployment(**kwargs)

  

  Deletes a custom model deployment. This operation stops the deployment and removes it from your account. After deletion, the deployment ARN can no longer be used for inference requests.

   

  The following actions are related to the ``DeleteCustomModelDeployment`` operation:

   

  
  * `CreateCustomModelDeployment <https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateCustomModelDeployment.html>`__
   
  * `GetCustomModelDeployment <https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetCustomModelDeployment.html>`__
   
  * `ListCustomModelDeployments <https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListCustomModelDeployments.html>`__
  

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteCustomModelDeployment>`_  


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) or name of the custom model deployment to delete.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Bedrock.Client.exceptions.ResourceNotFoundException`

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

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

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

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

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

  