#[non_exhaustive]pub struct CreateInsightInput {
pub name: Option<String>,
pub filters: Option<AwsSecurityFindingFilters>,
pub group_by_attribute: Option<String>,
}
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.name: Option<String>
The name of the custom insight to create.
filters: Option<AwsSecurityFindingFilters>
One or more attributes used to filter the findings included in the insight. The insight only includes findings that match the criteria defined in the filters.
group_by_attribute: Option<String>
The attribute used to group the findings for the insight. The grouping attribute identifies the type of item that the insight applies to. For example, if an insight is grouped by resource identifier, then the insight produces a list of resource identifiers.
Implementations§
source§impl CreateInsightInput
impl CreateInsightInput
sourcepub fn filters(&self) -> Option<&AwsSecurityFindingFilters>
pub fn filters(&self) -> Option<&AwsSecurityFindingFilters>
One or more attributes used to filter the findings included in the insight. The insight only includes findings that match the criteria defined in the filters.
sourcepub fn group_by_attribute(&self) -> Option<&str>
pub fn group_by_attribute(&self) -> Option<&str>
The attribute used to group the findings for the insight. The grouping attribute identifies the type of item that the insight applies to. For example, if an insight is grouped by resource identifier, then the insight produces a list of resource identifiers.
source§impl CreateInsightInput
impl CreateInsightInput
sourcepub fn builder() -> CreateInsightInputBuilder
pub fn builder() -> CreateInsightInputBuilder
Creates a new builder-style object to manufacture CreateInsightInput
.
Trait Implementations§
source§impl Clone for CreateInsightInput
impl Clone for CreateInsightInput
source§fn clone(&self) -> CreateInsightInput
fn clone(&self) -> CreateInsightInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateInsightInput
impl Debug for CreateInsightInput
source§impl PartialEq for CreateInsightInput
impl PartialEq for CreateInsightInput
source§fn eq(&self, other: &CreateInsightInput) -> bool
fn eq(&self, other: &CreateInsightInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateInsightInput
Auto Trait Implementations§
impl Freeze for CreateInsightInput
impl RefUnwindSafe for CreateInsightInput
impl Send for CreateInsightInput
impl Sync for CreateInsightInput
impl Unpin for CreateInsightInput
impl UnwindSafe for CreateInsightInput
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