AWSIoTTopicRule

@interface AWSIoTTopicRule

Describes a rule.

  • 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 date and time the rule was created.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSDate *_Nullable createdAt;

    Swift

    var createdAt: Date? { 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 perform 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 }
  • The name of the rule.

    Declaration

    Objective-C

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

    Swift

    var ruleName: String? { get set }
  • sql

    The SQL statement used to query the topic. When using a SQL query with multiple lines, be sure to escape the newline characters.

    Declaration

    Objective-C

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

    Swift

    var sql: String? { get set }