Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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 :: VPCAttributeName -> Text -> DescribeVPCAttribute
- data DescribeVPCAttribute
- dvpcaDryRun :: Lens' DescribeVPCAttribute (Maybe Bool)
- dvpcaAttribute :: Lens' DescribeVPCAttribute VPCAttributeName
- 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:
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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.dvpcaAttribute
- The VPC attribute.dvpcaVPCId
- The ID of the VPC.
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
.
dvpcaAttribute :: Lens' DescribeVPCAttribute VPCAttributeName Source #
The VPC attribute.
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:
dvpcarsEnableDNSHostnames
- Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute istrue
, instances in the VPC get DNS hostnames; otherwise, they do not.dvpcarsEnableDNSSupport
- Indicates whether DNS resolution is enabled for the VPC. If this attribute istrue
, 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.
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.