amazonka-ec2-1.6.1: 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.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 # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

Data CreateNetworkACL Source # 
Instance details

Defined in Network.AWS.EC2.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 Source # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

Show CreateNetworkACL Source # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

Generic CreateNetworkACL Source # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

Associated Types

type Rep CreateNetworkACL :: Type -> Type #

Hashable CreateNetworkACL Source # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

AWSRequest CreateNetworkACL Source # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

Associated Types

type Rs CreateNetworkACL :: Type #

ToHeaders CreateNetworkACL Source # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

ToPath CreateNetworkACL Source # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

ToQuery CreateNetworkACL Source # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

NFData CreateNetworkACL Source # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

Methods

rnf :: CreateNetworkACL -> () #

type Rep CreateNetworkACL Source # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

type Rep CreateNetworkACL = D1 (MetaData "CreateNetworkACL" "Network.AWS.EC2.CreateNetworkACL" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "CreateNetworkACL'" PrefixI True) (S1 (MetaSel (Just "_cnaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_cnaVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs CreateNetworkACL Source # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

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 # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

Data CreateNetworkACLResponse Source # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

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 # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

Show CreateNetworkACLResponse Source # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

Generic CreateNetworkACLResponse Source # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

Associated Types

type Rep CreateNetworkACLResponse :: Type -> Type #

NFData CreateNetworkACLResponse Source # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

type Rep CreateNetworkACLResponse Source # 
Instance details

Defined in Network.AWS.EC2.CreateNetworkACL

type Rep CreateNetworkACLResponse = D1 (MetaData "CreateNetworkACLResponse" "Network.AWS.EC2.CreateNetworkACL" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "CreateNetworkACLResponse'" PrefixI True) (S1 (MetaSel (Just "_cnarsNetworkACL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NetworkACL)) :*: S1 (MetaSel (Just "_cnarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

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

Information about the network ACL.