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

Contents

Description

Sets the type of IP addresses used by the subnets of the specified Application Load Balancer or Network Load Balancer.

Note that Network Load Balancers must use ipv4 .

Synopsis

Creating a Request

setIPAddressType #

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

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

  • siatLoadBalancerARN - The Amazon Resource Name (ARN) of the load balancer.
  • siatIPAddressType - The IP address type. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use ipv4 .

data SetIPAddressType #

See: setIPAddressType smart constructor.

Instances

Eq SetIPAddressType # 
Data SetIPAddressType # 

Methods

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

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

toConstr :: SetIPAddressType -> Constr #

dataTypeOf :: SetIPAddressType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetIPAddressType # 
Show SetIPAddressType # 
Generic SetIPAddressType # 
Hashable SetIPAddressType # 
NFData SetIPAddressType # 

Methods

rnf :: SetIPAddressType -> () #

AWSRequest SetIPAddressType # 
ToHeaders SetIPAddressType # 
ToPath SetIPAddressType # 
ToQuery SetIPAddressType # 
type Rep SetIPAddressType # 
type Rep SetIPAddressType = D1 * (MetaData "SetIPAddressType" "Network.AWS.ELBv2.SetIPAddressType" "amazonka-elbv2-1.6.0-A9WY3bDmNBjLN5Xlgd8sNs" False) (C1 * (MetaCons "SetIPAddressType'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_siatLoadBalancerARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_siatIPAddressType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * IPAddressType))))
type Rs SetIPAddressType # 

Request Lenses

siatLoadBalancerARN :: Lens' SetIPAddressType Text #

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

siatIPAddressType :: Lens' SetIPAddressType IPAddressType #

The IP address type. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use ipv4 .

Destructuring the Response

setIPAddressTypeResponse #

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

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

data SetIPAddressTypeResponse #

See: setIPAddressTypeResponse smart constructor.

Instances

Eq SetIPAddressTypeResponse # 
Data SetIPAddressTypeResponse # 

Methods

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

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

toConstr :: SetIPAddressTypeResponse -> Constr #

dataTypeOf :: SetIPAddressTypeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetIPAddressTypeResponse # 
Show SetIPAddressTypeResponse # 
Generic SetIPAddressTypeResponse # 
NFData SetIPAddressTypeResponse # 
type Rep SetIPAddressTypeResponse # 
type Rep SetIPAddressTypeResponse = D1 * (MetaData "SetIPAddressTypeResponse" "Network.AWS.ELBv2.SetIPAddressType" "amazonka-elbv2-1.6.0-A9WY3bDmNBjLN5Xlgd8sNs" False) (C1 * (MetaCons "SetIPAddressTypeResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_siatrsIPAddressType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe IPAddressType))) (S1 * (MetaSel (Just Symbol "_siatrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

siatrsResponseStatus :: Lens' SetIPAddressTypeResponse Int #

  • - | The response status code.