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

Description

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

Synopsis

Creating a Request

data UpgradeElasticsearchDomain Source #

Container for request parameters to UpgradeElasticsearchDomain operation.

See: newUpgradeElasticsearchDomain smart constructor.

Constructors

UpgradeElasticsearchDomain' 

Fields

  • performCheckOnly :: Maybe Bool

    This flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed. This will not actually perform the Upgrade.

  • domainName :: Text
     
  • targetVersion :: Text

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

Instances

Instances details
Eq UpgradeElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

Read UpgradeElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

Show UpgradeElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

Generic UpgradeElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

Associated Types

type Rep UpgradeElasticsearchDomain :: Type -> Type #

NFData UpgradeElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

Hashable UpgradeElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

ToJSON UpgradeElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

AWSRequest UpgradeElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

ToHeaders UpgradeElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

ToPath UpgradeElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

ToQuery UpgradeElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

type Rep UpgradeElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

type Rep UpgradeElasticsearchDomain = D1 ('MetaData "UpgradeElasticsearchDomain" "Amazonka.ElasticSearch.UpgradeElasticsearchDomain" "libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch" 'False) (C1 ('MetaCons "UpgradeElasticsearchDomain'" 'PrefixI 'True) (S1 ('MetaSel ('Just "performCheckOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "targetVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpgradeElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

newUpgradeElasticsearchDomain Source #

Create a value of UpgradeElasticsearchDomain 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:UpgradeElasticsearchDomain', upgradeElasticsearchDomain_performCheckOnly - This flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed. This will not actually perform the Upgrade.

$sel:domainName:UpgradeElasticsearchDomain', upgradeElasticsearchDomain_domainName - Undocumented member.

$sel:targetVersion:UpgradeElasticsearchDomain', upgradeElasticsearchDomain_targetVersion - The version of Elasticsearch that you intend to upgrade the domain to.

Request Lenses

upgradeElasticsearchDomain_performCheckOnly :: Lens' UpgradeElasticsearchDomain (Maybe Bool) Source #

This flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed. This will not actually perform the Upgrade.

upgradeElasticsearchDomain_targetVersion :: Lens' UpgradeElasticsearchDomain Text Source #

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

Destructuring the Response

data UpgradeElasticsearchDomainResponse Source #

Container for response returned by UpgradeElasticsearchDomain operation.

See: newUpgradeElasticsearchDomainResponse smart constructor.

Constructors

UpgradeElasticsearchDomainResponse' 

Fields

Instances

Instances details
Eq UpgradeElasticsearchDomainResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

Read UpgradeElasticsearchDomainResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

Show UpgradeElasticsearchDomainResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

Generic UpgradeElasticsearchDomainResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

Associated Types

type Rep UpgradeElasticsearchDomainResponse :: Type -> Type #

NFData UpgradeElasticsearchDomainResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

type Rep UpgradeElasticsearchDomainResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpgradeElasticsearchDomain

type Rep UpgradeElasticsearchDomainResponse = D1 ('MetaData "UpgradeElasticsearchDomainResponse" "Amazonka.ElasticSearch.UpgradeElasticsearchDomain" "libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch" 'False) (C1 ('MetaCons "UpgradeElasticsearchDomainResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "domainName") '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 "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpgradeElasticsearchDomainResponse Source #

Create a value of UpgradeElasticsearchDomainResponse 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:UpgradeElasticsearchDomain', upgradeElasticsearchDomainResponse_domainName - Undocumented member.

$sel:performCheckOnly:UpgradeElasticsearchDomain', upgradeElasticsearchDomainResponse_performCheckOnly - This flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed. This will not actually perform the Upgrade.

$sel:targetVersion:UpgradeElasticsearchDomain', upgradeElasticsearchDomainResponse_targetVersion - The version of Elasticsearch that you intend to upgrade the domain to.

$sel:httpStatus:UpgradeElasticsearchDomainResponse', upgradeElasticsearchDomainResponse_httpStatus - The response's http status code.

Response Lenses

upgradeElasticsearchDomainResponse_performCheckOnly :: Lens' UpgradeElasticsearchDomainResponse (Maybe Bool) Source #

This flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed. This will not actually perform the Upgrade.

upgradeElasticsearchDomainResponse_targetVersion :: Lens' UpgradeElasticsearchDomainResponse (Maybe Text) Source #

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