amazonka-iotevents-2.0: Amazon IoT Events SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON EmailContent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailContent

ToJSON 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 #

Read EmailContent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailContent

Show EmailContent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailContent

NFData EmailContent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailContent

Methods

rnf :: EmailContent -> () #

Eq EmailContent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.EmailContent

Hashable 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" "amazonka-iotevents-2.0-6xKaLx5KciSK3LEs0FyRYn" 'False) (C1 ('MetaCons "EmailContent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "additionalMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subject") '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:additionalMessage:EmailContent', emailContent_additionalMessage - The message that you want to send. The message can be up to 200 characters.

$sel:subject:EmailContent', emailContent_subject - 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.

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

The subject of the email.