Struct aws_sdk_securityhub::input::CreateInsightInput
source · [−]#[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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateInsight, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateInsight, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateInsight
>
Creates a new builder-style object to manufacture CreateInsightInput
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.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateInsightInput
impl Send for CreateInsightInput
impl Sync for CreateInsightInput
impl Unpin for CreateInsightInput
impl UnwindSafe for CreateInsightInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more