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 |
Disables ClassicLink DNS support for a VPC. If disabled, DNS hostnames resolve to public IP addresses when addressed between a linked EC2-Classic instance and instances in the VPC to which it's linked. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
You must specify a VPC ID in the request.
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.
Synopsis
- data DisableVpcClassicLinkDnsSupport = DisableVpcClassicLinkDnsSupport' {}
- newDisableVpcClassicLinkDnsSupport :: DisableVpcClassicLinkDnsSupport
- disableVpcClassicLinkDnsSupport_vpcId :: Lens' DisableVpcClassicLinkDnsSupport (Maybe Text)
- data DisableVpcClassicLinkDnsSupportResponse = DisableVpcClassicLinkDnsSupportResponse' {
- return' :: Maybe Bool
- httpStatus :: Int
- newDisableVpcClassicLinkDnsSupportResponse :: Int -> DisableVpcClassicLinkDnsSupportResponse
- disableVpcClassicLinkDnsSupportResponse_return :: Lens' DisableVpcClassicLinkDnsSupportResponse (Maybe Bool)
- disableVpcClassicLinkDnsSupportResponse_httpStatus :: Lens' DisableVpcClassicLinkDnsSupportResponse Int
Creating a Request
data DisableVpcClassicLinkDnsSupport Source #
See: newDisableVpcClassicLinkDnsSupport
smart constructor.
Instances
newDisableVpcClassicLinkDnsSupport :: DisableVpcClassicLinkDnsSupport Source #
Create a value of DisableVpcClassicLinkDnsSupport
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:
DisableVpcClassicLinkDnsSupport
, disableVpcClassicLinkDnsSupport_vpcId
- The ID of the VPC.
Request Lenses
disableVpcClassicLinkDnsSupport_vpcId :: Lens' DisableVpcClassicLinkDnsSupport (Maybe Text) Source #
The ID of the VPC.
Destructuring the Response
data DisableVpcClassicLinkDnsSupportResponse Source #
See: newDisableVpcClassicLinkDnsSupportResponse
smart constructor.
DisableVpcClassicLinkDnsSupportResponse' | |
|
Instances
newDisableVpcClassicLinkDnsSupportResponse Source #
Create a value of DisableVpcClassicLinkDnsSupportResponse
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:return':DisableVpcClassicLinkDnsSupportResponse'
, disableVpcClassicLinkDnsSupportResponse_return
- Returns true
if the request succeeds; otherwise, it returns an error.
$sel:httpStatus:DisableVpcClassicLinkDnsSupportResponse'
, disableVpcClassicLinkDnsSupportResponse_httpStatus
- The response's http status code.
Response Lenses
disableVpcClassicLinkDnsSupportResponse_return :: Lens' DisableVpcClassicLinkDnsSupportResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, it returns an error.
disableVpcClassicLinkDnsSupportResponse_httpStatus :: Lens' DisableVpcClassicLinkDnsSupportResponse Int Source #
The response's http status code.