import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateDomainContactPrivacyRequest, UpdateDomainContactPrivacyResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateDomainContactPrivacyCommand}. */ export interface UpdateDomainContactPrivacyCommandInput extends UpdateDomainContactPrivacyRequest { } /** * @public * * The output of {@link UpdateDomainContactPrivacyCommand}. */ export interface UpdateDomainContactPrivacyCommandOutput extends UpdateDomainContactPrivacyResponse, __MetadataBearer { } declare const UpdateDomainContactPrivacyCommand_base: { new (input: UpdateDomainContactPrivacyCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateDomainContactPrivacyCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

This operation updates the specified domain contact's privacy setting. When privacy * protection is enabled, your contact information is replaced with contact information for * the registrar or with the phrase "REDACTED FOR PRIVACY", or "On behalf of owner."

* *

While some domains may allow different privacy settings per contact, we recommend * specifying the same privacy setting for all contacts.

*
*

This operation affects only the contact information for the specified contact type * (administrative, registrant, or technical). If the request succeeds, Amazon Route 53 * returns an operation ID that you can use with GetOperationDetail to track the progress and completion of the action. If * the request doesn't complete successfully, the domain registrant will be notified by * email.

* *

By disabling the privacy service via API, you consent to the publication of the * contact information provided for this domain via the public WHOIS database. You * certify that you are the registrant of this domain name and have the authority to * make this decision. You may withdraw your consent at any time by enabling privacy * protection using either UpdateDomainContactPrivacy or the Route 53 * console. Enabling privacy protection removes the contact information provided for * this domain from the WHOIS database. For more information on our privacy practices, * see https://aws.amazon.com/privacy/.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53DomainsClient, UpdateDomainContactPrivacyCommand } from "@aws-sdk/client-route-53-domains"; // ES Modules import * // const { Route53DomainsClient, UpdateDomainContactPrivacyCommand } = require("@aws-sdk/client-route-53-domains"); // CommonJS import * // import type { Route53DomainsClientConfig } from "@aws-sdk/client-route-53-domains"; * const config = {}; // type is Route53DomainsClientConfig * const client = new Route53DomainsClient(config); * const input = { // UpdateDomainContactPrivacyRequest * DomainName: "STRING_VALUE", // required * AdminPrivacy: true || false, * RegistrantPrivacy: true || false, * TechPrivacy: true || false, * BillingPrivacy: true || false, * }; * const command = new UpdateDomainContactPrivacyCommand(input); * const response = await client.send(command); * // { // UpdateDomainContactPrivacyResponse * // OperationId: "STRING_VALUE", * // }; * * ``` * * @param UpdateDomainContactPrivacyCommandInput - {@link UpdateDomainContactPrivacyCommandInput} * @returns {@link UpdateDomainContactPrivacyCommandOutput} * @see {@link UpdateDomainContactPrivacyCommandInput} for command's `input` shape. * @see {@link UpdateDomainContactPrivacyCommandOutput} for command's `response` shape. * @see {@link Route53DomainsClientResolvedConfig | config} for Route53DomainsClient's `config` shape. * * @throws {@link DuplicateRequest} (client fault) *

The request is already in progress for the domain.

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

The requested item is not acceptable. For example, for APIs that accept a domain name, * the request might specify a domain name that doesn't belong to the account that * submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, the * password might be invalid.

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

The number of operations or jobs running exceeded the allowed threshold for the * account.

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

The top-level domain does not support this operation.

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

Amazon Route 53 does not support this top-level domain (TLD).

* * @throws {@link Route53DomainsServiceException} *

Base exception class for all service exceptions from Route53Domains service.

* * * @public */ export declare class UpdateDomainContactPrivacyCommand extends UpdateDomainContactPrivacyCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateDomainContactPrivacyRequest; output: UpdateDomainContactPrivacyResponse; }; sdk: { input: UpdateDomainContactPrivacyCommandInput; output: UpdateDomainContactPrivacyCommandOutput; }; }; }