#[non_exhaustive]pub struct GetInsightSelectorsOutput {
pub trail_arn: Option<String>,
pub insight_selectors: Option<Vec<InsightSelector>>,
pub event_data_store_arn: Option<String>,
pub insights_destination: Option<String>,
/* private fields */
}
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.trail_arn: Option<String>
The Amazon Resource Name (ARN) of a trail for which you want to get Insights selectors.
insight_selectors: Option<Vec<InsightSelector>>
A JSON string that contains the Insight types you want to log on a trail or event data store. ApiErrorRateInsight
and ApiCallRateInsight
are supported as Insights types.
event_data_store_arn: Option<String>
The ARN of the source event data store that enabled Insights events.
insights_destination: Option<String>
The ARN of the destination event data store that logs Insights events.
Implementations§
source§impl GetInsightSelectorsOutput
impl GetInsightSelectorsOutput
sourcepub fn trail_arn(&self) -> Option<&str>
pub fn trail_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of a trail for which you want to get Insights selectors.
sourcepub fn insight_selectors(&self) -> &[InsightSelector]
pub fn insight_selectors(&self) -> &[InsightSelector]
A JSON string that contains the Insight types you want to log on a trail or event data store. ApiErrorRateInsight
and ApiCallRateInsight
are supported as Insights types.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .insight_selectors.is_none()
.
sourcepub fn event_data_store_arn(&self) -> Option<&str>
pub fn event_data_store_arn(&self) -> Option<&str>
The ARN of the source event data store that enabled Insights events.
sourcepub fn insights_destination(&self) -> Option<&str>
pub fn insights_destination(&self) -> Option<&str>
The ARN of the destination event data store that logs Insights events.
source§impl GetInsightSelectorsOutput
impl GetInsightSelectorsOutput
sourcepub fn builder() -> GetInsightSelectorsOutputBuilder
pub fn builder() -> GetInsightSelectorsOutputBuilder
Creates a new builder-style object to manufacture GetInsightSelectorsOutput
.
Trait Implementations§
source§impl Clone for GetInsightSelectorsOutput
impl Clone for GetInsightSelectorsOutput
source§fn clone(&self) -> GetInsightSelectorsOutput
fn clone(&self) -> GetInsightSelectorsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetInsightSelectorsOutput
impl Debug for GetInsightSelectorsOutput
source§impl PartialEq for GetInsightSelectorsOutput
impl PartialEq for GetInsightSelectorsOutput
source§fn eq(&self, other: &GetInsightSelectorsOutput) -> bool
fn eq(&self, other: &GetInsightSelectorsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetInsightSelectorsOutput
impl RequestId for GetInsightSelectorsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetInsightSelectorsOutput
Auto Trait Implementations§
impl Freeze for GetInsightSelectorsOutput
impl RefUnwindSafe for GetInsightSelectorsOutput
impl Send for GetInsightSelectorsOutput
impl Sync for GetInsightSelectorsOutput
impl Unpin for GetInsightSelectorsOutput
impl UnwindSafe for GetInsightSelectorsOutput
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