Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes the specified attribute of the specified VPC. You can specify only one attribute at a time.
- describeVPCAttribute :: Text -> VPCAttributeName -> DescribeVPCAttribute
- data DescribeVPCAttribute
- dvpcaDryRun :: Lens' DescribeVPCAttribute (Maybe Bool)
- dvpcaVPCId :: Lens' DescribeVPCAttribute Text
- dvpcaAttribute :: Lens' DescribeVPCAttribute VPCAttributeName
- describeVPCAttributeResponse :: Int -> DescribeVPCAttributeResponse
- data DescribeVPCAttributeResponse
- dvpcarsEnableDNSHostnames :: Lens' DescribeVPCAttributeResponse (Maybe AttributeBooleanValue)
- dvpcarsEnableDNSSupport :: Lens' DescribeVPCAttributeResponse (Maybe AttributeBooleanValue)
- dvpcarsVPCId :: Lens' DescribeVPCAttributeResponse (Maybe Text)
- dvpcarsResponseStatus :: Lens' DescribeVPCAttributeResponse Int
Creating a Request
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:
data DescribeVPCAttribute Source #
Contains the parameters for DescribeVpcAttribute.
See: describeVPCAttribute
smart constructor.
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
.
dvpcaVPCId :: Lens' DescribeVPCAttribute Text Source #
The ID of the VPC.
dvpcaAttribute :: Lens' DescribeVPCAttribute VPCAttributeName Source #
The VPC attribute.
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:
data DescribeVPCAttributeResponse Source #
Contains the output of DescribeVpcAttribute.
See: describeVPCAttributeResponse
smart constructor.
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.
dvpcarsVPCId :: Lens' DescribeVPCAttributeResponse (Maybe Text) Source #
The ID of the VPC.
dvpcarsResponseStatus :: Lens' DescribeVPCAttributeResponse Int Source #
The response status code.