| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.EC2.DeleteSubnet
Description
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
Instances
| Eq DeleteSubnet | |
| Ord DeleteSubnet | |
| Read DeleteSubnet | |
| Show DeleteSubnet | |
| AWSRequest DeleteSubnet | |
| ToQuery DeleteSubnet | |
| ToPath DeleteSubnet | |
| ToHeaders DeleteSubnet | |
| type Sv DeleteSubnet = EC2 | |
| type Rs DeleteSubnet = DeleteSubnetResponse |
Request constructor
Arguments
| :: Text | |
| -> DeleteSubnet |
DeleteSubnet constructor.
The fields accessible through corresponding lenses are:
ds2DryRun::MaybeBoolds2SubnetId::Text
Request lenses
ds2SubnetId :: Lens' DeleteSubnet Text Source
The ID of the subnet.
Response
Response constructor
deleteSubnetResponse :: DeleteSubnetResponse Source
DeleteSubnetResponse constructor.