internal DeleteThingResponse DeleteThing(DeleteThingRequest request) { var marshaller = new DeleteThingRequestMarshaller(); var unmarshaller = DeleteThingResponseUnmarshaller.Instance; return Invoke<DeleteThingRequest,DeleteThingResponse>(request, marshaller, unmarshaller); }
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(); } }