| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ELB.SetLoadBalancerPoliciesOfListener
Description
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 Balancers Guide.
Synopsis
- data SetLoadBalancerPoliciesOfListener = SetLoadBalancerPoliciesOfListener' {
- loadBalancerName :: Text
- loadBalancerPort :: Int
- policyNames :: [Text]
- newSetLoadBalancerPoliciesOfListener :: Text -> Int -> SetLoadBalancerPoliciesOfListener
- setLoadBalancerPoliciesOfListener_loadBalancerName :: Lens' SetLoadBalancerPoliciesOfListener Text
- setLoadBalancerPoliciesOfListener_loadBalancerPort :: Lens' SetLoadBalancerPoliciesOfListener Int
- setLoadBalancerPoliciesOfListener_policyNames :: Lens' SetLoadBalancerPoliciesOfListener [Text]
- data SetLoadBalancerPoliciesOfListenerResponse = SetLoadBalancerPoliciesOfListenerResponse' {
- httpStatus :: Int
- newSetLoadBalancerPoliciesOfListenerResponse :: Int -> SetLoadBalancerPoliciesOfListenerResponse
- setLoadBalancerPoliciesOfListenerResponse_httpStatus :: Lens' SetLoadBalancerPoliciesOfListenerResponse Int
Creating a Request
data SetLoadBalancerPoliciesOfListener Source #
Contains the parameters for SetLoadBalancePoliciesOfListener.
See: newSetLoadBalancerPoliciesOfListener smart constructor.
Constructors
| SetLoadBalancerPoliciesOfListener' | |
Fields
| |
Instances
newSetLoadBalancerPoliciesOfListener Source #
Arguments
| :: Text | |
| -> Int | |
| -> SetLoadBalancerPoliciesOfListener |
Create a value of SetLoadBalancerPoliciesOfListener with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
SetLoadBalancerPoliciesOfListener, setLoadBalancerPoliciesOfListener_loadBalancerName - The name of the load balancer.
SetLoadBalancerPoliciesOfListener, setLoadBalancerPoliciesOfListener_loadBalancerPort - The external port of the load balancer.
SetLoadBalancerPoliciesOfListener, setLoadBalancerPoliciesOfListener_policyNames - 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.
Request Lenses
setLoadBalancerPoliciesOfListener_loadBalancerName :: Lens' SetLoadBalancerPoliciesOfListener Text Source #
The name of the load balancer.
setLoadBalancerPoliciesOfListener_loadBalancerPort :: Lens' SetLoadBalancerPoliciesOfListener Int Source #
The external port of the load balancer.
setLoadBalancerPoliciesOfListener_policyNames :: 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
data SetLoadBalancerPoliciesOfListenerResponse Source #
Contains the output of SetLoadBalancePoliciesOfListener.
See: newSetLoadBalancerPoliciesOfListenerResponse smart constructor.
Constructors
| SetLoadBalancerPoliciesOfListenerResponse' | |
Fields
| |
Instances
newSetLoadBalancerPoliciesOfListenerResponse Source #
Arguments
| :: Int | |
| -> SetLoadBalancerPoliciesOfListenerResponse |
Create a value of SetLoadBalancerPoliciesOfListenerResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:SetLoadBalancerPoliciesOfListenerResponse', setLoadBalancerPoliciesOfListenerResponse_httpStatus - The response's http status code.
Response Lenses
setLoadBalancerPoliciesOfListenerResponse_httpStatus :: Lens' SetLoadBalancerPoliciesOfListenerResponse Int Source #
The response's http status code.