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 |
Enables a VPC to support DNS hostname resolution for ClassicLink. 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 about ClassicLink, see ClassicLink in the Amazon Elastic Compute Cloud User Guide .
- enableVPCClassicLinkDNSSupport :: EnableVPCClassicLinkDNSSupport
- data EnableVPCClassicLinkDNSSupport
- evcldsVPCId :: Lens' EnableVPCClassicLinkDNSSupport (Maybe Text)
- enableVPCClassicLinkDNSSupportResponse :: Int -> EnableVPCClassicLinkDNSSupportResponse
- data EnableVPCClassicLinkDNSSupportResponse
- evcldsrsReturn :: Lens' EnableVPCClassicLinkDNSSupportResponse (Maybe Bool)
- evcldsrsResponseStatus :: Lens' EnableVPCClassicLinkDNSSupportResponse Int
Creating a Request
enableVPCClassicLinkDNSSupport :: EnableVPCClassicLinkDNSSupport Source #
Creates a value of EnableVPCClassicLinkDNSSupport
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
evcldsVPCId
- The ID of the VPC.
data EnableVPCClassicLinkDNSSupport Source #
Contains the parameters for EnableVpcClassicLinkDnsSupport.
See: enableVPCClassicLinkDNSSupport
smart constructor.
Request Lenses
evcldsVPCId :: Lens' EnableVPCClassicLinkDNSSupport (Maybe Text) Source #
The ID of the VPC.
Destructuring the Response
enableVPCClassicLinkDNSSupportResponse Source #
Creates a value of EnableVPCClassicLinkDNSSupportResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
evcldsrsReturn
- Returnstrue
if the request succeeds; otherwise, it returns an error.evcldsrsResponseStatus
- -- | The response status code.
data EnableVPCClassicLinkDNSSupportResponse Source #
Contains the output of EnableVpcClassicLinkDnsSupport.
See: enableVPCClassicLinkDNSSupportResponse
smart constructor.
Response Lenses
evcldsrsReturn :: Lens' EnableVPCClassicLinkDNSSupportResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, it returns an error.
evcldsrsResponseStatus :: Lens' EnableVPCClassicLinkDNSSupportResponse Int Source #
- - | The response status code.