| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.Budgets.DescribeBudget
Description
Describes a budget.
Synopsis
- describeBudget :: Text -> Text -> DescribeBudget
- data DescribeBudget
- desAccountId :: Lens' DescribeBudget Text
- desBudgetName :: Lens' DescribeBudget Text
- describeBudgetResponse :: Int -> DescribeBudgetResponse
- data DescribeBudgetResponse
- desrsBudget :: Lens' DescribeBudgetResponse (Maybe Budget)
- desrsResponseStatus :: Lens' DescribeBudgetResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> DescribeBudget |
Creates a value of DescribeBudget with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
desAccountId- TheaccountIdthat is associated with the budget that you want a description of.desBudgetName- The name of the budget that you want a description of.
data DescribeBudget Source #
Request of DescribeBudget
See: describeBudget smart constructor.
Instances
Request Lenses
desAccountId :: Lens' DescribeBudget Text Source #
The accountId that is associated with the budget that you want a description of.
desBudgetName :: Lens' DescribeBudget Text Source #
The name of the budget that you want a description of.
Destructuring the Response
describeBudgetResponse Source #
Arguments
| :: Int | |
| -> DescribeBudgetResponse |
Creates a value of DescribeBudgetResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
desrsBudget- The description of the budget.desrsResponseStatus- -- | The response status code.
data DescribeBudgetResponse Source #
Response of DescribeBudget
See: describeBudgetResponse smart constructor.
Instances
Response Lenses
desrsBudget :: Lens' DescribeBudgetResponse (Maybe Budget) Source #
The description of the budget.
desrsResponseStatus :: Lens' DescribeBudgetResponse Int Source #
- - | The response status code.