[][src]Struct rusoto_cloudwatch::PutInsightRuleInput

pub struct PutInsightRuleInput {
    pub rule_definition: String,
    pub rule_name: String,
    pub rule_state: Option<String>,
    pub tags: Option<Vec<Tag>>,
}

Fields

rule_definition: String

The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.

rule_name: String

A unique name for the rule.

rule_state: Option<String>

The state of the rule. Valid values are ENABLED and DISABLED.

tags: Option<Vec<Tag>>

A list of key-value pairs to associate with the Contributor Insights rule. You can associate as many as 50 tags with a rule.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.

To be able to associate tags with a rule, you must have the cloudwatch:TagResource permission in addition to the cloudwatch:PutInsightRule permission.

If you are using this operation to update an existing Contributor Insights rule, any tags you specify in this parameter are ignored. To change the tags of an existing rule, use TagResource.

Trait Implementations

impl Clone for PutInsightRuleInput[src]

impl Debug for PutInsightRuleInput[src]

impl Default for PutInsightRuleInput[src]

impl PartialEq<PutInsightRuleInput> for PutInsightRuleInput[src]

impl StructuralPartialEq for PutInsightRuleInput[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.