Struct aws_sdk_cloudtrail::input::PutInsightSelectorsInput
source · [−]#[non_exhaustive]pub struct PutInsightSelectorsInput {
pub trail_name: Option<String>,
pub insight_selectors: Option<Vec<InsightSelector>>,
}
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_name: Option<String>
The name of the CloudTrail trail for which you want to change or add Insights selectors.
insight_selectors: Option<Vec<InsightSelector>>
A JSON string that contains the insight types you want to log on a trail. ApiCallRateInsight
and ApiErrorRateInsight
are valid insight types.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutInsightSelectors, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutInsightSelectors, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutInsightSelectors
>
Creates a new builder-style object to manufacture PutInsightSelectorsInput
The name of the CloudTrail trail for which you want to change or add Insights selectors.
A JSON string that contains the insight types you want to log on a trail. ApiCallRateInsight
and ApiErrorRateInsight
are valid insight types.
Trait Implementations
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 PutInsightSelectorsInput
impl Send for PutInsightSelectorsInput
impl Sync for PutInsightSelectorsInput
impl Unpin for PutInsightSelectorsInput
impl UnwindSafe for PutInsightSelectorsInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more