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

data DeleteVpc Source

Instances

Eq DeleteVpc 
Ord DeleteVpc 
Read DeleteVpc 
Show DeleteVpc 
AWSRequest DeleteVpc 
ToQuery DeleteVpc 
ToPath DeleteVpc 
ToHeaders DeleteVpc 
type Sv DeleteVpc = EC2 
type Rs DeleteVpc = DeleteVpcResponse 

Request constructor

deleteVpc Source

Arguments

:: Text

dv3VpcId

-> DeleteVpc 

DeleteVpc constructor.

The fields accessible through corresponding lenses are:

Request lenses

dv3VpcId :: Lens' DeleteVpc Text Source

The ID of the VPC.

Response

Response constructor