deleteSchedule method

Future<DeleteScheduleResponse> deleteSchedule({
  1. required String name,
})

Deletes the specified DataBrew schedule.

May throw ResourceNotFoundException. May throw ValidationException.

Parameter name : The name of the schedule to be deleted.

Implementation

Future<DeleteScheduleResponse> deleteSchedule({
  required String name,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/schedules/${Uri.encodeComponent(name)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteScheduleResponse.fromJson(response);
}