Skip to content

/AWS1/CL_EC2=>DELETEDHCPOPTIONS()

About DeleteDhcpOptions

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.

Method Signature

IMPORTING

Required arguments:

IV_DHCPOPTIONSID TYPE /AWS1/EC2DHCPOPTIONSID /AWS1/EC2DHCPOPTIONSID

The ID of the DHCP options set.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.