Struct aws_sdk_ssm::types::ComplianceItemEntry
source · #[non_exhaustive]pub struct ComplianceItemEntry {
pub id: Option<String>,
pub title: Option<String>,
pub severity: ComplianceSeverity,
pub status: ComplianceStatus,
pub details: Option<HashMap<String, String>>,
}
Expand description
Information about a compliance item.
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.id: Option<String>
The compliance item ID. For example, if the compliance item is a Windows patch, the ID could be the number of the KB article.
title: Option<String>
The title of the compliance item. For example, if the compliance item is a Windows patch, the title could be the title of the KB article for the patch; for example: Security Update for Active Directory Federation Services.
severity: ComplianceSeverity
The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
status: ComplianceStatus
The status of the compliance item. An item is either COMPLIANT or NON_COMPLIANT.
details: Option<HashMap<String, String>>
A "Key": "Value" tag combination for the compliance item.
Implementations§
source§impl ComplianceItemEntry
impl ComplianceItemEntry
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The compliance item ID. For example, if the compliance item is a Windows patch, the ID could be the number of the KB article.
sourcepub fn title(&self) -> Option<&str>
pub fn title(&self) -> Option<&str>
The title of the compliance item. For example, if the compliance item is a Windows patch, the title could be the title of the KB article for the patch; for example: Security Update for Active Directory Federation Services.
sourcepub fn severity(&self) -> &ComplianceSeverity
pub fn severity(&self) -> &ComplianceSeverity
The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
sourcepub fn status(&self) -> &ComplianceStatus
pub fn status(&self) -> &ComplianceStatus
The status of the compliance item. An item is either COMPLIANT or NON_COMPLIANT.
source§impl ComplianceItemEntry
impl ComplianceItemEntry
sourcepub fn builder() -> ComplianceItemEntryBuilder
pub fn builder() -> ComplianceItemEntryBuilder
Creates a new builder-style object to manufacture ComplianceItemEntry
.
Trait Implementations§
source§impl Clone for ComplianceItemEntry
impl Clone for ComplianceItemEntry
source§fn clone(&self) -> ComplianceItemEntry
fn clone(&self) -> ComplianceItemEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ComplianceItemEntry
impl Debug for ComplianceItemEntry
source§impl PartialEq for ComplianceItemEntry
impl PartialEq for ComplianceItemEntry
source§fn eq(&self, other: &ComplianceItemEntry) -> bool
fn eq(&self, other: &ComplianceItemEntry) -> bool
self
and other
values to be equal, and is used
by ==
.