Skip to content

Commit b74d242

Browse files
author
AWS
committed
AWSBillingConductor Update: This release adds a new feature BillingEntity pricing rule.
1 parent 4a0e9d7 commit b74d242

File tree

3 files changed

+34
-9
lines changed

3 files changed

+34
-9
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWSBillingConductor",
4+
"contributor": "",
5+
"description": "This release adds a new feature BillingEntity pricing rule."
6+
}

services/billingconductor/src/main/resources/codegen-resources/endpoint-tests.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@
88
"authSchemes": [
99
{
1010
"name": "sigv4",
11-
"signingName": "billingconductor",
12-
"signingRegion": "us-east-1"
11+
"signingRegion": "us-east-1",
12+
"signingName": "billingconductor"
1313
}
1414
]
1515
},
1616
"url": "https://billingconductor.us-east-1.amazonaws.com"
1717
}
1818
},
1919
"params": {
20-
"UseDualStack": false,
2120
"UseFIPS": false,
22-
"Region": "aws-global"
21+
"Region": "aws-global",
22+
"UseDualStack": false
2323
}
2424
},
2525
{
@@ -30,9 +30,9 @@
3030
}
3131
},
3232
"params": {
33-
"UseDualStack": false,
3433
"UseFIPS": false,
3534
"Region": "us-east-1",
35+
"UseDualStack": false,
3636
"Endpoint": "https://example.com"
3737
}
3838
},
@@ -42,9 +42,9 @@
4242
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
4343
},
4444
"params": {
45-
"UseDualStack": false,
4645
"UseFIPS": true,
4746
"Region": "us-east-1",
47+
"UseDualStack": false,
4848
"Endpoint": "https://example.com"
4949
}
5050
},
@@ -54,9 +54,9 @@
5454
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
5555
},
5656
"params": {
57-
"UseDualStack": true,
5857
"UseFIPS": false,
5958
"Region": "us-east-1",
59+
"UseDualStack": true,
6060
"Endpoint": "https://example.com"
6161
}
6262
}

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

+21-2
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,10 @@
837837
}
838838
}
839839
},
840+
"BillingEntity":{
841+
"type":"string",
842+
"pattern":"[a-zA-Z0-9 ]+"
843+
},
840844
"BillingGroupArn":{
841845
"type":"string",
842846
"pattern":"(arn:aws(-cn)?:billingconductor::[0-9]{12}:billinggroup/)?[0-9]{12}"
@@ -1195,6 +1199,10 @@
11951199
"Tags":{
11961200
"shape":"TagMap",
11971201
"documentation":"<p> A map that contains tag keys and tag values that are attached to a pricing rule. </p>"
1202+
},
1203+
"BillingEntity":{
1204+
"shape":"BillingEntity",
1205+
"documentation":"<p> The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace. </p>"
11981206
}
11991207
}
12001208
},
@@ -2371,6 +2379,10 @@
23712379
"LastModifiedTime":{
23722380
"shape":"Instant",
23732381
"documentation":"<p> The most recent time when the pricing rule was modified. </p>"
2382+
},
2383+
"BillingEntity":{
2384+
"shape":"BillingEntity",
2385+
"documentation":"<p> The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace. </p>"
23742386
}
23752387
},
23762388
"documentation":"<p> A representation of a pricing rule. </p>"
@@ -2386,7 +2398,8 @@
23862398
"type":"string",
23872399
"enum":[
23882400
"GLOBAL",
2389-
"SERVICE"
2401+
"SERVICE",
2402+
"BILLING_ENTITY"
23902403
]
23912404
},
23922405
"PricingRuleType":{
@@ -2822,6 +2835,10 @@
28222835
"LastModifiedTime":{
28232836
"shape":"Instant",
28242837
"documentation":"<p> The most recent time the pricing rule was modified. </p>"
2838+
},
2839+
"BillingEntity":{
2840+
"shape":"BillingEntity",
2841+
"documentation":"<p> The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace. </p>"
28252842
}
28262843
}
28272844
},
@@ -2917,8 +2934,10 @@
29172934
"MULTIPLE_PRICING_PLAN_ARN",
29182935
"ILLEGAL_CHILD_ASSOCIATE_RESOURCE",
29192936
"CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS",
2937+
"INVALID_BILLING_GROUP",
29202938
"INVALID_BILLING_PERIOD_FOR_OPERATION",
2921-
"INVALID_BILLING_GROUP"
2939+
"ILLEGAL_BILLING_ENTITY",
2940+
"ILLEGAL_MODIFIER_PERCENTAGE"
29222941
]
29232942
}
29242943
},

0 commit comments

Comments
 (0)