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

Description

 
Synopsis

Documentation

data CampaignCustomMessage Source #

Specifies the contents of a message that's sent through a custom channel to recipients of a campaign.

See: newCampaignCustomMessage smart constructor.

Constructors

CampaignCustomMessage' 

Fields

  • data' :: Maybe Text

    The raw, JSON-formatted string to use as the payload for the message. The maximum size is 5 KB.

Instances

Instances details
Eq CampaignCustomMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignCustomMessage

Read CampaignCustomMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignCustomMessage

Show CampaignCustomMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignCustomMessage

Generic CampaignCustomMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignCustomMessage

Associated Types

type Rep CampaignCustomMessage :: Type -> Type #

NFData CampaignCustomMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignCustomMessage

Methods

rnf :: CampaignCustomMessage -> () #

Hashable CampaignCustomMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignCustomMessage

ToJSON CampaignCustomMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignCustomMessage

FromJSON CampaignCustomMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignCustomMessage

type Rep CampaignCustomMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignCustomMessage

type Rep CampaignCustomMessage = D1 ('MetaData "CampaignCustomMessage" "Amazonka.Pinpoint.Types.CampaignCustomMessage" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "CampaignCustomMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "data'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newCampaignCustomMessage :: CampaignCustomMessage Source #

Create a value of CampaignCustomMessage 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':CampaignCustomMessage', campaignCustomMessage_data - The raw, JSON-formatted string to use as the payload for the message. The maximum size is 5 KB.

campaignCustomMessage_data :: Lens' CampaignCustomMessage (Maybe Text) Source #

The raw, JSON-formatted string to use as the payload for the message. The maximum size is 5 KB.