AWSIoTTopicRulePayload

Objective-C

@interface AWSIoTTopicRulePayload

Swift

class AWSIoTTopicRulePayload

Describes a rule.

Required parameters: [sql, actions]

  • The actions associated with the rule.

    Declaration

    Objective-C

    @property (nonatomic, strong) 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 (nonatomic, strong) NSString *_Nullable awsIotSqlVersion;

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var ruleDisabled: NSNumber? { get set }
  • sql

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

    Declaration

    Objective-C

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

    Swift

    var sql: String? { get set }