Skip to content

Bedrock  >  Operations  >  delete_custom_model

delete_custom_model

Operation

delete_custom_model async

delete_custom_model(input: DeleteCustomModelInput, plugins: list[Plugin] | None = None) -> DeleteCustomModelOutput

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

Parameters:

Name Type Description Default
input DeleteCustomModelInput

An instance of DeleteCustomModelInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DeleteCustomModelOutput

An instance of DeleteCustomModelOutput.

Input

DeleteCustomModelInput dataclass

Dataclass for DeleteCustomModelInput structure.

Attributes

model_identifier class-attribute instance-attribute
model_identifier: str | None = None

Name of the model to delete.

Output

DeleteCustomModelOutput dataclass

Dataclass for DeleteCustomModelOutput structure.