stopArchiveExport method
Stops an in-progress export of emails from an archive.
May throw AccessDeniedException.
May throw ThrottlingException.
May throw ValidationException.
Parameter exportId :
The identifier of the export job to stop.
Implementation
Future<void> stopArchiveExport({
required String exportId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'MailManagerSvc.StopArchiveExport'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ExportId': exportId,
},
);
}