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 complete history of the last 10 upgrades that were performed on the domain.
This operation returns paginated results.
Synopsis
- data GetUpgradeHistory = GetUpgradeHistory' {
- nextToken :: Maybe Text
- maxResults :: Maybe Int
- domainName :: Text
- newGetUpgradeHistory :: Text -> GetUpgradeHistory
- getUpgradeHistory_nextToken :: Lens' GetUpgradeHistory (Maybe Text)
- getUpgradeHistory_maxResults :: Lens' GetUpgradeHistory (Maybe Int)
- getUpgradeHistory_domainName :: Lens' GetUpgradeHistory Text
- data GetUpgradeHistoryResponse = GetUpgradeHistoryResponse' {}
- newGetUpgradeHistoryResponse :: Int -> GetUpgradeHistoryResponse
- getUpgradeHistoryResponse_nextToken :: Lens' GetUpgradeHistoryResponse (Maybe Text)
- getUpgradeHistoryResponse_upgradeHistories :: Lens' GetUpgradeHistoryResponse (Maybe [UpgradeHistory])
- getUpgradeHistoryResponse_httpStatus :: Lens' GetUpgradeHistoryResponse Int
Creating a Request
data GetUpgradeHistory Source #
Container for request parameters to GetUpgradeHistory
operation.
See: newGetUpgradeHistory
smart constructor.
GetUpgradeHistory' | |
|
Instances
Create a value of GetUpgradeHistory
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:nextToken:GetUpgradeHistory'
, getUpgradeHistory_nextToken
- Undocumented member.
$sel:maxResults:GetUpgradeHistory'
, getUpgradeHistory_maxResults
- Undocumented member.
$sel:domainName:GetUpgradeHistory'
, getUpgradeHistory_domainName
- Undocumented member.
Request Lenses
getUpgradeHistory_nextToken :: Lens' GetUpgradeHistory (Maybe Text) Source #
Undocumented member.
getUpgradeHistory_maxResults :: Lens' GetUpgradeHistory (Maybe Int) Source #
Undocumented member.
getUpgradeHistory_domainName :: Lens' GetUpgradeHistory Text Source #
Undocumented member.
Destructuring the Response
data GetUpgradeHistoryResponse Source #
Container for response returned by GetUpgradeHistory
operation.
See: newGetUpgradeHistoryResponse
smart constructor.
GetUpgradeHistoryResponse' | |
|
Instances
newGetUpgradeHistoryResponse Source #
Create a value of GetUpgradeHistoryResponse
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:nextToken:GetUpgradeHistory'
, getUpgradeHistoryResponse_nextToken
- Pagination token that needs to be supplied to the next call to get the
next page of results
$sel:upgradeHistories:GetUpgradeHistoryResponse'
, getUpgradeHistoryResponse_upgradeHistories
- A list of UpgradeHistory
objects corresponding to each Upgrade or
Upgrade Eligibility Check performed on a domain returned as part of
GetUpgradeHistoryResponse
object.
$sel:httpStatus:GetUpgradeHistoryResponse'
, getUpgradeHistoryResponse_httpStatus
- The response's http status code.
Response Lenses
getUpgradeHistoryResponse_nextToken :: Lens' GetUpgradeHistoryResponse (Maybe Text) Source #
Pagination token that needs to be supplied to the next call to get the next page of results
getUpgradeHistoryResponse_upgradeHistories :: Lens' GetUpgradeHistoryResponse (Maybe [UpgradeHistory]) Source #
A list of UpgradeHistory
objects corresponding to each Upgrade or
Upgrade Eligibility Check performed on a domain returned as part of
GetUpgradeHistoryResponse
object.
getUpgradeHistoryResponse_httpStatus :: Lens' GetUpgradeHistoryResponse Int Source #
The response's http status code.