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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 Source #

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 Source #

Contains the parameters for DisableVpcClassicLink.

See: disableVPCClassicLink smart constructor.

Request Lenses

dvpcclDryRun :: Lens' DisableVPCClassicLink (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 .

Destructuring the Response

disableVPCClassicLinkResponse Source #

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 Source #

Contains the output of DisableVpcClassicLink.

See: disableVPCClassicLinkResponse smart constructor.

Instances
Eq DisableVPCClassicLinkResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisableVPCClassicLink

Data DisableVPCClassicLinkResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisableVPCClassicLink

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 Source # 
Instance details

Defined in Network.AWS.EC2.DisableVPCClassicLink

Show DisableVPCClassicLinkResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisableVPCClassicLink

Generic DisableVPCClassicLinkResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisableVPCClassicLink

Associated Types

type Rep DisableVPCClassicLinkResponse :: Type -> Type #

NFData DisableVPCClassicLinkResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisableVPCClassicLink

type Rep DisableVPCClassicLinkResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisableVPCClassicLink

type Rep DisableVPCClassicLinkResponse = D1 (MetaData "DisableVPCClassicLinkResponse" "Network.AWS.EC2.DisableVPCClassicLink" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DisableVPCClassicLinkResponse'" PrefixI True) (S1 (MetaSel (Just "_dvpcclrsReturn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_dvpcclrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

dvpcclrsReturn :: Lens' DisableVPCClassicLinkResponse (Maybe Bool) Source #

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