📜  如何异步调用 AWS Lambda 函数 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:02.687000             🧑  作者: Mango

代码示例1
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);