Created
June 7, 2020 11:03
-
-
Save ignas-sakalauskas/264054fbd0d4ae5a61751a029c65f577 to your computer and use it in GitHub Desktop.
InvokeLambdaSynchronously
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var request = new InvokeRequest | |
{ | |
FunctionName = "1-direct-invocation", | |
InvocationType = InvocationType.RequestResponse, // synchronous | |
Payload = "Your JSON payload" | |
}; | |
var result = await client.InvokeAsync(request); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment