Struct aws_sdk_iot::client::fluent_builders::UpdateScheduledAudit [−][src]
pub struct UpdateScheduledAudit<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateScheduledAudit
.
Updates a scheduled audit, including which checks are performed and how often the audit takes place.
Requires permission to access the UpdateScheduledAudit action.
Implementations
impl<C, M, R> UpdateScheduledAudit<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateScheduledAudit<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateScheduledAuditOutput, SdkError<UpdateScheduledAuditError>> where
R::Policy: SmithyRetryPolicy<UpdateScheduledAuditInputOperationOutputAlias, UpdateScheduledAuditOutput, UpdateScheduledAuditError, UpdateScheduledAuditInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateScheduledAuditOutput, SdkError<UpdateScheduledAuditError>> where
R::Policy: SmithyRetryPolicy<UpdateScheduledAuditInputOperationOutputAlias, UpdateScheduledAuditOutput, UpdateScheduledAuditError, UpdateScheduledAuditInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
How often the scheduled audit takes
place,
either DAILY
,
WEEKLY
, BIWEEKLY
, or MONTHLY
. The start time of each audit is determined by the
system.
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 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
.
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
.
Appends an item to targetCheckNames
.
To override the contents of this collection use set_target_check_names
.
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.)
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)
The name of the scheduled audit. (Max. 128 chars)
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateScheduledAudit<C, M, R>
impl<C, M, R> Send for UpdateScheduledAudit<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateScheduledAudit<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateScheduledAudit<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateScheduledAudit<C, M, R>
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