Skip to content

Commit 284f315

Browse files
committed
Merge branch 'dev'
2 parents cde803d + 7b395cd commit 284f315

File tree

69 files changed

+160
-87
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+160
-87
lines changed

Libraries/src/Amazon.Lambda.Annotations.SourceGenerator/Amazon.Lambda.Annotations.SourceGenerator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<AssemblyVersion>1.5.0</AssemblyVersion>
4+
<AssemblyVersion>1.5.1</AssemblyVersion>
55
<TargetFramework>netstandard2.0</TargetFramework>
66

77
<!--This assembly needs to access internal methods inside the Amazon.Lambda.Annotations assembly.

Libraries/src/Amazon.Lambda.Annotations.SourceGenerator/Diagnostics/AnalyzerReleases.Shipped.md

Lines changed: 7 additions & 0 deletions

Libraries/src/Amazon.Lambda.Annotations.SourceGenerator/Diagnostics/DiagnosticDescriptors.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,12 @@ public static class DiagnosticDescriptors
138138
category: "AWSLambdaCSharpGenerator",
139139
DiagnosticSeverity.Error,
140140
isEnabledByDefault: true);
141+
142+
public static readonly DiagnosticDescriptor MaximumHandlerLengthExceeded = new DiagnosticDescriptor(id: "AWSLambda0118",
143+
title: "Maximum Handler Length Exceeded",
144+
messageFormat: "The handler string '{0}' exceeds the maximum length of 127 characters. Please trim down your project namespace, class name or method name to stay within the character limit.",
145+
category: "AWSLambdaCSharpGenerator",
146+
DiagnosticSeverity.Error,
147+
isEnabledByDefault: true);
141148
}
142149
}

Libraries/src/Amazon.Lambda.Annotations.SourceGenerator/Validation/LambdaFunctionValidator.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ internal static bool ValidateFunction(GeneratorExecutionContext context, IMethod
2828
diagnostics.Add(Diagnostic.Create(DiagnosticDescriptors.InvalidResourceName, methodLocation));
2929
}
3030

31+
// Check the handler length does not exceed 127 characters when the package type is set to zip
32+
// The official AWS docs state a 128 character limit on the Lambda handler. However, there is an open issue where the last character is stripped off
33+
// when the handler is exactly 128 characters long. Hence, we are enforcing a 127 character limit.
34+
// https://github.com/aws/aws-lambda-dotnet/issues/1642
35+
if (lambdaFunctionModel.PackageType == LambdaPackageType.Zip && lambdaFunctionModel.Handler.Length > 127)
36+
{
37+
diagnostics.Add(Diagnostic.Create(DiagnosticDescriptors.MaximumHandlerLengthExceeded, methodLocation, lambdaFunctionModel.Handler));
38+
}
39+
3140
// Check for Serializer attribute
3241
if (!lambdaMethodSymbol.ContainingAssembly.HasAttribute(context, TypeFullNames.LambdaSerializerAttribute))
3342
{

Libraries/src/Amazon.Lambda.Annotations.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
22
<metadata>
33
<id>Amazon.Lambda.Annotations</id>
4-
<version>1.5.0</version>
4+
<version>1.5.1</version>
55
<authors>Amazon Web Services</authors>
66
<tags>AWS Amazon Lambda</tags>
77
<description>Annotations that can be added to Lambda projects to generate C# code and CloudFormation templates. This library is currently in dev preview.</description>

Libraries/src/Amazon.Lambda.Annotations/Amazon.Lambda.Annotations.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<AssemblyVersion>1.5.0</AssemblyVersion>
4+
<AssemblyVersion>1.5.1</AssemblyVersion>
55
<TargetFrameworks>netstandard2.0;net6.0;net8.0</TargetFrameworks>
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>
77

Libraries/src/Amazon.Lambda.PowerShellHost/Amazon.Lambda.PowerShellHost.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
77
<Description>AWS Lambda PowerShell Host.</Description>
88
<AssemblyTitle>Amazon.Lambda.PowerShellHost</AssemblyTitle>
9-
<VersionPrefix>3.0.0</VersionPrefix>
9+
<VersionPrefix>3.0.1</VersionPrefix>
1010
<AssemblyName>Amazon.Lambda.PowerShellHost</AssemblyName>
1111
<PackageId>Amazon.Lambda.PowerShellHost</PackageId>
1212
<PackageTags>AWS;Amazon;Lambda;PowerShell</PackageTags>

Libraries/src/Amazon.Lambda.PowerShellHost/PowerShellFunctionHost.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ private IAsyncResult BeginInvoke(string input, ILambdaContext context)
148148
// Clear all previous PowerShell executions, variables and outputs
149149
this._ps.Commands?.Clear();
150150
this._ps.Streams.Verbose?.Clear();
151+
this._ps.Streams.Debug?.Clear();
152+
this._ps.Streams.Information?.Clear();
153+
this._ps.Streams.Warning?.Clear();
151154
this._ps.Streams.Error?.Clear();
152155
this._ps.Runspace?.ResetRunspaceState();
153156
this._output.Clear();
@@ -292,6 +295,7 @@ private void SetupStreamHandlers()
292295
};
293296

294297
this._ps.Streams.Verbose.DataAdding += _loggerFactory("Verbose");
298+
this._ps.Streams.Debug.DataAdding += _loggerFactory("Debug");
295299
this._ps.Streams.Information.DataAdding += _loggerFactory("Information");
296300
this._ps.Streams.Warning.DataAdding += _loggerFactory("Warning");
297301
this._ps.Streams.Error.DataAdding += _loggerFactory("Error");

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/ComplexCalculator_Add_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ private static void SetExecutionEnvironment()
6969
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
7070
}
7171

72-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
72+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
7373

7474
Environment.SetEnvironmentVariable(envName, envValue.ToString());
7575
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/ComplexCalculator_Subtract_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ private static void SetExecutionEnvironment()
9898
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
9999
}
100100

101-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
101+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
102102

103103
Environment.SetEnvironmentVariable(envName, envValue.ToString());
104104
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/CustomizeResponseExamples_NotFoundResponseWithHeaderV1Async_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ private static void SetExecutionEnvironment()
9090
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
9191
}
9292

93-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
93+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
9494

9595
Environment.SetEnvironmentVariable(envName, envValue.ToString());
9696
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/CustomizeResponseExamples_NotFoundResponseWithHeaderV1_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ private static void SetExecutionEnvironment()
9090
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
9191
}
9292

93-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
93+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
9494

9595
Environment.SetEnvironmentVariable(envName, envValue.ToString());
9696
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/CustomizeResponseExamples_NotFoundResponseWithHeaderV2Async_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ private static void SetExecutionEnvironment()
9090
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
9191
}
9292

93-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
93+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
9494

9595
Environment.SetEnvironmentVariable(envName, envValue.ToString());
9696
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/CustomizeResponseExamples_NotFoundResponseWithHeaderV2_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ private static void SetExecutionEnvironment()
9090
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
9191
}
9292

93-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
93+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
9494

9595
Environment.SetEnvironmentVariable(envName, envValue.ToString());
9696
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/CustomizeResponseExamples_OkResponseWithCustomSerializer_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private static void SetExecutionEnvironment()
103103
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
104104
}
105105

106-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
106+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
107107

108108
Environment.SetEnvironmentVariable(envName, envValue.ToString());
109109
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/CustomizeResponseExamples_OkResponseWithHeaderAsync_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ private static void SetExecutionEnvironment()
9090
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
9191
}
9292

93-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
93+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
9494

9595
Environment.SetEnvironmentVariable(envName, envValue.ToString());
9696
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/CustomizeResponseExamples_OkResponseWithHeader_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ private static void SetExecutionEnvironment()
9090
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
9191
}
9292

93-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
93+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
9494

9595
Environment.SetEnvironmentVariable(envName, envValue.ToString());
9696
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/DynamicExample_DynamicInput_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private static void SetExecutionEnvironment()
5050
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
5151
}
5252

53-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
53+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
5454

5555
Environment.SetEnvironmentVariable(envName, envValue.ToString());
5656
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/DynamicExample_DynamicReturn_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private static void SetExecutionEnvironment()
5050
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
5151
}
5252

53-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
53+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
5454

5555
Environment.SetEnvironmentVariable(envName, envValue.ToString());
5656
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/Functions_AsyncStartupToLower_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private static void SetExecutionEnvironment()
6363
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
6464
}
6565

66-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
66+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
6767

6868
Environment.SetEnvironmentVariable(envName, envValue.ToString());
6969
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/Functions_AsyncStartupToUpper_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private static void SetExecutionEnvironment()
6363
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
6464
}
6565

66-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
66+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
6767

6868
Environment.SetEnvironmentVariable(envName, envValue.ToString());
6969
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/Functions_ToUpper_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private static void SetExecutionEnvironment()
4949
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
5050
}
5151

52-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
52+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
5353

5454
Environment.SetEnvironmentVariable(envName, envValue.ToString());
5555
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/Functions_ToUpper_Generated_NET8.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private static void SetExecutionEnvironment()
4949
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
5050
}
5151

52-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
52+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
5353

5454
Environment.SetEnvironmentVariable(envName, envValue.ToString());
5555
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/GreeterExecutable_SayHelloAsync_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ private static void SetExecutionEnvironment()
106106
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
107107
}
108108

109-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
109+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
110110

111111
Environment.SetEnvironmentVariable(envName, envValue.ToString());
112112
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/GreeterExecutable_SayHello_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ private static void SetExecutionEnvironment()
106106
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
107107
}
108108

109-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
109+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
110110

111111
Environment.SetEnvironmentVariable(envName, envValue.ToString());
112112
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/Greeter_SayHelloAsync_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ private static void SetExecutionEnvironment()
9292
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
9393
}
9494

95-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
95+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
9696

9797
Environment.SetEnvironmentVariable(envName, envValue.ToString());
9898
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/Greeter_SayHello_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ private static void SetExecutionEnvironment()
9292
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
9393
}
9494

95-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
95+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
9696

9797
Environment.SetEnvironmentVariable(envName, envValue.ToString());
9898
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/IntrinsicExample_HasIntrinsic_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private static void SetExecutionEnvironment()
5050
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
5151
}
5252

53-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
53+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
5454

5555
Environment.SetEnvironmentVariable(envName, envValue.ToString());
5656
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/NullableReferenceTypeExample_NullableHeaderHttpApi_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ private static void SetExecutionEnvironment()
8686
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
8787
}
8888

89-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
89+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
9090

9191
Environment.SetEnvironmentVariable(envName, envValue.ToString());
9292
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/ParameterlessMethodWithResponse_ToUpper_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ private static void SetExecutionEnvironment()
4848
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
4949
}
5050

51-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
51+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
5252

5353
Environment.SetEnvironmentVariable(envName, envValue.ToString());
5454
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/ParameterlessMethods_ToUpper_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ private static void SetExecutionEnvironment()
4848
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
4949
}
5050

51-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
51+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
5252

5353
Environment.SetEnvironmentVariable(envName, envValue.ToString());
5454
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/SQS/ValidSQSEvents_ProcessMessagesWithBatchFailureReporting_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private static void SetExecutionEnvironment()
4949
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
5050
}
5151

52-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
52+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
5353

5454
Environment.SetEnvironmentVariable(envName, envValue.ToString());
5555
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/SQS/ValidSQSEvents_ProcessMessages_Generated.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private static void SetExecutionEnvironment()
4949
envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_");
5050
}
5151

52-
envValue.Append("lib/amazon-lambda-annotations#1.5.0.0");
52+
envValue.Append("lib/amazon-lambda-annotations#1.5.1.0");
5353

5454
Environment.SetEnvironmentVariable(envName, envValue.ToString());
5555
}

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/ServerlessTemplates/complexCalculator.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"AWSTemplateFormatVersion": "2010-09-09",
33
"Transform": "AWS::Serverless-2016-10-31",
4-
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.5.0.0).",
4+
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.5.1.0).",
55
"Resources": {
66
"TestServerlessAppComplexCalculatorAddGenerated": {
77
"Type": "AWS::Serverless::Function",

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/ServerlessTemplates/customizeResponse.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"AWSTemplateFormatVersion": "2010-09-09",
33
"Transform": "AWS::Serverless-2016-10-31",
4-
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.5.0.0).",
4+
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.5.1.0).",
55
"Resources": {
66
"TestServerlessAppCustomizeResponseExamplesOkResponseWithHeaderGenerated": {
77
"Type": "AWS::Serverless::Function",

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/ServerlessTemplates/dynamicexample.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"AWSTemplateFormatVersion": "2010-09-09",
33
"Transform": "AWS::Serverless-2016-10-31",
4-
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.5.0.0).",
4+
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.5.1.0).",
55
"Resources": {
66
"TestServerlessAppDynamicExampleDynamicReturnGenerated": {
77
"Type": "AWS::Serverless::Function",

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/ServerlessTemplates/greeter.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"AWSTemplateFormatVersion": "2010-09-09",
33
"Transform": "AWS::Serverless-2016-10-31",
4-
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.5.0.0).",
4+
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.5.1.0).",
55
"Resources": {
66
"GreeterSayHello": {
77
"Type": "AWS::Serverless::Function",

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/ServerlessTemplates/greeter_executable.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"AWSTemplateFormatVersion": "2010-09-09",
33
"Transform": "AWS::Serverless-2016-10-31",
4-
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.5.0.0).",
4+
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.5.1.0).",
55
"Resources": {
66
"GreeterSayHello": {
77
"Type": "AWS::Serverless::Function",

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/ServerlessTemplates/intrinsicexample.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
AWSTemplateFormatVersion: '2010-09-09'
22
Transform: 'AWS::Serverless-2016-10-31'
3-
Description: This template is partially managed by Amazon.Lambda.Annotations (v1.5.0.0).
3+
Description: This template is partially managed by Amazon.Lambda.Annotations (v1.5.1.0).
44
Resources:
55
TestServerlessAppIntrinsicExampleHasIntrinsicGenerated:
66
Type: AWS::Serverless::Function

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/ServerlessTemplates/net8.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"AWSTemplateFormatVersion": "2010-09-09",
33
"Transform": "AWS::Serverless-2016-10-31",
4-
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.5.0.0).",
4+
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.5.1.0).",
55
"Resources": {
66
"TestServerlessAppNET8FunctionsToUpperGenerated": {
77
"Type": "AWS::Serverless::Function",

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/ServerlessTemplates/nullreferenceexample.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"AWSTemplateFormatVersion": "2010-09-09",
33
"Transform": "AWS::Serverless-2016-10-31",
4-
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.5.0.0).",
4+
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.5.1.0).",
55
"Resources": {
66
"TestServerlessAppNullableReferenceTypeExampleNullableHeaderHttpApiGenerated": {
77
"Type": "AWS::Serverless::Function",

0 commit comments

Comments
 (0)