AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Submits an invocation request to Lambda. Upon receiving the request, Lambda executes the specified cloud function asynchronously. To see the logs generated by the cloud function execution, see the CloudWatch logs console.

This operation requires permission for the lambda:InvokeAsync action.

Namespace: Amazon.Lambda
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual InvokeAsyncResponse InvokeAsync(
         String functionName,
         String invokeArgs
)

Parameters

functionName
Type: System.String

The cloud function to invoke.

invokeArgs
Type: System.String

A Json document that will be passed to the cloud function.

Return Value
Type: Amazon.Lambda.Model.InvokeAsyncResponse
The response from the InvokeAsync service method, as returned by Lambda.

Exceptions

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5