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 |
Returns the name of all Elasticsearch domains owned by the current user's account.
Synopsis
- data ListDomainNames = ListDomainNames' {}
- newListDomainNames :: ListDomainNames
- listDomainNames_engineType :: Lens' ListDomainNames (Maybe EngineType)
- data ListDomainNamesResponse = ListDomainNamesResponse' {
- domainNames :: Maybe [DomainInfo]
- httpStatus :: Int
- newListDomainNamesResponse :: Int -> ListDomainNamesResponse
- listDomainNamesResponse_domainNames :: Lens' ListDomainNamesResponse (Maybe [DomainInfo])
- listDomainNamesResponse_httpStatus :: Lens' ListDomainNamesResponse Int
Creating a Request
data ListDomainNames Source #
Container for the parameters to the ListDomainNames
operation.
See: newListDomainNames
smart constructor.
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.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:engineType:ListDomainNames'
, listDomainNames_engineType
- Optional parameter to filter the output by domain engine type.
Acceptable values are 'Elasticsearch' and 'OpenSearch'.
Request Lenses
listDomainNames_engineType :: Lens' ListDomainNames (Maybe EngineType) Source #
Optional parameter to filter the output by domain engine type. Acceptable values are 'Elasticsearch' and 'OpenSearch'.
Destructuring the Response
data ListDomainNamesResponse Source #
The result of a ListDomainNames
operation. Contains the names of all
domains owned by this account and their respective engine types.
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
- List of domain names and respective engine types.
$sel:httpStatus:ListDomainNamesResponse'
, listDomainNamesResponse_httpStatus
- The response's http status code.
Response Lenses
listDomainNamesResponse_domainNames :: Lens' ListDomainNamesResponse (Maybe [DomainInfo]) Source #
List of domain names and respective engine types.
listDomainNamesResponse_httpStatus :: Lens' ListDomainNamesResponse Int Source #
The response's http status code.