amazonka-pinpoint-2.0: Amazon Pinpoint 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.Pinpoint.Types.RawEmail

Description

 
Synopsis

Documentation

data RawEmail Source #

Specifies the contents of an email message, represented as a raw MIME message.

See: newRawEmail smart constructor.

Constructors

RawEmail' 

Fields

  • data' :: Maybe Base64

    The email message, represented as a raw MIME message. The entire message must be base64 encoded.

Instances

Instances details
ToJSON RawEmail Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RawEmail

Generic RawEmail Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RawEmail

Associated Types

type Rep RawEmail :: Type -> Type #

Methods

from :: RawEmail -> Rep RawEmail x #

to :: Rep RawEmail x -> RawEmail #

Read RawEmail Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RawEmail

Show RawEmail Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RawEmail

NFData RawEmail Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RawEmail

Methods

rnf :: RawEmail -> () #

Eq RawEmail Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RawEmail

Hashable RawEmail Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RawEmail

Methods

hashWithSalt :: Int -> RawEmail -> Int #

hash :: RawEmail -> Int #

type Rep RawEmail Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RawEmail

type Rep RawEmail = D1 ('MetaData "RawEmail" "Amazonka.Pinpoint.Types.RawEmail" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" 'False) (C1 ('MetaCons "RawEmail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "data'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64))))

newRawEmail :: RawEmail Source #

Create a value of RawEmail 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:data':RawEmail', rawEmail_data - The email message, represented as a raw MIME message. The entire message must be base64 encoded.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

rawEmail_data :: Lens' RawEmail (Maybe ByteString) Source #

The email message, represented as a raw MIME message. The entire message must be base64 encoded.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.