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.
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