AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

UpdateDomainContactPrivacyInput

import "github.com/aws/aws-sdk-go/service/route53domains"

type UpdateDomainContactPrivacyInput struct { AdminPrivacy *bool `type:"boolean"` DomainName *string `type:"string" required:"true"` RegistrantPrivacy *bool `type:"boolean"` TechPrivacy *bool `type:"boolean"` }

The UpdateDomainContactPrivacy request includes the following elements.

AdminPrivacy

Type: *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.

DomainName

Type: *string

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

DomainName is a required field

RegistrantPrivacy

Type: *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).

TechPrivacy

Type: *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.

Method

GoString

func (s UpdateDomainContactPrivacyInput) GoString() string

GoString returns the string representation

SetAdminPrivacy

func (s *UpdateDomainContactPrivacyInput) SetAdminPrivacy(v bool) *UpdateDomainContactPrivacyInput

SetAdminPrivacy sets the AdminPrivacy field's value.

SetDomainName

func (s *UpdateDomainContactPrivacyInput) SetDomainName(v string) *UpdateDomainContactPrivacyInput

SetDomainName sets the DomainName field's value.

SetRegistrantPrivacy

func (s *UpdateDomainContactPrivacyInput) SetRegistrantPrivacy(v bool) *UpdateDomainContactPrivacyInput

SetRegistrantPrivacy sets the RegistrantPrivacy field's value.

SetTechPrivacy

func (s *UpdateDomainContactPrivacyInput) SetTechPrivacy(v bool) *UpdateDomainContactPrivacyInput

SetTechPrivacy sets the TechPrivacy field's value.

String

func (s UpdateDomainContactPrivacyInput) String() string

String returns the string representation

Validate

func (s *UpdateDomainContactPrivacyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: