Struct aws_sdk_iot::output::DescribeSecurityProfileOutput
source · #[non_exhaustive]pub struct DescribeSecurityProfileOutput { /* private fields */ }
Implementations§
source§impl DescribeSecurityProfileOutput
impl DescribeSecurityProfileOutput
sourcepub fn security_profile_name(&self) -> Option<&str>
pub fn security_profile_name(&self) -> Option<&str>
The name of the security profile.
sourcepub fn security_profile_arn(&self) -> Option<&str>
pub fn security_profile_arn(&self) -> Option<&str>
The ARN of the security profile.
sourcepub fn security_profile_description(&self) -> Option<&str>
pub fn security_profile_description(&self) -> Option<&str>
A description of the security profile (associated with the security profile when it was created or updated).
sourcepub fn behaviors(&self) -> Option<&[Behavior]>
pub fn behaviors(&self) -> Option<&[Behavior]>
Specifies the behaviors that, when violated by a device (thing), cause an alert.
sourcepub fn alert_targets(&self) -> Option<&HashMap<AlertTargetType, AlertTarget>>
pub fn alert_targets(&self) -> Option<&HashMap<AlertTargetType, AlertTarget>>
Where the alerts are sent. (Alerts are always sent to the console.)
sourcepub fn additional_metrics_to_retain(&self) -> Option<&[String]>
👎Deprecated: Use additionalMetricsToRetainV2.
pub fn additional_metrics_to_retain(&self) -> Option<&[String]>
Please use DescribeSecurityProfileResponse$additionalMetricsToRetainV2
instead.
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors
, but it is also retained for any metric specified here.
sourcepub fn additional_metrics_to_retain_v2(&self) -> Option<&[MetricToRetain]>
pub fn additional_metrics_to_retain_v2(&self) -> Option<&[MetricToRetain]>
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.
sourcepub fn version(&self) -> i64
pub fn version(&self) -> i64
The version of the security profile. A new version is generated whenever the security profile is updated.
sourcepub fn creation_date(&self) -> Option<&DateTime>
pub fn creation_date(&self) -> Option<&DateTime>
The time the security profile was created.
sourcepub fn last_modified_date(&self) -> Option<&DateTime>
pub fn last_modified_date(&self) -> Option<&DateTime>
The time the security profile was last modified.
source§impl DescribeSecurityProfileOutput
impl DescribeSecurityProfileOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeSecurityProfileOutput
.
Trait Implementations§
source§impl Clone for DescribeSecurityProfileOutput
impl Clone for DescribeSecurityProfileOutput
source§fn clone(&self) -> DescribeSecurityProfileOutput
fn clone(&self) -> DescribeSecurityProfileOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<DescribeSecurityProfileOutput> for DescribeSecurityProfileOutput
impl PartialEq<DescribeSecurityProfileOutput> for DescribeSecurityProfileOutput
source§fn eq(&self, other: &DescribeSecurityProfileOutput) -> bool
fn eq(&self, other: &DescribeSecurityProfileOutput) -> bool
self
and other
values to be equal, and is used
by ==
.