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

Gets the specified limit for a specified hosted zone, for example, the maximum number * of records that you can create in the hosted zone.

*

For the default limit, see Limits in the * Amazon Route 53 Developer Guide. To request a higher limit, * open a case.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53Client, GetHostedZoneLimitCommand } from "@aws-sdk/client-route-53"; // ES Modules import * // const { Route53Client, GetHostedZoneLimitCommand } = 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 = { // GetHostedZoneLimitRequest * Type: "MAX_RRSETS_BY_ZONE" || "MAX_VPCS_ASSOCIATED_BY_ZONE", // required * HostedZoneId: "STRING_VALUE", // required * }; * const command = new GetHostedZoneLimitCommand(input); * const response = await client.send(command); * // { // GetHostedZoneLimitResponse * // Limit: { // HostedZoneLimit * // Type: "MAX_RRSETS_BY_ZONE" || "MAX_VPCS_ASSOCIATED_BY_ZONE", // required * // Value: Number("long"), // required * // }, * // Count: Number("long"), // required * // }; * * ``` * * @param GetHostedZoneLimitCommandInput - {@link GetHostedZoneLimitCommandInput} * @returns {@link GetHostedZoneLimitCommandOutput} * @see {@link GetHostedZoneLimitCommandInput} for command's `input` shape. * @see {@link GetHostedZoneLimitCommandOutput} for command's `response` shape. * @see {@link Route53ClientResolvedConfig | config} for Route53Client's `config` shape. * * @throws {@link HostedZoneNotPrivate} (client fault) *

The specified hosted zone is a public hosted zone, not a private hosted zone.

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

The input is not valid.

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

No hosted zone exists with the ID that you specified.

* * @throws {@link Route53ServiceException} *

Base exception class for all service exceptions from Route53 service.

* * * @public */ export declare class GetHostedZoneLimitCommand extends GetHostedZoneLimitCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetHostedZoneLimitRequest; output: GetHostedZoneLimitResponse; }; sdk: { input: GetHostedZoneLimitCommandInput; output: GetHostedZoneLimitCommandOutput; }; }; }