amazonka-elbv2-1.6.1: 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 # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

Data ModifyListener Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

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 # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

Show ModifyListener Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

Generic ModifyListener Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

Associated Types

type Rep ModifyListener :: Type -> Type #

Hashable ModifyListener Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

AWSRequest ModifyListener Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

Associated Types

type Rs ModifyListener :: Type #

ToHeaders ModifyListener Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

ToPath ModifyListener Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

ToQuery ModifyListener Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

NFData ModifyListener Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

Methods

rnf :: ModifyListener -> () #

type Rep ModifyListener Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

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

Defined in Network.AWS.ELBv2.ModifyListener

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 # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

Data ModifyListenerResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

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 # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

Show ModifyListenerResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

Generic ModifyListenerResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

Associated Types

type Rep ModifyListenerResponse :: Type -> Type #

NFData ModifyListenerResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

Methods

rnf :: ModifyListenerResponse -> () #

type Rep ModifyListenerResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyListener

type Rep ModifyListenerResponse = D1 (MetaData "ModifyListenerResponse" "Network.AWS.ELBv2.ModifyListener" "amazonka-elbv2-1.6.1-E4uu6EqNDMk4f08ZYDVKwx" False) (C1 (MetaCons "ModifyListenerResponse'" PrefixI True) (S1 (MetaSel (Just "_mlrsListeners") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Listener])) :*: S1 (MetaSel (Just "_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.