Skip to content

/AWS1/CL_PPT=>LISTTEMPLATES()

About ListTemplates

Retrieves information about all the message templates that are associated with your Amazon Pinpoint account.

Method Signature

IMPORTING

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/PPT__STRING /AWS1/PPT__STRING

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.

IV_PAGESIZE TYPE /AWS1/PPT__STRING /AWS1/PPT__STRING

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.

IV_PREFIX TYPE /AWS1/PPT__STRING /AWS1/PPT__STRING

The substring to match in the names of the message templates to include in the results. If you specify this value, Amazon Pinpoint returns only those templates whose names begin with the value that you specify.

IV_TEMPLATETYPE TYPE /AWS1/PPT__STRING /AWS1/PPT__STRING

The type of message template to include in the results. Valid values are: EMAIL, PUSH, SMS, and VOICE. To include all types of templates in the results, don't include this parameter in your request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_PPTLISTTMPLSRESPONSE /AWS1/CL_PPTLISTTMPLSRESPONSE