Struct aws_sdk_imagebuilder::operation::list_image_scan_finding_aggregations::ListImageScanFindingAggregationsOutput
source · #[non_exhaustive]pub struct ListImageScanFindingAggregationsOutput {
pub request_id: Option<String>,
pub aggregation_type: Option<String>,
pub responses: Option<Vec<ImageScanFindingAggregation>>,
pub next_token: Option<String>,
/* private fields */
}
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.request_id: Option<String>
The request ID that uniquely identifies this request.
aggregation_type: Option<String>
The aggregation type specifies what type of key is used to group the image scan findings. Image Builder returns results based on the request filter. If you didn't specify a filter in the request, the type defaults to accountId
.
Aggregation types
-
accountId
-
imageBuildVersionArn
-
imagePipelineArn
-
vulnerabilityId
Each aggregation includes counts by severity level for medium severity and higher level findings, plus a total for all of the findings for each key value.
responses: Option<Vec<ImageScanFindingAggregation>>
An array of image scan finding aggregations that match the filter criteria.
next_token: Option<String>
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
Implementations§
source§impl ListImageScanFindingAggregationsOutput
impl ListImageScanFindingAggregationsOutput
sourcepub fn request_id(&self) -> Option<&str>
pub fn request_id(&self) -> Option<&str>
The request ID that uniquely identifies this request.
sourcepub fn aggregation_type(&self) -> Option<&str>
pub fn aggregation_type(&self) -> Option<&str>
The aggregation type specifies what type of key is used to group the image scan findings. Image Builder returns results based on the request filter. If you didn't specify a filter in the request, the type defaults to accountId
.
Aggregation types
-
accountId
-
imageBuildVersionArn
-
imagePipelineArn
-
vulnerabilityId
Each aggregation includes counts by severity level for medium severity and higher level findings, plus a total for all of the findings for each key value.
sourcepub fn responses(&self) -> &[ImageScanFindingAggregation]
pub fn responses(&self) -> &[ImageScanFindingAggregation]
An array of image scan finding aggregations that match the filter criteria.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .responses.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
source§impl ListImageScanFindingAggregationsOutput
impl ListImageScanFindingAggregationsOutput
sourcepub fn builder() -> ListImageScanFindingAggregationsOutputBuilder
pub fn builder() -> ListImageScanFindingAggregationsOutputBuilder
Creates a new builder-style object to manufacture ListImageScanFindingAggregationsOutput
.
Trait Implementations§
source§impl Clone for ListImageScanFindingAggregationsOutput
impl Clone for ListImageScanFindingAggregationsOutput
source§fn clone(&self) -> ListImageScanFindingAggregationsOutput
fn clone(&self) -> ListImageScanFindingAggregationsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ListImageScanFindingAggregationsOutput
impl PartialEq for ListImageScanFindingAggregationsOutput
source§fn eq(&self, other: &ListImageScanFindingAggregationsOutput) -> bool
fn eq(&self, other: &ListImageScanFindingAggregationsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListImageScanFindingAggregationsOutput
impl RequestId for ListImageScanFindingAggregationsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.