Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.Route53Domains.GetDomainSuggestions
Description
The GetDomainSuggestions operation returns a list of suggested domain names given a string, which can either be a domain name or simply a word or phrase (without spaces).
Parameters: * DomainName (string): The basis for your domain suggestion search, a string with (or without) top-level domain specified. * SuggestionCount (int): The number of domain suggestions to be returned, maximum 50, minimum 1. * OnlyAvailable (bool): If true, availability check will be performed on suggestion results, and only available domains will be returned. If false, suggestions will be returned without checking whether the domain is actually available, and caller will have to call checkDomainAvailability for each suggestion to determine availability for registration.
- getDomainSuggestions :: Text -> Int -> Bool -> GetDomainSuggestions
- data GetDomainSuggestions
- gdsDomainName :: Lens' GetDomainSuggestions Text
- gdsSuggestionCount :: Lens' GetDomainSuggestions Int
- gdsOnlyAvailable :: Lens' GetDomainSuggestions Bool
- getDomainSuggestionsResponse :: Int -> GetDomainSuggestionsResponse
- data GetDomainSuggestionsResponse
- gdsrsSuggestionsList :: Lens' GetDomainSuggestionsResponse [DomainSuggestion]
- gdsrsResponseStatus :: Lens' GetDomainSuggestionsResponse Int
Creating a Request
Arguments
:: Text | |
-> Int | |
-> Bool | |
-> GetDomainSuggestions |
Creates a value of GetDomainSuggestions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdsDomainName
- Undocumented member.gdsSuggestionCount
- Undocumented member.gdsOnlyAvailable
- Undocumented member.
data GetDomainSuggestions #
See: getDomainSuggestions
smart constructor.
Instances
Request Lenses
gdsDomainName :: Lens' GetDomainSuggestions Text #
Undocumented member.
gdsSuggestionCount :: Lens' GetDomainSuggestions Int #
Undocumented member.
gdsOnlyAvailable :: Lens' GetDomainSuggestions Bool #
Undocumented member.
Destructuring the Response
getDomainSuggestionsResponse #
Arguments
:: Int | |
-> GetDomainSuggestionsResponse |
Creates a value of GetDomainSuggestionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdsrsSuggestionsList
- Undocumented member.gdsrsResponseStatus
- -- | The response status code.
data GetDomainSuggestionsResponse #
See: getDomainSuggestionsResponse
smart constructor.
Response Lenses
gdsrsSuggestionsList :: Lens' GetDomainSuggestionsResponse [DomainSuggestion] #
Undocumented member.
gdsrsResponseStatus :: Lens' GetDomainSuggestionsResponse Int #
- - | The response status code.