libZSservicesZSamazonka-elbZSamazonka-elb
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

Creating a Request

data SetLoadBalancerPoliciesOfListener Source #

Contains the parameters for SetLoadBalancePoliciesOfListener.

See: newSetLoadBalancerPoliciesOfListener smart constructor.

Constructors

SetLoadBalancerPoliciesOfListener' 

Fields

  • loadBalancerName :: Text

    The name of the load balancer.

  • loadBalancerPort :: Int

    The external port of the load balancer.

  • policyNames :: [Text]

    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.

Instances

Instances details
Eq SetLoadBalancerPoliciesOfListener Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener

Read SetLoadBalancerPoliciesOfListener Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener

Show SetLoadBalancerPoliciesOfListener Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener

Generic SetLoadBalancerPoliciesOfListener Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener

Associated Types

type Rep SetLoadBalancerPoliciesOfListener :: Type -> Type #

NFData SetLoadBalancerPoliciesOfListener Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener

Hashable SetLoadBalancerPoliciesOfListener Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener

AWSRequest SetLoadBalancerPoliciesOfListener Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener

ToHeaders SetLoadBalancerPoliciesOfListener Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener

ToPath SetLoadBalancerPoliciesOfListener Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener

ToQuery SetLoadBalancerPoliciesOfListener Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener

type Rep SetLoadBalancerPoliciesOfListener Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener

type Rep SetLoadBalancerPoliciesOfListener = D1 ('MetaData "SetLoadBalancerPoliciesOfListener" "Amazonka.ELB.SetLoadBalancerPoliciesOfListener" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "SetLoadBalancerPoliciesOfListener'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loadBalancerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "loadBalancerPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "policyNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))
type AWSResponse SetLoadBalancerPoliciesOfListener Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener

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_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

Instances details
Eq SetLoadBalancerPoliciesOfListenerResponse Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener

Read SetLoadBalancerPoliciesOfListenerResponse Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener

Show SetLoadBalancerPoliciesOfListenerResponse Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener

Generic SetLoadBalancerPoliciesOfListenerResponse Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener

NFData SetLoadBalancerPoliciesOfListenerResponse Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesOfListener

type Rep SetLoadBalancerPoliciesOfListenerResponse Source # 
Instance details

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