deleteScheduledAudit method
Deletes a scheduled audit.
May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw InternalFailureException.
Parameter scheduledAuditName
:
The name of the scheduled audit you want to delete.
Implementation
Future<void> deleteScheduledAudit({
required String scheduledAuditName,
}) async {
ArgumentError.checkNotNull(scheduledAuditName, 'scheduledAuditName');
_s.validateStringLength(
'scheduledAuditName',
scheduledAuditName,
1,
128,
isRequired: true,
);
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/audit/scheduledaudits/${Uri.encodeComponent(scheduledAuditName)}',
exceptionFnMap: _exceptionFns,
);
}