AWSIoTIotEventsAction
Objective-C
@interface AWSIoTIotEventsAction
Swift
class AWSIoTIotEventsAction
Sends an input to an IoT Events detector.
Required parameters: [inputName, roleArn]
-
Whether to process the event actions as a batch. The default value is
false.When
batchModeistrue, you can’t specify amessageId.When
batchModeistrueand the rule SQL statement evaluates to an Array, each Array element is treated as a separate message when it’s sent to IoT Events by callingBatchPutMessage. The resulting array can’t have more than 10 messages.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable batchMode;Swift
var batchMode: NSNumber? { get set } -
The name of the IoT Events input.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable inputName;Swift
var inputName: String? { get set } -
The ID of the message. The default
messageIdis a new UUID value.When
batchModeistrue, you can’t specify amessageId–a new UUID value will be assigned.Assign a value to this property to ensure that only one input (message) with a given
messageIdwill be processed by an IoT Events detector.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable messageId;Swift
var messageId: String? { get set } -
The ARN of the role that grants IoT permission to send an input to an IoT Events detector. (“Action”:“iotevents:BatchPutMessage”).
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable roleArn;Swift
var roleArn: String? { get set }
View on GitHub
Install in Dash
AWSIoTIotEventsAction Class Reference