import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListCidrBlocksRequest, ListCidrBlocksResponse } from "../models/models_0"; import type { Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53Client"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListCidrBlocksCommand}. */ export interface ListCidrBlocksCommandInput extends ListCidrBlocksRequest { } /** * @public * * The output of {@link ListCidrBlocksCommand}. */ export interface ListCidrBlocksCommandOutput extends ListCidrBlocksResponse, __MetadataBearer { } declare const ListCidrBlocksCommand_base: { new (input: ListCidrBlocksCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ListCidrBlocksCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns a paginated list of location objects and their CIDR blocks.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53Client, ListCidrBlocksCommand } from "@aws-sdk/client-route-53"; // ES Modules import * // const { Route53Client, ListCidrBlocksCommand } = require("@aws-sdk/client-route-53"); // CommonJS import * // import type { Route53ClientConfig } from "@aws-sdk/client-route-53"; * const config = {}; // type is Route53ClientConfig * const client = new Route53Client(config); * const input = { // ListCidrBlocksRequest * CollectionId: "STRING_VALUE", // required * LocationName: "STRING_VALUE", * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListCidrBlocksCommand(input); * const response = await client.send(command); * // { // ListCidrBlocksResponse * // NextToken: "STRING_VALUE", * // CidrBlocks: [ // CidrBlockSummaries * // { // CidrBlockSummary * // CidrBlock: "STRING_VALUE", * // LocationName: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param ListCidrBlocksCommandInput - {@link ListCidrBlocksCommandInput} * @returns {@link ListCidrBlocksCommandOutput} * @see {@link ListCidrBlocksCommandInput} for command's `input` shape. * @see {@link ListCidrBlocksCommandOutput} for command's `response` shape. * @see {@link Route53ClientResolvedConfig | config} for Route53Client's `config` shape. * * @throws {@link InvalidInput} (client fault) *

The input is not valid.

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

The CIDR collection you specified, doesn't exist.

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

The CIDR collection location doesn't match any locations in your account.

* * @throws {@link Route53ServiceException} *

Base exception class for all service exceptions from Route53 service.

* * * @public */ export declare class ListCidrBlocksCommand extends ListCidrBlocksCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListCidrBlocksRequest; output: ListCidrBlocksResponse; }; sdk: { input: ListCidrBlocksCommandInput; output: ListCidrBlocksCommandOutput; }; }; }