libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElasticSearch.ListDomainNames

Description

Returns the name of all Elasticsearch domains owned by the current user's account.

Synopsis

Creating a Request

data ListDomainNames Source #

Container for the parameters to the ListDomainNames operation.

See: newListDomainNames smart constructor.

Constructors

ListDomainNames' 

Fields

  • engineType :: Maybe EngineType

    Optional parameter to filter the output by domain engine type. Acceptable values are 'Elasticsearch' and 'OpenSearch'.

Instances

Instances details
Eq ListDomainNames Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListDomainNames

Read ListDomainNames Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListDomainNames

Show ListDomainNames Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListDomainNames

Generic ListDomainNames Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListDomainNames

Associated Types

type Rep ListDomainNames :: Type -> Type #

NFData ListDomainNames Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListDomainNames

Methods

rnf :: ListDomainNames -> () #

Hashable ListDomainNames Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListDomainNames

AWSRequest ListDomainNames Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListDomainNames

Associated Types

type AWSResponse ListDomainNames #

ToHeaders ListDomainNames Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListDomainNames

ToPath ListDomainNames Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListDomainNames

ToQuery ListDomainNames Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListDomainNames

type Rep ListDomainNames Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListDomainNames

type Rep ListDomainNames = D1 ('MetaData "ListDomainNames" "Amazonka.ElasticSearch.ListDomainNames" "libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch" 'False) (C1 ('MetaCons "ListDomainNames'" 'PrefixI 'True) (S1 ('MetaSel ('Just "engineType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EngineType))))
type AWSResponse ListDomainNames Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListDomainNames

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.

Constructors

ListDomainNamesResponse' 

Fields

Instances

Instances details
Eq ListDomainNamesResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListDomainNames

Read ListDomainNamesResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListDomainNames

Show ListDomainNamesResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListDomainNames

Generic ListDomainNamesResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListDomainNames

Associated Types

type Rep ListDomainNamesResponse :: Type -> Type #

NFData ListDomainNamesResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListDomainNames

Methods

rnf :: ListDomainNamesResponse -> () #

type Rep ListDomainNamesResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListDomainNames

type Rep ListDomainNamesResponse = D1 ('MetaData "ListDomainNamesResponse" "Amazonka.ElasticSearch.ListDomainNames" "libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch" 'False) (C1 ('MetaCons "ListDomainNamesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DomainInfo])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.