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

Description

 
Synopsis

Documentation

data TemplateVersionResponse Source #

Provides information about a specific version of a message template.

See: newTemplateVersionResponse smart constructor.

Constructors

TemplateVersionResponse' 

Fields

  • templateDescription :: Maybe Text

    The custom description of the version of the message template.

  • defaultSubstitutions :: Maybe Text

    A JSON object that specifies the default values that are used for message variables in the version of the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.

  • version :: Maybe Text

    The unique identifier for the version of the message template. This value is an integer that Amazon Pinpoint automatically increments and assigns to each new version of a template.

  • lastModifiedDate :: Text

    The date, in ISO 8601 format, when the version of the message template was last modified.

  • creationDate :: Text

    The date, in ISO 8601 format, when the version of the message template was created.

  • templateName :: Text

    The name of the message template.

  • templateType :: Text

    The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, and VOICE.

Instances

Instances details
Eq TemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateVersionResponse

Read TemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateVersionResponse

Show TemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateVersionResponse

Generic TemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateVersionResponse

Associated Types

type Rep TemplateVersionResponse :: Type -> Type #

NFData TemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateVersionResponse

Methods

rnf :: TemplateVersionResponse -> () #

Hashable TemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateVersionResponse

FromJSON TemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateVersionResponse

type Rep TemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateVersionResponse

type Rep TemplateVersionResponse = D1 ('MetaData "TemplateVersionResponse" "Amazonka.Pinpoint.Types.TemplateVersionResponse" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "TemplateVersionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "templateDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "defaultSubstitutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "lastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "templateType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newTemplateVersionResponse Source #

Create a value of TemplateVersionResponse 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:templateDescription:TemplateVersionResponse', templateVersionResponse_templateDescription - The custom description of the version of the message template.

$sel:defaultSubstitutions:TemplateVersionResponse', templateVersionResponse_defaultSubstitutions - A JSON object that specifies the default values that are used for message variables in the version of the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.

$sel:version:TemplateVersionResponse', templateVersionResponse_version - The unique identifier for the version of the message template. This value is an integer that Amazon Pinpoint automatically increments and assigns to each new version of a template.

$sel:lastModifiedDate:TemplateVersionResponse', templateVersionResponse_lastModifiedDate - The date, in ISO 8601 format, when the version of the message template was last modified.

$sel:creationDate:TemplateVersionResponse', templateVersionResponse_creationDate - The date, in ISO 8601 format, when the version of the message template was created.

$sel:templateName:TemplateVersionResponse', templateVersionResponse_templateName - The name of the message template.

$sel:templateType:TemplateVersionResponse', templateVersionResponse_templateType - The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, and VOICE.

templateVersionResponse_templateDescription :: Lens' TemplateVersionResponse (Maybe Text) Source #

The custom description of the version of the message template.

templateVersionResponse_defaultSubstitutions :: Lens' TemplateVersionResponse (Maybe Text) Source #

A JSON object that specifies the default values that are used for message variables in the version of the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.

templateVersionResponse_version :: Lens' TemplateVersionResponse (Maybe Text) Source #

The unique identifier for the version of the message template. This value is an integer that Amazon Pinpoint automatically increments and assigns to each new version of a template.

templateVersionResponse_lastModifiedDate :: Lens' TemplateVersionResponse Text Source #

The date, in ISO 8601 format, when the version of the message template was last modified.

templateVersionResponse_creationDate :: Lens' TemplateVersionResponse Text Source #

The date, in ISO 8601 format, when the version of the message template was created.

templateVersionResponse_templateType :: Lens' TemplateVersionResponse Text Source #

The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, and VOICE.