deleteRevision method
This operation deletes a revision.
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.
Parameter revisionId
:
The unique identifier for a revision.
Implementation
Future<void> deleteRevision({
required String dataSetId,
required String revisionId,
}) async {
ArgumentError.checkNotNull(dataSetId, 'dataSetId');
ArgumentError.checkNotNull(revisionId, 'revisionId');
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/v1/data-sets/${Uri.encodeComponent(dataSetId)}/revisions/${Uri.encodeComponent(revisionId)}',
exceptionFnMap: _exceptionFns,
);
}