#[non_exhaustive]pub struct ImageScanFindingAggregation {
pub account_aggregation: Option<AccountAggregation>,
pub image_aggregation: Option<ImageAggregation>,
pub image_pipeline_aggregation: Option<ImagePipelineAggregation>,
pub vulnerability_id_aggregation: Option<VulnerabilityIdAggregation>,
}Expand description
This returns exactly one type of aggregation, based on the filter that Image Builder applies in its API action.
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.account_aggregation: Option<AccountAggregation>Returns an object that contains severity counts based on an account ID.
image_aggregation: Option<ImageAggregation>Returns an object that contains severity counts based on the Amazon Resource Name (ARN) for a specific image.
image_pipeline_aggregation: Option<ImagePipelineAggregation>Returns an object that contains severity counts based on an image pipeline ARN.
vulnerability_id_aggregation: Option<VulnerabilityIdAggregation>Returns an object that contains severity counts based on vulnerability ID.
Implementations§
source§impl ImageScanFindingAggregation
impl ImageScanFindingAggregation
sourcepub fn account_aggregation(&self) -> Option<&AccountAggregation>
pub fn account_aggregation(&self) -> Option<&AccountAggregation>
Returns an object that contains severity counts based on an account ID.
sourcepub fn image_aggregation(&self) -> Option<&ImageAggregation>
pub fn image_aggregation(&self) -> Option<&ImageAggregation>
Returns an object that contains severity counts based on the Amazon Resource Name (ARN) for a specific image.
sourcepub fn image_pipeline_aggregation(&self) -> Option<&ImagePipelineAggregation>
pub fn image_pipeline_aggregation(&self) -> Option<&ImagePipelineAggregation>
Returns an object that contains severity counts based on an image pipeline ARN.
sourcepub fn vulnerability_id_aggregation(
&self
) -> Option<&VulnerabilityIdAggregation>
pub fn vulnerability_id_aggregation( &self ) -> Option<&VulnerabilityIdAggregation>
Returns an object that contains severity counts based on vulnerability ID.
source§impl ImageScanFindingAggregation
impl ImageScanFindingAggregation
sourcepub fn builder() -> ImageScanFindingAggregationBuilder
pub fn builder() -> ImageScanFindingAggregationBuilder
Creates a new builder-style object to manufacture ImageScanFindingAggregation.
Trait Implementations§
source§impl Clone for ImageScanFindingAggregation
impl Clone for ImageScanFindingAggregation
source§fn clone(&self) -> ImageScanFindingAggregation
fn clone(&self) -> ImageScanFindingAggregation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ImageScanFindingAggregation
impl Debug for ImageScanFindingAggregation
source§impl PartialEq for ImageScanFindingAggregation
impl PartialEq for ImageScanFindingAggregation
source§fn eq(&self, other: &ImageScanFindingAggregation) -> bool
fn eq(&self, other: &ImageScanFindingAggregation) -> bool
self and other values to be equal, and is used
by ==.