UNPKG

11.5 kBJSONView Raw
1{
2 "version": "2.0",
3 "metadata": {
4 "apiVersion": "2016-10-20",
5 "endpointPrefix": "budgets",
6 "jsonVersion": "1.1",
7 "protocol": "json",
8 "serviceAbbreviation": "AWSBudgets",
9 "serviceFullName": "AWS Budgets",
10 "serviceId": "Budgets",
11 "signatureVersion": "v4",
12 "targetPrefix": "AWSBudgetServiceGateway",
13 "uid": "budgets-2016-10-20"
14 },
15 "operations": {
16 "CreateBudget": {
17 "input": {
18 "type": "structure",
19 "required": [
20 "AccountId",
21 "Budget"
22 ],
23 "members": {
24 "AccountId": {},
25 "Budget": {
26 "shape": "S3"
27 },
28 "NotificationsWithSubscribers": {
29 "type": "list",
30 "member": {
31 "type": "structure",
32 "required": [
33 "Notification",
34 "Subscribers"
35 ],
36 "members": {
37 "Notification": {
38 "shape": "Sk"
39 },
40 "Subscribers": {
41 "shape": "Sq"
42 }
43 }
44 }
45 }
46 }
47 },
48 "output": {
49 "type": "structure",
50 "members": {}
51 }
52 },
53 "CreateNotification": {
54 "input": {
55 "type": "structure",
56 "required": [
57 "AccountId",
58 "BudgetName",
59 "Notification",
60 "Subscribers"
61 ],
62 "members": {
63 "AccountId": {},
64 "BudgetName": {},
65 "Notification": {
66 "shape": "Sk"
67 },
68 "Subscribers": {
69 "shape": "Sq"
70 }
71 }
72 },
73 "output": {
74 "type": "structure",
75 "members": {}
76 }
77 },
78 "CreateSubscriber": {
79 "input": {
80 "type": "structure",
81 "required": [
82 "AccountId",
83 "BudgetName",
84 "Notification",
85 "Subscriber"
86 ],
87 "members": {
88 "AccountId": {},
89 "BudgetName": {},
90 "Notification": {
91 "shape": "Sk"
92 },
93 "Subscriber": {
94 "shape": "Sr"
95 }
96 }
97 },
98 "output": {
99 "type": "structure",
100 "members": {}
101 }
102 },
103 "DeleteBudget": {
104 "input": {
105 "type": "structure",
106 "required": [
107 "AccountId",
108 "BudgetName"
109 ],
110 "members": {
111 "AccountId": {},
112 "BudgetName": {}
113 }
114 },
115 "output": {
116 "type": "structure",
117 "members": {}
118 }
119 },
120 "DeleteNotification": {
121 "input": {
122 "type": "structure",
123 "required": [
124 "AccountId",
125 "BudgetName",
126 "Notification"
127 ],
128 "members": {
129 "AccountId": {},
130 "BudgetName": {},
131 "Notification": {
132 "shape": "Sk"
133 }
134 }
135 },
136 "output": {
137 "type": "structure",
138 "members": {}
139 }
140 },
141 "DeleteSubscriber": {
142 "input": {
143 "type": "structure",
144 "required": [
145 "AccountId",
146 "BudgetName",
147 "Notification",
148 "Subscriber"
149 ],
150 "members": {
151 "AccountId": {},
152 "BudgetName": {},
153 "Notification": {
154 "shape": "Sk"
155 },
156 "Subscriber": {
157 "shape": "Sr"
158 }
159 }
160 },
161 "output": {
162 "type": "structure",
163 "members": {}
164 }
165 },
166 "DescribeBudget": {
167 "input": {
168 "type": "structure",
169 "required": [
170 "AccountId",
171 "BudgetName"
172 ],
173 "members": {
174 "AccountId": {},
175 "BudgetName": {}
176 }
177 },
178 "output": {
179 "type": "structure",
180 "members": {
181 "Budget": {
182 "shape": "S3"
183 }
184 }
185 }
186 },
187 "DescribeBudgetPerformanceHistory": {
188 "input": {
189 "type": "structure",
190 "required": [
191 "AccountId",
192 "BudgetName"
193 ],
194 "members": {
195 "AccountId": {},
196 "BudgetName": {},
197 "TimePeriod": {
198 "shape": "Se"
199 },
200 "MaxResults": {
201 "type": "integer"
202 },
203 "NextToken": {}
204 }
205 },
206 "output": {
207 "type": "structure",
208 "members": {
209 "BudgetPerformanceHistory": {
210 "type": "structure",
211 "members": {
212 "BudgetName": {},
213 "BudgetType": {},
214 "CostFilters": {
215 "shape": "S8"
216 },
217 "CostTypes": {
218 "shape": "Sb"
219 },
220 "TimeUnit": {},
221 "BudgetedAndActualAmountsList": {
222 "type": "list",
223 "member": {
224 "type": "structure",
225 "members": {
226 "BudgetedAmount": {
227 "shape": "S5"
228 },
229 "ActualAmount": {
230 "shape": "S5"
231 },
232 "TimePeriod": {
233 "shape": "Se"
234 }
235 }
236 }
237 }
238 }
239 },
240 "NextToken": {}
241 }
242 }
243 },
244 "DescribeBudgets": {
245 "input": {
246 "type": "structure",
247 "required": [
248 "AccountId"
249 ],
250 "members": {
251 "AccountId": {},
252 "MaxResults": {
253 "type": "integer"
254 },
255 "NextToken": {}
256 }
257 },
258 "output": {
259 "type": "structure",
260 "members": {
261 "Budgets": {
262 "type": "list",
263 "member": {
264 "shape": "S3"
265 }
266 },
267 "NextToken": {}
268 }
269 }
270 },
271 "DescribeNotificationsForBudget": {
272 "input": {
273 "type": "structure",
274 "required": [
275 "AccountId",
276 "BudgetName"
277 ],
278 "members": {
279 "AccountId": {},
280 "BudgetName": {},
281 "MaxResults": {
282 "type": "integer"
283 },
284 "NextToken": {}
285 }
286 },
287 "output": {
288 "type": "structure",
289 "members": {
290 "Notifications": {
291 "type": "list",
292 "member": {
293 "shape": "Sk"
294 }
295 },
296 "NextToken": {}
297 }
298 }
299 },
300 "DescribeSubscribersForNotification": {
301 "input": {
302 "type": "structure",
303 "required": [
304 "AccountId",
305 "BudgetName",
306 "Notification"
307 ],
308 "members": {
309 "AccountId": {},
310 "BudgetName": {},
311 "Notification": {
312 "shape": "Sk"
313 },
314 "MaxResults": {
315 "type": "integer"
316 },
317 "NextToken": {}
318 }
319 },
320 "output": {
321 "type": "structure",
322 "members": {
323 "Subscribers": {
324 "shape": "Sq"
325 },
326 "NextToken": {}
327 }
328 }
329 },
330 "UpdateBudget": {
331 "input": {
332 "type": "structure",
333 "required": [
334 "AccountId",
335 "NewBudget"
336 ],
337 "members": {
338 "AccountId": {},
339 "NewBudget": {
340 "shape": "S3"
341 }
342 }
343 },
344 "output": {
345 "type": "structure",
346 "members": {}
347 }
348 },
349 "UpdateNotification": {
350 "input": {
351 "type": "structure",
352 "required": [
353 "AccountId",
354 "BudgetName",
355 "OldNotification",
356 "NewNotification"
357 ],
358 "members": {
359 "AccountId": {},
360 "BudgetName": {},
361 "OldNotification": {
362 "shape": "Sk"
363 },
364 "NewNotification": {
365 "shape": "Sk"
366 }
367 }
368 },
369 "output": {
370 "type": "structure",
371 "members": {}
372 }
373 },
374 "UpdateSubscriber": {
375 "input": {
376 "type": "structure",
377 "required": [
378 "AccountId",
379 "BudgetName",
380 "Notification",
381 "OldSubscriber",
382 "NewSubscriber"
383 ],
384 "members": {
385 "AccountId": {},
386 "BudgetName": {},
387 "Notification": {
388 "shape": "Sk"
389 },
390 "OldSubscriber": {
391 "shape": "Sr"
392 },
393 "NewSubscriber": {
394 "shape": "Sr"
395 }
396 }
397 },
398 "output": {
399 "type": "structure",
400 "members": {}
401 }
402 }
403 },
404 "shapes": {
405 "S3": {
406 "type": "structure",
407 "required": [
408 "BudgetName",
409 "TimeUnit",
410 "BudgetType"
411 ],
412 "members": {
413 "BudgetName": {},
414 "BudgetLimit": {
415 "shape": "S5"
416 },
417 "CostFilters": {
418 "shape": "S8"
419 },
420 "CostTypes": {
421 "shape": "Sb"
422 },
423 "TimeUnit": {},
424 "TimePeriod": {
425 "shape": "Se"
426 },
427 "CalculatedSpend": {
428 "type": "structure",
429 "required": [
430 "ActualSpend"
431 ],
432 "members": {
433 "ActualSpend": {
434 "shape": "S5"
435 },
436 "ForecastedSpend": {
437 "shape": "S5"
438 }
439 }
440 },
441 "BudgetType": {},
442 "LastUpdatedTime": {
443 "type": "timestamp"
444 }
445 }
446 },
447 "S5": {
448 "type": "structure",
449 "required": [
450 "Amount",
451 "Unit"
452 ],
453 "members": {
454 "Amount": {},
455 "Unit": {}
456 }
457 },
458 "S8": {
459 "type": "map",
460 "key": {},
461 "value": {
462 "type": "list",
463 "member": {}
464 }
465 },
466 "Sb": {
467 "type": "structure",
468 "members": {
469 "IncludeTax": {
470 "type": "boolean"
471 },
472 "IncludeSubscription": {
473 "type": "boolean"
474 },
475 "UseBlended": {
476 "type": "boolean"
477 },
478 "IncludeRefund": {
479 "type": "boolean"
480 },
481 "IncludeCredit": {
482 "type": "boolean"
483 },
484 "IncludeUpfront": {
485 "type": "boolean"
486 },
487 "IncludeRecurring": {
488 "type": "boolean"
489 },
490 "IncludeOtherSubscription": {
491 "type": "boolean"
492 },
493 "IncludeSupport": {
494 "type": "boolean"
495 },
496 "IncludeDiscount": {
497 "type": "boolean"
498 },
499 "UseAmortized": {
500 "type": "boolean"
501 }
502 }
503 },
504 "Se": {
505 "type": "structure",
506 "members": {
507 "Start": {
508 "type": "timestamp"
509 },
510 "End": {
511 "type": "timestamp"
512 }
513 }
514 },
515 "Sk": {
516 "type": "structure",
517 "required": [
518 "NotificationType",
519 "ComparisonOperator",
520 "Threshold"
521 ],
522 "members": {
523 "NotificationType": {},
524 "ComparisonOperator": {},
525 "Threshold": {
526 "type": "double"
527 },
528 "ThresholdType": {},
529 "NotificationState": {}
530 }
531 },
532 "Sq": {
533 "type": "list",
534 "member": {
535 "shape": "Sr"
536 }
537 },
538 "Sr": {
539 "type": "structure",
540 "required": [
541 "SubscriptionType",
542 "Address"
543 ],
544 "members": {
545 "SubscriptionType": {},
546 "Address": {
547 "type": "string",
548 "sensitive": true
549 }
550 }
551 }
552 }
553}
\No newline at end of file