Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteDhcpOptionsCommand

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.

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);
see

DeleteDhcpOptionsCommandInput for command's input shape.

see

DeleteDhcpOptionsCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DeleteDhcpOptionsCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions