libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
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.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
Eq RawEmail Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RawEmail

Read RawEmail Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RawEmail

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

NFData RawEmail Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RawEmail

Methods

rnf :: RawEmail -> () #

Hashable RawEmail Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RawEmail

Methods

hashWithSalt :: Int -> RawEmail -> Int #

hash :: RawEmail -> Int #

ToJSON RawEmail Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RawEmail

type Rep RawEmail Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RawEmail

type Rep RawEmail = D1 ('MetaData "RawEmail" "Amazonka.Pinpoint.Types.RawEmail" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" '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.