deleteServiceLevelObjective method

Future<void> deleteServiceLevelObjective({
  1. required String id,
})

Deletes the specified service level objective.

May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter id : The ARN or name of the service level objective to delete.

Implementation

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