AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the RegisterDomain operation. This operation registers a domain. For some top-level domains (TLDs), this operation requires extra parameters.

When you register a domain, Amazon Route 53 does the following:

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Route53Domains.AmazonRoute53DomainsRequest
      Amazon.Route53Domains.Model.RegisterDomainRequest

Namespace: Amazon.Route53Domains.Model
Assembly: AWSSDK.Route53Domains.dll
Version: 3.x.y.z

Syntax

C#
public class RegisterDomainRequest : AmazonRoute53DomainsRequest
         IAmazonWebServiceRequest

The RegisterDomainRequest type exposes the following members

Constructors

NameDescription
Public Method RegisterDomainRequest()

Properties

NameTypeDescription
Public Property AdminContact Amazon.Route53Domains.Model.ContactDetail

Gets and sets the property AdminContact.

Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.

Public Property AutoRenew System.Boolean

Gets and sets the property AutoRenew.

Indicates whether the domain will be automatically renewed (true) or not (false). Auto renewal only takes effect after the account is charged.

Default: true

Public Property BillingContact Amazon.Route53Domains.Model.ContactDetail

Gets and sets the property BillingContact.

Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.

Public Property DomainName System.String

Gets and sets the property DomainName.

The domain name that you want to register. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

The domain name can contain only the following characters:

  • Letters a through z. Domain names are not case sensitive.

  • Numbers 0 through 9.

  • Hyphen (-). You can't specify a hyphen at the beginning or end of a label.

  • Period (.) to separate the labels in the name, such as the . in example.com.

Internationalized domain names are not supported for some top-level domains. To determine whether the TLD that you want to use supports internationalized domain names, see Domains that You Can Register with Amazon Route 53. For more information, see Formatting Internationalized Domain Names.

Public Property DurationInYears System.Int32

Gets and sets the property DurationInYears.

The number of years that you want to register the domain for. Domains are registered for a minimum of one year. The maximum period depends on the top-level domain. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

Default: 1

Public Property IdnLangCode System.String

Gets and sets the property IdnLangCode.

Reserved for future use.

Public Property PrivacyProtectAdminContact System.Boolean

Gets and sets the property PrivacyProtectAdminContact.

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 or for our registrar associate, Gandi. If you specify false, WHOIS queries return the information that you entered for the admin contact.

You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts.

Default: true

Public Property PrivacyProtectBillingContact System.Boolean

Gets and sets the property PrivacyProtectBillingContact.

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 or for our registrar associate, Gandi. If you specify false, WHOIS queries return the information that you entered for the billing contact.

You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts.

Public Property PrivacyProtectRegistrantContact System.Boolean

Gets and sets the property PrivacyProtectRegistrantContact.

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 or for our registrar associate, Gandi. If you specify false, WHOIS queries return the information that you entered for the registrant contact (the domain owner).

You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts.

Default: true

Public Property PrivacyProtectTechContact System.Boolean

Gets and sets the property PrivacyProtectTechContact.

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 or for our registrar associate, Gandi. If you specify false, WHOIS queries return the information that you entered for the technical contact.

You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts.

Default: true

Public Property RegistrantContact Amazon.Route53Domains.Model.ContactDetail

Gets and sets the property RegistrantContact.

Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.

Public Property TechContact Amazon.Route53Domains.Model.ContactDetail

Gets and sets the property TechContact.

Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5