amazonka-elbv2-1.6.0: Amazon Elastic Load Balancing SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ELBv2.ModifyListener

Contents

Description

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 and server certificate.

Synopsis

Creating a Request

modifyListener Source #

Creates a value of ModifyListener with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • mlSSLPolicy - The security policy that defines which protocols and ciphers are supported. For more information, see Security Policies in the Application Load Balancers Guide .
  • mlProtocol - The protocol for connections from clients to the load balancer. Application Load Balancers support HTTP and HTTPS and Network Load Balancers support TCP.
  • mlDefaultActions - The default action. For Application Load Balancers, the protocol of the specified target group must be HTTP or HTTPS. For Network Load Balancers, the protocol of the specified target group must be TCP.
  • mlCertificates - The default SSL server certificate.
  • mlPort - The port for connections from clients to the load balancer.
  • mlListenerARN - The Amazon Resource Name (ARN) of the listener.

data ModifyListener Source #

See: modifyListener smart constructor.

Instances

Eq ModifyListener Source # 
Data ModifyListener Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyListener -> c ModifyListener #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyListener #

toConstr :: ModifyListener -> Constr #

dataTypeOf :: ModifyListener -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ModifyListener) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyListener) #

gmapT :: (forall b. Data b => b -> b) -> ModifyListener -> ModifyListener #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyListener -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyListener -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyListener -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyListener -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyListener -> m ModifyListener #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyListener -> m ModifyListener #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyListener -> m ModifyListener #

Read ModifyListener Source # 
Show ModifyListener Source # 
Generic ModifyListener Source # 

Associated Types

type Rep ModifyListener :: * -> * #

Hashable ModifyListener Source # 
NFData ModifyListener Source # 

Methods

rnf :: ModifyListener -> () #

AWSRequest ModifyListener Source # 
ToHeaders ModifyListener Source # 
ToPath ModifyListener Source # 
ToQuery ModifyListener Source # 
type Rep ModifyListener Source # 
type Rep ModifyListener = D1 * (MetaData "ModifyListener" "Network.AWS.ELBv2.ModifyListener" "amazonka-elbv2-1.6.0-BDuuMSavAm89hMa3xHwuj" False) (C1 * (MetaCons "ModifyListener'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_mlSSLPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_mlProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ProtocolEnum))) (S1 * (MetaSel (Just Symbol "_mlDefaultActions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Action]))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_mlCertificates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Certificate]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_mlPort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_mlListenerARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs ModifyListener Source # 

Request Lenses

mlSSLPolicy :: Lens' ModifyListener (Maybe Text) Source #

The security policy that defines which protocols and ciphers are supported. For more information, see Security Policies in the Application Load Balancers Guide .

mlProtocol :: Lens' ModifyListener (Maybe ProtocolEnum) Source #

The protocol for connections from clients to the load balancer. Application Load Balancers support HTTP and HTTPS and Network Load Balancers support TCP.

mlDefaultActions :: Lens' ModifyListener [Action] Source #

The default action. For Application Load Balancers, the protocol of the specified target group must be HTTP or HTTPS. For Network Load Balancers, the protocol of the specified target group must be TCP.

mlCertificates :: Lens' ModifyListener [Certificate] Source #

The default SSL server certificate.

mlPort :: Lens' ModifyListener (Maybe Natural) Source #

The port for connections from clients to the load balancer.

mlListenerARN :: Lens' ModifyListener Text Source #

The Amazon Resource Name (ARN) of the listener.

Destructuring the Response

modifyListenerResponse Source #

Creates a value of ModifyListenerResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ModifyListenerResponse Source #

See: modifyListenerResponse smart constructor.

Instances

Eq ModifyListenerResponse Source # 
Data ModifyListenerResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyListenerResponse -> c ModifyListenerResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyListenerResponse #

toConstr :: ModifyListenerResponse -> Constr #

dataTypeOf :: ModifyListenerResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ModifyListenerResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyListenerResponse) #

gmapT :: (forall b. Data b => b -> b) -> ModifyListenerResponse -> ModifyListenerResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyListenerResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyListenerResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyListenerResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyListenerResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyListenerResponse -> m ModifyListenerResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyListenerResponse -> m ModifyListenerResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyListenerResponse -> m ModifyListenerResponse #

Read ModifyListenerResponse Source # 
Show ModifyListenerResponse Source # 
Generic ModifyListenerResponse Source # 
NFData ModifyListenerResponse Source # 

Methods

rnf :: ModifyListenerResponse -> () #

type Rep ModifyListenerResponse Source # 
type Rep ModifyListenerResponse = D1 * (MetaData "ModifyListenerResponse" "Network.AWS.ELBv2.ModifyListener" "amazonka-elbv2-1.6.0-BDuuMSavAm89hMa3xHwuj" False) (C1 * (MetaCons "ModifyListenerResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_mlrsListeners") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Listener]))) (S1 * (MetaSel (Just Symbol "_mlrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

mlrsListeners :: Lens' ModifyListenerResponse [Listener] Source #

Information about the modified listeners.

mlrsResponseStatus :: Lens' ModifyListenerResponse Int Source #

  • - | The response status code.