Bedrock / Client / delete_custom_model

delete_custom_model#

Bedrock.Client.delete_custom_model(**kwargs)#

Deletes a custom model that you created earlier. For more information, see Custom models in the Bedrock User Guide.

See also: AWS API Documentation

Request Syntax

response = client.delete_custom_model(
    modelIdentifier='string'
)
Parameters:

modelIdentifier (string) –

[REQUIRED]

Name of the model to delete.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Bedrock.Client.exceptions.ResourceNotFoundException

  • Bedrock.Client.exceptions.AccessDeniedException

  • Bedrock.Client.exceptions.ValidationException

  • Bedrock.Client.exceptions.ConflictException

  • Bedrock.Client.exceptions.InternalServerException

  • Bedrock.Client.exceptions.ThrottlingException