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

Updates the features configuration for a hosted zone. This operation allows you to enable or disable specific features for your hosted zone, such as accelerated recovery.

*

Accelerated recovery enables you to update DNS records in your public hosted zone even when the us-east-1 region is unavailable.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53Client, UpdateHostedZoneFeaturesCommand } from "@aws-sdk/client-route-53"; // ES Modules import * // const { Route53Client, UpdateHostedZoneFeaturesCommand } = 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 = { // UpdateHostedZoneFeaturesRequest * HostedZoneId: "STRING_VALUE", // required * EnableAcceleratedRecovery: true || false, * }; * const command = new UpdateHostedZoneFeaturesCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateHostedZoneFeaturesCommandInput - {@link UpdateHostedZoneFeaturesCommandInput} * @returns {@link UpdateHostedZoneFeaturesCommandOutput} * @see {@link UpdateHostedZoneFeaturesCommandInput} for command's `input` shape. * @see {@link UpdateHostedZoneFeaturesCommandOutput} 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 LimitsExceeded} (client fault) *

This operation can't be completed because the current account has reached the * limit on the resource you are trying to create. To request a higher limit, create a case with the Amazon Web Services Support * Center.

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

No hosted zone exists with the ID that you specified.

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

If Amazon Route 53 can't process a request before the next request arrives, it will * reject subsequent requests for the same hosted zone and return an HTTP 400 * error (Bad request). If Route 53 returns this error repeatedly * for the same request, we recommend that you wait, in intervals of increasing duration, * before you try the request again.

* * @throws {@link Route53ServiceException} *

Base exception class for all service exceptions from Route53 service.

* * * @public */ export declare class UpdateHostedZoneFeaturesCommand extends UpdateHostedZoneFeaturesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateHostedZoneFeaturesRequest; output: {}; }; sdk: { input: UpdateHostedZoneFeaturesCommandInput; output: UpdateHostedZoneFeaturesCommandOutput; }; }; }