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

Updates the comment for a specified traffic policy version.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53Client, UpdateTrafficPolicyCommentCommand } from "@aws-sdk/client-route-53"; // ES Modules import * // const { Route53Client, UpdateTrafficPolicyCommentCommand } = 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 = { // UpdateTrafficPolicyCommentRequest * Id: "STRING_VALUE", // required * Version: Number("int"), // required * Comment: "STRING_VALUE", // required * }; * const command = new UpdateTrafficPolicyCommentCommand(input); * const response = await client.send(command); * // { // UpdateTrafficPolicyCommentResponse * // TrafficPolicy: { // TrafficPolicy * // Id: "STRING_VALUE", // required * // Version: Number("int"), // required * // Name: "STRING_VALUE", // required * // Type: "SOA" || "A" || "TXT" || "NS" || "CNAME" || "MX" || "NAPTR" || "PTR" || "SRV" || "SPF" || "AAAA" || "CAA" || "DS" || "TLSA" || "SSHFP" || "SVCB" || "HTTPS", // required * // Document: "STRING_VALUE", // required * // Comment: "STRING_VALUE", * // }, * // }; * * ``` * * @param UpdateTrafficPolicyCommentCommandInput - {@link UpdateTrafficPolicyCommentCommandInput} * @returns {@link UpdateTrafficPolicyCommentCommandOutput} * @see {@link UpdateTrafficPolicyCommentCommandInput} for command's `input` shape. * @see {@link UpdateTrafficPolicyCommentCommandOutput} for command's `response` shape. * @see {@link Route53ClientResolvedConfig | config} for Route53Client's `config` shape. * * @throws {@link ConcurrentModification} (client fault) *

Another user submitted a request to create, update, or delete the object at the same * time that you did. Retry the request.

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

The input is not valid.

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

No traffic policy exists with the specified ID.

* * @throws {@link Route53ServiceException} *

Base exception class for all service exceptions from Route53 service.

* * * @public */ export declare class UpdateTrafficPolicyCommentCommand extends UpdateTrafficPolicyCommentCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateTrafficPolicyCommentRequest; output: UpdateTrafficPolicyCommentResponse; }; sdk: { input: UpdateTrafficPolicyCommentCommandInput; output: UpdateTrafficPolicyCommentCommandOutput; }; }; }