Skip to content

Commit 3a1de2d

Browse files
author
AWS
committed
AWS Outposts Update: Add AWS Outposts API to surface customer billing information
1 parent c6ee51b commit 3a1de2d

File tree

3 files changed

+129
-1
lines changed

3 files changed

+129
-1
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 API to surface customer billing information"
6+
}

services/outposts/src/main/resources/codegen-resources/paginators-1.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
{
22
"pagination": {
3+
"GetOutpostBillingInformation": {
4+
"input_token": "NextToken",
5+
"output_token": "NextToken",
6+
"limit_key": "MaxResults",
7+
"result_key": "Subscriptions"
8+
},
39
"GetOutpostInstanceTypes": {
410
"input_token": "NextToken",
511
"output_token": "NextToken",

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

Lines changed: 117 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@
163163
"errors":[
164164
{"shape":"ValidationException"},
165165
{"shape":"NotFoundException"},
166+
{"shape":"AccessDeniedException"},
166167
{"shape":"InternalServerException"}
167168
],
168169
"documentation":"<p>Gets information about the specified catalog item.</p>"
@@ -214,6 +215,21 @@
214215
],
215216
"documentation":"<p>Gets information about the specified Outpost.</p>"
216217
},
218+
"GetOutpostBillingInformation":{
219+
"name":"GetOutpostBillingInformation",
220+
"http":{
221+
"method":"GET",
222+
"requestUri":"/outpost/{OutpostIdentifier}/billing-information"
223+
},
224+
"input":{"shape":"GetOutpostBillingInformationInput"},
225+
"output":{"shape":"GetOutpostBillingInformationOutput"},
226+
"errors":[
227+
{"shape":"AccessDeniedException"},
228+
{"shape":"InternalServerException"},
229+
{"shape":"NotFoundException"}
230+
],
231+
"documentation":"<p>Gets current and historical billing information about the specified Outpost.</p>"
232+
},
217233
"GetOutpostInstanceTypes":{
218234
"name":"GetOutpostInstanceTypes",
219235
"http":{
@@ -353,6 +369,7 @@
353369
"errors":[
354370
{"shape":"ValidationException"},
355371
{"shape":"NotFoundException"},
372+
{"shape":"AccessDeniedException"},
356373
{"shape":"InternalServerException"}
357374
],
358375
"documentation":"<p>Lists the items in the catalog.</p> <p>Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.</p>"
@@ -1496,13 +1513,49 @@
14961513
"Order":{"shape":"Order"}
14971514
}
14981515
},
1516+
"GetOutpostBillingInformationInput":{
1517+
"type":"structure",
1518+
"required":["OutpostIdentifier"],
1519+
"members":{
1520+
"NextToken":{
1521+
"shape":"Token",
1522+
"location":"querystring",
1523+
"locationName":"NextToken"
1524+
},
1525+
"MaxResults":{
1526+
"shape":"MaxResults1000",
1527+
"location":"querystring",
1528+
"locationName":"MaxResults"
1529+
},
1530+
"OutpostIdentifier":{
1531+
"shape":"OutpostIdentifier",
1532+
"documentation":"<p>The ID or ARN of the Outpost.</p>",
1533+
"location":"uri",
1534+
"locationName":"OutpostIdentifier"
1535+
}
1536+
}
1537+
},
1538+
"GetOutpostBillingInformationOutput":{
1539+
"type":"structure",
1540+
"members":{
1541+
"NextToken":{"shape":"Token"},
1542+
"Subscriptions":{
1543+
"shape":"SubscriptionList",
1544+
"documentation":"<p>The subscription details for the specified Outpost.</p>"
1545+
},
1546+
"ContractEndDate":{
1547+
"shape":"String",
1548+
"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>"
1549+
}
1550+
}
1551+
},
14991552
"GetOutpostInput":{
15001553
"type":"structure",
15011554
"required":["OutpostId"],
15021555
"members":{
15031556
"OutpostId":{
15041557
"shape":"OutpostId",
1505-
"documentation":"<p> The ID or ARN of the Outpost. </p>",
1558+
"documentation":"<p>The ID or ARN of the Outpost.</p>",
15061559
"location":"uri",
15071560
"locationName":"OutpostId"
15081561
}
@@ -2270,6 +2323,7 @@
22702323
"error":{"httpStatusCode":404},
22712324
"exception":true
22722325
},
2326+
"NullableDouble":{"type":"double"},
22732327
"OpticalStandard":{
22742328
"type":"string",
22752329
"enum":[
@@ -2336,6 +2390,10 @@
23362390
"min":1,
23372391
"pattern":"oo-[a-f0-9]{17}$"
23382392
},
2393+
"OrderIdList":{
2394+
"type":"list",
2395+
"member":{"shape":"String"}
2396+
},
23392397
"OrderStatus":{
23402398
"type":"string",
23412399
"enum":[
@@ -2872,6 +2930,64 @@
28722930
"min":1,
28732931
"pattern":"^[\\S \\n]+$"
28742932
},
2933+
"Subscription":{
2934+
"type":"structure",
2935+
"members":{
2936+
"SubscriptionId":{
2937+
"shape":"String",
2938+
"documentation":"<p>The ID of the subscription that appears on the Amazon Web Services Billing Center console.</p>"
2939+
},
2940+
"SubscriptionType":{
2941+
"shape":"SubscriptionType",
2942+
"documentation":"<p>The type of subscription which can be one of the following:</p> <ul> <li> <p> <b>ORIGINAL</b> - The first order on the Amazon Web Services Outposts.</p> </li> <li> <p> <b>RENEWAL</b> - Renewal requests, both month to month and longer term.</p> </li> <li> <p> <b>CAPACITY_INCREASE</b> - Capacity scaling orders.</p> </li> </ul>"
2943+
},
2944+
"SubscriptionStatus":{
2945+
"shape":"SubscriptionStatus",
2946+
"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>"
2947+
},
2948+
"OrderIds":{
2949+
"shape":"OrderIdList",
2950+
"documentation":"<p>The order ID for your subscription.</p>"
2951+
},
2952+
"BeginDate":{
2953+
"shape":"ISO8601Timestamp",
2954+
"documentation":"<p>The date your subscription starts.</p>"
2955+
},
2956+
"EndDate":{
2957+
"shape":"ISO8601Timestamp",
2958+
"documentation":"<p>The date your subscription ends.</p>"
2959+
},
2960+
"MonthlyRecurringPrice":{
2961+
"shape":"NullableDouble",
2962+
"documentation":"<p>The amount you are billed each month in the subscription period.</p>"
2963+
},
2964+
"UpfrontPrice":{
2965+
"shape":"NullableDouble",
2966+
"documentation":"<p>The amount billed when the subscription is created. This is a one-time charge.</p>"
2967+
}
2968+
},
2969+
"documentation":"<p>Provides information about your Amazon Web Services Outposts subscriptions.</p>"
2970+
},
2971+
"SubscriptionList":{
2972+
"type":"list",
2973+
"member":{"shape":"Subscription"}
2974+
},
2975+
"SubscriptionStatus":{
2976+
"type":"string",
2977+
"enum":[
2978+
"ACTIVE",
2979+
"INACTIVE",
2980+
"CANCELLED"
2981+
]
2982+
},
2983+
"SubscriptionType":{
2984+
"type":"string",
2985+
"enum":[
2986+
"ORIGINAL",
2987+
"RENEWAL",
2988+
"CAPACITY_INCREASE"
2989+
]
2990+
},
28752991
"SupportedHardwareType":{
28762992
"type":"string",
28772993
"enum":[

0 commit comments

Comments
 (0)