Subnet / Action / delete
delete#
- EC2.Subnet.delete(**kwargs)#
- Deletes the specified subnet. You must terminate all running instances in the subnet before you can delete the subnet. - See also: AWS API Documentation - Request Syntax- response = subnet.delete( DryRun=True|False ) - Parameters:
- DryRun (boolean) – 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.
- Returns:
- None