Struct aws_sdk_securityhub::client::fluent_builders::GetInsights [−][src]
pub struct GetInsights<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to GetInsights
.
Lists and describes insights for the specified insight ARNs.
Implementations
impl<C, M, R> GetInsights<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetInsights<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<GetInsightsOutput, SdkError<GetInsightsError>> where
R::Policy: SmithyRetryPolicy<GetInsightsInputOperationOutputAlias, GetInsightsOutput, GetInsightsError, GetInsightsInputOperationRetryAlias>,
pub async fn send(self) -> Result<GetInsightsOutput, SdkError<GetInsightsError>> where
R::Policy: SmithyRetryPolicy<GetInsightsInputOperationOutputAlias, GetInsightsOutput, GetInsightsError, GetInsightsInputOperationRetryAlias>,
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.
Appends an item to InsightArns
.
To override the contents of this collection use set_insight_arns
.
The ARNs of the insights to describe. If you do not provide any insight ARNs, then
GetInsights
returns all of your custom insights. It does not return any
managed insights.
The ARNs of the insights to describe. If you do not provide any insight ARNs, then
GetInsights
returns all of your custom insights. It does not return any
managed insights.
The token that is required for pagination. On your first call to the
GetInsights
operation, set the value of this parameter to
NULL
.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
The token that is required for pagination. On your first call to the
GetInsights
operation, set the value of this parameter to
NULL
.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
The maximum number of items to return in the response.
The maximum number of items to return in the response.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for GetInsights<C, M, R>
impl<C, M, R> Unpin for GetInsights<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for GetInsights<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