Documente Academic
Documente Profesional
Documente Cultură
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A new, fully managed model
AWS
Managed
AWS Lambda
API Gateway
functions
cache
GET to POST
• Read all query string parameters from your GET request, and create a body to make a POST
to your back end
JSON to XML
• Receive JSON input and transform it to XML for your back end
• Receive JSON from a Lambda function and transform it to XML
Transform example: JSON to XML
API Gateway
Back end
Lambda
GET - /sayHello
fn_sayHello
{
<xml> “message” : “Hello world”
<message> }
Hello world
</message>
/sayHello
</xml>
#set($root = $input.path('$'))
<xml>
<message>
$root.message
</message>
</xml>
<demo>
...
</demo>
Thank you!
@danilop danilop