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

Description

Retrieves the latest status of the last upgrade or upgrade eligibility check that was performed on the domain.

Synopsis

Creating a Request

data GetUpgradeStatus Source #

Container for request parameters to GetUpgradeStatus operation.

See: newGetUpgradeStatus smart constructor.

Constructors

GetUpgradeStatus' 

Fields

Instances

Instances details
Eq GetUpgradeStatus Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

Read GetUpgradeStatus Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

Show GetUpgradeStatus Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

Generic GetUpgradeStatus Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

Associated Types

type Rep GetUpgradeStatus :: Type -> Type #

NFData GetUpgradeStatus Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

Methods

rnf :: GetUpgradeStatus -> () #

Hashable GetUpgradeStatus Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

AWSRequest GetUpgradeStatus Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

Associated Types

type AWSResponse GetUpgradeStatus #

ToHeaders GetUpgradeStatus Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

ToPath GetUpgradeStatus Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

ToQuery GetUpgradeStatus Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

type Rep GetUpgradeStatus Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

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

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

newGetUpgradeStatus Source #

Create a value of GetUpgradeStatus 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:GetUpgradeStatus', getUpgradeStatus_domainName - Undocumented member.

Request Lenses

Destructuring the Response

data GetUpgradeStatusResponse Source #

Container for response returned by GetUpgradeStatus operation.

See: newGetUpgradeStatusResponse smart constructor.

Constructors

GetUpgradeStatusResponse' 

Fields

  • stepStatus :: Maybe UpgradeStatus

    One of 4 statuses that a step can go through returned as part of the GetUpgradeStatusResponse object. The status can take one of the following values:

    • In Progress
    • Succeeded
    • Succeeded with Issues
    • Failed
  • upgradeName :: Maybe Text

    A string that describes the update briefly

  • upgradeStep :: Maybe UpgradeStep

    Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:

    • PreUpgradeCheck
    • Snapshot
    • Upgrade
  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetUpgradeStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

Read GetUpgradeStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

Show GetUpgradeStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

Generic GetUpgradeStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

Associated Types

type Rep GetUpgradeStatusResponse :: Type -> Type #

NFData GetUpgradeStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

type Rep GetUpgradeStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

type Rep GetUpgradeStatusResponse = D1 ('MetaData "GetUpgradeStatusResponse" "Amazonka.ElasticSearch.GetUpgradeStatus" "libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch" 'False) (C1 ('MetaCons "GetUpgradeStatusResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "stepStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UpgradeStatus)) :*: S1 ('MetaSel ('Just "upgradeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "upgradeStep") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UpgradeStep)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetUpgradeStatusResponse Source #

Create a value of GetUpgradeStatusResponse 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:stepStatus:GetUpgradeStatusResponse', getUpgradeStatusResponse_stepStatus - One of 4 statuses that a step can go through returned as part of the GetUpgradeStatusResponse object. The status can take one of the following values:

  • In Progress
  • Succeeded
  • Succeeded with Issues
  • Failed

$sel:upgradeName:GetUpgradeStatusResponse', getUpgradeStatusResponse_upgradeName - A string that describes the update briefly

$sel:upgradeStep:GetUpgradeStatusResponse', getUpgradeStatusResponse_upgradeStep - Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:

  • PreUpgradeCheck
  • Snapshot
  • Upgrade

$sel:httpStatus:GetUpgradeStatusResponse', getUpgradeStatusResponse_httpStatus - The response's http status code.

Response Lenses

getUpgradeStatusResponse_stepStatus :: Lens' GetUpgradeStatusResponse (Maybe UpgradeStatus) Source #

One of 4 statuses that a step can go through returned as part of the GetUpgradeStatusResponse object. The status can take one of the following values:

  • In Progress
  • Succeeded
  • Succeeded with Issues
  • Failed

getUpgradeStatusResponse_upgradeStep :: Lens' GetUpgradeStatusResponse (Maybe UpgradeStep) Source #

Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:

  • PreUpgradeCheck
  • Snapshot
  • Upgrade