Skip to content

Commit 8063bf0

Browse files
Updating the minimum for List APIs to be 1 (instead of 0)
1 parent a1a5364 commit 8063bf0

16 files changed

+35
-35
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2105,7 +2105,7 @@
21052105
"type":"integer",
21062106
"box":true,
21072107
"max":25,
2108-
"min":0
2108+
"min":1
21092109
},
21102110
"NegateReservedInstanceAction":{
21112111
"type":"structure",
@@ -2149,7 +2149,7 @@
21492149
"RateTypes":{
21502150
"type":"list",
21512151
"member":{"shape":"RateType"},
2152-
"max":2,
2152+
"max":3,
21532153
"min":1
21542154
},
21552155
"ReservedInstanceInstanceCount":{
@@ -2552,7 +2552,7 @@
25522552
"type":"integer",
25532553
"box":true,
25542554
"max":300,
2555-
"min":0
2555+
"min":1
25562556
},
25572557
"WorkloadEstimateUsageQuantity":{
25582558
"type":"structure",

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3287,7 +3287,7 @@
32873287
"type":"integer",
32883288
"box":true,
32893289
"max":25,
3290-
"min":0
3290+
"min":1
32913291
},
32923292
"NegateReservedInstanceAction":{
32933293
"type":"structure",
@@ -3339,7 +3339,7 @@
33393339
"RateTypes":{
33403340
"type":"list",
33413341
"member":{"shape":"RateType"},
3342-
"max":2,
3342+
"max":3,
33433343
"min":1
33443344
},
33453345
"ReservedInstanceInstanceCount":{
@@ -4011,7 +4011,7 @@
40114011
"type":"integer",
40124012
"box":true,
40134013
"max":300,
4014-
"min":0
4014+
"min":1
40154015
},
40164016
"WorkloadEstimateUsageQuantity":{
40174017
"type":"structure",

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
</property-value-rule>
231231
<property-value-rule>
232232
<property>Amazon.BCMPricingCalculator.Model.ListBillEstimateCommitmentsRequest.MaxResults</property>
233-
<min>0</min>
233+
<min>1</min>
234234
<max>25</max>
235235
</property-value-rule>
236236
<property-value-rule>
@@ -253,7 +253,7 @@
253253
</property-value-rule>
254254
<property-value-rule>
255255
<property>Amazon.BCMPricingCalculator.Model.ListBillEstimateInputCommitmentModificationsRequest.MaxResults</property>
256-
<min>0</min>
256+
<min>1</min>
257257
<max>25</max>
258258
</property-value-rule>
259259
<property-value-rule>
@@ -276,7 +276,7 @@
276276
</property-value-rule>
277277
<property-value-rule>
278278
<property>Amazon.BCMPricingCalculator.Model.ListBillEstimateInputUsageModificationsRequest.MaxResults</property>
279-
<min>0</min>
279+
<min>1</min>
280280
<max>25</max>
281281
</property-value-rule>
282282
<property-value-rule>
@@ -299,7 +299,7 @@
299299
</property-value-rule>
300300
<property-value-rule>
301301
<property>Amazon.BCMPricingCalculator.Model.ListBillEstimateLineItemsRequest.MaxResults</property>
302-
<min>0</min>
302+
<min>1</min>
303303
<max>25</max>
304304
</property-value-rule>
305305
<property-value-rule>
@@ -316,7 +316,7 @@
316316
</property-value-rule>
317317
<property-value-rule>
318318
<property>Amazon.BCMPricingCalculator.Model.ListBillEstimatesRequest.MaxResults</property>
319-
<min>0</min>
319+
<min>1</min>
320320
<max>25</max>
321321
</property-value-rule>
322322
<property-value-rule>
@@ -339,7 +339,7 @@
339339
</property-value-rule>
340340
<property-value-rule>
341341
<property>Amazon.BCMPricingCalculator.Model.ListBillScenarioCommitmentModificationsRequest.MaxResults</property>
342-
<min>0</min>
342+
<min>1</min>
343343
<max>25</max>
344344
</property-value-rule>
345345
<property-value-rule>
@@ -356,7 +356,7 @@
356356
</property-value-rule>
357357
<property-value-rule>
358358
<property>Amazon.BCMPricingCalculator.Model.ListBillScenariosRequest.MaxResults</property>
359-
<min>0</min>
359+
<min>1</min>
360360
<max>25</max>
361361
</property-value-rule>
362362
<property-value-rule>
@@ -379,7 +379,7 @@
379379
</property-value-rule>
380380
<property-value-rule>
381381
<property>Amazon.BCMPricingCalculator.Model.ListBillScenarioUsageModificationsRequest.MaxResults</property>
382-
<min>0</min>
382+
<min>1</min>
383383
<max>25</max>
384384
</property-value-rule>
385385
<property-value-rule>
@@ -402,7 +402,7 @@
402402
</property-value-rule>
403403
<property-value-rule>
404404
<property>Amazon.BCMPricingCalculator.Model.ListWorkloadEstimatesRequest.MaxResults</property>
405-
<min>0</min>
405+
<min>1</min>
406406
<max>25</max>
407407
</property-value-rule>
408408
<property-value-rule>
@@ -419,7 +419,7 @@
419419
</property-value-rule>
420420
<property-value-rule>
421421
<property>Amazon.BCMPricingCalculator.Model.ListWorkloadEstimateUsageRequest.MaxResults</property>
422-
<min>0</min>
422+
<min>1</min>
423423
<max>300</max>
424424
</property-value-rule>
425425
<property-value-rule>

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public partial class GetPreferencesResponse : AmazonWebServiceResponse
4444
/// The preferred rate types for the management account.
4545
/// </para>
4646
/// </summary>
47-
[AWSProperty(Min=1, Max=2)]
47+
[AWSProperty(Min=1, Max=3)]
4848
public List<string> ManagementAccountRateTypeSelections
4949
{
5050
get { return this._managementAccountRateTypeSelections; }
@@ -63,7 +63,7 @@ internal bool IsSetManagementAccountRateTypeSelections()
6363
/// The preferred rate types for member accounts.
6464
/// </para>
6565
/// </summary>
66-
[AWSProperty(Min=1, Max=2)]
66+
[AWSProperty(Min=1, Max=3)]
6767
public List<string> MemberAccountRateTypeSelections
6868
{
6969
get { return this._memberAccountRateTypeSelections; }
@@ -82,7 +82,7 @@ internal bool IsSetMemberAccountRateTypeSelections()
8282
/// The preferred rate types for a standalone account.
8383
/// </para>
8484
/// </summary>
85-
[AWSProperty(Min=1, Max=2)]
85+
[AWSProperty(Min=1, Max=3)]
8686
public List<string> StandaloneAccountRateTypeSelections
8787
{
8888
get { return this._standaloneAccountRateTypeSelections; }

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(Min=0, Max=25)]
67+
[AWSProperty(Min=1, Max=25)]
6868
public int MaxResults
6969
{
7070
get { return this._maxResults.GetValueOrDefault(); }

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(Min=0, Max=25)]
68+
[AWSProperty(Min=1, Max=25)]
6969
public int MaxResults
7070
{
7171
get { return this._maxResults.GetValueOrDefault(); }

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(Min=0, Max=25)]
87+
[AWSProperty(Min=1, Max=25)]
8888
public int MaxResults
8989
{
9090
get { return this._maxResults.GetValueOrDefault(); }

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(Min=0, Max=25)]
86+
[AWSProperty(Min=1, Max=25)]
8787
public int MaxResults
8888
{
8989
get { return this._maxResults.GetValueOrDefault(); }

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(Min=0, Max=25)]
104+
[AWSProperty(Min=1, Max=25)]
105105
public int MaxResults
106106
{
107107
get { return this._maxResults.GetValueOrDefault(); }

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(Min=0, Max=25)]
68+
[AWSProperty(Min=1, Max=25)]
6969
public int MaxResults
7070
{
7171
get { return this._maxResults.GetValueOrDefault(); }

0 commit comments

Comments
 (0)