Struct aws_sdk_iot::input::UpdateScheduledAuditInput [−][src]
#[non_exhaustive]pub struct UpdateScheduledAuditInput {
pub frequency: Option<AuditFrequency>,
pub day_of_month: Option<String>,
pub day_of_week: Option<DayOfWeek>,
pub target_check_names: Option<Vec<String>>,
pub scheduled_audit_name: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.frequency: Option<AuditFrequency>
How often the scheduled audit takes
place,
either DAILY
,
WEEKLY
, BIWEEKLY
, or MONTHLY
. The start time of each audit is determined by the
system.
day_of_month: Option<String>
The day of the month on which the scheduled audit takes place.
This
can
be 1
through 31
or LAST
. This field is required if the frequency
parameter is set to
MONTHLY
. If days 29-31 are specified, and the month does not have that many days, the audit
takes place on the "LAST" day of the month.
day_of_week: Option<DayOfWeek>
The day of the week on which the scheduled audit takes place.
This
can
be one of SUN
, MON
, TUE
, WED
, THU
, FRI
, or SAT
. This field is required if the
"frequency" parameter is set to WEEKLY
or BIWEEKLY
.
target_check_names: Option<Vec<String>>
Which checks are performed during the scheduled audit. Checks must be enabled
for your account. (Use DescribeAccountAuditConfiguration
to see the list
of all checks, including those that are enabled or use UpdateAccountAuditConfiguration
to select which checks are enabled.)
scheduled_audit_name: Option<String>
The name of the scheduled audit. (Max. 128 chars)
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateScheduledAudit, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateScheduledAudit, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateScheduledAudit
>
Creates a new builder-style object to manufacture UpdateScheduledAuditInput
How often the scheduled audit takes
place,
either DAILY
,
WEEKLY
, BIWEEKLY
, or MONTHLY
. The start time of each audit is determined by the
system.
The day of the month on which the scheduled audit takes place.
This
can
be 1
through 31
or LAST
. This field is required if the frequency
parameter is set to
MONTHLY
. If days 29-31 are specified, and the month does not have that many days, the audit
takes place on the "LAST" day of the month.
The day of the week on which the scheduled audit takes place.
This
can
be one of SUN
, MON
, TUE
, WED
, THU
, FRI
, or SAT
. This field is required if the
"frequency" parameter is set to WEEKLY
or BIWEEKLY
.
Which checks are performed during the scheduled audit. Checks must be enabled
for your account. (Use DescribeAccountAuditConfiguration
to see the list
of all checks, including those that are enabled or use UpdateAccountAuditConfiguration
to select which checks are enabled.)
The name of the scheduled audit. (Max. 128 chars)
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for UpdateScheduledAuditInput
impl Send for UpdateScheduledAuditInput
impl Sync for UpdateScheduledAuditInput
impl Unpin for UpdateScheduledAuditInput
impl UnwindSafe for UpdateScheduledAuditInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more