AWSIoTTopicRule
Objective-C
@interface AWSIoTTopicRule
Swift
class AWSIoTTopicRule
Describes a rule.
-
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 date and time the rule was created.
Declaration
Objective-C
@property (nonatomic, strong) NSDate *_Nullable createdAt;
Swift
var createdAt: Date? { 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 perform 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 }
-
The name of the rule.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable ruleName;
Swift
var ruleName: String? { get set }
-
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 (nonatomic, strong) NSString *_Nullable sql;
Swift
var sql: String? { get set }