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.
example
Use a bare-bones client and the command you need to make an API call.
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.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, DeleteDhcpOptionsCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, DeleteDhcpOptionsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new DeleteDhcpOptionsCommand(input); const response = await client.send(command);
DeleteDhcpOptionsCommandInput for command's
input
shape.DeleteDhcpOptionsCommandOutput for command's
response
shape.config for EC2Client's
config
shape.