import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import type { DescribeDhcpOptionsRequest, DescribeDhcpOptionsResult } from "../models/models_3"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeDhcpOptionsCommand}. */ export interface DescribeDhcpOptionsCommandInput extends DescribeDhcpOptionsRequest { } /** * @public * * The output of {@link DescribeDhcpOptionsCommand}. */ export interface DescribeDhcpOptionsCommandOutput extends DescribeDhcpOptionsResult, __MetadataBearer { } declare const DescribeDhcpOptionsCommand_base: { new (input: DescribeDhcpOptionsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeDhcpOptionsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Describes your DHCP option sets. The default is to describe all your DHCP option sets. * Alternatively, you can specify specific DHCP option set IDs or filter the results to * include only the DHCP option sets that match specific criteria.

*

For more information, see DHCP option sets in the * Amazon VPC User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EC2Client, DescribeDhcpOptionsCommand } from "@aws-sdk/client-ec2"; // ES Modules import * // const { EC2Client, DescribeDhcpOptionsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2"; * const config = {}; // type is EC2ClientConfig * const client = new EC2Client(config); * const input = { // DescribeDhcpOptionsRequest * DhcpOptionsIds: [ // DhcpOptionsIdStringList * "STRING_VALUE", * ], * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * DryRun: true || false, * Filters: [ // FilterList * { // Filter * Name: "STRING_VALUE", * Values: [ // ValueStringList * "STRING_VALUE", * ], * }, * ], * }; * const command = new DescribeDhcpOptionsCommand(input); * const response = await client.send(command); * // { // DescribeDhcpOptionsResult * // NextToken: "STRING_VALUE", * // DhcpOptions: [ // DhcpOptionsList * // { // DhcpOptions * // OwnerId: "STRING_VALUE", * // Tags: [ // TagList * // { // Tag * // Key: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // ], * // DhcpOptionsId: "STRING_VALUE", * // DhcpConfigurations: [ // DhcpConfigurationList * // { // DhcpConfiguration * // Key: "STRING_VALUE", * // Values: [ // DhcpConfigurationValueList * // { // AttributeValue * // Value: "STRING_VALUE", * // }, * // ], * // }, * // ], * // }, * // ], * // }; * * ``` * * @param DescribeDhcpOptionsCommandInput - {@link DescribeDhcpOptionsCommandInput} * @returns {@link DescribeDhcpOptionsCommandOutput} * @see {@link DescribeDhcpOptionsCommandInput} for command's `input` shape. * @see {@link DescribeDhcpOptionsCommandOutput} for command's `response` shape. * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape. * * @throws {@link EC2ServiceException} *

Base exception class for all service exceptions from EC2 service.

* * * @example To describe a DHCP options set * ```javascript * // This example describes the specified DHCP options set. * const input = { * DhcpOptionsIds: [ * "dopt-d9070ebb" * ] * }; * const command = new DescribeDhcpOptionsCommand(input); * const response = await client.send(command); * /* response is * { * DhcpOptions: [ * { * DhcpConfigurations: [ * { * Key: "domain-name-servers", * Values: [ * { * Value: "10.2.5.2" * }, * { * Value: "10.2.5.1" * } * ] * } * ], * DhcpOptionsId: "dopt-d9070ebb" * } * ] * } * *\/ * ``` * * @public */ export declare class DescribeDhcpOptionsCommand extends DescribeDhcpOptionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeDhcpOptionsRequest; output: DescribeDhcpOptionsResult; }; sdk: { input: DescribeDhcpOptionsCommandInput; output: DescribeDhcpOptionsCommandOutput; }; }; }