Amazon web services C#测试中的AWS Lambda函数无法工作

Amazon web services C#测试中的AWS Lambda函数无法工作,amazon-web-services,Amazon Web Services,我正在尝试在C#中创建Hello World Aws Lambda函数,由vs2015 AWSToolsAndSDKForNet_sdk-3.3.69.0_ps-3.3.67.0_tk-1.11.6.2使用 public class Function { [LambdaSerializer(typeof(JsonSerializer))] public model FunctionHandler(string input) { model result =

我正在尝试在C#中创建Hello World Aws Lambda函数,由vs2015 AWSToolsAndSDKForNet_sdk-3.3.69.0_ps-3.3.67.0_tk-1.11.6.2使用

public class Function
{
    [LambdaSerializer(typeof(JsonSerializer))]
    public model FunctionHandler(string input)
    {
        model result = new model();
        result.Input = "hello-AWS-Lambda!";
        return result;
    }
}

public class model
{
    [JsonProperty("input")]
    public string Input { get; set; }
}
当我发布到Aws并测试我的功能时!我收到了如下错误消息

{
  "errorType": "JsonReaderException",
  "errorMessage": "Unexpected character encountered while parsing value: {. Path '', line 1, position 1.",
  "stackTrace": [
    "at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)",
    "at Newtonsoft.Json.JsonTextReader.ReadAsString()",
    "at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)",
    "at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)",
    "at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)",
    "at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)",
    "at lambda_method(Closure , Stream , Stream , ContextInfo )"
  ]
}
我有没有失去任何一步或什么原因导致这个错误?
感谢您抽出时间阅读我的问题

文档是测试版,已被删除。文档是测试版,已被删除。