Safe Haskell | None |
---|---|
Language | Haskell2010 |
Describes the specified attribute of the specified VPC. You can specify only one attribute at a time.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeVpcAttribute.html
- data DescribeVpcAttribute
- describeVpcAttribute :: Text -> DescribeVpcAttribute
- dva1Attribute :: Lens' DescribeVpcAttribute (Maybe VpcAttributeName)
- dva1DryRun :: Lens' DescribeVpcAttribute (Maybe Bool)
- dva1VpcId :: Lens' DescribeVpcAttribute Text
- data DescribeVpcAttributeResponse
- describeVpcAttributeResponse :: DescribeVpcAttributeResponse
- dvarEnableDnsHostnames :: Lens' DescribeVpcAttributeResponse (Maybe AttributeBooleanValue)
- dvarEnableDnsSupport :: Lens' DescribeVpcAttributeResponse (Maybe AttributeBooleanValue)
- dvarVpcId :: Lens' DescribeVpcAttributeResponse (Maybe Text)
Request
Request constructor
DescribeVpcAttribute
constructor.
The fields accessible through corresponding lenses are:
Request lenses
dva1Attribute :: Lens' DescribeVpcAttribute (Maybe VpcAttributeName) Source
The VPC attribute.
dva1VpcId :: Lens' DescribeVpcAttribute Text Source
The ID of the VPC.
Response
Response constructor
describeVpcAttributeResponse :: DescribeVpcAttributeResponse Source
DescribeVpcAttributeResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
dvarEnableDnsHostnames :: 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.
dvarEnableDnsSupport :: 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.