amazonka-elb-1.6.1: 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.AttachLoadBalancerToSubnets

Contents

Description

Adds one or more subnets to the set of configured subnets for the specified load balancer.

The load balancer evenly distributes requests across all registered subnets. For more information, see Add or Remove Subnets for Your Load Balancer in a VPC in the Classic Load Balancer Guide .

Synopsis

Creating a Request

attachLoadBalancerToSubnets Source #

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

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

data AttachLoadBalancerToSubnets Source #

Contains the parameters for AttachLoaBalancerToSubnets.

See: attachLoadBalancerToSubnets smart constructor.

Instances
Eq AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Data AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Methods

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

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

toConstr :: AttachLoadBalancerToSubnets -> Constr #

dataTypeOf :: AttachLoadBalancerToSubnets -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Show AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Generic AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Associated Types

type Rep AttachLoadBalancerToSubnets :: Type -> Type #

Hashable AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

AWSRequest AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Associated Types

type Rs AttachLoadBalancerToSubnets :: Type #

ToHeaders AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

ToPath AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

ToQuery AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

NFData AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

type Rep AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

type Rep AttachLoadBalancerToSubnets = D1 (MetaData "AttachLoadBalancerToSubnets" "Network.AWS.ELB.AttachLoadBalancerToSubnets" "amazonka-elb-1.6.1-Ih5hIKrYl5yJOuBwSBSzZS" False) (C1 (MetaCons "AttachLoadBalancerToSubnets'" PrefixI True) (S1 (MetaSel (Just "_albtsLoadBalancerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_albtsSubnets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])))
type Rs AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Request Lenses

albtsSubnets :: Lens' AttachLoadBalancerToSubnets [Text] Source #

The IDs of the subnets to add. You can add only one subnet per Availability Zone.

Destructuring the Response

attachLoadBalancerToSubnetsResponse Source #

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

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

data AttachLoadBalancerToSubnetsResponse Source #

Contains the output of AttachLoadBalancerToSubnets.

See: attachLoadBalancerToSubnetsResponse smart constructor.

Instances
Eq AttachLoadBalancerToSubnetsResponse Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Data AttachLoadBalancerToSubnetsResponse Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Methods

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

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

toConstr :: AttachLoadBalancerToSubnetsResponse -> Constr #

dataTypeOf :: AttachLoadBalancerToSubnetsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttachLoadBalancerToSubnetsResponse Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Show AttachLoadBalancerToSubnetsResponse Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Generic AttachLoadBalancerToSubnetsResponse Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

NFData AttachLoadBalancerToSubnetsResponse Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

type Rep AttachLoadBalancerToSubnetsResponse Source # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

type Rep AttachLoadBalancerToSubnetsResponse = D1 (MetaData "AttachLoadBalancerToSubnetsResponse" "Network.AWS.ELB.AttachLoadBalancerToSubnets" "amazonka-elb-1.6.1-Ih5hIKrYl5yJOuBwSBSzZS" False) (C1 (MetaCons "AttachLoadBalancerToSubnetsResponse'" PrefixI True) (S1 (MetaSel (Just "_albtsrsSubnets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_albtsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

albtsrsSubnets :: Lens' AttachLoadBalancerToSubnetsResponse [Text] Source #

The IDs of the subnets attached to the load balancer.