Struct aws_sdk_iot::types::TopicRule
source · #[non_exhaustive]pub struct TopicRule { /* private fields */ }
Expand description
Describes a rule.
Implementations§
source§impl TopicRule
impl TopicRule
sourcepub fn sql(&self) -> Option<&str>
pub fn sql(&self) -> Option<&str>
The SQL statement used to query the topic. When using a SQL query with multiple lines, be sure to escape the newline characters.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the rule.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time the rule was created.
sourcepub fn rule_disabled(&self) -> Option<bool>
pub fn rule_disabled(&self) -> Option<bool>
Specifies whether the rule is disabled.
sourcepub fn aws_iot_sql_version(&self) -> Option<&str>
pub fn aws_iot_sql_version(&self) -> Option<&str>
The version of the SQL rules engine to use when evaluating the rule.
sourcepub fn error_action(&self) -> Option<&Action>
pub fn error_action(&self) -> Option<&Action>
The action to perform when an error occurs.