Bedrock / Client / delete_custom_model_deployment

delete_custom_model_deployment

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:

See also: AWS API Documentation

Request Syntax

response = client.delete_custom_model_deployment(
    customModelDeploymentIdentifier='string'
)
Parameters:

customModelDeploymentIdentifier (string) –

[REQUIRED]

The Amazon Resource Name (ARN) or name of the custom model deployment 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