Skip to content

Commit a20706d

Browse files
author
AWS
committed
AWS Outposts Update: Add AWS Outposts APIs to view renewal pricing options and submit renewal requests for Outpost contracts
1 parent 32c64f1 commit a20706d

File tree

2 files changed

+187
-2
lines changed

2 files changed

+187
-2
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": "AWS Outposts",
4+
"contributor": "",
5+
"description": "Add AWS Outposts APIs to view renewal pricing options and submit renewal requests for Outpost contracts"
6+
}

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

Lines changed: 181 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,22 @@
8585
],
8686
"documentation":"<p>Creates an Outpost.</p> <p>You can specify either an Availability one or an AZ ID.</p>"
8787
},
88+
"CreateRenewal":{
89+
"name":"CreateRenewal",
90+
"http":{
91+
"method":"POST",
92+
"requestUri":"/renewals"
93+
},
94+
"input":{"shape":"CreateRenewalInput"},
95+
"output":{"shape":"CreateRenewalOutput"},
96+
"errors":[
97+
{"shape":"AccessDeniedException"},
98+
{"shape":"InternalServerException"},
99+
{"shape":"NotFoundException"},
100+
{"shape":"ValidationException"}
101+
],
102+
"documentation":"<p>Creates a renewal contract for the specified Outpost.</p>"
103+
},
88104
"CreateSite":{
89105
"name":"CreateSite",
90106
"http":{
@@ -262,6 +278,22 @@
262278
],
263279
"documentation":"<p>Gets the instance types that an Outpost can support in <code>InstanceTypeCapacity</code>. This will generally include instance types that are not currently configured and therefore cannot be launched with the current Outpost capacity configuration.</p>"
264280
},
281+
"GetRenewalPricing":{
282+
"name":"GetRenewalPricing",
283+
"http":{
284+
"method":"GET",
285+
"requestUri":"/outpost/{OutpostIdentifier}/renewal-pricing"
286+
},
287+
"input":{"shape":"GetRenewalPricingInput"},
288+
"output":{"shape":"GetRenewalPricingOutput"},
289+
"errors":[
290+
{"shape":"AccessDeniedException"},
291+
{"shape":"InternalServerException"},
292+
{"shape":"NotFoundException"},
293+
{"shape":"ValidationException"}
294+
],
295+
"documentation":"<p>Gets all available renewal pricing options for the specified Outpost.</p>"
296+
},
265297
"GetSite":{
266298
"name":"GetSite",
267299
"http":{
@@ -839,6 +871,12 @@
839871
"max":5,
840872
"min":1
841873
},
874+
"AutoFillIdempotencyToken":{
875+
"type":"string",
876+
"max":64,
877+
"min":1,
878+
"pattern":"^.*$"
879+
},
842880
"AvailabilityZone":{
843881
"type":"string",
844882
"documentation":"<p>The Availability Zone.</p>",
@@ -1293,6 +1331,58 @@
12931331
"Outpost":{"shape":"Outpost"}
12941332
}
12951333
},
1334+
"CreateRenewalInput":{
1335+
"type":"structure",
1336+
"required":[
1337+
"PaymentOption",
1338+
"PaymentTerm",
1339+
"OutpostIdentifier"
1340+
],
1341+
"members":{
1342+
"PaymentOption":{
1343+
"shape":"PaymentOption",
1344+
"documentation":"<p>The payment option.</p>"
1345+
},
1346+
"PaymentTerm":{
1347+
"shape":"PaymentTerm",
1348+
"documentation":"<p>The payment term.</p>"
1349+
},
1350+
"OutpostIdentifier":{
1351+
"shape":"OutpostIdentifier",
1352+
"documentation":"<p>The ID or ARN of the Outpost.</p>"
1353+
},
1354+
"ClientToken":{
1355+
"shape":"AutoFillIdempotencyToken",
1356+
"documentation":"<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>",
1357+
"idempotencyToken":true
1358+
}
1359+
}
1360+
},
1361+
"CreateRenewalOutput":{
1362+
"type":"structure",
1363+
"members":{
1364+
"PaymentOption":{
1365+
"shape":"PaymentOption",
1366+
"documentation":"<p>The payment option.</p>"
1367+
},
1368+
"PaymentTerm":{
1369+
"shape":"PaymentTerm",
1370+
"documentation":"<p>The payment term.</p>"
1371+
},
1372+
"OutpostId":{
1373+
"shape":"OutpostIdOnly",
1374+
"documentation":"<p>The ID of the Outpost.</p>"
1375+
},
1376+
"UpfrontPrice":{
1377+
"shape":"NullableFloat",
1378+
"documentation":"<p>The upfront price of the renewal.</p>"
1379+
},
1380+
"MonthlyRecurringPrice":{
1381+
"shape":"NullableFloat",
1382+
"documentation":"<p>The monthly recurring price of the renewal.</p>"
1383+
}
1384+
}
1385+
},
12961386
"CreateSiteInput":{
12971387
"type":"structure",
12981388
"required":["Name"],
@@ -1416,7 +1506,7 @@
14161506
"type":"string",
14171507
"max":10,
14181508
"min":1,
1419-
"pattern":"[a-z0-9]+"
1509+
"pattern":"^[a-z0-9]+$"
14201510
},
14211511
"FiberOpticCableType":{
14221512
"type":"string",
@@ -1600,6 +1690,14 @@
16001690
"ContractEndDate":{
16011691
"shape":"String",
16021692
"documentation":"<p>The date the current contract term ends for the specified Outpost. You must start the renewal or decommission process at least 5 business days before the current term for your Amazon Web Services Outposts ends. Failing to complete these steps at least 5 business days before the current term ends might result in unanticipated charges.</p>"
1693+
},
1694+
"PaymentTerm":{
1695+
"shape":"PaymentTerm",
1696+
"documentation":"<p>The payment term.</p>"
1697+
},
1698+
"PaymentOption":{
1699+
"shape":"PaymentOption",
1700+
"documentation":"<p>The payment option.</p>"
16031701
}
16041702
}
16051703
},
@@ -1696,6 +1794,31 @@
16961794
"NextToken":{"shape":"Token"}
16971795
}
16981796
},
1797+
"GetRenewalPricingInput":{
1798+
"type":"structure",
1799+
"required":["OutpostIdentifier"],
1800+
"members":{
1801+
"OutpostIdentifier":{
1802+
"shape":"OutpostIdentifier",
1803+
"documentation":"<p>The ID or ARN of the Outpost.</p>",
1804+
"location":"uri",
1805+
"locationName":"OutpostIdentifier"
1806+
}
1807+
}
1808+
},
1809+
"GetRenewalPricingOutput":{
1810+
"type":"structure",
1811+
"members":{
1812+
"PricingResult":{
1813+
"shape":"PricingResult",
1814+
"documentation":"<p>The result of the pricing request.</p>"
1815+
},
1816+
"PricingOptions":{
1817+
"shape":"PricingOptionList",
1818+
"documentation":"<p>The pricing options for the specified Outpost.</p>"
1819+
}
1820+
}
1821+
},
16991822
"GetSiteAddressInput":{
17001823
"type":"structure",
17011824
"required":[
@@ -2384,6 +2507,10 @@
23842507
"exception":true
23852508
},
23862509
"NullableDouble":{"type":"double"},
2510+
"NullableFloat":{
2511+
"type":"float",
2512+
"box":true
2513+
},
23872514
"OpticalStandard":{
23882515
"type":"string",
23892516
"enum":[
@@ -2653,7 +2780,36 @@
26532780
"THREE_PHASE"
26542781
]
26552782
},
2783+
"PricingOption":{
2784+
"type":"structure",
2785+
"members":{
2786+
"PricingType":{
2787+
"shape":"QuotePricingType",
2788+
"documentation":"<p>The type of pricing model.</p>"
2789+
},
2790+
"SubscriptionPricingDetails":{
2791+
"shape":"SubscriptionPricingDetails",
2792+
"documentation":"<p>The subscription pricing details for this pricing option.</p>"
2793+
}
2794+
},
2795+
"documentation":"<p>A pricing option for the specified Outpost.</p>"
2796+
},
2797+
"PricingOptionList":{
2798+
"type":"list",
2799+
"member":{"shape":"PricingOption"}
2800+
},
2801+
"PricingResult":{
2802+
"type":"string",
2803+
"enum":[
2804+
"PRICED",
2805+
"UNABLE_TO_PRICE"
2806+
]
2807+
},
26562808
"Quantity":{"type":"string"},
2809+
"QuotePricingType":{
2810+
"type":"string",
2811+
"enum":["SUBSCRIPTION"]
2812+
},
26572813
"RackElevation":{
26582814
"type":"float",
26592815
"box":true,
@@ -3032,7 +3188,7 @@
30323188
},
30333189
"SubscriptionStatus":{
30343190
"shape":"SubscriptionStatus",
3035-
"documentation":"<p>The status of subscription which can be one of the following:</p> <ul> <li> <p> <b>INACTIVE</b> - Subscription requests that are inactive.</p> </li> <li> <p> <b>ACTIVE</b> - Subscription requests that are in progress and have an end date in the future.</p> </li> <li> <p> <b>CANCELLED</b> - Subscription requests that are cancelled.</p> </li> </ul>"
3191+
"documentation":"<p>The status of subscription which can be one of the following:</p> <ul> <li> <p> <b>INACTIVE</b> - Subscription requests that are inactive.</p> </li> <li> <p> <b>ACTIVE</b> - Subscription requests that are in progress and have an end date in the future.</p> </li> <li> <p> <b>PENDING</b> - Subscription has been created but billing has not yet commenced because the subscription begin date has not been reached.</p> </li> <li> <p> <b>CANCELLED</b> - Subscription requests that are cancelled.</p> </li> </ul>"
30363192
},
30373193
"OrderIds":{
30383194
"shape":"OrderIdList",
@@ -3061,10 +3217,33 @@
30613217
"type":"list",
30623218
"member":{"shape":"Subscription"}
30633219
},
3220+
"SubscriptionPricingDetails":{
3221+
"type":"structure",
3222+
"members":{
3223+
"PaymentOption":{
3224+
"shape":"PaymentOption",
3225+
"documentation":"<p>The payment option.</p>"
3226+
},
3227+
"PaymentTerm":{
3228+
"shape":"PaymentTerm",
3229+
"documentation":"<p>The payment term.</p>"
3230+
},
3231+
"UpfrontPrice":{
3232+
"shape":"NullableFloat",
3233+
"documentation":"<p>The upfront price.</p>"
3234+
},
3235+
"MonthlyRecurringPrice":{
3236+
"shape":"NullableFloat",
3237+
"documentation":"<p>The monthly recurring price.</p>"
3238+
}
3239+
},
3240+
"documentation":"<p>The pricing details for a subscription.</p>"
3241+
},
30643242
"SubscriptionStatus":{
30653243
"type":"string",
30663244
"enum":[
30673245
"ACTIVE",
3246+
"PENDING",
30683247
"INACTIVE",
30693248
"CANCELLED"
30703249
]

0 commit comments

Comments
 (0)