Struct aws_sdk_ssm::types::ResourceComplianceSummaryItem
source · #[non_exhaustive]pub struct ResourceComplianceSummaryItem {
pub compliance_type: Option<String>,
pub resource_type: Option<String>,
pub resource_id: Option<String>,
pub status: Option<ComplianceStatus>,
pub overall_severity: Option<ComplianceSeverity>,
pub execution_summary: Option<ComplianceExecutionSummary>,
pub compliant_summary: Option<CompliantSummary>,
pub non_compliant_summary: Option<NonCompliantSummary>,
}
Expand description
Compliance summary information for a specific resource.
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.compliance_type: Option<String>
The compliance type.
resource_type: Option<String>
The resource type.
resource_id: Option<String>
The resource ID.
status: Option<ComplianceStatus>
The compliance status for the resource.
overall_severity: Option<ComplianceSeverity>
The highest severity item found for the resource. The resource is compliant for this item.
execution_summary: Option<ComplianceExecutionSummary>
Information about the execution.
compliant_summary: Option<CompliantSummary>
A list of items that are compliant for the resource.
non_compliant_summary: Option<NonCompliantSummary>
A list of items that aren't compliant for the resource.
Implementations§
source§impl ResourceComplianceSummaryItem
impl ResourceComplianceSummaryItem
sourcepub fn compliance_type(&self) -> Option<&str>
pub fn compliance_type(&self) -> Option<&str>
The compliance type.
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
The resource type.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The resource ID.
sourcepub fn status(&self) -> Option<&ComplianceStatus>
pub fn status(&self) -> Option<&ComplianceStatus>
The compliance status for the resource.
sourcepub fn overall_severity(&self) -> Option<&ComplianceSeverity>
pub fn overall_severity(&self) -> Option<&ComplianceSeverity>
The highest severity item found for the resource. The resource is compliant for this item.
sourcepub fn execution_summary(&self) -> Option<&ComplianceExecutionSummary>
pub fn execution_summary(&self) -> Option<&ComplianceExecutionSummary>
Information about the execution.
sourcepub fn compliant_summary(&self) -> Option<&CompliantSummary>
pub fn compliant_summary(&self) -> Option<&CompliantSummary>
A list of items that are compliant for the resource.
sourcepub fn non_compliant_summary(&self) -> Option<&NonCompliantSummary>
pub fn non_compliant_summary(&self) -> Option<&NonCompliantSummary>
A list of items that aren't compliant for the resource.
source§impl ResourceComplianceSummaryItem
impl ResourceComplianceSummaryItem
sourcepub fn builder() -> ResourceComplianceSummaryItemBuilder
pub fn builder() -> ResourceComplianceSummaryItemBuilder
Creates a new builder-style object to manufacture ResourceComplianceSummaryItem
.
Trait Implementations§
source§impl Clone for ResourceComplianceSummaryItem
impl Clone for ResourceComplianceSummaryItem
source§fn clone(&self) -> ResourceComplianceSummaryItem
fn clone(&self) -> ResourceComplianceSummaryItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ResourceComplianceSummaryItem
impl PartialEq for ResourceComplianceSummaryItem
source§fn eq(&self, other: &ResourceComplianceSummaryItem) -> bool
fn eq(&self, other: &ResourceComplianceSummaryItem) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceComplianceSummaryItem
Auto Trait Implementations§
impl Freeze for ResourceComplianceSummaryItem
impl RefUnwindSafe for ResourceComplianceSummaryItem
impl Send for ResourceComplianceSummaryItem
impl Sync for ResourceComplianceSummaryItem
impl Unpin for ResourceComplianceSummaryItem
impl UnwindSafe for ResourceComplianceSummaryItem
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