| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudSearch.ListDomainNames
Description
Lists all search domains owned by an account.
Synopsis
- data ListDomainNames = ListDomainNames' {
- newListDomainNames :: ListDomainNames
- data ListDomainNamesResponse = ListDomainNamesResponse' {
- domainNames :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newListDomainNamesResponse :: Int -> ListDomainNamesResponse
- listDomainNamesResponse_domainNames :: Lens' ListDomainNamesResponse (Maybe (HashMap Text Text))
- listDomainNamesResponse_httpStatus :: Lens' ListDomainNamesResponse Int
Creating a Request
data ListDomainNames Source #
See: newListDomainNames smart constructor.
Constructors
| ListDomainNames' | |
Instances
newListDomainNames :: ListDomainNames Source #
Create a value of ListDomainNames with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data ListDomainNamesResponse Source #
The result of a ListDomainNames request. Contains a list of the
domains owned by an account.
See: newListDomainNamesResponse smart constructor.
Constructors
| ListDomainNamesResponse' | |
Fields
| |
Instances
newListDomainNamesResponse Source #
Create a value of ListDomainNamesResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domainNames:ListDomainNamesResponse', listDomainNamesResponse_domainNames - The names of the search domains owned by an account.
$sel:httpStatus:ListDomainNamesResponse', listDomainNamesResponse_httpStatus - The response's http status code.
Response Lenses
listDomainNamesResponse_domainNames :: Lens' ListDomainNamesResponse (Maybe (HashMap Text Text)) Source #
The names of the search domains owned by an account.
listDomainNamesResponse_httpStatus :: Lens' ListDomainNamesResponse Int Source #
The response's http status code.