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

Contents

Description

Changes which network ACL a subnet is associated with. By default when you create a subnet, it's automatically associated with the default network ACL. For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide .

Synopsis

Creating a Request

replaceNetworkACLAssociation #

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

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

  • rnaaDryRun - 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 .
  • rnaaAssociationId - The ID of the current association between the original network ACL and the subnet.
  • rnaaNetworkACLId - The ID of the new network ACL to associate with the subnet.

data ReplaceNetworkACLAssociation #

Contains the parameters for ReplaceNetworkAclAssociation.

See: replaceNetworkACLAssociation smart constructor.

Instances

Eq ReplaceNetworkACLAssociation # 
Data ReplaceNetworkACLAssociation # 

Methods

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

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

toConstr :: ReplaceNetworkACLAssociation -> Constr #

dataTypeOf :: ReplaceNetworkACLAssociation -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ReplaceNetworkACLAssociation # 
Show ReplaceNetworkACLAssociation # 
Generic ReplaceNetworkACLAssociation # 
Hashable ReplaceNetworkACLAssociation # 
NFData ReplaceNetworkACLAssociation # 
AWSRequest ReplaceNetworkACLAssociation # 
ToQuery ReplaceNetworkACLAssociation # 
ToPath ReplaceNetworkACLAssociation # 
ToHeaders ReplaceNetworkACLAssociation # 
type Rep ReplaceNetworkACLAssociation # 
type Rep ReplaceNetworkACLAssociation = D1 (MetaData "ReplaceNetworkACLAssociation" "Network.AWS.EC2.ReplaceNetworkACLAssociation" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "ReplaceNetworkACLAssociation'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rnaaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_rnaaAssociationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_rnaaNetworkACLId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ReplaceNetworkACLAssociation # 

Request Lenses

rnaaDryRun :: Lens' ReplaceNetworkACLAssociation (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 .

rnaaAssociationId :: Lens' ReplaceNetworkACLAssociation Text #

The ID of the current association between the original network ACL and the subnet.

rnaaNetworkACLId :: Lens' ReplaceNetworkACLAssociation Text #

The ID of the new network ACL to associate with the subnet.

Destructuring the Response

replaceNetworkACLAssociationResponse #

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

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

data ReplaceNetworkACLAssociationResponse #

Contains the output of ReplaceNetworkAclAssociation.

See: replaceNetworkACLAssociationResponse smart constructor.

Instances

Eq ReplaceNetworkACLAssociationResponse # 
Data ReplaceNetworkACLAssociationResponse # 

Methods

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

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

toConstr :: ReplaceNetworkACLAssociationResponse -> Constr #

dataTypeOf :: ReplaceNetworkACLAssociationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ReplaceNetworkACLAssociationResponse # 
Show ReplaceNetworkACLAssociationResponse # 
Generic ReplaceNetworkACLAssociationResponse # 
NFData ReplaceNetworkACLAssociationResponse # 
type Rep ReplaceNetworkACLAssociationResponse # 
type Rep ReplaceNetworkACLAssociationResponse = D1 (MetaData "ReplaceNetworkACLAssociationResponse" "Network.AWS.EC2.ReplaceNetworkACLAssociation" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "ReplaceNetworkACLAssociationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rnaarsNewAssociationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rnaarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses