amazonka-elb-1.6.0: Amazon Elastic Load Balancing SDK.

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

Network.AWS.ELB.CreateLoadBalancerPolicy

Contents

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

createLoadBalancerPolicy Source #

Creates a value of CreateLoadBalancerPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • clbpPolicyAttributes - The policy attributes.
  • clbpLoadBalancerName - The name of the load balancer.
  • clbpPolicyName - The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
  • clbpPolicyTypeName - The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes .

data CreateLoadBalancerPolicy Source #

Contains the parameters for CreateLoadBalancerPolicy.

See: createLoadBalancerPolicy smart constructor.

Instances

Eq CreateLoadBalancerPolicy Source # 
Data CreateLoadBalancerPolicy Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateLoadBalancerPolicy -> c CreateLoadBalancerPolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateLoadBalancerPolicy #

toConstr :: CreateLoadBalancerPolicy -> Constr #

dataTypeOf :: CreateLoadBalancerPolicy -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateLoadBalancerPolicy) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateLoadBalancerPolicy) #

gmapT :: (forall b. Data b => b -> b) -> CreateLoadBalancerPolicy -> CreateLoadBalancerPolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateLoadBalancerPolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateLoadBalancerPolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateLoadBalancerPolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateLoadBalancerPolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateLoadBalancerPolicy -> m CreateLoadBalancerPolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateLoadBalancerPolicy -> m CreateLoadBalancerPolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateLoadBalancerPolicy -> m CreateLoadBalancerPolicy #

Read CreateLoadBalancerPolicy Source # 
Show CreateLoadBalancerPolicy Source # 
Generic CreateLoadBalancerPolicy Source # 
Hashable CreateLoadBalancerPolicy Source # 
NFData CreateLoadBalancerPolicy Source # 
AWSRequest CreateLoadBalancerPolicy Source # 
ToHeaders CreateLoadBalancerPolicy Source # 
ToPath CreateLoadBalancerPolicy Source # 
ToQuery CreateLoadBalancerPolicy Source # 
type Rep CreateLoadBalancerPolicy Source # 
type Rep CreateLoadBalancerPolicy = D1 * (MetaData "CreateLoadBalancerPolicy" "Network.AWS.ELB.CreateLoadBalancerPolicy" "amazonka-elb-1.6.0-5C3p91bx7mZHA7FQsncbL" False) (C1 * (MetaCons "CreateLoadBalancerPolicy'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_clbpPolicyAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [PolicyAttribute]))) (S1 * (MetaSel (Just Symbol "_clbpLoadBalancerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_clbpPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_clbpPolicyTypeName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs CreateLoadBalancerPolicy Source # 

Request Lenses

clbpPolicyName :: 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.

clbpPolicyTypeName :: Lens' CreateLoadBalancerPolicy Text Source #

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

Destructuring the Response

createLoadBalancerPolicyResponse Source #

Creates a value of CreateLoadBalancerPolicyResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateLoadBalancerPolicyResponse Source #

Contains the output of CreateLoadBalancerPolicy.

See: createLoadBalancerPolicyResponse smart constructor.

Instances

Eq CreateLoadBalancerPolicyResponse Source # 
Data CreateLoadBalancerPolicyResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateLoadBalancerPolicyResponse -> c CreateLoadBalancerPolicyResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateLoadBalancerPolicyResponse #

toConstr :: CreateLoadBalancerPolicyResponse -> Constr #

dataTypeOf :: CreateLoadBalancerPolicyResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateLoadBalancerPolicyResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateLoadBalancerPolicyResponse) #

gmapT :: (forall b. Data b => b -> b) -> CreateLoadBalancerPolicyResponse -> CreateLoadBalancerPolicyResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateLoadBalancerPolicyResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateLoadBalancerPolicyResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateLoadBalancerPolicyResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateLoadBalancerPolicyResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateLoadBalancerPolicyResponse -> m CreateLoadBalancerPolicyResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateLoadBalancerPolicyResponse -> m CreateLoadBalancerPolicyResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateLoadBalancerPolicyResponse -> m CreateLoadBalancerPolicyResponse #

Read CreateLoadBalancerPolicyResponse Source # 
Show CreateLoadBalancerPolicyResponse Source # 
Generic CreateLoadBalancerPolicyResponse Source # 
NFData CreateLoadBalancerPolicyResponse Source # 
type Rep CreateLoadBalancerPolicyResponse Source # 
type Rep CreateLoadBalancerPolicyResponse = D1 * (MetaData "CreateLoadBalancerPolicyResponse" "Network.AWS.ELB.CreateLoadBalancerPolicy" "amazonka-elb-1.6.0-5C3p91bx7mZHA7FQsncbL" True) (C1 * (MetaCons "CreateLoadBalancerPolicyResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_clbprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses