github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/budgets/2016-10-20/api-2.json (about) 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 "name":"CreateBudget", 18 "http":{ 19 "method":"POST", 20 "requestUri":"/" 21 }, 22 "input":{"shape":"CreateBudgetRequest"}, 23 "output":{"shape":"CreateBudgetResponse"}, 24 "errors":[ 25 {"shape":"InvalidParameterException"}, 26 {"shape":"InternalErrorException"}, 27 {"shape":"CreationLimitExceededException"}, 28 {"shape":"DuplicateRecordException"}, 29 {"shape":"AccessDeniedException"} 30 ] 31 }, 32 "CreateBudgetAction":{ 33 "name":"CreateBudgetAction", 34 "http":{ 35 "method":"POST", 36 "requestUri":"/" 37 }, 38 "input":{"shape":"CreateBudgetActionRequest"}, 39 "output":{"shape":"CreateBudgetActionResponse"}, 40 "errors":[ 41 {"shape":"InvalidParameterException"}, 42 {"shape":"InternalErrorException"}, 43 {"shape":"CreationLimitExceededException"}, 44 {"shape":"DuplicateRecordException"}, 45 {"shape":"NotFoundException"}, 46 {"shape":"AccessDeniedException"} 47 ] 48 }, 49 "CreateNotification":{ 50 "name":"CreateNotification", 51 "http":{ 52 "method":"POST", 53 "requestUri":"/" 54 }, 55 "input":{"shape":"CreateNotificationRequest"}, 56 "output":{"shape":"CreateNotificationResponse"}, 57 "errors":[ 58 {"shape":"InternalErrorException"}, 59 {"shape":"InvalidParameterException"}, 60 {"shape":"NotFoundException"}, 61 {"shape":"CreationLimitExceededException"}, 62 {"shape":"DuplicateRecordException"}, 63 {"shape":"AccessDeniedException"} 64 ] 65 }, 66 "CreateSubscriber":{ 67 "name":"CreateSubscriber", 68 "http":{ 69 "method":"POST", 70 "requestUri":"/" 71 }, 72 "input":{"shape":"CreateSubscriberRequest"}, 73 "output":{"shape":"CreateSubscriberResponse"}, 74 "errors":[ 75 {"shape":"InternalErrorException"}, 76 {"shape":"InvalidParameterException"}, 77 {"shape":"CreationLimitExceededException"}, 78 {"shape":"DuplicateRecordException"}, 79 {"shape":"NotFoundException"}, 80 {"shape":"AccessDeniedException"} 81 ] 82 }, 83 "DeleteBudget":{ 84 "name":"DeleteBudget", 85 "http":{ 86 "method":"POST", 87 "requestUri":"/" 88 }, 89 "input":{"shape":"DeleteBudgetRequest"}, 90 "output":{"shape":"DeleteBudgetResponse"}, 91 "errors":[ 92 {"shape":"InternalErrorException"}, 93 {"shape":"InvalidParameterException"}, 94 {"shape":"NotFoundException"}, 95 {"shape":"AccessDeniedException"} 96 ] 97 }, 98 "DeleteBudgetAction":{ 99 "name":"DeleteBudgetAction", 100 "http":{ 101 "method":"POST", 102 "requestUri":"/" 103 }, 104 "input":{"shape":"DeleteBudgetActionRequest"}, 105 "output":{"shape":"DeleteBudgetActionResponse"}, 106 "errors":[ 107 {"shape":"InternalErrorException"}, 108 {"shape":"InvalidParameterException"}, 109 {"shape":"NotFoundException"}, 110 {"shape":"AccessDeniedException"}, 111 {"shape":"ResourceLockedException"} 112 ] 113 }, 114 "DeleteNotification":{ 115 "name":"DeleteNotification", 116 "http":{ 117 "method":"POST", 118 "requestUri":"/" 119 }, 120 "input":{"shape":"DeleteNotificationRequest"}, 121 "output":{"shape":"DeleteNotificationResponse"}, 122 "errors":[ 123 {"shape":"InvalidParameterException"}, 124 {"shape":"InternalErrorException"}, 125 {"shape":"NotFoundException"}, 126 {"shape":"AccessDeniedException"} 127 ] 128 }, 129 "DeleteSubscriber":{ 130 "name":"DeleteSubscriber", 131 "http":{ 132 "method":"POST", 133 "requestUri":"/" 134 }, 135 "input":{"shape":"DeleteSubscriberRequest"}, 136 "output":{"shape":"DeleteSubscriberResponse"}, 137 "errors":[ 138 {"shape":"InternalErrorException"}, 139 {"shape":"InvalidParameterException"}, 140 {"shape":"NotFoundException"}, 141 {"shape":"AccessDeniedException"} 142 ] 143 }, 144 "DescribeBudget":{ 145 "name":"DescribeBudget", 146 "http":{ 147 "method":"POST", 148 "requestUri":"/" 149 }, 150 "input":{"shape":"DescribeBudgetRequest"}, 151 "output":{"shape":"DescribeBudgetResponse"}, 152 "errors":[ 153 {"shape":"InternalErrorException"}, 154 {"shape":"InvalidParameterException"}, 155 {"shape":"NotFoundException"}, 156 {"shape":"AccessDeniedException"} 157 ] 158 }, 159 "DescribeBudgetAction":{ 160 "name":"DescribeBudgetAction", 161 "http":{ 162 "method":"POST", 163 "requestUri":"/" 164 }, 165 "input":{"shape":"DescribeBudgetActionRequest"}, 166 "output":{"shape":"DescribeBudgetActionResponse"}, 167 "errors":[ 168 {"shape":"InternalErrorException"}, 169 {"shape":"InvalidParameterException"}, 170 {"shape":"NotFoundException"}, 171 {"shape":"AccessDeniedException"} 172 ] 173 }, 174 "DescribeBudgetActionHistories":{ 175 "name":"DescribeBudgetActionHistories", 176 "http":{ 177 "method":"POST", 178 "requestUri":"/" 179 }, 180 "input":{"shape":"DescribeBudgetActionHistoriesRequest"}, 181 "output":{"shape":"DescribeBudgetActionHistoriesResponse"}, 182 "errors":[ 183 {"shape":"InternalErrorException"}, 184 {"shape":"InvalidParameterException"}, 185 {"shape":"NotFoundException"}, 186 {"shape":"AccessDeniedException"}, 187 {"shape":"InvalidNextTokenException"} 188 ] 189 }, 190 "DescribeBudgetActionsForAccount":{ 191 "name":"DescribeBudgetActionsForAccount", 192 "http":{ 193 "method":"POST", 194 "requestUri":"/" 195 }, 196 "input":{"shape":"DescribeBudgetActionsForAccountRequest"}, 197 "output":{"shape":"DescribeBudgetActionsForAccountResponse"}, 198 "errors":[ 199 {"shape":"InternalErrorException"}, 200 {"shape":"InvalidParameterException"}, 201 {"shape":"AccessDeniedException"}, 202 {"shape":"InvalidNextTokenException"} 203 ] 204 }, 205 "DescribeBudgetActionsForBudget":{ 206 "name":"DescribeBudgetActionsForBudget", 207 "http":{ 208 "method":"POST", 209 "requestUri":"/" 210 }, 211 "input":{"shape":"DescribeBudgetActionsForBudgetRequest"}, 212 "output":{"shape":"DescribeBudgetActionsForBudgetResponse"}, 213 "errors":[ 214 {"shape":"InternalErrorException"}, 215 {"shape":"InvalidParameterException"}, 216 {"shape":"NotFoundException"}, 217 {"shape":"AccessDeniedException"}, 218 {"shape":"InvalidNextTokenException"} 219 ] 220 }, 221 "DescribeBudgetPerformanceHistory":{ 222 "name":"DescribeBudgetPerformanceHistory", 223 "http":{ 224 "method":"POST", 225 "requestUri":"/" 226 }, 227 "input":{"shape":"DescribeBudgetPerformanceHistoryRequest"}, 228 "output":{"shape":"DescribeBudgetPerformanceHistoryResponse"}, 229 "errors":[ 230 {"shape":"InternalErrorException"}, 231 {"shape":"InvalidParameterException"}, 232 {"shape":"NotFoundException"}, 233 {"shape":"InvalidNextTokenException"}, 234 {"shape":"ExpiredNextTokenException"}, 235 {"shape":"AccessDeniedException"} 236 ] 237 }, 238 "DescribeBudgets":{ 239 "name":"DescribeBudgets", 240 "http":{ 241 "method":"POST", 242 "requestUri":"/" 243 }, 244 "input":{"shape":"DescribeBudgetsRequest"}, 245 "output":{"shape":"DescribeBudgetsResponse"}, 246 "errors":[ 247 {"shape":"InternalErrorException"}, 248 {"shape":"InvalidParameterException"}, 249 {"shape":"NotFoundException"}, 250 {"shape":"InvalidNextTokenException"}, 251 {"shape":"ExpiredNextTokenException"}, 252 {"shape":"AccessDeniedException"} 253 ] 254 }, 255 "DescribeNotificationsForBudget":{ 256 "name":"DescribeNotificationsForBudget", 257 "http":{ 258 "method":"POST", 259 "requestUri":"/" 260 }, 261 "input":{"shape":"DescribeNotificationsForBudgetRequest"}, 262 "output":{"shape":"DescribeNotificationsForBudgetResponse"}, 263 "errors":[ 264 {"shape":"InternalErrorException"}, 265 {"shape":"InvalidParameterException"}, 266 {"shape":"NotFoundException"}, 267 {"shape":"InvalidNextTokenException"}, 268 {"shape":"ExpiredNextTokenException"}, 269 {"shape":"AccessDeniedException"} 270 ] 271 }, 272 "DescribeSubscribersForNotification":{ 273 "name":"DescribeSubscribersForNotification", 274 "http":{ 275 "method":"POST", 276 "requestUri":"/" 277 }, 278 "input":{"shape":"DescribeSubscribersForNotificationRequest"}, 279 "output":{"shape":"DescribeSubscribersForNotificationResponse"}, 280 "errors":[ 281 {"shape":"InternalErrorException"}, 282 {"shape":"NotFoundException"}, 283 {"shape":"InvalidParameterException"}, 284 {"shape":"InvalidNextTokenException"}, 285 {"shape":"ExpiredNextTokenException"}, 286 {"shape":"AccessDeniedException"} 287 ] 288 }, 289 "ExecuteBudgetAction":{ 290 "name":"ExecuteBudgetAction", 291 "http":{ 292 "method":"POST", 293 "requestUri":"/" 294 }, 295 "input":{"shape":"ExecuteBudgetActionRequest"}, 296 "output":{"shape":"ExecuteBudgetActionResponse"}, 297 "errors":[ 298 {"shape":"InternalErrorException"}, 299 {"shape":"InvalidParameterException"}, 300 {"shape":"NotFoundException"}, 301 {"shape":"AccessDeniedException"}, 302 {"shape":"ResourceLockedException"} 303 ] 304 }, 305 "UpdateBudget":{ 306 "name":"UpdateBudget", 307 "http":{ 308 "method":"POST", 309 "requestUri":"/" 310 }, 311 "input":{"shape":"UpdateBudgetRequest"}, 312 "output":{"shape":"UpdateBudgetResponse"}, 313 "errors":[ 314 {"shape":"InternalErrorException"}, 315 {"shape":"InvalidParameterException"}, 316 {"shape":"NotFoundException"}, 317 {"shape":"AccessDeniedException"} 318 ] 319 }, 320 "UpdateBudgetAction":{ 321 "name":"UpdateBudgetAction", 322 "http":{ 323 "method":"POST", 324 "requestUri":"/" 325 }, 326 "input":{"shape":"UpdateBudgetActionRequest"}, 327 "output":{"shape":"UpdateBudgetActionResponse"}, 328 "errors":[ 329 {"shape":"InternalErrorException"}, 330 {"shape":"InvalidParameterException"}, 331 {"shape":"NotFoundException"}, 332 {"shape":"AccessDeniedException"}, 333 {"shape":"ResourceLockedException"} 334 ] 335 }, 336 "UpdateNotification":{ 337 "name":"UpdateNotification", 338 "http":{ 339 "method":"POST", 340 "requestUri":"/" 341 }, 342 "input":{"shape":"UpdateNotificationRequest"}, 343 "output":{"shape":"UpdateNotificationResponse"}, 344 "errors":[ 345 {"shape":"InternalErrorException"}, 346 {"shape":"InvalidParameterException"}, 347 {"shape":"NotFoundException"}, 348 {"shape":"DuplicateRecordException"}, 349 {"shape":"AccessDeniedException"} 350 ] 351 }, 352 "UpdateSubscriber":{ 353 "name":"UpdateSubscriber", 354 "http":{ 355 "method":"POST", 356 "requestUri":"/" 357 }, 358 "input":{"shape":"UpdateSubscriberRequest"}, 359 "output":{"shape":"UpdateSubscriberResponse"}, 360 "errors":[ 361 {"shape":"InternalErrorException"}, 362 {"shape":"InvalidParameterException"}, 363 {"shape":"NotFoundException"}, 364 {"shape":"DuplicateRecordException"}, 365 {"shape":"AccessDeniedException"} 366 ] 367 } 368 }, 369 "shapes":{ 370 "AccessDeniedException":{ 371 "type":"structure", 372 "members":{ 373 "Message":{"shape":"errorMessage"} 374 }, 375 "exception":true 376 }, 377 "AccountId":{ 378 "type":"string", 379 "max":12, 380 "min":12, 381 "pattern":"\\d{12}" 382 }, 383 "Action":{ 384 "type":"structure", 385 "required":[ 386 "ActionId", 387 "BudgetName", 388 "NotificationType", 389 "ActionType", 390 "ActionThreshold", 391 "Definition", 392 "ExecutionRoleArn", 393 "ApprovalModel", 394 "Status", 395 "Subscribers" 396 ], 397 "members":{ 398 "ActionId":{"shape":"ActionId"}, 399 "BudgetName":{"shape":"BudgetName"}, 400 "NotificationType":{"shape":"NotificationType"}, 401 "ActionType":{"shape":"ActionType"}, 402 "ActionThreshold":{"shape":"ActionThreshold"}, 403 "Definition":{"shape":"Definition"}, 404 "ExecutionRoleArn":{"shape":"RoleArn"}, 405 "ApprovalModel":{"shape":"ApprovalModel"}, 406 "Status":{"shape":"ActionStatus"}, 407 "Subscribers":{"shape":"Subscribers"} 408 } 409 }, 410 "ActionHistories":{ 411 "type":"list", 412 "member":{"shape":"ActionHistory"}, 413 "max":100, 414 "min":0 415 }, 416 "ActionHistory":{ 417 "type":"structure", 418 "required":[ 419 "Timestamp", 420 "Status", 421 "EventType", 422 "ActionHistoryDetails" 423 ], 424 "members":{ 425 "Timestamp":{"shape":"GenericTimestamp"}, 426 "Status":{"shape":"ActionStatus"}, 427 "EventType":{"shape":"EventType"}, 428 "ActionHistoryDetails":{"shape":"ActionHistoryDetails"} 429 } 430 }, 431 "ActionHistoryDetails":{ 432 "type":"structure", 433 "required":[ 434 "Message", 435 "Action" 436 ], 437 "members":{ 438 "Message":{"shape":"GenericString"}, 439 "Action":{"shape":"Action"} 440 } 441 }, 442 "ActionId":{ 443 "type":"string", 444 "max":36, 445 "min":36, 446 "pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" 447 }, 448 "ActionStatus":{ 449 "type":"string", 450 "enum":[ 451 "STANDBY", 452 "PENDING", 453 "EXECUTION_IN_PROGRESS", 454 "EXECUTION_SUCCESS", 455 "EXECUTION_FAILURE", 456 "REVERSE_IN_PROGRESS", 457 "REVERSE_SUCCESS", 458 "REVERSE_FAILURE", 459 "RESET_IN_PROGRESS", 460 "RESET_FAILURE" 461 ] 462 }, 463 "ActionSubType":{ 464 "type":"string", 465 "enum":[ 466 "STOP_EC2_INSTANCES", 467 "STOP_RDS_INSTANCES" 468 ] 469 }, 470 "ActionThreshold":{ 471 "type":"structure", 472 "required":[ 473 "ActionThresholdValue", 474 "ActionThresholdType" 475 ], 476 "members":{ 477 "ActionThresholdValue":{"shape":"NotificationThreshold"}, 478 "ActionThresholdType":{"shape":"ThresholdType"} 479 } 480 }, 481 "ActionType":{ 482 "type":"string", 483 "enum":[ 484 "APPLY_IAM_POLICY", 485 "APPLY_SCP_POLICY", 486 "RUN_SSM_DOCUMENTS" 487 ] 488 }, 489 "Actions":{ 490 "type":"list", 491 "member":{"shape":"Action"}, 492 "max":100, 493 "min":0 494 }, 495 "ApprovalModel":{ 496 "type":"string", 497 "enum":[ 498 "AUTOMATIC", 499 "MANUAL" 500 ] 501 }, 502 "Budget":{ 503 "type":"structure", 504 "required":[ 505 "BudgetName", 506 "TimeUnit", 507 "BudgetType" 508 ], 509 "members":{ 510 "BudgetName":{"shape":"BudgetName"}, 511 "BudgetLimit":{"shape":"Spend"}, 512 "PlannedBudgetLimits":{"shape":"PlannedBudgetLimits"}, 513 "CostFilters":{"shape":"CostFilters"}, 514 "CostTypes":{"shape":"CostTypes"}, 515 "TimeUnit":{"shape":"TimeUnit"}, 516 "TimePeriod":{"shape":"TimePeriod"}, 517 "CalculatedSpend":{"shape":"CalculatedSpend"}, 518 "BudgetType":{"shape":"BudgetType"}, 519 "LastUpdatedTime":{"shape":"GenericTimestamp"} 520 } 521 }, 522 "BudgetName":{ 523 "type":"string", 524 "max":100, 525 "min":1, 526 "pattern":"[^:\\\\]+" 527 }, 528 "BudgetPerformanceHistory":{ 529 "type":"structure", 530 "members":{ 531 "BudgetName":{"shape":"BudgetName"}, 532 "BudgetType":{"shape":"BudgetType"}, 533 "CostFilters":{"shape":"CostFilters"}, 534 "CostTypes":{"shape":"CostTypes"}, 535 "TimeUnit":{"shape":"TimeUnit"}, 536 "BudgetedAndActualAmountsList":{"shape":"BudgetedAndActualAmountsList"} 537 } 538 }, 539 "BudgetType":{ 540 "type":"string", 541 "enum":[ 542 "USAGE", 543 "COST", 544 "RI_UTILIZATION", 545 "RI_COVERAGE", 546 "SAVINGS_PLANS_UTILIZATION", 547 "SAVINGS_PLANS_COVERAGE" 548 ] 549 }, 550 "BudgetedAndActualAmounts":{ 551 "type":"structure", 552 "members":{ 553 "BudgetedAmount":{"shape":"Spend"}, 554 "ActualAmount":{"shape":"Spend"}, 555 "TimePeriod":{"shape":"TimePeriod"} 556 } 557 }, 558 "BudgetedAndActualAmountsList":{ 559 "type":"list", 560 "member":{"shape":"BudgetedAndActualAmounts"} 561 }, 562 "Budgets":{ 563 "type":"list", 564 "member":{"shape":"Budget"} 565 }, 566 "CalculatedSpend":{ 567 "type":"structure", 568 "required":["ActualSpend"], 569 "members":{ 570 "ActualSpend":{"shape":"Spend"}, 571 "ForecastedSpend":{"shape":"Spend"} 572 } 573 }, 574 "ComparisonOperator":{ 575 "type":"string", 576 "enum":[ 577 "GREATER_THAN", 578 "LESS_THAN", 579 "EQUAL_TO" 580 ] 581 }, 582 "CostFilters":{ 583 "type":"map", 584 "key":{"shape":"GenericString"}, 585 "value":{"shape":"DimensionValues"} 586 }, 587 "CostTypes":{ 588 "type":"structure", 589 "members":{ 590 "IncludeTax":{"shape":"NullableBoolean"}, 591 "IncludeSubscription":{"shape":"NullableBoolean"}, 592 "UseBlended":{"shape":"NullableBoolean"}, 593 "IncludeRefund":{"shape":"NullableBoolean"}, 594 "IncludeCredit":{"shape":"NullableBoolean"}, 595 "IncludeUpfront":{"shape":"NullableBoolean"}, 596 "IncludeRecurring":{"shape":"NullableBoolean"}, 597 "IncludeOtherSubscription":{"shape":"NullableBoolean"}, 598 "IncludeSupport":{"shape":"NullableBoolean"}, 599 "IncludeDiscount":{"shape":"NullableBoolean"}, 600 "UseAmortized":{"shape":"NullableBoolean"} 601 } 602 }, 603 "CreateBudgetActionRequest":{ 604 "type":"structure", 605 "required":[ 606 "AccountId", 607 "BudgetName", 608 "NotificationType", 609 "ActionType", 610 "ActionThreshold", 611 "Definition", 612 "ExecutionRoleArn", 613 "ApprovalModel", 614 "Subscribers" 615 ], 616 "members":{ 617 "AccountId":{"shape":"AccountId"}, 618 "BudgetName":{"shape":"BudgetName"}, 619 "NotificationType":{"shape":"NotificationType"}, 620 "ActionType":{"shape":"ActionType"}, 621 "ActionThreshold":{"shape":"ActionThreshold"}, 622 "Definition":{"shape":"Definition"}, 623 "ExecutionRoleArn":{"shape":"RoleArn"}, 624 "ApprovalModel":{"shape":"ApprovalModel"}, 625 "Subscribers":{"shape":"Subscribers"} 626 } 627 }, 628 "CreateBudgetActionResponse":{ 629 "type":"structure", 630 "required":[ 631 "AccountId", 632 "BudgetName", 633 "ActionId" 634 ], 635 "members":{ 636 "AccountId":{"shape":"AccountId"}, 637 "BudgetName":{"shape":"BudgetName"}, 638 "ActionId":{"shape":"ActionId"} 639 } 640 }, 641 "CreateBudgetRequest":{ 642 "type":"structure", 643 "required":[ 644 "AccountId", 645 "Budget" 646 ], 647 "members":{ 648 "AccountId":{"shape":"AccountId"}, 649 "Budget":{"shape":"Budget"}, 650 "NotificationsWithSubscribers":{"shape":"NotificationWithSubscribersList"} 651 } 652 }, 653 "CreateBudgetResponse":{ 654 "type":"structure", 655 "members":{ 656 } 657 }, 658 "CreateNotificationRequest":{ 659 "type":"structure", 660 "required":[ 661 "AccountId", 662 "BudgetName", 663 "Notification", 664 "Subscribers" 665 ], 666 "members":{ 667 "AccountId":{"shape":"AccountId"}, 668 "BudgetName":{"shape":"BudgetName"}, 669 "Notification":{"shape":"Notification"}, 670 "Subscribers":{"shape":"Subscribers"} 671 } 672 }, 673 "CreateNotificationResponse":{ 674 "type":"structure", 675 "members":{ 676 } 677 }, 678 "CreateSubscriberRequest":{ 679 "type":"structure", 680 "required":[ 681 "AccountId", 682 "BudgetName", 683 "Notification", 684 "Subscriber" 685 ], 686 "members":{ 687 "AccountId":{"shape":"AccountId"}, 688 "BudgetName":{"shape":"BudgetName"}, 689 "Notification":{"shape":"Notification"}, 690 "Subscriber":{"shape":"Subscriber"} 691 } 692 }, 693 "CreateSubscriberResponse":{ 694 "type":"structure", 695 "members":{ 696 } 697 }, 698 "CreationLimitExceededException":{ 699 "type":"structure", 700 "members":{ 701 "Message":{"shape":"errorMessage"} 702 }, 703 "exception":true 704 }, 705 "Definition":{ 706 "type":"structure", 707 "members":{ 708 "IamActionDefinition":{"shape":"IamActionDefinition"}, 709 "ScpActionDefinition":{"shape":"ScpActionDefinition"}, 710 "SsmActionDefinition":{"shape":"SsmActionDefinition"} 711 } 712 }, 713 "DeleteBudgetActionRequest":{ 714 "type":"structure", 715 "required":[ 716 "AccountId", 717 "BudgetName", 718 "ActionId" 719 ], 720 "members":{ 721 "AccountId":{"shape":"AccountId"}, 722 "BudgetName":{"shape":"BudgetName"}, 723 "ActionId":{"shape":"ActionId"} 724 } 725 }, 726 "DeleteBudgetActionResponse":{ 727 "type":"structure", 728 "required":[ 729 "AccountId", 730 "BudgetName", 731 "Action" 732 ], 733 "members":{ 734 "AccountId":{"shape":"AccountId"}, 735 "BudgetName":{"shape":"BudgetName"}, 736 "Action":{"shape":"Action"} 737 } 738 }, 739 "DeleteBudgetRequest":{ 740 "type":"structure", 741 "required":[ 742 "AccountId", 743 "BudgetName" 744 ], 745 "members":{ 746 "AccountId":{"shape":"AccountId"}, 747 "BudgetName":{"shape":"BudgetName"} 748 } 749 }, 750 "DeleteBudgetResponse":{ 751 "type":"structure", 752 "members":{ 753 } 754 }, 755 "DeleteNotificationRequest":{ 756 "type":"structure", 757 "required":[ 758 "AccountId", 759 "BudgetName", 760 "Notification" 761 ], 762 "members":{ 763 "AccountId":{"shape":"AccountId"}, 764 "BudgetName":{"shape":"BudgetName"}, 765 "Notification":{"shape":"Notification"} 766 } 767 }, 768 "DeleteNotificationResponse":{ 769 "type":"structure", 770 "members":{ 771 } 772 }, 773 "DeleteSubscriberRequest":{ 774 "type":"structure", 775 "required":[ 776 "AccountId", 777 "BudgetName", 778 "Notification", 779 "Subscriber" 780 ], 781 "members":{ 782 "AccountId":{"shape":"AccountId"}, 783 "BudgetName":{"shape":"BudgetName"}, 784 "Notification":{"shape":"Notification"}, 785 "Subscriber":{"shape":"Subscriber"} 786 } 787 }, 788 "DeleteSubscriberResponse":{ 789 "type":"structure", 790 "members":{ 791 } 792 }, 793 "DescribeBudgetActionHistoriesRequest":{ 794 "type":"structure", 795 "required":[ 796 "AccountId", 797 "BudgetName", 798 "ActionId" 799 ], 800 "members":{ 801 "AccountId":{"shape":"AccountId"}, 802 "BudgetName":{"shape":"BudgetName"}, 803 "ActionId":{"shape":"ActionId"}, 804 "TimePeriod":{"shape":"TimePeriod"}, 805 "MaxResults":{"shape":"MaxResults"}, 806 "NextToken":{"shape":"GenericString"} 807 } 808 }, 809 "DescribeBudgetActionHistoriesResponse":{ 810 "type":"structure", 811 "required":["ActionHistories"], 812 "members":{ 813 "ActionHistories":{"shape":"ActionHistories"}, 814 "NextToken":{"shape":"GenericString"} 815 } 816 }, 817 "DescribeBudgetActionRequest":{ 818 "type":"structure", 819 "required":[ 820 "AccountId", 821 "BudgetName", 822 "ActionId" 823 ], 824 "members":{ 825 "AccountId":{"shape":"AccountId"}, 826 "BudgetName":{"shape":"BudgetName"}, 827 "ActionId":{"shape":"ActionId"} 828 } 829 }, 830 "DescribeBudgetActionResponse":{ 831 "type":"structure", 832 "required":[ 833 "AccountId", 834 "BudgetName", 835 "Action" 836 ], 837 "members":{ 838 "AccountId":{"shape":"AccountId"}, 839 "BudgetName":{"shape":"BudgetName"}, 840 "Action":{"shape":"Action"} 841 } 842 }, 843 "DescribeBudgetActionsForAccountRequest":{ 844 "type":"structure", 845 "required":["AccountId"], 846 "members":{ 847 "AccountId":{"shape":"AccountId"}, 848 "MaxResults":{"shape":"MaxResults"}, 849 "NextToken":{"shape":"GenericString"} 850 } 851 }, 852 "DescribeBudgetActionsForAccountResponse":{ 853 "type":"structure", 854 "required":["Actions"], 855 "members":{ 856 "Actions":{"shape":"Actions"}, 857 "NextToken":{"shape":"GenericString"} 858 } 859 }, 860 "DescribeBudgetActionsForBudgetRequest":{ 861 "type":"structure", 862 "required":[ 863 "AccountId", 864 "BudgetName" 865 ], 866 "members":{ 867 "AccountId":{"shape":"AccountId"}, 868 "BudgetName":{"shape":"BudgetName"}, 869 "MaxResults":{"shape":"MaxResults"}, 870 "NextToken":{"shape":"GenericString"} 871 } 872 }, 873 "DescribeBudgetActionsForBudgetResponse":{ 874 "type":"structure", 875 "required":["Actions"], 876 "members":{ 877 "Actions":{"shape":"Actions"}, 878 "NextToken":{"shape":"GenericString"} 879 } 880 }, 881 "DescribeBudgetPerformanceHistoryRequest":{ 882 "type":"structure", 883 "required":[ 884 "AccountId", 885 "BudgetName" 886 ], 887 "members":{ 888 "AccountId":{"shape":"AccountId"}, 889 "BudgetName":{"shape":"BudgetName"}, 890 "TimePeriod":{"shape":"TimePeriod"}, 891 "MaxResults":{"shape":"MaxResults"}, 892 "NextToken":{"shape":"GenericString"} 893 } 894 }, 895 "DescribeBudgetPerformanceHistoryResponse":{ 896 "type":"structure", 897 "members":{ 898 "BudgetPerformanceHistory":{"shape":"BudgetPerformanceHistory"}, 899 "NextToken":{"shape":"GenericString"} 900 } 901 }, 902 "DescribeBudgetRequest":{ 903 "type":"structure", 904 "required":[ 905 "AccountId", 906 "BudgetName" 907 ], 908 "members":{ 909 "AccountId":{"shape":"AccountId"}, 910 "BudgetName":{"shape":"BudgetName"} 911 } 912 }, 913 "DescribeBudgetResponse":{ 914 "type":"structure", 915 "members":{ 916 "Budget":{"shape":"Budget"} 917 } 918 }, 919 "DescribeBudgetsRequest":{ 920 "type":"structure", 921 "required":["AccountId"], 922 "members":{ 923 "AccountId":{"shape":"AccountId"}, 924 "MaxResults":{"shape":"MaxResults"}, 925 "NextToken":{"shape":"GenericString"} 926 } 927 }, 928 "DescribeBudgetsResponse":{ 929 "type":"structure", 930 "members":{ 931 "Budgets":{"shape":"Budgets"}, 932 "NextToken":{"shape":"GenericString"} 933 } 934 }, 935 "DescribeNotificationsForBudgetRequest":{ 936 "type":"structure", 937 "required":[ 938 "AccountId", 939 "BudgetName" 940 ], 941 "members":{ 942 "AccountId":{"shape":"AccountId"}, 943 "BudgetName":{"shape":"BudgetName"}, 944 "MaxResults":{"shape":"MaxResults"}, 945 "NextToken":{"shape":"GenericString"} 946 } 947 }, 948 "DescribeNotificationsForBudgetResponse":{ 949 "type":"structure", 950 "members":{ 951 "Notifications":{"shape":"Notifications"}, 952 "NextToken":{"shape":"GenericString"} 953 } 954 }, 955 "DescribeSubscribersForNotificationRequest":{ 956 "type":"structure", 957 "required":[ 958 "AccountId", 959 "BudgetName", 960 "Notification" 961 ], 962 "members":{ 963 "AccountId":{"shape":"AccountId"}, 964 "BudgetName":{"shape":"BudgetName"}, 965 "Notification":{"shape":"Notification"}, 966 "MaxResults":{"shape":"MaxResults"}, 967 "NextToken":{"shape":"GenericString"} 968 } 969 }, 970 "DescribeSubscribersForNotificationResponse":{ 971 "type":"structure", 972 "members":{ 973 "Subscribers":{"shape":"Subscribers"}, 974 "NextToken":{"shape":"GenericString"} 975 } 976 }, 977 "DimensionValues":{ 978 "type":"list", 979 "member":{"shape":"GenericString"} 980 }, 981 "DuplicateRecordException":{ 982 "type":"structure", 983 "members":{ 984 "Message":{"shape":"errorMessage"} 985 }, 986 "exception":true 987 }, 988 "EventType":{ 989 "type":"string", 990 "enum":[ 991 "SYSTEM", 992 "CREATE_ACTION", 993 "DELETE_ACTION", 994 "UPDATE_ACTION", 995 "EXECUTE_ACTION" 996 ] 997 }, 998 "ExecuteBudgetActionRequest":{ 999 "type":"structure", 1000 "required":[ 1001 "AccountId", 1002 "BudgetName", 1003 "ActionId", 1004 "ExecutionType" 1005 ], 1006 "members":{ 1007 "AccountId":{"shape":"AccountId"}, 1008 "BudgetName":{"shape":"BudgetName"}, 1009 "ActionId":{"shape":"ActionId"}, 1010 "ExecutionType":{"shape":"ExecutionType"} 1011 } 1012 }, 1013 "ExecuteBudgetActionResponse":{ 1014 "type":"structure", 1015 "required":[ 1016 "AccountId", 1017 "BudgetName", 1018 "ActionId", 1019 "ExecutionType" 1020 ], 1021 "members":{ 1022 "AccountId":{"shape":"AccountId"}, 1023 "BudgetName":{"shape":"BudgetName"}, 1024 "ActionId":{"shape":"ActionId"}, 1025 "ExecutionType":{"shape":"ExecutionType"} 1026 } 1027 }, 1028 "ExecutionType":{ 1029 "type":"string", 1030 "enum":[ 1031 "APPROVE_BUDGET_ACTION", 1032 "RETRY_BUDGET_ACTION", 1033 "REVERSE_BUDGET_ACTION", 1034 "RESET_BUDGET_ACTION" 1035 ] 1036 }, 1037 "ExpiredNextTokenException":{ 1038 "type":"structure", 1039 "members":{ 1040 "Message":{"shape":"errorMessage"} 1041 }, 1042 "exception":true 1043 }, 1044 "GenericString":{ 1045 "type":"string", 1046 "max":2147483647, 1047 "min":0, 1048 "pattern":".*" 1049 }, 1050 "GenericTimestamp":{"type":"timestamp"}, 1051 "Group":{ 1052 "type":"string", 1053 "max":640, 1054 "min":1, 1055 "pattern":"^([\\u0021-\\u007F]+\\u002F)?[\\w+=,.@-]+$" 1056 }, 1057 "Groups":{ 1058 "type":"list", 1059 "member":{"shape":"Group"}, 1060 "max":100, 1061 "min":1 1062 }, 1063 "IamActionDefinition":{ 1064 "type":"structure", 1065 "required":["PolicyArn"], 1066 "members":{ 1067 "PolicyArn":{"shape":"PolicyArn"}, 1068 "Roles":{"shape":"Roles"}, 1069 "Groups":{"shape":"Groups"}, 1070 "Users":{"shape":"Users"} 1071 } 1072 }, 1073 "InstanceId":{ 1074 "type":"string", 1075 "max":63, 1076 "min":1, 1077 "pattern":"^i-(\\w{8}|\\w{17})$|^[a-zA-Z]([\\w-]{0,61}\\w)?$" 1078 }, 1079 "InstanceIds":{ 1080 "type":"list", 1081 "member":{"shape":"InstanceId"}, 1082 "max":100, 1083 "min":1 1084 }, 1085 "InternalErrorException":{ 1086 "type":"structure", 1087 "members":{ 1088 "Message":{"shape":"errorMessage"} 1089 }, 1090 "exception":true 1091 }, 1092 "InvalidNextTokenException":{ 1093 "type":"structure", 1094 "members":{ 1095 "Message":{"shape":"errorMessage"} 1096 }, 1097 "exception":true 1098 }, 1099 "InvalidParameterException":{ 1100 "type":"structure", 1101 "members":{ 1102 "Message":{"shape":"errorMessage"} 1103 }, 1104 "exception":true 1105 }, 1106 "MaxResults":{ 1107 "type":"integer", 1108 "box":true, 1109 "max":100, 1110 "min":1 1111 }, 1112 "NotFoundException":{ 1113 "type":"structure", 1114 "members":{ 1115 "Message":{"shape":"errorMessage"} 1116 }, 1117 "exception":true 1118 }, 1119 "Notification":{ 1120 "type":"structure", 1121 "required":[ 1122 "NotificationType", 1123 "ComparisonOperator", 1124 "Threshold" 1125 ], 1126 "members":{ 1127 "NotificationType":{"shape":"NotificationType"}, 1128 "ComparisonOperator":{"shape":"ComparisonOperator"}, 1129 "Threshold":{"shape":"NotificationThreshold"}, 1130 "ThresholdType":{"shape":"ThresholdType"}, 1131 "NotificationState":{"shape":"NotificationState"} 1132 } 1133 }, 1134 "NotificationState":{ 1135 "type":"string", 1136 "enum":[ 1137 "OK", 1138 "ALARM" 1139 ] 1140 }, 1141 "NotificationThreshold":{ 1142 "type":"double", 1143 "max":40000000000, 1144 "min":0 1145 }, 1146 "NotificationType":{ 1147 "type":"string", 1148 "enum":[ 1149 "ACTUAL", 1150 "FORECASTED" 1151 ] 1152 }, 1153 "NotificationWithSubscribers":{ 1154 "type":"structure", 1155 "required":[ 1156 "Notification", 1157 "Subscribers" 1158 ], 1159 "members":{ 1160 "Notification":{"shape":"Notification"}, 1161 "Subscribers":{"shape":"Subscribers"} 1162 } 1163 }, 1164 "NotificationWithSubscribersList":{ 1165 "type":"list", 1166 "member":{"shape":"NotificationWithSubscribers"}, 1167 "max":10 1168 }, 1169 "Notifications":{ 1170 "type":"list", 1171 "member":{"shape":"Notification"} 1172 }, 1173 "NullableBoolean":{ 1174 "type":"boolean", 1175 "box":true 1176 }, 1177 "NumericValue":{ 1178 "type":"string", 1179 "max":2147483647, 1180 "min":1, 1181 "pattern":"([0-9]*\\.)?[0-9]+" 1182 }, 1183 "PlannedBudgetLimits":{ 1184 "type":"map", 1185 "key":{"shape":"GenericString"}, 1186 "value":{"shape":"Spend"} 1187 }, 1188 "PolicyArn":{ 1189 "type":"string", 1190 "max":684, 1191 "min":25, 1192 "pattern":"^arn:(aws|aws-cn|aws-us-gov|us-iso-east-1|us-isob-east-1):iam::(\\d{12}|aws):policy(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$" 1193 }, 1194 "PolicyId":{ 1195 "type":"string", 1196 "max":130, 1197 "min":10, 1198 "pattern":"^p-[0-9a-zA-Z_]{8,128}$" 1199 }, 1200 "Region":{ 1201 "type":"string", 1202 "max":20, 1203 "min":9, 1204 "pattern":"^\\w{2}-\\w+(-\\w+)?-\\d$" 1205 }, 1206 "ResourceLockedException":{ 1207 "type":"structure", 1208 "members":{ 1209 "Message":{"shape":"errorMessage"} 1210 }, 1211 "exception":true 1212 }, 1213 "Role":{ 1214 "type":"string", 1215 "max":576, 1216 "min":1, 1217 "pattern":"^([\\u0021-\\u007F]+\\u002F)?[\\w+=,.@-]+$" 1218 }, 1219 "RoleArn":{ 1220 "type":"string", 1221 "max":618, 1222 "min":32, 1223 "pattern":"^arn:(aws|aws-cn|aws-us-gov|us-iso-east-1|us-isob-east-1):iam::\\d{12}:role(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$" 1224 }, 1225 "Roles":{ 1226 "type":"list", 1227 "member":{"shape":"Role"}, 1228 "max":100, 1229 "min":1 1230 }, 1231 "ScpActionDefinition":{ 1232 "type":"structure", 1233 "required":[ 1234 "PolicyId", 1235 "TargetIds" 1236 ], 1237 "members":{ 1238 "PolicyId":{"shape":"PolicyId"}, 1239 "TargetIds":{"shape":"TargetIds"} 1240 } 1241 }, 1242 "Spend":{ 1243 "type":"structure", 1244 "required":[ 1245 "Amount", 1246 "Unit" 1247 ], 1248 "members":{ 1249 "Amount":{"shape":"NumericValue"}, 1250 "Unit":{"shape":"UnitValue"} 1251 } 1252 }, 1253 "SsmActionDefinition":{ 1254 "type":"structure", 1255 "required":[ 1256 "ActionSubType", 1257 "Region", 1258 "InstanceIds" 1259 ], 1260 "members":{ 1261 "ActionSubType":{"shape":"ActionSubType"}, 1262 "Region":{"shape":"Region"}, 1263 "InstanceIds":{"shape":"InstanceIds"} 1264 } 1265 }, 1266 "Subscriber":{ 1267 "type":"structure", 1268 "required":[ 1269 "SubscriptionType", 1270 "Address" 1271 ], 1272 "members":{ 1273 "SubscriptionType":{"shape":"SubscriptionType"}, 1274 "Address":{"shape":"SubscriberAddress"} 1275 } 1276 }, 1277 "SubscriberAddress":{ 1278 "type":"string", 1279 "max":2147483647, 1280 "min":1, 1281 "pattern":"(.*[\\n\\r\\t\\f\\ ]?)*", 1282 "sensitive":true 1283 }, 1284 "Subscribers":{ 1285 "type":"list", 1286 "member":{"shape":"Subscriber"}, 1287 "max":11, 1288 "min":1 1289 }, 1290 "SubscriptionType":{ 1291 "type":"string", 1292 "enum":[ 1293 "SNS", 1294 "EMAIL" 1295 ] 1296 }, 1297 "TargetId":{ 1298 "type":"string", 1299 "max":68, 1300 "min":12, 1301 "pattern":"^(ou-[0-9a-z]{4,32}-[a-z0-9]{8,32}$)|(\\d{12})" 1302 }, 1303 "TargetIds":{ 1304 "type":"list", 1305 "member":{"shape":"TargetId"}, 1306 "max":100, 1307 "min":1 1308 }, 1309 "ThresholdType":{ 1310 "type":"string", 1311 "enum":[ 1312 "PERCENTAGE", 1313 "ABSOLUTE_VALUE" 1314 ] 1315 }, 1316 "TimePeriod":{ 1317 "type":"structure", 1318 "members":{ 1319 "Start":{"shape":"GenericTimestamp"}, 1320 "End":{"shape":"GenericTimestamp"} 1321 } 1322 }, 1323 "TimeUnit":{ 1324 "type":"string", 1325 "enum":[ 1326 "DAILY", 1327 "MONTHLY", 1328 "QUARTERLY", 1329 "ANNUALLY" 1330 ] 1331 }, 1332 "UnitValue":{ 1333 "type":"string", 1334 "max":2147483647, 1335 "min":1, 1336 "pattern":".*" 1337 }, 1338 "UpdateBudgetActionRequest":{ 1339 "type":"structure", 1340 "required":[ 1341 "AccountId", 1342 "BudgetName", 1343 "ActionId" 1344 ], 1345 "members":{ 1346 "AccountId":{"shape":"AccountId"}, 1347 "BudgetName":{"shape":"BudgetName"}, 1348 "ActionId":{"shape":"ActionId"}, 1349 "NotificationType":{"shape":"NotificationType"}, 1350 "ActionThreshold":{"shape":"ActionThreshold"}, 1351 "Definition":{"shape":"Definition"}, 1352 "ExecutionRoleArn":{"shape":"RoleArn"}, 1353 "ApprovalModel":{"shape":"ApprovalModel"}, 1354 "Subscribers":{"shape":"Subscribers"} 1355 } 1356 }, 1357 "UpdateBudgetActionResponse":{ 1358 "type":"structure", 1359 "required":[ 1360 "AccountId", 1361 "BudgetName", 1362 "OldAction", 1363 "NewAction" 1364 ], 1365 "members":{ 1366 "AccountId":{"shape":"AccountId"}, 1367 "BudgetName":{"shape":"BudgetName"}, 1368 "OldAction":{"shape":"Action"}, 1369 "NewAction":{"shape":"Action"} 1370 } 1371 }, 1372 "UpdateBudgetRequest":{ 1373 "type":"structure", 1374 "required":[ 1375 "AccountId", 1376 "NewBudget" 1377 ], 1378 "members":{ 1379 "AccountId":{"shape":"AccountId"}, 1380 "NewBudget":{"shape":"Budget"} 1381 } 1382 }, 1383 "UpdateBudgetResponse":{ 1384 "type":"structure", 1385 "members":{ 1386 } 1387 }, 1388 "UpdateNotificationRequest":{ 1389 "type":"structure", 1390 "required":[ 1391 "AccountId", 1392 "BudgetName", 1393 "OldNotification", 1394 "NewNotification" 1395 ], 1396 "members":{ 1397 "AccountId":{"shape":"AccountId"}, 1398 "BudgetName":{"shape":"BudgetName"}, 1399 "OldNotification":{"shape":"Notification"}, 1400 "NewNotification":{"shape":"Notification"} 1401 } 1402 }, 1403 "UpdateNotificationResponse":{ 1404 "type":"structure", 1405 "members":{ 1406 } 1407 }, 1408 "UpdateSubscriberRequest":{ 1409 "type":"structure", 1410 "required":[ 1411 "AccountId", 1412 "BudgetName", 1413 "Notification", 1414 "OldSubscriber", 1415 "NewSubscriber" 1416 ], 1417 "members":{ 1418 "AccountId":{"shape":"AccountId"}, 1419 "BudgetName":{"shape":"BudgetName"}, 1420 "Notification":{"shape":"Notification"}, 1421 "OldSubscriber":{"shape":"Subscriber"}, 1422 "NewSubscriber":{"shape":"Subscriber"} 1423 } 1424 }, 1425 "UpdateSubscriberResponse":{ 1426 "type":"structure", 1427 "members":{ 1428 } 1429 }, 1430 "User":{ 1431 "type":"string", 1432 "max":576, 1433 "min":1, 1434 "pattern":"^([\\u0021-\\u007F]+\\u002F)?[\\w+=,.@-]+$" 1435 }, 1436 "Users":{ 1437 "type":"list", 1438 "member":{"shape":"User"}, 1439 "max":100, 1440 "min":1 1441 }, 1442 "errorMessage":{"type":"string"} 1443 } 1444 }