Skip to content

Commit 1bdd4b7

Browse files
author
AWS
committed
AWSBillingConductor Update: Launch itemized custom line item and service line item filter
1 parent faf594e commit 1bdd4b7

File tree

2 files changed

+36
-5
lines changed

2 files changed

+36
-5
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWSBillingConductor",
4+
"contributor": "",
5+
"description": "Launch itemized custom line item and service line item filter"
6+
}

services/billingconductor/src/main/resources/codegen-resources/service-2.json

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,18 @@
832832
},
833833
"documentation":"<p>The key-value pair that represents the attribute by which the <code>BillingGroupCostReportResults</code> are grouped. For example, if you want a service-level breakdown for Amazon Simple Storage Service (Amazon S3) of the billing group, the attribute will be a key-value pair of <code>\"PRODUCT_NAME\"</code> and <code>\"S3\"</code>.</p>"
834834
},
835+
"AttributeValue":{
836+
"type":"string",
837+
"max":128,
838+
"min":1,
839+
"pattern":"[a-zA-Z0-9]+"
840+
},
841+
"AttributeValueList":{
842+
"type":"list",
843+
"member":{"shape":"AttributeValue"},
844+
"max":1,
845+
"min":0
846+
},
835847
"AttributesList":{
836848
"type":"list",
837849
"member":{"shape":"Attribute"}
@@ -1130,7 +1142,10 @@
11301142
"ComputationRuleEnum":{
11311143
"type":"string",
11321144
"documentation":"<p>The display settings of the custom line item</p>",
1133-
"enum":["CONSOLIDATED"]
1145+
"enum":[
1146+
"ITEMIZED",
1147+
"CONSOLIDATED"
1148+
]
11341149
},
11351150
"ConflictException":{
11361151
"type":"structure",
@@ -1931,8 +1946,7 @@
19311946
"type":"structure",
19321947
"required":[
19331948
"Attribute",
1934-
"MatchOption",
1935-
"Values"
1949+
"MatchOption"
19361950
],
19371951
"members":{
19381952
"Attribute":{
@@ -1946,13 +1960,20 @@
19461960
"Values":{
19471961
"shape":"LineItemFilterValuesList",
19481962
"documentation":"<p>The values of the line item filter. This specifies the values to filter on. Currently, you can only exclude Savings Plans discounts.</p>"
1963+
},
1964+
"AttributeValues":{
1965+
"shape":"AttributeValueList",
1966+
"documentation":"<p>The values of the line item filter. This specifies the values to filter on.</p>"
19491967
}
19501968
},
19511969
"documentation":"<p>A representation of the line item filter for your custom line item. You can use line item filters to include or exclude specific resource values from the billing group's total cost. For example, if you create a custom line item and you want to filter out a value, such as Savings Plans discounts, you can update <code>LineItemFilter</code> to exclude it.</p>"
19521970
},
19531971
"LineItemFilterAttributeName":{
19541972
"type":"string",
1955-
"enum":["LINE_ITEM_TYPE"]
1973+
"enum":[
1974+
"LINE_ITEM_TYPE",
1975+
"SERVICE"
1976+
]
19561977
},
19571978
"LineItemFilterValue":{
19581979
"type":"string",
@@ -2590,7 +2611,10 @@
25902611
"MarginPercentage":{"type":"string"},
25912612
"MatchOption":{
25922613
"type":"string",
2593-
"enum":["NOT_EQUAL"]
2614+
"enum":[
2615+
"NOT_EQUAL",
2616+
"EQUAL"
2617+
]
25942618
},
25952619
"MaxBillingGroupCostReportResults":{
25962620
"type":"integer",
@@ -3504,6 +3528,7 @@
35043528
"ILLEGAL_MODIFIER_PERCENTAGE",
35053529
"ILLEGAL_TYPE",
35063530
"ILLEGAL_BILLING_GROUP_TYPE",
3531+
"ILLEGAL_BILLING_GROUP_PRICING_PLAN",
35073532
"ILLEGAL_ENDED_BILLINGGROUP",
35083533
"ILLEGAL_TIERING_INPUT",
35093534
"ILLEGAL_OPERATION",

0 commit comments

Comments
 (0)