Open
Description
Expected Behavior
A valid Lambda Function Qualifier such as "production" or "$LATEST" should not raise a warning
Current Behavior
When compiling, with a valid qualifier string
It produces a compile warning and flags in Visual Studio:
warning Lambda1002: Value "$LATEST" does not match required pattern "(|[a-zA-Z0-9$_-]+)" for property Qualifier
Possible Solution
It looks like the regex has a spurious "|" at the start
Steps to Reproduce (for bugs)
var request = new InvokeRequest { FunctionName = "FUNCTION", Qualifier = "$LATEST", InvocationType = InvocationType.Event, LogType = LogType.None, Payload = payload };
Context
Unable to compile when warnings as errors is on, and have to #pragma warning disable Lambda1002
Your Environment
AWSSDK.Lambda Version="3.3.16.5"
Visual Studio 2017 (15.8.7)
.Net Core 2.1
Windows 10