Learn R Programming

paws.compute (version 0.7.0)

ec2_delete_subnet: Deletes the specified subnet

Description

Deletes the specified subnet. You must terminate all running instances in the subnet before you can delete the subnet.

See https://www.paws-r-sdk.com/docs/ec2_delete_subnet/ for full documentation.

Usage

ec2_delete_subnet(SubnetId, DryRun = NULL)

Arguments

SubnetId

[required] The ID of the subnet.

DryRun

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.