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

Updates the comment for a specified hosted zone.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53Client, UpdateHostedZoneCommentCommand } from "@aws-sdk/client-route-53"; // ES Modules import * // const { Route53Client, UpdateHostedZoneCommentCommand } = 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 = { // UpdateHostedZoneCommentRequest * Id: "STRING_VALUE", // required * Comment: "STRING_VALUE", * }; * const command = new UpdateHostedZoneCommentCommand(input); * const response = await client.send(command); * // { // UpdateHostedZoneCommentResponse * // HostedZone: { // HostedZone * // Id: "STRING_VALUE", // required * // Name: "STRING_VALUE", // required * // CallerReference: "STRING_VALUE", // required * // Config: { // HostedZoneConfig * // Comment: "STRING_VALUE", * // PrivateZone: true || false, * // }, * // ResourceRecordSetCount: Number("long"), * // LinkedService: { // LinkedService * // ServicePrincipal: "STRING_VALUE", * // Description: "STRING_VALUE", * // }, * // Features: { // HostedZoneFeatures * // AcceleratedRecoveryStatus: "ENABLING" || "ENABLE_FAILED" || "ENABLING_HOSTED_ZONE_LOCKED" || "ENABLED" || "DISABLING" || "DISABLE_FAILED" || "DISABLED" || "DISABLING_HOSTED_ZONE_LOCKED", * // FailureReasons: { // HostedZoneFailureReasons * // AcceleratedRecovery: "STRING_VALUE", * // }, * // }, * // }, * // }; * * ``` * * @param UpdateHostedZoneCommentCommandInput - {@link UpdateHostedZoneCommentCommandInput} * @returns {@link UpdateHostedZoneCommentCommandOutput} * @see {@link UpdateHostedZoneCommentCommandInput} for command's `input` shape. * @see {@link UpdateHostedZoneCommentCommandOutput} 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 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 UpdateHostedZoneCommentCommand extends UpdateHostedZoneCommentCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateHostedZoneCommentRequest; output: UpdateHostedZoneCommentResponse; }; sdk: { input: UpdateHostedZoneCommentCommandInput; output: UpdateHostedZoneCommentCommandOutput; }; }; }