Skip to content

Commit 745f61c

Browse files
Add AFTER_DISCOUNTS_AND_COMMITMENTS to Workload Estimate Rate Type. Set ListWorkLoadEstimateUsage maxResults range to minimum of 0 and maximum of 300.
1 parent 2f48b33 commit 745f61c

15 files changed

+61
-20
lines changed

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

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2039,7 +2039,7 @@
20392039
"workloadEstimateId":{"shape":"ResourceId"},
20402040
"filters":{"shape":"ListUsageFilters"},
20412041
"nextToken":{"shape":"NextPageToken"},
2042-
"maxResults":{"shape":"MaxResults"}
2042+
"maxResults":{"shape":"WorkloadEstimateUsageMaxResults"}
20432043
}
20442044
},
20452045
"ListWorkloadEstimateUsageResponse":{
@@ -2104,7 +2104,8 @@
21042104
"MaxResults":{
21052105
"type":"integer",
21062106
"box":true,
2107-
"max":25
2107+
"max":25,
2108+
"min":0
21082109
},
21092110
"NegateReservedInstanceAction":{
21102111
"type":"structure",
@@ -2141,7 +2142,8 @@
21412142
"type":"string",
21422143
"enum":[
21432144
"BEFORE_DISCOUNTS",
2144-
"AFTER_DISCOUNTS"
2145+
"AFTER_DISCOUNTS",
2146+
"AFTER_DISCOUNTS_AND_COMMITMENTS"
21452147
]
21462148
},
21472149
"RateTypes":{
@@ -2478,7 +2480,8 @@
24782480
"type":"string",
24792481
"enum":[
24802482
"BEFORE_DISCOUNTS",
2481-
"AFTER_DISCOUNTS"
2483+
"AFTER_DISCOUNTS",
2484+
"AFTER_DISCOUNTS_AND_COMMITMENTS"
24822485
]
24832486
},
24842487
"WorkloadEstimateStatus":{
@@ -2545,6 +2548,12 @@
25452548
"type":"list",
25462549
"member":{"shape":"WorkloadEstimateUsageItem"}
25472550
},
2551+
"WorkloadEstimateUsageMaxResults":{
2552+
"type":"integer",
2553+
"box":true,
2554+
"max":300,
2555+
"min":0
2556+
},
25482557
"WorkloadEstimateUsageQuantity":{
25492558
"type":"structure",
25502559
"members":{

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,6 @@
11241124
"ListBillScenarioCommitmentModificationsRequest$maxResults": "<p> The maximum number of results to return per page. </p>",
11251125
"ListBillScenarioUsageModificationsRequest$maxResults": "<p> The maximum number of results to return per page. </p>",
11261126
"ListBillScenariosRequest$maxResults": "<p> The maximum number of results to return per page. </p>",
1127-
"ListWorkloadEstimateUsageRequest$maxResults": "<p> The maximum number of results to return per page. </p>",
11281127
"ListWorkloadEstimatesRequest$maxResults": "<p> The maximum number of results to return per page. </p>"
11291128
}
11301129
},
@@ -1699,6 +1698,12 @@
16991698
"ListWorkloadEstimateUsageResponse$items": "<p> The list of usage items associated with the workload estimate. </p>"
17001699
}
17011700
},
1701+
"WorkloadEstimateUsageMaxResults": {
1702+
"base": null,
1703+
"refs": {
1704+
"ListWorkloadEstimateUsageRequest$maxResults": "<p> The maximum number of results to return per page. </p>"
1705+
}
1706+
},
17021707
"WorkloadEstimateUsageQuantity": {
17031708
"base": "<p> Represents a usage quantity for a workload estimate. </p>",
17041709
"refs": {

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

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3182,7 +3182,7 @@
31823182
"documentation":"<p> A token to retrieve the next page of results. </p>"
31833183
},
31843184
"maxResults":{
3185-
"shape":"MaxResults",
3185+
"shape":"WorkloadEstimateUsageMaxResults",
31863186
"documentation":"<p> The maximum number of results to return per page. </p>"
31873187
}
31883188
}
@@ -3286,7 +3286,8 @@
32863286
"MaxResults":{
32873287
"type":"integer",
32883288
"box":true,
3289-
"max":25
3289+
"max":25,
3290+
"min":0
32903291
},
32913292
"NegateReservedInstanceAction":{
32923293
"type":"structure",
@@ -3331,7 +3332,8 @@
33313332
"type":"string",
33323333
"enum":[
33333334
"BEFORE_DISCOUNTS",
3334-
"AFTER_DISCOUNTS"
3335+
"AFTER_DISCOUNTS",
3336+
"AFTER_DISCOUNTS_AND_COMMITMENTS"
33353337
]
33363338
},
33373339
"RateTypes":{
@@ -3869,7 +3871,8 @@
38693871
"type":"string",
38703872
"enum":[
38713873
"BEFORE_DISCOUNTS",
3872-
"AFTER_DISCOUNTS"
3874+
"AFTER_DISCOUNTS",
3875+
"AFTER_DISCOUNTS_AND_COMMITMENTS"
38733876
]
38743877
},
38753878
"WorkloadEstimateStatus":{
@@ -4004,6 +4007,12 @@
40044007
"type":"list",
40054008
"member":{"shape":"WorkloadEstimateUsageItem"}
40064009
},
4010+
"WorkloadEstimateUsageMaxResults":{
4011+
"type":"integer",
4012+
"box":true,
4013+
"max":300,
4014+
"min":0
4015+
},
40074016
"WorkloadEstimateUsageQuantity":{
40084017
"type":"structure",
40094018
"members":{

sdk/code-analysis/ServiceAnalysis/BCMPricingCalculator/Generated/PropertyValueRules.xml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@
230230
</property-value-rule>
231231
<property-value-rule>
232232
<property>Amazon.BCMPricingCalculator.Model.ListBillEstimateCommitmentsRequest.MaxResults</property>
233+
<min>0</min>
233234
<max>25</max>
234235
</property-value-rule>
235236
<property-value-rule>
@@ -252,6 +253,7 @@
252253
</property-value-rule>
253254
<property-value-rule>
254255
<property>Amazon.BCMPricingCalculator.Model.ListBillEstimateInputCommitmentModificationsRequest.MaxResults</property>
256+
<min>0</min>
255257
<max>25</max>
256258
</property-value-rule>
257259
<property-value-rule>
@@ -274,6 +276,7 @@
274276
</property-value-rule>
275277
<property-value-rule>
276278
<property>Amazon.BCMPricingCalculator.Model.ListBillEstimateInputUsageModificationsRequest.MaxResults</property>
279+
<min>0</min>
277280
<max>25</max>
278281
</property-value-rule>
279282
<property-value-rule>
@@ -296,6 +299,7 @@
296299
</property-value-rule>
297300
<property-value-rule>
298301
<property>Amazon.BCMPricingCalculator.Model.ListBillEstimateLineItemsRequest.MaxResults</property>
302+
<min>0</min>
299303
<max>25</max>
300304
</property-value-rule>
301305
<property-value-rule>
@@ -312,6 +316,7 @@
312316
</property-value-rule>
313317
<property-value-rule>
314318
<property>Amazon.BCMPricingCalculator.Model.ListBillEstimatesRequest.MaxResults</property>
319+
<min>0</min>
315320
<max>25</max>
316321
</property-value-rule>
317322
<property-value-rule>
@@ -334,6 +339,7 @@
334339
</property-value-rule>
335340
<property-value-rule>
336341
<property>Amazon.BCMPricingCalculator.Model.ListBillScenarioCommitmentModificationsRequest.MaxResults</property>
342+
<min>0</min>
337343
<max>25</max>
338344
</property-value-rule>
339345
<property-value-rule>
@@ -350,6 +356,7 @@
350356
</property-value-rule>
351357
<property-value-rule>
352358
<property>Amazon.BCMPricingCalculator.Model.ListBillScenariosRequest.MaxResults</property>
359+
<min>0</min>
353360
<max>25</max>
354361
</property-value-rule>
355362
<property-value-rule>
@@ -372,6 +379,7 @@
372379
</property-value-rule>
373380
<property-value-rule>
374381
<property>Amazon.BCMPricingCalculator.Model.ListBillScenarioUsageModificationsRequest.MaxResults</property>
382+
<min>0</min>
375383
<max>25</max>
376384
</property-value-rule>
377385
<property-value-rule>
@@ -394,6 +402,7 @@
394402
</property-value-rule>
395403
<property-value-rule>
396404
<property>Amazon.BCMPricingCalculator.Model.ListWorkloadEstimatesRequest.MaxResults</property>
405+
<min>0</min>
397406
<max>25</max>
398407
</property-value-rule>
399408
<property-value-rule>
@@ -410,7 +419,8 @@
410419
</property-value-rule>
411420
<property-value-rule>
412421
<property>Amazon.BCMPricingCalculator.Model.ListWorkloadEstimateUsageRequest.MaxResults</property>
413-
<max>25</max>
422+
<min>0</min>
423+
<max>300</max>
414424
</property-value-rule>
415425
<property-value-rule>
416426
<property>Amazon.BCMPricingCalculator.Model.ListWorkloadEstimateUsageRequest.NextToken</property>

sdk/src/Services/BCMPricingCalculator/Generated/Model/ListBillEstimateCommitmentsRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ internal bool IsSetBillEstimateId()
6464
/// The maximum number of results to return per page.
6565
/// </para>
6666
/// </summary>
67-
[AWSProperty(Max=25)]
67+
[AWSProperty(Min=0, Max=25)]
6868
public int? MaxResults
6969
{
7070
get { return this._maxResults; }

sdk/src/Services/BCMPricingCalculator/Generated/Model/ListBillEstimateInputCommitmentModificationsRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ internal bool IsSetBillEstimateId()
6565
/// The maximum number of results to return per page.
6666
/// </para>
6767
/// </summary>
68-
[AWSProperty(Max=25)]
68+
[AWSProperty(Min=0, Max=25)]
6969
public int? MaxResults
7070
{
7171
get { return this._maxResults; }

sdk/src/Services/BCMPricingCalculator/Generated/Model/ListBillEstimateInputUsageModificationsRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ internal bool IsSetFilters()
8484
/// The maximum number of results to return per page.
8585
/// </para>
8686
/// </summary>
87-
[AWSProperty(Max=25)]
87+
[AWSProperty(Min=0, Max=25)]
8888
public int? MaxResults
8989
{
9090
get { return this._maxResults; }

sdk/src/Services/BCMPricingCalculator/Generated/Model/ListBillEstimateLineItemsRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ internal bool IsSetFilters()
8383
/// The maximum number of results to return per page.
8484
/// </para>
8585
/// </summary>
86-
[AWSProperty(Max=25)]
86+
[AWSProperty(Min=0, Max=25)]
8787
public int? MaxResults
8888
{
8989
get { return this._maxResults; }

sdk/src/Services/BCMPricingCalculator/Generated/Model/ListBillEstimatesRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ internal bool IsSetFilters()
101101
/// The maximum number of results to return per page.
102102
/// </para>
103103
/// </summary>
104-
[AWSProperty(Max=25)]
104+
[AWSProperty(Min=0, Max=25)]
105105
public int? MaxResults
106106
{
107107
get { return this._maxResults; }

sdk/src/Services/BCMPricingCalculator/Generated/Model/ListBillScenarioCommitmentModificationsRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ internal bool IsSetBillScenarioId()
6565
/// The maximum number of results to return per page.
6666
/// </para>
6767
/// </summary>
68-
[AWSProperty(Max=25)]
68+
[AWSProperty(Min=0, Max=25)]
6969
public int? MaxResults
7070
{
7171
get { return this._maxResults; }

0 commit comments

Comments
 (0)