You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Route53Domains::Types::UpdateDomainContactPrivacyRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb

Overview

Note:

When making an API call, you may pass UpdateDomainContactPrivacyRequest data as a hash:

{
  domain_name: "DomainName", # required
  admin_privacy: false,
  registrant_privacy: false,
  tech_privacy: false,
}

The UpdateDomainContactPrivacy request includes the following elements.

Instance Attribute Summary collapse

Instance Attribute Details

#admin_privacyBoolean

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.

Returns:

  • (Boolean)


1806
1807
1808
1809
1810
1811
1812
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1806

class UpdateDomainContactPrivacyRequest < Struct.new(
  :domain_name,
  :admin_privacy,
  :registrant_privacy,
  :tech_privacy)
  include Aws::Structure
end

#domain_nameString

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

Returns:

  • (String)


1806
1807
1808
1809
1810
1811
1812
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1806

class UpdateDomainContactPrivacyRequest < Struct.new(
  :domain_name,
  :admin_privacy,
  :registrant_privacy,
  :tech_privacy)
  include Aws::Structure
end

#registrant_privacyBoolean

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

Returns:

  • (Boolean)


1806
1807
1808
1809
1810
1811
1812
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1806

class UpdateDomainContactPrivacyRequest < Struct.new(
  :domain_name,
  :admin_privacy,
  :registrant_privacy,
  :tech_privacy)
  include Aws::Structure
end

#tech_privacyBoolean

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.

Returns:

  • (Boolean)


1806
1807
1808
1809
1810
1811
1812
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1806

class UpdateDomainContactPrivacyRequest < Struct.new(
  :domain_name,
  :admin_privacy,
  :registrant_privacy,
  :tech_privacy)
  include Aws::Structure
end