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

This is an idempotent operation.

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

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

Data ReplaceNetworkACLAssociation # 
Instance details

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

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

Show ReplaceNetworkACLAssociation # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

Generic ReplaceNetworkACLAssociation # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

Associated Types

type Rep ReplaceNetworkACLAssociation :: Type -> Type #

Hashable ReplaceNetworkACLAssociation # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

AWSRequest ReplaceNetworkACLAssociation # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

Associated Types

type Rs ReplaceNetworkACLAssociation :: Type #

ToHeaders ReplaceNetworkACLAssociation # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

ToPath ReplaceNetworkACLAssociation # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

ToQuery ReplaceNetworkACLAssociation # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

NFData ReplaceNetworkACLAssociation # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

type Rep ReplaceNetworkACLAssociation # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

type Rep ReplaceNetworkACLAssociation = D1 (MetaData "ReplaceNetworkACLAssociation" "Network.AWS.EC2.ReplaceNetworkACLAssociation" "amazonka-ec2-1.6.1-H98Zd65xIYr2z4e5UhW9ck" False) (C1 (MetaCons "ReplaceNetworkACLAssociation'" PrefixI True) (S1 (MetaSel (Just "_rnaaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_rnaaAssociationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rnaaNetworkACLId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ReplaceNetworkACLAssociation # 
Instance details

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

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

Data ReplaceNetworkACLAssociationResponse # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

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

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

Show ReplaceNetworkACLAssociationResponse # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

Generic ReplaceNetworkACLAssociationResponse # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

NFData ReplaceNetworkACLAssociationResponse # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

type Rep ReplaceNetworkACLAssociationResponse # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

type Rep ReplaceNetworkACLAssociationResponse = D1 (MetaData "ReplaceNetworkACLAssociationResponse" "Network.AWS.EC2.ReplaceNetworkACLAssociation" "amazonka-ec2-1.6.1-H98Zd65xIYr2z4e5UhW9ck" False) (C1 (MetaCons "ReplaceNetworkACLAssociationResponse'" PrefixI True) (S1 (MetaSel (Just "_rnaarsNewAssociationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rnaarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses