Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
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.
ListDomainNamesResponse' | |
|
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.