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

Description

 
Synopsis

Documentation

data SNSTopicPublishAction Source #

Information required to publish the Amazon SNS message.

See: newSNSTopicPublishAction smart constructor.

Constructors

SNSTopicPublishAction' 

Fields

  • payload :: Maybe Payload

    You can configure the action payload when you send a message as an Amazon SNS push notification.

  • targetArn :: Text

    The ARN of the Amazon SNS target where the message is sent.

Instances

Instances details
Eq SNSTopicPublishAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.SNSTopicPublishAction

Read SNSTopicPublishAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.SNSTopicPublishAction

Show SNSTopicPublishAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.SNSTopicPublishAction

Generic SNSTopicPublishAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.SNSTopicPublishAction

Associated Types

type Rep SNSTopicPublishAction :: Type -> Type #

NFData SNSTopicPublishAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.SNSTopicPublishAction

Methods

rnf :: SNSTopicPublishAction -> () #

Hashable SNSTopicPublishAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.SNSTopicPublishAction

ToJSON SNSTopicPublishAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.SNSTopicPublishAction

FromJSON SNSTopicPublishAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.SNSTopicPublishAction

type Rep SNSTopicPublishAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.SNSTopicPublishAction

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

newSNSTopicPublishAction Source #

Create a value of SNSTopicPublishAction 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:SNSTopicPublishAction', sNSTopicPublishAction_payload - You can configure the action payload when you send a message as an Amazon SNS push notification.

$sel:targetArn:SNSTopicPublishAction', sNSTopicPublishAction_targetArn - The ARN of the Amazon SNS target where the message is sent.

sNSTopicPublishAction_payload :: Lens' SNSTopicPublishAction (Maybe Payload) Source #

You can configure the action payload when you send a message as an Amazon SNS push notification.

sNSTopicPublishAction_targetArn :: Lens' SNSTopicPublishAction Text Source #

The ARN of the Amazon SNS target where the message is sent.