deleteRecommender method

Future<void> deleteRecommender({
  1. required String domainName,
  2. required String recommenderName,
})

Deletes a recommender.

May throw AccessDeniedException. May throw BadRequestException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter domainName : The unique name of the domain.

Parameter recommenderName : The recommender name.

Implementation

Future<void> deleteRecommender({
  required String domainName,
  required String recommenderName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/domains/${Uri.encodeComponent(domainName)}/recommenders/${Uri.encodeComponent(recommenderName)}',
    exceptionFnMap: _exceptionFns,
  );
}