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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DisableVPCClassicLink

Contents

Description

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

Synopsis

Creating a Request

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.

data DisableVPCClassicLink #

Contains the parameters for DisableVpcClassicLink.

See: disableVPCClassicLink smart constructor.

Request Lenses

dvpcclDryRun :: Lens' DisableVPCClassicLink (Maybe Bool) #

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 .

Destructuring the Response

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:

data DisableVPCClassicLinkResponse #

Contains the output of DisableVpcClassicLink.

See: disableVPCClassicLinkResponse smart constructor.

Instances

Eq DisableVPCClassicLinkResponse # 
Data DisableVPCClassicLinkResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DisableVPCClassicLinkResponse -> c DisableVPCClassicLinkResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DisableVPCClassicLinkResponse #

toConstr :: DisableVPCClassicLinkResponse -> Constr #

dataTypeOf :: DisableVPCClassicLinkResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DisableVPCClassicLinkResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DisableVPCClassicLinkResponse) #

gmapT :: (forall b. Data b => b -> b) -> DisableVPCClassicLinkResponse -> DisableVPCClassicLinkResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DisableVPCClassicLinkResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DisableVPCClassicLinkResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DisableVPCClassicLinkResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DisableVPCClassicLinkResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DisableVPCClassicLinkResponse -> m DisableVPCClassicLinkResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DisableVPCClassicLinkResponse -> m DisableVPCClassicLinkResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DisableVPCClassicLinkResponse -> m DisableVPCClassicLinkResponse #

Read DisableVPCClassicLinkResponse # 
Show DisableVPCClassicLinkResponse # 
Generic DisableVPCClassicLinkResponse # 
NFData DisableVPCClassicLinkResponse # 
type Rep DisableVPCClassicLinkResponse # 
type Rep DisableVPCClassicLinkResponse = D1 (MetaData "DisableVPCClassicLinkResponse" "Network.AWS.EC2.DisableVPCClassicLink" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DisableVPCClassicLinkResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dvpcclrsReturn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_dvpcclrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

dvpcclrsReturn :: Lens' DisableVPCClassicLinkResponse (Maybe Bool) #

Returns true if the request succeeds; otherwise, it returns an error.