public void ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancer()
        {
            #region elb-disable-availability-zones-for-load-balancer-1

            var response = client.DisableAvailabilityZonesForLoadBalancer(new DisableAvailabilityZonesForLoadBalancerRequest
            {
                AvailabilityZones = new List <string> {
                    "us-west-2a"
                },
                LoadBalancerName = "my-load-balancer"
            });

            List <string> availabilityZones = response.AvailabilityZones;

            #endregion
        }
 private Amazon.ElasticLoadBalancing.Model.DisableAvailabilityZonesForLoadBalancerResponse CallAWSServiceOperation(IAmazonElasticLoadBalancing client, Amazon.ElasticLoadBalancing.Model.DisableAvailabilityZonesForLoadBalancerRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Elastic Load Balancing", "DisableAvailabilityZonesForLoadBalancer");
     try
     {
         #if DESKTOP
         return(client.DisableAvailabilityZonesForLoadBalancer(request));
         #elif CORECLR
         return(client.DisableAvailabilityZonesForLoadBalancerAsync(request).GetAwaiter().GetResult());
         #else
                 #error "Unknown build edition"
         #endif
     }
     catch (AmazonServiceException exc)
     {
         var webException = exc.InnerException as System.Net.WebException;
         if (webException != null)
         {
             throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException);
         }
         throw;
     }
 }