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.IotEventsAction

Description

 
Synopsis

Documentation

data IotEventsAction Source #

Sends an AWS IoT Events input, passing in information about the detector model instance and the event that triggered the action.

See: newIotEventsAction smart constructor.

Constructors

IotEventsAction' 

Fields

  • payload :: Maybe Payload

    You can configure the action payload when you send a message to an AWS IoT Events input.

  • inputName :: Text

    The name of the AWS IoT Events input where the data is sent.

Instances

Instances details
Eq IotEventsAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.IotEventsAction

Read IotEventsAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.IotEventsAction

Show IotEventsAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.IotEventsAction

Generic IotEventsAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.IotEventsAction

Associated Types

type Rep IotEventsAction :: Type -> Type #

NFData IotEventsAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.IotEventsAction

Methods

rnf :: IotEventsAction -> () #

Hashable IotEventsAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.IotEventsAction

ToJSON IotEventsAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.IotEventsAction

FromJSON IotEventsAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.IotEventsAction

type Rep IotEventsAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.IotEventsAction

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

newIotEventsAction Source #

Create a value of IotEventsAction 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:IotEventsAction', iotEventsAction_payload - You can configure the action payload when you send a message to an AWS IoT Events input.

$sel:inputName:IotEventsAction', iotEventsAction_inputName - The name of the AWS IoT Events input where the data is sent.

iotEventsAction_payload :: Lens' IotEventsAction (Maybe Payload) Source #

You can configure the action payload when you send a message to an AWS IoT Events input.

iotEventsAction_inputName :: Lens' IotEventsAction Text Source #

The name of the AWS IoT Events input where the data is sent.