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.GetCompatibleVersions

Description

Returns a map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.

Synopsis

Creating a Request

data GetCompatibleVersions Source #

Container for the request parameters to GetCompatibleVersions operation.

See: newGetCompatibleVersions smart constructor.

Constructors

GetCompatibleVersions' 

Fields

  • domainName :: Maybe Text

    The name of an existing domain. Provide this parameter to limit the results to a single domain.

Instances

Instances details
ToHeaders GetCompatibleVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.GetCompatibleVersions

ToPath GetCompatibleVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.GetCompatibleVersions

ToQuery GetCompatibleVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.GetCompatibleVersions

AWSRequest GetCompatibleVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.GetCompatibleVersions

Associated Types

type AWSResponse GetCompatibleVersions #

Generic GetCompatibleVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.GetCompatibleVersions

Associated Types

type Rep GetCompatibleVersions :: Type -> Type #

Read GetCompatibleVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.GetCompatibleVersions

Show GetCompatibleVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.GetCompatibleVersions

NFData GetCompatibleVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.GetCompatibleVersions

Methods

rnf :: GetCompatibleVersions -> () #

Eq GetCompatibleVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.GetCompatibleVersions

Hashable GetCompatibleVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.GetCompatibleVersions

type AWSResponse GetCompatibleVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.GetCompatibleVersions

type Rep GetCompatibleVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.GetCompatibleVersions

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

newGetCompatibleVersions :: GetCompatibleVersions Source #

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

GetCompatibleVersions, getCompatibleVersions_domainName - The name of an existing domain. Provide this parameter to limit the results to a single domain.

Request Lenses

getCompatibleVersions_domainName :: Lens' GetCompatibleVersions (Maybe Text) Source #

The name of an existing domain. Provide this parameter to limit the results to a single domain.

Destructuring the Response

data GetCompatibleVersionsResponse Source #

Container for the response returned by the GetCompatibleVersions operation.

See: newGetCompatibleVersionsResponse smart constructor.

Constructors

GetCompatibleVersionsResponse' 

Fields

Instances

Instances details
Generic GetCompatibleVersionsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.GetCompatibleVersions

Associated Types

type Rep GetCompatibleVersionsResponse :: Type -> Type #

Read GetCompatibleVersionsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.GetCompatibleVersions

Show GetCompatibleVersionsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.GetCompatibleVersions

NFData GetCompatibleVersionsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.GetCompatibleVersions

Eq GetCompatibleVersionsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.GetCompatibleVersions

type Rep GetCompatibleVersionsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.GetCompatibleVersions

type Rep GetCompatibleVersionsResponse = D1 ('MetaData "GetCompatibleVersionsResponse" "Amazonka.OpenSearch.GetCompatibleVersions" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" 'False) (C1 ('MetaCons "GetCompatibleVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "compatibleVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CompatibleVersionsMap])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetCompatibleVersionsResponse Source #

Create a value of GetCompatibleVersionsResponse 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:compatibleVersions:GetCompatibleVersionsResponse', getCompatibleVersionsResponse_compatibleVersions - A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.

$sel:httpStatus:GetCompatibleVersionsResponse', getCompatibleVersionsResponse_httpStatus - The response's http status code.

Response Lenses

getCompatibleVersionsResponse_compatibleVersions :: Lens' GetCompatibleVersionsResponse (Maybe [CompatibleVersionsMap]) Source #

A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.