#[non_exhaustive]pub struct RegisterDomainInput {
pub domain_name: Option<String>,
pub idn_lang_code: Option<String>,
pub duration_in_years: Option<i32>,
pub auto_renew: Option<bool>,
pub admin_contact: Option<ContactDetail>,
pub registrant_contact: Option<ContactDetail>,
pub tech_contact: Option<ContactDetail>,
pub privacy_protect_admin_contact: Option<bool>,
pub privacy_protect_registrant_contact: Option<bool>,
pub privacy_protect_tech_contact: Option<bool>,
pub billing_contact: Option<ContactDetail>,
pub privacy_protect_billing_contact: Option<bool>,
}
Expand description
The RegisterDomain request includes the following elements.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.domain_name: Option<String>
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
.
inexample.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.
idn_lang_code: Option<String>
Reserved for future use.
duration_in_years: Option<i32>
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
auto_renew: Option<bool>
Indicates whether the domain will be automatically renewed (true
) or not (false
). Auto renewal only takes effect after the account is charged.
Default: true
admin_contact: Option<ContactDetail>
Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.
registrant_contact: Option<ContactDetail>
Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.
tech_contact: Option<ContactDetail>
Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.
privacy_protect_admin_contact: Option<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 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
privacy_protect_registrant_contact: Option<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 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
privacy_protect_tech_contact: Option<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 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
billing_contact: Option<ContactDetail>
Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.
privacy_protect_billing_contact: Option<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 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.
Implementations§
source§impl RegisterDomainInput
impl RegisterDomainInput
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
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
.
inexample.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.
sourcepub fn idn_lang_code(&self) -> Option<&str>
pub fn idn_lang_code(&self) -> Option<&str>
Reserved for future use.
sourcepub fn duration_in_years(&self) -> Option<i32>
pub fn duration_in_years(&self) -> Option<i32>
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
sourcepub fn auto_renew(&self) -> Option<bool>
pub fn auto_renew(&self) -> Option<bool>
Indicates whether the domain will be automatically renewed (true
) or not (false
). Auto renewal only takes effect after the account is charged.
Default: true
sourcepub fn admin_contact(&self) -> Option<&ContactDetail>
pub fn admin_contact(&self) -> Option<&ContactDetail>
Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.
sourcepub fn registrant_contact(&self) -> Option<&ContactDetail>
pub fn registrant_contact(&self) -> Option<&ContactDetail>
Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.
sourcepub fn tech_contact(&self) -> Option<&ContactDetail>
pub fn tech_contact(&self) -> Option<&ContactDetail>
Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.
sourcepub fn privacy_protect_admin_contact(&self) -> Option<bool>
pub fn privacy_protect_admin_contact(&self) -> Option<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 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
sourcepub fn privacy_protect_registrant_contact(&self) -> Option<bool>
pub fn privacy_protect_registrant_contact(&self) -> Option<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 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
sourcepub fn privacy_protect_tech_contact(&self) -> Option<bool>
pub fn privacy_protect_tech_contact(&self) -> Option<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 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
sourcepub fn billing_contact(&self) -> Option<&ContactDetail>
pub fn billing_contact(&self) -> Option<&ContactDetail>
Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.
sourcepub fn privacy_protect_billing_contact(&self) -> Option<bool>
pub fn privacy_protect_billing_contact(&self) -> Option<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 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.
source§impl RegisterDomainInput
impl RegisterDomainInput
sourcepub fn builder() -> RegisterDomainInputBuilder
pub fn builder() -> RegisterDomainInputBuilder
Creates a new builder-style object to manufacture RegisterDomainInput
.
Trait Implementations§
source§impl Clone for RegisterDomainInput
impl Clone for RegisterDomainInput
source§fn clone(&self) -> RegisterDomainInput
fn clone(&self) -> RegisterDomainInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RegisterDomainInput
impl Debug for RegisterDomainInput
source§impl PartialEq for RegisterDomainInput
impl PartialEq for RegisterDomainInput
source§fn eq(&self, other: &RegisterDomainInput) -> bool
fn eq(&self, other: &RegisterDomainInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RegisterDomainInput
Auto Trait Implementations§
impl Freeze for RegisterDomainInput
impl RefUnwindSafe for RegisterDomainInput
impl Send for RegisterDomainInput
impl Sync for RegisterDomainInput
impl Unpin for RegisterDomainInput
impl UnwindSafe for RegisterDomainInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more