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

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

Network.AWS.ELBv2.CreateListener

Contents

Description

Creates a listener for the specified Application load balancer.

To update a listener, use ModifyListener. When you are finished with a listener, you can delete it using DeleteListener. If you are finished with both the listener and the load balancer, you can delete them both using DeleteLoadBalancer.

For more information, see Listeners for Your Application Load Balancers in the Application Load Balancers Guide.

Synopsis

Creating a Request

createListener Source #

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

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

data CreateListener Source #

Contains the parameters for CreateListener.

See: createListener smart constructor.

Instances

Eq CreateListener Source # 
Data CreateListener Source # 

Methods

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

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

toConstr :: CreateListener -> Constr #

dataTypeOf :: CreateListener -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateListener Source # 
Show CreateListener Source # 
Generic CreateListener Source # 

Associated Types

type Rep CreateListener :: * -> * #

Hashable CreateListener Source # 
NFData CreateListener Source # 

Methods

rnf :: CreateListener -> () #

AWSRequest CreateListener Source # 
ToPath CreateListener Source # 
ToHeaders CreateListener Source # 
ToQuery CreateListener Source # 
type Rep CreateListener Source # 
type Rep CreateListener = D1 (MetaData "CreateListener" "Network.AWS.ELBv2.CreateListener" "amazonka-elbv2-1.4.4-J3raiqTtsWzGRG4vqY4F1A" False) (C1 (MetaCons "CreateListener'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_clSSLPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_clCertificates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Certificate]))) (S1 (MetaSel (Just Symbol "_clLoadBalancerARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_clProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ProtocolEnum)) ((:*:) (S1 (MetaSel (Just Symbol "_clPort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat)) (S1 (MetaSel (Just Symbol "_clDefaultActions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Action]))))))
type Rs CreateListener Source # 

Request Lenses

clSSLPolicy :: Lens' CreateListener (Maybe Text) Source #

The security policy that defines which ciphers and protocols are supported. The default is the current predefined security policy.

clCertificates :: Lens' CreateListener [Certificate] Source #

The SSL server certificate. You must provide exactly one certificate if the protocol is HTTPS.

clLoadBalancerARN :: Lens' CreateListener Text Source #

The Amazon Resource Name (ARN) of the load balancer.

clProtocol :: Lens' CreateListener ProtocolEnum Source #

The protocol for connections from clients to the load balancer.

clPort :: Lens' CreateListener Natural Source #

The port on which the load balancer is listening.

clDefaultActions :: Lens' CreateListener [Action] Source #

The default actions for the listener.

Destructuring the Response

createListenerResponse Source #

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

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

data CreateListenerResponse Source #

Contains the output of CreateListener.

See: createListenerResponse smart constructor.

Instances

Eq CreateListenerResponse Source # 
Data CreateListenerResponse Source # 

Methods

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

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

toConstr :: CreateListenerResponse -> Constr #

dataTypeOf :: CreateListenerResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateListenerResponse Source # 
Show CreateListenerResponse Source # 
Generic CreateListenerResponse Source # 
NFData CreateListenerResponse Source # 

Methods

rnf :: CreateListenerResponse -> () #

type Rep CreateListenerResponse Source # 
type Rep CreateListenerResponse = D1 (MetaData "CreateListenerResponse" "Network.AWS.ELBv2.CreateListener" "amazonka-elbv2-1.4.4-J3raiqTtsWzGRG4vqY4F1A" False) (C1 (MetaCons "CreateListenerResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_clrsListeners") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Listener]))) (S1 (MetaSel (Just Symbol "_clrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

clrsListeners :: Lens' CreateListenerResponse [Listener] Source #

Information about the listener.