Skip to content

Commit 92e059e

Browse files
author
AWS
committed
Cost Optimization Hub Update: This release allows customers to modify their preferred commitment term and payment options.
1 parent bb48558 commit 92e059e

File tree

2 files changed

+50
-4
lines changed

2 files changed

+50
-4
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 allows customers to modify their preferred commitment term and payment options."
6+
}

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

Lines changed: 44 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -745,8 +745,7 @@
745745
},
746746
"GetPreferencesRequest":{
747747
"type":"structure",
748-
"members":{
749-
}
748+
"members":{}
750749
},
751750
"GetPreferencesResponse":{
752751
"type":"structure",
@@ -758,6 +757,10 @@
758757
"memberAccountDiscountVisibility":{
759758
"shape":"MemberAccountDiscountVisibility",
760759
"documentation":"<p>Retrieves the status of the \"member account discount visibility\" preference.</p>"
760+
},
761+
"preferredCommitment":{
762+
"shape":"PreferredCommitment",
763+
"documentation":"<p>Retrieves the current preferences for how Reserved Instances and Savings Plans cost-saving opportunities are prioritized in terms of payment option and term length.</p>"
761764
}
762765
}
763766
},
@@ -1094,7 +1097,7 @@
10941097
},
10951098
"costCalculation":{"shape":"ReservedInstancesCostCalculation"}
10961099
},
1097-
"documentation":"<p>The MemoryDB reserved instances recommendation details.</p> <note> <p>MemoryDB reserved instances are referred to as \"MemoryDB reserved nodes\" in customer-facing documentation.</p> </note>"
1100+
"documentation":"<p>The MemoryDB reserved instances recommendation details.</p> <note> <p>While the API reference uses \"MemoryDB reserved instances\", the user guide and other documentation refer to them as \"MemoryDB reserved nodes\", as the terms are used interchangeably.</p> </note>"
10981101
},
10991102
"MemoryDbReservedInstancesConfiguration":{
11001103
"type":"structure",
@@ -1152,7 +1155,7 @@
11521155
"documentation":"<p>Determines whether the recommendation is for a current generation instance.</p>"
11531156
}
11541157
},
1155-
"documentation":"<p>The MemoryDB reserved instances configuration used for recommendations.</p> <note> <p>MemoryDB reserved instances are referred to as \"MemoryDB reserved nodes\" in customer-facing documentation.</p> </note>"
1158+
"documentation":"<p>The MemoryDB reserved instances configuration used for recommendations.</p> <note> <p>While the API reference uses \"MemoryDB reserved instances\", the user guide and other documentation refer to them as \"MemoryDB reserved nodes\", as the terms are used interchangeably.</p> </note>"
11561159
},
11571160
"MixedInstanceConfiguration":{
11581161
"type":"structure",
@@ -1257,6 +1260,28 @@
12571260
},
12581261
"documentation":"<p>Defines how rows will be sorted in the response.</p>"
12591262
},
1263+
"PaymentOption":{
1264+
"type":"string",
1265+
"enum":[
1266+
"AllUpfront",
1267+
"PartialUpfront",
1268+
"NoUpfront"
1269+
]
1270+
},
1271+
"PreferredCommitment":{
1272+
"type":"structure",
1273+
"members":{
1274+
"term":{
1275+
"shape":"Term",
1276+
"documentation":"<p>The preferred length of the commitment period. If the value is null, it will default to <code>ThreeYears</code> (highest savings) where applicable.</p>"
1277+
},
1278+
"paymentOption":{
1279+
"shape":"PaymentOption",
1280+
"documentation":"<p>The preferred upfront payment structure for commitments. If the value is null, it will default to <code>AllUpfront</code> (highest savings) where applicable.</p>"
1281+
}
1282+
},
1283+
"documentation":"<p>The preferred configuration for Reserved Instances and Savings Plans commitment-based discounts, consisting of a payment option and a commitment duration.</p>"
1284+
},
12601285
"PrimitiveBoolean":{"type":"boolean"},
12611286
"RdsDbInstance":{
12621287
"type":"structure",
@@ -1936,6 +1961,13 @@
19361961
"max":100,
19371962
"min":1
19381963
},
1964+
"Term":{
1965+
"type":"string",
1966+
"enum":[
1967+
"OneYear",
1968+
"ThreeYears"
1969+
]
1970+
},
19391971
"ThrottlingException":{
19401972
"type":"structure",
19411973
"members":{
@@ -1978,6 +2010,10 @@
19782010
"memberAccountDiscountVisibility":{
19792011
"shape":"MemberAccountDiscountVisibility",
19802012
"documentation":"<p>Sets the \"member account discount visibility\" preference.</p>"
2013+
},
2014+
"preferredCommitment":{
2015+
"shape":"PreferredCommitment",
2016+
"documentation":"<p>Sets the preferences for how Reserved Instances and Savings Plans cost-saving opportunities are prioritized in terms of payment option and term length.</p>"
19812017
}
19822018
}
19832019
},
@@ -1991,6 +2027,10 @@
19912027
"memberAccountDiscountVisibility":{
19922028
"shape":"MemberAccountDiscountVisibility",
19932029
"documentation":"<p>Shows the status of the \"member account discount visibility\" preference.</p>"
2030+
},
2031+
"preferredCommitment":{
2032+
"shape":"PreferredCommitment",
2033+
"documentation":"<p>Shows the updated preferences for how Reserved Instances and Savings Plans cost-saving opportunities are prioritized in terms of payment option and term length.</p>"
19942034
}
19952035
}
19962036
},

0 commit comments

Comments
 (0)