Delete Subnet
ec2_delete_subnet | R Documentation |
Deletes the specified subnet¶
Description¶
Deletes the specified subnet. You must terminate all running instances in the subnet before you can delete the subnet.
Usage¶
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 isUnauthorizedOperation
.
Value¶
An empty list.