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 |
Enables a VPC for ClassicLink. You can then link EC2-Classic instances to your ClassicLink-enabled VPC to allow communication over private IP addresses. You cannot enable your VPC for ClassicLink if any of your VPC's route tables have existing routes for address ranges within the '10.0.0.0\/8' IP address range, excluding local routes for VPCs in the '10.0.0.0\/16' and '10.1.0.0\/16' IP address ranges. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
See: AWS API Reference for EnableVPCClassicLink.
- enableVPCClassicLink :: Text -> EnableVPCClassicLink
- data EnableVPCClassicLink
- evclDryRun :: Lens' EnableVPCClassicLink (Maybe Bool)
- evclVPCId :: Lens' EnableVPCClassicLink Text
- enableVPCClassicLinkResponse :: Int -> EnableVPCClassicLinkResponse
- data EnableVPCClassicLinkResponse
- evclrsReturn :: Lens' EnableVPCClassicLinkResponse (Maybe Bool)
- evclrsStatus :: Lens' EnableVPCClassicLinkResponse Int
Creating a Request
Creates a value of EnableVPCClassicLink
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnableVPCClassicLink Source
See: enableVPCClassicLink
smart constructor.
Request Lenses
evclDryRun :: Lens' EnableVPCClassicLink (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
.
evclVPCId :: Lens' EnableVPCClassicLink Text Source
The ID of the VPC.
Destructuring the Response
enableVPCClassicLinkResponse Source
Creates a value of EnableVPCClassicLinkResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnableVPCClassicLinkResponse Source
See: enableVPCClassicLinkResponse
smart constructor.
Response Lenses
evclrsReturn :: Lens' EnableVPCClassicLinkResponse (Maybe Bool) Source
Returns true
if the request succeeds; otherwise, it returns an error.
evclrsStatus :: Lens' EnableVPCClassicLinkResponse Int Source
The response status code.