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

*******************
delete_custom_model
*******************



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

  

  Deletes a custom model that you created earlier. For more information, see `Custom models <https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html>`__ in the `Amazon Bedrock User Guide <https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html>`__.

  

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


  **Request Syntax**
  ::

    response = client.delete_custom_model(
        modelIdentifier='string'
    )
    
  :type modelIdentifier: string
  :param modelIdentifier: **[REQUIRED]** 

    Name of the model 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`

  