amazonka-elasticsearch-2.0: Amazon Elasticsearch 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.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
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

AWSRequest GetUpgradeStatus Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

Associated Types

type AWSResponse GetUpgradeStatus #

Generic GetUpgradeStatus Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

Associated Types

type Rep GetUpgradeStatus :: Type -> Type #

Read GetUpgradeStatus Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

Show GetUpgradeStatus Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

NFData GetUpgradeStatus Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

Methods

rnf :: GetUpgradeStatus -> () #

Eq GetUpgradeStatus Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

Hashable GetUpgradeStatus Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

type AWSResponse 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" "amazonka-elasticsearch-2.0-BmZjovliTfgJWgrJ3fCf5z" 'False) (C1 ('MetaCons "GetUpgradeStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic GetUpgradeStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

Associated Types

type Rep GetUpgradeStatusResponse :: Type -> Type #

Read GetUpgradeStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

Show GetUpgradeStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

NFData GetUpgradeStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.GetUpgradeStatus

Eq 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" "amazonka-elasticsearch-2.0-BmZjovliTfgJWgrJ3fCf5z" '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

GetUpgradeStatusResponse, getUpgradeStatusResponse_upgradeName - A string that describes the update briefly

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