Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
Creating a Request
Creates a value of DeleteVPC
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Contains the parameters for DeleteVpc.
See: deleteVPC
smart constructor.
Request Lenses
delDryRun :: 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
.
Destructuring the Response
deleteVPCResponse :: DeleteVPCResponse Source #
Creates a value of DeleteVPCResponse
with the minimum fields required to make a request.
data DeleteVPCResponse Source #
See: deleteVPCResponse
smart constructor.