Skip to content

CreateTopicRuleRequest

Source code in docs_src/capo_iot/types/create_topic_rule_request.py
class CreateTopicRuleRequest(TypedDict, closed=True):
    rule_name: "capo_iot.types.rule_name.RuleName"
    """<p>The name of the rule.</p>"""
    topic_rule_payload: "capo_iot.types.topic_rule_payload.TopicRulePayload"
    """<p>The rule payload.</p>"""
    tags: NotRequired["capo_iot.types.string.String"]
    """<p>Metadata which can be used to manage the topic rule.</p> <note> <p>For URI Request parameters use format: ...key1=value1&key2=value2...</p> <p>For the CLI command-line parameter use format: --tags "key1=value1&key2=value2..."</p> <p>For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."</p> </note>"""

rule_name instance-attribute

rule_name: RuleName

The name of the rule.

tags instance-attribute

tags: NotRequired[String]

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..."

topic_rule_payload instance-attribute

topic_rule_payload: TopicRulePayload

The rule payload.