#[non_exhaustive]pub struct TransferDomainInput {Show 14 fields
pub domain_name: Option<String>,
pub idn_lang_code: Option<String>,
pub duration_in_years: Option<i32>,
pub nameservers: Option<Vec<Nameserver>>,
pub auth_code: Option<String>,
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 TransferDomain 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 name of the domain that you want to transfer to Route 53. 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
.
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.
Default: 1
nameservers: Option<Vec<Nameserver>>
Contains details for the host and glue IP addresses.
auth_code: Option<String>
The authorization code for the domain. You get this value from the current registrar.
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.
registrant_contact: Option<ContactDetail>
Provides detailed contact information.
tech_contact: Option<ContactDetail>
Provides detailed contact information.
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 for the registrar, the phrase "REDACTED FOR PRIVACY", or "On behalf of
While some domains may allow different privacy settings per contact, we recommend specifying the same privacy setting for all 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 (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.
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 TransferDomainInput
impl TransferDomainInput
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The name of the domain that you want to transfer to Route 53. 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
.
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.
Default: 1
sourcepub fn nameservers(&self) -> &[Nameserver]
pub fn nameservers(&self) -> &[Nameserver]
Contains details for the host and glue IP addresses.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .nameservers.is_none()
.
sourcepub fn auth_code(&self) -> Option<&str>
pub fn auth_code(&self) -> Option<&str>
The authorization code for the domain. You get this value from the current registrar.
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.
sourcepub fn registrant_contact(&self) -> Option<&ContactDetail>
pub fn registrant_contact(&self) -> Option<&ContactDetail>
Provides detailed contact information.
sourcepub fn tech_contact(&self) -> Option<&ContactDetail>
pub fn tech_contact(&self) -> Option<&ContactDetail>
Provides detailed contact information.
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 for the registrar, the phrase "REDACTED FOR PRIVACY", or "On behalf of
While some domains may allow different privacy settings per contact, we recommend specifying the same privacy setting for all 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 (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.
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 TransferDomainInput
impl TransferDomainInput
sourcepub fn builder() -> TransferDomainInputBuilder
pub fn builder() -> TransferDomainInputBuilder
Creates a new builder-style object to manufacture TransferDomainInput
.
Trait Implementations§
source§impl Clone for TransferDomainInput
impl Clone for TransferDomainInput
source§fn clone(&self) -> TransferDomainInput
fn clone(&self) -> TransferDomainInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TransferDomainInput
impl Debug for TransferDomainInput
source§impl PartialEq for TransferDomainInput
impl PartialEq for TransferDomainInput
source§fn eq(&self, other: &TransferDomainInput) -> bool
fn eq(&self, other: &TransferDomainInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransferDomainInput
Auto Trait Implementations§
impl Freeze for TransferDomainInput
impl RefUnwindSafe for TransferDomainInput
impl Send for TransferDomainInput
impl Sync for TransferDomainInput
impl Unpin for TransferDomainInput
impl UnwindSafe for TransferDomainInput
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