Copyright | (c) 2013-2021 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 |
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.
SetLoadBalancerPoliciesOfListener' | |
|
Instances
newSetLoadBalancerPoliciesOfListener Source #
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:
$sel:loadBalancerName:SetLoadBalancerPoliciesOfListener'
, setLoadBalancerPoliciesOfListener_loadBalancerName
- The name of the load balancer.
$sel:loadBalancerPort:SetLoadBalancerPoliciesOfListener'
, setLoadBalancerPoliciesOfListener_loadBalancerPort
- The external port of the load balancer.
$sel:policyNames: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.
SetLoadBalancerPoliciesOfListenerResponse' | |
|
Instances
Eq SetLoadBalancerPoliciesOfListenerResponse Source # | |
Read SetLoadBalancerPoliciesOfListenerResponse Source # | |
Show SetLoadBalancerPoliciesOfListenerResponse Source # | |
Generic SetLoadBalancerPoliciesOfListenerResponse Source # | |
Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener type Rep SetLoadBalancerPoliciesOfListenerResponse :: Type -> Type # | |
NFData SetLoadBalancerPoliciesOfListenerResponse Source # | |
type Rep SetLoadBalancerPoliciesOfListenerResponse Source # | |
Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener type Rep SetLoadBalancerPoliciesOfListenerResponse = D1 ('MetaData "SetLoadBalancerPoliciesOfListenerResponse" "Amazonka.ELB.SetLoadBalancerPoliciesOfListener" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "SetLoadBalancerPoliciesOfListenerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newSetLoadBalancerPoliciesOfListenerResponse Source #
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.