Struct aws_sdk_iot::operation::update_account_audit_configuration::UpdateAccountAuditConfigurationInput
source · #[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§
source§impl UpdateAccountAuditConfigurationInput
impl UpdateAccountAuditConfigurationInput
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
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.
sourcepub 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.
sourcepub fn audit_check_configurations(
&self,
) -> Option<&HashMap<String, AuditCheckConfiguration>>
pub fn audit_check_configurations( &self, ) -> 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.
source§impl UpdateAccountAuditConfigurationInput
impl UpdateAccountAuditConfigurationInput
sourcepub fn builder() -> UpdateAccountAuditConfigurationInputBuilder
pub fn builder() -> UpdateAccountAuditConfigurationInputBuilder
Creates a new builder-style object to manufacture UpdateAccountAuditConfigurationInput
.
Trait Implementations§
source§impl Clone for UpdateAccountAuditConfigurationInput
impl Clone for UpdateAccountAuditConfigurationInput
source§fn clone(&self) -> UpdateAccountAuditConfigurationInput
fn clone(&self) -> UpdateAccountAuditConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateAccountAuditConfigurationInput
impl PartialEq for UpdateAccountAuditConfigurationInput
source§fn eq(&self, other: &UpdateAccountAuditConfigurationInput) -> bool
fn eq(&self, other: &UpdateAccountAuditConfigurationInput) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateAccountAuditConfigurationInput
Auto Trait Implementations§
impl Freeze for UpdateAccountAuditConfigurationInput
impl RefUnwindSafe for UpdateAccountAuditConfigurationInput
impl Send for UpdateAccountAuditConfigurationInput
impl Sync for UpdateAccountAuditConfigurationInput
impl Unpin for UpdateAccountAuditConfigurationInput
impl UnwindSafe for UpdateAccountAuditConfigurationInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more