describeScheduledAudit method

Future<DescribeScheduledAuditResponse> describeScheduledAudit({
  1. required String scheduledAuditName,
})

Gets information about a scheduled audit.

Requires permission to access the DescribeScheduledAudit action.

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

Parameter scheduledAuditName : The name of the scheduled audit whose information you want to get.

Implementation

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