Struct aws_sdk_iot::types::AuditSuppression
source · #[non_exhaustive]pub struct AuditSuppression {
pub check_name: String,
pub resource_identifier: Option<ResourceIdentifier>,
pub expiration_date: Option<DateTime>,
pub suppress_indefinitely: Option<bool>,
pub description: Option<String>,
}
Expand description
Filters out specific findings of a Device Defender audit.
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.check_name: String
An audit check name. 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.)
resource_identifier: Option<ResourceIdentifier>
Information that identifies the noncompliant resource.
expiration_date: Option<DateTime>
The expiration date (epoch timestamp in seconds) that you want the suppression to adhere to.
suppress_indefinitely: Option<bool>
Indicates whether a suppression should exist indefinitely or not.
description: Option<String>
The description of the audit suppression.
Implementations§
source§impl AuditSuppression
impl AuditSuppression
sourcepub fn check_name(&self) -> &str
pub fn check_name(&self) -> &str
An audit check name. 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.)
sourcepub fn resource_identifier(&self) -> Option<&ResourceIdentifier>
pub fn resource_identifier(&self) -> Option<&ResourceIdentifier>
Information that identifies the noncompliant resource.
sourcepub fn expiration_date(&self) -> Option<&DateTime>
pub fn expiration_date(&self) -> Option<&DateTime>
The expiration date (epoch timestamp in seconds) that you want the suppression to adhere to.
sourcepub fn suppress_indefinitely(&self) -> Option<bool>
pub fn suppress_indefinitely(&self) -> Option<bool>
Indicates whether a suppression should exist indefinitely or not.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the audit suppression.
source§impl AuditSuppression
impl AuditSuppression
sourcepub fn builder() -> AuditSuppressionBuilder
pub fn builder() -> AuditSuppressionBuilder
Creates a new builder-style object to manufacture AuditSuppression
.
Trait Implementations§
source§impl Clone for AuditSuppression
impl Clone for AuditSuppression
source§fn clone(&self) -> AuditSuppression
fn clone(&self) -> AuditSuppression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AuditSuppression
impl Debug for AuditSuppression
source§impl PartialEq for AuditSuppression
impl PartialEq for AuditSuppression
source§fn eq(&self, other: &AuditSuppression) -> bool
fn eq(&self, other: &AuditSuppression) -> bool
self
and other
values to be equal, and is used
by ==
.