#[non_exhaustive]pub struct PutInsightSelectorsOutput {
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 change or add Insights selectors.
insight_selectors: Option<Vec<InsightSelector>>
A JSON string that contains the Insights event types that you want to log on a trail or event data store. The valid Insights types are ApiErrorRateInsight
and ApiCallRateInsight
.
event_data_store_arn: Option<String>
The Amazon Resource Name (ARN) of the source event data store for which you want to change or add Insights selectors.
insights_destination: Option<String>
The ARN of the destination event data store that logs Insights events.
Implementations§
source§impl PutInsightSelectorsOutput
impl PutInsightSelectorsOutput
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 change or add Insights selectors.
sourcepub fn insight_selectors(&self) -> &[InsightSelector]
pub fn insight_selectors(&self) -> &[InsightSelector]
A JSON string that contains the Insights event types that you want to log on a trail or event data store. The valid Insights types are ApiErrorRateInsight
and ApiCallRateInsight
.
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 Amazon Resource Name (ARN) of the source event data store for which you want to change or add Insights selectors.
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 PutInsightSelectorsOutput
impl PutInsightSelectorsOutput
sourcepub fn builder() -> PutInsightSelectorsOutputBuilder
pub fn builder() -> PutInsightSelectorsOutputBuilder
Creates a new builder-style object to manufacture PutInsightSelectorsOutput
.
Trait Implementations§
source§impl Clone for PutInsightSelectorsOutput
impl Clone for PutInsightSelectorsOutput
source§fn clone(&self) -> PutInsightSelectorsOutput
fn clone(&self) -> PutInsightSelectorsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutInsightSelectorsOutput
impl Debug for PutInsightSelectorsOutput
source§impl PartialEq for PutInsightSelectorsOutput
impl PartialEq for PutInsightSelectorsOutput
source§fn eq(&self, other: &PutInsightSelectorsOutput) -> bool
fn eq(&self, other: &PutInsightSelectorsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for PutInsightSelectorsOutput
impl RequestId for PutInsightSelectorsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for PutInsightSelectorsOutput
Auto Trait Implementations§
impl Freeze for PutInsightSelectorsOutput
impl RefUnwindSafe for PutInsightSelectorsOutput
impl Send for PutInsightSelectorsOutput
impl Sync for PutInsightSelectorsOutput
impl Unpin for PutInsightSelectorsOutput
impl UnwindSafe for PutInsightSelectorsOutput
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