| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoTEvents.Types.IotTopicPublishAction
Description
Synopsis
Documentation
data IotTopicPublishAction Source #
Information required to publish the MQTT message through the AWS IoT message broker.
See: newIotTopicPublishAction smart constructor.
Constructors
| IotTopicPublishAction' | |
Fields
| |
Instances
newIotTopicPublishAction Source #
Create a value of IotTopicPublishAction with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:payload:IotTopicPublishAction', iotTopicPublishAction_payload - You can configure the action payload when you publish a message to an
AWS IoT Core topic.
$sel:mqttTopic:IotTopicPublishAction', iotTopicPublishAction_mqttTopic - The MQTT topic of the message. You can use a string expression that
includes variables ($variable.<variable-name>) and input values
($input.<input-name>.<path-to-datum>) as the topic string.
iotTopicPublishAction_payload :: Lens' IotTopicPublishAction (Maybe Payload) Source #
You can configure the action payload when you publish a message to an AWS IoT Core topic.
iotTopicPublishAction_mqttTopic :: Lens' IotTopicPublishAction Text Source #
The MQTT topic of the message. You can use a string expression that
includes variables ($variable.<variable-name>) and input values
($input.<input-name>.<path-to-datum>) as the topic string.