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 |
Lists the notifications that are associated with a budget.
This operation returns paginated results.
Synopsis
- data DescribeNotificationsForBudget = DescribeNotificationsForBudget' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- accountId :: Text
- budgetName :: Text
- newDescribeNotificationsForBudget :: Text -> Text -> DescribeNotificationsForBudget
- describeNotificationsForBudget_nextToken :: Lens' DescribeNotificationsForBudget (Maybe Text)
- describeNotificationsForBudget_maxResults :: Lens' DescribeNotificationsForBudget (Maybe Natural)
- describeNotificationsForBudget_accountId :: Lens' DescribeNotificationsForBudget Text
- describeNotificationsForBudget_budgetName :: Lens' DescribeNotificationsForBudget Text
- data DescribeNotificationsForBudgetResponse = DescribeNotificationsForBudgetResponse' {
- nextToken :: Maybe Text
- notifications :: Maybe [Notification]
- httpStatus :: Int
- newDescribeNotificationsForBudgetResponse :: Int -> DescribeNotificationsForBudgetResponse
- describeNotificationsForBudgetResponse_nextToken :: Lens' DescribeNotificationsForBudgetResponse (Maybe Text)
- describeNotificationsForBudgetResponse_notifications :: Lens' DescribeNotificationsForBudgetResponse (Maybe [Notification])
- describeNotificationsForBudgetResponse_httpStatus :: Lens' DescribeNotificationsForBudgetResponse Int
Creating a Request
data DescribeNotificationsForBudget Source #
Request of DescribeNotificationsForBudget
See: newDescribeNotificationsForBudget
smart constructor.
DescribeNotificationsForBudget' | |
|
Instances
newDescribeNotificationsForBudget Source #
Create a value of DescribeNotificationsForBudget
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:nextToken:DescribeNotificationsForBudget'
, describeNotificationsForBudget_nextToken
- The pagination token that you include in your request to indicate the
next set of results that you want to retrieve.
$sel:maxResults:DescribeNotificationsForBudget'
, describeNotificationsForBudget_maxResults
- An optional integer that represents how many entries a paginated
response contains. The maximum is 100.
$sel:accountId:DescribeNotificationsForBudget'
, describeNotificationsForBudget_accountId
- The accountId
that is associated with the budget whose notifications
you want descriptions of.
$sel:budgetName:DescribeNotificationsForBudget'
, describeNotificationsForBudget_budgetName
- The name of the budget whose notifications you want descriptions of.
Request Lenses
describeNotificationsForBudget_nextToken :: Lens' DescribeNotificationsForBudget (Maybe Text) Source #
The pagination token that you include in your request to indicate the next set of results that you want to retrieve.
describeNotificationsForBudget_maxResults :: Lens' DescribeNotificationsForBudget (Maybe Natural) Source #
An optional integer that represents how many entries a paginated response contains. The maximum is 100.
describeNotificationsForBudget_accountId :: Lens' DescribeNotificationsForBudget Text Source #
The accountId
that is associated with the budget whose notifications
you want descriptions of.
describeNotificationsForBudget_budgetName :: Lens' DescribeNotificationsForBudget Text Source #
The name of the budget whose notifications you want descriptions of.
Destructuring the Response
data DescribeNotificationsForBudgetResponse Source #
Response of GetNotificationsForBudget
See: newDescribeNotificationsForBudgetResponse
smart constructor.
DescribeNotificationsForBudgetResponse' | |
|
Instances
newDescribeNotificationsForBudgetResponse Source #
Create a value of DescribeNotificationsForBudgetResponse
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:nextToken:DescribeNotificationsForBudget'
, describeNotificationsForBudgetResponse_nextToken
- The pagination token in the service response that indicates the next set
of results that you can retrieve.
$sel:notifications:DescribeNotificationsForBudgetResponse'
, describeNotificationsForBudgetResponse_notifications
- A list of notifications that are associated with a budget.
$sel:httpStatus:DescribeNotificationsForBudgetResponse'
, describeNotificationsForBudgetResponse_httpStatus
- The response's http status code.
Response Lenses
describeNotificationsForBudgetResponse_nextToken :: Lens' DescribeNotificationsForBudgetResponse (Maybe Text) Source #
The pagination token in the service response that indicates the next set of results that you can retrieve.
describeNotificationsForBudgetResponse_notifications :: Lens' DescribeNotificationsForBudgetResponse (Maybe [Notification]) Source #
A list of notifications that are associated with a budget.
describeNotificationsForBudgetResponse_httpStatus :: Lens' DescribeNotificationsForBudgetResponse Int Source #
The response's http status code.