Is it possible to set a payload on a Lambda Invoke request for the AWS C++ SDK? When looking at the docs it appears as though this may not be possible.
Asked
Active
Viewed 333 times
1 Answers
5
Yes it is possible.
The InvokeRequest
class does not directly provide a method for setting the payload. However, it's super class Aws::AmazonWebServiceRequest
provides a method SetBody
which can be used for setting the payload.
AWS has provided an example of how this is done here

johnnyodonnell
- 1,838
- 3
- 16
- 34
-
2after lots of time spent on this, you saved my day :) – ashutosh sharma Apr 03 '20 at 14:53