import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DAXClient"; import type { DescribeSubnetGroupsRequest, DescribeSubnetGroupsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeSubnetGroupsCommand}. */ export interface DescribeSubnetGroupsCommandInput extends DescribeSubnetGroupsRequest { } /** * @public * * The output of {@link DescribeSubnetGroupsCommand}. */ export interface DescribeSubnetGroupsCommandOutput extends DescribeSubnetGroupsResponse, __MetadataBearer { } declare const DescribeSubnetGroupsCommand_base: { new (input: DescribeSubnetGroupsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DescribeSubnetGroupsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Returns a list of subnet group descriptions. If a subnet group name is specified, * the list will contain only the description of that group.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DAXClient, DescribeSubnetGroupsCommand } from "@aws-sdk/client-dax"; // ES Modules import * // const { DAXClient, DescribeSubnetGroupsCommand } = require("@aws-sdk/client-dax"); // CommonJS import * // import type { DAXClientConfig } from "@aws-sdk/client-dax"; * const config = {}; // type is DAXClientConfig * const client = new DAXClient(config); * const input = { // DescribeSubnetGroupsRequest * SubnetGroupNames: [ // SubnetGroupNameList * "STRING_VALUE", * ], * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new DescribeSubnetGroupsCommand(input); * const response = await client.send(command); * // { // DescribeSubnetGroupsResponse * // NextToken: "STRING_VALUE", * // SubnetGroups: [ // SubnetGroupList * // { // SubnetGroup * // SubnetGroupName: "STRING_VALUE", * // Description: "STRING_VALUE", * // VpcId: "STRING_VALUE", * // Subnets: [ // SubnetList * // { // Subnet * // SubnetIdentifier: "STRING_VALUE", * // SubnetAvailabilityZone: "STRING_VALUE", * // SupportedNetworkTypes: [ // NetworkTypeList * // "ipv4" || "ipv6" || "dual_stack", * // ], * // }, * // ], * // SupportedNetworkTypes: [ * // "ipv4" || "ipv6" || "dual_stack", * // ], * // }, * // ], * // }; * * ``` * * @param DescribeSubnetGroupsCommandInput - {@link DescribeSubnetGroupsCommandInput} * @returns {@link DescribeSubnetGroupsCommandOutput} * @see {@link DescribeSubnetGroupsCommandInput} for command's `input` shape. * @see {@link DescribeSubnetGroupsCommandOutput} for command's `response` shape. * @see {@link DAXClientResolvedConfig | config} for DAXClient's `config` shape. * * @throws {@link ServiceLinkedRoleNotFoundFault} (client fault) *

The specified service linked role (SLR) was not found.

* * @throws {@link SubnetGroupNotFoundFault} (client fault) *

The requested subnet group name does not refer to an existing subnet * group.

* * @throws {@link DAXServiceException} *

Base exception class for all service exceptions from DAX service.

* * * @public */ export declare class DescribeSubnetGroupsCommand extends DescribeSubnetGroupsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeSubnetGroupsRequest; output: DescribeSubnetGroupsResponse; }; sdk: { input: DescribeSubnetGroupsCommandInput; output: DescribeSubnetGroupsCommandOutput; }; }; }