| 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.OpenSearch.GetUpgradeStatus
Description
Returns the most recent status of the last upgrade or upgrade eligibility check performed on an Amazon OpenSearch Service 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 the request parameters to the 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 - The domain of the domain to get upgrade status information for.
Request Lenses
getUpgradeStatus_domainName :: Lens' GetUpgradeStatus Text Source #
The domain of the domain to get upgrade status information for.
Destructuring the Response
data GetUpgradeStatusResponse Source #
Container for the response returned by the 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 - The status of the current step that an upgrade is on.
GetUpgradeStatusResponse, getUpgradeStatusResponse_upgradeName - A string that describes the update.
GetUpgradeStatusResponse, getUpgradeStatusResponse_upgradeStep - One of three steps that an upgrade or upgrade eligibility check goes
through.
$sel:httpStatus:GetUpgradeStatusResponse', getUpgradeStatusResponse_httpStatus - The response's http status code.
Response Lenses
getUpgradeStatusResponse_stepStatus :: Lens' GetUpgradeStatusResponse (Maybe UpgradeStatus) Source #
The status of the current step that an upgrade is on.
getUpgradeStatusResponse_upgradeName :: Lens' GetUpgradeStatusResponse (Maybe Text) Source #
A string that describes the update.
getUpgradeStatusResponse_upgradeStep :: Lens' GetUpgradeStatusResponse (Maybe UpgradeStep) Source #
One of three steps that an upgrade or upgrade eligibility check goes through.
getUpgradeStatusResponse_httpStatus :: Lens' GetUpgradeStatusResponse Int Source #
The response's http status code.