| 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 |
Amazonka.Budgets.DescribeNotificationsForBudget
Description
Lists the notifications that are associated with a budget.
This operation returns paginated results.
Synopsis
- data DescribeNotificationsForBudget = DescribeNotificationsForBudget' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- accountId :: Text
- budgetName :: Text
- newDescribeNotificationsForBudget :: Text -> Text -> DescribeNotificationsForBudget
- describeNotificationsForBudget_maxResults :: Lens' DescribeNotificationsForBudget (Maybe Natural)
- describeNotificationsForBudget_nextToken :: Lens' DescribeNotificationsForBudget (Maybe Text)
- 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.
Constructors
| DescribeNotificationsForBudget' | |
Fields
| |
Instances
newDescribeNotificationsForBudget Source #
Arguments
| :: Text | |
| -> Text | |
| -> DescribeNotificationsForBudget |
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:maxResults:DescribeNotificationsForBudget', describeNotificationsForBudget_maxResults - An optional integer that represents how many entries a paginated
response contains. The maximum is 100.
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:accountId:DescribeNotificationsForBudget', describeNotificationsForBudget_accountId - The accountId that is associated with the budget whose notifications
you want descriptions of.
DescribeNotificationsForBudget, describeNotificationsForBudget_budgetName - The name of the budget whose notifications you want descriptions of.
Request Lenses
describeNotificationsForBudget_maxResults :: Lens' DescribeNotificationsForBudget (Maybe Natural) Source #
An optional integer that represents how many entries a paginated response contains. The maximum is 100.
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_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.
Constructors
| DescribeNotificationsForBudgetResponse' | |
Fields
| |
Instances
newDescribeNotificationsForBudgetResponse Source #
Arguments
| :: Int | |
| -> DescribeNotificationsForBudgetResponse |
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:
DescribeNotificationsForBudget, describeNotificationsForBudgetResponse_nextToken - The pagination token in the service response that indicates the next set
of results that you can retrieve.
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.