deleteUpload method
Deletes an upload given the upload ARN.
May throw ArgumentException.
May throw LimitExceededException.
May throw NotFoundException.
May throw ServiceAccountException.
Parameter arn :
Represents the Amazon Resource Name (ARN) of the Device Farm upload to
delete.
Implementation
Future<void> deleteUpload({
required String arn,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'DeviceFarm_20150623.DeleteUpload'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'arn': arn,
},
);
}