Repository navigation
Commit 4ad0567
docs(billing-cost-management-mcp-server): document Not in the sp-recommendation filter (#4920)
GetSavingsPlansPurchaseRecommendation accepts a Not expression around the
LINKED_ACCOUNT Dimensions filter, which is how a caller excludes accounts
from a recommendation. The filter arg doc said only that AND and OR are not
supported, so a caller could not tell that Not works.
- filter arg doc: a LINKED_ACCOUNT Dimensions expression, optionally wrapped
in a single Not to exclude those accounts, with a one-line example;
MatchOptions, if given, must be EQUALS; And, Or and a Not inside another
Not are rejected. The parameter type is unchanged. The internal helper
filter_expr doc says the same in short.
- Test: the served filter description carries the Not wording, a parseable
example, the MatchOptions rule and the rejected forms.
Co-authored-by: Junaid Girkar <60307291+junaidgirkar@users.noreply.github.com>1 parent 442c5c8 commit 4ad0567
2 files changed
Lines changed: 24 additions & 4 deletions
File tree
- src/billing-cost-management-mcp-server
- awslabs/billing_cost_management_mcp_server/tools
- tests/tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
119 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
| |||
221 | 224 | | |
222 | 225 | | |
223 | 226 | | |
224 | | - | |
| 227 | + | |
| 228 | + | |
225 | 229 | | |
226 | 230 | | |
227 | 231 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
709 | 710 | | |
710 | 711 | | |
711 | 712 | | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
712 | 728 | | |
713 | 729 | | |
714 | 730 | | |
| |||
0 commit comments