Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I want to pass some data so they can be used as custom attributes in Pinpoint Message template. There's predefined templates in AWS console : APNS , GCM , DefaultPushNotificationMessage. The template for APNS for example is specified in boto3 pinpoint method 'send_messages' in the following way :

message_request["MessageConfiguration"]["APNSMessage"]=apns_template

My question is where can I add custom attributes to this template in 'send_messages' method in the ' message_request["MessageConfiguration"]["APNSMessage"] ' parameter and how to use them ?

boto3 pinpoint method 'send_messages' documentation : https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/pinpoint.html#Pinpoint.Client.send_messages

question from:https://stackoverflow.com/questions/66062308/add-custom-attributes-to-pinpoint-message-templates-using-boto3

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
278 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...