Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-ReplaceNetworkAclEntry.html
- data ReplaceNetworkAclEntry
- replaceNetworkAclEntry :: Text -> Int -> Text -> RuleAction -> Bool -> Text -> ReplaceNetworkAclEntry
- rnaeCidrBlock :: Lens' ReplaceNetworkAclEntry Text
- rnaeDryRun :: Lens' ReplaceNetworkAclEntry (Maybe Bool)
- rnaeEgress :: Lens' ReplaceNetworkAclEntry Bool
- rnaeIcmpTypeCode :: Lens' ReplaceNetworkAclEntry (Maybe IcmpTypeCode)
- rnaeNetworkAclId :: Lens' ReplaceNetworkAclEntry Text
- rnaePortRange :: Lens' ReplaceNetworkAclEntry (Maybe PortRange)
- rnaeProtocol :: Lens' ReplaceNetworkAclEntry Text
- rnaeRuleAction :: Lens' ReplaceNetworkAclEntry RuleAction
- rnaeRuleNumber :: Lens' ReplaceNetworkAclEntry Int
- data ReplaceNetworkAclEntryResponse
- replaceNetworkAclEntryResponse :: ReplaceNetworkAclEntryResponse
Request
Request constructor
:: Text | |
-> Int | |
-> Text | |
-> RuleAction | |
-> Bool | |
-> Text | |
-> ReplaceNetworkAclEntry |
ReplaceNetworkAclEntry
constructor.
The fields accessible through corresponding lenses are:
Request lenses
rnaeCidrBlock :: Lens' ReplaceNetworkAclEntry Text Source
The network range to allow or deny, in CIDR notation.
rnaeEgress :: Lens' ReplaceNetworkAclEntry Bool Source
Indicates whether to replace the egress rule.
Default: If no value is specified, we replace the ingress rule.
rnaeIcmpTypeCode :: Lens' ReplaceNetworkAclEntry (Maybe IcmpTypeCode) Source
ICMP protocol: The ICMP type and code. Required if specifying 1 (ICMP) for the protocol.
rnaeNetworkAclId :: Lens' ReplaceNetworkAclEntry Text Source
The ID of the ACL.
rnaePortRange :: Lens' ReplaceNetworkAclEntry (Maybe PortRange) Source
TCP or UDP protocols: The range of ports the rule applies to. Required if specifying 6 (TCP) or 17 (UDP) for the protocol.
rnaeProtocol :: Lens' ReplaceNetworkAclEntry Text Source
The IP protocol. You can specify all
or '-1' to mean all protocols.
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.