Struct aws_sdk_iot::model::TopicRulePayload [−][src]
#[non_exhaustive]pub struct TopicRulePayload {
pub sql: Option<String>,
pub description: Option<String>,
pub actions: Option<Vec<Action>>,
pub rule_disabled: Option<bool>,
pub aws_iot_sql_version: Option<String>,
pub error_action: Option<Action>,
}
Expand description
Describes a rule.
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.sql: Option<String>
The SQL statement used to query the topic. For more information, see IoT SQL Reference in the IoT Developer Guide.
description: Option<String>
The description of the rule.
actions: Option<Vec<Action>>
The actions associated with the rule.
rule_disabled: Option<bool>
Specifies whether the rule is disabled.
aws_iot_sql_version: Option<String>
The version of the SQL rules engine to use when evaluating the rule.
error_action: Option<Action>
The action to take when an error occurs.
Implementations
The SQL statement used to query the topic. For more information, see IoT SQL Reference in the IoT Developer Guide.
The description of the rule.
Specifies whether the rule is disabled.
The version of the SQL rules engine to use when evaluating the rule.
The action to take when an error occurs.
Creates a new builder-style object to manufacture TopicRulePayload
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 TopicRulePayload
impl Send for TopicRulePayload
impl Sync for TopicRulePayload
impl Unpin for TopicRulePayload
impl UnwindSafe for TopicRulePayload
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