public static void Cleanup() { if (!string.IsNullOrEmpty(CREATED_THING_NAME)) { using (var iotClient = new AmazonIoTClient()) { iotClient.DeleteThing(CREATED_THING_NAME); } } if (Client != null) { Client.Dispose(); } }
public static void Cleanup() { if (!string.IsNullOrEmpty(CREATED_THING_NAME)) { using (var iotClient = new AmazonIoTClient()) { iotClient.DeleteThing(CREATED_THING_NAME); } } if (Client != null) { Client.Dispose(); } }