Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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 .
This is an idempotent operation.
- 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:
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 Source #
Contains the parameters for ReplaceNetworkAclAssociation.
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:
rnaarsNewAssociationId
- The ID of the new association.rnaarsResponseStatus
- -- | The response status code.
data ReplaceNetworkACLAssociationResponse Source #
Contains the output of ReplaceNetworkAclAssociation.
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.