Skip to content

Commit c04e086

Browse files
Add GroupSharingPreference, CostCategoryGroupSharingPreferenceArn, and CostCategoryGroupSharingPreferenceEffectiveDate to Bill Estimate. Add GroupSharingPreference and CostCategoryGroupSharingPreferenceArn to Bill Scenario.
1 parent 1c6d3dd commit c04e086

24 files changed

+989
-225
lines changed

generator/ServiceModels/bcm-pricing-calculator/bcm-pricing-calculator-2024-06-19.api.json

Lines changed: 83 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,8 @@
315315
{"shape":"ResourceNotFoundException"},
316316
{"shape":"AccessDeniedException"},
317317
{"shape":"ThrottlingException"}
318-
]
318+
],
319+
"readonly":true
319320
},
320321
"GetBillScenario":{
321322
"name":"GetBillScenario",
@@ -332,7 +333,8 @@
332333
{"shape":"ResourceNotFoundException"},
333334
{"shape":"AccessDeniedException"},
334335
{"shape":"ThrottlingException"}
335-
]
336+
],
337+
"readonly":true
336338
},
337339
"GetPreferences":{
338340
"name":"GetPreferences",
@@ -348,7 +350,8 @@
348350
{"shape":"InternalServerException"},
349351
{"shape":"AccessDeniedException"},
350352
{"shape":"ThrottlingException"}
351-
]
353+
],
354+
"readonly":true
352355
},
353356
"GetWorkloadEstimate":{
354357
"name":"GetWorkloadEstimate",
@@ -365,7 +368,8 @@
365368
{"shape":"ResourceNotFoundException"},
366369
{"shape":"AccessDeniedException"},
367370
{"shape":"ThrottlingException"}
368-
]
371+
],
372+
"readonly":true
369373
},
370374
"ListBillEstimateCommitments":{
371375
"name":"ListBillEstimateCommitments",
@@ -382,7 +386,8 @@
382386
{"shape":"ResourceNotFoundException"},
383387
{"shape":"AccessDeniedException"},
384388
{"shape":"ThrottlingException"}
385-
]
389+
],
390+
"readonly":true
386391
},
387392
"ListBillEstimateInputCommitmentModifications":{
388393
"name":"ListBillEstimateInputCommitmentModifications",
@@ -399,7 +404,8 @@
399404
{"shape":"ResourceNotFoundException"},
400405
{"shape":"AccessDeniedException"},
401406
{"shape":"ThrottlingException"}
402-
]
407+
],
408+
"readonly":true
403409
},
404410
"ListBillEstimateInputUsageModifications":{
405411
"name":"ListBillEstimateInputUsageModifications",
@@ -416,7 +422,8 @@
416422
{"shape":"ResourceNotFoundException"},
417423
{"shape":"AccessDeniedException"},
418424
{"shape":"ThrottlingException"}
419-
]
425+
],
426+
"readonly":true
420427
},
421428
"ListBillEstimateLineItems":{
422429
"name":"ListBillEstimateLineItems",
@@ -433,7 +440,8 @@
433440
{"shape":"ResourceNotFoundException"},
434441
{"shape":"AccessDeniedException"},
435442
{"shape":"ThrottlingException"}
436-
]
443+
],
444+
"readonly":true
437445
},
438446
"ListBillEstimates":{
439447
"name":"ListBillEstimates",
@@ -449,7 +457,8 @@
449457
{"shape":"InternalServerException"},
450458
{"shape":"AccessDeniedException"},
451459
{"shape":"ThrottlingException"}
452-
]
460+
],
461+
"readonly":true
453462
},
454463
"ListBillScenarioCommitmentModifications":{
455464
"name":"ListBillScenarioCommitmentModifications",
@@ -466,7 +475,8 @@
466475
{"shape":"ResourceNotFoundException"},
467476
{"shape":"AccessDeniedException"},
468477
{"shape":"ThrottlingException"}
469-
]
478+
],
479+
"readonly":true
470480
},
471481
"ListBillScenarioUsageModifications":{
472482
"name":"ListBillScenarioUsageModifications",
@@ -483,7 +493,8 @@
483493
{"shape":"ResourceNotFoundException"},
484494
{"shape":"AccessDeniedException"},
485495
{"shape":"ThrottlingException"}
486-
]
496+
],
497+
"readonly":true
487498
},
488499
"ListBillScenarios":{
489500
"name":"ListBillScenarios",
@@ -499,7 +510,8 @@
499510
{"shape":"InternalServerException"},
500511
{"shape":"AccessDeniedException"},
501512
{"shape":"ThrottlingException"}
502-
]
513+
],
514+
"readonly":true
503515
},
504516
"ListTagsForResource":{
505517
"name":"ListTagsForResource",
@@ -515,7 +527,8 @@
515527
{"shape":"ResourceNotFoundException"},
516528
{"shape":"AccessDeniedException"},
517529
{"shape":"ThrottlingException"}
518-
]
530+
],
531+
"readonly":true
519532
},
520533
"ListWorkloadEstimateUsage":{
521534
"name":"ListWorkloadEstimateUsage",
@@ -532,7 +545,8 @@
532545
{"shape":"ResourceNotFoundException"},
533546
{"shape":"AccessDeniedException"},
534547
{"shape":"ThrottlingException"}
535-
]
548+
],
549+
"readonly":true
536550
},
537551
"ListWorkloadEstimates":{
538552
"name":"ListWorkloadEstimates",
@@ -548,7 +562,8 @@
548562
{"shape":"InternalServerException"},
549563
{"shape":"AccessDeniedException"},
550564
{"shape":"ThrottlingException"}
551-
]
565+
],
566+
"readonly":true
552567
},
553568
"TagResource":{
554569
"name":"TagResource",
@@ -1421,7 +1436,9 @@
14211436
"status":{"shape":"BillScenarioStatus"},
14221437
"createdAt":{"shape":"Timestamp"},
14231438
"expiresAt":{"shape":"Timestamp"},
1424-
"failureMessage":{"shape":"String"}
1439+
"failureMessage":{"shape":"String"},
1440+
"groupSharingPreference":{"shape":"GroupSharingPreferenceEnum"},
1441+
"costCategoryGroupSharingPreferenceArn":{"shape":"CostCategoryArn"}
14251442
}
14261443
},
14271444
"BillScenarioUsageModificationItem":{
@@ -1475,6 +1492,12 @@
14751492
"currency":{"shape":"CurrencyCode"}
14761493
}
14771494
},
1495+
"CostCategoryArn":{
1496+
"type":"string",
1497+
"max":2048,
1498+
"min":20,
1499+
"pattern":"arn:aws[-a-z0-9]*:ce::[0-9]{12}:costcategory/[a-f0-9-]{36}"
1500+
},
14781501
"CostDifference":{
14791502
"type":"structure",
14801503
"members":{
@@ -1509,7 +1532,10 @@
15091532
"billInterval":{"shape":"BillInterval"},
15101533
"costSummary":{"shape":"BillEstimateCostSummary"},
15111534
"createdAt":{"shape":"Timestamp"},
1512-
"expiresAt":{"shape":"Timestamp"}
1535+
"expiresAt":{"shape":"Timestamp"},
1536+
"groupSharingPreference":{"shape":"GroupSharingPreferenceEnum"},
1537+
"costCategoryGroupSharingPreferenceArn":{"shape":"CostCategoryArn"},
1538+
"costCategoryGroupSharingPreferenceEffectiveDate":{"shape":"Timestamp"}
15131539
}
15141540
},
15151541
"CreateBillScenarioRequest":{
@@ -1521,7 +1547,9 @@
15211547
"shape":"ClientToken",
15221548
"idempotencyToken":true
15231549
},
1524-
"tags":{"shape":"Tags"}
1550+
"tags":{"shape":"Tags"},
1551+
"groupSharingPreference":{"shape":"GroupSharingPreferenceEnum"},
1552+
"costCategoryGroupSharingPreferenceArn":{"shape":"CostCategoryArn"}
15251553
}
15261554
},
15271555
"CreateBillScenarioResponse":{
@@ -1534,7 +1562,9 @@
15341562
"status":{"shape":"BillScenarioStatus"},
15351563
"createdAt":{"shape":"Timestamp"},
15361564
"expiresAt":{"shape":"Timestamp"},
1537-
"failureMessage":{"shape":"String"}
1565+
"failureMessage":{"shape":"String"},
1566+
"groupSharingPreference":{"shape":"GroupSharingPreferenceEnum"},
1567+
"costCategoryGroupSharingPreferenceArn":{"shape":"CostCategoryArn"}
15381568
}
15391569
},
15401570
"CreateWorkloadEstimateRequest":{
@@ -1587,8 +1617,7 @@
15871617
},
15881618
"DeleteBillEstimateResponse":{
15891619
"type":"structure",
1590-
"members":{
1591-
}
1620+
"members":{}
15921621
},
15931622
"DeleteBillScenarioRequest":{
15941623
"type":"structure",
@@ -1599,8 +1628,7 @@
15991628
},
16001629
"DeleteBillScenarioResponse":{
16011630
"type":"structure",
1602-
"members":{
1603-
}
1631+
"members":{}
16041632
},
16051633
"DeleteWorkloadEstimateRequest":{
16061634
"type":"structure",
@@ -1611,8 +1639,7 @@
16111639
},
16121640
"DeleteWorkloadEstimateResponse":{
16131641
"type":"structure",
1614-
"members":{
1615-
}
1642+
"members":{}
16161643
},
16171644
"Double":{
16181645
"type":"double",
@@ -1666,7 +1693,10 @@
16661693
"billInterval":{"shape":"BillInterval"},
16671694
"costSummary":{"shape":"BillEstimateCostSummary"},
16681695
"createdAt":{"shape":"Timestamp"},
1669-
"expiresAt":{"shape":"Timestamp"}
1696+
"expiresAt":{"shape":"Timestamp"},
1697+
"groupSharingPreference":{"shape":"GroupSharingPreferenceEnum"},
1698+
"costCategoryGroupSharingPreferenceArn":{"shape":"CostCategoryArn"},
1699+
"costCategoryGroupSharingPreferenceEffectiveDate":{"shape":"Timestamp"}
16701700
}
16711701
},
16721702
"GetBillScenarioRequest":{
@@ -1686,13 +1716,14 @@
16861716
"status":{"shape":"BillScenarioStatus"},
16871717
"createdAt":{"shape":"Timestamp"},
16881718
"expiresAt":{"shape":"Timestamp"},
1689-
"failureMessage":{"shape":"String"}
1719+
"failureMessage":{"shape":"String"},
1720+
"groupSharingPreference":{"shape":"GroupSharingPreferenceEnum"},
1721+
"costCategoryGroupSharingPreferenceArn":{"shape":"CostCategoryArn"}
16901722
}
16911723
},
16921724
"GetPreferencesRequest":{
16931725
"type":"structure",
1694-
"members":{
1695-
}
1726+
"members":{}
16961727
},
16971728
"GetPreferencesResponse":{
16981729
"type":"structure",
@@ -1725,6 +1756,14 @@
17251756
"failureMessage":{"shape":"String"}
17261757
}
17271758
},
1759+
"GroupSharingPreferenceEnum":{
1760+
"type":"string",
1761+
"enum":[
1762+
"OPEN",
1763+
"PRIORITIZED",
1764+
"RESTRICTED"
1765+
]
1766+
},
17281767
"HistoricalUsageEntity":{
17291768
"type":"structure",
17301769
"required":[
@@ -1955,7 +1994,9 @@
19551994
"type":"string",
19561995
"enum":[
19571996
"STATUS",
1958-
"NAME"
1997+
"NAME",
1998+
"GROUP_SHARING_PREFERENCE",
1999+
"COST_CATEGORY_ARN"
19592000
]
19602001
},
19612002
"ListBillScenariosFilterValues":{
@@ -2250,8 +2291,7 @@
22502291
},
22512292
"TagResourceResponse":{
22522293
"type":"structure",
2253-
"members":{
2254-
}
2294+
"members":{}
22552295
},
22562296
"Tags":{
22572297
"type":"map",
@@ -2285,8 +2325,7 @@
22852325
},
22862326
"UntagResourceResponse":{
22872327
"type":"structure",
2288-
"members":{
2289-
}
2328+
"members":{}
22902329
},
22912330
"UpdateBillEstimateRequest":{
22922331
"type":"structure",
@@ -2308,7 +2347,10 @@
23082347
"billInterval":{"shape":"BillInterval"},
23092348
"costSummary":{"shape":"BillEstimateCostSummary"},
23102349
"createdAt":{"shape":"Timestamp"},
2311-
"expiresAt":{"shape":"Timestamp"}
2350+
"expiresAt":{"shape":"Timestamp"},
2351+
"groupSharingPreference":{"shape":"GroupSharingPreferenceEnum"},
2352+
"costCategoryGroupSharingPreferenceArn":{"shape":"CostCategoryArn"},
2353+
"costCategoryGroupSharingPreferenceEffectiveDate":{"shape":"Timestamp"}
23122354
}
23132355
},
23142356
"UpdateBillScenarioRequest":{
@@ -2317,7 +2359,9 @@
23172359
"members":{
23182360
"identifier":{"shape":"ResourceId"},
23192361
"name":{"shape":"BillScenarioName"},
2320-
"expiresAt":{"shape":"Timestamp"}
2362+
"expiresAt":{"shape":"Timestamp"},
2363+
"groupSharingPreference":{"shape":"GroupSharingPreferenceEnum"},
2364+
"costCategoryGroupSharingPreferenceArn":{"shape":"CostCategoryArn"}
23212365
}
23222366
},
23232367
"UpdateBillScenarioResponse":{
@@ -2330,7 +2374,9 @@
23302374
"status":{"shape":"BillScenarioStatus"},
23312375
"createdAt":{"shape":"Timestamp"},
23322376
"expiresAt":{"shape":"Timestamp"},
2333-
"failureMessage":{"shape":"String"}
2377+
"failureMessage":{"shape":"String"},
2378+
"groupSharingPreference":{"shape":"GroupSharingPreferenceEnum"},
2379+
"costCategoryGroupSharingPreferenceArn":{"shape":"CostCategoryArn"}
23342380
}
23352381
},
23362382
"UpdatePreferencesRequest":{

0 commit comments

Comments
 (0)