amazonka-ec2-1.6.0: 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 # 
Data DescribeVPCAttribute Source # 

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

Methods

rnf :: DescribeVPCAttribute -> () #

AWSRequest DescribeVPCAttribute Source # 
ToHeaders DescribeVPCAttribute Source # 
ToPath DescribeVPCAttribute Source # 
ToQuery DescribeVPCAttribute Source # 
type Rep DescribeVPCAttribute Source # 
type Rep DescribeVPCAttribute = D1 * (MetaData "DescribeVPCAttribute" "Network.AWS.EC2.DescribeVPCAttribute" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "DescribeVPCAttribute'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dvpcaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dvpcaAttribute") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * VPCAttributeName)) (S1 * (MetaSel (Just Symbol "_dvpcaVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs DescribeVPCAttribute Source # 

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

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 # 
Show DescribeVPCAttributeResponse Source # 
Generic DescribeVPCAttributeResponse Source # 
NFData DescribeVPCAttributeResponse Source # 
type Rep DescribeVPCAttributeResponse Source # 
type Rep DescribeVPCAttributeResponse = D1 * (MetaData "DescribeVPCAttributeResponse" "Network.AWS.EC2.DescribeVPCAttribute" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "DescribeVPCAttributeResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dvpcarsEnableDNSHostnames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe AttributeBooleanValue))) (S1 * (MetaSel (Just Symbol "_dvpcarsEnableDNSSupport") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe AttributeBooleanValue)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dvpcarsVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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.