Struct aws_sdk_route53domains::operation::check_domain_availability::CheckDomainAvailabilityInput
source · #[non_exhaustive]pub struct CheckDomainAvailabilityInput {
pub domain_name: Option<String>,
pub idn_lang_code: Option<String>,
}
Expand description
The CheckDomainAvailability request contains 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 get availability for. 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.
Implementations§
source§impl CheckDomainAvailabilityInput
impl CheckDomainAvailabilityInput
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The name of the domain that you want to get availability for. 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.
source§impl CheckDomainAvailabilityInput
impl CheckDomainAvailabilityInput
sourcepub fn builder() -> CheckDomainAvailabilityInputBuilder
pub fn builder() -> CheckDomainAvailabilityInputBuilder
Creates a new builder-style object to manufacture CheckDomainAvailabilityInput
.
Trait Implementations§
source§impl Clone for CheckDomainAvailabilityInput
impl Clone for CheckDomainAvailabilityInput
source§fn clone(&self) -> CheckDomainAvailabilityInput
fn clone(&self) -> CheckDomainAvailabilityInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CheckDomainAvailabilityInput
impl Debug for CheckDomainAvailabilityInput
source§impl PartialEq for CheckDomainAvailabilityInput
impl PartialEq for CheckDomainAvailabilityInput
source§fn eq(&self, other: &CheckDomainAvailabilityInput) -> bool
fn eq(&self, other: &CheckDomainAvailabilityInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CheckDomainAvailabilityInput
Auto Trait Implementations§
impl Freeze for CheckDomainAvailabilityInput
impl RefUnwindSafe for CheckDomainAvailabilityInput
impl Send for CheckDomainAvailabilityInput
impl Sync for CheckDomainAvailabilityInput
impl Unpin for CheckDomainAvailabilityInput
impl UnwindSafe for CheckDomainAvailabilityInput
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