Struct aws_sdk_iot::client::fluent_builders::CreateScheduledAudit [−][src]
pub struct CreateScheduledAudit<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateScheduledAudit
.
Creates a scheduled audit that is run at a specified time interval.
Requires permission to access the CreateScheduledAudit action.
Implementations
impl<C, M, R> CreateScheduledAudit<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateScheduledAudit<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateScheduledAuditOutput, SdkError<CreateScheduledAuditError>> where
R::Policy: SmithyRetryPolicy<CreateScheduledAuditInputOperationOutputAlias, CreateScheduledAuditOutput, CreateScheduledAuditError, CreateScheduledAuditInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateScheduledAuditOutput, SdkError<CreateScheduledAuditError>> where
R::Policy: SmithyRetryPolicy<CreateScheduledAuditInputOperationOutputAlias, CreateScheduledAuditOutput, CreateScheduledAuditError, CreateScheduledAuditInputOperationRetryAlias>,
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
to 31 are specified, and the month
doesn't
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
to 31 are specified, and the month
doesn't
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,
either
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,
either
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 you want to give to the scheduled audit. (Max. 128 chars)
The name you want to give to the scheduled audit. (Max. 128 chars)
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Metadata that can be used to manage the scheduled audit.
Metadata that can be used to manage the scheduled audit.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateScheduledAudit<C, M, R>
impl<C, M, R> Send for CreateScheduledAudit<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateScheduledAudit<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateScheduledAudit<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateScheduledAudit<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