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

Contents

Description

Replaces an entry (rule) in a network ACL. For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide .

Synopsis

Creating a Request

replaceNetworkACLEntry Source #

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

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

  • rnaeIPv6CidrBlock - The IPv6 network range to allow or deny, in CIDR notation (for example 2001:bd8:1234:1a00::/64 ).
  • rnaeICMPTypeCode - ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying the ICMP (1) protocol, or protocol 58 (ICMPv6) with an IPv6 CIDR block.
  • rnaePortRange - TCP or UDP protocols: The range of ports the rule applies to. Required if specifying TCP (6) or UDP (17) for the protocol.
  • rnaeCidrBlock - The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24 ).
  • rnaeDryRun - 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 .
  • rnaeEgress - Indicates whether to replace the egress rule. Default: If no value is specified, we replace the ingress rule.
  • rnaeNetworkACLId - The ID of the ACL.
  • rnaeProtocol - The IP protocol. You can specify all or -1 to mean all protocols. If you specify all , -1 , or a protocol number other than tcp , udp , or icmp , traffic on all ports is allowed, regardless of any ports or ICMP types or codes you specify. If you specify protocol 58 (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol 58 (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.
  • rnaeRuleAction - Indicates whether to allow or deny the traffic that matches the rule.
  • rnaeRuleNumber - The rule number of the entry to replace.

data ReplaceNetworkACLEntry Source #

Contains the parameters for ReplaceNetworkAclEntry.

See: replaceNetworkACLEntry smart constructor.

Instances
Eq ReplaceNetworkACLEntry Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Data ReplaceNetworkACLEntry Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Methods

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

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

toConstr :: ReplaceNetworkACLEntry -> Constr #

dataTypeOf :: ReplaceNetworkACLEntry -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ReplaceNetworkACLEntry Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Show ReplaceNetworkACLEntry Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Generic ReplaceNetworkACLEntry Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Associated Types

type Rep ReplaceNetworkACLEntry :: Type -> Type #

Hashable ReplaceNetworkACLEntry Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

AWSRequest ReplaceNetworkACLEntry Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Associated Types

type Rs ReplaceNetworkACLEntry :: Type #

ToHeaders ReplaceNetworkACLEntry Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

ToPath ReplaceNetworkACLEntry Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

ToQuery ReplaceNetworkACLEntry Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

NFData ReplaceNetworkACLEntry Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Methods

rnf :: ReplaceNetworkACLEntry -> () #

type Rep ReplaceNetworkACLEntry Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

type Rs ReplaceNetworkACLEntry Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Request Lenses

rnaeIPv6CidrBlock :: Lens' ReplaceNetworkACLEntry (Maybe Text) Source #

The IPv6 network range to allow or deny, in CIDR notation (for example 2001:bd8:1234:1a00::/64 ).

rnaeICMPTypeCode :: Lens' ReplaceNetworkACLEntry (Maybe ICMPTypeCode) Source #

ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying the ICMP (1) protocol, or protocol 58 (ICMPv6) with an IPv6 CIDR block.

rnaePortRange :: Lens' ReplaceNetworkACLEntry (Maybe PortRange) Source #

TCP or UDP protocols: The range of ports the rule applies to. Required if specifying TCP (6) or UDP (17) for the protocol.

rnaeCidrBlock :: Lens' ReplaceNetworkACLEntry (Maybe Text) Source #

The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24 ).

rnaeDryRun :: Lens' ReplaceNetworkACLEntry (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 .

rnaeEgress :: Lens' ReplaceNetworkACLEntry Bool Source #

Indicates whether to replace the egress rule. Default: If no value is specified, we replace the ingress rule.

rnaeProtocol :: Lens' ReplaceNetworkACLEntry Text Source #

The IP protocol. You can specify all or -1 to mean all protocols. If you specify all , -1 , or a protocol number other than tcp , udp , or icmp , traffic on all ports is allowed, regardless of any ports or ICMP types or codes you specify. If you specify protocol 58 (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol 58 (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.

rnaeRuleAction :: Lens' ReplaceNetworkACLEntry RuleAction Source #

Indicates whether to allow or deny the traffic that matches the rule.

rnaeRuleNumber :: Lens' ReplaceNetworkACLEntry Int Source #

The rule number of the entry to replace.

Destructuring the Response

replaceNetworkACLEntryResponse :: ReplaceNetworkACLEntryResponse Source #

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

data ReplaceNetworkACLEntryResponse Source #

See: replaceNetworkACLEntryResponse smart constructor.

Instances
Eq ReplaceNetworkACLEntryResponse Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Data ReplaceNetworkACLEntryResponse Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Methods

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

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

toConstr :: ReplaceNetworkACLEntryResponse -> Constr #

dataTypeOf :: ReplaceNetworkACLEntryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ReplaceNetworkACLEntryResponse Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Show ReplaceNetworkACLEntryResponse Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Generic ReplaceNetworkACLEntryResponse Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Associated Types

type Rep ReplaceNetworkACLEntryResponse :: Type -> Type #

NFData ReplaceNetworkACLEntryResponse Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

type Rep ReplaceNetworkACLEntryResponse Source # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

type Rep ReplaceNetworkACLEntryResponse = D1 (MetaData "ReplaceNetworkACLEntryResponse" "Network.AWS.EC2.ReplaceNetworkACLEntry" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "ReplaceNetworkACLEntryResponse'" PrefixI False) (U1 :: Type -> Type))