amazonka-route53-domains-1.6.0: Amazon Route 53 Domains SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53Domains.UpdateDomainContactPrivacy

Contents

Description

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.

Synopsis

Creating a Request

updateDomainContactPrivacy #

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 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 - 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 - 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 - The name of the domain that you want to update the privacy setting for.

data UpdateDomainContactPrivacy #

The UpdateDomainContactPrivacy request includes the following elements.

See: updateDomainContactPrivacy smart constructor.

Instances

Eq UpdateDomainContactPrivacy # 
Data UpdateDomainContactPrivacy # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateDomainContactPrivacy -> c UpdateDomainContactPrivacy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateDomainContactPrivacy #

toConstr :: UpdateDomainContactPrivacy -> Constr #

dataTypeOf :: UpdateDomainContactPrivacy -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateDomainContactPrivacy) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateDomainContactPrivacy) #

gmapT :: (forall b. Data b => b -> b) -> UpdateDomainContactPrivacy -> UpdateDomainContactPrivacy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateDomainContactPrivacy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateDomainContactPrivacy -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateDomainContactPrivacy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateDomainContactPrivacy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateDomainContactPrivacy -> m UpdateDomainContactPrivacy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateDomainContactPrivacy -> m UpdateDomainContactPrivacy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateDomainContactPrivacy -> m UpdateDomainContactPrivacy #

Read UpdateDomainContactPrivacy # 
Show UpdateDomainContactPrivacy # 
Generic UpdateDomainContactPrivacy # 
Hashable UpdateDomainContactPrivacy # 
ToJSON UpdateDomainContactPrivacy # 
NFData UpdateDomainContactPrivacy # 
AWSRequest UpdateDomainContactPrivacy # 
ToHeaders UpdateDomainContactPrivacy # 
ToPath UpdateDomainContactPrivacy # 
ToQuery UpdateDomainContactPrivacy # 
type Rep UpdateDomainContactPrivacy # 
type Rep UpdateDomainContactPrivacy = D1 * (MetaData "UpdateDomainContactPrivacy" "Network.AWS.Route53Domains.UpdateDomainContactPrivacy" "amazonka-route53-domains-1.6.0-B5QWq1ndTGTHKssuUP1blk" False) (C1 * (MetaCons "UpdateDomainContactPrivacy'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_udcpTechPrivacy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_udcpRegistrantPrivacy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_udcpAdminPrivacy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_udcpDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs UpdateDomainContactPrivacy # 

Request Lenses

udcpTechPrivacy :: Lens' UpdateDomainContactPrivacy (Maybe Bool) #

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) #

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) #

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 #

The name of the domain that you want to update the privacy setting for.

Destructuring the Response

updateDomainContactPrivacyResponse #

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 #

The UpdateDomainContactPrivacy response includes the following element.

See: updateDomainContactPrivacyResponse smart constructor.

Instances

Eq UpdateDomainContactPrivacyResponse # 
Data UpdateDomainContactPrivacyResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateDomainContactPrivacyResponse -> c UpdateDomainContactPrivacyResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateDomainContactPrivacyResponse #

toConstr :: UpdateDomainContactPrivacyResponse -> Constr #

dataTypeOf :: UpdateDomainContactPrivacyResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateDomainContactPrivacyResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateDomainContactPrivacyResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateDomainContactPrivacyResponse -> UpdateDomainContactPrivacyResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateDomainContactPrivacyResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateDomainContactPrivacyResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateDomainContactPrivacyResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateDomainContactPrivacyResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateDomainContactPrivacyResponse -> m UpdateDomainContactPrivacyResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateDomainContactPrivacyResponse -> m UpdateDomainContactPrivacyResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateDomainContactPrivacyResponse -> m UpdateDomainContactPrivacyResponse #

Read UpdateDomainContactPrivacyResponse # 
Show UpdateDomainContactPrivacyResponse # 
Generic UpdateDomainContactPrivacyResponse # 
NFData UpdateDomainContactPrivacyResponse # 
type Rep UpdateDomainContactPrivacyResponse # 
type Rep UpdateDomainContactPrivacyResponse = D1 * (MetaData "UpdateDomainContactPrivacyResponse" "Network.AWS.Route53Domains.UpdateDomainContactPrivacy" "amazonka-route53-domains-1.6.0-B5QWq1ndTGTHKssuUP1blk" False) (C1 * (MetaCons "UpdateDomainContactPrivacyResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_udcprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_udcprsOperationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))

Response Lenses

udcprsOperationId :: Lens' UpdateDomainContactPrivacyResponse Text #

Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail.