{ "version": "2.0", "metadata": { "apiVersion": "2016-10-20", "endpointPrefix": "budgets", "jsonVersion": "1.1", "protocol": "json", "serviceAbbreviation": "AWSBudgets", "serviceFullName": "AWS Budgets", "serviceId": "Budgets", "signatureVersion": "v4", "targetPrefix": "AWSBudgetServiceGateway", "uid": "budgets-2016-10-20" }, "operations": { "CreateBudget": { "input": { "type": "structure", "required": [ "AccountId", "Budget" ], "members": { "AccountId": {}, "Budget": { "shape": "S3" }, "NotificationsWithSubscribers": { "type": "list", "member": { "type": "structure", "required": [ "Notification", "Subscribers" ], "members": { "Notification": { "shape": "Sk" }, "Subscribers": { "shape": "Sq" } } } } } }, "output": { "type": "structure", "members": {} } }, "CreateNotification": { "input": { "type": "structure", "required": [ "AccountId", "BudgetName", "Notification", "Subscribers" ], "members": { "AccountId": {}, "BudgetName": {}, "Notification": { "shape": "Sk" }, "Subscribers": { "shape": "Sq" } } }, "output": { "type": "structure", "members": {} } }, "CreateSubscriber": { "input": { "type": "structure", "required": [ "AccountId", "BudgetName", "Notification", "Subscriber" ], "members": { "AccountId": {}, "BudgetName": {}, "Notification": { "shape": "Sk" }, "Subscriber": { "shape": "Sr" } } }, "output": { "type": "structure", "members": {} } }, "DeleteBudget": { "input": { "type": "structure", "required": [ "AccountId", "BudgetName" ], "members": { "AccountId": {}, "BudgetName": {} } }, "output": { "type": "structure", "members": {} } }, "DeleteNotification": { "input": { "type": "structure", "required": [ "AccountId", "BudgetName", "Notification" ], "members": { "AccountId": {}, "BudgetName": {}, "Notification": { "shape": "Sk" } } }, "output": { "type": "structure", "members": {} } }, "DeleteSubscriber": { "input": { "type": "structure", "required": [ "AccountId", "BudgetName", "Notification", "Subscriber" ], "members": { "AccountId": {}, "BudgetName": {}, "Notification": { "shape": "Sk" }, "Subscriber": { "shape": "Sr" } } }, "output": { "type": "structure", "members": {} } }, "DescribeBudget": { "input": { "type": "structure", "required": [ "AccountId", "BudgetName" ], "members": { "AccountId": {}, "BudgetName": {} } }, "output": { "type": "structure", "members": { "Budget": { "shape": "S3" } } } }, "DescribeBudgetPerformanceHistory": { "input": { "type": "structure", "required": [ "AccountId", "BudgetName" ], "members": { "AccountId": {}, "BudgetName": {}, "TimePeriod": { "shape": "Se" }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "BudgetPerformanceHistory": { "type": "structure", "members": { "BudgetName": {}, "BudgetType": {}, "CostFilters": { "shape": "S8" }, "CostTypes": { "shape": "Sb" }, "TimeUnit": {}, "BudgetedAndActualAmountsList": { "type": "list", "member": { "type": "structure", "members": { "BudgetedAmount": { "shape": "S5" }, "ActualAmount": { "shape": "S5" }, "TimePeriod": { "shape": "Se" } } } } } }, "NextToken": {} } } }, "DescribeBudgets": { "input": { "type": "structure", "required": [ "AccountId" ], "members": { "AccountId": {}, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Budgets": { "type": "list", "member": { "shape": "S3" } }, "NextToken": {} } } }, "DescribeNotificationsForBudget": { "input": { "type": "structure", "required": [ "AccountId", "BudgetName" ], "members": { "AccountId": {}, "BudgetName": {}, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Notifications": { "type": "list", "member": { "shape": "Sk" } }, "NextToken": {} } } }, "DescribeSubscribersForNotification": { "input": { "type": "structure", "required": [ "AccountId", "BudgetName", "Notification" ], "members": { "AccountId": {}, "BudgetName": {}, "Notification": { "shape": "Sk" }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Subscribers": { "shape": "Sq" }, "NextToken": {} } } }, "UpdateBudget": { "input": { "type": "structure", "required": [ "AccountId", "NewBudget" ], "members": { "AccountId": {}, "NewBudget": { "shape": "S3" } } }, "output": { "type": "structure", "members": {} } }, "UpdateNotification": { "input": { "type": "structure", "required": [ "AccountId", "BudgetName", "OldNotification", "NewNotification" ], "members": { "AccountId": {}, "BudgetName": {}, "OldNotification": { "shape": "Sk" }, "NewNotification": { "shape": "Sk" } } }, "output": { "type": "structure", "members": {} } }, "UpdateSubscriber": { "input": { "type": "structure", "required": [ "AccountId", "BudgetName", "Notification", "OldSubscriber", "NewSubscriber" ], "members": { "AccountId": {}, "BudgetName": {}, "Notification": { "shape": "Sk" }, "OldSubscriber": { "shape": "Sr" }, "NewSubscriber": { "shape": "Sr" } } }, "output": { "type": "structure", "members": {} } } }, "shapes": { "S3": { "type": "structure", "required": [ "BudgetName", "TimeUnit", "BudgetType" ], "members": { "BudgetName": {}, "BudgetLimit": { "shape": "S5" }, "CostFilters": { "shape": "S8" }, "CostTypes": { "shape": "Sb" }, "TimeUnit": {}, "TimePeriod": { "shape": "Se" }, "CalculatedSpend": { "type": "structure", "required": [ "ActualSpend" ], "members": { "ActualSpend": { "shape": "S5" }, "ForecastedSpend": { "shape": "S5" } } }, "BudgetType": {}, "LastUpdatedTime": { "type": "timestamp" } } }, "S5": { "type": "structure", "required": [ "Amount", "Unit" ], "members": { "Amount": {}, "Unit": {} } }, "S8": { "type": "map", "key": {}, "value": { "type": "list", "member": {} } }, "Sb": { "type": "structure", "members": { "IncludeTax": { "type": "boolean" }, "IncludeSubscription": { "type": "boolean" }, "UseBlended": { "type": "boolean" }, "IncludeRefund": { "type": "boolean" }, "IncludeCredit": { "type": "boolean" }, "IncludeUpfront": { "type": "boolean" }, "IncludeRecurring": { "type": "boolean" }, "IncludeOtherSubscription": { "type": "boolean" }, "IncludeSupport": { "type": "boolean" }, "IncludeDiscount": { "type": "boolean" }, "UseAmortized": { "type": "boolean" } } }, "Se": { "type": "structure", "members": { "Start": { "type": "timestamp" }, "End": { "type": "timestamp" } } }, "Sk": { "type": "structure", "required": [ "NotificationType", "ComparisonOperator", "Threshold" ], "members": { "NotificationType": {}, "ComparisonOperator": {}, "Threshold": { "type": "double" }, "ThresholdType": {}, "NotificationState": {} } }, "Sq": { "type": "list", "member": { "shape": "Sr" } }, "Sr": { "type": "structure", "required": [ "SubscriptionType", "Address" ], "members": { "SubscriptionType": {}, "Address": { "type": "string", "sensitive": true } } } } }