Struct rusoto_cloudtrail::AdvancedEventSelector [−][src]
pub struct AdvancedEventSelector { pub field_selectors: Vec<AdvancedFieldSelector>, pub name: Option<String>, }
Expand description
Advanced event selectors let you create fine-grained selectors for the following AWS CloudTrail event record fields. They help you control costs by logging only those events that are important to you. For more information about advanced event selectors, see Logging data events for trails in the AWS CloudTrail User Guide.
-
readOnly
-
eventSource
-
eventName
-
eventCategory
-
resources.type
-
resources.ARN
You cannot apply both event selectors and advanced event selectors to a trail.
Fields
field_selectors: Vec<AdvancedFieldSelector>
Contains all selector statements in an advanced event selector.
name: Option<String>
An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AdvancedEventSelector
impl Send for AdvancedEventSelector
impl Sync for AdvancedEventSelector
impl Unpin for AdvancedEventSelector
impl UnwindSafe for AdvancedEventSelector
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self