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.CreateLoadBalancerPolicy

Description

Creates a policy with the specified attributes for the specified load balancer.

Policies are settings that are saved for your load balancer and that can be applied to the listener or the application server, depending on the policy type.

Synopsis

Creating a Request

data CreateLoadBalancerPolicy Source #

Contains the parameters for CreateLoadBalancerPolicy.

See: newCreateLoadBalancerPolicy smart constructor.

Constructors

CreateLoadBalancerPolicy' 

Fields

Instances

Instances details
Eq CreateLoadBalancerPolicy Source # 
Instance details

Defined in Amazonka.ELB.CreateLoadBalancerPolicy

Read CreateLoadBalancerPolicy Source # 
Instance details

Defined in Amazonka.ELB.CreateLoadBalancerPolicy

Show CreateLoadBalancerPolicy Source # 
Instance details

Defined in Amazonka.ELB.CreateLoadBalancerPolicy

Generic CreateLoadBalancerPolicy Source # 
Instance details

Defined in Amazonka.ELB.CreateLoadBalancerPolicy

Associated Types

type Rep CreateLoadBalancerPolicy :: Type -> Type #

NFData CreateLoadBalancerPolicy Source # 
Instance details

Defined in Amazonka.ELB.CreateLoadBalancerPolicy

Hashable CreateLoadBalancerPolicy Source # 
Instance details

Defined in Amazonka.ELB.CreateLoadBalancerPolicy

AWSRequest CreateLoadBalancerPolicy Source # 
Instance details

Defined in Amazonka.ELB.CreateLoadBalancerPolicy

ToHeaders CreateLoadBalancerPolicy Source # 
Instance details

Defined in Amazonka.ELB.CreateLoadBalancerPolicy

ToPath CreateLoadBalancerPolicy Source # 
Instance details

Defined in Amazonka.ELB.CreateLoadBalancerPolicy

ToQuery CreateLoadBalancerPolicy Source # 
Instance details

Defined in Amazonka.ELB.CreateLoadBalancerPolicy

type Rep CreateLoadBalancerPolicy Source # 
Instance details

Defined in Amazonka.ELB.CreateLoadBalancerPolicy

type Rep CreateLoadBalancerPolicy = D1 ('MetaData "CreateLoadBalancerPolicy" "Amazonka.ELB.CreateLoadBalancerPolicy" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "CreateLoadBalancerPolicy'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "policyAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PolicyAttribute])) :*: S1 ('MetaSel ('Just "loadBalancerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "policyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "policyTypeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateLoadBalancerPolicy Source # 
Instance details

Defined in Amazonka.ELB.CreateLoadBalancerPolicy

newCreateLoadBalancerPolicy Source #

Create a value of CreateLoadBalancerPolicy 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:policyAttributes:CreateLoadBalancerPolicy', createLoadBalancerPolicy_policyAttributes - The policy attributes.

$sel:loadBalancerName:CreateLoadBalancerPolicy', createLoadBalancerPolicy_loadBalancerName - The name of the load balancer.

$sel:policyName:CreateLoadBalancerPolicy', createLoadBalancerPolicy_policyName - The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.

$sel:policyTypeName:CreateLoadBalancerPolicy', createLoadBalancerPolicy_policyTypeName - The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.

Request Lenses

createLoadBalancerPolicy_policyName :: Lens' CreateLoadBalancerPolicy Text Source #

The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.

createLoadBalancerPolicy_policyTypeName :: Lens' CreateLoadBalancerPolicy Text Source #

The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.

Destructuring the Response

data CreateLoadBalancerPolicyResponse Source #

Contains the output of CreateLoadBalancerPolicy.

See: newCreateLoadBalancerPolicyResponse smart constructor.

Constructors

CreateLoadBalancerPolicyResponse' 

Fields

Instances

Instances details
Eq CreateLoadBalancerPolicyResponse Source # 
Instance details

Defined in Amazonka.ELB.CreateLoadBalancerPolicy

Read CreateLoadBalancerPolicyResponse Source # 
Instance details

Defined in Amazonka.ELB.CreateLoadBalancerPolicy

Show CreateLoadBalancerPolicyResponse Source # 
Instance details

Defined in Amazonka.ELB.CreateLoadBalancerPolicy

Generic CreateLoadBalancerPolicyResponse Source # 
Instance details

Defined in Amazonka.ELB.CreateLoadBalancerPolicy

Associated Types

type Rep CreateLoadBalancerPolicyResponse :: Type -> Type #

NFData CreateLoadBalancerPolicyResponse Source # 
Instance details

Defined in Amazonka.ELB.CreateLoadBalancerPolicy

type Rep CreateLoadBalancerPolicyResponse Source # 
Instance details

Defined in Amazonka.ELB.CreateLoadBalancerPolicy

type Rep CreateLoadBalancerPolicyResponse = D1 ('MetaData "CreateLoadBalancerPolicyResponse" "Amazonka.ELB.CreateLoadBalancerPolicy" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "CreateLoadBalancerPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateLoadBalancerPolicyResponse Source #

Create a value of CreateLoadBalancerPolicyResponse 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:CreateLoadBalancerPolicyResponse', createLoadBalancerPolicyResponse_httpStatus - The response's http status code.

Response Lenses