In InvokeSalesforceRestApiFunction Lambda, updateRecord method can be used to update records in Salesforce.
If you haven’t setup the Connected App and Amazon Variables, please check this
Sample Payload to update Case record:
{
"Details": {
"Parameters": {
"methodName": "updateRecord",
"recordId": "5004W00002AlRM5QAN",
"objectApiName": "Case",
"Subject": "Testing Update from Lambda Function",
"Description": "Sample Update Lambda REST API Testing",
"Status": "New",
"Priority": "Low"
}
}
}
Test it from AWS Console.
Output: