CmdID / aws / aws budgets
aws budgets describe-notifications-for-budget
Lists the notifications that are associated with a budget. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To retrieve the notifications for a budget
The following describe-notifications-for-budget example retrieves the notifications for a Cost and Usage budget.
aws budgets describe-notifications-for-budget --account-id 123456789012 --budget-name "Example Budget" --max-results 5Identify--account-idThe accountId that is associated with the budget whose notifications you want descriptions of.--budget-nameThe name of the budget whose notifications you want descriptions of.--max-resultsAn optional integer that represents how many entries a paginated response contains.Its output
{
"Notifications": [
{
"Threshold": 80.0,
"ComparisonOperator": "GREATER_THAN",
"NotificationType": "ACTUAL"
}
]
}For more information, see Viewing your budgets in the AWS Cost Management User Guide.
Options
--account-idThe accountId that is associated with the budget whose notifications you want descriptions of.--budget-nameThe name of the budget whose notifications you want descriptions of.--max-resultsAn optional integer that represents how many entries a paginated response contains.--next-tokenThe pagination token that you include in your request to indicate the next set of results that you want to retrieve.