amazonka-ec2-1.6.1: Amazon Elastic Compute Cloud 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.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 # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCAttribute

Data ModifyVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.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 Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCAttribute

Show ModifyVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCAttribute

Generic ModifyVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCAttribute

Associated Types

type Rep ModifyVPCAttribute :: Type -> Type #

Hashable ModifyVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCAttribute

AWSRequest ModifyVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCAttribute

Associated Types

type Rs ModifyVPCAttribute :: Type #

ToHeaders ModifyVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCAttribute

ToPath ModifyVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCAttribute

ToQuery ModifyVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCAttribute

NFData ModifyVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCAttribute

Methods

rnf :: ModifyVPCAttribute -> () #

type Rep ModifyVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCAttribute

type Rep ModifyVPCAttribute = D1 (MetaData "ModifyVPCAttribute" "Network.AWS.EC2.ModifyVPCAttribute" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "ModifyVPCAttribute'" PrefixI True) (S1 (MetaSel (Just "_mvaEnableDNSHostnames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AttributeBooleanValue)) :*: (S1 (MetaSel (Just "_mvaEnableDNSSupport") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AttributeBooleanValue)) :*: S1 (MetaSel (Just "_mvaVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ModifyVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCAttribute

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

Defined in Network.AWS.EC2.ModifyVPCAttribute

Data ModifyVPCAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCAttribute

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

Defined in Network.AWS.EC2.ModifyVPCAttribute

Show ModifyVPCAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCAttribute

Generic ModifyVPCAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCAttribute

Associated Types

type Rep ModifyVPCAttributeResponse :: Type -> Type #

NFData ModifyVPCAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCAttribute

type Rep ModifyVPCAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCAttribute

type Rep ModifyVPCAttributeResponse = D1 (MetaData "ModifyVPCAttributeResponse" "Network.AWS.EC2.ModifyVPCAttribute" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "ModifyVPCAttributeResponse'" PrefixI False) (U1 :: Type -> Type))