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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DeleteVpc

Contents

Description

Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteVpc.html

Synopsis

Request

Request constructor

deleteVpc Source

Arguments

:: Text

dv3VpcId

-> DeleteVpc 

DeleteVpc constructor.

The fields accessible through corresponding lenses are:

Request lenses

dv3DryRun :: Lens' DeleteVpc (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.

dv3VpcId :: Lens' DeleteVpc Text Source

The ID of the VPC.

Response

Response constructor