libZSservicesZSamazonka-opensearchZSamazonka-opensearch
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.OpenSearch.UpgradeDomain

Description

Allows you to either upgrade your domain or perform an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch.

Synopsis

Creating a Request

data UpgradeDomain Source #

Container for the request parameters to UpgradeDomain operation.

See: newUpgradeDomain smart constructor.

Constructors

UpgradeDomain' 

Fields

Instances

Instances details
Eq UpgradeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

Read UpgradeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

Show UpgradeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

Generic UpgradeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

Associated Types

type Rep UpgradeDomain :: Type -> Type #

NFData UpgradeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

Methods

rnf :: UpgradeDomain -> () #

Hashable UpgradeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

ToJSON UpgradeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

AWSRequest UpgradeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

Associated Types

type AWSResponse UpgradeDomain #

ToHeaders UpgradeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

ToPath UpgradeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

ToQuery UpgradeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

type Rep UpgradeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

type Rep UpgradeDomain = D1 ('MetaData "UpgradeDomain" "Amazonka.OpenSearch.UpgradeDomain" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "UpgradeDomain'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "performCheckOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "advancedOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "targetVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpgradeDomain Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

newUpgradeDomain Source #

Create a value of UpgradeDomain 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:performCheckOnly:UpgradeDomain', upgradeDomain_performCheckOnly - When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.

$sel:advancedOptions:UpgradeDomain', upgradeDomain_advancedOptions - Undocumented member.

$sel:domainName:UpgradeDomain', upgradeDomain_domainName - Undocumented member.

$sel:targetVersion:UpgradeDomain', upgradeDomain_targetVersion - The version of OpenSearch you intend to upgrade the domain to.

Request Lenses

upgradeDomain_performCheckOnly :: Lens' UpgradeDomain (Maybe Bool) Source #

When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.

upgradeDomain_targetVersion :: Lens' UpgradeDomain Text Source #

The version of OpenSearch you intend to upgrade the domain to.

Destructuring the Response

data UpgradeDomainResponse Source #

Container for response returned by UpgradeDomain operation.

See: newUpgradeDomainResponse smart constructor.

Constructors

UpgradeDomainResponse' 

Fields

Instances

Instances details
Eq UpgradeDomainResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

Read UpgradeDomainResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

Show UpgradeDomainResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

Generic UpgradeDomainResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

Associated Types

type Rep UpgradeDomainResponse :: Type -> Type #

NFData UpgradeDomainResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

Methods

rnf :: UpgradeDomainResponse -> () #

type Rep UpgradeDomainResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.UpgradeDomain

type Rep UpgradeDomainResponse = D1 ('MetaData "UpgradeDomainResponse" "Amazonka.OpenSearch.UpgradeDomain" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "UpgradeDomainResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "upgradeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "performCheckOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "targetVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "advancedOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newUpgradeDomainResponse Source #

Create a value of UpgradeDomainResponse 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:domainName:UpgradeDomain', upgradeDomainResponse_domainName - Undocumented member.

$sel:upgradeId:UpgradeDomainResponse', upgradeDomainResponse_upgradeId - Undocumented member.

$sel:performCheckOnly:UpgradeDomain', upgradeDomainResponse_performCheckOnly - When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.

$sel:targetVersion:UpgradeDomain', upgradeDomainResponse_targetVersion - The version of OpenSearch that you intend to upgrade the domain to.

$sel:advancedOptions:UpgradeDomain', upgradeDomainResponse_advancedOptions - Undocumented member.

$sel:httpStatus:UpgradeDomainResponse', upgradeDomainResponse_httpStatus - The response's http status code.

Response Lenses

upgradeDomainResponse_performCheckOnly :: Lens' UpgradeDomainResponse (Maybe Bool) Source #

When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.

upgradeDomainResponse_targetVersion :: Lens' UpgradeDomainResponse (Maybe Text) Source #

The version of OpenSearch that you intend to upgrade the domain to.