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
- data DeleteSubnet
- deleteSubnet :: Text -> DeleteSubnet
- ds2DryRun :: Lens' DeleteSubnet (Maybe Bool)
- ds2SubnetId :: Lens' DeleteSubnet Text
- data DeleteSubnetResponse
- deleteSubnetResponse :: DeleteSubnetResponse
Request
data DeleteSubnet Source
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
:: Text | |
-> DeleteSubnet |
DeleteSubnet
constructor.
The fields accessible through corresponding lenses are:
ds2DryRun
::
Maybe
Bool
ds2SubnetId
::
Text
Request lenses
ds2DryRun :: Lens' DeleteSubnet (Maybe Bool) Source
ds2SubnetId :: Lens' DeleteSubnet Text Source
The ID of the subnet.
Response
Response constructor
deleteSubnetResponse :: DeleteSubnetResponse Source
DeleteSubnetResponse
constructor.