amazonka-ec2-1.4.5: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DescribeNetworkACLs

Contents

Description

Describes one or more of your network ACLs.

For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide .

Synopsis

Creating a Request

describeNetworkACLs :: DescribeNetworkACLs #

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

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

  • dnaclFilters - One or more filters. * association.association-id - The ID of an association ID for the ACL. * association.network-acl-id - The ID of the network ACL involved in the association. * association.subnet-id - The ID of the subnet involved in the association. * default - Indicates whether the ACL is the default network ACL for the VPC. * entry.cidr - The IPv4 CIDR range specified in the entry. * entry.egress - Indicates whether the entry applies to egress traffic. * entry.icmp.code - The ICMP code specified in the entry, if any. * entry.icmp.type - The ICMP type specified in the entry, if any. * entry.ipv6-cidr - The IPv6 CIDR range specified in the entry. * entry.port-range.from - The start of the port range specified in the entry. * entry.port-range.to - The end of the port range specified in the entry. * entry.protocol - The protocol specified in the entry (tcp | udp | icmp or a protocol number). * entry.rule-action - Allows or denies the matching traffic (allow | deny ). * entry.rule-number - The number of an entry (in other words, rule) in the ACL's set of entries. * network-acl-id - The ID of the network ACL. * tag :key =value - The keyvalue combination of a tag assigned to the resource. * tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag :key =value/ filter. * tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. * vpc-id - The ID of the VPC for the network ACL.
  • dnaclNetworkACLIds - One or more network ACL IDs. Default: Describes all your network ACLs.
  • dnaclDryRun - 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 .

data DescribeNetworkACLs #

Contains the parameters for DescribeNetworkAcls.

See: describeNetworkACLs smart constructor.

Instances

Eq DescribeNetworkACLs # 
Data DescribeNetworkACLs # 

Methods

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

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

toConstr :: DescribeNetworkACLs -> Constr #

dataTypeOf :: DescribeNetworkACLs -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeNetworkACLs # 
Show DescribeNetworkACLs # 
Generic DescribeNetworkACLs # 
Hashable DescribeNetworkACLs # 
NFData DescribeNetworkACLs # 

Methods

rnf :: DescribeNetworkACLs -> () #

AWSRequest DescribeNetworkACLs # 
ToQuery DescribeNetworkACLs # 
ToPath DescribeNetworkACLs # 
ToHeaders DescribeNetworkACLs # 
type Rep DescribeNetworkACLs # 
type Rep DescribeNetworkACLs = D1 (MetaData "DescribeNetworkACLs" "Network.AWS.EC2.DescribeNetworkACLs" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DescribeNetworkACLs'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dnaclFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter]))) ((:*:) (S1 (MetaSel (Just Symbol "_dnaclNetworkACLIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_dnaclDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))
type Rs DescribeNetworkACLs # 

Request Lenses

dnaclFilters :: Lens' DescribeNetworkACLs [Filter] #

One or more filters. * association.association-id - The ID of an association ID for the ACL. * association.network-acl-id - The ID of the network ACL involved in the association. * association.subnet-id - The ID of the subnet involved in the association. * default - Indicates whether the ACL is the default network ACL for the VPC. * entry.cidr - The IPv4 CIDR range specified in the entry. * entry.egress - Indicates whether the entry applies to egress traffic. * entry.icmp.code - The ICMP code specified in the entry, if any. * entry.icmp.type - The ICMP type specified in the entry, if any. * entry.ipv6-cidr - The IPv6 CIDR range specified in the entry. * entry.port-range.from - The start of the port range specified in the entry. * entry.port-range.to - The end of the port range specified in the entry. * entry.protocol - The protocol specified in the entry (tcp | udp | icmp or a protocol number). * entry.rule-action - Allows or denies the matching traffic (allow | deny ). * entry.rule-number - The number of an entry (in other words, rule) in the ACL's set of entries. * network-acl-id - The ID of the network ACL. * tag :key =value - The keyvalue combination of a tag assigned to the resource. * tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag :key =value/ filter. * tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. * vpc-id - The ID of the VPC for the network ACL.

dnaclNetworkACLIds :: Lens' DescribeNetworkACLs [Text] #

One or more network ACL IDs. Default: Describes all your network ACLs.

dnaclDryRun :: Lens' DescribeNetworkACLs (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 .

Destructuring the Response

describeNetworkACLsResponse #

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

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

data DescribeNetworkACLsResponse #

Contains the output of DescribeNetworkAcls.

See: describeNetworkACLsResponse smart constructor.

Instances

Eq DescribeNetworkACLsResponse # 
Data DescribeNetworkACLsResponse # 

Methods

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

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

toConstr :: DescribeNetworkACLsResponse -> Constr #

dataTypeOf :: DescribeNetworkACLsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeNetworkACLsResponse # 
Show DescribeNetworkACLsResponse # 
Generic DescribeNetworkACLsResponse # 
NFData DescribeNetworkACLsResponse # 
type Rep DescribeNetworkACLsResponse # 
type Rep DescribeNetworkACLsResponse = D1 (MetaData "DescribeNetworkACLsResponse" "Network.AWS.EC2.DescribeNetworkACLs" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DescribeNetworkACLsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dnarsNetworkACLs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [NetworkACL]))) (S1 (MetaSel (Just Symbol "_dnarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

dnarsNetworkACLs :: Lens' DescribeNetworkACLsResponse [NetworkACL] #

Information about one or more network ACLs.