You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoTDataPlane::Types::PublishRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTDataPlane::Types::PublishRequest
- Defined in:
- (unknown)
Overview
Note:
When passing PublishRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
topic: "Topic", # required
qos: 1,
payload: "data",
}
The input for the Publish operation.
Instance Attribute Summary collapse
-
#payload ⇒ String
The state information, in JSON format.
-
#qos ⇒ Integer
The Quality of Service (QoS) level.
-
#topic ⇒ String
The name of the MQTT topic.
Instance Attribute Details
#payload ⇒ String
The state information, in JSON format.
#qos ⇒ Integer
The Quality of Service (QoS) level.
#topic ⇒ String
The name of the MQTT topic.