in Dotnetsamples/Iotconsumer/Iotconsumer/Program.cs [43:46]
private static void Client_MqttMsgSubscribed(object sender, MqttMsgSubscribedEventArgs e)
{
Console.WriteLine($"Successfully subscribed to the AWS IoT topic.");
}