describeScheduledAudit method
Future<DescribeScheduledAuditResponse>
describeScheduledAudit({
- required String scheduledAuditName,
Gets information about a scheduled audit.
May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw InternalFailureException.
Parameter scheduledAuditName
:
The name of the scheduled audit whose information you want to get.
Implementation
Future<DescribeScheduledAuditResponse> describeScheduledAudit({
required String scheduledAuditName,
}) async {
ArgumentError.checkNotNull(scheduledAuditName, 'scheduledAuditName');
_s.validateStringLength(
'scheduledAuditName',
scheduledAuditName,
1,
128,
isRequired: true,
);
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/audit/scheduledaudits/${Uri.encodeComponent(scheduledAuditName)}',
exceptionFnMap: _exceptionFns,
);
return DescribeScheduledAuditResponse.fromJson(response);
}