amazonka-ec2-1.6.0: 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.DeleteNetworkACL

Contents

Description

Deletes the specified network ACL. You can't delete the ACL if it's associated with any subnets. You can't delete the default network ACL.

Synopsis

Creating a Request

deleteNetworkACL Source #

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

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

  • dnaDryRun - 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 .
  • dnaNetworkACLId - The ID of the network ACL.

data DeleteNetworkACL Source #

Contains the parameters for DeleteNetworkAcl.

See: deleteNetworkACL smart constructor.

Instances

Eq DeleteNetworkACL Source # 
Data DeleteNetworkACL Source # 

Methods

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

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

toConstr :: DeleteNetworkACL -> Constr #

dataTypeOf :: DeleteNetworkACL -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteNetworkACL Source # 
Show DeleteNetworkACL Source # 
Generic DeleteNetworkACL Source # 
Hashable DeleteNetworkACL Source # 
NFData DeleteNetworkACL Source # 

Methods

rnf :: DeleteNetworkACL -> () #

AWSRequest DeleteNetworkACL Source # 
ToHeaders DeleteNetworkACL Source # 
ToPath DeleteNetworkACL Source # 
ToQuery DeleteNetworkACL Source # 
type Rep DeleteNetworkACL Source # 
type Rep DeleteNetworkACL = D1 * (MetaData "DeleteNetworkACL" "Network.AWS.EC2.DeleteNetworkACL" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "DeleteNetworkACL'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dnaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_dnaNetworkACLId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs DeleteNetworkACL Source # 

Request Lenses

dnaDryRun :: Lens' DeleteNetworkACL (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 .

dnaNetworkACLId :: Lens' DeleteNetworkACL Text Source #

The ID of the network ACL.

Destructuring the Response

deleteNetworkACLResponse :: DeleteNetworkACLResponse Source #

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

data DeleteNetworkACLResponse Source #

See: deleteNetworkACLResponse smart constructor.

Instances

Eq DeleteNetworkACLResponse Source # 
Data DeleteNetworkACLResponse Source # 

Methods

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

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

toConstr :: DeleteNetworkACLResponse -> Constr #

dataTypeOf :: DeleteNetworkACLResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteNetworkACLResponse Source # 
Show DeleteNetworkACLResponse Source # 
Generic DeleteNetworkACLResponse Source # 
NFData DeleteNetworkACLResponse Source # 
type Rep DeleteNetworkACLResponse Source # 
type Rep DeleteNetworkACLResponse = D1 * (MetaData "DeleteNetworkACLResponse" "Network.AWS.EC2.DeleteNetworkACL" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "DeleteNetworkACLResponse'" PrefixI False) (U1 *))