libZSservicesZSamazonka-ioteventsZSamazonka-iotevents
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • payload :: Maybe Payload

    You can configure the action payload when you publish a message to an AWS IoT Core topic.

  • mqttTopic :: Text

    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.

Instances

Instances details
Eq IotTopicPublishAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.IotTopicPublishAction

Read IotTopicPublishAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.IotTopicPublishAction

Show IotTopicPublishAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.IotTopicPublishAction

Generic IotTopicPublishAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.IotTopicPublishAction

Associated Types

type Rep IotTopicPublishAction :: Type -> Type #

NFData IotTopicPublishAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.IotTopicPublishAction

Methods

rnf :: IotTopicPublishAction -> () #

Hashable IotTopicPublishAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.IotTopicPublishAction

ToJSON IotTopicPublishAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.IotTopicPublishAction

FromJSON IotTopicPublishAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.IotTopicPublishAction

type Rep IotTopicPublishAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.IotTopicPublishAction

type Rep IotTopicPublishAction = D1 ('MetaData "IotTopicPublishAction" "Amazonka.IoTEvents.Types.IotTopicPublishAction" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" 'False) (C1 ('MetaCons "IotTopicPublishAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Payload)) :*: S1 ('MetaSel ('Just "mqttTopic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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.