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 |
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.
See: AWS API Reference for ReplaceNetworkACLAssociation.
- 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 Source
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:
data ReplaceNetworkACLAssociation Source
See: replaceNetworkACLAssociation
smart constructor.
Request Lenses
rnaaDryRun :: Lens' ReplaceNetworkACLAssociation (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
.
rnaaAssociationId :: Lens' ReplaceNetworkACLAssociation Text Source
The ID of the current association between the original network ACL and the subnet.
rnaaNetworkACLId :: Lens' ReplaceNetworkACLAssociation Text Source
The ID of the new network ACL to associate with the subnet.
Destructuring the Response
replaceNetworkACLAssociationResponse Source
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:
data ReplaceNetworkACLAssociationResponse Source
See: replaceNetworkACLAssociationResponse
smart constructor.
Response Lenses
rnaarsNewAssociationId :: Lens' ReplaceNetworkACLAssociationResponse (Maybe Text) Source
The ID of the new association.
rnaarsResponseStatus :: Lens' ReplaceNetworkACLAssociationResponse Int Source
The response status code.