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

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

Description

Disables ClassicLink for a VPC. You cannot disable ClassicLink for a VPC that has EC2-Classic instances linked to it.

# Creating a Request

Arguments

 :: Text dvpcclVPCId -> DisableVPCClassicLink

Creates a value of DisableVPCClassicLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

See: disableVPCClassicLink 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 dvpcclrsResponseStatus -> DisableVPCClassicLinkResponse

Creates a value of DisableVPCClassicLinkResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

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