AWSIoTTopicRulePayload

@interface AWSIoTTopicRulePayload

Describes a rule.

Required parameters: [sql, actions]

  • The actions associated with the rule.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSArray<AWSIoTAction *> *_Nullable actions;

    Swift

    var actions: [AWSIoTAction]? { get set }
  • The version of the SQL rules engine to use when evaluating the rule.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable awsIotSqlVersion;

    Swift

    var awsIotSqlVersion: String? { get set }
  • The description of the rule.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable detail;

    Swift

    var detail: String? { get set }
  • The action to take when an error occurs.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) AWSIoTAction *_Nullable errorAction;

    Swift

    var errorAction: AWSIoTAction? { get set }
  • Specifies whether the rule is disabled.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nullable ruleDisabled;

    Swift

    var ruleDisabled: NSNumber? { get set }
  • sql

    The SQL statement used to query the topic. For more information, see AWS IoT SQL Reference in the AWS IoT Developer Guide.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable sql;

    Swift

    var sql: String? { get set }