budgets-2016-10-20.min.json (9547B)
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 "signatureVersion": "v4", 11 "targetPrefix": "AWSBudgetServiceGateway" 12 }, 13 "operations": { 14 "CreateBudget": { 15 "input": { 16 "type": "structure", 17 "required": [ 18 "AccountId", 19 "Budget" 20 ], 21 "members": { 22 "AccountId": {}, 23 "Budget": { 24 "shape": "S3" 25 }, 26 "NotificationsWithSubscribers": { 27 "type": "list", 28 "member": { 29 "type": "structure", 30 "required": [ 31 "Notification", 32 "Subscribers" 33 ], 34 "members": { 35 "Notification": { 36 "shape": "Sj" 37 }, 38 "Subscribers": { 39 "shape": "Sn" 40 } 41 } 42 } 43 } 44 } 45 }, 46 "output": { 47 "type": "structure", 48 "members": {} 49 } 50 }, 51 "CreateNotification": { 52 "input": { 53 "type": "structure", 54 "required": [ 55 "AccountId", 56 "BudgetName", 57 "Notification", 58 "Subscribers" 59 ], 60 "members": { 61 "AccountId": {}, 62 "BudgetName": {}, 63 "Notification": { 64 "shape": "Sj" 65 }, 66 "Subscribers": { 67 "shape": "Sn" 68 } 69 } 70 }, 71 "output": { 72 "type": "structure", 73 "members": {} 74 } 75 }, 76 "CreateSubscriber": { 77 "input": { 78 "type": "structure", 79 "required": [ 80 "AccountId", 81 "BudgetName", 82 "Notification", 83 "Subscriber" 84 ], 85 "members": { 86 "AccountId": {}, 87 "BudgetName": {}, 88 "Notification": { 89 "shape": "Sj" 90 }, 91 "Subscriber": { 92 "shape": "So" 93 } 94 } 95 }, 96 "output": { 97 "type": "structure", 98 "members": {} 99 } 100 }, 101 "DeleteBudget": { 102 "input": { 103 "type": "structure", 104 "required": [ 105 "AccountId", 106 "BudgetName" 107 ], 108 "members": { 109 "AccountId": {}, 110 "BudgetName": {} 111 } 112 }, 113 "output": { 114 "type": "structure", 115 "members": {} 116 } 117 }, 118 "DeleteNotification": { 119 "input": { 120 "type": "structure", 121 "required": [ 122 "AccountId", 123 "BudgetName", 124 "Notification" 125 ], 126 "members": { 127 "AccountId": {}, 128 "BudgetName": {}, 129 "Notification": { 130 "shape": "Sj" 131 } 132 } 133 }, 134 "output": { 135 "type": "structure", 136 "members": {} 137 } 138 }, 139 "DeleteSubscriber": { 140 "input": { 141 "type": "structure", 142 "required": [ 143 "AccountId", 144 "BudgetName", 145 "Notification", 146 "Subscriber" 147 ], 148 "members": { 149 "AccountId": {}, 150 "BudgetName": {}, 151 "Notification": { 152 "shape": "Sj" 153 }, 154 "Subscriber": { 155 "shape": "So" 156 } 157 } 158 }, 159 "output": { 160 "type": "structure", 161 "members": {} 162 } 163 }, 164 "DescribeBudget": { 165 "input": { 166 "type": "structure", 167 "required": [ 168 "AccountId", 169 "BudgetName" 170 ], 171 "members": { 172 "AccountId": {}, 173 "BudgetName": {} 174 } 175 }, 176 "output": { 177 "type": "structure", 178 "members": { 179 "Budget": { 180 "shape": "S3" 181 } 182 } 183 } 184 }, 185 "DescribeBudgets": { 186 "input": { 187 "type": "structure", 188 "required": [ 189 "AccountId" 190 ], 191 "members": { 192 "AccountId": {}, 193 "MaxResults": { 194 "type": "integer" 195 }, 196 "NextToken": {} 197 } 198 }, 199 "output": { 200 "type": "structure", 201 "members": { 202 "Budgets": { 203 "type": "list", 204 "member": { 205 "shape": "S3" 206 } 207 }, 208 "NextToken": {} 209 } 210 } 211 }, 212 "DescribeNotificationsForBudget": { 213 "input": { 214 "type": "structure", 215 "required": [ 216 "AccountId", 217 "BudgetName" 218 ], 219 "members": { 220 "AccountId": {}, 221 "BudgetName": {}, 222 "MaxResults": { 223 "type": "integer" 224 }, 225 "NextToken": {} 226 } 227 }, 228 "output": { 229 "type": "structure", 230 "members": { 231 "Notifications": { 232 "type": "list", 233 "member": { 234 "shape": "Sj" 235 } 236 }, 237 "NextToken": {} 238 } 239 } 240 }, 241 "DescribeSubscribersForNotification": { 242 "input": { 243 "type": "structure", 244 "required": [ 245 "AccountId", 246 "BudgetName", 247 "Notification" 248 ], 249 "members": { 250 "AccountId": {}, 251 "BudgetName": {}, 252 "Notification": { 253 "shape": "Sj" 254 }, 255 "MaxResults": { 256 "type": "integer" 257 }, 258 "NextToken": {} 259 } 260 }, 261 "output": { 262 "type": "structure", 263 "members": { 264 "Subscribers": { 265 "shape": "Sn" 266 }, 267 "NextToken": {} 268 } 269 } 270 }, 271 "UpdateBudget": { 272 "input": { 273 "type": "structure", 274 "required": [ 275 "AccountId", 276 "NewBudget" 277 ], 278 "members": { 279 "AccountId": {}, 280 "NewBudget": { 281 "shape": "S3" 282 } 283 } 284 }, 285 "output": { 286 "type": "structure", 287 "members": {} 288 } 289 }, 290 "UpdateNotification": { 291 "input": { 292 "type": "structure", 293 "required": [ 294 "AccountId", 295 "BudgetName", 296 "OldNotification", 297 "NewNotification" 298 ], 299 "members": { 300 "AccountId": {}, 301 "BudgetName": {}, 302 "OldNotification": { 303 "shape": "Sj" 304 }, 305 "NewNotification": { 306 "shape": "Sj" 307 } 308 } 309 }, 310 "output": { 311 "type": "structure", 312 "members": {} 313 } 314 }, 315 "UpdateSubscriber": { 316 "input": { 317 "type": "structure", 318 "required": [ 319 "AccountId", 320 "BudgetName", 321 "Notification", 322 "OldSubscriber", 323 "NewSubscriber" 324 ], 325 "members": { 326 "AccountId": {}, 327 "BudgetName": {}, 328 "Notification": { 329 "shape": "Sj" 330 }, 331 "OldSubscriber": { 332 "shape": "So" 333 }, 334 "NewSubscriber": { 335 "shape": "So" 336 } 337 } 338 }, 339 "output": { 340 "type": "structure", 341 "members": {} 342 } 343 } 344 }, 345 "shapes": { 346 "S3": { 347 "type": "structure", 348 "required": [ 349 "BudgetName", 350 "BudgetLimit", 351 "CostTypes", 352 "TimeUnit", 353 "TimePeriod", 354 "BudgetType" 355 ], 356 "members": { 357 "BudgetName": {}, 358 "BudgetLimit": { 359 "shape": "S5" 360 }, 361 "CostFilters": { 362 "type": "map", 363 "key": {}, 364 "value": { 365 "type": "list", 366 "member": {} 367 } 368 }, 369 "CostTypes": { 370 "type": "structure", 371 "required": [ 372 "IncludeTax", 373 "IncludeSubscription", 374 "UseBlended" 375 ], 376 "members": { 377 "IncludeTax": { 378 "type": "boolean" 379 }, 380 "IncludeSubscription": { 381 "type": "boolean" 382 }, 383 "UseBlended": { 384 "type": "boolean" 385 } 386 } 387 }, 388 "TimeUnit": {}, 389 "TimePeriod": { 390 "type": "structure", 391 "required": [ 392 "Start", 393 "End" 394 ], 395 "members": { 396 "Start": { 397 "type": "timestamp" 398 }, 399 "End": { 400 "type": "timestamp" 401 } 402 } 403 }, 404 "CalculatedSpend": { 405 "type": "structure", 406 "required": [ 407 "ActualSpend" 408 ], 409 "members": { 410 "ActualSpend": { 411 "shape": "S5" 412 }, 413 "ForecastedSpend": { 414 "shape": "S5" 415 } 416 } 417 }, 418 "BudgetType": {} 419 } 420 }, 421 "S5": { 422 "type": "structure", 423 "required": [ 424 "Amount", 425 "Unit" 426 ], 427 "members": { 428 "Amount": {}, 429 "Unit": {} 430 } 431 }, 432 "Sj": { 433 "type": "structure", 434 "required": [ 435 "NotificationType", 436 "ComparisonOperator", 437 "Threshold" 438 ], 439 "members": { 440 "NotificationType": {}, 441 "ComparisonOperator": {}, 442 "Threshold": { 443 "type": "double" 444 } 445 } 446 }, 447 "Sn": { 448 "type": "list", 449 "member": { 450 "shape": "So" 451 } 452 }, 453 "So": { 454 "type": "structure", 455 "required": [ 456 "SubscriptionType", 457 "Address" 458 ], 459 "members": { 460 "SubscriptionType": {}, 461 "Address": {} 462 } 463 } 464 } 465 }