| 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.ElasticSearch.ListDomainNames
Description
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.
Constructors
| ListDomainNames' | |
Fields
| |
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:
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.
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 - 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.