amazonka-ec2-1.5.0: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2017 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.EC2.ModifyVPCAttribute

Contents

Description

Modifies the specified attribute of the specified VPC.

Synopsis

Creating a Request

modifyVPCAttribute Source #

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 Source #

Contains the parameters for ModifyVpcAttribute.

See: modifyVPCAttribute smart constructor.

Instances

Eq ModifyVPCAttribute Source # 
Data ModifyVPCAttribute Source # 

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 Source # 
Show ModifyVPCAttribute Source # 
Generic ModifyVPCAttribute Source # 
Hashable ModifyVPCAttribute Source # 
NFData ModifyVPCAttribute Source # 

Methods

rnf :: ModifyVPCAttribute -> () #

AWSRequest ModifyVPCAttribute Source # 
ToQuery ModifyVPCAttribute Source # 
ToPath ModifyVPCAttribute Source # 
ToHeaders ModifyVPCAttribute Source # 
type Rep ModifyVPCAttribute Source # 
type Rep ModifyVPCAttribute = D1 (MetaData "ModifyVPCAttribute" "Network.AWS.EC2.ModifyVPCAttribute" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" 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 Source # 

Request Lenses

mvaEnableDNSHostnames :: Lens' ModifyVPCAttribute (Maybe AttributeBooleanValue) Source #

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) Source #

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.

Destructuring the Response

modifyVPCAttributeResponse :: ModifyVPCAttributeResponse Source #

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

data ModifyVPCAttributeResponse Source #

See: modifyVPCAttributeResponse smart constructor.

Instances

Eq ModifyVPCAttributeResponse Source # 
Data ModifyVPCAttributeResponse Source # 

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 Source # 
Show ModifyVPCAttributeResponse Source # 
Generic ModifyVPCAttributeResponse Source # 
NFData ModifyVPCAttributeResponse Source # 
type Rep ModifyVPCAttributeResponse Source # 
type Rep ModifyVPCAttributeResponse = D1 (MetaData "ModifyVPCAttributeResponse" "Network.AWS.EC2.ModifyVPCAttribute" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "ModifyVPCAttributeResponse'" PrefixI False) U1)