deleteCustomModel method
Deletes a custom model that you created earlier. For more information, see Custom models in the Amazon Bedrock User Guide.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter modelIdentifier :
Name of the model to delete.
Implementation
Future<void> deleteCustomModel({
required String modelIdentifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/custom-models/${Uri.encodeComponent(modelIdentifier)}',
exceptionFnMap: _exceptionFns,
);
}