UNPKG

@aws-sdk/client-route-53

Version:

AWS SDK for JavaScript Route 53 Client for Node.js, Browser and React Native

90 lines (89 loc) 3.6 kB
import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListCidrCollectionsRequest, ListCidrCollectionsResponse } from "../models/models_0"; import type { Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53Client"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListCidrCollectionsCommand}. */ export interface ListCidrCollectionsCommandInput extends ListCidrCollectionsRequest { } /** * @public * * The output of {@link ListCidrCollectionsCommand}. */ export interface ListCidrCollectionsCommandOutput extends ListCidrCollectionsResponse, __MetadataBearer { } declare const ListCidrCollectionsCommand_base: { new (input: ListCidrCollectionsCommandInput): import("@smithy/core/client").CommandImpl<ListCidrCollectionsCommandInput, ListCidrCollectionsCommandOutput, Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>; new (...[input]: [] | [ListCidrCollectionsCommandInput]): import("@smithy/core/client").CommandImpl<ListCidrCollectionsCommandInput, ListCidrCollectionsCommandOutput, Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** * <p>Returns a paginated list of CIDR collections in the Amazon Web Services account * (metadata only).</p> * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53Client, ListCidrCollectionsCommand } from "@aws-sdk/client-route-53"; // ES Modules import * // const { Route53Client, ListCidrCollectionsCommand } = 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 = { // ListCidrCollectionsRequest * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListCidrCollectionsCommand(input); * const response = await client.send(command); * // { // ListCidrCollectionsResponse * // NextToken: "STRING_VALUE", * // CidrCollections: [ // CollectionSummaries * // { // CollectionSummary * // Arn: "STRING_VALUE", * // Id: "STRING_VALUE", * // Name: "STRING_VALUE", * // Version: Number("long"), * // }, * // ], * // }; * * ``` * * @param ListCidrCollectionsCommandInput - {@link ListCidrCollectionsCommandInput} * @returns {@link ListCidrCollectionsCommandOutput} * @see {@link ListCidrCollectionsCommandInput} for command's `input` shape. * @see {@link ListCidrCollectionsCommandOutput} for command's `response` shape. * @see {@link Route53ClientResolvedConfig | config} for Route53Client's `config` shape. * * @throws {@link InvalidInput} (client fault) * <p>The input is not valid.</p> * * @throws {@link Route53ServiceException} * <p>Base exception class for all service exceptions from Route53 service.</p> * * * @public */ export declare class ListCidrCollectionsCommand extends ListCidrCollectionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListCidrCollectionsRequest; output: ListCidrCollectionsResponse; }; sdk: { input: ListCidrCollectionsCommandInput; output: ListCidrCollectionsCommandOutput; }; }; }