#[non_exhaustive]pub struct GetFindingStatisticsInput {
pub finding_criteria: Option<FindingCriteria>,
pub group_by: Option<GroupBy>,
pub size: Option<i32>,
pub sort_criteria: Option<FindingStatisticsSortCriteria>,
}
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.finding_criteria: Option<FindingCriteria>
The criteria to use to filter the query results.
group_by: Option<GroupBy>
The finding property to use to group the query results. Valid values are:
-
classificationDetails.jobId - The unique identifier for the classification job that produced the finding.
-
resourcesAffected.s3Bucket.name - The name of the S3 bucket that the finding applies to.
-
severity.description - The severity level of the finding, such as High or Medium.
-
type - The type of finding, such as Policy:IAMUser/S3BucketPublic and SensitiveData:S3Object/Personal.
size: Option<i32>
The maximum number of items to include in each page of the response.
sort_criteria: Option<FindingStatisticsSortCriteria>
The criteria to use to sort the query results.
Implementations§
source§impl GetFindingStatisticsInput
impl GetFindingStatisticsInput
sourcepub fn finding_criteria(&self) -> Option<&FindingCriteria>
pub fn finding_criteria(&self) -> Option<&FindingCriteria>
The criteria to use to filter the query results.
sourcepub fn group_by(&self) -> Option<&GroupBy>
pub fn group_by(&self) -> Option<&GroupBy>
The finding property to use to group the query results. Valid values are:
-
classificationDetails.jobId - The unique identifier for the classification job that produced the finding.
-
resourcesAffected.s3Bucket.name - The name of the S3 bucket that the finding applies to.
-
severity.description - The severity level of the finding, such as High or Medium.
-
type - The type of finding, such as Policy:IAMUser/S3BucketPublic and SensitiveData:S3Object/Personal.
sourcepub fn size(&self) -> Option<i32>
pub fn size(&self) -> Option<i32>
The maximum number of items to include in each page of the response.
sourcepub fn sort_criteria(&self) -> Option<&FindingStatisticsSortCriteria>
pub fn sort_criteria(&self) -> Option<&FindingStatisticsSortCriteria>
The criteria to use to sort the query results.
source§impl GetFindingStatisticsInput
impl GetFindingStatisticsInput
sourcepub fn builder() -> GetFindingStatisticsInputBuilder
pub fn builder() -> GetFindingStatisticsInputBuilder
Creates a new builder-style object to manufacture GetFindingStatisticsInput
.
Trait Implementations§
source§impl Clone for GetFindingStatisticsInput
impl Clone for GetFindingStatisticsInput
source§fn clone(&self) -> GetFindingStatisticsInput
fn clone(&self) -> GetFindingStatisticsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetFindingStatisticsInput
impl Debug for GetFindingStatisticsInput
source§impl PartialEq for GetFindingStatisticsInput
impl PartialEq for GetFindingStatisticsInput
source§fn eq(&self, other: &GetFindingStatisticsInput) -> bool
fn eq(&self, other: &GetFindingStatisticsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetFindingStatisticsInput
Auto Trait Implementations§
impl Freeze for GetFindingStatisticsInput
impl RefUnwindSafe for GetFindingStatisticsInput
impl Send for GetFindingStatisticsInput
impl Sync for GetFindingStatisticsInput
impl Unpin for GetFindingStatisticsInput
impl UnwindSafe for GetFindingStatisticsInput
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> 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