import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetHostedZoneCountRequest, GetHostedZoneCountResponse } from "../models/models_0"; import type { Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53Client"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetHostedZoneCountCommand}. */ export interface GetHostedZoneCountCommandInput extends GetHostedZoneCountRequest { } /** * @public * * The output of {@link GetHostedZoneCountCommand}. */ export interface GetHostedZoneCountCommandOutput extends GetHostedZoneCountResponse, __MetadataBearer { } declare const GetHostedZoneCountCommand_base: { new (input: GetHostedZoneCountCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [GetHostedZoneCountCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves the number of hosted zones that are associated with the current Amazon Web Services account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53Client, GetHostedZoneCountCommand } from "@aws-sdk/client-route-53"; // ES Modules import * // const { Route53Client, GetHostedZoneCountCommand } = 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 = {}; * const command = new GetHostedZoneCountCommand(input); * const response = await client.send(command); * // { // GetHostedZoneCountResponse * // HostedZoneCount: Number("long"), // required * // }; * * ``` * * @param GetHostedZoneCountCommandInput - {@link GetHostedZoneCountCommandInput} * @returns {@link GetHostedZoneCountCommandOutput} * @see {@link GetHostedZoneCountCommandInput} for command's `input` shape. * @see {@link GetHostedZoneCountCommandOutput} 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 Route53ServiceException} *

Base exception class for all service exceptions from Route53 service.

* * * @public */ export declare class GetHostedZoneCountCommand extends GetHostedZoneCountCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: {}; output: GetHostedZoneCountResponse; }; sdk: { input: GetHostedZoneCountCommandInput; output: GetHostedZoneCountCommandOutput; }; }; }