Struct aws_sdk_devopsguru::client::fluent_builders::SearchInsights [−][src]
pub struct SearchInsights<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to SearchInsights
.
Returns a list of insights in your AWS account. You can specify which insights are returned by their start time, one or more statuses
(ONGOING
, CLOSED
, and CLOSED
), one or more severities (LOW
, MEDIUM
,
and HIGH
), and type (REACTIVE
or PROACTIVE
).
Use the Filters
parameter to specify status and severity
search parameters. Use the Type
parameter to specify REACTIVE
or PROACTIVE
in your search.
Implementations
impl<C, M, R> SearchInsights<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> SearchInsights<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<SearchInsightsOutput, SdkError<SearchInsightsError>> where
R::Policy: SmithyRetryPolicy<SearchInsightsInputOperationOutputAlias, SearchInsightsOutput, SearchInsightsError, SearchInsightsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<SearchInsightsOutput, SdkError<SearchInsightsError>> where
R::Policy: SmithyRetryPolicy<SearchInsightsInputOperationOutputAlias, SearchInsightsOutput, SearchInsightsError, SearchInsightsInputOperationRetryAlias>,
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.
The start of the time range passed in. Returned insights occurred after this time.
The start of the time range passed in. Returned insights occurred after this time.
A SearchInsightsFilters
object that is used to set the severity and status filters on your insight search.
A SearchInsightsFilters
object that is used to set the severity and status filters on your insight search.
The maximum number of results to return with a single call.
To retrieve the remaining results, make another call with the returned nextToken
value.
The maximum number of results to return with a single call.
To retrieve the remaining results, make another call with the returned nextToken
value.
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
The type of insights you are searching for (REACTIVE
or PROACTIVE
).
The type of insights you are searching for (REACTIVE
or PROACTIVE
).
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for SearchInsights<C, M, R>
impl<C, M, R> Send for SearchInsights<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for SearchInsights<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for SearchInsights<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for SearchInsights<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