Copyright | (c) 2013-2015 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 |
Creates one or more listeners for the specified load balancer. If a listener with the specified port does not already exist, it is created; otherwise, the properties of the new listener must match the properties of the existing listener.
For more information, see Add a Listener to Your Load Balancer in the Elastic Load Balancing Developer Guide.
See: AWS API Reference for CreateLoadBalancerListeners.
- createLoadBalancerListeners :: Text -> CreateLoadBalancerListeners
- data CreateLoadBalancerListeners
- clblLoadBalancerName :: Lens' CreateLoadBalancerListeners Text
- clblListeners :: Lens' CreateLoadBalancerListeners [Listener]
- createLoadBalancerListenersResponse :: Int -> CreateLoadBalancerListenersResponse
- data CreateLoadBalancerListenersResponse
- clblrsStatus :: Lens' CreateLoadBalancerListenersResponse Int
Creating a Request
createLoadBalancerListeners Source
Creates a value of CreateLoadBalancerListeners
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateLoadBalancerListeners Source
See: createLoadBalancerListeners
smart constructor.
Request Lenses
clblLoadBalancerName :: Lens' CreateLoadBalancerListeners Text Source
The name of the load balancer.
clblListeners :: Lens' CreateLoadBalancerListeners [Listener] Source
The listeners.
Destructuring the Response
createLoadBalancerListenersResponse Source
Creates a value of CreateLoadBalancerListenersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateLoadBalancerListenersResponse Source
See: createLoadBalancerListenersResponse
smart constructor.
Response Lenses
clblrsStatus :: Lens' CreateLoadBalancerListenersResponse Int Source
The response status code.