deleteScheduledAudit method

Future<void> deleteScheduledAudit({
  1. required String scheduledAuditName,
})

Deletes a scheduled audit.

Requires permission to access the DeleteScheduledAudit action.

May throw InternalFailureException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter scheduledAuditName : The name of the scheduled audit you want to delete.

Implementation

Future<void> deleteScheduledAudit({
  required String scheduledAuditName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/audit/scheduledaudits/${Uri.encodeComponent(scheduledAuditName)}',
    exceptionFnMap: _exceptionFns,
  );
}