amazonka-opensearch-2.0: Amazon OpenSearch Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.OpenSearch.DescribeDomain

Description

Describes the domain configuration for the specified Amazon OpenSearch Service domain, including the domain ID, domain service endpoint, and domain ARN.

Synopsis

Creating a Request

data DescribeDomain Source #

Container for the parameters to the DescribeDomain operation.

See: newDescribeDomain smart constructor.

Constructors

DescribeDomain' 

Fields

  • domainName :: Text

    The name of the domain that you want information about.

Instances

Instances details
ToHeaders DescribeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeDomain

ToPath DescribeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeDomain

ToQuery DescribeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeDomain

AWSRequest DescribeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeDomain

Associated Types

type AWSResponse DescribeDomain #

Generic DescribeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeDomain

Associated Types

type Rep DescribeDomain :: Type -> Type #

Read DescribeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeDomain

Show DescribeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeDomain

NFData DescribeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeDomain

Methods

rnf :: DescribeDomain -> () #

Eq DescribeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeDomain

Hashable DescribeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeDomain

type AWSResponse DescribeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeDomain

type Rep DescribeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeDomain

type Rep DescribeDomain = D1 ('MetaData "DescribeDomain" "Amazonka.OpenSearch.DescribeDomain" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" 'False) (C1 ('MetaCons "DescribeDomain'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeDomain Source #

Create a value of DescribeDomain 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:

DescribeDomain, describeDomain_domainName - The name of the domain that you want information about.

Request Lenses

describeDomain_domainName :: Lens' DescribeDomain Text Source #

The name of the domain that you want information about.

Destructuring the Response

data DescribeDomainResponse Source #

Contains the status of the domain specified in the request.

See: newDescribeDomainResponse smart constructor.

Constructors

DescribeDomainResponse' 

Fields

Instances

Instances details
Generic DescribeDomainResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeDomain

Associated Types

type Rep DescribeDomainResponse :: Type -> Type #

Read DescribeDomainResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeDomain

Show DescribeDomainResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeDomain

NFData DescribeDomainResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeDomain

Methods

rnf :: DescribeDomainResponse -> () #

Eq DescribeDomainResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeDomain

type Rep DescribeDomainResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeDomain

type Rep DescribeDomainResponse = D1 ('MetaData "DescribeDomainResponse" "Amazonka.OpenSearch.DescribeDomain" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" 'False) (C1 ('MetaCons "DescribeDomainResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "domainStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DomainStatus)))

newDescribeDomainResponse Source #

Create a value of DescribeDomainResponse 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:httpStatus:DescribeDomainResponse', describeDomainResponse_httpStatus - The response's http status code.

$sel:domainStatus:DescribeDomainResponse', describeDomainResponse_domainStatus - List that contains the status of each specified OpenSearch Service domain.

Response Lenses

describeDomainResponse_domainStatus :: Lens' DescribeDomainResponse DomainStatus Source #

List that contains the status of each specified OpenSearch Service domain.