{
"version":"2.0",
"metadata":{
"apiVersion":"2016-10-20",
"endpointPrefix":"budgets",
"jsonVersion":"1.1",
"protocol":"json",
"serviceAbbreviation":"AWSBudgets",
"serviceFullName":"AWS Budgets",
"signatureVersion":"v4",
"targetPrefix":"AWSBudgetServiceGateway",
"uid":"budgets-2016-10-20"
},
"operations":{
"CreateBudget":{
"name":"CreateBudget",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateBudgetRequest"},
"output":{"shape":"CreateBudgetResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"InternalErrorException"},
{"shape":"CreationLimitExceededException"},
{"shape":"DuplicateRecordException"}
],
"documentation":"Create a new budget"
},
"CreateNotification":{
"name":"CreateNotification",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateNotificationRequest"},
"output":{"shape":"CreateNotificationResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"InvalidParameterException"},
{"shape":"NotFoundException"},
{"shape":"CreationLimitExceededException"},
{"shape":"DuplicateRecordException"}
],
"documentation":"Create a new Notification with subscribers for a budget"
},
"CreateSubscriber":{
"name":"CreateSubscriber",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateSubscriberRequest"},
"output":{"shape":"CreateSubscriberResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"InvalidParameterException"},
{"shape":"CreationLimitExceededException"},
{"shape":"DuplicateRecordException"}
],
"documentation":"Create a new Subscriber for a notification"
},
"DeleteBudget":{
"name":"DeleteBudget",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteBudgetRequest"},
"output":{"shape":"DeleteBudgetResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"InvalidParameterException"},
{"shape":"NotFoundException"}
],
"documentation":"Delete a budget and related notifications"
},
"DeleteNotification":{
"name":"DeleteNotification",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteNotificationRequest"},
"output":{"shape":"DeleteNotificationResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"InternalErrorException"},
{"shape":"NotFoundException"}
],
"documentation":"Delete a notification and related subscribers"
},
"DeleteSubscriber":{
"name":"DeleteSubscriber",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteSubscriberRequest"},
"output":{"shape":"DeleteSubscriberResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"InvalidParameterException"},
{"shape":"NotFoundException"}
],
"documentation":"Delete a Subscriber for a notification"
},
"DescribeBudget":{
"name":"DescribeBudget",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeBudgetRequest"},
"output":{"shape":"DescribeBudgetResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"InvalidParameterException"},
{"shape":"NotFoundException"}
],
"documentation":"Get a single budget"
},
"DescribeBudgets":{
"name":"DescribeBudgets",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeBudgetsRequest"},
"output":{"shape":"DescribeBudgetsResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"InvalidParameterException"},
{"shape":"NotFoundException"},
{"shape":"InvalidNextTokenException"},
{"shape":"ExpiredNextTokenException"}
],
"documentation":"Get all budgets for an account"
},
"DescribeNotificationsForBudget":{
"name":"DescribeNotificationsForBudget",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeNotificationsForBudgetRequest"},
"output":{"shape":"DescribeNotificationsForBudgetResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"InvalidParameterException"},
{"shape":"NotFoundException"},
{"shape":"InvalidNextTokenException"},
{"shape":"ExpiredNextTokenException"}
],
"documentation":"Get notifications of a budget"
},
"DescribeSubscribersForNotification":{
"name":"DescribeSubscribersForNotification",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeSubscribersForNotificationRequest"},
"output":{"shape":"DescribeSubscribersForNotificationResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"NotFoundException"},
{"shape":"InvalidParameterException"},
{"shape":"InvalidNextTokenException"},
{"shape":"ExpiredNextTokenException"}
],
"documentation":"Get subscribers of a notification"
},
"UpdateBudget":{
"name":"UpdateBudget",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UpdateBudgetRequest"},
"output":{"shape":"UpdateBudgetResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"InvalidParameterException"},
{"shape":"NotFoundException"}
],
"documentation":"Update the information of a budget already created"
},
"UpdateNotification":{
"name":"UpdateNotification",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UpdateNotificationRequest"},
"output":{"shape":"UpdateNotificationResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"InvalidParameterException"},
{"shape":"NotFoundException"}
],
"documentation":"Update the information about a notification already created"
},
"UpdateSubscriber":{
"name":"UpdateSubscriber",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UpdateSubscriberRequest"},
"output":{"shape":"UpdateSubscriberResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"InvalidParameterException"},
{"shape":"NotFoundException"}
],
"documentation":"Update a subscriber"
}
},
"shapes":{
"AccountId":{
"type":"string",
"documentation":"Account Id of the customer. It should be a 12 digit number.",
"max":12,
"min":12
},
"Budget":{
"type":"structure",
"required":[
"BudgetName",
"BudgetLimit",
"CostTypes",
"TimeUnit",
"TimePeriod",
"BudgetType"
],
"members":{
"BudgetName":{"shape":"BudgetName"},
"BudgetLimit":{"shape":"Spend"},
"CostFilters":{"shape":"CostFilters"},
"CostTypes":{"shape":"CostTypes"},
"TimeUnit":{"shape":"TimeUnit"},
"TimePeriod":{"shape":"TimePeriod"},
"CalculatedSpend":{"shape":"CalculatedSpend"},
"BudgetType":{"shape":"BudgetType"}
},
"documentation":"AWS Budget model"
},
"BudgetName":{
"type":"string",
"documentation":"A string represents the budget name. No \":\" character is allowed.",
"max":100,
"pattern":"[^:]+"
},
"BudgetType":{
"type":"string",
"documentation":"The type of a budget. Can be COST or USAGE.",
"enum":[
"USAGE",
"COST"
]
},
"Budgets":{
"type":"list",
"member":{"shape":"Budget"},
"documentation":"A list of budgets"
},
"CalculatedSpend":{
"type":"structure",
"required":["ActualSpend"],
"members":{
"ActualSpend":{"shape":"Spend"},
"ForecastedSpend":{"shape":"Spend"}
},
"documentation":"A structure holds the actual and forecasted spend for a budget."
},
"ComparisonOperator":{
"type":"string",
"documentation":"The comparison operator of a notification. Currently we support less than, equal to and greater than.",
"enum":[
"GREATER_THAN",
"LESS_THAN",
"EQUAL_TO"
]
},
"CostFilters":{
"type":"map",
"key":{"shape":"GenericString"},
"value":{"shape":"DimensionValues"},
"documentation":"A map represents the cost filters applied to the budget."
},
"CostTypes":{
"type":"structure",
"required":[
"IncludeTax",
"IncludeSubscription",
"UseBlended"
],
"members":{
"IncludeTax":{"shape":"GenericBoolean"},
"IncludeSubscription":{"shape":"GenericBoolean"},
"UseBlended":{"shape":"GenericBoolean"}
},
"documentation":"This includes the options for getting the cost of a budget."
},
"CreateBudgetRequest":{
"type":"structure",
"required":[
"AccountId",
"Budget"
],
"members":{
"AccountId":{"shape":"AccountId"},
"Budget":{"shape":"Budget"},
"NotificationsWithSubscribers":{"shape":"NotificationWithSubscribersList"}
},
"documentation":"Request of CreateBudget"
},
"CreateBudgetResponse":{
"type":"structure",
"members":{
},
"documentation":"Response of CreateBudget"
},
"CreateNotificationRequest":{
"type":"structure",
"required":[
"AccountId",
"BudgetName",
"Notification",
"Subscribers"
],
"members":{
"AccountId":{"shape":"AccountId"},
"BudgetName":{"shape":"BudgetName"},
"Notification":{"shape":"Notification"},
"Subscribers":{"shape":"Subscribers"}
},
"documentation":"Request of CreateNotification"
},
"CreateNotificationResponse":{
"type":"structure",
"members":{
},
Loading ...