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

Description

 
Synopsis

Documentation

data TemplateActiveVersionRequest Source #

Specifies which version of a message template to use as the active version of the template.

See: newTemplateActiveVersionRequest smart constructor.

Constructors

TemplateActiveVersionRequest' 

Fields

  • version :: Maybe Text

    The version of the message template to use as the active version of the template. Valid values are: latest, for the most recent version of the template; or, the unique identifier for any existing version of the template. If you specify an identifier, the value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource.

Instances

Instances details
Eq TemplateActiveVersionRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateActiveVersionRequest

Read TemplateActiveVersionRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateActiveVersionRequest

Show TemplateActiveVersionRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateActiveVersionRequest

Generic TemplateActiveVersionRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateActiveVersionRequest

Associated Types

type Rep TemplateActiveVersionRequest :: Type -> Type #

NFData TemplateActiveVersionRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateActiveVersionRequest

Hashable TemplateActiveVersionRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateActiveVersionRequest

ToJSON TemplateActiveVersionRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateActiveVersionRequest

type Rep TemplateActiveVersionRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateActiveVersionRequest

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

newTemplateActiveVersionRequest :: TemplateActiveVersionRequest Source #

Create a value of TemplateActiveVersionRequest 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:version:TemplateActiveVersionRequest', templateActiveVersionRequest_version - The version of the message template to use as the active version of the template. Valid values are: latest, for the most recent version of the template; or, the unique identifier for any existing version of the template. If you specify an identifier, the value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource.

templateActiveVersionRequest_version :: Lens' TemplateActiveVersionRequest (Maybe Text) Source #

The version of the message template to use as the active version of the template. Valid values are: latest, for the most recent version of the template; or, the unique identifier for any existing version of the template. If you specify an identifier, the value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource.