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

Description

Retrieves information about all the versions of a specific message template.

Synopsis

Creating a Request

data ListTemplateVersions Source #

See: newListTemplateVersions smart constructor.

Constructors

ListTemplateVersions' 

Fields

  • nextToken :: Maybe Text

    The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.

  • pageSize :: Maybe Text

    The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.

  • templateName :: Text

    The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

  • templateType :: Text

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

Instances

Instances details
Eq ListTemplateVersions Source # 
Instance details

Defined in Amazonka.Pinpoint.ListTemplateVersions

Read ListTemplateVersions Source # 
Instance details

Defined in Amazonka.Pinpoint.ListTemplateVersions

Show ListTemplateVersions Source # 
Instance details

Defined in Amazonka.Pinpoint.ListTemplateVersions

Generic ListTemplateVersions Source # 
Instance details

Defined in Amazonka.Pinpoint.ListTemplateVersions

Associated Types

type Rep ListTemplateVersions :: Type -> Type #

NFData ListTemplateVersions Source # 
Instance details

Defined in Amazonka.Pinpoint.ListTemplateVersions

Methods

rnf :: ListTemplateVersions -> () #

Hashable ListTemplateVersions Source # 
Instance details

Defined in Amazonka.Pinpoint.ListTemplateVersions

AWSRequest ListTemplateVersions Source # 
Instance details

Defined in Amazonka.Pinpoint.ListTemplateVersions

Associated Types

type AWSResponse ListTemplateVersions #

ToHeaders ListTemplateVersions Source # 
Instance details

Defined in Amazonka.Pinpoint.ListTemplateVersions

ToPath ListTemplateVersions Source # 
Instance details

Defined in Amazonka.Pinpoint.ListTemplateVersions

ToQuery ListTemplateVersions Source # 
Instance details

Defined in Amazonka.Pinpoint.ListTemplateVersions

type Rep ListTemplateVersions Source # 
Instance details

Defined in Amazonka.Pinpoint.ListTemplateVersions

type Rep ListTemplateVersions = D1 ('MetaData "ListTemplateVersions" "Amazonka.Pinpoint.ListTemplateVersions" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "ListTemplateVersions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pageSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "templateType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListTemplateVersions Source # 
Instance details

Defined in Amazonka.Pinpoint.ListTemplateVersions

newListTemplateVersions Source #

Create a value of ListTemplateVersions 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:nextToken:ListTemplateVersions', listTemplateVersions_nextToken - The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.

$sel:pageSize:ListTemplateVersions', listTemplateVersions_pageSize - The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.

$sel:templateName:ListTemplateVersions', listTemplateVersions_templateName - The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

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

Request Lenses

listTemplateVersions_nextToken :: Lens' ListTemplateVersions (Maybe Text) Source #

The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.

listTemplateVersions_pageSize :: Lens' ListTemplateVersions (Maybe Text) Source #

The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.

listTemplateVersions_templateName :: Lens' ListTemplateVersions Text Source #

The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

listTemplateVersions_templateType :: Lens' ListTemplateVersions Text Source #

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

Destructuring the Response

data ListTemplateVersionsResponse Source #

See: newListTemplateVersionsResponse smart constructor.

Constructors

ListTemplateVersionsResponse' 

Fields

Instances

Instances details
Eq ListTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.ListTemplateVersions

Read ListTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.ListTemplateVersions

Show ListTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.ListTemplateVersions

Generic ListTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.ListTemplateVersions

Associated Types

type Rep ListTemplateVersionsResponse :: Type -> Type #

NFData ListTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.ListTemplateVersions

type Rep ListTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.ListTemplateVersions

type Rep ListTemplateVersionsResponse = D1 ('MetaData "ListTemplateVersionsResponse" "Amazonka.Pinpoint.ListTemplateVersions" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "ListTemplateVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "templateVersionsResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TemplateVersionsResponse)))

Response Lenses