Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.
Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the DNS hostname of a linked EC2-Classic instance resolves to its private IP address when addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname of an instance in a VPC resolves to its private IP address when addressed from a linked EC2-Classic instance. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
This operation returns paginated results.
Synopsis
- data DescribeVpcClassicLinkDnsSupport = DescribeVpcClassicLinkDnsSupport' {}
- newDescribeVpcClassicLinkDnsSupport :: DescribeVpcClassicLinkDnsSupport
- describeVpcClassicLinkDnsSupport_maxResults :: Lens' DescribeVpcClassicLinkDnsSupport (Maybe Natural)
- describeVpcClassicLinkDnsSupport_nextToken :: Lens' DescribeVpcClassicLinkDnsSupport (Maybe Text)
- describeVpcClassicLinkDnsSupport_vpcIds :: Lens' DescribeVpcClassicLinkDnsSupport (Maybe [Text])
- data DescribeVpcClassicLinkDnsSupportResponse = DescribeVpcClassicLinkDnsSupportResponse' {
- nextToken :: Maybe Text
- vpcs :: Maybe [ClassicLinkDnsSupport]
- httpStatus :: Int
- newDescribeVpcClassicLinkDnsSupportResponse :: Int -> DescribeVpcClassicLinkDnsSupportResponse
- describeVpcClassicLinkDnsSupportResponse_nextToken :: Lens' DescribeVpcClassicLinkDnsSupportResponse (Maybe Text)
- describeVpcClassicLinkDnsSupportResponse_vpcs :: Lens' DescribeVpcClassicLinkDnsSupportResponse (Maybe [ClassicLinkDnsSupport])
- describeVpcClassicLinkDnsSupportResponse_httpStatus :: Lens' DescribeVpcClassicLinkDnsSupportResponse Int
Creating a Request
data DescribeVpcClassicLinkDnsSupport Source #
See: newDescribeVpcClassicLinkDnsSupport
smart constructor.
Instances
newDescribeVpcClassicLinkDnsSupport :: DescribeVpcClassicLinkDnsSupport Source #
Create a value of DescribeVpcClassicLinkDnsSupport
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxResults:DescribeVpcClassicLinkDnsSupport'
, describeVpcClassicLinkDnsSupport_maxResults
- The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
DescribeVpcClassicLinkDnsSupport
, describeVpcClassicLinkDnsSupport_nextToken
- The token for the next page of results.
$sel:vpcIds:DescribeVpcClassicLinkDnsSupport'
, describeVpcClassicLinkDnsSupport_vpcIds
- One or more VPC IDs.
Request Lenses
describeVpcClassicLinkDnsSupport_maxResults :: Lens' DescribeVpcClassicLinkDnsSupport (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
describeVpcClassicLinkDnsSupport_nextToken :: Lens' DescribeVpcClassicLinkDnsSupport (Maybe Text) Source #
The token for the next page of results.
describeVpcClassicLinkDnsSupport_vpcIds :: Lens' DescribeVpcClassicLinkDnsSupport (Maybe [Text]) Source #
One or more VPC IDs.
Destructuring the Response
data DescribeVpcClassicLinkDnsSupportResponse Source #
See: newDescribeVpcClassicLinkDnsSupportResponse
smart constructor.
DescribeVpcClassicLinkDnsSupportResponse' | |
|
Instances
newDescribeVpcClassicLinkDnsSupportResponse Source #
Create a value of DescribeVpcClassicLinkDnsSupportResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeVpcClassicLinkDnsSupport
, describeVpcClassicLinkDnsSupportResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
$sel:vpcs:DescribeVpcClassicLinkDnsSupportResponse'
, describeVpcClassicLinkDnsSupportResponse_vpcs
- Information about the ClassicLink DNS support status of the VPCs.
$sel:httpStatus:DescribeVpcClassicLinkDnsSupportResponse'
, describeVpcClassicLinkDnsSupportResponse_httpStatus
- The response's http status code.
Response Lenses
describeVpcClassicLinkDnsSupportResponse_nextToken :: Lens' DescribeVpcClassicLinkDnsSupportResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
describeVpcClassicLinkDnsSupportResponse_vpcs :: Lens' DescribeVpcClassicLinkDnsSupportResponse (Maybe [ClassicLinkDnsSupport]) Source #
Information about the ClassicLink DNS support status of the VPCs.
describeVpcClassicLinkDnsSupportResponse_httpStatus :: Lens' DescribeVpcClassicLinkDnsSupportResponse Int Source #
The response's http status code.