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 |
Deletes the specified network ACL. You can't delete the ACL if it's associated with any subnets. You can't delete the default network ACL.
Synopsis
- data DeleteNetworkAcl = DeleteNetworkAcl' {
- dryRun :: Maybe Bool
- networkAclId :: Text
- newDeleteNetworkAcl :: Text -> DeleteNetworkAcl
- deleteNetworkAcl_dryRun :: Lens' DeleteNetworkAcl (Maybe Bool)
- deleteNetworkAcl_networkAclId :: Lens' DeleteNetworkAcl Text
- data DeleteNetworkAclResponse = DeleteNetworkAclResponse' {
- newDeleteNetworkAclResponse :: DeleteNetworkAclResponse
Creating a Request
data DeleteNetworkAcl Source #
See: newDeleteNetworkAcl
smart constructor.
DeleteNetworkAcl' | |
|
Instances
Create a value of DeleteNetworkAcl
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:DeleteNetworkAcl'
, deleteNetworkAcl_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
.
DeleteNetworkAcl
, deleteNetworkAcl_networkAclId
- The ID of the network ACL.
Request Lenses
deleteNetworkAcl_dryRun :: Lens' DeleteNetworkAcl (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
.
deleteNetworkAcl_networkAclId :: Lens' DeleteNetworkAcl Text Source #
The ID of the network ACL.
Destructuring the Response
data DeleteNetworkAclResponse Source #
See: newDeleteNetworkAclResponse
smart constructor.
Instances
Generic DeleteNetworkAclResponse Source # | |
Defined in Amazonka.EC2.DeleteNetworkAcl type Rep DeleteNetworkAclResponse :: Type -> Type # | |
Read DeleteNetworkAclResponse Source # | |
Show DeleteNetworkAclResponse Source # | |
Defined in Amazonka.EC2.DeleteNetworkAcl showsPrec :: Int -> DeleteNetworkAclResponse -> ShowS # show :: DeleteNetworkAclResponse -> String # showList :: [DeleteNetworkAclResponse] -> ShowS # | |
NFData DeleteNetworkAclResponse Source # | |
Defined in Amazonka.EC2.DeleteNetworkAcl rnf :: DeleteNetworkAclResponse -> () # | |
Eq DeleteNetworkAclResponse Source # | |
Defined in Amazonka.EC2.DeleteNetworkAcl | |
type Rep DeleteNetworkAclResponse Source # | |
newDeleteNetworkAclResponse :: DeleteNetworkAclResponse Source #
Create a value of DeleteNetworkAclResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.