Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Template = Template' {}
- newTemplate :: Template
- template_templateArn :: Lens' Template (Maybe Text)
- template_templateData :: Lens' Template (Maybe Text)
Documentation
See: newTemplate
smart constructor.
Template' | |
|
Instances
Eq Template Source # | |
Read Template Source # | |
Show Template Source # | |
Generic Template Source # | |
NFData Template Source # | |
Defined in Amazonka.PinpointEmail.Types.Template | |
Hashable Template Source # | |
Defined in Amazonka.PinpointEmail.Types.Template | |
ToJSON Template Source # | |
Defined in Amazonka.PinpointEmail.Types.Template | |
type Rep Template Source # | |
Defined in Amazonka.PinpointEmail.Types.Template type Rep Template = D1 ('MetaData "Template" "Amazonka.PinpointEmail.Types.Template" "libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email" 'False) (C1 ('MetaCons "Template'" 'PrefixI 'True) (S1 ('MetaSel ('Just "templateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "templateData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newTemplate :: Template Source #
Create a value of Template
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:templateArn:Template'
, template_templateArn
- The Amazon Resource Name (ARN) of the template.
$sel:templateData:Template'
, template_templateData
- An object that defines the values to use for message variables in the
template. This object is a set of key-value pairs. Each key defines a
message variable in the template. The corresponding value defines the
value to use for that variable.
template_templateArn :: Lens' Template (Maybe Text) Source #
The Amazon Resource Name (ARN) of the template.
template_templateData :: Lens' Template (Maybe Text) Source #
An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable.