Amazon.ElasticLoadBalancingV2.AmazonElasticLoadBalancingV2Client.ModifyListener C# (CSharp) Method

ModifyListener() public method

Modifies the specified properties of the specified listener.

Any properties that you do not specify retain their current values. However, changing the protocol from HTTPS to HTTP removes the security policy and SSL certificate properties. If you change the protocol from HTTP to HTTPS, you must add the security policy.

/// The specified certificate does not exist. /// /// A listener with the specified port already exists. /// /// The specified configuration is not valid with this protocol. /// /// The requested configuration is not valid. /// /// The specified listener does not exist. /// /// The specified SSL policy does not exist. /// /// You've reached the limit on the number of load balancers per target group. /// /// The specified target group does not exist. /// /// You've reached the limit on the number of certificates per listener. /// /// You've reached the limit on the number of listeners per load balancer. /// /// You've reached the limit on the number of times a target can be registered with a /// load balancer. /// /// The specified protocol is not supported. ///
public ModifyListener ( ModifyListenerRequest request ) : ModifyListenerResponse
request Amazon.ElasticLoadBalancingV2.Model.ModifyListenerRequest Container for the necessary parameters to execute the ModifyListener service method.
return Amazon.ElasticLoadBalancingV2.Model.ModifyListenerResponse
        public ModifyListenerResponse ModifyListener(ModifyListenerRequest request)
        {
            var marshaller = new ModifyListenerRequestMarshaller();
            var unmarshaller = ModifyListenerResponseUnmarshaller.Instance;

            return Invoke<ModifyListenerRequest,ModifyListenerResponse>(request, marshaller, unmarshaller);
        }
AmazonElasticLoadBalancingV2Client