| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ElasticSearch.GetUpgradeStatus
Description
Retrieves the latest status of the last upgrade or upgrade eligibility check that was performed on the domain.
Synopsis
- data GetUpgradeStatus = GetUpgradeStatus' {
- domainName :: Text
- newGetUpgradeStatus :: Text -> GetUpgradeStatus
- getUpgradeStatus_domainName :: Lens' GetUpgradeStatus Text
- data GetUpgradeStatusResponse = GetUpgradeStatusResponse' {}
- newGetUpgradeStatusResponse :: Int -> GetUpgradeStatusResponse
- getUpgradeStatusResponse_stepStatus :: Lens' GetUpgradeStatusResponse (Maybe UpgradeStatus)
- getUpgradeStatusResponse_upgradeName :: Lens' GetUpgradeStatusResponse (Maybe Text)
- getUpgradeStatusResponse_upgradeStep :: Lens' GetUpgradeStatusResponse (Maybe UpgradeStep)
- getUpgradeStatusResponse_httpStatus :: Lens' GetUpgradeStatusResponse Int
Creating a Request
data GetUpgradeStatus Source #
Container for request parameters to GetUpgradeStatus operation.
See: newGetUpgradeStatus smart constructor.
Constructors
| GetUpgradeStatus' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetUpgradeStatus |
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
getUpgradeStatus_domainName :: Lens' GetUpgradeStatus Text Source #
Undocumented member.
Destructuring the Response
data GetUpgradeStatusResponse Source #
Container for response returned by GetUpgradeStatus operation.
See: newGetUpgradeStatusResponse smart constructor.
Constructors
| GetUpgradeStatusResponse' | |
Fields
| |
Instances
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_upgradeName :: Lens' GetUpgradeStatusResponse (Maybe Text) Source #
A string that describes the update briefly
getUpgradeStatusResponse_upgradeStep :: Lens' GetUpgradeStatusResponse (Maybe UpgradeStep) Source #
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:
- PreUpgradeCheck
- Snapshot
- Upgrade
getUpgradeStatusResponse_httpStatus :: Lens' GetUpgradeStatusResponse Int Source #
The response's http status code.