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

Description

 
Synopsis

Documentation

data EmailContent Source #

Contains the subject and message of an email.

See: newEmailContent smart constructor.

Constructors

EmailContent' 

Fields

Instances

Instances details
Eq EmailContent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailContent

Read EmailContent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailContent

Show EmailContent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailContent

Generic EmailContent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailContent

Associated Types

type Rep EmailContent :: Type -> Type #

NFData EmailContent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailContent

Methods

rnf :: EmailContent -> () #

Hashable EmailContent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailContent

ToJSON EmailContent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailContent

FromJSON EmailContent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailContent

type Rep EmailContent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailContent

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

newEmailContent :: EmailContent Source #

Create a value of EmailContent 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:subject:EmailContent', emailContent_subject - The subject of the email.

$sel:additionalMessage:EmailContent', emailContent_additionalMessage - The message that you want to send. The message can be up to 200 characters.

emailContent_subject :: Lens' EmailContent (Maybe Text) Source #

The subject of the email.

emailContent_additionalMessage :: Lens' EmailContent (Maybe Text) Source #

The message that you want to send. The message can be up to 200 characters.