Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@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 the privacy option is enabled, personal information such as postal or email address is hidden from the results of a public WHOIS query. The privacy services are provided by the AWS registrar, Gandi. For more information, see the Gandi privacy features .
This operation only affects the privacy of the specified contact type (registrant, administrator, or tech). Successful acceptance returns an operation ID that you can use with GetOperationDetail to track the progress and completion of the action. If the request is not completed 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 specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. Type: Boolean Default: None Valid values:true
|false
Required: NoudcpRegistrantPrivacy
- Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. Type: Boolean Default: None Valid values:true
|false
Required: NoudcpAdminPrivacy
- Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. Type: Boolean Default: None Valid values:true
|false
Required: NoudcpDomainName
- The name of a domain. Type: String Default: None Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported. Required: Yes
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 will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. Type: Boolean Default: None Valid values: true
| false
Required: No
udcpRegistrantPrivacy :: Lens' UpdateDomainContactPrivacy (Maybe Bool) Source #
Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. Type: Boolean Default: None Valid values: true
| false
Required: No
udcpAdminPrivacy :: Lens' UpdateDomainContactPrivacy (Maybe Bool) Source #
Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. Type: Boolean Default: None Valid values: true
| false
Required: No
udcpDomainName :: Lens' UpdateDomainContactPrivacy Text Source #
The name of a domain. Type: String Default: None Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported. Required: Yes
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. Type: String Default: None Constraints: Maximum 255 characters.
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. Type: String Default: None Constraints: Maximum 255 characters.