amazonka-pinpoint-2.0: Amazon Pinpoint SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Read TemplateActiveVersionRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateActiveVersionRequest

Show TemplateActiveVersionRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateActiveVersionRequest

NFData TemplateActiveVersionRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateActiveVersionRequest

Eq TemplateActiveVersionRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateActiveVersionRequest

Hashable 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" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" '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.