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 |
Network.AWS.EC2.ReplaceNetworkACLAssociation
Description
Changes which network ACL a subnet is associated with. By default when you create a subnet, it's automatically associated with the default network ACL. For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide .
- replaceNetworkACLAssociation :: Text -> Text -> ReplaceNetworkACLAssociation
- data ReplaceNetworkACLAssociation
- rnaaDryRun :: Lens' ReplaceNetworkACLAssociation (Maybe Bool)
- rnaaAssociationId :: Lens' ReplaceNetworkACLAssociation Text
- rnaaNetworkACLId :: Lens' ReplaceNetworkACLAssociation Text
- replaceNetworkACLAssociationResponse :: Int -> ReplaceNetworkACLAssociationResponse
- data ReplaceNetworkACLAssociationResponse
- rnaarsNewAssociationId :: Lens' ReplaceNetworkACLAssociationResponse (Maybe Text)
- rnaarsResponseStatus :: Lens' ReplaceNetworkACLAssociationResponse Int
Creating a Request
replaceNetworkACLAssociation #
Arguments
:: Text | |
-> Text | |
-> ReplaceNetworkACLAssociation |
Creates a value of ReplaceNetworkACLAssociation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rnaaDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.rnaaAssociationId
- The ID of the current association between the original network ACL and the subnet.rnaaNetworkACLId
- The ID of the new network ACL to associate with the subnet.
data ReplaceNetworkACLAssociation #
Contains the parameters for ReplaceNetworkAclAssociation.
See: replaceNetworkACLAssociation
smart constructor.
Instances
Request Lenses
rnaaDryRun :: Lens' ReplaceNetworkACLAssociation (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
.
rnaaAssociationId :: Lens' ReplaceNetworkACLAssociation Text #
The ID of the current association between the original network ACL and the subnet.
rnaaNetworkACLId :: Lens' ReplaceNetworkACLAssociation Text #
The ID of the new network ACL to associate with the subnet.
Destructuring the Response
replaceNetworkACLAssociationResponse #
Arguments
:: Int | |
-> ReplaceNetworkACLAssociationResponse |
Creates a value of ReplaceNetworkACLAssociationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rnaarsNewAssociationId
- The ID of the new association.rnaarsResponseStatus
- -- | The response status code.
data ReplaceNetworkACLAssociationResponse #
Contains the output of ReplaceNetworkAclAssociation.
See: replaceNetworkACLAssociationResponse
smart constructor.
Instances
Response Lenses
rnaarsNewAssociationId :: Lens' ReplaceNetworkACLAssociationResponse (Maybe Text) #
The ID of the new association.
rnaarsResponseStatus :: Lens' ReplaceNetworkACLAssociationResponse Int #
- - | The response status code.