| 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.DescribeBudgets
Description
Lists the budgets associated with an account.
Synopsis
- describeBudgets :: Text -> DescribeBudgets
- data DescribeBudgets
- dbNextToken :: Lens' DescribeBudgets (Maybe Text)
- dbMaxResults :: Lens' DescribeBudgets (Maybe Natural)
- dbAccountId :: Lens' DescribeBudgets Text
- describeBudgetsResponse :: Int -> DescribeBudgetsResponse
- data DescribeBudgetsResponse
- dbrsNextToken :: Lens' DescribeBudgetsResponse (Maybe Text)
- dbrsBudgets :: Lens' DescribeBudgetsResponse [Budget]
- dbrsResponseStatus :: Lens' DescribeBudgetsResponse Int
Creating a Request
Arguments
| :: Text | |
| -> DescribeBudgets |
Creates a value of DescribeBudgets with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dbNextToken- The pagination token that indicates the next set of results to retrieve.dbMaxResults- Optional integer. Specifies the maximum number of results to return in response.dbAccountId- TheaccountIdthat is associated with the budgets that you want descriptions of.
data DescribeBudgets Source #
Request of DescribeBudgets
See: describeBudgets smart constructor.
Instances
Request Lenses
dbNextToken :: Lens' DescribeBudgets (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
dbMaxResults :: Lens' DescribeBudgets (Maybe Natural) Source #
Optional integer. Specifies the maximum number of results to return in response.
dbAccountId :: Lens' DescribeBudgets Text Source #
The accountId that is associated with the budgets that you want descriptions of.
Destructuring the Response
describeBudgetsResponse Source #
Arguments
| :: Int | |
| -> DescribeBudgetsResponse |
Creates a value of DescribeBudgetsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dbrsNextToken- The pagination token that indicates the next set of results that you can retrieve.dbrsBudgets- A list of budgets.dbrsResponseStatus- -- | The response status code.
data DescribeBudgetsResponse Source #
Response of DescribeBudgets
See: describeBudgetsResponse smart constructor.
Instances
Response Lenses
dbrsNextToken :: Lens' DescribeBudgetsResponse (Maybe Text) Source #
The pagination token that indicates the next set of results that you can retrieve.
dbrsBudgets :: Lens' DescribeBudgetsResponse [Budget] Source #
A list of budgets.
dbrsResponseStatus :: Lens' DescribeBudgetsResponse Int Source #
- - | The response status code.