diff --git a/Libraries/Libraries.sln b/Libraries/Libraries.sln index 2c5333698..989ea6b16 100644 --- a/Libraries/Libraries.sln +++ b/Libraries/Libraries.sln @@ -1,292 +1,312 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27130.2036 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A101C2F7-C63F-4FDE-94BB-DFA637EBEA44}" - ProjectSection(SolutionItems) = preProject - ..\README.md = ..\README.md - ..\RELEASE.CHANGELOG.md = ..\RELEASE.CHANGELOG.md - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.Core", "src\Amazon.Lambda.Core\Amazon.Lambda.Core.csproj", "{51F5E824-CAE2-4EF4-9131-13256BFD28B6}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.Logging.AspNetCore", "src\Amazon.Lambda.Logging.AspNetCore\Amazon.Lambda.Logging.AspNetCore.csproj", "{201AC4EB-48D8-4E4A-A336-BB16DD630A19}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.Core.Tests", "test\Amazon.Lambda.Core.Tests\Amazon.Lambda.Core.Tests.csproj", "{C148726C-9555-4347-89B4-B9A514EBB02C}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.Serialization.Json", "src\Amazon.Lambda.Serialization.Json\Amazon.Lambda.Serialization.Json.csproj", "{13A0F4C9-69EC-4B8E-A00F-7BAE23CC16E7}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.AspNetCoreServer", "src\Amazon.Lambda.AspNetCoreServer\Amazon.Lambda.AspNetCoreServer.csproj", "{25813AAC-F0B3-4591-AA99-67983394623B}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.APIGatewayEvents", "src\Amazon.Lambda.APIGatewayEvents\Amazon.Lambda.APIGatewayEvents.csproj", "{480D89E0-4334-4903-82CD-1B8ADF09D019}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.CognitoEvents", "src\Amazon.Lambda.CognitoEvents\Amazon.Lambda.CognitoEvents.csproj", "{105B1BBB-4114-4D86-812E-EFFBB6E47CE5}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.ConfigEvents", "src\Amazon.Lambda.ConfigEvents\Amazon.Lambda.ConfigEvents.csproj", "{6BF4EC9F-FB9E-4898-81F7-B392BF83D2B0}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.DynamoDBEvents", "src\Amazon.Lambda.DynamoDBEvents\Amazon.Lambda.DynamoDBEvents.csproj", "{CB170908-F770-4554-A974-9653562F1042}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.KinesisEvents", "src\Amazon.Lambda.KinesisEvents\Amazon.Lambda.KinesisEvents.csproj", "{3ED92849-4103-4AEF-B406-FF856C134C4B}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.S3Events", "src\Amazon.Lambda.S3Events\Amazon.Lambda.S3Events.csproj", "{D4B8939E-9684-4237-861C-2288EB5DD4E8}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.SNSEvents", "src\Amazon.Lambda.SNSEvents\Amazon.Lambda.SNSEvents.csproj", "{D05BF033-DA2C-463C-BB98-64D28E1A4A75}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.TestUtilities", "src\Amazon.Lambda.TestUtilities\Amazon.Lambda.TestUtilities.csproj", "{0083B713-6399-479D-AA06-58D3E87F167D}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.AspNetCoreServer.Test", "test\Amazon.Lambda.AspNetCoreServer.Test\Amazon.Lambda.AspNetCoreServer.Test.csproj", "{5B48AEA8-5702-45A8-9D89-CEB986E6DBC1}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestWebApp", "test\TestWebApp\TestWebApp.csproj", "{101ABE51-390D-41DF-A70B-2BD3B08B2CC7}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.Logging.AspNetCore.Tests", "test\Amazon.Lambda.Logging.AspNetCore.Tests\Amazon.Lambda.Logging.AspNetCore.Tests.csproj", "{A612EC01-6595-4EA6-B0EF-FF00E4FB331D}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EventsTests", "test\EventsTests\EventsTests.csproj", "{D96E1572-C079-413A-BFA0-235000700DDB}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestFunction", "test\TestFunction\TestFunction.csproj", "{11A53C8D-A49B-4477-BFD9-E00C77D1291C}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.SimpleEmailEvents", "src\Amazon.Lambda.SimpleEmailEvents\Amazon.Lambda.SimpleEmailEvents.csproj", "{A6348510-7948-46B1-A2C4-396B8C55440C}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.LexEvents", "src\Amazon.Lambda.LexEvents\Amazon.Lambda.LexEvents.csproj", "{F93EFEFF-FD1F-48F1-A0F1-BBE87205129E}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.KinesisFirehoseEvents", "src\Amazon.Lambda.KinesisFirehoseEvents\Amazon.Lambda.KinesisFirehoseEvents.csproj", "{E104E093-3562-4F07-B138-821A428DE267}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.CloudWatchLogsEvents", "src\Amazon.Lambda.CloudWatchLogsEvents\Amazon.Lambda.CloudWatchLogsEvents.csproj", "{32827626-2128-49A0-A2A9-2F5076AADDAD}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.KinesisAnalyticsEvents", "src\Amazon.Lambda.KinesisAnalyticsEvents\Amazon.Lambda.KinesisAnalyticsEvents.csproj", "{EAC0F95B-B43A-49EB-A6DF-D0353DAD4593}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TestFunctionFSharp", "TestFunctionFSharp", "{BB021F02-D90F-469C-8D56-919771B7F4DE}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FSharpJsonSerializer", "test\TestFunctionFSharp\FSharpJsonSerializer\FSharpJsonSerializer.csproj", "{8C9EA16D-6055-421B-ABE7-1B0E35259DFC}" -EndProject -Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "TestFunctionFSharp", "test\TestFunctionFSharp\TestFunctionFSharp\TestFunctionFSharp.fsproj", "{CB38FA21-5814-4573-94C7-3672D61BC8B8}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestFunctionCSharp", "test\TestFunctionFSharp\TestFunctionCSharp\TestFunctionCSharp.csproj", "{2810A66B-3A03-4889-A4D0-0E8838474A4A}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.SQSEvents", "src\Amazon.Lambda.SQSEvents\Amazon.Lambda.SQSEvents.csproj", "{74BFF877-D276-43BF-AC3A-E65BF26E4E2F}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.PowerShellHost", "src\Amazon.Lambda.PowerShellHost\Amazon.Lambda.PowerShellHost.csproj", "{51CAD9E3-B5AE-4787-915E-7FA096CF783F}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TestPowerShellFunctions", "TestPowerShellFunctions", "{ADEC039D-0C34-4DA7-802B-6204FFE3F1F5}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PowerShellTests", "test\PowerShellTests\PowerShellTests.csproj", "{997B1047-4361-4E6D-9850-F130EC188141}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PowerShellScriptsAsFunctions", "test\TestPowerShellFunctions\PowerShellScriptsAsFunctions\PowerShellScriptsAsFunctions.csproj", "{0AD1E5D6-AC23-47C1-97BF-227007021B6F}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.CloudWatchEvents", "src\Amazon.Lambda.CloudWatchEvents\Amazon.Lambda.CloudWatchEvents.csproj", "{AD96AA48-2E1A-4BBB-9329-E1E484172FE3}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.ApplicationLoadBalancerEvents", "src\Amazon.Lambda.ApplicationLoadBalancerEvents\Amazon.Lambda.ApplicationLoadBalancerEvents.csproj", "{0E743512-2FE4-40AD-935A-17B40ACF82C1}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.RuntimeSupport", "src\Amazon.Lambda.RuntimeSupport\Amazon.Lambda.RuntimeSupport.csproj", "{0046EAB1-FA73-4D7A-A7CD-936E943F775E}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Amazon.Lambda.RuntimeSupport.Tests", "Amazon.Lambda.RuntimeSupport.Tests", "{B5BD0336-7D08-492C-8489-42C987E29B39}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CustomRuntimeFunctionTest", "test\Amazon.Lambda.RuntimeSupport.Tests\CustomRuntimeFunctionTest\CustomRuntimeFunctionTest.csproj", "{61934DD2-CFBB-48E1-947C-75E8F736734C}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.RuntimeSupport.IntegrationTests", "test\Amazon.Lambda.RuntimeSupport.Tests\Amazon.Lambda.RuntimeSupport.IntegrationTests\Amazon.Lambda.RuntimeSupport.IntegrationTests.csproj", "{39FD7632-73D0-4BB3-AE99-DC7B8B251E29}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.RuntimeSupport.UnitTests", "test\Amazon.Lambda.RuntimeSupport.Tests\Amazon.Lambda.RuntimeSupport.UnitTests\Amazon.Lambda.RuntimeSupport.UnitTests.csproj", "{10E47FE4-8620-4933-A14D-E33F25CA557A}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {51F5E824-CAE2-4EF4-9131-13256BFD28B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {51F5E824-CAE2-4EF4-9131-13256BFD28B6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {51F5E824-CAE2-4EF4-9131-13256BFD28B6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {51F5E824-CAE2-4EF4-9131-13256BFD28B6}.Release|Any CPU.Build.0 = Release|Any CPU - {201AC4EB-48D8-4E4A-A336-BB16DD630A19}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {201AC4EB-48D8-4E4A-A336-BB16DD630A19}.Debug|Any CPU.Build.0 = Debug|Any CPU - {201AC4EB-48D8-4E4A-A336-BB16DD630A19}.Release|Any CPU.ActiveCfg = Release|Any CPU - {201AC4EB-48D8-4E4A-A336-BB16DD630A19}.Release|Any CPU.Build.0 = Release|Any CPU - {C148726C-9555-4347-89B4-B9A514EBB02C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C148726C-9555-4347-89B4-B9A514EBB02C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C148726C-9555-4347-89B4-B9A514EBB02C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C148726C-9555-4347-89B4-B9A514EBB02C}.Release|Any CPU.Build.0 = Release|Any CPU - {13A0F4C9-69EC-4B8E-A00F-7BAE23CC16E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {13A0F4C9-69EC-4B8E-A00F-7BAE23CC16E7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {13A0F4C9-69EC-4B8E-A00F-7BAE23CC16E7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {13A0F4C9-69EC-4B8E-A00F-7BAE23CC16E7}.Release|Any CPU.Build.0 = Release|Any CPU - {25813AAC-F0B3-4591-AA99-67983394623B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {25813AAC-F0B3-4591-AA99-67983394623B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {25813AAC-F0B3-4591-AA99-67983394623B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {25813AAC-F0B3-4591-AA99-67983394623B}.Release|Any CPU.Build.0 = Release|Any CPU - {480D89E0-4334-4903-82CD-1B8ADF09D019}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {480D89E0-4334-4903-82CD-1B8ADF09D019}.Debug|Any CPU.Build.0 = Debug|Any CPU - {480D89E0-4334-4903-82CD-1B8ADF09D019}.Release|Any CPU.ActiveCfg = Release|Any CPU - {480D89E0-4334-4903-82CD-1B8ADF09D019}.Release|Any CPU.Build.0 = Release|Any CPU - {105B1BBB-4114-4D86-812E-EFFBB6E47CE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {105B1BBB-4114-4D86-812E-EFFBB6E47CE5}.Debug|Any CPU.Build.0 = Debug|Any CPU - {105B1BBB-4114-4D86-812E-EFFBB6E47CE5}.Release|Any CPU.ActiveCfg = Release|Any CPU - {105B1BBB-4114-4D86-812E-EFFBB6E47CE5}.Release|Any CPU.Build.0 = Release|Any CPU - {6BF4EC9F-FB9E-4898-81F7-B392BF83D2B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6BF4EC9F-FB9E-4898-81F7-B392BF83D2B0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6BF4EC9F-FB9E-4898-81F7-B392BF83D2B0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6BF4EC9F-FB9E-4898-81F7-B392BF83D2B0}.Release|Any CPU.Build.0 = Release|Any CPU - {CB170908-F770-4554-A974-9653562F1042}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CB170908-F770-4554-A974-9653562F1042}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CB170908-F770-4554-A974-9653562F1042}.Release|Any CPU.ActiveCfg = Release|Any CPU - {CB170908-F770-4554-A974-9653562F1042}.Release|Any CPU.Build.0 = Release|Any CPU - {3ED92849-4103-4AEF-B406-FF856C134C4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3ED92849-4103-4AEF-B406-FF856C134C4B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3ED92849-4103-4AEF-B406-FF856C134C4B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3ED92849-4103-4AEF-B406-FF856C134C4B}.Release|Any CPU.Build.0 = Release|Any CPU - {D4B8939E-9684-4237-861C-2288EB5DD4E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D4B8939E-9684-4237-861C-2288EB5DD4E8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D4B8939E-9684-4237-861C-2288EB5DD4E8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D4B8939E-9684-4237-861C-2288EB5DD4E8}.Release|Any CPU.Build.0 = Release|Any CPU - {D05BF033-DA2C-463C-BB98-64D28E1A4A75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D05BF033-DA2C-463C-BB98-64D28E1A4A75}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D05BF033-DA2C-463C-BB98-64D28E1A4A75}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D05BF033-DA2C-463C-BB98-64D28E1A4A75}.Release|Any CPU.Build.0 = Release|Any CPU - {0083B713-6399-479D-AA06-58D3E87F167D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0083B713-6399-479D-AA06-58D3E87F167D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0083B713-6399-479D-AA06-58D3E87F167D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0083B713-6399-479D-AA06-58D3E87F167D}.Release|Any CPU.Build.0 = Release|Any CPU - {5B48AEA8-5702-45A8-9D89-CEB986E6DBC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5B48AEA8-5702-45A8-9D89-CEB986E6DBC1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5B48AEA8-5702-45A8-9D89-CEB986E6DBC1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5B48AEA8-5702-45A8-9D89-CEB986E6DBC1}.Release|Any CPU.Build.0 = Release|Any CPU - {101ABE51-390D-41DF-A70B-2BD3B08B2CC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {101ABE51-390D-41DF-A70B-2BD3B08B2CC7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {101ABE51-390D-41DF-A70B-2BD3B08B2CC7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {101ABE51-390D-41DF-A70B-2BD3B08B2CC7}.Release|Any CPU.Build.0 = Release|Any CPU - {A612EC01-6595-4EA6-B0EF-FF00E4FB331D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A612EC01-6595-4EA6-B0EF-FF00E4FB331D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A612EC01-6595-4EA6-B0EF-FF00E4FB331D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A612EC01-6595-4EA6-B0EF-FF00E4FB331D}.Release|Any CPU.Build.0 = Release|Any CPU - {D96E1572-C079-413A-BFA0-235000700DDB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D96E1572-C079-413A-BFA0-235000700DDB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D96E1572-C079-413A-BFA0-235000700DDB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D96E1572-C079-413A-BFA0-235000700DDB}.Release|Any CPU.Build.0 = Release|Any CPU - {11A53C8D-A49B-4477-BFD9-E00C77D1291C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {11A53C8D-A49B-4477-BFD9-E00C77D1291C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {11A53C8D-A49B-4477-BFD9-E00C77D1291C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {11A53C8D-A49B-4477-BFD9-E00C77D1291C}.Release|Any CPU.Build.0 = Release|Any CPU - {A6348510-7948-46B1-A2C4-396B8C55440C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A6348510-7948-46B1-A2C4-396B8C55440C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A6348510-7948-46B1-A2C4-396B8C55440C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A6348510-7948-46B1-A2C4-396B8C55440C}.Release|Any CPU.Build.0 = Release|Any CPU - {F93EFEFF-FD1F-48F1-A0F1-BBE87205129E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F93EFEFF-FD1F-48F1-A0F1-BBE87205129E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F93EFEFF-FD1F-48F1-A0F1-BBE87205129E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F93EFEFF-FD1F-48F1-A0F1-BBE87205129E}.Release|Any CPU.Build.0 = Release|Any CPU - {E104E093-3562-4F07-B138-821A428DE267}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E104E093-3562-4F07-B138-821A428DE267}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E104E093-3562-4F07-B138-821A428DE267}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E104E093-3562-4F07-B138-821A428DE267}.Release|Any CPU.Build.0 = Release|Any CPU - {32827626-2128-49A0-A2A9-2F5076AADDAD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {32827626-2128-49A0-A2A9-2F5076AADDAD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {32827626-2128-49A0-A2A9-2F5076AADDAD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {32827626-2128-49A0-A2A9-2F5076AADDAD}.Release|Any CPU.Build.0 = Release|Any CPU - {EAC0F95B-B43A-49EB-A6DF-D0353DAD4593}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EAC0F95B-B43A-49EB-A6DF-D0353DAD4593}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EAC0F95B-B43A-49EB-A6DF-D0353DAD4593}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EAC0F95B-B43A-49EB-A6DF-D0353DAD4593}.Release|Any CPU.Build.0 = Release|Any CPU - {8C9EA16D-6055-421B-ABE7-1B0E35259DFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8C9EA16D-6055-421B-ABE7-1B0E35259DFC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8C9EA16D-6055-421B-ABE7-1B0E35259DFC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8C9EA16D-6055-421B-ABE7-1B0E35259DFC}.Release|Any CPU.Build.0 = Release|Any CPU - {CB38FA21-5814-4573-94C7-3672D61BC8B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CB38FA21-5814-4573-94C7-3672D61BC8B8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CB38FA21-5814-4573-94C7-3672D61BC8B8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {CB38FA21-5814-4573-94C7-3672D61BC8B8}.Release|Any CPU.Build.0 = Release|Any CPU - {2810A66B-3A03-4889-A4D0-0E8838474A4A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2810A66B-3A03-4889-A4D0-0E8838474A4A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2810A66B-3A03-4889-A4D0-0E8838474A4A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2810A66B-3A03-4889-A4D0-0E8838474A4A}.Release|Any CPU.Build.0 = Release|Any CPU - {74BFF877-D276-43BF-AC3A-E65BF26E4E2F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {74BFF877-D276-43BF-AC3A-E65BF26E4E2F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {74BFF877-D276-43BF-AC3A-E65BF26E4E2F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {74BFF877-D276-43BF-AC3A-E65BF26E4E2F}.Release|Any CPU.Build.0 = Release|Any CPU - {51CAD9E3-B5AE-4787-915E-7FA096CF783F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {51CAD9E3-B5AE-4787-915E-7FA096CF783F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {51CAD9E3-B5AE-4787-915E-7FA096CF783F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {51CAD9E3-B5AE-4787-915E-7FA096CF783F}.Release|Any CPU.Build.0 = Release|Any CPU - {997B1047-4361-4E6D-9850-F130EC188141}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {997B1047-4361-4E6D-9850-F130EC188141}.Debug|Any CPU.Build.0 = Debug|Any CPU - {997B1047-4361-4E6D-9850-F130EC188141}.Release|Any CPU.ActiveCfg = Release|Any CPU - {997B1047-4361-4E6D-9850-F130EC188141}.Release|Any CPU.Build.0 = Release|Any CPU - {0AD1E5D6-AC23-47C1-97BF-227007021B6F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0AD1E5D6-AC23-47C1-97BF-227007021B6F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0AD1E5D6-AC23-47C1-97BF-227007021B6F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0AD1E5D6-AC23-47C1-97BF-227007021B6F}.Release|Any CPU.Build.0 = Release|Any CPU - {AD96AA48-2E1A-4BBB-9329-E1E484172FE3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AD96AA48-2E1A-4BBB-9329-E1E484172FE3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AD96AA48-2E1A-4BBB-9329-E1E484172FE3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AD96AA48-2E1A-4BBB-9329-E1E484172FE3}.Release|Any CPU.Build.0 = Release|Any CPU - {0E743512-2FE4-40AD-935A-17B40ACF82C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0E743512-2FE4-40AD-935A-17B40ACF82C1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0E743512-2FE4-40AD-935A-17B40ACF82C1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0E743512-2FE4-40AD-935A-17B40ACF82C1}.Release|Any CPU.Build.0 = Release|Any CPU - {0046EAB1-FA73-4D7A-A7CD-936E943F775E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0046EAB1-FA73-4D7A-A7CD-936E943F775E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0046EAB1-FA73-4D7A-A7CD-936E943F775E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0046EAB1-FA73-4D7A-A7CD-936E943F775E}.Release|Any CPU.Build.0 = Release|Any CPU - {61934DD2-CFBB-48E1-947C-75E8F736734C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {61934DD2-CFBB-48E1-947C-75E8F736734C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {61934DD2-CFBB-48E1-947C-75E8F736734C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {61934DD2-CFBB-48E1-947C-75E8F736734C}.Release|Any CPU.Build.0 = Release|Any CPU - {39FD7632-73D0-4BB3-AE99-DC7B8B251E29}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {39FD7632-73D0-4BB3-AE99-DC7B8B251E29}.Debug|Any CPU.Build.0 = Debug|Any CPU - {39FD7632-73D0-4BB3-AE99-DC7B8B251E29}.Release|Any CPU.ActiveCfg = Release|Any CPU - {39FD7632-73D0-4BB3-AE99-DC7B8B251E29}.Release|Any CPU.Build.0 = Release|Any CPU - {10E47FE4-8620-4933-A14D-E33F25CA557A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {10E47FE4-8620-4933-A14D-E33F25CA557A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {10E47FE4-8620-4933-A14D-E33F25CA557A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {10E47FE4-8620-4933-A14D-E33F25CA557A}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {51F5E824-CAE2-4EF4-9131-13256BFD28B6} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {201AC4EB-48D8-4E4A-A336-BB16DD630A19} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {C148726C-9555-4347-89B4-B9A514EBB02C} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} - {13A0F4C9-69EC-4B8E-A00F-7BAE23CC16E7} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {25813AAC-F0B3-4591-AA99-67983394623B} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {480D89E0-4334-4903-82CD-1B8ADF09D019} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {105B1BBB-4114-4D86-812E-EFFBB6E47CE5} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {6BF4EC9F-FB9E-4898-81F7-B392BF83D2B0} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {CB170908-F770-4554-A974-9653562F1042} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {3ED92849-4103-4AEF-B406-FF856C134C4B} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {D4B8939E-9684-4237-861C-2288EB5DD4E8} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {D05BF033-DA2C-463C-BB98-64D28E1A4A75} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {0083B713-6399-479D-AA06-58D3E87F167D} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {5B48AEA8-5702-45A8-9D89-CEB986E6DBC1} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} - {101ABE51-390D-41DF-A70B-2BD3B08B2CC7} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} - {A612EC01-6595-4EA6-B0EF-FF00E4FB331D} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} - {D96E1572-C079-413A-BFA0-235000700DDB} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} - {11A53C8D-A49B-4477-BFD9-E00C77D1291C} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} - {A6348510-7948-46B1-A2C4-396B8C55440C} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {F93EFEFF-FD1F-48F1-A0F1-BBE87205129E} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {E104E093-3562-4F07-B138-821A428DE267} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {32827626-2128-49A0-A2A9-2F5076AADDAD} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {EAC0F95B-B43A-49EB-A6DF-D0353DAD4593} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {BB021F02-D90F-469C-8D56-919771B7F4DE} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} - {8C9EA16D-6055-421B-ABE7-1B0E35259DFC} = {BB021F02-D90F-469C-8D56-919771B7F4DE} - {CB38FA21-5814-4573-94C7-3672D61BC8B8} = {BB021F02-D90F-469C-8D56-919771B7F4DE} - {2810A66B-3A03-4889-A4D0-0E8838474A4A} = {BB021F02-D90F-469C-8D56-919771B7F4DE} - {74BFF877-D276-43BF-AC3A-E65BF26E4E2F} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {51CAD9E3-B5AE-4787-915E-7FA096CF783F} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {ADEC039D-0C34-4DA7-802B-6204FFE3F1F5} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} - {997B1047-4361-4E6D-9850-F130EC188141} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} - {0AD1E5D6-AC23-47C1-97BF-227007021B6F} = {ADEC039D-0C34-4DA7-802B-6204FFE3F1F5} - {AD96AA48-2E1A-4BBB-9329-E1E484172FE3} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {0E743512-2FE4-40AD-935A-17B40ACF82C1} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {0046EAB1-FA73-4D7A-A7CD-936E943F775E} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} - {B5BD0336-7D08-492C-8489-42C987E29B39} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} - {61934DD2-CFBB-48E1-947C-75E8F736734C} = {B5BD0336-7D08-492C-8489-42C987E29B39} - {39FD7632-73D0-4BB3-AE99-DC7B8B251E29} = {B5BD0336-7D08-492C-8489-42C987E29B39} - {10E47FE4-8620-4933-A14D-E33F25CA557A} = {B5BD0336-7D08-492C-8489-42C987E29B39} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {503678A4-B8D1-4486-8915-405A3E9CF0EB} - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29613.14 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A101C2F7-C63F-4FDE-94BB-DFA637EBEA44}" + ProjectSection(SolutionItems) = preProject + ..\README.md = ..\README.md + ..\RELEASE.CHANGELOG.md = ..\RELEASE.CHANGELOG.md + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.Core", "src\Amazon.Lambda.Core\Amazon.Lambda.Core.csproj", "{51F5E824-CAE2-4EF4-9131-13256BFD28B6}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.Logging.AspNetCore", "src\Amazon.Lambda.Logging.AspNetCore\Amazon.Lambda.Logging.AspNetCore.csproj", "{201AC4EB-48D8-4E4A-A336-BB16DD630A19}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.Core.Tests", "test\Amazon.Lambda.Core.Tests\Amazon.Lambda.Core.Tests.csproj", "{C148726C-9555-4347-89B4-B9A514EBB02C}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.Serialization.Json", "src\Amazon.Lambda.Serialization.Json\Amazon.Lambda.Serialization.Json.csproj", "{13A0F4C9-69EC-4B8E-A00F-7BAE23CC16E7}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.AspNetCoreServer", "src\Amazon.Lambda.AspNetCoreServer\Amazon.Lambda.AspNetCoreServer.csproj", "{25813AAC-F0B3-4591-AA99-67983394623B}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.APIGatewayEvents", "src\Amazon.Lambda.APIGatewayEvents\Amazon.Lambda.APIGatewayEvents.csproj", "{480D89E0-4334-4903-82CD-1B8ADF09D019}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.CognitoEvents", "src\Amazon.Lambda.CognitoEvents\Amazon.Lambda.CognitoEvents.csproj", "{105B1BBB-4114-4D86-812E-EFFBB6E47CE5}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.ConfigEvents", "src\Amazon.Lambda.ConfigEvents\Amazon.Lambda.ConfigEvents.csproj", "{6BF4EC9F-FB9E-4898-81F7-B392BF83D2B0}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.DynamoDBEvents", "src\Amazon.Lambda.DynamoDBEvents\Amazon.Lambda.DynamoDBEvents.csproj", "{CB170908-F770-4554-A974-9653562F1042}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.KinesisEvents", "src\Amazon.Lambda.KinesisEvents\Amazon.Lambda.KinesisEvents.csproj", "{3ED92849-4103-4AEF-B406-FF856C134C4B}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.S3Events", "src\Amazon.Lambda.S3Events\Amazon.Lambda.S3Events.csproj", "{D4B8939E-9684-4237-861C-2288EB5DD4E8}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.SNSEvents", "src\Amazon.Lambda.SNSEvents\Amazon.Lambda.SNSEvents.csproj", "{D05BF033-DA2C-463C-BB98-64D28E1A4A75}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.TestUtilities", "src\Amazon.Lambda.TestUtilities\Amazon.Lambda.TestUtilities.csproj", "{0083B713-6399-479D-AA06-58D3E87F167D}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.AspNetCoreServer.Test", "test\Amazon.Lambda.AspNetCoreServer.Test\Amazon.Lambda.AspNetCoreServer.Test.csproj", "{5B48AEA8-5702-45A8-9D89-CEB986E6DBC1}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestWebApp", "test\TestWebApp\TestWebApp.csproj", "{101ABE51-390D-41DF-A70B-2BD3B08B2CC7}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.Logging.AspNetCore.Tests", "test\Amazon.Lambda.Logging.AspNetCore.Tests\Amazon.Lambda.Logging.AspNetCore.Tests.csproj", "{A612EC01-6595-4EA6-B0EF-FF00E4FB331D}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EventsTests.NETCore21", "test\EventsTests.NETCore21\EventsTests.NETCore21.csproj", "{D96E1572-C079-413A-BFA0-235000700DDB}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestFunction", "test\TestFunction\TestFunction.csproj", "{11A53C8D-A49B-4477-BFD9-E00C77D1291C}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.SimpleEmailEvents", "src\Amazon.Lambda.SimpleEmailEvents\Amazon.Lambda.SimpleEmailEvents.csproj", "{A6348510-7948-46B1-A2C4-396B8C55440C}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.LexEvents", "src\Amazon.Lambda.LexEvents\Amazon.Lambda.LexEvents.csproj", "{F93EFEFF-FD1F-48F1-A0F1-BBE87205129E}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.KinesisFirehoseEvents", "src\Amazon.Lambda.KinesisFirehoseEvents\Amazon.Lambda.KinesisFirehoseEvents.csproj", "{E104E093-3562-4F07-B138-821A428DE267}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.CloudWatchLogsEvents", "src\Amazon.Lambda.CloudWatchLogsEvents\Amazon.Lambda.CloudWatchLogsEvents.csproj", "{32827626-2128-49A0-A2A9-2F5076AADDAD}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.KinesisAnalyticsEvents", "src\Amazon.Lambda.KinesisAnalyticsEvents\Amazon.Lambda.KinesisAnalyticsEvents.csproj", "{EAC0F95B-B43A-49EB-A6DF-D0353DAD4593}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TestFunctionFSharp", "TestFunctionFSharp", "{BB021F02-D90F-469C-8D56-919771B7F4DE}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FSharpJsonSerializer", "test\TestFunctionFSharp\FSharpJsonSerializer\FSharpJsonSerializer.csproj", "{8C9EA16D-6055-421B-ABE7-1B0E35259DFC}" +EndProject +Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "TestFunctionFSharp", "test\TestFunctionFSharp\TestFunctionFSharp\TestFunctionFSharp.fsproj", "{CB38FA21-5814-4573-94C7-3672D61BC8B8}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestFunctionCSharp", "test\TestFunctionFSharp\TestFunctionCSharp\TestFunctionCSharp.csproj", "{2810A66B-3A03-4889-A4D0-0E8838474A4A}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.SQSEvents", "src\Amazon.Lambda.SQSEvents\Amazon.Lambda.SQSEvents.csproj", "{74BFF877-D276-43BF-AC3A-E65BF26E4E2F}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.PowerShellHost", "src\Amazon.Lambda.PowerShellHost\Amazon.Lambda.PowerShellHost.csproj", "{51CAD9E3-B5AE-4787-915E-7FA096CF783F}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TestPowerShellFunctions", "TestPowerShellFunctions", "{ADEC039D-0C34-4DA7-802B-6204FFE3F1F5}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PowerShellTests", "test\PowerShellTests\PowerShellTests.csproj", "{997B1047-4361-4E6D-9850-F130EC188141}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PowerShellScriptsAsFunctions", "test\TestPowerShellFunctions\PowerShellScriptsAsFunctions\PowerShellScriptsAsFunctions.csproj", "{0AD1E5D6-AC23-47C1-97BF-227007021B6F}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.CloudWatchEvents", "src\Amazon.Lambda.CloudWatchEvents\Amazon.Lambda.CloudWatchEvents.csproj", "{AD96AA48-2E1A-4BBB-9329-E1E484172FE3}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.ApplicationLoadBalancerEvents", "src\Amazon.Lambda.ApplicationLoadBalancerEvents\Amazon.Lambda.ApplicationLoadBalancerEvents.csproj", "{0E743512-2FE4-40AD-935A-17B40ACF82C1}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.RuntimeSupport", "src\Amazon.Lambda.RuntimeSupport\Amazon.Lambda.RuntimeSupport.csproj", "{0046EAB1-FA73-4D7A-A7CD-936E943F775E}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Amazon.Lambda.RuntimeSupport.Tests", "Amazon.Lambda.RuntimeSupport.Tests", "{B5BD0336-7D08-492C-8489-42C987E29B39}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CustomRuntimeFunctionTest", "test\Amazon.Lambda.RuntimeSupport.Tests\CustomRuntimeFunctionTest\CustomRuntimeFunctionTest.csproj", "{61934DD2-CFBB-48E1-947C-75E8F736734C}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.RuntimeSupport.IntegrationTests", "test\Amazon.Lambda.RuntimeSupport.Tests\Amazon.Lambda.RuntimeSupport.IntegrationTests\Amazon.Lambda.RuntimeSupport.IntegrationTests.csproj", "{39FD7632-73D0-4BB3-AE99-DC7B8B251E29}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.RuntimeSupport.UnitTests", "test\Amazon.Lambda.RuntimeSupport.Tests\Amazon.Lambda.RuntimeSupport.UnitTests\Amazon.Lambda.RuntimeSupport.UnitTests.csproj", "{10E47FE4-8620-4933-A14D-E33F25CA557A}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.Lambda.Serialization.SystemTextJson", "src\Amazon.Lambda.Serialization.SystemTextJson\Amazon.Lambda.Serialization.SystemTextJson.csproj", "{AA6BA0B8-D61E-49E7-BC1B-19410E25F005}" +EndProject +Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "EventsTests.Shared", "test\EventsTests.Shared\EventsTests.Shared.shproj", "{A2CB78BB-E54F-48CA-BBFB-9553D27EF23D}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EventsTests.NETCore31", "test\EventsTests.NETCore31\EventsTests.NETCore31.csproj", "{44E9D925-B61D-4234-97B7-61424C963BA6}" +EndProject +Global + GlobalSection(SharedMSBuildProjectFiles) = preSolution + test\EventsTests.Shared\EventsTests.Shared.projitems*{a2cb78bb-e54f-48ca-bbfb-9553d27ef23d}*SharedItemsImports = 13 + EndGlobalSection + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {51F5E824-CAE2-4EF4-9131-13256BFD28B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {51F5E824-CAE2-4EF4-9131-13256BFD28B6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {51F5E824-CAE2-4EF4-9131-13256BFD28B6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {51F5E824-CAE2-4EF4-9131-13256BFD28B6}.Release|Any CPU.Build.0 = Release|Any CPU + {201AC4EB-48D8-4E4A-A336-BB16DD630A19}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {201AC4EB-48D8-4E4A-A336-BB16DD630A19}.Debug|Any CPU.Build.0 = Debug|Any CPU + {201AC4EB-48D8-4E4A-A336-BB16DD630A19}.Release|Any CPU.ActiveCfg = Release|Any CPU + {201AC4EB-48D8-4E4A-A336-BB16DD630A19}.Release|Any CPU.Build.0 = Release|Any CPU + {C148726C-9555-4347-89B4-B9A514EBB02C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C148726C-9555-4347-89B4-B9A514EBB02C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C148726C-9555-4347-89B4-B9A514EBB02C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C148726C-9555-4347-89B4-B9A514EBB02C}.Release|Any CPU.Build.0 = Release|Any CPU + {13A0F4C9-69EC-4B8E-A00F-7BAE23CC16E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {13A0F4C9-69EC-4B8E-A00F-7BAE23CC16E7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {13A0F4C9-69EC-4B8E-A00F-7BAE23CC16E7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {13A0F4C9-69EC-4B8E-A00F-7BAE23CC16E7}.Release|Any CPU.Build.0 = Release|Any CPU + {25813AAC-F0B3-4591-AA99-67983394623B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {25813AAC-F0B3-4591-AA99-67983394623B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {25813AAC-F0B3-4591-AA99-67983394623B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {25813AAC-F0B3-4591-AA99-67983394623B}.Release|Any CPU.Build.0 = Release|Any CPU + {480D89E0-4334-4903-82CD-1B8ADF09D019}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {480D89E0-4334-4903-82CD-1B8ADF09D019}.Debug|Any CPU.Build.0 = Debug|Any CPU + {480D89E0-4334-4903-82CD-1B8ADF09D019}.Release|Any CPU.ActiveCfg = Release|Any CPU + {480D89E0-4334-4903-82CD-1B8ADF09D019}.Release|Any CPU.Build.0 = Release|Any CPU + {105B1BBB-4114-4D86-812E-EFFBB6E47CE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {105B1BBB-4114-4D86-812E-EFFBB6E47CE5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {105B1BBB-4114-4D86-812E-EFFBB6E47CE5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {105B1BBB-4114-4D86-812E-EFFBB6E47CE5}.Release|Any CPU.Build.0 = Release|Any CPU + {6BF4EC9F-FB9E-4898-81F7-B392BF83D2B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6BF4EC9F-FB9E-4898-81F7-B392BF83D2B0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6BF4EC9F-FB9E-4898-81F7-B392BF83D2B0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6BF4EC9F-FB9E-4898-81F7-B392BF83D2B0}.Release|Any CPU.Build.0 = Release|Any CPU + {CB170908-F770-4554-A974-9653562F1042}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CB170908-F770-4554-A974-9653562F1042}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CB170908-F770-4554-A974-9653562F1042}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CB170908-F770-4554-A974-9653562F1042}.Release|Any CPU.Build.0 = Release|Any CPU + {3ED92849-4103-4AEF-B406-FF856C134C4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3ED92849-4103-4AEF-B406-FF856C134C4B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3ED92849-4103-4AEF-B406-FF856C134C4B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3ED92849-4103-4AEF-B406-FF856C134C4B}.Release|Any CPU.Build.0 = Release|Any CPU + {D4B8939E-9684-4237-861C-2288EB5DD4E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D4B8939E-9684-4237-861C-2288EB5DD4E8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D4B8939E-9684-4237-861C-2288EB5DD4E8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D4B8939E-9684-4237-861C-2288EB5DD4E8}.Release|Any CPU.Build.0 = Release|Any CPU + {D05BF033-DA2C-463C-BB98-64D28E1A4A75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D05BF033-DA2C-463C-BB98-64D28E1A4A75}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D05BF033-DA2C-463C-BB98-64D28E1A4A75}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D05BF033-DA2C-463C-BB98-64D28E1A4A75}.Release|Any CPU.Build.0 = Release|Any CPU + {0083B713-6399-479D-AA06-58D3E87F167D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0083B713-6399-479D-AA06-58D3E87F167D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0083B713-6399-479D-AA06-58D3E87F167D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0083B713-6399-479D-AA06-58D3E87F167D}.Release|Any CPU.Build.0 = Release|Any CPU + {5B48AEA8-5702-45A8-9D89-CEB986E6DBC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5B48AEA8-5702-45A8-9D89-CEB986E6DBC1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5B48AEA8-5702-45A8-9D89-CEB986E6DBC1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5B48AEA8-5702-45A8-9D89-CEB986E6DBC1}.Release|Any CPU.Build.0 = Release|Any CPU + {101ABE51-390D-41DF-A70B-2BD3B08B2CC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {101ABE51-390D-41DF-A70B-2BD3B08B2CC7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {101ABE51-390D-41DF-A70B-2BD3B08B2CC7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {101ABE51-390D-41DF-A70B-2BD3B08B2CC7}.Release|Any CPU.Build.0 = Release|Any CPU + {A612EC01-6595-4EA6-B0EF-FF00E4FB331D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A612EC01-6595-4EA6-B0EF-FF00E4FB331D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A612EC01-6595-4EA6-B0EF-FF00E4FB331D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A612EC01-6595-4EA6-B0EF-FF00E4FB331D}.Release|Any CPU.Build.0 = Release|Any CPU + {D96E1572-C079-413A-BFA0-235000700DDB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D96E1572-C079-413A-BFA0-235000700DDB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D96E1572-C079-413A-BFA0-235000700DDB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D96E1572-C079-413A-BFA0-235000700DDB}.Release|Any CPU.Build.0 = Release|Any CPU + {11A53C8D-A49B-4477-BFD9-E00C77D1291C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {11A53C8D-A49B-4477-BFD9-E00C77D1291C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {11A53C8D-A49B-4477-BFD9-E00C77D1291C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {11A53C8D-A49B-4477-BFD9-E00C77D1291C}.Release|Any CPU.Build.0 = Release|Any CPU + {A6348510-7948-46B1-A2C4-396B8C55440C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A6348510-7948-46B1-A2C4-396B8C55440C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A6348510-7948-46B1-A2C4-396B8C55440C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A6348510-7948-46B1-A2C4-396B8C55440C}.Release|Any CPU.Build.0 = Release|Any CPU + {F93EFEFF-FD1F-48F1-A0F1-BBE87205129E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F93EFEFF-FD1F-48F1-A0F1-BBE87205129E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F93EFEFF-FD1F-48F1-A0F1-BBE87205129E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F93EFEFF-FD1F-48F1-A0F1-BBE87205129E}.Release|Any CPU.Build.0 = Release|Any CPU + {E104E093-3562-4F07-B138-821A428DE267}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E104E093-3562-4F07-B138-821A428DE267}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E104E093-3562-4F07-B138-821A428DE267}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E104E093-3562-4F07-B138-821A428DE267}.Release|Any CPU.Build.0 = Release|Any CPU + {32827626-2128-49A0-A2A9-2F5076AADDAD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {32827626-2128-49A0-A2A9-2F5076AADDAD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {32827626-2128-49A0-A2A9-2F5076AADDAD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {32827626-2128-49A0-A2A9-2F5076AADDAD}.Release|Any CPU.Build.0 = Release|Any CPU + {EAC0F95B-B43A-49EB-A6DF-D0353DAD4593}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EAC0F95B-B43A-49EB-A6DF-D0353DAD4593}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EAC0F95B-B43A-49EB-A6DF-D0353DAD4593}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EAC0F95B-B43A-49EB-A6DF-D0353DAD4593}.Release|Any CPU.Build.0 = Release|Any CPU + {8C9EA16D-6055-421B-ABE7-1B0E35259DFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8C9EA16D-6055-421B-ABE7-1B0E35259DFC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8C9EA16D-6055-421B-ABE7-1B0E35259DFC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8C9EA16D-6055-421B-ABE7-1B0E35259DFC}.Release|Any CPU.Build.0 = Release|Any CPU + {CB38FA21-5814-4573-94C7-3672D61BC8B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CB38FA21-5814-4573-94C7-3672D61BC8B8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CB38FA21-5814-4573-94C7-3672D61BC8B8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CB38FA21-5814-4573-94C7-3672D61BC8B8}.Release|Any CPU.Build.0 = Release|Any CPU + {2810A66B-3A03-4889-A4D0-0E8838474A4A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2810A66B-3A03-4889-A4D0-0E8838474A4A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2810A66B-3A03-4889-A4D0-0E8838474A4A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2810A66B-3A03-4889-A4D0-0E8838474A4A}.Release|Any CPU.Build.0 = Release|Any CPU + {74BFF877-D276-43BF-AC3A-E65BF26E4E2F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {74BFF877-D276-43BF-AC3A-E65BF26E4E2F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {74BFF877-D276-43BF-AC3A-E65BF26E4E2F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {74BFF877-D276-43BF-AC3A-E65BF26E4E2F}.Release|Any CPU.Build.0 = Release|Any CPU + {51CAD9E3-B5AE-4787-915E-7FA096CF783F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {51CAD9E3-B5AE-4787-915E-7FA096CF783F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {51CAD9E3-B5AE-4787-915E-7FA096CF783F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {51CAD9E3-B5AE-4787-915E-7FA096CF783F}.Release|Any CPU.Build.0 = Release|Any CPU + {997B1047-4361-4E6D-9850-F130EC188141}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {997B1047-4361-4E6D-9850-F130EC188141}.Debug|Any CPU.Build.0 = Debug|Any CPU + {997B1047-4361-4E6D-9850-F130EC188141}.Release|Any CPU.ActiveCfg = Release|Any CPU + {997B1047-4361-4E6D-9850-F130EC188141}.Release|Any CPU.Build.0 = Release|Any CPU + {0AD1E5D6-AC23-47C1-97BF-227007021B6F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0AD1E5D6-AC23-47C1-97BF-227007021B6F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0AD1E5D6-AC23-47C1-97BF-227007021B6F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0AD1E5D6-AC23-47C1-97BF-227007021B6F}.Release|Any CPU.Build.0 = Release|Any CPU + {AD96AA48-2E1A-4BBB-9329-E1E484172FE3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AD96AA48-2E1A-4BBB-9329-E1E484172FE3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AD96AA48-2E1A-4BBB-9329-E1E484172FE3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AD96AA48-2E1A-4BBB-9329-E1E484172FE3}.Release|Any CPU.Build.0 = Release|Any CPU + {0E743512-2FE4-40AD-935A-17B40ACF82C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0E743512-2FE4-40AD-935A-17B40ACF82C1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0E743512-2FE4-40AD-935A-17B40ACF82C1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0E743512-2FE4-40AD-935A-17B40ACF82C1}.Release|Any CPU.Build.0 = Release|Any CPU + {0046EAB1-FA73-4D7A-A7CD-936E943F775E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0046EAB1-FA73-4D7A-A7CD-936E943F775E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0046EAB1-FA73-4D7A-A7CD-936E943F775E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0046EAB1-FA73-4D7A-A7CD-936E943F775E}.Release|Any CPU.Build.0 = Release|Any CPU + {61934DD2-CFBB-48E1-947C-75E8F736734C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {61934DD2-CFBB-48E1-947C-75E8F736734C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {61934DD2-CFBB-48E1-947C-75E8F736734C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {61934DD2-CFBB-48E1-947C-75E8F736734C}.Release|Any CPU.Build.0 = Release|Any CPU + {39FD7632-73D0-4BB3-AE99-DC7B8B251E29}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {39FD7632-73D0-4BB3-AE99-DC7B8B251E29}.Debug|Any CPU.Build.0 = Debug|Any CPU + {39FD7632-73D0-4BB3-AE99-DC7B8B251E29}.Release|Any CPU.ActiveCfg = Release|Any CPU + {39FD7632-73D0-4BB3-AE99-DC7B8B251E29}.Release|Any CPU.Build.0 = Release|Any CPU + {10E47FE4-8620-4933-A14D-E33F25CA557A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {10E47FE4-8620-4933-A14D-E33F25CA557A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {10E47FE4-8620-4933-A14D-E33F25CA557A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {10E47FE4-8620-4933-A14D-E33F25CA557A}.Release|Any CPU.Build.0 = Release|Any CPU + {AA6BA0B8-D61E-49E7-BC1B-19410E25F005}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AA6BA0B8-D61E-49E7-BC1B-19410E25F005}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AA6BA0B8-D61E-49E7-BC1B-19410E25F005}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AA6BA0B8-D61E-49E7-BC1B-19410E25F005}.Release|Any CPU.Build.0 = Release|Any CPU + {44E9D925-B61D-4234-97B7-61424C963BA6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {44E9D925-B61D-4234-97B7-61424C963BA6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {44E9D925-B61D-4234-97B7-61424C963BA6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {44E9D925-B61D-4234-97B7-61424C963BA6}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {51F5E824-CAE2-4EF4-9131-13256BFD28B6} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {201AC4EB-48D8-4E4A-A336-BB16DD630A19} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {C148726C-9555-4347-89B4-B9A514EBB02C} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} + {13A0F4C9-69EC-4B8E-A00F-7BAE23CC16E7} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {25813AAC-F0B3-4591-AA99-67983394623B} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {480D89E0-4334-4903-82CD-1B8ADF09D019} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {105B1BBB-4114-4D86-812E-EFFBB6E47CE5} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {6BF4EC9F-FB9E-4898-81F7-B392BF83D2B0} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {CB170908-F770-4554-A974-9653562F1042} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {3ED92849-4103-4AEF-B406-FF856C134C4B} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {D4B8939E-9684-4237-861C-2288EB5DD4E8} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {D05BF033-DA2C-463C-BB98-64D28E1A4A75} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {0083B713-6399-479D-AA06-58D3E87F167D} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {5B48AEA8-5702-45A8-9D89-CEB986E6DBC1} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} + {101ABE51-390D-41DF-A70B-2BD3B08B2CC7} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} + {A612EC01-6595-4EA6-B0EF-FF00E4FB331D} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} + {D96E1572-C079-413A-BFA0-235000700DDB} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} + {11A53C8D-A49B-4477-BFD9-E00C77D1291C} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} + {A6348510-7948-46B1-A2C4-396B8C55440C} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {F93EFEFF-FD1F-48F1-A0F1-BBE87205129E} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {E104E093-3562-4F07-B138-821A428DE267} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {32827626-2128-49A0-A2A9-2F5076AADDAD} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {EAC0F95B-B43A-49EB-A6DF-D0353DAD4593} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {BB021F02-D90F-469C-8D56-919771B7F4DE} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} + {8C9EA16D-6055-421B-ABE7-1B0E35259DFC} = {BB021F02-D90F-469C-8D56-919771B7F4DE} + {CB38FA21-5814-4573-94C7-3672D61BC8B8} = {BB021F02-D90F-469C-8D56-919771B7F4DE} + {2810A66B-3A03-4889-A4D0-0E8838474A4A} = {BB021F02-D90F-469C-8D56-919771B7F4DE} + {74BFF877-D276-43BF-AC3A-E65BF26E4E2F} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {51CAD9E3-B5AE-4787-915E-7FA096CF783F} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {ADEC039D-0C34-4DA7-802B-6204FFE3F1F5} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} + {997B1047-4361-4E6D-9850-F130EC188141} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} + {0AD1E5D6-AC23-47C1-97BF-227007021B6F} = {ADEC039D-0C34-4DA7-802B-6204FFE3F1F5} + {AD96AA48-2E1A-4BBB-9329-E1E484172FE3} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {0E743512-2FE4-40AD-935A-17B40ACF82C1} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {0046EAB1-FA73-4D7A-A7CD-936E943F775E} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {B5BD0336-7D08-492C-8489-42C987E29B39} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} + {61934DD2-CFBB-48E1-947C-75E8F736734C} = {B5BD0336-7D08-492C-8489-42C987E29B39} + {39FD7632-73D0-4BB3-AE99-DC7B8B251E29} = {B5BD0336-7D08-492C-8489-42C987E29B39} + {10E47FE4-8620-4933-A14D-E33F25CA557A} = {B5BD0336-7D08-492C-8489-42C987E29B39} + {AA6BA0B8-D61E-49E7-BC1B-19410E25F005} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12} + {A2CB78BB-E54F-48CA-BBFB-9553D27EF23D} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} + {44E9D925-B61D-4234-97B7-61424C963BA6} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69} + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {503678A4-B8D1-4486-8915-405A3E9CF0EB} + EndGlobalSection +EndGlobal diff --git a/Libraries/src/Amazon.Lambda.APIGatewayEvents/APIGatewayCustomAuthorizerPolicy.cs b/Libraries/src/Amazon.Lambda.APIGatewayEvents/APIGatewayCustomAuthorizerPolicy.cs index 33fada3c6..56846df35 100644 --- a/Libraries/src/Amazon.Lambda.APIGatewayEvents/APIGatewayCustomAuthorizerPolicy.cs +++ b/Libraries/src/Amazon.Lambda.APIGatewayEvents/APIGatewayCustomAuthorizerPolicy.cs @@ -10,11 +10,17 @@ public class APIGatewayCustomAuthorizerPolicy /// /// Gets or sets the IAM API version. /// +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("Version")] +#endif public string Version { get; set; } = "2012-10-17"; /// /// Gets or sets a list of IAM policy statements to apply. /// +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("Statement")] +#endif public List Statement { get; set; } = new List(); /// @@ -25,16 +31,25 @@ public class IAMPolicyStatement /// /// Gets or sets the effect the statement has. /// +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("Effect")] +#endif public string Effect { get; set; } = "Allow"; /// /// Gets or sets the action/s the statement has. /// +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("Action")] +#endif public HashSet Action { get; set; } /// /// Gets or sets the resources the statement applies to. /// +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("Resource")] +#endif public HashSet Resource { get; set; } } } diff --git a/Libraries/src/Amazon.Lambda.APIGatewayEvents/APIGatewayCustomAuthorizerResponse.cs b/Libraries/src/Amazon.Lambda.APIGatewayEvents/APIGatewayCustomAuthorizerResponse.cs index daeb6b75f..132345227 100644 --- a/Libraries/src/Amazon.Lambda.APIGatewayEvents/APIGatewayCustomAuthorizerResponse.cs +++ b/Libraries/src/Amazon.Lambda.APIGatewayEvents/APIGatewayCustomAuthorizerResponse.cs @@ -12,24 +12,36 @@ public class APIGatewayCustomAuthorizerResponse /// Gets or sets the ID of the principal. /// [DataMember(Name = "principalId")] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("principalId")] +#endif public string PrincipalID { get; set; } /// /// Gets or sets the policy document. /// [DataMember(Name = "policyDocument")] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("policyDocument")] +#endif public APIGatewayCustomAuthorizerPolicy PolicyDocument { get; set; } = new APIGatewayCustomAuthorizerPolicy(); /// /// Gets or sets the property. /// [DataMember(Name = "context")] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("context")] +#endif public APIGatewayCustomAuthorizerContextOutput Context { get; set; } /// /// Gets or sets the usageIdentifierKey. /// [DataMember(Name = "usageIdentifierKey")] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("usageIdentifierKey")] +#endif public string UsageIdentifierKey { get; set; } } } diff --git a/Libraries/src/Amazon.Lambda.APIGatewayEvents/APIGatewayProxyResponse.cs b/Libraries/src/Amazon.Lambda.APIGatewayEvents/APIGatewayProxyResponse.cs index 2581406f9..cdc2baa52 100644 --- a/Libraries/src/Amazon.Lambda.APIGatewayEvents/APIGatewayProxyResponse.cs +++ b/Libraries/src/Amazon.Lambda.APIGatewayEvents/APIGatewayProxyResponse.cs @@ -14,6 +14,9 @@ public class APIGatewayProxyResponse /// The HTTP status code for the request /// [DataMember(Name = "statusCode")] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("statusCode")] +#endif public int StatusCode { get; set; } /// @@ -22,6 +25,9 @@ public class APIGatewayProxyResponse /// before returning back the headers to the caller. /// [DataMember(Name = "headers")] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("headers")] +#endif public IDictionary Headers { get; set; } /// @@ -30,18 +36,27 @@ public class APIGatewayProxyResponse /// before returning back the headers to the caller. /// [DataMember(Name = "multiValueHeaders")] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("multiValueHeaders")] +#endif public IDictionary> MultiValueHeaders { get; set; } /// /// The response body /// [DataMember(Name = "body")] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("body")] +#endif public string Body { get; set; } /// /// Flag indicating whether the body should be treated as a base64-encoded string /// [DataMember(Name = "isBase64Encoded")] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("isBase64Encoded")] +#endif public bool IsBase64Encoded { get; set; } } } diff --git a/Libraries/src/Amazon.Lambda.APIGatewayEvents/Amazon.Lambda.APIGatewayEvents.csproj b/Libraries/src/Amazon.Lambda.APIGatewayEvents/Amazon.Lambda.APIGatewayEvents.csproj index dc7d9dbd2..6ba72c0aa 100644 --- a/Libraries/src/Amazon.Lambda.APIGatewayEvents/Amazon.Lambda.APIGatewayEvents.csproj +++ b/Libraries/src/Amazon.Lambda.APIGatewayEvents/Amazon.Lambda.APIGatewayEvents.csproj @@ -3,15 +3,19 @@ - netstandard1.3;netstandard2.0 + netstandard2.0;netcoreapp3.1 Amazon Lambda .NET Core support - API Gateway package. Amazon.Lambda.APIGatewayEvents - 1.3.0 + 2.0.0-preview1 Amazon.Lambda.APIGatewayEvents Amazon.Lambda.APIGatewayEvents AWS;Amazon;Lambda + + NETCOREAPP_3_1 + + diff --git a/Libraries/src/Amazon.Lambda.AspNetCoreServer/AbstractAspNetCoreFunction.cs b/Libraries/src/Amazon.Lambda.AspNetCoreServer/AbstractAspNetCoreFunction.cs index 2d6e5632c..ef4f2ed08 100644 --- a/Libraries/src/Amazon.Lambda.AspNetCoreServer/AbstractAspNetCoreFunction.cs +++ b/Libraries/src/Amazon.Lambda.AspNetCoreServer/AbstractAspNetCoreFunction.cs @@ -12,7 +12,7 @@ using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Http.Features.Authentication; -#if NETCOREAPP_3_0 +#if NETCOREAPP_3_1 using Microsoft.Extensions.Hosting; #endif @@ -341,7 +341,11 @@ protected string ErrorReport(Exception e) /// /// /// +#if NETCOREAPP_2_1 [LambdaSerializer(typeof(Amazon.Lambda.Serialization.Json.JsonSerializer))] +#elif NETCOREAPP_3_1 + [LambdaSerializer(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif public virtual async Task FunctionHandlerAsync(TREQUEST request, ILambdaContext lambdaContext) { if (!IsStarted) diff --git a/Libraries/src/Amazon.Lambda.AspNetCoreServer/Amazon.Lambda.AspNetCoreServer.csproj b/Libraries/src/Amazon.Lambda.AspNetCoreServer/Amazon.Lambda.AspNetCoreServer.csproj index 295540ca7..c5505c9cd 100644 --- a/Libraries/src/Amazon.Lambda.AspNetCoreServer/Amazon.Lambda.AspNetCoreServer.csproj +++ b/Libraries/src/Amazon.Lambda.AspNetCoreServer/Amazon.Lambda.AspNetCoreServer.csproj @@ -4,9 +4,9 @@ Amazon.Lambda.AspNetCoreServer makes it easy to run ASP.NET Core Web API applications as AWS Lambda functions. - netstandard2.0;netcoreapp3.0 + netstandard2.0;netcoreapp3.1 Amazon.Lambda.AspNetCoreServer - 4.1.0 + 5.0.0-preview1 Amazon.Lambda.AspNetCoreServer Amazon.Lambda.AspNetCoreServer AWS;Amazon;Lambda;aspnetcore @@ -17,15 +17,14 @@ NETSTANDARD_2_0,NETCOREAPP_2_1 - - NETCOREAPP_3_0 + + NETCOREAPP_3_1 - @@ -33,9 +32,11 @@ + - + + diff --git a/Libraries/src/Amazon.Lambda.CloudWatchEvents/Amazon.Lambda.CloudWatchEvents.csproj b/Libraries/src/Amazon.Lambda.CloudWatchEvents/Amazon.Lambda.CloudWatchEvents.csproj index 02046c784..df216e929 100644 --- a/Libraries/src/Amazon.Lambda.CloudWatchEvents/Amazon.Lambda.CloudWatchEvents.csproj +++ b/Libraries/src/Amazon.Lambda.CloudWatchEvents/Amazon.Lambda.CloudWatchEvents.csproj @@ -3,13 +3,17 @@ - netstandard2.0 + netstandard2.0;netcoreapp3.1 Amazon Lambda .NET Core support - CloudWatchEvents package. Amazon.Lambda.CloudWatchEvents - 1.0.0 + 2.0.0-preview1 Amazon.Lambda.CloudWatchEvents Amazon.Lambda.CloudWatchEvents AWS;Amazon;Lambda + + NETCOREAPP_3_1 + + diff --git a/Libraries/src/Amazon.Lambda.CloudWatchEvents/CloudWatchEvent.cs b/Libraries/src/Amazon.Lambda.CloudWatchEvents/CloudWatchEvent.cs index 55968369e..7f223b3d8 100644 --- a/Libraries/src/Amazon.Lambda.CloudWatchEvents/CloudWatchEvent.cs +++ b/Libraries/src/Amazon.Lambda.CloudWatchEvents/CloudWatchEvent.cs @@ -40,6 +40,9 @@ public class CloudWatchEvent /// For example, ScheduledEvent will be null /// For example, ECSEvent could be "ECS Container Instance State Change" or "ECS Task State Change" /// +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("detail-type")] +#endif public string DetailType { get; set; } /// diff --git a/Libraries/src/Amazon.Lambda.CloudWatchLogsEvents/Amazon.Lambda.CloudWatchLogsEvents.csproj b/Libraries/src/Amazon.Lambda.CloudWatchLogsEvents/Amazon.Lambda.CloudWatchLogsEvents.csproj index 43db7d050..326fc86b3 100644 --- a/Libraries/src/Amazon.Lambda.CloudWatchLogsEvents/Amazon.Lambda.CloudWatchLogsEvents.csproj +++ b/Libraries/src/Amazon.Lambda.CloudWatchLogsEvents/Amazon.Lambda.CloudWatchLogsEvents.csproj @@ -2,14 +2,18 @@ Amazon Lambda .NET Core support - CloudWatchLogsEvents package. - netstandard1.3;netstandard2.0 + netstandard2.0;netcoreapp3.1 Amazon.Lambda.CloudWatchLogsEvents - 1.1.0 + 2.0.0-preview1 Amazon.Lambda.CloudWatchLogsEvents Amazon.Lambda.CloudWatchLogsEvents AWS;Amazon;Lambda + + NETCOREAPP_3_1 + + diff --git a/Libraries/src/Amazon.Lambda.CloudWatchLogsEvents/CloudWatchLogsEvents.cs b/Libraries/src/Amazon.Lambda.CloudWatchLogsEvents/CloudWatchLogsEvents.cs index 16beb8346..8d95ea171 100644 --- a/Libraries/src/Amazon.Lambda.CloudWatchLogsEvents/CloudWatchLogsEvents.cs +++ b/Libraries/src/Amazon.Lambda.CloudWatchLogsEvents/CloudWatchLogsEvents.cs @@ -30,6 +30,9 @@ public class Log /// The data that are base64 encoded and gziped messages in LogStreams. /// [DataMember(Name = "data", IsRequired = false)] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("data")] +#endif public string EncodedData { get; set; } /// diff --git a/Libraries/src/Amazon.Lambda.KinesisAnalyticsEvents/Amazon.Lambda.KinesisAnalyticsEvents.csproj b/Libraries/src/Amazon.Lambda.KinesisAnalyticsEvents/Amazon.Lambda.KinesisAnalyticsEvents.csproj index c023c7141..29ae67648 100644 --- a/Libraries/src/Amazon.Lambda.KinesisAnalyticsEvents/Amazon.Lambda.KinesisAnalyticsEvents.csproj +++ b/Libraries/src/Amazon.Lambda.KinesisAnalyticsEvents/Amazon.Lambda.KinesisAnalyticsEvents.csproj @@ -3,15 +3,19 @@ - netstandard1.3;netstandard2.0 + netstandard2.0;netcoreapp3.1 Amazon Lambda .NET Core support - Amazon Kinesis Analytics package. Amazon.Lambda.KinesisAnalyticsEvents - 1.1.0 + 2.0.0-preview1 Amazon.Lambda.KinesisAnalyticsEvents Amazon.Lambda.KinesisAnalyticsEvents AWS;Amazon;Lambda;KinesisAnalytics + + NETCOREAPP_3_1 + + diff --git a/Libraries/src/Amazon.Lambda.KinesisAnalyticsEvents/KinesisAnalyticsInputPreprocessingResponse.cs b/Libraries/src/Amazon.Lambda.KinesisAnalyticsEvents/KinesisAnalyticsInputPreprocessingResponse.cs index 303faad30..7bbd62324 100644 --- a/Libraries/src/Amazon.Lambda.KinesisAnalyticsEvents/KinesisAnalyticsInputPreprocessingResponse.cs +++ b/Libraries/src/Amazon.Lambda.KinesisAnalyticsEvents/KinesisAnalyticsInputPreprocessingResponse.cs @@ -33,6 +33,9 @@ public class KinesisAnalyticsInputPreprocessingResponse /// The records. /// [DataMember(Name = "records")] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("records")] +#endif public IList Records { get; set; } /// @@ -48,6 +51,9 @@ public class Record /// The record identifier. /// [DataMember(Name = "recordId")] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("recordId")] +#endif public string RecordId { get; set; } /// @@ -57,6 +63,9 @@ public class Record /// The result. /// [DataMember(Name = "result")] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("result")] +#endif public string Result { get; set; } /// @@ -66,7 +75,11 @@ public class Record /// The base64 encoded data. /// [DataMember(Name = "data")] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("data")] +#endif public string Base64EncodedData { get; set; } + /// /// Encodes the data. /// diff --git a/Libraries/src/Amazon.Lambda.KinesisAnalyticsEvents/KinesisAnalyticsOutputDeliveryEvent.cs b/Libraries/src/Amazon.Lambda.KinesisAnalyticsEvents/KinesisAnalyticsOutputDeliveryEvent.cs index 7f11d3983..bf9eda67b 100644 --- a/Libraries/src/Amazon.Lambda.KinesisAnalyticsEvents/KinesisAnalyticsOutputDeliveryEvent.cs +++ b/Libraries/src/Amazon.Lambda.KinesisAnalyticsEvents/KinesisAnalyticsOutputDeliveryEvent.cs @@ -85,6 +85,9 @@ public class LambdaDeliveryRecordMetadata /// The base64 encoded data. /// [DataMember(Name = "data")] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("data")] +#endif public string Base64EncodedData { get; set; } /// diff --git a/Libraries/src/Amazon.Lambda.KinesisAnalyticsEvents/KinesisAnalyticsStreamsInputPreprocessingEvent.cs b/Libraries/src/Amazon.Lambda.KinesisAnalyticsEvents/KinesisAnalyticsStreamsInputPreprocessingEvent.cs index c6f6320ae..15e4ba7d0 100644 --- a/Libraries/src/Amazon.Lambda.KinesisAnalyticsEvents/KinesisAnalyticsStreamsInputPreprocessingEvent.cs +++ b/Libraries/src/Amazon.Lambda.KinesisAnalyticsEvents/KinesisAnalyticsStreamsInputPreprocessingEvent.cs @@ -131,6 +131,9 @@ public DateTime ApproximateArrivalTimestamp /// The base64 encoded data. /// [DataMember(Name = "data")] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("data")] +#endif public string Base64EncodedData { get; set; } /// diff --git a/Libraries/src/Amazon.Lambda.KinesisFirehoseEvents/Amazon.Lambda.KinesisFirehoseEvents.csproj b/Libraries/src/Amazon.Lambda.KinesisFirehoseEvents/Amazon.Lambda.KinesisFirehoseEvents.csproj index 41bafd160..91a3f80d6 100644 --- a/Libraries/src/Amazon.Lambda.KinesisFirehoseEvents/Amazon.Lambda.KinesisFirehoseEvents.csproj +++ b/Libraries/src/Amazon.Lambda.KinesisFirehoseEvents/Amazon.Lambda.KinesisFirehoseEvents.csproj @@ -2,15 +2,19 @@ - netstandard1.3;netstandard2.0 + netstandard2.0;netcoreapp3.1 Amazon Lambda .NET Core support - Amazon Kinesis Firehose package. Amazon.Lambda.KinesisFirehoseEvents - 1.1.0 + 2.0.0-preview1 Amazon.Lambda.KinesisFirehoseEvents Amazon.Lambda.KinesisFirehoseEvents AWS;Amazon;Lambda;KinesisFirehose - + + + NETCOREAPP_3_1 + + diff --git a/Libraries/src/Amazon.Lambda.KinesisFirehoseEvents/KinesisFirehoseEvent.cs b/Libraries/src/Amazon.Lambda.KinesisFirehoseEvents/KinesisFirehoseEvent.cs index 5c231d121..08845a3ab 100644 --- a/Libraries/src/Amazon.Lambda.KinesisFirehoseEvents/KinesisFirehoseEvent.cs +++ b/Libraries/src/Amazon.Lambda.KinesisFirehoseEvents/KinesisFirehoseEvent.cs @@ -51,12 +51,18 @@ public class FirehoseRecord /// The approximate time the record was sent to Kinesis Firehose as a Unix epoch. /// [DataMember(Name = "approximateArrivalTimestamp")] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("approximateArrivalTimestamp")] +#endif public long ApproximateArrivalEpoch { get; set; } /// /// The approximate time the record was sent to Kinesis Firehose. /// [IgnoreDataMember] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonIgnore()] +#endif public DateTime ApproximateArrivalTimestamp { get @@ -70,6 +76,9 @@ public DateTime ApproximateArrivalTimestamp /// The data sent through as a Kinesis Firehose record. The data is sent to the Lambda function base64 encoded. /// [DataMember(Name = "data")] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("data")] +#endif public string Base64EncodedData { get; set; } /// diff --git a/Libraries/src/Amazon.Lambda.KinesisFirehoseEvents/KinesisFirehoseResponse.cs b/Libraries/src/Amazon.Lambda.KinesisFirehoseEvents/KinesisFirehoseResponse.cs index dc8589f79..7bd333ff2 100644 --- a/Libraries/src/Amazon.Lambda.KinesisFirehoseEvents/KinesisFirehoseResponse.cs +++ b/Libraries/src/Amazon.Lambda.KinesisFirehoseEvents/KinesisFirehoseResponse.cs @@ -78,6 +78,9 @@ public class FirehoseRecord /// The transformed data payload, after base64-encoding. /// [DataMember(Name = "data")] +#if NETCOREAPP_3_1 + [System.Text.Json.Serialization.JsonPropertyName("data")] +#endif public string Base64EncodedData { get; set; } /// diff --git a/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Amazon.Lambda.Serialization.SystemTextJson.csproj b/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Amazon.Lambda.Serialization.SystemTextJson.csproj new file mode 100644 index 000000000..e91740765 --- /dev/null +++ b/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Amazon.Lambda.Serialization.SystemTextJson.csproj @@ -0,0 +1,19 @@ + + + + + + netcoreapp3.1 + Amazon Lambda .NET Core support - Serialization.Json with System.Text.Json. + Amazon.Lambda.Serialization.SystemTextJson + Amazon.Lambda.Serialization.SystemTextJson + Amazon.Lambda.Serialization.SystemTextJson + AWS;Amazon;Lambda + 0.5.0-preview1 + + + + + + + diff --git a/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/AwsNamingPolicy.cs b/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/AwsNamingPolicy.cs new file mode 100644 index 000000000..6cbbc7b1a --- /dev/null +++ b/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/AwsNamingPolicy.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; +using System.Text.Json; + +namespace Amazon.Lambda.Serialization.SystemTextJson +{ + /// + /// Custom AWS naming policy + /// + public class AwsNamingPolicy : JsonNamingPolicy + { + readonly IDictionary _customNameMappings = new Dictionary + { + {"XAmzId2", "x-amz-id-2" }, + {"XAmzRequestId", "x-amz-request-id" } + }; + + /// + /// Map names that don't camel case. + /// + /// + /// + public override string ConvertName(string name) + { + if (_customNameMappings.TryGetValue(name, out var mapNamed)) + { + return mapNamed; + } + + return JsonNamingPolicy.CamelCase.ConvertName(name); + } + } +} diff --git a/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Converters/ConstantClassConverter.cs b/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Converters/ConstantClassConverter.cs new file mode 100644 index 000000000..7e1f8cb98 --- /dev/null +++ b/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Converters/ConstantClassConverter.cs @@ -0,0 +1,61 @@ +using System; +using System.Text.Json; +using System.Text.Json.Serialization; +using System.Threading; +using System.Collections.Generic; + +namespace Amazon.Lambda.Serialization.SystemTextJson.Converters +{ + /// + /// JsonConvert to handle the AWS SDK for .NET custom enum classes that derive from the class called ConstantClass. + /// + /// + /// Because this package can not take a dependency on AWSSDK.Core we need to use name heuristics and reflection to determine if the type + /// extends from ConstantClass. + /// + public class ConstantClassConverter : JsonConverter + { + private const string CONSTANT_CLASS_NAME = "Amazon.Runtime.ConstantClass"; + + private readonly static HashSet ConstantClassNames = new HashSet + { + "Amazon.S3.EventType", + "Amazon.DynamoDBv2.OperationType", + "Amazon.DynamoDBv2.StreamViewType" + }; + + /// + /// Check to see if the type is derived from ConstantClass. + /// + /// + /// + public override bool CanConvert(Type typeToConvert) + { + return ConstantClassNames.Contains(typeToConvert.FullName); + } + + /// + /// Called when a JSON document is being reading and a property is being converted to a ConstantClass type. + /// + /// + /// + /// + /// + public override object Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var value = reader.GetString(); + return Activator.CreateInstance(typeToConvert, new object[] {value}); + } + + /// + /// Called when writing the ConstantClass out to the JSON document. + /// + /// + /// + /// + public override void Write(Utf8JsonWriter writer, object value, JsonSerializerOptions options) + { + writer.WriteStringValue(value.ToString()); + } + } +} diff --git a/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Converters/DateTimeConverter.cs b/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Converters/DateTimeConverter.cs new file mode 100644 index 000000000..c37d011ea --- /dev/null +++ b/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Converters/DateTimeConverter.cs @@ -0,0 +1,53 @@ +using System; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Amazon.Lambda.Serialization.SystemTextJson.Converters +{ + /// + /// DateTime converter that handles the JSON read for deserialization might use an epoch time. + /// + public class DateTimeConverter : JsonConverter + { + /// + /// Converts the value to a DateTime. If the JSON type is a number then it assumes the time is represented as + /// an epoch time. + /// + /// + /// + /// + /// + public override DateTime Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + + if(reader.TokenType == JsonTokenType.String && reader.TryGetDateTime(out var date)) + { + return date; + } + else if(reader.TokenType == JsonTokenType.Number) + { + if (reader.TryGetInt64(out var intSeconds)) + { + return DateTime.UnixEpoch.AddSeconds(intSeconds); + } + if (reader.TryGetDouble(out var doubleSeconds)) + { + return DateTime.UnixEpoch.AddSeconds(doubleSeconds); + } + } + + throw new JsonSerializerException($"Unknown data type for DateTime: {reader.TokenType}"); + } + + /// + /// Uses System.Text.Json's default functionality to write dates to the Serialization document. + /// + /// + /// + /// + public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options) + { + writer.WriteStringValue(value); + } + } +} diff --git a/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Converters/MemoryStreamConverter.cs b/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Converters/MemoryStreamConverter.cs new file mode 100644 index 000000000..2bb60d347 --- /dev/null +++ b/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Converters/MemoryStreamConverter.cs @@ -0,0 +1,40 @@ +using System; +using System.IO; +using System.Text.Json; +using System.Text.Json.Serialization; +using System.Threading; + +namespace Amazon.Lambda.Serialization.SystemTextJson.Converters +{ + /// + /// Handles converting MemoryStreams from and to base 64 strings. + /// + public class MemoryStreamConverter : JsonConverter + { + /// + /// Reads the value as a string assuming it is a base 64 string and converts the string to a MemoryStream. + /// + /// + /// + /// + /// + public override MemoryStream Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var dataBase64 = reader.GetString(); + var dataBytes = Convert.FromBase64String(dataBase64); + var ms = new MemoryStream(dataBytes); + return ms; + } + + /// + /// Writes the MemoryStream as a base 64 string. + /// + /// + /// + /// + public override void Write(Utf8JsonWriter writer, MemoryStream value, JsonSerializerOptions options) + { + writer.WriteStringValue(Convert.ToBase64String(value.ToArray())); + } + } +} diff --git a/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/JsonSerializerException.cs b/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/JsonSerializerException.cs new file mode 100644 index 000000000..5a94bd9b6 --- /dev/null +++ b/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/JsonSerializerException.cs @@ -0,0 +1,23 @@ +using System; + +namespace Amazon.Lambda.Serialization.SystemTextJson +{ + /// + /// Exception thrown when errors occur serializing and deserializng JSON documents from the Lambda service + /// + public class JsonSerializerException : Exception + { + /// + /// Constructs instances of JsonSerializerException + /// + /// Exception message + public JsonSerializerException(string message) : base(message) { } + + /// + /// Constructs instances of JsonSerializerException + /// + /// Exception message + /// Inner exception for the JsonSerializerException + public JsonSerializerException(string message, Exception exception) : base(message, exception) { } + } +} \ No newline at end of file diff --git a/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/LambdaJsonSerializer.cs b/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/LambdaJsonSerializer.cs new file mode 100644 index 000000000..f5d585a63 --- /dev/null +++ b/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/LambdaJsonSerializer.cs @@ -0,0 +1,150 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Text; +using System.Text.Json; +using Amazon.Lambda.Core; +using Amazon.Lambda.Serialization.SystemTextJson.Converters; + +namespace Amazon.Lambda.Serialization.SystemTextJson +{ + /// + /// Custom ILambdaSerializer implementation which uses System.Text.Json + /// for serialization. + /// + /// + /// If the environment variable LAMBDA_NET_SERIALIZER_DEBUG is set to true the JSON coming + /// in from Lambda and being sent back to Lambda will be logged. + /// + /// + public class LambdaJsonSerializer : ILambdaSerializer + { + private const string DEBUG_ENVIRONMENT_VARIABLE_NAME = "LAMBDA_NET_SERIALIZER_DEBUG"; + private readonly JsonSerializerOptions _options; + private readonly bool _debug; + + /// + /// Constructs instance of serializer. + /// + public LambdaJsonSerializer() + { + _options = new JsonSerializerOptions() + { + IgnoreNullValues = true, + PropertyNameCaseInsensitive = true, + PropertyNamingPolicy = new AwsNamingPolicy() + }; + + _options.Converters.Add(new DateTimeConverter()); + _options.Converters.Add(new MemoryStreamConverter()); + _options.Converters.Add(new ConstantClassConverter()); + + if (string.Equals(Environment.GetEnvironmentVariable(DEBUG_ENVIRONMENT_VARIABLE_NAME), "true", StringComparison.OrdinalIgnoreCase)) + { + this._debug = true; + } + } + + /// + /// Constructs instance of serializer with the option to customize the JsonSerializerOptions after the + /// Amazon.Lambda.Serialization.SystemTextJson's default settings have been applied. + /// + /// + public LambdaJsonSerializer(Action customizer) + : this() + { + customizer?.Invoke(this._options); + } + + /// + /// Serializes a particular object to a stream. + /// + /// Type of object to serialize. + /// Object to serialize. + /// Output stream. + public void Serialize(T response, Stream responseStream) + { + try + { + if (_debug) + { + using (var debugWriter = new StringWriter()) + using (var utf8Writer = new Utf8JsonWriter(responseStream)) + { + JsonSerializer.Serialize(utf8Writer, response); + + var jsonDocument = debugWriter.ToString(); + Console.WriteLine($"Lambda Serialize {response.GetType().FullName}: {jsonDocument}"); + + var writer = new StreamWriter(responseStream); + writer.Write(jsonDocument); + writer.Flush(); + } + } + else + { + using (var writer = new Utf8JsonWriter(responseStream)) + { + JsonSerializer.Serialize(writer, response, _options); + } + } + } + catch(Exception e) + { + throw new JsonSerializerException($"Error converting the response object of type {typeof(T).FullName} from the Lambda function to JSON: {e.Message}", e); + } + } + + /// + /// Deserializes a stream to a particular type. + /// + /// Type of object to deserialize to. + /// Stream to serialize. + /// Deserialized object from stream. + public T Deserialize(Stream requestStream) + { + try + { + byte[] utf8Json = null; + if (_debug) + { + var json = new StreamReader(requestStream).ReadToEnd(); + Console.WriteLine($"Lambda Deserialize {typeof(T).FullName}: {json}"); + utf8Json = UTF8Encoding.UTF8.GetBytes(json); + } + + if (utf8Json == null) + { + if (requestStream is MemoryStream ms) + { + utf8Json = ms.ToArray(); + } + else + { + using (var copy = new MemoryStream()) + { + requestStream.CopyTo(copy); + utf8Json = copy.ToArray(); + } + } + } + + return JsonSerializer.Deserialize(utf8Json, _options); + } + catch (Exception e) + { + string message; + var targetType = typeof(T); + if(targetType == typeof(string)) + { + message = $"Error converting the Lambda event JSON payload to a string. JSON strings must be quoted, for example \"Hello World\" in order to be converted to a string: {e.Message}"; + } + else + { + message = $"Error converting the Lambda event JSON payload to type {targetType.FullName}: {e.Message}"; + } + throw new JsonSerializerException(message, e); + } + } + } +} \ No newline at end of file diff --git a/Libraries/test/Amazon.Lambda.AspNetCoreServer.Test/Amazon.Lambda.AspNetCoreServer.Test.csproj b/Libraries/test/Amazon.Lambda.AspNetCoreServer.Test/Amazon.Lambda.AspNetCoreServer.Test.csproj index 4f45dce69..80bdb7aad 100644 --- a/Libraries/test/Amazon.Lambda.AspNetCoreServer.Test/Amazon.Lambda.AspNetCoreServer.Test.csproj +++ b/Libraries/test/Amazon.Lambda.AspNetCoreServer.Test/Amazon.Lambda.AspNetCoreServer.Test.csproj @@ -1,7 +1,7 @@  - netcoreapp2.1;netcoreapp3.0 + netcoreapp2.1;netcoreapp3.1 Amazon.Lambda.AspNetCoreServer.Test Library Amazon.Lambda.AspNetCoreServer.Test diff --git a/Libraries/test/Amazon.Lambda.Core.Tests/Amazon.Lambda.Core.Tests.csproj b/Libraries/test/Amazon.Lambda.Core.Tests/Amazon.Lambda.Core.Tests.csproj index f3610be1a..a009c9377 100644 --- a/Libraries/test/Amazon.Lambda.Core.Tests/Amazon.Lambda.Core.Tests.csproj +++ b/Libraries/test/Amazon.Lambda.Core.Tests/Amazon.Lambda.Core.Tests.csproj @@ -5,7 +5,6 @@ Amazon.Lambda.Core.Tests Amazon.Lambda.Core.Tests true - win7-x64;win7-x86 diff --git a/Libraries/test/EventsTests/EventsTests.csproj b/Libraries/test/EventsTests.NETCore21/EventsTests.NETCore21.csproj similarity index 80% rename from Libraries/test/EventsTests/EventsTests.csproj rename to Libraries/test/EventsTests.NETCore21/EventsTests.NETCore21.csproj index db4fe227d..964ef6e72 100644 --- a/Libraries/test/EventsTests/EventsTests.csproj +++ b/Libraries/test/EventsTests.NETCore21/EventsTests.NETCore21.csproj @@ -2,28 +2,26 @@ netcoreapp2.1 - EventsTests EventsTests true win7-x64;win7-x86 + EventsTests + + + NETCOREAPP_2_1 + + + NETCOREAPP_3_1 + + - + PreserveNewest - - - - - - - - - - @@ -43,6 +41,10 @@ + + + + @@ -55,4 +57,6 @@ + + diff --git a/Libraries/test/EventsTests.NETCore31/EventsTests.NETCore31.csproj b/Libraries/test/EventsTests.NETCore31/EventsTests.NETCore31.csproj new file mode 100644 index 000000000..286c229ec --- /dev/null +++ b/Libraries/test/EventsTests.NETCore31/EventsTests.NETCore31.csproj @@ -0,0 +1,72 @@ + + + + netcoreapp3.1 + EventsTests31 + true + win7-x64;win7-x86 + EventsTests31 + + + + + NETCOREAPP_2_1 + + + NETCOREAPP_3_1 + + + + + PreserveNewest + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Libraries/test/EventsTests/EventTests.cs b/Libraries/test/EventsTests.Shared/EventTests.cs similarity index 81% rename from Libraries/test/EventsTests/EventTests.cs rename to Libraries/test/EventsTests.Shared/EventTests.cs index b4ab163f1..9e371db47 100644 --- a/Libraries/test/EventsTests/EventTests.cs +++ b/Libraries/test/EventsTests.Shared/EventTests.cs @@ -1,3 +1,5 @@ +using Amazon.Lambda.Core; + namespace Amazon.Lambda.Tests { using Amazon.Lambda; @@ -36,12 +38,24 @@ namespace Amazon.Lambda.Tests public class EventTest { - [Fact] - public void S3PutTest() + + // This utility method takes care of removing the BOM that System.Text.Json doesn't like. + public MemoryStream LoadJsonTestFile(string filename) { - using (var fileStream = File.OpenRead("s3-event.json")) + var json = File.ReadAllText(filename); + return new MemoryStream(UTF8Encoding.UTF8.GetBytes(json)); + } + + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void S3PutTest(Type serializerType) + { + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("s3-event.json")) { - var serializer = new JsonSerializer(); var s3Event = serializer.Deserialize(fileStream); Assert.Equal(s3Event.Records.Count, 1); @@ -77,12 +91,16 @@ private void Handle(S3Event s3Event) } } - [Fact] - public void KinesisTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void KinesisTest(Type serializerType) { - using (var fileStream = File.OpenRead("kinesis-event.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("kinesis-event.json")) { - var serializer = new JsonSerializer(); var kinesisEvent = serializer.Deserialize(fileStream); Assert.Equal(kinesisEvent.Records.Count, 2); var record = kinesisEvent.Records[0]; @@ -117,13 +135,15 @@ private void Handle(KinesisEvent kinesisEvent) } } - [Fact] - public void DynamoDbUpdateTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void DynamoDbUpdateTest(Type serializerType) { - var jsonText = File.ReadAllText("dynamodb-event.json"); - Stream json = new MemoryStream(Encoding.UTF8.GetBytes(jsonText)); - json.Position = 0; - var serializer = new JsonSerializer(); + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + Stream json = LoadJsonTestFile("dynamodb-event.json"); var dynamodbEvent = serializer.Deserialize(json); Assert.Equal(dynamodbEvent.Records.Count, 2); @@ -162,12 +182,16 @@ private static void Handle(DynamoDBEvent ddbEvent) Console.WriteLine($"Successfully processed {ddbEvent.Records.Count} records."); } - [Fact] - public void CognitoTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void CognitoTest(Type serializerType) { - using (var fileStream = File.OpenRead("cognito-event.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("cognito-event.json")) { - var serializer = new JsonSerializer(); var cognitoEvent = serializer.Deserialize(fileStream); Assert.Equal(cognitoEvent.Version, 2); Assert.Equal(cognitoEvent.EventType, "SyncTrigger"); @@ -198,12 +222,16 @@ private static void Handle(CognitoEvent cognitoEvent) String ConfigInvokingEvent = "{\"configSnapshotId\":\"00000000-0000-0000-0000-000000000000\",\"s3ObjectKey\":\"AWSLogs/000000000000/Config/us-east-1/2016/2/24/ConfigSnapshot/000000000000_Config_us-east-1_ConfigSnapshot_20160224T182319Z_00000000-0000-0000-0000-000000000000.json.gz\",\"s3Bucket\":\"config-bucket\",\"notificationCreationTime\":\"2016-02-24T18:23:20.328Z\",\"messageType\":\"ConfigurationSnapshotDeliveryCompleted\",\"recordVersion\":\"1.1\"}"; - [Fact] - public void ConfigTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void ConfigTest(Type serializerType) { - using (var fileStream = File.OpenRead("config-event.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("config-event.json")) { - var serializer = new JsonSerializer(); var configEvent = serializer.Deserialize(fileStream); Assert.Equal(configEvent.ConfigRuleId, "config-rule-0123456"); Assert.Equal(configEvent.Version, "1.0"); @@ -227,12 +255,16 @@ private static void Handle(ConfigEvent configEvent) Console.WriteLine($"Event version - {configEvent.Version}"); } - [Fact] - public void SimpleEmailTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void SimpleEmailTest(Type serializerType) { - using (var fileStream = File.OpenRead("simple-email-event-lambda.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("simple-email-event-lambda.json")) { - var serializer = new JsonSerializer(); var sesEvent = serializer.Deserialize>(fileStream); Assert.Equal(sesEvent.Records.Count, 1); @@ -289,11 +321,16 @@ public void SimpleEmailTest() Handle(sesEvent); } } - public void SimpleEmailLambdaActionTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void SimpleEmailLambdaActionTest(Type serializerType) { - using (var fileStream = File.OpenRead("simple-email-event-lambda.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("simple-email-event-lambda.json")) { - var serializer = new JsonSerializer(); var sesEvent = serializer.Deserialize>(fileStream); Assert.Equal(sesEvent.Records.Count, 1); @@ -306,18 +343,23 @@ public void SimpleEmailLambdaActionTest() Handle(sesEvent); } } - public void SimpleEmailS3ActionTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void SimpleEmailS3ActionTest(Type serializerType) { - using (var fileStream = File.OpenRead("simple-email-event-s3.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("simple-email-event-s3.json")) { - var serializer = new JsonSerializer(); var sesEvent = serializer.Deserialize>(fileStream); Assert.Equal(sesEvent.Records.Count, 1); var record = sesEvent.Records[0]; Assert.Equal(record.Ses.Receipt.Action.Type, "S3"); - Assert.Equal(record.Ses.Receipt.Action.TopicArn, "arn:aws:sns:planet-earth-1:123456789:ses-email-received"); + Assert.Equal(record.Ses.Receipt.Action.TopicArn, "arn:aws:sns:eu-west-1:123456789:ses-email-received"); Assert.Equal(record.Ses.Receipt.Action.BucketName, "my-ses-inbox"); Assert.Equal(record.Ses.Receipt.Action.ObjectKeyPrefix, "important"); Assert.Equal(record.Ses.Receipt.Action.ObjectKey, "important/fiddlyfaddlyhiddlyhoodly"); @@ -335,12 +377,16 @@ private static void Handle(SimpleEmailEvent sesE } } - [Fact] - public void SNSTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void SNSTest(Type serializerType) { - using (var fileStream = File.OpenRead("sns-event.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("sns-event.json")) { - var serializer = new JsonSerializer(); var snsEvent = serializer.Deserialize(fileStream); Assert.Equal(snsEvent.Records.Count, 1); @@ -378,12 +424,16 @@ private static void Handle(SNSEvent snsEvent) } } - [Fact] - public void SQSTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void SQSTest(Type serializerType) { - using (var fileStream = File.OpenRead("sqs-event.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("sqs-event.json")) { - var serializer = new JsonSerializer(); var sqsEvent = serializer.Deserialize(fileStream); Assert.Equal(sqsEvent.Records.Count, 1); @@ -442,12 +492,16 @@ private static void Handle(SQSEvent sqsEvent) } } - [Fact] - public void APIGatewayProxyRequestTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void APIGatewayProxyRequestTest(Type serializerType) { - using (var fileStream = File.OpenRead("proxy-event.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("proxy-event.json")) { - var serializer = new JsonSerializer(); var proxyEvent = serializer.Deserialize(fileStream); Assert.Equal(proxyEvent.Resource, "/{proxy+}"); @@ -512,9 +566,14 @@ private static APIGatewayProxyResponse Handle(APIGatewayProxyRequest apigProxyEv }; } - [Fact] - public void APIGatewayProxyResponseTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void APIGatewayProxyResponseTest(Type serializerType) { + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; var response = new APIGatewayProxyResponse { StatusCode = 200, @@ -525,7 +584,6 @@ public void APIGatewayProxyResponseTest() string serializedJson; using (MemoryStream stream = new MemoryStream()) { - var serializer = new JsonSerializer(); serializer.Serialize(response, stream); stream.Position = 0; @@ -542,9 +600,14 @@ public void APIGatewayProxyResponseTest() Assert.Equal(headers["Header2"], "Value2"); } - [Fact] - public void APIGatewayAuthorizerResponseTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void APIGatewayAuthorizerResponseTest(Type serializerType) { + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; var context = new APIGatewayCustomAuthorizerContextOutput(); context["field1"] = "value1"; context["field2"] = "value2"; @@ -572,7 +635,6 @@ public void APIGatewayAuthorizerResponseTest() string serializedJson; using (MemoryStream stream = new MemoryStream()) { - var serializer = new JsonSerializer(); serializer.Serialize(response, stream); stream.Position = 0; @@ -592,12 +654,16 @@ public void APIGatewayAuthorizerResponseTest() Assert.Equal("*", root["policyDocument"]["Statement"][0]["Resource"][0]); } - [Fact] - public void ApplicationLoadBalancerRequestSingleValueTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void ApplicationLoadBalancerRequestSingleValueTest(Type serializerType) { - using (var fileStream = File.OpenRead("alb-request-single-value.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("alb-request-single-value.json")) { - var serializer = new JsonSerializer(); var evnt = serializer.Deserialize(fileStream); Assert.Equal(evnt.Path, "/"); @@ -619,12 +685,16 @@ public void ApplicationLoadBalancerRequestSingleValueTest() } - [Fact] - public void ApplicationLoadBalancerRequestMultiValueTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void ApplicationLoadBalancerRequestMultiValueTest(Type serializerType) { - using (var fileStream = File.OpenRead("alb-request-multi-value.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("alb-request-multi-value.json")) { - var serializer = new JsonSerializer(); var evnt = serializer.Deserialize(fileStream); Assert.Equal(evnt.Path, "/"); @@ -655,9 +725,14 @@ public void ApplicationLoadBalancerRequestMultiValueTest() } - [Fact] - public void ApplicationLoadBalancerSingleHeaderResponseTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void ApplicationLoadBalancerSingleHeaderResponseTest(Type serializerType) { + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; var response = new ApplicationLoadBalancerResponse() { @@ -675,7 +750,6 @@ public void ApplicationLoadBalancerSingleHeaderResponseTest() string serializedJson; using (MemoryStream stream = new MemoryStream()) { - var serializer = new JsonSerializer(); serializer.Serialize(response, stream); stream.Position = 0; @@ -693,10 +767,14 @@ public void ApplicationLoadBalancerSingleHeaderResponseTest() Assert.Equal("200 OK", (string)root["statusDescription"]); } - [Fact] - public void ApplicationLoadBalancerMultiHeaderResponseTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void ApplicationLoadBalancerMultiHeaderResponseTest(Type serializerType) { - + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; var response = new ApplicationLoadBalancerResponse() { MultiValueHeaders = new Dictionary> @@ -713,7 +791,6 @@ public void ApplicationLoadBalancerMultiHeaderResponseTest() string serializedJson; using (MemoryStream stream = new MemoryStream()) { - var serializer = new JsonSerializer(); serializer.Serialize(response, stream); stream.Position = 0; @@ -736,12 +813,16 @@ public void ApplicationLoadBalancerMultiHeaderResponseTest() } - [Fact] - public void LexEvent() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void LexEvent(Type serializerType) { - using (var fileStream = File.OpenRead("lex-event.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("lex-event.json")) { - var serializer = new JsonSerializer(); var lexEvent = serializer.Deserialize(fileStream); Assert.Equal("1.0", lexEvent.MessageVersion); Assert.Equal("FulfillmentCodeHook or DialogCodeHook", lexEvent.InvocationSource); @@ -773,12 +854,16 @@ public void LexEvent() } } - [Fact] - public void LexResponse() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void LexResponse(Type serializerType) { - using (var fileStream = File.OpenRead("lex-response.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("lex-response.json")) { - var serializer = new JsonSerializer(); var lexResponse = serializer.Deserialize(fileStream); Assert.Equal(2, lexResponse.SessionAttributes.Count); @@ -817,12 +902,16 @@ public void LexResponse() } } - [Fact] - public void KinesisFirehoseEvent() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void KinesisFirehoseEvent(Type serializerType) { - using (var fileStream = File.OpenRead("kinesis-firehose-event.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("kinesis-firehose-event.json")) { - var serializer = new JsonSerializer(); var kinesisEvent = serializer.Deserialize(fileStream); Assert.Equal("00540a87-5050-496a-84e4-e7d92bbaf5e2", kinesisEvent.InvocationId); Assert.Equal("arn:aws:firehose:us-east-1:AAAAAAAAAAAA:deliverystream/lambda-test", kinesisEvent.DeliveryStreamArn); @@ -836,12 +925,16 @@ public void KinesisFirehoseEvent() } } - [Fact] - public void KinesisFirehoseResponseTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void KinesisFirehoseResponseTest(Type serializerType) { - using (var fileStream = File.OpenRead("kinesis-firehose-response.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("kinesis-firehose-response.json")) { - var serializer = new JsonSerializer(); var kinesisResponse = serializer.Deserialize(fileStream); Assert.Equal(1, kinesisResponse.Records.Count); @@ -863,12 +956,16 @@ public void KinesisFirehoseResponseTest() } } - [Fact] - public void KinesisAnalyticsOutputDeliveryEvent() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void KinesisAnalyticsOutputDeliveryEvent(Type serializerType) { - using (var fileStream = File.OpenRead("kinesis-analytics-outputdelivery-event.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("kinesis-analytics-outputdelivery-event.json")) { - var serializer = new JsonSerializer(); var kinesisAnalyticsEvent = serializer.Deserialize(fileStream); Assert.Equal("00540a87-5050-496a-84e4-e7d92bbaf5e2", kinesisAnalyticsEvent.InvocationId); Assert.Equal("arn:aws:kinesisanalytics:us-east-1:12345678911:application/lambda-test", kinesisAnalyticsEvent.ApplicationArn); @@ -878,12 +975,16 @@ public void KinesisAnalyticsOutputDeliveryEvent() } } - [Fact] - public void KinesisAnalyticsOutputDeliveryResponseTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void KinesisAnalyticsOutputDeliveryResponseTest(Type serializerType) { - using (var fileStream = File.OpenRead("kinesis-analytics-outputdelivery-response.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("kinesis-analytics-outputdelivery-response.json")) { - var serializer = new JsonSerializer(); var kinesisAnalyticsResponse = serializer.Deserialize(fileStream); Assert.Equal(1, kinesisAnalyticsResponse.Records.Count); @@ -901,12 +1002,16 @@ public void KinesisAnalyticsOutputDeliveryResponseTest() } } - [Fact] - public void KinesisAnalyticsInputProcessingEventTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void KinesisAnalyticsInputProcessingEventTest(Type serializerType) { - using (var fileStream = File.OpenRead("kinesis-analytics-inputpreprocessing-event.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("kinesis-analytics-inputpreprocessing-event.json")) { - var serializer = new JsonSerializer(); var kinesisAnalyticsEvent = serializer.Deserialize(fileStream); Assert.Equal("00540a87-5050-496a-84e4-e7d92bbaf5e2", kinesisAnalyticsEvent.InvocationId); Assert.Equal("arn:aws:kinesis:us-east-1:AAAAAAAAAAAA:stream/lambda-test", kinesisAnalyticsEvent.StreamArn); @@ -918,12 +1023,16 @@ public void KinesisAnalyticsInputProcessingEventTest() } } - [Fact] - public void KinesisAnalyticsInputProcessingResponseTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void KinesisAnalyticsInputProcessingResponseTest(Type serializerType) { - using (var fileStream = File.OpenRead("kinesis-analytics-inputpreprocessing-response.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("kinesis-analytics-inputpreprocessing-response.json")) { - var serializer = new JsonSerializer(); var kinesisAnalyticsResponse = serializer.Deserialize(fileStream); Assert.Equal(1, kinesisAnalyticsResponse.Records.Count); @@ -945,12 +1054,16 @@ public void KinesisAnalyticsInputProcessingResponseTest() } } - [Fact] - public void CloudWatchLogEvent() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void CloudWatchLogEvent(Type serializerType) { - using (var fileStream = File.OpenRead("logs-event.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("logs-event.json")) { - var serializer = new JsonSerializer(); var evnt = serializer.Deserialize(fileStream); Assert.NotNull(evnt.Awslogs); @@ -970,12 +1083,16 @@ private string MemoryStreamToBase64String(MemoryStream ms) return Convert.ToBase64String(data); } - [Fact] - public void BatchJobStateChangeEventTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void BatchJobStateChangeEventTest(Type serializerType) { - using (var fileStream = File.OpenRead("batch-job-state-change-event.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("batch-job-state-change-event.json")) { - var serializer = new JsonSerializer(); var jobStateChangeEvent = serializer.Deserialize(fileStream); Assert.Equal(jobStateChangeEvent.Version, "0"); @@ -1017,12 +1134,16 @@ private void Handle(BatchJobStateChangeEvent jobStateChangeEvent) Console.WriteLine($"[{jobStateChangeEvent.Source} {jobStateChangeEvent.Time}] {jobStateChangeEvent.DetailType}"); } - [Fact] - public void ScheduledEventTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void ScheduledEventTest(Type serializerType) { - using (var fileStream = File.OpenRead("scheduled-event.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("scheduled-event.json")) { - var serializer = new JsonSerializer(); var scheduledEvent = serializer.Deserialize(fileStream); Assert.Equal(scheduledEvent.Version, "0"); Assert.Equal(scheduledEvent.Id, "cdc73f9d-aea9-11e3-9d5a-835b769c0d9c"); @@ -1044,12 +1165,16 @@ private void Handle(ScheduledEvent scheduledEvent) Console.WriteLine($"[{scheduledEvent.Source} {scheduledEvent.Time}] {scheduledEvent.DetailType}"); } - [Fact] - public void ECSContainerInstanceStateChangeEventTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void ECSContainerInstanceStateChangeEventTest(Type serializerType) { - using (var fileStream = File.OpenRead("ecs-container-state-change-event.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("ecs-container-state-change-event.json")) { - var serializer = new JsonSerializer(); var ecsEvent = serializer.Deserialize(fileStream); Assert.Equal(ecsEvent.Version, "0"); @@ -1090,12 +1215,16 @@ public void ECSContainerInstanceStateChangeEventTest() } - [Fact] - public void ECSTaskStateChangeEventTest() + [Theory] + [InlineData(typeof(JsonSerializer))] +#if NETCOREAPP_3_1 + [InlineData(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))] +#endif + public void ECSTaskStateChangeEventTest(Type serializerType) { - using (var fileStream = File.OpenRead("ecs-task-state-change-event.json")) + var serializer = Activator.CreateInstance(serializerType) as ILambdaSerializer; + using (var fileStream = LoadJsonTestFile("ecs-task-state-change-event.json")) { - var serializer = new JsonSerializer(); var ecsEvent = serializer.Deserialize(fileStream); Assert.Equal(ecsEvent.Version, "0"); diff --git a/Libraries/test/EventsTests.Shared/EventsTests.Shared.projitems b/Libraries/test/EventsTests.Shared/EventsTests.Shared.projitems new file mode 100644 index 000000000..e22dd00db --- /dev/null +++ b/Libraries/test/EventsTests.Shared/EventsTests.Shared.projitems @@ -0,0 +1,41 @@ + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + true + C52FEED4-DC83-4541-B058-5BDABCBBD710 + + + EventsTests.Shared + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Libraries/test/EventsTests.Shared/EventsTests.Shared.shproj b/Libraries/test/EventsTests.Shared/EventsTests.Shared.shproj new file mode 100644 index 000000000..2175844bc --- /dev/null +++ b/Libraries/test/EventsTests.Shared/EventsTests.Shared.shproj @@ -0,0 +1,11 @@ + + + + {A2CB78BB-E54F-48CA-BBFB-9553D27EF23D} + + + + + + + \ No newline at end of file diff --git a/Libraries/test/EventsTests/alb-request-multi-value.json b/Libraries/test/EventsTests.Shared/alb-request-multi-value.json similarity index 100% rename from Libraries/test/EventsTests/alb-request-multi-value.json rename to Libraries/test/EventsTests.Shared/alb-request-multi-value.json diff --git a/Libraries/test/EventsTests/alb-request-single-value.json b/Libraries/test/EventsTests.Shared/alb-request-single-value.json similarity index 100% rename from Libraries/test/EventsTests/alb-request-single-value.json rename to Libraries/test/EventsTests.Shared/alb-request-single-value.json diff --git a/Libraries/test/EventsTests/batch-job-state-change-event.json b/Libraries/test/EventsTests.Shared/batch-job-state-change-event.json similarity index 100% rename from Libraries/test/EventsTests/batch-job-state-change-event.json rename to Libraries/test/EventsTests.Shared/batch-job-state-change-event.json diff --git a/Libraries/test/EventsTests/cognito-event.json b/Libraries/test/EventsTests.Shared/cognito-event.json similarity index 95% rename from Libraries/test/EventsTests/cognito-event.json rename to Libraries/test/EventsTests.Shared/cognito-event.json index 2bef4f7cf..2c534d444 100644 --- a/Libraries/test/EventsTests/cognito-event.json +++ b/Libraries/test/EventsTests.Shared/cognito-event.json @@ -1,15 +1,15 @@ -{ - "datasetName": "datasetName", - "eventType": "SyncTrigger", - "region": "us-east-1", - "identityId": "identityId", - "datasetRecords": { - "SampleKey1": { - "newValue": "newValue1", - "oldValue": "oldValue1", - "op": "replace" - } - }, - "identityPoolId": "identityPoolId", - "version": 2 +{ + "datasetName": "datasetName", + "eventType": "SyncTrigger", + "region": "us-east-1", + "identityId": "identityId", + "datasetRecords": { + "SampleKey1": { + "newValue": "newValue1", + "oldValue": "oldValue1", + "op": "replace" + } + }, + "identityPoolId": "identityPoolId", + "version": 2 } \ No newline at end of file diff --git a/Libraries/test/EventsTests/config-event.json b/Libraries/test/EventsTests.Shared/config-event.json similarity index 98% rename from Libraries/test/EventsTests/config-event.json rename to Libraries/test/EventsTests.Shared/config-event.json index 67f05a050..ddf61904f 100644 --- a/Libraries/test/EventsTests/config-event.json +++ b/Libraries/test/EventsTests.Shared/config-event.json @@ -1,12 +1,12 @@ -{ - "configRuleId": "config-rule-0123456", - "version": "1.0", - "configRuleName": "periodic-config-rule", - "configRuleArn": "arn:aws:config:us-east-1:012345678912:config-rule/config-rule-0123456", - "invokingEvent": "{\"configSnapshotId\":\"00000000-0000-0000-0000-000000000000\",\"s3ObjectKey\":\"AWSLogs/000000000000/Config/us-east-1/2016/2/24/ConfigSnapshot/000000000000_Config_us-east-1_ConfigSnapshot_20160224T182319Z_00000000-0000-0000-0000-000000000000.json.gz\",\"s3Bucket\":\"config-bucket\",\"notificationCreationTime\":\"2016-02-24T18:23:20.328Z\",\"messageType\":\"ConfigurationSnapshotDeliveryCompleted\",\"recordVersion\":\"1.1\"}", - "resultToken": "myResultToken", - "eventLeftScope": false, - "ruleParameters": "{\"\":\"\"}", - "executionRoleArn": "arn:aws:iam::012345678912:role/config-role", - "accountId": "012345678912" -} +{ + "configRuleId": "config-rule-0123456", + "version": "1.0", + "configRuleName": "periodic-config-rule", + "configRuleArn": "arn:aws:config:us-east-1:012345678912:config-rule/config-rule-0123456", + "invokingEvent": "{\"configSnapshotId\":\"00000000-0000-0000-0000-000000000000\",\"s3ObjectKey\":\"AWSLogs/000000000000/Config/us-east-1/2016/2/24/ConfigSnapshot/000000000000_Config_us-east-1_ConfigSnapshot_20160224T182319Z_00000000-0000-0000-0000-000000000000.json.gz\",\"s3Bucket\":\"config-bucket\",\"notificationCreationTime\":\"2016-02-24T18:23:20.328Z\",\"messageType\":\"ConfigurationSnapshotDeliveryCompleted\",\"recordVersion\":\"1.1\"}", + "resultToken": "myResultToken", + "eventLeftScope": false, + "ruleParameters": "{\"\":\"\"}", + "executionRoleArn": "arn:aws:iam::012345678912:role/config-role", + "accountId": "012345678912" +} diff --git a/Libraries/test/EventsTests/dynamodb-event.json b/Libraries/test/EventsTests.Shared/dynamodb-event.json similarity index 96% rename from Libraries/test/EventsTests/dynamodb-event.json rename to Libraries/test/EventsTests.Shared/dynamodb-event.json index a0ad8a6ab..eb9bb2fc4 100644 --- a/Libraries/test/EventsTests/dynamodb-event.json +++ b/Libraries/test/EventsTests.Shared/dynamodb-event.json @@ -1,83 +1,83 @@ -{ - "Records":[ - { - "eventID":"f07f8ca4b0b26cb9c4e5e77e69f274ee", - "eventName":"INSERT", - "eventVersion":"1.1", - "eventSource":"aws:dynamodb", - "awsRegion":"us-east-1", - "dynamodb":{ - "ApproximateCreationDateTime":1480642020, - "Keys":{ - "val":{ - "S":"data" - }, - "key":{ - "S":"binary" - } - }, - "NewImage":{ - "val":{ - "S":"data" - }, - "asdf1":{ - "B":"AAEqQQ==" - }, - "asdf2":{ - "BS":[ - "AAEqQQ==", - "QSoBAA==" - ] - }, - "key":{ - "S":"binary" - } - }, - "SequenceNumber":"1405400000000002063282832", - "SizeBytes":54, - "StreamViewType":"NEW_AND_OLD_IMAGES" - }, - "eventSourceARN":"arn:aws:dynamodb:us-east-1:123456789012:table/Example-Table/stream/2016-12-01T00:00:00.000" - }, - { - "eventID":"f07f8ca4b0b26cb9c4e5e77e42f274ee", - "eventName":"INSERT", - "eventVersion":"1.1", - "eventSource":"aws:dynamodb", - "awsRegion":"us-east-1", - "dynamodb":{ - "ApproximateCreationDateTime":1480642020, - "Keys":{ - "val":{ - "S":"data" - }, - "key":{ - "S":"binary" - } - }, - "NewImage": { - "val": { - "S": "data" - }, - "asdf1": { - "B": "AAEqQQ==" - }, - "asdf2": { - "BS": [ - "AAEqQQ==", - "QSoBAA==", - "AAEqQQ==" - ] - }, - "key": { - "S": "binary" - } - }, - "SequenceNumber":"1405400000000002063282832", - "SizeBytes":54, - "StreamViewType":"NEW_AND_OLD_IMAGES" - }, - "eventSourceARN":"arn:aws:dynamodb:us-east-1:123456789012:table/Example-Table/stream/2016-12-01T00:00:00.000" - } - ] +{ + "Records":[ + { + "eventID":"f07f8ca4b0b26cb9c4e5e77e69f274ee", + "eventName":"INSERT", + "eventVersion":"1.1", + "eventSource":"aws:dynamodb", + "awsRegion":"us-east-1", + "dynamodb":{ + "ApproximateCreationDateTime":1480642020, + "Keys":{ + "val":{ + "S":"data" + }, + "key":{ + "S":"binary" + } + }, + "NewImage":{ + "val":{ + "S":"data" + }, + "asdf1":{ + "B":"AAEqQQ==" + }, + "asdf2":{ + "BS":[ + "AAEqQQ==", + "QSoBAA==" + ] + }, + "key":{ + "S":"binary" + } + }, + "SequenceNumber":"1405400000000002063282832", + "SizeBytes":54, + "StreamViewType":"NEW_AND_OLD_IMAGES" + }, + "eventSourceARN":"arn:aws:dynamodb:us-east-1:123456789012:table/Example-Table/stream/2016-12-01T00:00:00.000" + }, + { + "eventID":"f07f8ca4b0b26cb9c4e5e77e42f274ee", + "eventName":"INSERT", + "eventVersion":"1.1", + "eventSource":"aws:dynamodb", + "awsRegion":"us-east-1", + "dynamodb":{ + "ApproximateCreationDateTime":1480642020, + "Keys":{ + "val":{ + "S":"data" + }, + "key":{ + "S":"binary" + } + }, + "NewImage": { + "val": { + "S": "data" + }, + "asdf1": { + "B": "AAEqQQ==" + }, + "asdf2": { + "BS": [ + "AAEqQQ==", + "QSoBAA==", + "AAEqQQ==" + ] + }, + "key": { + "S": "binary" + } + }, + "SequenceNumber":"1405400000000002063282832", + "SizeBytes":54, + "StreamViewType":"NEW_AND_OLD_IMAGES" + }, + "eventSourceARN":"arn:aws:dynamodb:us-east-1:123456789012:table/Example-Table/stream/2016-12-01T00:00:00.000" + } + ] } \ No newline at end of file diff --git a/Libraries/test/EventsTests/ecs-container-state-change-event.json b/Libraries/test/EventsTests.Shared/ecs-container-state-change-event.json similarity index 100% rename from Libraries/test/EventsTests/ecs-container-state-change-event.json rename to Libraries/test/EventsTests.Shared/ecs-container-state-change-event.json diff --git a/Libraries/test/EventsTests/ecs-task-state-change-event.json b/Libraries/test/EventsTests.Shared/ecs-task-state-change-event.json similarity index 100% rename from Libraries/test/EventsTests/ecs-task-state-change-event.json rename to Libraries/test/EventsTests.Shared/ecs-task-state-change-event.json diff --git a/Libraries/test/EventsTests/kinesis-analytics-inputpreprocessing-event.json b/Libraries/test/EventsTests.Shared/kinesis-analytics-inputpreprocessing-event.json similarity index 100% rename from Libraries/test/EventsTests/kinesis-analytics-inputpreprocessing-event.json rename to Libraries/test/EventsTests.Shared/kinesis-analytics-inputpreprocessing-event.json diff --git a/Libraries/test/EventsTests/kinesis-analytics-inputpreprocessing-response.json b/Libraries/test/EventsTests.Shared/kinesis-analytics-inputpreprocessing-response.json similarity index 100% rename from Libraries/test/EventsTests/kinesis-analytics-inputpreprocessing-response.json rename to Libraries/test/EventsTests.Shared/kinesis-analytics-inputpreprocessing-response.json diff --git a/Libraries/test/EventsTests/kinesis-analytics-outputdelivery-event.json b/Libraries/test/EventsTests.Shared/kinesis-analytics-outputdelivery-event.json similarity index 100% rename from Libraries/test/EventsTests/kinesis-analytics-outputdelivery-event.json rename to Libraries/test/EventsTests.Shared/kinesis-analytics-outputdelivery-event.json diff --git a/Libraries/test/EventsTests/kinesis-analytics-outputdelivery-response.json b/Libraries/test/EventsTests.Shared/kinesis-analytics-outputdelivery-response.json similarity index 100% rename from Libraries/test/EventsTests/kinesis-analytics-outputdelivery-response.json rename to Libraries/test/EventsTests.Shared/kinesis-analytics-outputdelivery-response.json diff --git a/Libraries/test/EventsTests/kinesis-event.json b/Libraries/test/EventsTests.Shared/kinesis-event.json similarity index 97% rename from Libraries/test/EventsTests/kinesis-event.json rename to Libraries/test/EventsTests.Shared/kinesis-event.json index 273a54ca3..eafb96d29 100644 --- a/Libraries/test/EventsTests/kinesis-event.json +++ b/Libraries/test/EventsTests.Shared/kinesis-event.json @@ -1,36 +1,36 @@ -{ - "Records": [ - { - "kinesis": { - "kinesisSchemaVersion": "1.0", - "partitionKey": "s1", - "sequenceNumber": "49568167373333333333333333333333333333333333333333333333", - "data": "SGVsbG8gV29ybGQ=", - "approximateArrivalTimestamp": 1480641523.477 - }, - "eventSource": "aws:kinesis", - "eventVersion": "1.0", - "eventID": "shardId-000000000000:49568167373333333333333333333333333333333333333333333333", - "eventName": "aws:kinesis:record", - "invokeIdentityArn": "arn:aws:iam::123456789012:role/LambdaRole", - "awsRegion": "us-east-1", - "eventSourceARN": "arn:aws:kinesis:us-east-1:123456789012:stream/simple-stream" - }, - { - "kinesis": { - "kinesisSchemaVersion": "1.0", - "partitionKey": "s1", - "sequenceNumber": "49568167373333333334444444444444444444444444444444444444", - "data": "SGVsbG8gV29ybGQ=", - "approximateArrivalTimestamp": 1480841523.477 - }, - "eventSource": "aws:kinesis", - "eventVersion": "1.0", - "eventID": "shardId-000000000000:49568167373333333334444444444444444444444444444444444444", - "eventName": "aws:kinesis:record", - "invokeIdentityArn": "arn:aws:iam::123456789012:role/LambdaRole", - "awsRegion": "us-east-1", - "eventSourceARN": "arn:aws:kinesis:us-east-1:123456789012:stream/simple-stream" - } - ] +{ + "Records": [ + { + "kinesis": { + "kinesisSchemaVersion": "1.0", + "partitionKey": "s1", + "sequenceNumber": "49568167373333333333333333333333333333333333333333333333", + "data": "SGVsbG8gV29ybGQ=", + "approximateArrivalTimestamp": 1480641523.477 + }, + "eventSource": "aws:kinesis", + "eventVersion": "1.0", + "eventID": "shardId-000000000000:49568167373333333333333333333333333333333333333333333333", + "eventName": "aws:kinesis:record", + "invokeIdentityArn": "arn:aws:iam::123456789012:role/LambdaRole", + "awsRegion": "us-east-1", + "eventSourceARN": "arn:aws:kinesis:us-east-1:123456789012:stream/simple-stream" + }, + { + "kinesis": { + "kinesisSchemaVersion": "1.0", + "partitionKey": "s1", + "sequenceNumber": "49568167373333333334444444444444444444444444444444444444", + "data": "SGVsbG8gV29ybGQ=", + "approximateArrivalTimestamp": 1480841523.477 + }, + "eventSource": "aws:kinesis", + "eventVersion": "1.0", + "eventID": "shardId-000000000000:49568167373333333334444444444444444444444444444444444444", + "eventName": "aws:kinesis:record", + "invokeIdentityArn": "arn:aws:iam::123456789012:role/LambdaRole", + "awsRegion": "us-east-1", + "eventSourceARN": "arn:aws:kinesis:us-east-1:123456789012:stream/simple-stream" + } + ] } \ No newline at end of file diff --git a/Libraries/test/EventsTests/kinesis-firehose-event.json b/Libraries/test/EventsTests.Shared/kinesis-firehose-event.json similarity index 100% rename from Libraries/test/EventsTests/kinesis-firehose-event.json rename to Libraries/test/EventsTests.Shared/kinesis-firehose-event.json diff --git a/Libraries/test/EventsTests/kinesis-firehose-response.json b/Libraries/test/EventsTests.Shared/kinesis-firehose-response.json similarity index 100% rename from Libraries/test/EventsTests/kinesis-firehose-response.json rename to Libraries/test/EventsTests.Shared/kinesis-firehose-response.json diff --git a/Libraries/test/EventsTests/lex-event.json b/Libraries/test/EventsTests.Shared/lex-event.json similarity index 100% rename from Libraries/test/EventsTests/lex-event.json rename to Libraries/test/EventsTests.Shared/lex-event.json diff --git a/Libraries/test/EventsTests/lex-response.json b/Libraries/test/EventsTests.Shared/lex-response.json similarity index 100% rename from Libraries/test/EventsTests/lex-response.json rename to Libraries/test/EventsTests.Shared/lex-response.json diff --git a/Libraries/test/EventsTests/logs-event.json b/Libraries/test/EventsTests.Shared/logs-event.json similarity index 100% rename from Libraries/test/EventsTests/logs-event.json rename to Libraries/test/EventsTests.Shared/logs-event.json diff --git a/Libraries/test/EventsTests/proxy-event.json b/Libraries/test/EventsTests.Shared/proxy-event.json similarity index 100% rename from Libraries/test/EventsTests/proxy-event.json rename to Libraries/test/EventsTests.Shared/proxy-event.json diff --git a/Libraries/test/EventsTests/s3-event.json b/Libraries/test/EventsTests.Shared/s3-event.json similarity index 96% rename from Libraries/test/EventsTests/s3-event.json rename to Libraries/test/EventsTests.Shared/s3-event.json index bbb82efc0..6fbeba526 100644 --- a/Libraries/test/EventsTests/s3-event.json +++ b/Libraries/test/EventsTests.Shared/s3-event.json @@ -1,36 +1,36 @@ -{ - "Records": [ - { - "eventVersion": "2.0", - "eventTime": "1970-01-01T00:00:00.000Z", - "requestParameters": { "sourceIPAddress": "127.0.0.1" }, - "s3": { - "configurationId": "testConfigRule", - "object": { - "eTag": "0123456789abcdef0123456789abcdef", - "sequencer": "0A1B2C3D4E5F678901", - "key": "HappyFace.jpg", - "size": 1024 - }, - "bucket": { - "arn": "arn:aws:s3:::mybucket", - "name": "sourcebucket", - "ownerIdentity": { - "principalId": "EXAMPLE" - } - }, - "s3SchemaVersion": "1.0" - }, - "responseElements": { - "x-amz-id-2": "EXAMPLE123/5678abcdefghijklambdaisawesome/mnopqrstuvwxyzABCDEFGH", - "x-amz-request-id": "EXAMPLE123456789" - }, - "awsRegion": "us-east-1", - "eventName": "ObjectCreated:Put", - "userIdentity": { - "principalId": "EXAMPLE" - }, - "eventSource": "aws:s3" - } - ] +{ + "Records": [ + { + "eventVersion": "2.0", + "eventTime": "1970-01-01T00:00:00.000Z", + "requestParameters": { "sourceIPAddress": "127.0.0.1" }, + "s3": { + "configurationId": "testConfigRule", + "object": { + "eTag": "0123456789abcdef0123456789abcdef", + "sequencer": "0A1B2C3D4E5F678901", + "key": "HappyFace.jpg", + "size": 1024 + }, + "bucket": { + "arn": "arn:aws:s3:::mybucket", + "name": "sourcebucket", + "ownerIdentity": { + "principalId": "EXAMPLE" + } + }, + "s3SchemaVersion": "1.0" + }, + "responseElements": { + "x-amz-id-2": "EXAMPLE123/5678abcdefghijklambdaisawesome/mnopqrstuvwxyzABCDEFGH", + "x-amz-request-id": "EXAMPLE123456789" + }, + "awsRegion": "us-east-1", + "eventName": "ObjectCreated:Put", + "userIdentity": { + "principalId": "EXAMPLE" + }, + "eventSource": "aws:s3" + } + ] } \ No newline at end of file diff --git a/Libraries/test/EventsTests/scheduled-event.json b/Libraries/test/EventsTests.Shared/scheduled-event.json similarity index 100% rename from Libraries/test/EventsTests/scheduled-event.json rename to Libraries/test/EventsTests.Shared/scheduled-event.json diff --git a/Libraries/test/EventsTests/simple-email-event-lambda.json b/Libraries/test/EventsTests.Shared/simple-email-event-lambda.json similarity index 100% rename from Libraries/test/EventsTests/simple-email-event-lambda.json rename to Libraries/test/EventsTests.Shared/simple-email-event-lambda.json diff --git a/Libraries/test/EventsTests/simple-email-event-s3.json b/Libraries/test/EventsTests.Shared/simple-email-event-s3.json similarity index 100% rename from Libraries/test/EventsTests/simple-email-event-s3.json rename to Libraries/test/EventsTests.Shared/simple-email-event-s3.json diff --git a/Libraries/test/EventsTests/sns-event.json b/Libraries/test/EventsTests.Shared/sns-event.json similarity index 100% rename from Libraries/test/EventsTests/sns-event.json rename to Libraries/test/EventsTests.Shared/sns-event.json diff --git a/Libraries/test/EventsTests/sqs-event.json b/Libraries/test/EventsTests.Shared/sqs-event.json similarity index 100% rename from Libraries/test/EventsTests/sqs-event.json rename to Libraries/test/EventsTests.Shared/sqs-event.json