deleteDataSet method

Future<void> deleteDataSet({
  1. required String dataSetId,
})

This operation deletes a data set.

May throw ValidationException. May throw InternalServerException. May throw AccessDeniedException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ConflictException.

Parameter dataSetId : The unique identifier for a data set.

Implementation

Future<void> deleteDataSet({
  required String dataSetId,
}) async {
  ArgumentError.checkNotNull(dataSetId, 'dataSetId');
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/v1/data-sets/${Uri.encodeComponent(dataSetId)}',
    exceptionFnMap: _exceptionFns,
  );
}