public void ElasticLoadBalancingDescribeLoadBalancerPolicyTypes()
        {
            #region elb-describe-load-balancer-policy-types-1

            var response = client.DescribeLoadBalancerPolicyTypes(new DescribeLoadBalancerPolicyTypesRequest
            {
                PolicyTypeNames = new List <string> {
                    "ProxyProtocolPolicyType"
                }
            });

            List <PolicyTypeDescription> policyTypeDescriptions = response.PolicyTypeDescriptions;

            #endregion
        }
 private Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerPolicyTypesResponse CallAWSServiceOperation(IAmazonElasticLoadBalancing client, Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerPolicyTypesRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Elastic Load Balancing", "DescribeLoadBalancerPolicyTypes");
     try
     {
         #if DESKTOP
         return(client.DescribeLoadBalancerPolicyTypes(request));
         #elif CORECLR
         return(client.DescribeLoadBalancerPolicyTypesAsync(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;
     }
 }