amazonka-ec2-0.3.6.1: 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

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