in telemetry/csharp/AwsToolkit.Telemetry.Events.Generator/Utils/MetricTypeExtensionMethods.cs [39:48]
public static string GetGeneratedTypeName(this MetricType type)
{
var typeName = type.name;
if (type.IsAliasedType())
{
typeName = type.GetAliasedType().FullName;
}
return typeName.ToPascalCase();
}