Struct aws_sdk_cloudtrail::types::InsightSelector
source · #[non_exhaustive]pub struct InsightSelector {
pub insight_type: Option<InsightType>,
}
Expand description
A JSON string that contains a list of Insights types that are logged on a trail or event data store.
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.insight_type: Option<InsightType>
The type of Insights events to log on a trail or event data store. ApiCallRateInsight
and ApiErrorRateInsight
are valid Insight types.
The ApiCallRateInsight
Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume.
The ApiErrorRateInsight
Insights type analyzes management API calls that result in error codes. The error is shown if the API call is unsuccessful.
Implementations§
source§impl InsightSelector
impl InsightSelector
sourcepub fn insight_type(&self) -> Option<&InsightType>
pub fn insight_type(&self) -> Option<&InsightType>
The type of Insights events to log on a trail or event data store. ApiCallRateInsight
and ApiErrorRateInsight
are valid Insight types.
The ApiCallRateInsight
Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume.
The ApiErrorRateInsight
Insights type analyzes management API calls that result in error codes. The error is shown if the API call is unsuccessful.
source§impl InsightSelector
impl InsightSelector
sourcepub fn builder() -> InsightSelectorBuilder
pub fn builder() -> InsightSelectorBuilder
Creates a new builder-style object to manufacture InsightSelector
.
Trait Implementations§
source§impl Clone for InsightSelector
impl Clone for InsightSelector
source§fn clone(&self) -> InsightSelector
fn clone(&self) -> InsightSelector
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InsightSelector
impl Debug for InsightSelector
source§impl PartialEq for InsightSelector
impl PartialEq for InsightSelector
source§fn eq(&self, other: &InsightSelector) -> bool
fn eq(&self, other: &InsightSelector) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InsightSelector
Auto Trait Implementations§
impl Freeze for InsightSelector
impl RefUnwindSafe for InsightSelector
impl Send for InsightSelector
impl Sync for InsightSelector
impl Unpin for InsightSelector
impl UnwindSafe for InsightSelector
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> 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