deleteRefreshSchedule method

Future<DeleteRefreshScheduleResponse> deleteRefreshSchedule({
  1. required String awsAccountId,
  2. required String dataSetId,
  3. required String scheduleId,
})

Deletes a refresh schedule from a dataset.

May throw AccessDeniedException. May throw InternalFailureException. May throw InvalidParameterValueException. May throw LimitExceededException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter awsAccountId : The Amazon Web Services account ID.

Parameter dataSetId : The ID of the dataset.

Parameter scheduleId : The ID of the refresh schedule.

Implementation

Future<DeleteRefreshScheduleResponse> deleteRefreshSchedule({
  required String awsAccountId,
  required String dataSetId,
  required String scheduleId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/accounts/${Uri.encodeComponent(awsAccountId)}/data-sets/${Uri.encodeComponent(dataSetId)}/refresh-schedules/${Uri.encodeComponent(scheduleId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteRefreshScheduleResponse.fromJson(response);
}