Skip to content

Commit b88ea7e

Browse files
author
awstools
committed
feat(client-budgets): Update DescribeBudgets and DescribeBudgetNotificationsForAccount MaxResults limit to 1000.
1 parent 1f7b366 commit b88ea7e

File tree

2 files changed

+49
-24
lines changed

2 files changed

+49
-24
lines changed

clients/client-budgets/src/models/models_0.ts

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -490,15 +490,29 @@ export interface AutoAdjustData {
490490
/**
491491
* @public
492492
* <p>The amount of cost or usage that's measured for a budget.</p>
493-
* <p>For example, a <code>Spend</code> for <code>3 GB</code> of S3 usage has the following
494-
* parameters:</p>
493+
* <p>
494+
* <i>Cost example:</i> A <code>Spend</code> for <code>3 USD</code> of
495+
* costs has the following parameters:</p>
496+
* <ul>
497+
* <li>
498+
* <p>An <code>Amount</code> of <code>3</code>
499+
* </p>
500+
* </li>
501+
* <li>
502+
* <p>A <code>Unit</code> of <code>USD</code>
503+
* </p>
504+
* </li>
505+
* </ul>
506+
* <p>
507+
* <i>Usage example:</i> A <code>Spend</code> for <code>3 GB</code> of S3
508+
* usage has the following parameters:</p>
495509
* <ul>
496510
* <li>
497511
* <p>An <code>Amount</code> of <code>3</code>
498512
* </p>
499513
* </li>
500514
* <li>
501-
* <p>A <code>unit</code> of <code>GB</code>
515+
* <p>A <code>Unit</code> of <code>GB</code>
502516
* </p>
503517
* </li>
504518
* </ul>
@@ -514,7 +528,7 @@ export interface Spend {
514528
/**
515529
* @public
516530
* <p>The unit of measurement that's used for the budget forecast, actual spend, or budget
517-
* threshold, such as USD or GBP.</p>
531+
* threshold.</p>
518532
*/
519533
Unit: string | undefined;
520534
}
@@ -1728,9 +1742,8 @@ export interface DescribeBudgetNotificationsForAccountRequest {
17281742

17291743
/**
17301744
* @public
1731-
* <p>
1732-
* An integer that shows how many budget name entries a paginated response contains.
1733-
* </p>
1745+
* <p> An integer that represents how many budgets a paginated response contains. The default is
1746+
* 50. </p>
17341747
*/
17351748
MaxResults?: number;
17361749

@@ -1938,13 +1951,15 @@ export interface DescribeBudgetPerformanceHistoryResponse {
19381951
export interface DescribeBudgetsRequest {
19391952
/**
19401953
* @public
1941-
* <p>The <code>accountId</code> that is associated with the budgets that you want descriptions of.</p>
1954+
* <p>The <code>accountId</code> that is associated with the budgets that you want to
1955+
* describe.</p>
19421956
*/
19431957
AccountId: string | undefined;
19441958

19451959
/**
19461960
* @public
1947-
* <p>An optional integer that represents how many entries a paginated response contains. The maximum is 100.</p>
1961+
* <p>An integer that represents how many budgets a paginated response contains. The default is
1962+
* 100.</p>
19481963
*/
19491964
MaxResults?: number;
19501965

@@ -1980,7 +1995,8 @@ export interface DescribeBudgetsResponse {
19801995
export interface DescribeNotificationsForBudgetRequest {
19811996
/**
19821997
* @public
1983-
* <p>The <code>accountId</code> that is associated with the budget whose notifications you want descriptions of.</p>
1998+
* <p>The <code>accountId</code> that is associated with the budget whose notifications you want
1999+
* descriptions of.</p>
19842000
*/
19852001
AccountId: string | undefined;
19862002

@@ -1992,7 +2008,7 @@ export interface DescribeNotificationsForBudgetRequest {
19922008

19932009
/**
19942010
* @public
1995-
* <p>An optional integer that represents how many entries a paginated response contains. The maximum is 100.</p>
2011+
* <p>An optional integer that represents how many entries a paginated response contains.</p>
19962012
*/
19972013
MaxResults?: number;
19982014

@@ -2046,7 +2062,7 @@ export interface DescribeSubscribersForNotificationRequest {
20462062

20472063
/**
20482064
* @public
2049-
* <p>An optional integer that represents how many entries a paginated response contains. The maximum is 100.</p>
2065+
* <p>An optional integer that represents how many entries a paginated response contains.</p>
20502066
*/
20512067
MaxResults?: number;
20522068

codegen/sdk-codegen/aws-models/budgets.json

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,7 @@
14061406
"traits": {
14071407
"smithy.api#length": {
14081408
"min": 0,
1409-
"max": 50
1409+
"max": 1000
14101410
}
14111411
}
14121412
},
@@ -2756,7 +2756,7 @@
27562756
"MaxResults": {
27572757
"target": "com.amazonaws.budgets#MaxResultsBudgetNotifications",
27582758
"traits": {
2759-
"smithy.api#documentation": "<p>\n\t\t\tAn integer that shows how many budget name entries a paginated response contains.\n\t\t</p>"
2759+
"smithy.api#documentation": "<p> An integer that represents how many budgets a paginated response contains. The default is\n\t\t\t50. </p>"
27602760
}
27612761
},
27622762
"NextToken": {
@@ -2958,14 +2958,14 @@
29582958
"AccountId": {
29592959
"target": "com.amazonaws.budgets#AccountId",
29602960
"traits": {
2961-
"smithy.api#documentation": "<p>The <code>accountId</code> that is associated with the budgets that you want descriptions of.</p>",
2961+
"smithy.api#documentation": "<p>The <code>accountId</code> that is associated with the budgets that you want to\n describe.</p>",
29622962
"smithy.api#required": {}
29632963
}
29642964
},
29652965
"MaxResults": {
2966-
"target": "com.amazonaws.budgets#MaxResults",
2966+
"target": "com.amazonaws.budgets#MaxResultsDescribeBudgets",
29672967
"traits": {
2968-
"smithy.api#documentation": "<p>An optional integer that represents how many entries a paginated response contains. The maximum is 100.</p>"
2968+
"smithy.api#documentation": "<p>An integer that represents how many budgets a paginated response contains. The default is\n 100.</p>"
29692969
}
29702970
},
29712971
"NextToken": {
@@ -3048,7 +3048,7 @@
30483048
"AccountId": {
30493049
"target": "com.amazonaws.budgets#AccountId",
30503050
"traits": {
3051-
"smithy.api#documentation": "<p>The <code>accountId</code> that is associated with the budget whose notifications you want descriptions of.</p>",
3051+
"smithy.api#documentation": "<p>The <code>accountId</code> that is associated with the budget whose notifications you want\n descriptions of.</p>",
30523052
"smithy.api#required": {}
30533053
}
30543054
},
@@ -3062,7 +3062,7 @@
30623062
"MaxResults": {
30633063
"target": "com.amazonaws.budgets#MaxResults",
30643064
"traits": {
3065-
"smithy.api#documentation": "<p>An optional integer that represents how many entries a paginated response contains. The maximum is 100.</p>"
3065+
"smithy.api#documentation": "<p>An optional integer that represents how many entries a paginated response contains.</p>"
30663066
}
30673067
},
30683068
"NextToken": {
@@ -3166,7 +3166,7 @@
31663166
"MaxResults": {
31673167
"target": "com.amazonaws.budgets#MaxResults",
31683168
"traits": {
3169-
"smithy.api#documentation": "<p>An optional integer that represents how many entries a paginated response contains. The maximum is 100.</p>"
3169+
"smithy.api#documentation": "<p>An optional integer that represents how many entries a paginated response contains.</p>"
31703170
}
31713171
},
31723172
"NextToken": {
@@ -3577,7 +3577,16 @@
35773577
"traits": {
35783578
"smithy.api#range": {
35793579
"min": 1,
3580-
"max": 50
3580+
"max": 1000
3581+
}
3582+
}
3583+
},
3584+
"com.amazonaws.budgets#MaxResultsDescribeBudgets": {
3585+
"type": "integer",
3586+
"traits": {
3587+
"smithy.api#range": {
3588+
"min": 1,
3589+
"max": 1000
35813590
}
35823591
}
35833592
},
@@ -3861,13 +3870,13 @@
38613870
"Unit": {
38623871
"target": "com.amazonaws.budgets#UnitValue",
38633872
"traits": {
3864-
"smithy.api#documentation": "<p>The unit of measurement that's used for the budget forecast, actual spend, or budget\n\t\t\tthreshold, such as USD or GBP.</p>",
3873+
"smithy.api#documentation": "<p>The unit of measurement that's used for the budget forecast, actual spend, or budget\n\t\t\tthreshold.</p>",
38653874
"smithy.api#required": {}
38663875
}
38673876
}
38683877
},
38693878
"traits": {
3870-
"smithy.api#documentation": "<p>The amount of cost or usage that's measured for a budget.</p>\n <p>For example, a <code>Spend</code> for <code>3 GB</code> of S3 usage has the following\n\t\t\tparameters:</p>\n <ul>\n <li>\n <p>An <code>Amount</code> of <code>3</code>\n </p>\n </li>\n <li>\n <p>A <code>unit</code> of <code>GB</code>\n </p>\n </li>\n </ul>"
3879+
"smithy.api#documentation": "<p>The amount of cost or usage that's measured for a budget.</p>\n <p>\n <i>Cost example:</i> A <code>Spend</code> for <code>3 USD</code> of\n\t\t\tcosts has the following parameters:</p>\n <ul>\n <li>\n <p>An <code>Amount</code> of <code>3</code>\n </p>\n </li>\n <li>\n <p>A <code>Unit</code> of <code>USD</code>\n </p>\n </li>\n </ul>\n <p>\n <i>Usage example:</i> A <code>Spend</code> for <code>3 GB</code> of S3\n\t\t\tusage has the following parameters:</p>\n <ul>\n <li>\n <p>An <code>Amount</code> of <code>3</code>\n </p>\n </li>\n <li>\n <p>A <code>Unit</code> of <code>GB</code>\n </p>\n </li>\n </ul>"
38713880
}
38723881
},
38733882
"com.amazonaws.budgets#SsmActionDefinition": {
@@ -4451,4 +4460,4 @@
44514460
}
44524461
}
44534462
}
4454-
}
4463+
}

0 commit comments

Comments
 (0)