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

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 #

Contains the parameters for ReplaceNetworkAclEntry.

See: replaceNetworkACLEntry smart constructor.

Instances
Eq ReplaceNetworkACLEntry # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

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

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Show ReplaceNetworkACLEntry # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Generic ReplaceNetworkACLEntry # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Associated Types

type Rep ReplaceNetworkACLEntry :: * -> * #

Hashable ReplaceNetworkACLEntry # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

AWSRequest ReplaceNetworkACLEntry # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Associated Types

type Rs ReplaceNetworkACLEntry :: * #

ToHeaders ReplaceNetworkACLEntry # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

ToPath ReplaceNetworkACLEntry # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

ToQuery ReplaceNetworkACLEntry # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

NFData ReplaceNetworkACLEntry # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Methods

rnf :: ReplaceNetworkACLEntry -> () #

type Rep ReplaceNetworkACLEntry # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

type Rs ReplaceNetworkACLEntry # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Request Lenses

rnaeIPv6CidrBlock :: Lens' ReplaceNetworkACLEntry (Maybe Text) #

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

rnaeICMPTypeCode :: Lens' ReplaceNetworkACLEntry (Maybe ICMPTypeCode) #

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

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

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

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

rnaeEgress :: Lens' ReplaceNetworkACLEntry Bool #

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

rnaeProtocol :: Lens' ReplaceNetworkACLEntry Text #

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 #

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

rnaeRuleNumber :: Lens' ReplaceNetworkACLEntry Int #

The rule number of the entry to replace.

Destructuring the Response

replaceNetworkACLEntryResponse :: ReplaceNetworkACLEntryResponse #

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

data ReplaceNetworkACLEntryResponse #

See: replaceNetworkACLEntryResponse smart constructor.

Instances
Eq ReplaceNetworkACLEntryResponse # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

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

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Show ReplaceNetworkACLEntryResponse # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Generic ReplaceNetworkACLEntryResponse # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

Associated Types

type Rep ReplaceNetworkACLEntryResponse :: * -> * #

NFData ReplaceNetworkACLEntryResponse # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

type Rep ReplaceNetworkACLEntryResponse # 
Instance details

Defined in Network.AWS.EC2.ReplaceNetworkACLEntry

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