pinpoint listTemplates method is not returning all documented fields
See original GitHub issueConfirm by changing [ ] to [x] below to ensure that it’s a bug:
- I’ve gone though Developer Guide and API reference
- I’ve checked AWS Forums and StackOverflow for answers
- I’ve searched for previous similar issues and didn’t find any solution
Describe the bug According to the pinpoint.listTemplates description in the docs it should return the following fields
Arn — (String)
The Amazon Resource Name (ARN) of the message template.
CreationDate — required — (String)
The date when the message template was created.
DefaultSubstitutions — (String)
The JSON object that specifies the default values that are used for message variables in 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.
LastModifiedDate — required — (String)
The date when the message template was last modified.
tags — (map<String>)
A string-to-string map of key-value pairs that identifies the tags that are associated with the message template. Each tag consists of a required tag key and an associated tag value.
TemplateDescription — (String)
The custom description of the message template.
TemplateName — required — (String)
The name of the message template.
TemplateType — required — (String)
The type of channel that the message template is designed for.
Possible values include:
"EMAIL"
"SMS"
"VOICE"
"PUSH"
But in fact this method only returns:
CreationDate, LastModifiedDate, TemplateName, TemplateType
Is the issue in the browser/Node.js? Node.js
If on Node.js, are you running this on AWS Lambda? Yes
Details of the browser/Node.js version 12.x
SDK version number Example: v2.466.0
- For browsers, the SDK version number is in the script tag
src=“…/aws-sdk-2.466.0.min.js”
- For Node.js, get SDK version by
- running command
npm list aws-sdk
from your root directory - printing the output of
AWS.VERSION
in your code whereAWS = require("aws-sdk");
- running command
v2.585.0
To Reproduce (observed behavior) Steps to reproduce the behavior (please share code or minimal repo)
Run:
pinpoint.listTemplates()
Expected behavior The request should return all documented fields
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
list-templates — AWS CLI 1.27.37 Command Reference
Retrieves information about all the message templates that are associated with your Amazon Pinpoint account. See also: AWS API Documentation ...
Read more >PinpointClient (AWS SDK for Java - 2.19.2)
Retrieves information about all the message templates that are associated with your Amazon Pinpoint account. default ListTemplatesResponse. listTemplates( ...
Read more >AWS Pinpoint in-depth intuition with Python (Boto3) - YouTube
Amazon Pinpoint is a flexible and scalable outbound and inbound marketing communications service.In this video , I have explained how to use ...
Read more >pinpoint - Go Packages
Retrieves all the tags (keys and values) that are associated with an application, campaign, message template, or segment. func (*Client) ListTemplateVersions ¶.
Read more >Introduction to lists - Microsoft Support
Learn the concepts behind choosing and using SharePoint Lists and how they can provide quick, effective solutions with little or no modifications.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ajredniwja same thing needed here. need the tags!
@ajredniwja hi, is there any update on this? Will those props be added to the api or this is just a documentation issue and we should not expect them?