pub struct SearchOrganizationInsights<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to SearchOrganizationInsights
.
Returns a list of insights in your organization. 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> SearchOrganizationInsights<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> SearchOrganizationInsights<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<SearchOrganizationInsightsOutput, SdkError<SearchOrganizationInsightsError>> where
R::Policy: SmithyRetryPolicy<SearchOrganizationInsightsInputOperationOutputAlias, SearchOrganizationInsightsOutput, SearchOrganizationInsightsError, SearchOrganizationInsightsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<SearchOrganizationInsightsOutput, SdkError<SearchOrganizationInsightsError>> where
R::Policy: SmithyRetryPolicy<SearchOrganizationInsightsInputOperationOutputAlias, SearchOrganizationInsightsOutput, SearchOrganizationInsightsError, SearchOrganizationInsightsInputOperationRetryAlias>,
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.
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
Appends an item to AccountIds
.
To override the contents of this collection use set_account_ids
.
The ID of the Amazon Web Services account.
The ID of the Amazon Web Services account.
A time range used to specify when the behavior of an insight or anomaly started.
A time range used to specify when the behavior of an insight or anomaly started.
A SearchOrganizationInsightsFilters
object that is used to set the severity and status filters on your insight search.
A SearchOrganizationInsightsFilters
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 = DefaultMiddleware, R = Standard> !RefUnwindSafe for SearchOrganizationInsights<C, M, R>
impl<C, M, R> Send for SearchOrganizationInsights<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for SearchOrganizationInsights<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for SearchOrganizationInsights<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for SearchOrganizationInsights<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