amazonka-elbv2-1.4.5: Amazon Elastic Load Balancing SDK.

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

Network.AWS.ELBv2.SetSubnets

Contents

Description

Enables the Availability Zone for the specified subnets for the specified load balancer. The specified subnets replace the previously enabled subnets.

Synopsis

Creating a Request

setSubnets Source #

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

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

  • ssLoadBalancerARN - The Amazon Resource Name (ARN) of the load balancer.
  • ssSubnets - The IDs of the subnets. You must specify at least two subnets. You can add only one subnet per Availability Zone.

data SetSubnets Source #

Contains the parameters for SetSubnets.

See: setSubnets smart constructor.

Instances

Eq SetSubnets Source # 
Data SetSubnets Source # 

Methods

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

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

toConstr :: SetSubnets -> Constr #

dataTypeOf :: SetSubnets -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetSubnets Source # 
Show SetSubnets Source # 
Generic SetSubnets Source # 

Associated Types

type Rep SetSubnets :: * -> * #

Hashable SetSubnets Source # 
NFData SetSubnets Source # 

Methods

rnf :: SetSubnets -> () #

AWSRequest SetSubnets Source # 
ToPath SetSubnets Source # 
ToHeaders SetSubnets Source # 

Methods

toHeaders :: SetSubnets -> [Header] #

ToQuery SetSubnets Source # 
type Rep SetSubnets Source # 
type Rep SetSubnets = D1 (MetaData "SetSubnets" "Network.AWS.ELBv2.SetSubnets" "amazonka-elbv2-1.4.5-J8ZeSE6X9TjH6Y7FrPuIXa" False) (C1 (MetaCons "SetSubnets'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ssLoadBalancerARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ssSubnets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs SetSubnets Source # 

Request Lenses

ssLoadBalancerARN :: Lens' SetSubnets Text Source #

The Amazon Resource Name (ARN) of the load balancer.

ssSubnets :: Lens' SetSubnets [Text] Source #

The IDs of the subnets. You must specify at least two subnets. You can add only one subnet per Availability Zone.

Destructuring the Response

setSubnetsResponse Source #

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

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

data SetSubnetsResponse Source #

Contains the output of SetSubnets.

See: setSubnetsResponse smart constructor.

Instances

Eq SetSubnetsResponse Source # 
Data SetSubnetsResponse Source # 

Methods

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

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

toConstr :: SetSubnetsResponse -> Constr #

dataTypeOf :: SetSubnetsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetSubnetsResponse Source # 
Show SetSubnetsResponse Source # 
Generic SetSubnetsResponse Source # 
NFData SetSubnetsResponse Source # 

Methods

rnf :: SetSubnetsResponse -> () #

type Rep SetSubnetsResponse Source # 
type Rep SetSubnetsResponse = D1 (MetaData "SetSubnetsResponse" "Network.AWS.ELBv2.SetSubnets" "amazonka-elbv2-1.4.5-J8ZeSE6X9TjH6Y7FrPuIXa" False) (C1 (MetaCons "SetSubnetsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ssrsAvailabilityZones") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AvailabilityZone]))) (S1 (MetaSel (Just Symbol "_ssrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

ssrsAvailabilityZones :: Lens' SetSubnetsResponse [AvailabilityZone] Source #

Information about the subnet and Availability Zone.

ssrsResponseStatus :: Lens' SetSubnetsResponse Int Source #

  • - | The response status code.