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

Contents

Description

Modifies the specified attribute of the specified VPC.

Synopsis

Creating a Request

modifyVPCAttribute #

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

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

  • mvaEnableDNSHostnames - Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not. You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.
  • mvaEnableDNSSupport - Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.
  • mvaVPCId - The ID of the VPC.

data ModifyVPCAttribute #

Contains the parameters for ModifyVpcAttribute.

See: modifyVPCAttribute smart constructor.

Instances

Eq ModifyVPCAttribute # 
Data ModifyVPCAttribute # 

Methods

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

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

toConstr :: ModifyVPCAttribute -> Constr #

dataTypeOf :: ModifyVPCAttribute -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyVPCAttribute # 
Show ModifyVPCAttribute # 
Generic ModifyVPCAttribute # 
Hashable ModifyVPCAttribute # 
NFData ModifyVPCAttribute # 

Methods

rnf :: ModifyVPCAttribute -> () #

AWSRequest ModifyVPCAttribute # 
ToQuery ModifyVPCAttribute # 
ToPath ModifyVPCAttribute # 
ToHeaders ModifyVPCAttribute # 
type Rep ModifyVPCAttribute # 
type Rep ModifyVPCAttribute = D1 (MetaData "ModifyVPCAttribute" "Network.AWS.EC2.ModifyVPCAttribute" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "ModifyVPCAttribute'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mvaEnableDNSHostnames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AttributeBooleanValue))) ((:*:) (S1 (MetaSel (Just Symbol "_mvaEnableDNSSupport") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AttributeBooleanValue))) (S1 (MetaSel (Just Symbol "_mvaVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ModifyVPCAttribute # 

Request Lenses

mvaEnableDNSHostnames :: Lens' ModifyVPCAttribute (Maybe AttributeBooleanValue) #

Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not. You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

mvaEnableDNSSupport :: Lens' ModifyVPCAttribute (Maybe AttributeBooleanValue) #

Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

mvaVPCId :: Lens' ModifyVPCAttribute Text #

The ID of the VPC.

Destructuring the Response

modifyVPCAttributeResponse :: ModifyVPCAttributeResponse #

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

data ModifyVPCAttributeResponse #

See: modifyVPCAttributeResponse smart constructor.

Instances

Eq ModifyVPCAttributeResponse # 
Data ModifyVPCAttributeResponse # 

Methods

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

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

toConstr :: ModifyVPCAttributeResponse -> Constr #

dataTypeOf :: ModifyVPCAttributeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyVPCAttributeResponse # 
Show ModifyVPCAttributeResponse # 
Generic ModifyVPCAttributeResponse # 
NFData ModifyVPCAttributeResponse # 
type Rep ModifyVPCAttributeResponse # 
type Rep ModifyVPCAttributeResponse = D1 (MetaData "ModifyVPCAttributeResponse" "Network.AWS.EC2.ModifyVPCAttribute" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "ModifyVPCAttributeResponse'" PrefixI False) U1)