#[non_exhaustive]pub struct GetInsightSummariesInput {
pub states: Option<Vec<InsightState>>,
pub group_arn: Option<String>,
pub group_name: Option<String>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}
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.states: Option<Vec<InsightState>>
The list of insight states.
group_arn: Option<String>
The Amazon Resource Name (ARN) of the group. Required if the GroupName isn't provided.
group_name: Option<String>
The name of the group. Required if the GroupARN isn't provided.
start_time: Option<DateTime>
The beginning of the time frame in which the insights started. The start time can't be more than 30 days old.
end_time: Option<DateTime>
The end of the time frame in which the insights ended. The end time can't be more than 30 days old.
max_results: Option<i32>
The maximum number of results to display.
next_token: Option<String>
Pagination token.
Implementations§
source§impl GetInsightSummariesInput
impl GetInsightSummariesInput
sourcepub fn states(&self) -> &[InsightState]
pub fn states(&self) -> &[InsightState]
The list of insight states.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .states.is_none()
.
sourcepub fn group_arn(&self) -> Option<&str>
pub fn group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the group. Required if the GroupName isn't provided.
sourcepub fn group_name(&self) -> Option<&str>
pub fn group_name(&self) -> Option<&str>
The name of the group. Required if the GroupARN isn't provided.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The beginning of the time frame in which the insights started. The start time can't be more than 30 days old.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The end of the time frame in which the insights ended. The end time can't be more than 30 days old.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to display.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
Pagination token.
source§impl GetInsightSummariesInput
impl GetInsightSummariesInput
sourcepub fn builder() -> GetInsightSummariesInputBuilder
pub fn builder() -> GetInsightSummariesInputBuilder
Creates a new builder-style object to manufacture GetInsightSummariesInput
.
Trait Implementations§
source§impl Clone for GetInsightSummariesInput
impl Clone for GetInsightSummariesInput
source§fn clone(&self) -> GetInsightSummariesInput
fn clone(&self) -> GetInsightSummariesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetInsightSummariesInput
impl Debug for GetInsightSummariesInput
source§impl PartialEq for GetInsightSummariesInput
impl PartialEq for GetInsightSummariesInput
impl StructuralPartialEq for GetInsightSummariesInput
Auto Trait Implementations§
impl Freeze for GetInsightSummariesInput
impl RefUnwindSafe for GetInsightSummariesInput
impl Send for GetInsightSummariesInput
impl Sync for GetInsightSummariesInput
impl Unpin for GetInsightSummariesInput
impl UnwindSafe for GetInsightSummariesInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more