Copyright | (c) 2013-2015 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.
See: AWS API Reference for DescribeVPCAttribute.
- describeVPCAttribute :: Text -> DescribeVPCAttribute
- data DescribeVPCAttribute
- dvpcaAttribute :: Lens' DescribeVPCAttribute (Maybe VPCAttributeName)
- dvpcaDryRun :: Lens' DescribeVPCAttribute (Maybe Bool)
- dvpcaVPCId :: Lens' DescribeVPCAttribute Text
- 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
See: describeVPCAttribute
smart constructor.
Request Lenses
dvpcaAttribute :: Lens' DescribeVPCAttribute (Maybe VPCAttributeName) Source
The VPC attribute.
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.
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
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.