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

Description

 
Synopsis

Documentation

data EmailConfiguration Source #

Contains the configuration information of email notifications.

See: newEmailConfiguration smart constructor.

Constructors

EmailConfiguration' 

Fields

Instances

Instances details
Eq EmailConfiguration Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailConfiguration

Read EmailConfiguration Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailConfiguration

Show EmailConfiguration Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailConfiguration

Generic EmailConfiguration Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailConfiguration

Associated Types

type Rep EmailConfiguration :: Type -> Type #

NFData EmailConfiguration Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailConfiguration

Methods

rnf :: EmailConfiguration -> () #

Hashable EmailConfiguration Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailConfiguration

ToJSON EmailConfiguration Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailConfiguration

FromJSON EmailConfiguration Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailConfiguration

type Rep EmailConfiguration Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailConfiguration

type Rep EmailConfiguration = D1 ('MetaData "EmailConfiguration" "Amazonka.IoTEvents.Types.EmailConfiguration" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" 'False) (C1 ('MetaCons "EmailConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EmailContent)) :*: (S1 ('MetaSel ('Just "from") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "recipients") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EmailRecipients))))

newEmailConfiguration Source #

Create a value of EmailConfiguration 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:content:EmailConfiguration', emailConfiguration_content - Contains the subject and message of an email.

$sel:from:EmailConfiguration', emailConfiguration_from - The email address that sends emails.

If you use the AWS IoT Events managed AWS Lambda function to manage your emails, you must verify the email address that sends emails in Amazon SES.

$sel:recipients:EmailConfiguration', emailConfiguration_recipients - Contains the information of one or more recipients who receive the emails.

You must add the users that receive emails to your AWS SSO store.

emailConfiguration_content :: Lens' EmailConfiguration (Maybe EmailContent) Source #

Contains the subject and message of an email.

emailConfiguration_from :: Lens' EmailConfiguration Text Source #

The email address that sends emails.

If you use the AWS IoT Events managed AWS Lambda function to manage your emails, you must verify the email address that sends emails in Amazon SES.

emailConfiguration_recipients :: Lens' EmailConfiguration EmailRecipients Source #

Contains the information of one or more recipients who receive the emails.

You must add the users that receive emails to your AWS SSO store.