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 #

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 #

See: modifyListener smart constructor.

Instances

Eq ModifyListener # 
Data 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 # 
Show ModifyListener # 
Generic ModifyListener # 

Associated Types

type Rep ModifyListener :: * -> * #

Hashable ModifyListener # 
NFData ModifyListener # 

Methods

rnf :: ModifyListener -> () #

AWSRequest ModifyListener # 
ToHeaders ModifyListener # 
ToPath ModifyListener # 
ToQuery ModifyListener # 
type Rep ModifyListener # 
type Rep ModifyListener = D1 * (MetaData "ModifyListener" "Network.AWS.ELBv2.ModifyListener" "amazonka-elbv2-1.6.0-A9WY3bDmNBjLN5Xlgd8sNs" 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 # 

Request Lenses

mlSSLPolicy :: Lens' ModifyListener (Maybe Text) #

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) #

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] #

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] #

The default SSL server certificate.

mlPort :: Lens' ModifyListener (Maybe Natural) #

The port for connections from clients to the load balancer.

mlListenerARN :: Lens' ModifyListener Text #

The Amazon Resource Name (ARN) of the listener.

Destructuring the Response

modifyListenerResponse #

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 #

See: modifyListenerResponse smart constructor.

Instances

Eq ModifyListenerResponse # 
Data ModifyListenerResponse # 

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 # 
Show ModifyListenerResponse # 
Generic ModifyListenerResponse # 
NFData ModifyListenerResponse # 

Methods

rnf :: ModifyListenerResponse -> () #

type Rep ModifyListenerResponse # 
type Rep ModifyListenerResponse = D1 * (MetaData "ModifyListenerResponse" "Network.AWS.ELBv2.ModifyListener" "amazonka-elbv2-1.6.0-A9WY3bDmNBjLN5Xlgd8sNs" 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] #

Information about the modified listeners.

mlrsResponseStatus :: Lens' ModifyListenerResponse Int #

  • - | The response status code.