Struct aws_sdk_route53domains::input::GetDomainSuggestionsInput [−][src]
#[non_exhaustive]pub struct GetDomainSuggestionsInput {
pub domain_name: Option<String>,
pub suggestion_count: i32,
pub only_available: Option<bool>,
}
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>
A domain name that you want to use as the basis for a list of possible domain names. 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.
suggestion_count: i32
The number of suggested domain names that you want Route 53 to return. Specify a value between 1 and 50.
only_available: Option<bool>
If OnlyAvailable
is true
, Route 53 returns only domain names that are available.
If OnlyAvailable
is false
, Route 53 returns domain names without checking whether they're
available to be registered. To determine whether the domain is available, you can call checkDomainAvailability
for each suggestion.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetDomainSuggestions, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetDomainSuggestions, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetDomainSuggestions
>
Creates a new builder-style object to manufacture GetDomainSuggestionsInput
A domain name that you want to use as the basis for a list of possible domain names. 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.
The number of suggested domain names that you want Route 53 to return. Specify a value between 1 and 50.
If OnlyAvailable
is true
, Route 53 returns only domain names that are available.
If OnlyAvailable
is false
, Route 53 returns domain names without checking whether they're
available to be registered. To determine whether the domain is available, you can call checkDomainAvailability
for each suggestion.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetDomainSuggestionsInput
impl Send for GetDomainSuggestionsInput
impl Sync for GetDomainSuggestionsInput
impl Unpin for GetDomainSuggestionsInput
impl UnwindSafe for GetDomainSuggestionsInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more