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 |
Describes a budget.
The Request Syntax section shows the BudgetLimit
syntax. For
PlannedBudgetLimits
, see the
Examples
section.
Synopsis
- data DescribeBudget = DescribeBudget' {
- accountId :: Text
- budgetName :: Text
- newDescribeBudget :: Text -> Text -> DescribeBudget
- describeBudget_accountId :: Lens' DescribeBudget Text
- describeBudget_budgetName :: Lens' DescribeBudget Text
- data DescribeBudgetResponse = DescribeBudgetResponse' {
- budget :: Maybe Budget
- httpStatus :: Int
- newDescribeBudgetResponse :: Int -> DescribeBudgetResponse
- describeBudgetResponse_budget :: Lens' DescribeBudgetResponse (Maybe Budget)
- describeBudgetResponse_httpStatus :: Lens' DescribeBudgetResponse Int
Creating a Request
data DescribeBudget Source #
Request of DescribeBudget
See: newDescribeBudget
smart constructor.
DescribeBudget' | |
|
Instances
Create a value of DescribeBudget
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:accountId:DescribeBudget'
, describeBudget_accountId
- The accountId
that is associated with the budget that you want a
description of.
DescribeBudget
, describeBudget_budgetName
- The name of the budget that you want a description of.
Request Lenses
describeBudget_accountId :: Lens' DescribeBudget Text Source #
The accountId
that is associated with the budget that you want a
description of.
describeBudget_budgetName :: Lens' DescribeBudget Text Source #
The name of the budget that you want a description of.
Destructuring the Response
data DescribeBudgetResponse Source #
Response of DescribeBudget
See: newDescribeBudgetResponse
smart constructor.
DescribeBudgetResponse' | |
|
Instances
newDescribeBudgetResponse Source #
Create a value of DescribeBudgetResponse
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:budget:DescribeBudgetResponse'
, describeBudgetResponse_budget
- The description of the budget.
$sel:httpStatus:DescribeBudgetResponse'
, describeBudgetResponse_httpStatus
- The response's http status code.
Response Lenses
describeBudgetResponse_budget :: Lens' DescribeBudgetResponse (Maybe Budget) Source #
The description of the budget.
describeBudgetResponse_httpStatus :: Lens' DescribeBudgetResponse Int Source #
The response's http status code.