#[non_exhaustive]pub struct SearchInsightsInput {
pub start_time_range: Option<StartTimeRange>,
pub filters: Option<SearchInsightsFilters>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub type: Option<InsightType>,
}
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.start_time_range: Option<StartTimeRange>
The start of the time range passed in. Returned insights occurred after this time.
filters: Option<SearchInsightsFilters>
A SearchInsightsFilters
object that is used to set the severity and status filters on your insight search.
max_results: Option<i32>
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
next_token: Option<String>
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.
type: Option<InsightType>
The type of insights you are searching for (REACTIVE
or PROACTIVE
).
Implementations§
source§impl SearchInsightsInput
impl SearchInsightsInput
sourcepub fn start_time_range(&self) -> Option<&StartTimeRange>
pub fn start_time_range(&self) -> Option<&StartTimeRange>
The start of the time range passed in. Returned insights occurred after this time.
sourcepub fn filters(&self) -> Option<&SearchInsightsFilters>
pub fn filters(&self) -> Option<&SearchInsightsFilters>
A SearchInsightsFilters
object that is used to set the severity and status filters on your insight search.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
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.
sourcepub fn type(&self) -> Option<&InsightType>
pub fn type(&self) -> Option<&InsightType>
The type of insights you are searching for (REACTIVE
or PROACTIVE
).
source§impl SearchInsightsInput
impl SearchInsightsInput
sourcepub fn builder() -> SearchInsightsInputBuilder
pub fn builder() -> SearchInsightsInputBuilder
Creates a new builder-style object to manufacture SearchInsightsInput
.
Trait Implementations§
source§impl Clone for SearchInsightsInput
impl Clone for SearchInsightsInput
source§fn clone(&self) -> SearchInsightsInput
fn clone(&self) -> SearchInsightsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchInsightsInput
impl Debug for SearchInsightsInput
source§impl PartialEq for SearchInsightsInput
impl PartialEq for SearchInsightsInput
source§fn eq(&self, other: &SearchInsightsInput) -> bool
fn eq(&self, other: &SearchInsightsInput) -> bool
self
and other
values to be equal, and is used
by ==
.