Copyright | (c) 2013-2016 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 |
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.
- createNetworkACL :: Text -> CreateNetworkACL
- data CreateNetworkACL
- cnaDryRun :: Lens' CreateNetworkACL (Maybe Bool)
- cnaVPCId :: Lens' CreateNetworkACL Text
- createNetworkACLResponse :: Int -> CreateNetworkACLResponse
- data CreateNetworkACLResponse
- cnarsNetworkACL :: Lens' CreateNetworkACLResponse (Maybe NetworkACL)
- cnarsResponseStatus :: Lens' CreateNetworkACLResponse Int
Creating a Request
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.
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
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.
cnarsResponseStatus :: Lens' CreateNetworkACLResponse Int Source
The response status code.