deleteArchive method
Deletes the specified archive.
May throw ConcurrentModificationException.
May throw InternalException.
May throw ResourceNotFoundException.
Parameter archiveName :
The name of the archive to delete.
Implementation
Future<void> deleteArchive({
required String archiveName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSEvents.DeleteArchive'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ArchiveName': archiveName,
},
);
}