Struct aws_sdk_securityhub::client::fluent_builders::CreateInsight
source · [−]pub struct CreateInsight<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateInsight
.
Creates a custom insight in Security Hub. An insight is a consolidation of findings that relate to a security issue that requires attention or remediation.
To group the related findings in the insight, use the GroupByAttribute
.
Implementations
impl<C, M, R> CreateInsight<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateInsight<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateInsightOutput, SdkError<CreateInsightError>> where
R::Policy: SmithyRetryPolicy<CreateInsightInputOperationOutputAlias, CreateInsightOutput, CreateInsightError, CreateInsightInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateInsightOutput, SdkError<CreateInsightError>> where
R::Policy: SmithyRetryPolicy<CreateInsightInputOperationOutputAlias, CreateInsightOutput, CreateInsightError, CreateInsightInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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.
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.
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
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateInsight<C, M, R>
impl<C, M, R> Unpin for CreateInsight<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateInsight<C, M, R>
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