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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 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.

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

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 # 
ToQuery UpdateDomainContactPrivacy # 
ToPath UpdateDomainContactPrivacy # 
ToHeaders UpdateDomainContactPrivacy # 
type Rep UpdateDomainContactPrivacy # 
type Rep UpdateDomainContactPrivacy = D1 (MetaData "UpdateDomainContactPrivacy" "Network.AWS.Route53Domains.UpdateDomainContactPrivacy" "amazonka-route53-domains-1.4.5-6DkjyS06xBH5RIxQNY8K9j" 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 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) #

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

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 #

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 #

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 #

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.4.5-6DkjyS06xBH5RIxQNY8K9j" False) (C1 (MetaCons "UpdateDomainContactPrivacyResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_udcprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (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. Type: String Default: None Constraints: Maximum 255 characters.