amazonka-ec2-0.3.3: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DeleteSubnet

Contents

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

Synopsis

Request

Request constructor

deleteSubnet Source

DeleteSubnet constructor.

The fields accessible through corresponding lenses are:

Request lenses

ds2SubnetId :: Lens' DeleteSubnet Text Source

The ID of the subnet.

Response

Response constructor