Skip to content

Commit 0dd4801

Browse files
author
AWS
committed
Cost Optimization Hub Update: This release adds savings percentage support to the ListRecommendationSummaries API.
1 parent 6a26032 commit 0dd4801

File tree

2 files changed

+39
-5
lines changed

2 files changed

+39
-5
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Cost Optimization Hub",
4+
"contributor": "",
5+
"description": "This release adds savings percentage support to the ListRecommendationSummaries API."
6+
}

services/costoptimizationhub/src/main/resources/codegen-resources/service-2.json

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
{"shape":"AccessDeniedException"},
111111
{"shape":"ThrottlingException"}
112112
],
113-
"documentation":"<p>Updates the enrollment (opt in and opt out) status of an account to the Cost Optimization Hub service.</p> <p>If the account is a management account of an organization, this action can also be used to enroll member accounts of the organization.</p> <p>You must have the appropriate permissions to opt in to Cost Optimization Hub and to view its recommendations. When you opt in, Cost Optimization Hub automatically creates a service-linked role in your account to access its data.</p>"
113+
"documentation":"<p>Updates the enrollment (opt in and opt out) status of an account to the Cost Optimization Hub service.</p> <p>If the account is a management account or delegated administrator of an organization, this action can also be used to enroll member accounts of the organization.</p> <p>You must have the appropriate permissions to opt in to Cost Optimization Hub and to view its recommendations. When you opt in, Cost Optimization Hub automatically creates a service-linked role in your account to access its data.</p>"
114114
},
115115
"UpdatePreferences":{
116116
"name":"UpdatePreferences",
@@ -881,7 +881,7 @@
881881
},
882882
"includeMemberAccounts":{
883883
"shape":"Boolean",
884-
"documentation":"<p>The enrollment status of all member accounts in the organization if the account is the management account.</p>"
884+
"documentation":"<p>The enrollment status of all member accounts in the organization if the account is the management account or delegated administrator.</p>"
885885
},
886886
"nextToken":{
887887
"shape":"String",
@@ -900,7 +900,11 @@
900900
},
901901
"maxResults":{
902902
"shape":"ListRecommendationSummariesRequestMaxResultsInteger",
903-
"documentation":"<p>The maximum number of recommendations that are returned for the request.</p>"
903+
"documentation":"<p>The maximum number of recommendations to be returned for the request.</p>"
904+
},
905+
"metrics":{
906+
"shape":"SummaryMetricsList",
907+
"documentation":"<p>Additional metrics to be returned for the request. The only valid value is <code>savingsPercentage</code>.</p>"
904908
},
905909
"nextToken":{
906910
"shape":"String",
@@ -923,7 +927,7 @@
923927
},
924928
"items":{
925929
"shape":"RecommendationSummariesList",
926-
"documentation":"<p>List of all savings recommendations.</p>"
930+
"documentation":"<p>A list of all savings recommendations.</p>"
927931
},
928932
"groupBy":{
929933
"shape":"String",
@@ -933,6 +937,10 @@
933937
"shape":"String",
934938
"documentation":"<p>The currency code used for the recommendation.</p>"
935939
},
940+
"metrics":{
941+
"shape":"SummaryMetricsResult",
942+
"documentation":"<p>The results or descriptions for the additional metrics, based on whether the metrics were or were not requested.</p>"
943+
},
936944
"nextToken":{
937945
"shape":"String",
938946
"documentation":"<p>The token to retrieve the next set of results.</p>"
@@ -1714,6 +1722,26 @@
17141722
"documentation":"<p>The storage configuration used for recommendations.</p>"
17151723
},
17161724
"String":{"type":"string"},
1725+
"SummaryMetrics":{
1726+
"type":"string",
1727+
"enum":["SavingsPercentage"]
1728+
},
1729+
"SummaryMetricsList":{
1730+
"type":"list",
1731+
"member":{"shape":"SummaryMetrics"},
1732+
"max":100,
1733+
"min":1
1734+
},
1735+
"SummaryMetricsResult":{
1736+
"type":"structure",
1737+
"members":{
1738+
"savingsPercentage":{
1739+
"shape":"String",
1740+
"documentation":"<p>The savings percentage based on your Amazon Web Services spend over the past 30 days.</p> <note> <p>Savings percentage is only supported when filtering by Region, account ID, or tags.</p> </note>"
1741+
}
1742+
},
1743+
"documentation":"<p>The results or descriptions for the additional metrics, based on whether the metrics were or were not requested.</p>"
1744+
},
17171745
"Tag":{
17181746
"type":"structure",
17191747
"members":{
@@ -1753,7 +1781,7 @@
17531781
},
17541782
"includeMemberAccounts":{
17551783
"shape":"Boolean",
1756-
"documentation":"<p>Indicates whether to enroll member accounts of the organization if the account is the management account.</p>"
1784+
"documentation":"<p>Indicates whether to enroll member accounts of the organization if the account is the management account or delegated administrator.</p>"
17571785
}
17581786
}
17591787
},

0 commit comments

Comments
 (0)