amazonka-ec2-1.4.5: Amazon Elastic Compute Cloud 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.EC2.ModifySubnetAttribute

Contents

Description

Modifies a subnet attribute. You can only modify one attribute at a time.

Synopsis

Creating a Request

modifySubnetAttribute Source #

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

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

  • msaAssignIPv6AddressOnCreation - Specify true to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address. This includes a network interface that's created when launching an instance into the subnet (the instance therefore receives an IPv6 address).
  • msaMapPublicIPOnLaunch - Specify true to indicate that network interfaces created in the specified subnet should be assigned a public IPv4 address. This includes a network interface that's created when launching an instance into the subnet (the instance therefore receives a public IPv4 address).
  • msaSubnetId - The ID of the subnet.

data ModifySubnetAttribute Source #

Contains the parameters for ModifySubnetAttribute.

See: modifySubnetAttribute smart constructor.

Instances

Eq ModifySubnetAttribute Source # 
Data ModifySubnetAttribute Source # 

Methods

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

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

toConstr :: ModifySubnetAttribute -> Constr #

dataTypeOf :: ModifySubnetAttribute -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifySubnetAttribute Source # 
Show ModifySubnetAttribute Source # 
Generic ModifySubnetAttribute Source # 
Hashable ModifySubnetAttribute Source # 
NFData ModifySubnetAttribute Source # 

Methods

rnf :: ModifySubnetAttribute -> () #

AWSRequest ModifySubnetAttribute Source # 
ToPath ModifySubnetAttribute Source # 
ToHeaders ModifySubnetAttribute Source # 
ToQuery ModifySubnetAttribute Source # 
type Rep ModifySubnetAttribute Source # 
type Rep ModifySubnetAttribute = D1 (MetaData "ModifySubnetAttribute" "Network.AWS.EC2.ModifySubnetAttribute" "amazonka-ec2-1.4.5-4J1X1aohvSR7xjHvMmTrf6" False) (C1 (MetaCons "ModifySubnetAttribute'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_msaAssignIPv6AddressOnCreation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AttributeBooleanValue))) ((:*:) (S1 (MetaSel (Just Symbol "_msaMapPublicIPOnLaunch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AttributeBooleanValue))) (S1 (MetaSel (Just Symbol "_msaSubnetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ModifySubnetAttribute Source # 

Request Lenses

msaAssignIPv6AddressOnCreation :: Lens' ModifySubnetAttribute (Maybe AttributeBooleanValue) Source #

Specify true to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address. This includes a network interface that's created when launching an instance into the subnet (the instance therefore receives an IPv6 address).

msaMapPublicIPOnLaunch :: Lens' ModifySubnetAttribute (Maybe AttributeBooleanValue) Source #

Specify true to indicate that network interfaces created in the specified subnet should be assigned a public IPv4 address. This includes a network interface that's created when launching an instance into the subnet (the instance therefore receives a public IPv4 address).

Destructuring the Response

modifySubnetAttributeResponse :: ModifySubnetAttributeResponse Source #

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

data ModifySubnetAttributeResponse Source #

See: modifySubnetAttributeResponse smart constructor.

Instances

Eq ModifySubnetAttributeResponse Source # 
Data ModifySubnetAttributeResponse Source # 

Methods

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

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

toConstr :: ModifySubnetAttributeResponse -> Constr #

dataTypeOf :: ModifySubnetAttributeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifySubnetAttributeResponse Source # 
Show ModifySubnetAttributeResponse Source # 
Generic ModifySubnetAttributeResponse Source # 
NFData ModifySubnetAttributeResponse Source # 
type Rep ModifySubnetAttributeResponse Source # 
type Rep ModifySubnetAttributeResponse = D1 (MetaData "ModifySubnetAttributeResponse" "Network.AWS.EC2.ModifySubnetAttribute" "amazonka-ec2-1.4.5-4J1X1aohvSR7xjHvMmTrf6" False) (C1 (MetaCons "ModifySubnetAttributeResponse'" PrefixI False) U1)