Skip to content

Commit 09de4d5

Browse files
Update DescribeBudgets and DescribeBudgetNotificationsForAccount MaxResults limit to 1000.
1 parent ba33f50 commit 09de4d5

10 files changed

+64
-37
lines changed

generator/ServiceModels/budgets/budgets-2016-10-20.api.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@
598598
"BudgetNotificationsForAccountList":{
599599
"type":"list",
600600
"member":{"shape":"BudgetNotificationsForAccount"},
601-
"max":50
601+
"max":1000
602602
},
603603
"BudgetPerformanceHistory":{
604604
"type":"structure",
@@ -1012,7 +1012,7 @@
10121012
"required":["AccountId"],
10131013
"members":{
10141014
"AccountId":{"shape":"AccountId"},
1015-
"MaxResults":{"shape":"MaxResults"},
1015+
"MaxResults":{"shape":"MaxResultsDescribeBudgets"},
10161016
"NextToken":{"shape":"GenericString"}
10171017
}
10181018
},
@@ -1217,7 +1217,13 @@
12171217
"MaxResultsBudgetNotifications":{
12181218
"type":"integer",
12191219
"box":true,
1220-
"max":50,
1220+
"max":1000,
1221+
"min":1
1222+
},
1223+
"MaxResultsDescribeBudgets":{
1224+
"type":"integer",
1225+
"box":true,
1226+
"max":1000,
12211227
"min":1
12221228
},
12231229
"NotFoundException":{

generator/ServiceModels/budgets/budgets-2016-10-20.docs.json

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"DescribeBudgetNotificationsForAccountRequest$AccountId": null,
5454
"DescribeBudgetPerformanceHistoryRequest$AccountId": null,
5555
"DescribeBudgetRequest$AccountId": "<p>The <code>accountId</code> that is associated with the budget that you want a description of.</p>",
56-
"DescribeBudgetsRequest$AccountId": "<p>The <code>accountId</code> that is associated with the budgets that you want descriptions of.</p>",
56+
"DescribeBudgetsRequest$AccountId": "<p>The <code>accountId</code> that is associated with the budgets that you want to describe.</p>",
5757
"DescribeNotificationsForBudgetRequest$AccountId": "<p>The <code>accountId</code> that is associated with the budget whose notifications you want descriptions of.</p>",
5858
"DescribeSubscribersForNotificationRequest$AccountId": "<p>The <code>accountId</code> that is associated with the budget whose subscribers you want descriptions of.</p>",
5959
"ExecuteBudgetActionRequest$AccountId": null,
@@ -609,15 +609,20 @@
609609
"DescribeBudgetActionsForAccountRequest$MaxResults": null,
610610
"DescribeBudgetActionsForBudgetRequest$MaxResults": null,
611611
"DescribeBudgetPerformanceHistoryRequest$MaxResults": null,
612-
"DescribeBudgetsRequest$MaxResults": "<p>An optional integer that represents how many entries a paginated response contains. The maximum is 100.</p>",
613-
"DescribeNotificationsForBudgetRequest$MaxResults": "<p>An optional integer that represents how many entries a paginated response contains. The maximum is 100.</p>",
614-
"DescribeSubscribersForNotificationRequest$MaxResults": "<p>An optional integer that represents how many entries a paginated response contains. The maximum is 100.</p>"
612+
"DescribeNotificationsForBudgetRequest$MaxResults": "<p>An optional integer that represents how many entries a paginated response contains.</p>",
613+
"DescribeSubscribersForNotificationRequest$MaxResults": "<p>An optional integer that represents how many entries a paginated response contains.</p>"
615614
}
616615
},
617616
"MaxResultsBudgetNotifications": {
618617
"base": null,
619618
"refs": {
620-
"DescribeBudgetNotificationsForAccountRequest$MaxResults": "<p> An integer that shows how many budget name entries a paginated response contains. </p>"
619+
"DescribeBudgetNotificationsForAccountRequest$MaxResults": "<p> An integer that represents how many budgets a paginated response contains. The default is 50. </p>"
620+
}
621+
},
622+
"MaxResultsDescribeBudgets": {
623+
"base": null,
624+
"refs": {
625+
"DescribeBudgetsRequest$MaxResults": "<p>An integer that represents how many budgets a paginated response contains. The default is 100.</p>"
621626
}
622627
},
623628
"NotFoundException": {
@@ -759,7 +764,7 @@
759764
}
760765
},
761766
"Spend": {
762-
"base": "<p>The amount of cost or usage that's measured for a budget.</p> <p>For example, a <code>Spend</code> for <code>3 GB</code> of S3 usage has the following parameters:</p> <ul> <li> <p>An <code>Amount</code> of <code>3</code> </p> </li> <li> <p>A <code>unit</code> of <code>GB</code> </p> </li> </ul>",
767+
"base": "<p>The amount of cost or usage that's measured for a budget.</p> <p> <i>Cost example:</i> A <code>Spend</code> for <code>3 USD</code> of costs has the following parameters:</p> <ul> <li> <p>An <code>Amount</code> of <code>3</code> </p> </li> <li> <p>A <code>Unit</code> of <code>USD</code> </p> </li> </ul> <p> <i>Usage example:</i> A <code>Spend</code> for <code>3 GB</code> of S3 usage has the following parameters:</p> <ul> <li> <p>An <code>Amount</code> of <code>3</code> </p> </li> <li> <p>A <code>Unit</code> of <code>GB</code> </p> </li> </ul>",
763768
"refs": {
764769
"Budget$BudgetLimit": "<p>The total amount of cost, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage that you want to track with your budget.</p> <p> <code>BudgetLimit</code> is required for cost or usage budgets, but optional for RI or Savings Plans utilization or coverage budgets. RI and Savings Plans utilization or coverage budgets default to <code>100</code>. This is the only valid value for RI or Savings Plans utilization or coverage budgets. You can't use <code>BudgetLimit</code> with <code>PlannedBudgetLimits</code> for <code>CreateBudget</code> and <code>UpdateBudget</code> actions. </p>",
765770
"BudgetedAndActualAmounts$BudgetedAmount": "<p>The amount of cost or usage that you created the budget for.</p>",
@@ -851,7 +856,7 @@
851856
"UnitValue": {
852857
"base": "<p> A string that represents the spend unit of a budget. It can't be null or empty.</p>",
853858
"refs": {
854-
"Spend$Unit": "<p>The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP.</p>"
859+
"Spend$Unit": "<p>The unit of measurement that's used for the budget forecast, actual spend, or budget threshold.</p>"
855860
}
856861
},
857862
"UpdateBudgetActionRequest": {

generator/ServiceModels/budgets/budgets-2016-10-20.normal.json

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@
706706
"BudgetNotificationsForAccountList":{
707707
"type":"list",
708708
"member":{"shape":"BudgetNotificationsForAccount"},
709-
"max":50
709+
"max":1000
710710
},
711711
"BudgetPerformanceHistory":{
712712
"type":"structure",
@@ -1249,7 +1249,7 @@
12491249
"AccountId":{"shape":"AccountId"},
12501250
"MaxResults":{
12511251
"shape":"MaxResultsBudgetNotifications",
1252-
"documentation":"<p> An integer that shows how many budget name entries a paginated response contains. </p>"
1252+
"documentation":"<p> An integer that represents how many budgets a paginated response contains. The default is 50. </p>"
12531253
},
12541254
"NextToken":{"shape":"GenericString"}
12551255
}
@@ -1325,11 +1325,11 @@
13251325
"members":{
13261326
"AccountId":{
13271327
"shape":"AccountId",
1328-
"documentation":"<p>The <code>accountId</code> that is associated with the budgets that you want descriptions of.</p>"
1328+
"documentation":"<p>The <code>accountId</code> that is associated with the budgets that you want to describe.</p>"
13291329
},
13301330
"MaxResults":{
1331-
"shape":"MaxResults",
1332-
"documentation":"<p>An optional integer that represents how many entries a paginated response contains. The maximum is 100.</p>"
1331+
"shape":"MaxResultsDescribeBudgets",
1332+
"documentation":"<p>An integer that represents how many budgets a paginated response contains. The default is 100.</p>"
13331333
},
13341334
"NextToken":{
13351335
"shape":"GenericString",
@@ -1369,7 +1369,7 @@
13691369
},
13701370
"MaxResults":{
13711371
"shape":"MaxResults",
1372-
"documentation":"<p>An optional integer that represents how many entries a paginated response contains. The maximum is 100.</p>"
1372+
"documentation":"<p>An optional integer that represents how many entries a paginated response contains.</p>"
13731373
},
13741374
"NextToken":{
13751375
"shape":"GenericString",
@@ -1414,7 +1414,7 @@
14141414
},
14151415
"MaxResults":{
14161416
"shape":"MaxResults",
1417-
"documentation":"<p>An optional integer that represents how many entries a paginated response contains. The maximum is 100.</p>"
1417+
"documentation":"<p>An optional integer that represents how many entries a paginated response contains.</p>"
14181418
},
14191419
"NextToken":{
14201420
"shape":"GenericString",
@@ -1631,7 +1631,13 @@
16311631
"MaxResultsBudgetNotifications":{
16321632
"type":"integer",
16331633
"box":true,
1634-
"max":50,
1634+
"max":1000,
1635+
"min":1
1636+
},
1637+
"MaxResultsDescribeBudgets":{
1638+
"type":"integer",
1639+
"box":true,
1640+
"max":1000,
16351641
"min":1
16361642
},
16371643
"NotFoundException":{
@@ -1814,10 +1820,10 @@
18141820
},
18151821
"Unit":{
18161822
"shape":"UnitValue",
1817-
"documentation":"<p>The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP.</p>"
1823+
"documentation":"<p>The unit of measurement that's used for the budget forecast, actual spend, or budget threshold.</p>"
18181824
}
18191825
},
1820-
"documentation":"<p>The amount of cost or usage that's measured for a budget.</p> <p>For example, a <code>Spend</code> for <code>3 GB</code> of S3 usage has the following parameters:</p> <ul> <li> <p>An <code>Amount</code> of <code>3</code> </p> </li> <li> <p>A <code>unit</code> of <code>GB</code> </p> </li> </ul>"
1826+
"documentation":"<p>The amount of cost or usage that's measured for a budget.</p> <p> <i>Cost example:</i> A <code>Spend</code> for <code>3 USD</code> of costs has the following parameters:</p> <ul> <li> <p>An <code>Amount</code> of <code>3</code> </p> </li> <li> <p>A <code>Unit</code> of <code>USD</code> </p> </li> </ul> <p> <i>Usage example:</i> A <code>Spend</code> for <code>3 GB</code> of S3 usage has the following parameters:</p> <ul> <li> <p>An <code>Amount</code> of <code>3</code> </p> </li> <li> <p>A <code>Unit</code> of <code>GB</code> </p> </li> </ul>"
18211827
},
18221828
"SsmActionDefinition":{
18231829
"type":"structure",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
<property-value-rule>
271271
<property>Amazon.Budgets.Model.DescribeBudgetNotificationsForAccountRequest.MaxResults</property>
272272
<min>1</min>
273-
<max>50</max>
273+
<max>1000</max>
274274
</property-value-rule>
275275
<property-value-rule>
276276
<property>Amazon.Budgets.Model.DescribeBudgetNotificationsForAccountRequest.NextToken</property>
@@ -322,7 +322,7 @@
322322
<property-value-rule>
323323
<property>Amazon.Budgets.Model.DescribeBudgetsRequest.MaxResults</property>
324324
<min>1</min>
325-
<max>100</max>
325+
<max>1000</max>
326326
</property-value-rule>
327327
<property-value-rule>
328328
<property>Amazon.Budgets.Model.DescribeBudgetsRequest.NextToken</property>

sdk/src/Services/Budgets/Generated/Model/DescribeBudgetNotificationsForAccountRequest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ internal bool IsSetAccountId()
5757
/// <summary>
5858
/// Gets and sets the property MaxResults.
5959
/// <para>
60-
/// An integer that shows how many budget name entries a paginated response contains.
61-
///
60+
/// An integer that represents how many budgets a paginated response contains. The default
61+
/// is 50.
6262
/// </para>
6363
/// </summary>
64-
[AWSProperty(Min=1, Max=50)]
64+
[AWSProperty(Min=1, Max=1000)]
6565
public int MaxResults
6666
{
6767
get { return this._maxResults.GetValueOrDefault(); }

sdk/src/Services/Budgets/Generated/Model/DescribeBudgetNotificationsForAccountResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public partial class DescribeBudgetNotificationsForAccountResponse : AmazonWebSe
4242
/// A list of budget names and associated notifications for an account.
4343
/// </para>
4444
/// </summary>
45-
[AWSProperty(Max=50)]
45+
[AWSProperty(Max=1000)]
4646
public List<BudgetNotificationsForAccount> BudgetNotificationsForAccount
4747
{
4848
get { return this._budgetNotificationsForAccount; }

sdk/src/Services/Budgets/Generated/Model/DescribeBudgetsRequest.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ public partial class DescribeBudgetsRequest : AmazonBudgetsRequest
4949
/// <summary>
5050
/// Gets and sets the property AccountId.
5151
/// <para>
52-
/// The <code>accountId</code> that is associated with the budgets that you want descriptions
53-
/// of.
52+
/// The <code>accountId</code> that is associated with the budgets that you want to describe.
5453
/// </para>
5554
/// </summary>
5655
[AWSProperty(Required=true, Min=12, Max=12)]
@@ -69,11 +68,11 @@ internal bool IsSetAccountId()
6968
/// <summary>
7069
/// Gets and sets the property MaxResults.
7170
/// <para>
72-
/// An optional integer that represents how many entries a paginated response contains.
73-
/// The maximum is 100.
71+
/// An integer that represents how many budgets a paginated response contains. The default
72+
/// is 100.
7473
/// </para>
7574
/// </summary>
76-
[AWSProperty(Min=1, Max=100)]
75+
[AWSProperty(Min=1, Max=1000)]
7776
public int MaxResults
7877
{
7978
get { return this._maxResults.GetValueOrDefault(); }

sdk/src/Services/Budgets/Generated/Model/DescribeNotificationsForBudgetRequest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ internal bool IsSetBudgetName()
8282
/// Gets and sets the property MaxResults.
8383
/// <para>
8484
/// An optional integer that represents how many entries a paginated response contains.
85-
/// The maximum is 100.
8685
/// </para>
8786
/// </summary>
8887
[AWSProperty(Min=1, Max=100)]

sdk/src/Services/Budgets/Generated/Model/DescribeSubscribersForNotificationRequest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ internal bool IsSetBudgetName()
8383
/// Gets and sets the property MaxResults.
8484
/// <para>
8585
/// An optional integer that represents how many entries a paginated response contains.
86-
/// The maximum is 100.
8786
/// </para>
8887
/// </summary>
8988
[AWSProperty(Min=1, Max=100)]

sdk/src/Services/Budgets/Generated/Model/Spend.cs

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,29 @@ namespace Amazon.Budgets.Model
3333
///
3434
///
3535
/// <para>
36-
/// For example, a <code>Spend</code> for <code>3 GB</code> of S3 usage has the following
37-
/// parameters:
36+
/// <i>Cost example:</i> A <code>Spend</code> for <code>3 USD</code> of costs has the
37+
/// following parameters:
3838
/// </para>
3939
/// <ul> <li>
4040
/// <para>
4141
/// An <code>Amount</code> of <code>3</code>
4242
/// </para>
4343
/// </li> <li>
4444
/// <para>
45-
/// A <code>unit</code> of <code>GB</code>
45+
/// A <code>Unit</code> of <code>USD</code>
46+
/// </para>
47+
/// </li> </ul>
48+
/// <para>
49+
/// <i>Usage example:</i> A <code>Spend</code> for <code>3 GB</code> of S3 usage has
50+
/// the following parameters:
51+
/// </para>
52+
/// <ul> <li>
53+
/// <para>
54+
/// An <code>Amount</code> of <code>3</code>
55+
/// </para>
56+
/// </li> <li>
57+
/// <para>
58+
/// A <code>Unit</code> of <code>GB</code>
4659
/// </para>
4760
/// </li> </ul>
4861
/// </summary>
@@ -75,7 +88,7 @@ internal bool IsSetAmount()
7588
/// Gets and sets the property Unit.
7689
/// <para>
7790
/// The unit of measurement that's used for the budget forecast, actual spend, or budget
78-
/// threshold, such as USD or GBP.
91+
/// threshold.
7992
/// </para>
8093
/// </summary>
8194
[AWSProperty(Required=true, Min=1, Max=2147483647)]

0 commit comments

Comments
 (0)