Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
This operation updates the specified domain contact's privacy setting. When privacy protection is enabled, contact information such as email address is replaced either with contact information for Amazon Registrar (for .com, .net, and .org domains) or with contact information for our registrar associate, Gandi.
This operation affects only the contact information for the specified contact type (registrant, administrator, or tech). 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.
- updateDomainContactPrivacy :: Text -> UpdateDomainContactPrivacy
- data UpdateDomainContactPrivacy
- udcpTechPrivacy :: Lens' UpdateDomainContactPrivacy (Maybe Bool)
- udcpRegistrantPrivacy :: Lens' UpdateDomainContactPrivacy (Maybe Bool)
- udcpAdminPrivacy :: Lens' UpdateDomainContactPrivacy (Maybe Bool)
- udcpDomainName :: Lens' UpdateDomainContactPrivacy Text
- updateDomainContactPrivacyResponse :: Int -> Text -> UpdateDomainContactPrivacyResponse
- data UpdateDomainContactPrivacyResponse
- udcprsResponseStatus :: Lens' UpdateDomainContactPrivacyResponse Int
- udcprsOperationId :: Lens' UpdateDomainContactPrivacyResponse Text
Creating a Request
updateDomainContactPrivacy Source #
Creates a value of UpdateDomainContactPrivacy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udcpTechPrivacy
- Whether you want to conceal contact information from WHOIS queries. If you specifytrue
, WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specifyfalse
, WHOIS queries return the information that you entered for the technical contact.udcpRegistrantPrivacy
- Whether you want to conceal contact information from WHOIS queries. If you specifytrue
, WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specifyfalse
, WHOIS queries return the information that you entered for the registrant contact (domain owner).udcpAdminPrivacy
- Whether you want to conceal contact information from WHOIS queries. If you specifytrue
, WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specifyfalse
, WHOIS queries return the information that you entered for the admin contact.udcpDomainName
- The name of the domain that you want to update the privacy setting for.
data UpdateDomainContactPrivacy Source #
The UpdateDomainContactPrivacy request includes the following elements.
See: updateDomainContactPrivacy
smart constructor.
Request Lenses
udcpTechPrivacy :: Lens' UpdateDomainContactPrivacy (Maybe Bool) Source #
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 (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false
, WHOIS queries return the information that you entered for the technical contact.
udcpRegistrantPrivacy :: Lens' UpdateDomainContactPrivacy (Maybe Bool) Source #
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 (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false
, WHOIS queries return the information that you entered for the registrant contact (domain owner).
udcpAdminPrivacy :: Lens' UpdateDomainContactPrivacy (Maybe Bool) Source #
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 (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false
, WHOIS queries return the information that you entered for the admin contact.
udcpDomainName :: Lens' UpdateDomainContactPrivacy Text Source #
The name of the domain that you want to update the privacy setting for.
Destructuring the Response
updateDomainContactPrivacyResponse Source #
Creates a value of UpdateDomainContactPrivacyResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udcprsResponseStatus
- -- | The response status code.udcprsOperationId
- Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail.
data UpdateDomainContactPrivacyResponse Source #
The UpdateDomainContactPrivacy response includes the following element.
See: updateDomainContactPrivacyResponse
smart constructor.
Response Lenses
udcprsResponseStatus :: Lens' UpdateDomainContactPrivacyResponse Int Source #
- - | The response status code.
udcprsOperationId :: Lens' UpdateDomainContactPrivacyResponse Text Source #
Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail.