Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Replaces the current set of policies for the specified load balancer port with the specified set of policies.
To enable back-end server authentication, use SetLoadBalancerPoliciesForBackendServer
.
For more information about setting policies, see Update the SSL Negotiation Configuration , Duration-Based Session Stickiness , and Application-Controlled Session Stickiness in the Classic Load Balancer Guide .
Synopsis
- 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 #
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:
slbpolLoadBalancerName
- The name of the load balancer.slbpolLoadBalancerPort
- The external port of the load balancer.slbpolPolicyNames
- The names of the policies. This list must include all policies to be enabled. If you omit a policy that is currently enabled, it is disabled. If the list is empty, all current policies are disabled.
data SetLoadBalancerPoliciesOfListener Source #
Contains the parameters for SetLoadBalancePoliciesOfListener.
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.
slbpolPolicyNames :: Lens' SetLoadBalancerPoliciesOfListener [Text] Source #
The names of the policies. This list must include all policies to be enabled. If you omit a policy that is currently enabled, it is disabled. If the list is empty, all current policies are disabled.
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:
slbpolrsResponseStatus
- -- | The response status code.
data SetLoadBalancerPoliciesOfListenerResponse Source #
Contains the output of SetLoadBalancePoliciesOfListener.
See: setLoadBalancerPoliciesOfListenerResponse
smart constructor.
Instances
Response Lenses
slbpolrsResponseStatus :: Lens' SetLoadBalancerPoliciesOfListenerResponse Int Source #
- - | The response status code.