AWSIoTCreateTopicRuleRequest

Objective-C

@interface AWSIoTCreateTopicRuleRequest

Swift

class AWSIoTCreateTopicRuleRequest

The input for the CreateTopicRule operation.

Required parameters: [ruleName, topicRulePayload]

  • The name of the rule.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable ruleName;

    Swift

    var ruleName: String? { get set }
  • 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…”

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable tags;

    Swift

    var tags: String? { get set }
  • The rule payload.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSIoTTopicRulePayload *_Nullable topicRulePayload;

    Swift

    var topicRulePayload: AWSIoTTopicRulePayload? { get set }