Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.EC2.CreateNetworkACL
Description
Creates a network ACL in a VPC. Network ACLs provide an optional layer of security (in addition to security groups) for the instances in your VPC.
For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide.
See: AWS API Reference for CreateNetworkACL.
- createNetworkACL :: Text -> CreateNetworkACL
- data CreateNetworkACL
- cnaDryRun :: Lens' CreateNetworkACL (Maybe Bool)
- cnaVPCId :: Lens' CreateNetworkACL Text
- createNetworkACLResponse :: Int -> CreateNetworkACLResponse
- data CreateNetworkACLResponse
- cnarsNetworkACL :: Lens' CreateNetworkACLResponse (Maybe NetworkACL)
- cnarsStatus :: Lens' CreateNetworkACLResponse Int
Creating a Request
Arguments
:: Text | |
-> CreateNetworkACL |
Creates a value of CreateNetworkACL
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateNetworkACL Source
See: createNetworkACL
smart constructor.
Instances
Request Lenses
cnaDryRun :: Lens' CreateNetworkACL (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
.
cnaVPCId :: Lens' CreateNetworkACL Text Source
The ID of the VPC.
Destructuring the Response
createNetworkACLResponse Source
Arguments
:: Int | |
-> CreateNetworkACLResponse |
Creates a value of CreateNetworkACLResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateNetworkACLResponse Source
See: createNetworkACLResponse
smart constructor.
Response Lenses
cnarsNetworkACL :: Lens' CreateNetworkACLResponse (Maybe NetworkACL) Source
Information about the network ACL.
cnarsStatus :: Lens' CreateNetworkACLResponse Int Source
The response status code.