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 #

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 #

Contains the parameters for CreateNetworkAcl.

See: createNetworkACL smart constructor.

Instances

Eq CreateNetworkACL # 
Data CreateNetworkACL # 

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

Methods

rnf :: CreateNetworkACL -> () #

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

Request Lenses

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

cnaVPCId :: Lens' CreateNetworkACL Text #

The ID of the VPC.

Destructuring the Response

createNetworkACLResponse #

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 #

Contains the output of CreateNetworkAcl.

See: createNetworkACLResponse smart constructor.

Instances

Eq CreateNetworkACLResponse # 
Data CreateNetworkACLResponse # 

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 # 
Show CreateNetworkACLResponse # 
Generic CreateNetworkACLResponse # 
NFData CreateNetworkACLResponse # 
type Rep CreateNetworkACLResponse # 
type Rep CreateNetworkACLResponse = D1 (MetaData "CreateNetworkACLResponse" "Network.AWS.EC2.CreateNetworkACL" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" 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) #

Information about the network ACL.

cnarsResponseStatus :: Lens' CreateNetworkACLResponse Int #

  • - | The response status code.