public void ElasticLoadBalancingAttachLoadBalancerToSubnets() { #region elb-attach-load-balancer-to-subnets-1 var client = new AmazonElasticLoadBalancingClient(); var response = client.AttachLoadBalancerToSubnets(new AttachLoadBalancerToSubnetsRequest { LoadBalancerName = "my-load-balancer", Subnets = new List <string> { "subnet-0ecac448" } }); List <string> subnets = response.Subnets; #endregion }