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 |
Network.AWS.ELB.SetLoadBalancerPoliciesOfListener
Description
Associates, updates, or disables a policy with a listener for the specified load balancer. You can associate multiple policies with a listener.
See: AWS API Reference for SetLoadBalancerPoliciesOfListener.
- setLoadBalancerPoliciesOfListener :: Text -> Int -> SetLoadBalancerPoliciesOfListener
- data SetLoadBalancerPoliciesOfListener
- slbpolLoadBalancerName :: Lens' SetLoadBalancerPoliciesOfListener Text
- slbpolLoadBalancerPort :: Lens' SetLoadBalancerPoliciesOfListener Int
- slbpolPolicyNames :: Lens' SetLoadBalancerPoliciesOfListener [Text]
- setLoadBalancerPoliciesOfListenerResponse :: Int -> SetLoadBalancerPoliciesOfListenerResponse
- data SetLoadBalancerPoliciesOfListenerResponse
- slbpolrsResponseStatus :: Lens' SetLoadBalancerPoliciesOfListenerResponse Int
Creating a Request
setLoadBalancerPoliciesOfListener Source
Arguments
:: Text | |
-> Int | |
-> SetLoadBalancerPoliciesOfListener |
Creates a value of SetLoadBalancerPoliciesOfListener
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SetLoadBalancerPoliciesOfListener Source
See: setLoadBalancerPoliciesOfListener
smart constructor.
Instances
Request Lenses
slbpolLoadBalancerName :: Lens' SetLoadBalancerPoliciesOfListener Text Source
The name of the load balancer.
slbpolLoadBalancerPort :: Lens' SetLoadBalancerPoliciesOfListener Int Source
The external port of the load balancer for the policy.
slbpolPolicyNames :: Lens' SetLoadBalancerPoliciesOfListener [Text] Source
The names of the policies. If the list is empty, the current policy is removed from the listener.
Destructuring the Response
setLoadBalancerPoliciesOfListenerResponse Source
Creates a value of SetLoadBalancerPoliciesOfListenerResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SetLoadBalancerPoliciesOfListenerResponse Source
See: setLoadBalancerPoliciesOfListenerResponse
smart constructor.
Instances
Response Lenses
slbpolrsResponseStatus :: Lens' SetLoadBalancerPoliciesOfListenerResponse Int Source
The response status code.