amazonka-ec2-1.6.1: Amazon Elastic Compute Cloud SDK.

Copyright (c) 2013-2018 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

Description

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 .

Synopsis

# Creating a Request

Arguments

 :: Text evclVPCId -> EnableVPCClassicLink

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:

• evclDryRun - 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 - The ID of the VPC.

See: enableVPCClassicLink smart constructor.

# Request Lenses

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 .

The ID of the VPC.

# Destructuring the Response

Arguments

 :: Int evclrsResponseStatus -> EnableVPCClassicLinkResponse

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:

• evclrsReturn - Returns true if the request succeeds; otherwise, it returns an error.
• evclrsResponseStatus - -- | The response status code.

See: enableVPCClassicLinkResponse smart constructor.
Returns true if the request succeeds; otherwise, it returns an error.