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.
Invoke
API (see
Invoke).Submits an invocation request to AWS Lambda. Upon receiving the request, Lambda executes the specified function asynchronously. To see the logs generated by the Lambda function execution, see the CloudWatch Logs console.
This operation requires permission for the lambda:InvokeFunction
action.
Namespace: Amazon.Lambda.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class InvokeAsyncRequest : AmazonLambdaRequest IRequestEvents
The InvokeAsyncRequest type exposes the following members
Name | Description | |
---|---|---|
InvokeAsyncRequest() |
Name | Type | Description | |
---|---|---|---|
FunctionName | System.String |
Gets and sets the property FunctionName.
The Lambda function name. |
|
InvokeArgs | System.String |
Gets and sets the property InvokeArgs. When this property is set the InvokeArgsStream
property is also set with a MemoryStream containing the contents InvokeArgs
JSON that you want to provide to your cloud function as input. |
|
InvokeArgsStream | System.IO.Stream |
Gets and sets the property InvokeArgsStream.
JSON that you want to provide to your Lambda function as input. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8