AWSIoTDataPublishRequest
Objective-C
@interface AWSIoTDataPublishRequest
Swift
class AWSIoTDataPublishRequest
The input for the Publish operation.
Required parameters: [topic]
-
The state information, in JSON format.
Declaration
Objective-C
@property (nonatomic, strong) id _Nullable payload;
Swift
var payload: Any? { get set }
-
The Quality of Service (QoS) level.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable qos;
Swift
var qos: NSNumber? { get set }
-
The name of the MQTT topic.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable topic;
Swift
var topic: String? { get set }