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

Contents

Description

Describes the specified attribute of the specified VPC. You can specify only one attribute at a time.

Synopsis

Creating a Request

describeVPCAttribute Source #

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

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

  • dvpcaDryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .
  • dvpcaAttribute - The VPC attribute.
  • dvpcaVPCId - The ID of the VPC.

data DescribeVPCAttribute Source #

Contains the parameters for DescribeVpcAttribute.

See: describeVPCAttribute smart constructor.

Instances
Eq DescribeVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

Data DescribeVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

Methods

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

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

toConstr :: DescribeVPCAttribute -> Constr #

dataTypeOf :: DescribeVPCAttribute -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

Show DescribeVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

Generic DescribeVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

Associated Types

type Rep DescribeVPCAttribute :: Type -> Type #

Hashable DescribeVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

AWSRequest DescribeVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

Associated Types

type Rs DescribeVPCAttribute :: Type #

ToHeaders DescribeVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

ToPath DescribeVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

ToQuery DescribeVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

NFData DescribeVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

Methods

rnf :: DescribeVPCAttribute -> () #

type Rep DescribeVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

type Rep DescribeVPCAttribute = D1 (MetaData "DescribeVPCAttribute" "Network.AWS.EC2.DescribeVPCAttribute" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DescribeVPCAttribute'" PrefixI True) (S1 (MetaSel (Just "_dvpcaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_dvpcaAttribute") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 VPCAttributeName) :*: S1 (MetaSel (Just "_dvpcaVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DescribeVPCAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

Request Lenses

dvpcaDryRun :: Lens' DescribeVPCAttribute (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .

Destructuring the Response

describeVPCAttributeResponse Source #

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

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

  • dvpcarsEnableDNSHostnames - Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is true , instances in the VPC get DNS hostnames; otherwise, they do not.
  • dvpcarsEnableDNSSupport - Indicates whether DNS resolution is enabled for the VPC. If this attribute is true , the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.
  • dvpcarsVPCId - The ID of the VPC.
  • dvpcarsResponseStatus - -- | The response status code.

data DescribeVPCAttributeResponse Source #

Contains the output of DescribeVpcAttribute.

See: describeVPCAttributeResponse smart constructor.

Instances
Eq DescribeVPCAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

Data DescribeVPCAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

Methods

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

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

toConstr :: DescribeVPCAttributeResponse -> Constr #

dataTypeOf :: DescribeVPCAttributeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeVPCAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

Show DescribeVPCAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

Generic DescribeVPCAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

Associated Types

type Rep DescribeVPCAttributeResponse :: Type -> Type #

NFData DescribeVPCAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

type Rep DescribeVPCAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeVPCAttribute

type Rep DescribeVPCAttributeResponse = D1 (MetaData "DescribeVPCAttributeResponse" "Network.AWS.EC2.DescribeVPCAttribute" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DescribeVPCAttributeResponse'" PrefixI True) ((S1 (MetaSel (Just "_dvpcarsEnableDNSHostnames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AttributeBooleanValue)) :*: S1 (MetaSel (Just "_dvpcarsEnableDNSSupport") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AttributeBooleanValue))) :*: (S1 (MetaSel (Just "_dvpcarsVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dvpcarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dvpcarsEnableDNSHostnames :: Lens' DescribeVPCAttributeResponse (Maybe AttributeBooleanValue) Source #

Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is true , instances in the VPC get DNS hostnames; otherwise, they do not.

dvpcarsEnableDNSSupport :: Lens' DescribeVPCAttributeResponse (Maybe AttributeBooleanValue) Source #

Indicates whether DNS resolution is enabled for the VPC. If this attribute is true , the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.