Sukanta Sarkar
Sukanta Sarkar

Reputation: 1

AWS Pipe- mapping between api destination request payload and response

I have a aws event bridge pipe where I am calling a 3rd party api using api destination, payload like:

{
"request_id": 123,
"FirstName": "Launch",
"LastName": "Quote",
"Addr1": "3760 Eaton Gate Lane",
"Addr2": "",
"City": "Auburn Hills",
"State": "MI",
"Zip": "48326"
}

and after calling the target set in SQS where I getting the response like

{
"LeadID": 5353626,
"status": "success",
"msg": "Lead added successfully"
}

Now I want mapping between two, mean want my request_id back in response as well, as it's a 3rd party api call they wouldn't do it, is that possible using eventbridge pipe?

I tried using Input Transformer but not working

Upvotes: 0

Views: 15

Answers (0)

Related Questions