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

Contents

Description

Creates a network ACL in a VPC. Network ACLs provide an optional layer of security (in addition to security groups) for the instances in your VPC.

For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide .

Synopsis

Creating a Request

createNetworkACL Source #

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

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

  • cnaDryRun - 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 .
  • cnaVPCId - The ID of the VPC.

data CreateNetworkACL Source #

Contains the parameters for CreateNetworkAcl.

See: createNetworkACL smart constructor.

Instances

Eq CreateNetworkACL Source # 
Data CreateNetworkACL Source # 

Methods

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

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

toConstr :: CreateNetworkACL -> Constr #

dataTypeOf :: CreateNetworkACL -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateNetworkACL Source # 
Show CreateNetworkACL Source # 
Generic CreateNetworkACL Source # 
Hashable CreateNetworkACL Source # 
NFData CreateNetworkACL Source # 

Methods

rnf :: CreateNetworkACL -> () #

AWSRequest CreateNetworkACL Source # 
ToPath CreateNetworkACL Source # 
ToHeaders CreateNetworkACL Source # 
ToQuery CreateNetworkACL Source # 
type Rep CreateNetworkACL Source # 
type Rep CreateNetworkACL = D1 (MetaData "CreateNetworkACL" "Network.AWS.EC2.CreateNetworkACL" "amazonka-ec2-1.4.5-4J1X1aohvSR7xjHvMmTrf6" False) (C1 (MetaCons "CreateNetworkACL'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cnaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_cnaVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateNetworkACL Source # 

Request Lenses

cnaDryRun :: Lens' CreateNetworkACL (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

createNetworkACLResponse Source #

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

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

data CreateNetworkACLResponse Source #

Contains the output of CreateNetworkAcl.

See: createNetworkACLResponse smart constructor.

Instances

Eq CreateNetworkACLResponse Source # 
Data CreateNetworkACLResponse Source # 

Methods

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

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

toConstr :: CreateNetworkACLResponse -> Constr #

dataTypeOf :: CreateNetworkACLResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateNetworkACLResponse Source # 
Show CreateNetworkACLResponse Source # 
Generic CreateNetworkACLResponse Source # 
NFData CreateNetworkACLResponse Source # 
type Rep CreateNetworkACLResponse Source # 
type Rep CreateNetworkACLResponse = D1 (MetaData "CreateNetworkACLResponse" "Network.AWS.EC2.CreateNetworkACL" "amazonka-ec2-1.4.5-4J1X1aohvSR7xjHvMmTrf6" False) (C1 (MetaCons "CreateNetworkACLResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cnarsNetworkACL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NetworkACL))) (S1 (MetaSel (Just Symbol "_cnarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

cnarsNetworkACL :: Lens' CreateNetworkACLResponse (Maybe NetworkACL) Source #

Information about the network ACL.