Safe Haskell | None |
---|---|
Language | Haskell2010 |
Deletes the specified subnet. You must terminate all running instances in the subnet before you can delete the subnet.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteSubnet.html
Request
data DeleteSubnet Source
Request constructor
DeleteSubnet
constructor.
The fields accessible through corresponding lenses are:
ds2DryRun
::
Maybe
Bool
ds2SubnetId
::
Text
Request lenses
ds2DryRun :: 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
.
ds2SubnetId :: Lens' DeleteSubnet Text Source
The ID of the subnet.
Response
Response constructor
deleteSubnetResponse :: DeleteSubnetResponse Source
DeleteSubnetResponse
constructor.