| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EC2.DeleteNetworkAclEntry
Description
Deletes the specified ingress or egress entry (rule) from the specified network ACL.
Synopsis
- data DeleteNetworkAclEntry = DeleteNetworkAclEntry' {
- dryRun :: Maybe Bool
- egress :: Bool
- networkAclId :: Text
- ruleNumber :: Int
- newDeleteNetworkAclEntry :: Bool -> Text -> Int -> DeleteNetworkAclEntry
- deleteNetworkAclEntry_dryRun :: Lens' DeleteNetworkAclEntry (Maybe Bool)
- deleteNetworkAclEntry_egress :: Lens' DeleteNetworkAclEntry Bool
- deleteNetworkAclEntry_networkAclId :: Lens' DeleteNetworkAclEntry Text
- deleteNetworkAclEntry_ruleNumber :: Lens' DeleteNetworkAclEntry Int
- data DeleteNetworkAclEntryResponse = DeleteNetworkAclEntryResponse' {
- newDeleteNetworkAclEntryResponse :: DeleteNetworkAclEntryResponse
Creating a Request
data DeleteNetworkAclEntry Source #
See: newDeleteNetworkAclEntry smart constructor.
Constructors
| DeleteNetworkAclEntry' | |
Fields
| |
Instances
newDeleteNetworkAclEntry Source #
Arguments
| :: Bool | |
| -> Text | |
| -> Int | |
| -> DeleteNetworkAclEntry |
Create a value of DeleteNetworkAclEntry with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:DeleteNetworkAclEntry', deleteNetworkAclEntry_dryRun - 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.
DeleteNetworkAclEntry, deleteNetworkAclEntry_egress - Indicates whether the rule is an egress rule.
DeleteNetworkAclEntry, deleteNetworkAclEntry_networkAclId - The ID of the network ACL.
DeleteNetworkAclEntry, deleteNetworkAclEntry_ruleNumber - The rule number of the entry to delete.
Request Lenses
deleteNetworkAclEntry_dryRun :: Lens' DeleteNetworkAclEntry (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.
deleteNetworkAclEntry_egress :: Lens' DeleteNetworkAclEntry Bool Source #
Indicates whether the rule is an egress rule.
deleteNetworkAclEntry_networkAclId :: Lens' DeleteNetworkAclEntry Text Source #
The ID of the network ACL.
deleteNetworkAclEntry_ruleNumber :: Lens' DeleteNetworkAclEntry Int Source #
The rule number of the entry to delete.
Destructuring the Response
data DeleteNetworkAclEntryResponse Source #
See: newDeleteNetworkAclEntryResponse smart constructor.
Constructors
| DeleteNetworkAclEntryResponse' | |
Instances
| Generic DeleteNetworkAclEntryResponse Source # | |
Defined in Amazonka.EC2.DeleteNetworkAclEntry Associated Types type Rep DeleteNetworkAclEntryResponse :: Type -> Type # | |
| Read DeleteNetworkAclEntryResponse Source # | |
| Show DeleteNetworkAclEntryResponse Source # | |
Defined in Amazonka.EC2.DeleteNetworkAclEntry Methods showsPrec :: Int -> DeleteNetworkAclEntryResponse -> ShowS # show :: DeleteNetworkAclEntryResponse -> String # showList :: [DeleteNetworkAclEntryResponse] -> ShowS # | |
| NFData DeleteNetworkAclEntryResponse Source # | |
Defined in Amazonka.EC2.DeleteNetworkAclEntry Methods rnf :: DeleteNetworkAclEntryResponse -> () # | |
| Eq DeleteNetworkAclEntryResponse Source # | |
Defined in Amazonka.EC2.DeleteNetworkAclEntry | |
| type Rep DeleteNetworkAclEntryResponse Source # | |
Defined in Amazonka.EC2.DeleteNetworkAclEntry | |
newDeleteNetworkAclEntryResponse :: DeleteNetworkAclEntryResponse Source #
Create a value of DeleteNetworkAclEntryResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.