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.impl StructuralPartialEq for ListImageScanFindingAggregationsOutput
Auto Trait Implementations§
impl Freeze for ListImageScanFindingAggregationsOutput
impl RefUnwindSafe for ListImageScanFindingAggregationsOutput
impl Send for ListImageScanFindingAggregationsOutput
impl Sync for ListImageScanFindingAggregationsOutput
impl Unpin for ListImageScanFindingAggregationsOutput
impl UnwindSafe for ListImageScanFindingAggregationsOutput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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