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 #
Contains the parameters for CreateNetworkAcl.
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
.
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 #
Contains the output of CreateNetworkAcl.
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.