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 |
Describes the history for DAILY
, MONTHLY
, and QUARTERLY
budgets.
Budget history isn't available for ANNUAL
budgets.
This operation returns paginated results.
Synopsis
- data DescribeBudgetPerformanceHistory = DescribeBudgetPerformanceHistory' {
- timePeriod :: Maybe TimePeriod
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- accountId :: Text
- budgetName :: Text
- newDescribeBudgetPerformanceHistory :: Text -> Text -> DescribeBudgetPerformanceHistory
- describeBudgetPerformanceHistory_timePeriod :: Lens' DescribeBudgetPerformanceHistory (Maybe TimePeriod)
- describeBudgetPerformanceHistory_nextToken :: Lens' DescribeBudgetPerformanceHistory (Maybe Text)
- describeBudgetPerformanceHistory_maxResults :: Lens' DescribeBudgetPerformanceHistory (Maybe Natural)
- describeBudgetPerformanceHistory_accountId :: Lens' DescribeBudgetPerformanceHistory Text
- describeBudgetPerformanceHistory_budgetName :: Lens' DescribeBudgetPerformanceHistory Text
- data DescribeBudgetPerformanceHistoryResponse = DescribeBudgetPerformanceHistoryResponse' {}
- newDescribeBudgetPerformanceHistoryResponse :: Int -> DescribeBudgetPerformanceHistoryResponse
- describeBudgetPerformanceHistoryResponse_budgetPerformanceHistory :: Lens' DescribeBudgetPerformanceHistoryResponse (Maybe BudgetPerformanceHistory)
- describeBudgetPerformanceHistoryResponse_nextToken :: Lens' DescribeBudgetPerformanceHistoryResponse (Maybe Text)
- describeBudgetPerformanceHistoryResponse_httpStatus :: Lens' DescribeBudgetPerformanceHistoryResponse Int
Creating a Request
data DescribeBudgetPerformanceHistory Source #
See: newDescribeBudgetPerformanceHistory
smart constructor.
DescribeBudgetPerformanceHistory' | |
|
Instances
newDescribeBudgetPerformanceHistory Source #
Create a value of DescribeBudgetPerformanceHistory
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:timePeriod:DescribeBudgetPerformanceHistory'
, describeBudgetPerformanceHistory_timePeriod
- Retrieves how often the budget went into an ALARM
state for the
specified time period.
$sel:nextToken:DescribeBudgetPerformanceHistory'
, describeBudgetPerformanceHistory_nextToken
- Undocumented member.
$sel:maxResults:DescribeBudgetPerformanceHistory'
, describeBudgetPerformanceHistory_maxResults
- Undocumented member.
$sel:accountId:DescribeBudgetPerformanceHistory'
, describeBudgetPerformanceHistory_accountId
- Undocumented member.
$sel:budgetName:DescribeBudgetPerformanceHistory'
, describeBudgetPerformanceHistory_budgetName
- Undocumented member.
Request Lenses
describeBudgetPerformanceHistory_timePeriod :: Lens' DescribeBudgetPerformanceHistory (Maybe TimePeriod) Source #
Retrieves how often the budget went into an ALARM
state for the
specified time period.
describeBudgetPerformanceHistory_nextToken :: Lens' DescribeBudgetPerformanceHistory (Maybe Text) Source #
Undocumented member.
describeBudgetPerformanceHistory_maxResults :: Lens' DescribeBudgetPerformanceHistory (Maybe Natural) Source #
Undocumented member.
describeBudgetPerformanceHistory_accountId :: Lens' DescribeBudgetPerformanceHistory Text Source #
Undocumented member.
describeBudgetPerformanceHistory_budgetName :: Lens' DescribeBudgetPerformanceHistory Text Source #
Undocumented member.
Destructuring the Response
data DescribeBudgetPerformanceHistoryResponse Source #
See: newDescribeBudgetPerformanceHistoryResponse
smart constructor.
DescribeBudgetPerformanceHistoryResponse' | |
|
Instances
newDescribeBudgetPerformanceHistoryResponse Source #
Create a value of DescribeBudgetPerformanceHistoryResponse
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:budgetPerformanceHistory:DescribeBudgetPerformanceHistoryResponse'
, describeBudgetPerformanceHistoryResponse_budgetPerformanceHistory
- The history of how often the budget has gone into an ALARM
state.
For DAILY
budgets, the history saves the state of the budget for the
last 60 days. For MONTHLY
budgets, the history saves the state of the
budget for the current month plus the last 12 months. For QUARTERLY
budgets, the history saves the state of the budget for the last four
quarters.
$sel:nextToken:DescribeBudgetPerformanceHistory'
, describeBudgetPerformanceHistoryResponse_nextToken
- Undocumented member.
$sel:httpStatus:DescribeBudgetPerformanceHistoryResponse'
, describeBudgetPerformanceHistoryResponse_httpStatus
- The response's http status code.
Response Lenses
describeBudgetPerformanceHistoryResponse_budgetPerformanceHistory :: Lens' DescribeBudgetPerformanceHistoryResponse (Maybe BudgetPerformanceHistory) Source #
The history of how often the budget has gone into an ALARM
state.
For DAILY
budgets, the history saves the state of the budget for the
last 60 days. For MONTHLY
budgets, the history saves the state of the
budget for the current month plus the last 12 months. For QUARTERLY
budgets, the history saves the state of the budget for the last four
quarters.
describeBudgetPerformanceHistoryResponse_nextToken :: Lens' DescribeBudgetPerformanceHistoryResponse (Maybe Text) Source #
Undocumented member.
describeBudgetPerformanceHistoryResponse_httpStatus :: Lens' DescribeBudgetPerformanceHistoryResponse Int Source #
The response's http status code.