update_domain_contact_privacy
¶
update_domain_contact_privacy(
domain_name: DomainName,
*,
config_overrides: Optional[Route53DomainsClientConfig] = None,
admin_privacy: Optional[Boolean] = None,
registrant_privacy: Optional[Boolean] = None,
tech_privacy: Optional[Boolean] = None,
billing_privacy: Optional[Boolean] = None,
) -> UpdateDomainContactPrivacyResponse
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
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/.
Parameters:
-
domain_name(DomainName) –The name of the domain that you want to update the privacy setting for.
-
admin_privacy(Optional[Boolean], default:None) –Whether you want to conceal contact information from WHOIS queries. If you specify
true, WHOIS ("who is") queries return contact information either for Amazon Registrar or for our registrar associate, Gandi. If you specifyfalse, WHOIS queries return the information that you entered for the admin contact.You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts.
-
registrant_privacy(Optional[Boolean], default:None) –Whether you want to conceal contact information from WHOIS queries. If you specify
true, WHOIS ("who is") queries return contact information either for Amazon Registrar or for our registrar associate, Gandi. If you specifyfalse, WHOIS queries return the information that you entered for the registrant contact (domain owner).You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts.
-
tech_privacy(Optional[Boolean], default:None) –Whether you want to conceal contact information from WHOIS queries. If you specify
true, WHOIS ("who is") queries return contact information either for Amazon Registrar or for our registrar associate, Gandi. If you specifyfalse, WHOIS queries return the information that you entered for the technical contact.You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts.
-
billing_privacy(Optional[Boolean], default:None) –Whether you want to conceal contact information from WHOIS queries. If you specify
true, WHOIS ("who is") queries return contact information either for Amazon Registrar or for our registrar associate, Gandi. If you specifyfalse, WHOIS queries return the information that you entered for the billing contact.You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts.
Raises:
-
DuplicateRequest–The request is already in progress for the domain.
-
InvalidInput–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. -
OperationLimitExceeded–The number of operations or jobs running exceeded the allowed threshold for the account.
-
TLDRulesViolation–The top-level domain does not support this operation.
-
UnsupportedTLD–Amazon Route 53 does not support this top-level domain (TLD).
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_route_53_domains/_services/route53_domains.py
2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 | |