Struct aws_sdk_iot::input::CreateTopicRuleInput [−][src]
#[non_exhaustive]pub struct CreateTopicRuleInput {
pub rule_name: Option<String>,
pub topic_rule_payload: Option<TopicRulePayload>,
pub tags: Option<String>,
}
Expand description
The input for the CreateTopicRule operation.
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.rule_name: Option<String>
The name of the rule.
topic_rule_payload: Option<TopicRulePayload>
The rule payload.
Metadata which can be used to manage the topic rule.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: --tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateTopicRule, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateTopicRule, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateTopicRule
>
Creates a new builder-style object to manufacture CreateTopicRuleInput
The rule payload.
Metadata which can be used to manage the topic rule.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: --tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
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 CreateTopicRuleInput
impl Send for CreateTopicRuleInput
impl Sync for CreateTopicRuleInput
impl Unpin for CreateTopicRuleInput
impl UnwindSafe for CreateTopicRuleInput
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