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 |
Deletes the specified subnet. You must terminate all running instances in the subnet before you can delete the subnet.
Creating a Request
Creates a value of DeleteSubnet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteSubnet Source #
Contains the parameters for DeleteSubnet.
See: deleteSubnet
smart constructor.
Request Lenses
ddDryRun :: Lens' DeleteSubnet (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
.
ddSubnetId :: Lens' DeleteSubnet Text Source #
The ID of the subnet.
Destructuring the Response
deleteSubnetResponse :: DeleteSubnetResponse Source #
Creates a value of DeleteSubnetResponse
with the minimum fields required to make a request.
data DeleteSubnetResponse Source #
See: deleteSubnetResponse
smart constructor.