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 |
Lists the notifications associated with a budget.
- describeNotificationsForBudget :: Text -> Text -> DescribeNotificationsForBudget
- data DescribeNotificationsForBudget
- dnfbNextToken :: Lens' DescribeNotificationsForBudget (Maybe Text)
- dnfbMaxResults :: Lens' DescribeNotificationsForBudget (Maybe Natural)
- dnfbAccountId :: Lens' DescribeNotificationsForBudget Text
- dnfbBudgetName :: Lens' DescribeNotificationsForBudget Text
- describeNotificationsForBudgetResponse :: Int -> DescribeNotificationsForBudgetResponse
- data DescribeNotificationsForBudgetResponse
- dnfbrsNextToken :: Lens' DescribeNotificationsForBudgetResponse (Maybe Text)
- dnfbrsNotifications :: Lens' DescribeNotificationsForBudgetResponse [Notification]
- dnfbrsResponseStatus :: Lens' DescribeNotificationsForBudgetResponse Int
Creating a Request
describeNotificationsForBudget Source #
Creates a value of DescribeNotificationsForBudget
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dnfbNextToken
- The pagination token that indicates the next set of results to retrieve.dnfbMaxResults
- Optional integer. Specifies the maximum number of results to return in response.dnfbAccountId
- TheaccountId
that is associated with the budget whose notifications you want descriptions of.dnfbBudgetName
- The name of the budget whose notifications you want descriptions of.
data DescribeNotificationsForBudget Source #
Request of DescribeNotificationsForBudget
See: describeNotificationsForBudget
smart constructor.
Request Lenses
dnfbNextToken :: Lens' DescribeNotificationsForBudget (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
dnfbMaxResults :: Lens' DescribeNotificationsForBudget (Maybe Natural) Source #
Optional integer. Specifies the maximum number of results to return in response.
dnfbAccountId :: Lens' DescribeNotificationsForBudget Text Source #
The accountId
that is associated with the budget whose notifications you want descriptions of.
dnfbBudgetName :: Lens' DescribeNotificationsForBudget Text Source #
The name of the budget whose notifications you want descriptions of.
Destructuring the Response
describeNotificationsForBudgetResponse Source #
Creates a value of DescribeNotificationsForBudgetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dnfbrsNextToken
- The pagination token that indicates the next set of results that you can retrieve.dnfbrsNotifications
- A list of notifications associated with a budget.dnfbrsResponseStatus
- -- | The response status code.
data DescribeNotificationsForBudgetResponse Source #
Response of GetNotificationsForBudget
See: describeNotificationsForBudgetResponse
smart constructor.
Response Lenses
dnfbrsNextToken :: Lens' DescribeNotificationsForBudgetResponse (Maybe Text) Source #
The pagination token that indicates the next set of results that you can retrieve.
dnfbrsNotifications :: Lens' DescribeNotificationsForBudgetResponse [Notification] Source #
A list of notifications associated with a budget.
dnfbrsResponseStatus :: Lens' DescribeNotificationsForBudgetResponse Int Source #
- - | The response status code.