Struct aws_sdk_iot::input::UpdateAccountAuditConfigurationInput [−][src]
#[non_exhaustive]pub struct UpdateAccountAuditConfigurationInput {
pub role_arn: Option<String>,
pub audit_notification_target_configurations: Option<HashMap<AuditNotificationType, AuditNotificationTarget>>,
pub audit_check_configurations: Option<HashMap<String, AuditCheckConfiguration>>,
}
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.role_arn: Option<String>
The Amazon Resource Name (ARN) of the role that grants permission to IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.
audit_notification_target_configurations: Option<HashMap<AuditNotificationType, AuditNotificationTarget>>
Information about the targets to which audit notifications are sent.
audit_check_configurations: Option<HashMap<String, AuditCheckConfiguration>>
Specifies which audit checks are enabled and disabled for this account. Use
DescribeAccountAuditConfiguration
to see the list of all checks, including those
that are currently enabled.
Some data collection might start immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted.
You cannot disable a check if it's used by any scheduled audit. You must first delete the check from the scheduled audit or delete the scheduled audit itself.
On the first call to UpdateAccountAuditConfiguration
,
this parameter is required and must specify at least one enabled check.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateAccountAuditConfiguration, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateAccountAuditConfiguration, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateAccountAuditConfiguration
>
Creates a new builder-style object to manufacture UpdateAccountAuditConfigurationInput
The Amazon Resource Name (ARN) of the role that grants permission to IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.
pub fn audit_notification_target_configurations(
&self
) -> Option<&HashMap<AuditNotificationType, AuditNotificationTarget>>
pub fn audit_notification_target_configurations(
&self
) -> Option<&HashMap<AuditNotificationType, AuditNotificationTarget>>
Information about the targets to which audit notifications are sent.
Specifies which audit checks are enabled and disabled for this account. Use
DescribeAccountAuditConfiguration
to see the list of all checks, including those
that are currently enabled.
Some data collection might start immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted.
You cannot disable a check if it's used by any scheduled audit. You must first delete the check from the scheduled audit or delete the scheduled audit itself.
On the first call to UpdateAccountAuditConfiguration
,
this parameter is required and must specify at least one enabled check.
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 Send for UpdateAccountAuditConfigurationInput
impl Sync for UpdateAccountAuditConfigurationInput
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