Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.ELBv2.CreateListener
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.
- createListener :: Text -> ProtocolEnum -> Natural -> CreateListener
- data CreateListener
- clSSLPolicy :: Lens' CreateListener (Maybe Text)
- clCertificates :: Lens' CreateListener [Certificate]
- clLoadBalancerARN :: Lens' CreateListener Text
- clProtocol :: Lens' CreateListener ProtocolEnum
- clPort :: Lens' CreateListener Natural
- clDefaultActions :: Lens' CreateListener [Action]
- createListenerResponse :: Int -> CreateListenerResponse
- data CreateListenerResponse
- clrsListeners :: Lens' CreateListenerResponse [Listener]
- clrsResponseStatus :: Lens' CreateListenerResponse Int
Creating a Request
Arguments
:: Text | |
-> ProtocolEnum | |
-> Natural | |
-> CreateListener |
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
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.
clDefaultActions :: Lens' CreateListener [Action] Source #
The default actions for the listener.
Destructuring the Response
createListenerResponse Source #
Arguments
:: Int | |
-> CreateListenerResponse |
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.
Response Lenses
clrsListeners :: Lens' CreateListenerResponse [Listener] Source #
Information about the listener.
clrsResponseStatus :: Lens' CreateListenerResponse Int Source #
The response status code.