deleteExport method

Future<DeleteExportResponse> deleteExport({
  1. required String exportId,
})

Removes a previous export and the associated files stored in an S3 bucket.

May throw InternalServerException. May throw PreconditionFailedException. May throw ServiceQuotaExceededException. May throw ThrottlingException. May throw ValidationException.

Parameter exportId : The unique identifier of the export to delete.

Implementation

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