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.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-EnableVpcClassicLink.html
- data EnableVpcClassicLink
- enableVpcClassicLink :: Text -> EnableVpcClassicLink
- evclDryRun :: Lens' EnableVpcClassicLink (Maybe Bool)
- evclVpcId :: Lens' EnableVpcClassicLink Text
- data EnableVpcClassicLinkResponse
- enableVpcClassicLinkResponse :: EnableVpcClassicLinkResponse
- evclrReturn :: Lens' EnableVpcClassicLinkResponse (Maybe Bool)
Request
data EnableVpcClassicLink Source
Request constructor
EnableVpcClassicLink
constructor.
The fields accessible through corresponding lenses are:
evclDryRun
::
Maybe
Bool
evclVpcId
::
Text
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.
Response
Response constructor
enableVpcClassicLinkResponse :: EnableVpcClassicLinkResponse Source
EnableVpcClassicLinkResponse
constructor.
The fields accessible through corresponding lenses are:
evclrReturn
::
Maybe
Bool
Response lenses
evclrReturn :: Lens' EnableVpcClassicLinkResponse (Maybe Bool) Source
Returns true
if the request succeeds; otherwise, it returns an error.