public void ElasticLoadBalancingDetachLoadBalancerFromSubnets() { #region elb-detach-load-balancer-from-subnets-1 var client = new AmazonElasticLoadBalancingClient(); var response = client.DetachLoadBalancerFromSubnets(new DetachLoadBalancerFromSubnetsRequest { LoadBalancerName = "my-load-balancer", Subnets = new List <string> { "subnet-0ecac448" } }); List <string> subnets = response.Subnets; #endregion }