libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email
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.PinpointEmail.Types.SnsDestination

Description

 
Synopsis

Documentation

data SnsDestination Source #

An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.

See: newSnsDestination smart constructor.

Constructors

SnsDestination' 

Fields

  • topicArn :: Text

    The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish email events to. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

Instances

Instances details
Eq SnsDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.SnsDestination

Read SnsDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.SnsDestination

Show SnsDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.SnsDestination

Generic SnsDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.SnsDestination

Associated Types

type Rep SnsDestination :: Type -> Type #

NFData SnsDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.SnsDestination

Methods

rnf :: SnsDestination -> () #

Hashable SnsDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.SnsDestination

ToJSON SnsDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.SnsDestination

FromJSON SnsDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.SnsDestination

type Rep SnsDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.SnsDestination

type Rep SnsDestination = D1 ('MetaData "SnsDestination" "Amazonka.PinpointEmail.Types.SnsDestination" "libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email" 'False) (C1 ('MetaCons "SnsDestination'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSnsDestination Source #

Create a value of SnsDestination 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:topicArn:SnsDestination', snsDestination_topicArn - The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish email events to. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

snsDestination_topicArn :: Lens' SnsDestination Text Source #

The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish email events to. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.