amazonka-ec2-1.4.1: 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 Source #

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:

data ReplaceNetworkACLAssociation Source #

Contains the parameters for ReplaceNetworkAclAssociation.

See: replaceNetworkACLAssociation smart constructor.

Instances

Eq ReplaceNetworkACLAssociation Source # 
Data ReplaceNetworkACLAssociation Source # 

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 Source # 
Show ReplaceNetworkACLAssociation Source # 
Generic ReplaceNetworkACLAssociation Source # 
Hashable ReplaceNetworkACLAssociation Source # 
NFData ReplaceNetworkACLAssociation Source # 
AWSRequest ReplaceNetworkACLAssociation Source # 
ToQuery ReplaceNetworkACLAssociation Source # 
ToPath ReplaceNetworkACLAssociation Source # 
ToHeaders ReplaceNetworkACLAssociation Source # 
type Rep ReplaceNetworkACLAssociation Source # 
type Rep ReplaceNetworkACLAssociation = D1 (MetaData "ReplaceNetworkACLAssociation" "Network.AWS.EC2.ReplaceNetworkACLAssociation" "amazonka-ec2-1.4.1-5DlWz6no0BoLQhxZVyzMyd" 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 Source # 

Request Lenses

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

rnaaAssociationId :: Lens' ReplaceNetworkACLAssociation Text Source #

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

rnaaNetworkACLId :: Lens' ReplaceNetworkACLAssociation Text Source #

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

Destructuring the Response

replaceNetworkACLAssociationResponse Source #

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

Contains the output of ReplaceNetworkAclAssociation.

See: replaceNetworkACLAssociationResponse smart constructor.

Instances

Eq ReplaceNetworkACLAssociationResponse Source # 
Data ReplaceNetworkACLAssociationResponse Source # 

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 Source # 
Show ReplaceNetworkACLAssociationResponse Source # 
Generic ReplaceNetworkACLAssociationResponse Source # 
NFData ReplaceNetworkACLAssociationResponse Source # 
type Rep ReplaceNetworkACLAssociationResponse Source # 
type Rep ReplaceNetworkACLAssociationResponse = D1 (MetaData "ReplaceNetworkACLAssociationResponse" "Network.AWS.EC2.ReplaceNetworkACLAssociation" "amazonka-ec2-1.4.1-5DlWz6no0BoLQhxZVyzMyd" False) (C1 (MetaCons "ReplaceNetworkACLAssociationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rnaarsNewAssociationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rnaarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses