testapps/TemplateSubstitutionTestProjects/StateMachineDefinitionStringTest/Function.cs (22 lines of code) (raw):

using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using Amazon.Lambda.Core; using Amazon.Lambda.APIGatewayEvents; using System.IO; // Assembly attribute to enable the Lambda function's JSON input to be converted into a .NET class. [assembly: LambdaSerializer(typeof(Amazon.Lambda.Serialization.Json.JsonSerializer))] namespace StateMachineDefinitionStringTest { public class Functions { /// <summary> /// Default constructor that Lambda will invoke. /// </summary> public Functions() { } /// <summary> /// A Lambda function to respond to HTTP Get methods from API Gateway /// </summary> /// <param name="request"></param> /// <returns>The list of blogs</returns> public Stream Processor(Stream stream, ILambdaContext context) { return stream; } } }