Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

How to invoke an AWS Lambda function asynchronously

AWSLambdaAsyncClient client = new AWSLambdaAsyncClient();
client.withRegion(Regions.fromName(region));
InvokeRequest request = new InvokeRequest();
request.setInvocationType("Event");
request.withFunctionName(functionName).withPayload(payload);
InvokeResult invoke = client.invoke(request);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #invoke #AWS #Lambda #function #asynchronously
ADD COMMENT
Topic
Name
9+4 =