pub struct GetDomainSuggestions<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to GetDomainSuggestions
.
The GetDomainSuggestions operation returns a list of suggested domain names.
Implementations
impl<C, M, R> GetDomainSuggestions<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetDomainSuggestions<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetDomainSuggestionsOutput, SdkError<GetDomainSuggestionsError>> where
R::Policy: SmithyRetryPolicy<GetDomainSuggestionsInputOperationOutputAlias, GetDomainSuggestionsOutput, GetDomainSuggestionsError, GetDomainSuggestionsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetDomainSuggestionsOutput, SdkError<GetDomainSuggestionsError>> where
R::Policy: SmithyRetryPolicy<GetDomainSuggestionsInputOperationOutputAlias, GetDomainSuggestionsOutput, GetDomainSuggestionsError, GetDomainSuggestionsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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.
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.
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.
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
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetDomainSuggestions<C, M, R>
impl<C, M, R> Send for GetDomainSuggestions<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for GetDomainSuggestions<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for GetDomainSuggestions<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetDomainSuggestions<C, M, R>
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