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.

Samples


fun main() { 
   //sampleStart 
   // This example deletes the specified DHCP options set.
ec2Client.deleteDhcpOptions {
    dhcpOptionsId = "dopt-d9070ebb"
} 
   //sampleEnd
}