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

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

Contains the parameters for ReplaceNetworkAclAssociation.

See: replaceNetworkACLAssociation smart constructor.

Instances
Eq ReplaceNetworkACLAssociation Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

Data ReplaceNetworkACLAssociation Source # 
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 Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

Show ReplaceNetworkACLAssociation Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

Generic ReplaceNetworkACLAssociation Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

Associated Types

type Rep ReplaceNetworkACLAssociation :: Type -> Type #

Hashable ReplaceNetworkACLAssociation Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

AWSRequest ReplaceNetworkACLAssociation Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

Associated Types

type Rs ReplaceNetworkACLAssociation :: Type #

ToHeaders ReplaceNetworkACLAssociation Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

ToPath ReplaceNetworkACLAssociation Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

ToQuery ReplaceNetworkACLAssociation Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

NFData ReplaceNetworkACLAssociation Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

type Rep ReplaceNetworkACLAssociation Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

type Rep ReplaceNetworkACLAssociation = D1 (MetaData "ReplaceNetworkACLAssociation" "Network.AWS.EC2.ReplaceNetworkACLAssociation" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" 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 Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

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

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

Data ReplaceNetworkACLAssociationResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

Show ReplaceNetworkACLAssociationResponse Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

Generic ReplaceNetworkACLAssociationResponse Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

NFData ReplaceNetworkACLAssociationResponse Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

type Rep ReplaceNetworkACLAssociationResponse Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLAssociation

type Rep ReplaceNetworkACLAssociationResponse = D1 (MetaData "ReplaceNetworkACLAssociationResponse" "Network.AWS.EC2.ReplaceNetworkACLAssociation" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" 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