1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeScheduledAudit`](crate::operation::describe_scheduled_audit::builders::DescribeScheduledAuditFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`scheduled_audit_name(impl Into<String>)`](crate::operation::describe_scheduled_audit::builders::DescribeScheduledAuditFluentBuilder::scheduled_audit_name) / [`set_scheduled_audit_name(Option<String>)`](crate::operation::describe_scheduled_audit::builders::DescribeScheduledAuditFluentBuilder::set_scheduled_audit_name):<br>required: **true**<br><p>The name of the scheduled audit whose information you want to get.</p><br>
    /// - On success, responds with [`DescribeScheduledAuditOutput`](crate::operation::describe_scheduled_audit::DescribeScheduledAuditOutput) with field(s):
    ///   - [`frequency(Option<AuditFrequency>)`](crate::operation::describe_scheduled_audit::DescribeScheduledAuditOutput::frequency): <p>How often the scheduled audit takes place, either one of <code>DAILY</code>, <code>WEEKLY</code>, <code>BIWEEKLY</code>, or <code>MONTHLY</code>. The start time of each audit is determined by the system.</p>
    ///   - [`day_of_month(Option<String>)`](crate::operation::describe_scheduled_audit::DescribeScheduledAuditOutput::day_of_month): <p>The day of the month on which the scheduled audit takes place. This is will be <code>1</code> through <code>31</code> or <code>LAST</code>. If days <code>29</code>-<code>31</code> are specified, and the month does not have that many days, the audit takes place on the <code>LAST</code> day of the month.</p>
    ///   - [`day_of_week(Option<DayOfWeek>)`](crate::operation::describe_scheduled_audit::DescribeScheduledAuditOutput::day_of_week): <p>The day of the week on which the scheduled audit takes place, either one of <code>SUN</code>, <code>MON</code>, <code>TUE</code>, <code>WED</code>, <code>THU</code>, <code>FRI</code>, or <code>SAT</code>.</p>
    ///   - [`target_check_names(Option<Vec::<String>>)`](crate::operation::describe_scheduled_audit::DescribeScheduledAuditOutput::target_check_names): <p>Which checks are performed during the scheduled audit. Checks must be enabled for your account. (Use <code>DescribeAccountAuditConfiguration</code> to see the list of all checks, including those that are enabled or use <code>UpdateAccountAuditConfiguration</code> to select which checks are enabled.)</p>
    ///   - [`scheduled_audit_name(Option<String>)`](crate::operation::describe_scheduled_audit::DescribeScheduledAuditOutput::scheduled_audit_name): <p>The name of the scheduled audit.</p>
    ///   - [`scheduled_audit_arn(Option<String>)`](crate::operation::describe_scheduled_audit::DescribeScheduledAuditOutput::scheduled_audit_arn): <p>The ARN of the scheduled audit.</p>
    /// - On failure, responds with [`SdkError<DescribeScheduledAuditError>`](crate::operation::describe_scheduled_audit::DescribeScheduledAuditError)
    pub fn describe_scheduled_audit(&self) -> crate::operation::describe_scheduled_audit::builders::DescribeScheduledAuditFluentBuilder {
        crate::operation::describe_scheduled_audit::builders::DescribeScheduledAuditFluentBuilder::new(self.handle.clone())
    }
}