【发布时间】:2017-05-02 20:18:37
【问题描述】:
我需要在 API 网关方法的正文映射模板中包含请求时间。是否有日期/时间变量或函数?我在template reference 中找不到任何内容。
身体映射模板示例:
Action=SendMessage&MessageBody=$util.urlEncode("{""timestamp"":""TIMESTAMP_HERE"",""body-json"":$input.json('$'),""params"":""$input.params()""}")
【问题讨论】:
标签: amazon-web-services aws-api-gateway vtl