Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Retrieves the latest status of the last upgrade or upgrade eligibility check 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 the request parameters to the GetUpgradeStatus
operation.
See: newGetUpgradeStatus
smart constructor.
Instances
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
getUpgradeStatus_domainName :: Lens' GetUpgradeStatus Text Source #
Undocumented member.
Destructuring the Response
data GetUpgradeStatusResponse Source #
Container for the response returned by the GetUpgradeStatus
operation.
See: newGetUpgradeStatusResponse
smart constructor.
GetUpgradeStatusResponse' | |
|
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 four statuses an upgrade have, 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 briefly describes the update.
$sel:upgradeStep:GetUpgradeStatusResponse'
, getUpgradeStatusResponse_upgradeStep
- One of three steps an upgrade or upgrade eligibility check goes 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 four statuses an upgrade have, 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 briefly describes the update.
getUpgradeStatusResponse_upgradeStep :: Lens' GetUpgradeStatusResponse (Maybe UpgradeStep) Source #
One of three steps an upgrade or upgrade eligibility check goes through:
- PreUpgradeCheck
- Snapshot
- Upgrade
getUpgradeStatusResponse_httpStatus :: Lens' GetUpgradeStatusResponse Int Source #
The response's http status code.