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

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 #

Contains the parameters for AttachLoaBalancerToSubnets.

See: attachLoadBalancerToSubnets smart constructor.

Instances
Eq AttachLoadBalancerToSubnets # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Data AttachLoadBalancerToSubnets # 
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 # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Show AttachLoadBalancerToSubnets # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Generic AttachLoadBalancerToSubnets # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Associated Types

type Rep AttachLoadBalancerToSubnets :: * -> * #

Hashable AttachLoadBalancerToSubnets # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

AWSRequest AttachLoadBalancerToSubnets # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Associated Types

type Rs AttachLoadBalancerToSubnets :: * #

ToHeaders AttachLoadBalancerToSubnets # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

ToPath AttachLoadBalancerToSubnets # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

ToQuery AttachLoadBalancerToSubnets # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

NFData AttachLoadBalancerToSubnets # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

type Rep AttachLoadBalancerToSubnets # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

type Rep AttachLoadBalancerToSubnets = D1 (MetaData "AttachLoadBalancerToSubnets" "Network.AWS.ELB.AttachLoadBalancerToSubnets" "amazonka-elb-1.6.0-2OcU0O5CnMzHeLkmDKnDOc" 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 # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Request Lenses

albtsSubnets :: Lens' AttachLoadBalancerToSubnets [Text] #

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

Destructuring the Response

attachLoadBalancerToSubnetsResponse #

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 #

Contains the output of AttachLoadBalancerToSubnets.

See: attachLoadBalancerToSubnetsResponse smart constructor.

Instances
Eq AttachLoadBalancerToSubnetsResponse # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Data AttachLoadBalancerToSubnetsResponse # 
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 # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Show AttachLoadBalancerToSubnetsResponse # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Generic AttachLoadBalancerToSubnetsResponse # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

Associated Types

type Rep AttachLoadBalancerToSubnetsResponse :: * -> * #

NFData AttachLoadBalancerToSubnetsResponse # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

type Rep AttachLoadBalancerToSubnetsResponse # 
Instance details

Defined in Network.AWS.ELB.AttachLoadBalancerToSubnets

type Rep AttachLoadBalancerToSubnetsResponse = D1 (MetaData "AttachLoadBalancerToSubnetsResponse" "Network.AWS.ELB.AttachLoadBalancerToSubnets" "amazonka-elb-1.6.0-2OcU0O5CnMzHeLkmDKnDOc" 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] #

The IDs of the subnets attached to the load balancer.