amazonka-elbv2-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.ELBv2.SetSubnets

Contents

Description

Enables the Availability Zone for the specified public subnets for the specified Application Load Balancer. The specified subnets replace the previously enabled subnets.

Note that you can't change the subnets for a Network Load Balancer.

Synopsis

Creating a Request

setSubnets #

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:

  • ssSubnetMappings - The IDs of the public subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings. You cannot specify Elastic IP addresses for your subnets.
  • ssLoadBalancerARN - The Amazon Resource Name (ARN) of the load balancer.
  • ssSubnets - The IDs of the public subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.

data SetSubnets #

See: setSubnets smart constructor.

Instances
Eq SetSubnets # 
Instance details

Defined in Network.AWS.ELBv2.SetSubnets

Data SetSubnets # 
Instance details

Defined in Network.AWS.ELBv2.SetSubnets

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

Defined in Network.AWS.ELBv2.SetSubnets

Show SetSubnets # 
Instance details

Defined in Network.AWS.ELBv2.SetSubnets

Generic SetSubnets # 
Instance details

Defined in Network.AWS.ELBv2.SetSubnets

Associated Types

type Rep SetSubnets :: * -> * #

Hashable SetSubnets # 
Instance details

Defined in Network.AWS.ELBv2.SetSubnets

AWSRequest SetSubnets # 
Instance details

Defined in Network.AWS.ELBv2.SetSubnets

Associated Types

type Rs SetSubnets :: * #

ToHeaders SetSubnets # 
Instance details

Defined in Network.AWS.ELBv2.SetSubnets

Methods

toHeaders :: SetSubnets -> [Header] #

ToPath SetSubnets # 
Instance details

Defined in Network.AWS.ELBv2.SetSubnets

ToQuery SetSubnets # 
Instance details

Defined in Network.AWS.ELBv2.SetSubnets

NFData SetSubnets # 
Instance details

Defined in Network.AWS.ELBv2.SetSubnets

Methods

rnf :: SetSubnets -> () #

type Rep SetSubnets # 
Instance details

Defined in Network.AWS.ELBv2.SetSubnets

type Rep SetSubnets = D1 (MetaData "SetSubnets" "Network.AWS.ELBv2.SetSubnets" "amazonka-elbv2-1.6.0-BVt7aZYOjY5Am9wtaPXlVG" False) (C1 (MetaCons "SetSubnets'" PrefixI True) (S1 (MetaSel (Just "_ssSubnetMappings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SubnetMapping])) :*: (S1 (MetaSel (Just "_ssLoadBalancerARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ssSubnets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs SetSubnets # 
Instance details

Defined in Network.AWS.ELBv2.SetSubnets

Request Lenses

ssSubnetMappings :: Lens' SetSubnets [SubnetMapping] #

The IDs of the public subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings. You cannot specify Elastic IP addresses for your subnets.

ssLoadBalancerARN :: Lens' SetSubnets Text #

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

ssSubnets :: Lens' SetSubnets [Text] #

The IDs of the public subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.

Destructuring the Response

setSubnetsResponse #

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 #

See: setSubnetsResponse smart constructor.

Instances
Eq SetSubnetsResponse # 
Instance details

Defined in Network.AWS.ELBv2.SetSubnets

Data SetSubnetsResponse # 
Instance details

Defined in Network.AWS.ELBv2.SetSubnets

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

Defined in Network.AWS.ELBv2.SetSubnets

Show SetSubnetsResponse # 
Instance details

Defined in Network.AWS.ELBv2.SetSubnets

Generic SetSubnetsResponse # 
Instance details

Defined in Network.AWS.ELBv2.SetSubnets

Associated Types

type Rep SetSubnetsResponse :: * -> * #

NFData SetSubnetsResponse # 
Instance details

Defined in Network.AWS.ELBv2.SetSubnets

Methods

rnf :: SetSubnetsResponse -> () #

type Rep SetSubnetsResponse # 
Instance details

Defined in Network.AWS.ELBv2.SetSubnets

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

Response Lenses

ssrsAvailabilityZones :: Lens' SetSubnetsResponse [AvailabilityZone] #

Information about the subnet and Availability Zone.

ssrsResponseStatus :: Lens' SetSubnetsResponse Int #

  • - | The response status code.