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

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 #

Contains the parameters for DeleteNetworkAcl.

See: deleteNetworkACL smart constructor.

Instances

Eq DeleteNetworkACL # 
Data DeleteNetworkACL # 

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 # 
Show DeleteNetworkACL # 
Generic DeleteNetworkACL # 
Hashable DeleteNetworkACL # 
NFData DeleteNetworkACL # 

Methods

rnf :: DeleteNetworkACL -> () #

AWSRequest DeleteNetworkACL # 
ToQuery DeleteNetworkACL # 
ToPath DeleteNetworkACL # 
ToHeaders DeleteNetworkACL # 
type Rep DeleteNetworkACL # 
type Rep DeleteNetworkACL = D1 (MetaData "DeleteNetworkACL" "Network.AWS.EC2.DeleteNetworkACL" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" 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 # 

Request Lenses

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

dnaNetworkACLId :: Lens' DeleteNetworkACL Text #

The ID of the network ACL.

Destructuring the Response

deleteNetworkACLResponse :: DeleteNetworkACLResponse #

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

data DeleteNetworkACLResponse #

See: deleteNetworkACLResponse smart constructor.

Instances

Eq DeleteNetworkACLResponse # 
Data DeleteNetworkACLResponse # 

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 # 
Show DeleteNetworkACLResponse # 
Generic DeleteNetworkACLResponse # 
NFData DeleteNetworkACLResponse # 
type Rep DeleteNetworkACLResponse # 
type Rep DeleteNetworkACLResponse = D1 (MetaData "DeleteNetworkACLResponse" "Network.AWS.EC2.DeleteNetworkACL" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DeleteNetworkACLResponse'" PrefixI False) U1)