Skip to content

Delete Dhcp Options

ec2_delete_dhcp_options R Documentation

Deletes the specified set of DHCP options

Description

Deletes the specified set of DHCP options. You must disassociate the set of DHCP options before you can delete it. You can disassociate the set of DHCP options by associating either a new set of options or the default set of options with the VPC.

Usage

ec2_delete_dhcp_options(DhcpOptionsId, DryRun)

Arguments

DhcpOptionsId

[required] The ID of the DHCP options set.

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.

Value

An empty list.

Request syntax

svc$delete_dhcp_options(
  DhcpOptionsId = "string",
  DryRun = TRUE|FALSE
)

Examples

## Not run: 
# This example deletes the specified DHCP options set.
svc$delete_dhcp_options(
  DhcpOptionsId = "dopt-d9070ebb"
)

## End(Not run)