amazonka-ec2-1.4.1: 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.DeleteNetworkInterface

Contents

Description

Deletes the specified network interface. You must detach the network interface before you can delete it.

Synopsis

Creating a Request

deleteNetworkInterface Source #

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

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

data DeleteNetworkInterface Source #

Contains the parameters for DeleteNetworkInterface.

See: deleteNetworkInterface smart constructor.

Instances

Eq DeleteNetworkInterface Source # 
Data DeleteNetworkInterface Source # 

Methods

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

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

toConstr :: DeleteNetworkInterface -> Constr #

dataTypeOf :: DeleteNetworkInterface -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteNetworkInterface Source # 
Show DeleteNetworkInterface Source # 
Generic DeleteNetworkInterface Source # 
Hashable DeleteNetworkInterface Source # 
NFData DeleteNetworkInterface Source # 

Methods

rnf :: DeleteNetworkInterface -> () #

AWSRequest DeleteNetworkInterface Source # 
ToQuery DeleteNetworkInterface Source # 
ToPath DeleteNetworkInterface Source # 
ToHeaders DeleteNetworkInterface Source # 
type Rep DeleteNetworkInterface Source # 
type Rep DeleteNetworkInterface = D1 (MetaData "DeleteNetworkInterface" "Network.AWS.EC2.DeleteNetworkInterface" "amazonka-ec2-1.4.1-5DlWz6no0BoLQhxZVyzMyd" False) (C1 (MetaCons "DeleteNetworkInterface'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dninDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_dninNetworkInterfaceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteNetworkInterface Source # 

Request Lenses

dninDryRun :: Lens' DeleteNetworkInterface (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.

dninNetworkInterfaceId :: Lens' DeleteNetworkInterface Text Source #

The ID of the network interface.

Destructuring the Response

deleteNetworkInterfaceResponse :: DeleteNetworkInterfaceResponse Source #

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

data DeleteNetworkInterfaceResponse Source #

See: deleteNetworkInterfaceResponse smart constructor.

Instances

Eq DeleteNetworkInterfaceResponse Source # 
Data DeleteNetworkInterfaceResponse Source # 

Methods

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

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

toConstr :: DeleteNetworkInterfaceResponse -> Constr #

dataTypeOf :: DeleteNetworkInterfaceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteNetworkInterfaceResponse Source # 
Show DeleteNetworkInterfaceResponse Source # 
Generic DeleteNetworkInterfaceResponse Source # 
NFData DeleteNetworkInterfaceResponse Source # 
type Rep DeleteNetworkInterfaceResponse Source # 
type Rep DeleteNetworkInterfaceResponse = D1 (MetaData "DeleteNetworkInterfaceResponse" "Network.AWS.EC2.DeleteNetworkInterface" "amazonka-ec2-1.4.1-5DlWz6no0BoLQhxZVyzMyd" False) (C1 (MetaCons "DeleteNetworkInterfaceResponse'" PrefixI False) U1)