mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-29 04:16:07 +00:00
Conver to regular Go vendor + dep tool
This commit is contained in:
Generated
Vendored
Executable
+697
@@ -0,0 +1,697 @@
|
||||
{
|
||||
"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"}
|
||||
]
|
||||
},
|
||||
"CreateNotification":{
|
||||
"name":"CreateNotification",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"CreateNotificationRequest"},
|
||||
"output":{"shape":"CreateNotificationResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalErrorException"},
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"NotFoundException"},
|
||||
{"shape":"CreationLimitExceededException"},
|
||||
{"shape":"DuplicateRecordException"}
|
||||
]
|
||||
},
|
||||
"CreateSubscriber":{
|
||||
"name":"CreateSubscriber",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"CreateSubscriberRequest"},
|
||||
"output":{"shape":"CreateSubscriberResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalErrorException"},
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"CreationLimitExceededException"},
|
||||
{"shape":"DuplicateRecordException"},
|
||||
{"shape":"NotFoundException"}
|
||||
]
|
||||
},
|
||||
"DeleteBudget":{
|
||||
"name":"DeleteBudget",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DeleteBudgetRequest"},
|
||||
"output":{"shape":"DeleteBudgetResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalErrorException"},
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"NotFoundException"}
|
||||
]
|
||||
},
|
||||
"DeleteNotification":{
|
||||
"name":"DeleteNotification",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DeleteNotificationRequest"},
|
||||
"output":{"shape":"DeleteNotificationResponse"},
|
||||
"errors":[
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"InternalErrorException"},
|
||||
{"shape":"NotFoundException"}
|
||||
]
|
||||
},
|
||||
"DeleteSubscriber":{
|
||||
"name":"DeleteSubscriber",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DeleteSubscriberRequest"},
|
||||
"output":{"shape":"DeleteSubscriberResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalErrorException"},
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"NotFoundException"}
|
||||
]
|
||||
},
|
||||
"DescribeBudget":{
|
||||
"name":"DescribeBudget",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DescribeBudgetRequest"},
|
||||
"output":{"shape":"DescribeBudgetResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalErrorException"},
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"NotFoundException"}
|
||||
]
|
||||
},
|
||||
"DescribeBudgets":{
|
||||
"name":"DescribeBudgets",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DescribeBudgetsRequest"},
|
||||
"output":{"shape":"DescribeBudgetsResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalErrorException"},
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"NotFoundException"},
|
||||
{"shape":"InvalidNextTokenException"},
|
||||
{"shape":"ExpiredNextTokenException"}
|
||||
]
|
||||
},
|
||||
"DescribeNotificationsForBudget":{
|
||||
"name":"DescribeNotificationsForBudget",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DescribeNotificationsForBudgetRequest"},
|
||||
"output":{"shape":"DescribeNotificationsForBudgetResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalErrorException"},
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"NotFoundException"},
|
||||
{"shape":"InvalidNextTokenException"},
|
||||
{"shape":"ExpiredNextTokenException"}
|
||||
]
|
||||
},
|
||||
"DescribeSubscribersForNotification":{
|
||||
"name":"DescribeSubscribersForNotification",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DescribeSubscribersForNotificationRequest"},
|
||||
"output":{"shape":"DescribeSubscribersForNotificationResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalErrorException"},
|
||||
{"shape":"NotFoundException"},
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"InvalidNextTokenException"},
|
||||
{"shape":"ExpiredNextTokenException"}
|
||||
]
|
||||
},
|
||||
"UpdateBudget":{
|
||||
"name":"UpdateBudget",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"UpdateBudgetRequest"},
|
||||
"output":{"shape":"UpdateBudgetResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalErrorException"},
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"NotFoundException"}
|
||||
]
|
||||
},
|
||||
"UpdateNotification":{
|
||||
"name":"UpdateNotification",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"UpdateNotificationRequest"},
|
||||
"output":{"shape":"UpdateNotificationResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalErrorException"},
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"NotFoundException"}
|
||||
]
|
||||
},
|
||||
"UpdateSubscriber":{
|
||||
"name":"UpdateSubscriber",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"UpdateSubscriberRequest"},
|
||||
"output":{"shape":"UpdateSubscriberResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalErrorException"},
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"NotFoundException"}
|
||||
]
|
||||
}
|
||||
},
|
||||
"shapes":{
|
||||
"AccountId":{
|
||||
"type":"string",
|
||||
"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"}
|
||||
}
|
||||
},
|
||||
"BudgetName":{
|
||||
"type":"string",
|
||||
"max":100,
|
||||
"pattern":"[^:]+"
|
||||
},
|
||||
"BudgetType":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"USAGE",
|
||||
"COST"
|
||||
]
|
||||
},
|
||||
"Budgets":{
|
||||
"type":"list",
|
||||
"member":{"shape":"Budget"}
|
||||
},
|
||||
"CalculatedSpend":{
|
||||
"type":"structure",
|
||||
"required":["ActualSpend"],
|
||||
"members":{
|
||||
"ActualSpend":{"shape":"Spend"},
|
||||
"ForecastedSpend":{"shape":"Spend"}
|
||||
}
|
||||
},
|
||||
"ComparisonOperator":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"GREATER_THAN",
|
||||
"LESS_THAN",
|
||||
"EQUAL_TO"
|
||||
]
|
||||
},
|
||||
"CostFilters":{
|
||||
"type":"map",
|
||||
"key":{"shape":"GenericString"},
|
||||
"value":{"shape":"DimensionValues"}
|
||||
},
|
||||
"CostTypes":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"IncludeTax",
|
||||
"IncludeSubscription",
|
||||
"UseBlended"
|
||||
],
|
||||
"members":{
|
||||
"IncludeTax":{"shape":"GenericBoolean"},
|
||||
"IncludeSubscription":{"shape":"GenericBoolean"},
|
||||
"UseBlended":{"shape":"GenericBoolean"}
|
||||
}
|
||||
},
|
||||
"CreateBudgetRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"AccountId",
|
||||
"Budget"
|
||||
],
|
||||
"members":{
|
||||
"AccountId":{"shape":"AccountId"},
|
||||
"Budget":{"shape":"Budget"},
|
||||
"NotificationsWithSubscribers":{"shape":"NotificationWithSubscribersList"}
|
||||
}
|
||||
},
|
||||
"CreateBudgetResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"CreateNotificationRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"AccountId",
|
||||
"BudgetName",
|
||||
"Notification",
|
||||
"Subscribers"
|
||||
],
|
||||
"members":{
|
||||
"AccountId":{"shape":"AccountId"},
|
||||
"BudgetName":{"shape":"BudgetName"},
|
||||
"Notification":{"shape":"Notification"},
|
||||
"Subscribers":{"shape":"Subscribers"}
|
||||
}
|
||||
},
|
||||
"CreateNotificationResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"CreateSubscriberRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"AccountId",
|
||||
"BudgetName",
|
||||
"Notification",
|
||||
"Subscriber"
|
||||
],
|
||||
"members":{
|
||||
"AccountId":{"shape":"AccountId"},
|
||||
"BudgetName":{"shape":"BudgetName"},
|
||||
"Notification":{"shape":"Notification"},
|
||||
"Subscriber":{"shape":"Subscriber"}
|
||||
}
|
||||
},
|
||||
"CreateSubscriberResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"CreationLimitExceededException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"errorMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"DeleteBudgetRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"AccountId",
|
||||
"BudgetName"
|
||||
],
|
||||
"members":{
|
||||
"AccountId":{"shape":"AccountId"},
|
||||
"BudgetName":{"shape":"BudgetName"}
|
||||
}
|
||||
},
|
||||
"DeleteBudgetResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"DeleteNotificationRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"AccountId",
|
||||
"BudgetName",
|
||||
"Notification"
|
||||
],
|
||||
"members":{
|
||||
"AccountId":{"shape":"AccountId"},
|
||||
"BudgetName":{"shape":"BudgetName"},
|
||||
"Notification":{"shape":"Notification"}
|
||||
}
|
||||
},
|
||||
"DeleteNotificationResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"DeleteSubscriberRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"AccountId",
|
||||
"BudgetName",
|
||||
"Notification",
|
||||
"Subscriber"
|
||||
],
|
||||
"members":{
|
||||
"AccountId":{"shape":"AccountId"},
|
||||
"BudgetName":{"shape":"BudgetName"},
|
||||
"Notification":{"shape":"Notification"},
|
||||
"Subscriber":{"shape":"Subscriber"}
|
||||
}
|
||||
},
|
||||
"DeleteSubscriberResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"DescribeBudgetRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"AccountId",
|
||||
"BudgetName"
|
||||
],
|
||||
"members":{
|
||||
"AccountId":{"shape":"AccountId"},
|
||||
"BudgetName":{"shape":"BudgetName"}
|
||||
}
|
||||
},
|
||||
"DescribeBudgetResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Budget":{"shape":"Budget"}
|
||||
}
|
||||
},
|
||||
"DescribeBudgetsRequest":{
|
||||
"type":"structure",
|
||||
"required":["AccountId"],
|
||||
"members":{
|
||||
"AccountId":{"shape":"AccountId"},
|
||||
"MaxResults":{"shape":"MaxResults"},
|
||||
"NextToken":{"shape":"GenericString"}
|
||||
}
|
||||
},
|
||||
"DescribeBudgetsResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Budgets":{"shape":"Budgets"},
|
||||
"NextToken":{"shape":"GenericString"}
|
||||
}
|
||||
},
|
||||
"DescribeNotificationsForBudgetRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"AccountId",
|
||||
"BudgetName"
|
||||
],
|
||||
"members":{
|
||||
"AccountId":{"shape":"AccountId"},
|
||||
"BudgetName":{"shape":"BudgetName"},
|
||||
"MaxResults":{"shape":"MaxResults"},
|
||||
"NextToken":{"shape":"GenericString"}
|
||||
}
|
||||
},
|
||||
"DescribeNotificationsForBudgetResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Notifications":{"shape":"Notifications"},
|
||||
"NextToken":{"shape":"GenericString"}
|
||||
}
|
||||
},
|
||||
"DescribeSubscribersForNotificationRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"AccountId",
|
||||
"BudgetName",
|
||||
"Notification"
|
||||
],
|
||||
"members":{
|
||||
"AccountId":{"shape":"AccountId"},
|
||||
"BudgetName":{"shape":"BudgetName"},
|
||||
"Notification":{"shape":"Notification"},
|
||||
"MaxResults":{"shape":"MaxResults"},
|
||||
"NextToken":{"shape":"GenericString"}
|
||||
}
|
||||
},
|
||||
"DescribeSubscribersForNotificationResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Subscribers":{"shape":"Subscribers"},
|
||||
"NextToken":{"shape":"GenericString"}
|
||||
}
|
||||
},
|
||||
"DimensionValues":{
|
||||
"type":"list",
|
||||
"member":{"shape":"GenericString"}
|
||||
},
|
||||
"DuplicateRecordException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"errorMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"ExpiredNextTokenException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"errorMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"GenericBoolean":{"type":"boolean"},
|
||||
"GenericString":{"type":"string"},
|
||||
"GenericTimestamp":{"type":"timestamp"},
|
||||
"InternalErrorException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"errorMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"InvalidNextTokenException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"errorMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"InvalidParameterException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"errorMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"MaxResults":{
|
||||
"type":"integer",
|
||||
"box":true,
|
||||
"max":100,
|
||||
"min":1
|
||||
},
|
||||
"NotFoundException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"errorMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"Notification":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"NotificationType",
|
||||
"ComparisonOperator",
|
||||
"Threshold"
|
||||
],
|
||||
"members":{
|
||||
"NotificationType":{"shape":"NotificationType"},
|
||||
"ComparisonOperator":{"shape":"ComparisonOperator"},
|
||||
"Threshold":{"shape":"NotificationThreshold"}
|
||||
}
|
||||
},
|
||||
"NotificationThreshold":{
|
||||
"type":"double",
|
||||
"max":300,
|
||||
"min":0.1
|
||||
},
|
||||
"NotificationType":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"ACTUAL",
|
||||
"FORECASTED"
|
||||
]
|
||||
},
|
||||
"NotificationWithSubscribers":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"Notification",
|
||||
"Subscribers"
|
||||
],
|
||||
"members":{
|
||||
"Notification":{"shape":"Notification"},
|
||||
"Subscribers":{"shape":"Subscribers"}
|
||||
}
|
||||
},
|
||||
"NotificationWithSubscribersList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"NotificationWithSubscribers"},
|
||||
"max":5
|
||||
},
|
||||
"Notifications":{
|
||||
"type":"list",
|
||||
"member":{"shape":"Notification"}
|
||||
},
|
||||
"NumericValue":{
|
||||
"type":"string",
|
||||
"pattern":"[0-9]*(\\.)?[0-9]+"
|
||||
},
|
||||
"Spend":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"Amount",
|
||||
"Unit"
|
||||
],
|
||||
"members":{
|
||||
"Amount":{"shape":"NumericValue"},
|
||||
"Unit":{"shape":"GenericString"}
|
||||
}
|
||||
},
|
||||
"Subscriber":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"SubscriptionType",
|
||||
"Address"
|
||||
],
|
||||
"members":{
|
||||
"SubscriptionType":{"shape":"SubscriptionType"},
|
||||
"Address":{"shape":"GenericString"}
|
||||
}
|
||||
},
|
||||
"Subscribers":{
|
||||
"type":"list",
|
||||
"member":{"shape":"Subscriber"},
|
||||
"max":11,
|
||||
"min":1
|
||||
},
|
||||
"SubscriptionType":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"SNS",
|
||||
"EMAIL"
|
||||
]
|
||||
},
|
||||
"TimePeriod":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"Start",
|
||||
"End"
|
||||
],
|
||||
"members":{
|
||||
"Start":{"shape":"GenericTimestamp"},
|
||||
"End":{"shape":"GenericTimestamp"}
|
||||
}
|
||||
},
|
||||
"TimeUnit":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"MONTHLY",
|
||||
"QUARTERLY",
|
||||
"ANNUALLY"
|
||||
]
|
||||
},
|
||||
"UpdateBudgetRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"AccountId",
|
||||
"NewBudget"
|
||||
],
|
||||
"members":{
|
||||
"AccountId":{"shape":"AccountId"},
|
||||
"NewBudget":{"shape":"Budget"}
|
||||
}
|
||||
},
|
||||
"UpdateBudgetResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"UpdateNotificationRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"AccountId",
|
||||
"BudgetName",
|
||||
"OldNotification",
|
||||
"NewNotification"
|
||||
],
|
||||
"members":{
|
||||
"AccountId":{"shape":"AccountId"},
|
||||
"BudgetName":{"shape":"BudgetName"},
|
||||
"OldNotification":{"shape":"Notification"},
|
||||
"NewNotification":{"shape":"Notification"}
|
||||
}
|
||||
},
|
||||
"UpdateNotificationResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"UpdateSubscriberRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"AccountId",
|
||||
"BudgetName",
|
||||
"Notification",
|
||||
"OldSubscriber",
|
||||
"NewSubscriber"
|
||||
],
|
||||
"members":{
|
||||
"AccountId":{"shape":"AccountId"},
|
||||
"BudgetName":{"shape":"BudgetName"},
|
||||
"Notification":{"shape":"Notification"},
|
||||
"OldSubscriber":{"shape":"Subscriber"},
|
||||
"NewSubscriber":{"shape":"Subscriber"}
|
||||
}
|
||||
},
|
||||
"UpdateSubscriberResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"errorMessage":{"type":"string"}
|
||||
}
|
||||
}
|
||||
Generated
Vendored
Executable
+416
@@ -0,0 +1,416 @@
|
||||
{
|
||||
"version": "2.0",
|
||||
"service": "All public APIs for AWS Budgets",
|
||||
"operations": {
|
||||
"CreateBudget": "Create a new budget",
|
||||
"CreateNotification": "Create a new Notification with subscribers for a budget",
|
||||
"CreateSubscriber": "Create a new Subscriber for a notification",
|
||||
"DeleteBudget": "Delete a budget and related notifications",
|
||||
"DeleteNotification": "Delete a notification and related subscribers",
|
||||
"DeleteSubscriber": "Delete a Subscriber for a notification",
|
||||
"DescribeBudget": "Get a single budget",
|
||||
"DescribeBudgets": "Get all budgets for an account",
|
||||
"DescribeNotificationsForBudget": "Get notifications of a budget",
|
||||
"DescribeSubscribersForNotification": "Get subscribers of a notification",
|
||||
"UpdateBudget": "Update the information of a budget already created",
|
||||
"UpdateNotification": "Update the information about a notification already created",
|
||||
"UpdateSubscriber": "Update a subscriber"
|
||||
},
|
||||
"shapes": {
|
||||
"AccountId": {
|
||||
"base": "Account Id of the customer. It should be a 12 digit number.",
|
||||
"refs": {
|
||||
"CreateBudgetRequest$AccountId": null,
|
||||
"CreateNotificationRequest$AccountId": null,
|
||||
"CreateSubscriberRequest$AccountId": null,
|
||||
"DeleteBudgetRequest$AccountId": null,
|
||||
"DeleteNotificationRequest$AccountId": null,
|
||||
"DeleteSubscriberRequest$AccountId": null,
|
||||
"DescribeBudgetRequest$AccountId": null,
|
||||
"DescribeBudgetsRequest$AccountId": null,
|
||||
"DescribeNotificationsForBudgetRequest$AccountId": null,
|
||||
"DescribeSubscribersForNotificationRequest$AccountId": null,
|
||||
"UpdateBudgetRequest$AccountId": null,
|
||||
"UpdateNotificationRequest$AccountId": null,
|
||||
"UpdateSubscriberRequest$AccountId": null
|
||||
}
|
||||
},
|
||||
"Budget": {
|
||||
"base": "AWS Budget model",
|
||||
"refs": {
|
||||
"Budgets$member": null,
|
||||
"CreateBudgetRequest$Budget": null,
|
||||
"DescribeBudgetResponse$Budget": null,
|
||||
"UpdateBudgetRequest$NewBudget": null
|
||||
}
|
||||
},
|
||||
"BudgetName": {
|
||||
"base": "A string represents the budget name. No \":\" character is allowed.",
|
||||
"refs": {
|
||||
"Budget$BudgetName": null,
|
||||
"CreateNotificationRequest$BudgetName": null,
|
||||
"CreateSubscriberRequest$BudgetName": null,
|
||||
"DeleteBudgetRequest$BudgetName": null,
|
||||
"DeleteNotificationRequest$BudgetName": null,
|
||||
"DeleteSubscriberRequest$BudgetName": null,
|
||||
"DescribeBudgetRequest$BudgetName": null,
|
||||
"DescribeNotificationsForBudgetRequest$BudgetName": null,
|
||||
"DescribeSubscribersForNotificationRequest$BudgetName": null,
|
||||
"UpdateNotificationRequest$BudgetName": null,
|
||||
"UpdateSubscriberRequest$BudgetName": null
|
||||
}
|
||||
},
|
||||
"BudgetType": {
|
||||
"base": "The type of a budget. Can be COST or USAGE.",
|
||||
"refs": {
|
||||
"Budget$BudgetType": null
|
||||
}
|
||||
},
|
||||
"Budgets": {
|
||||
"base": "A list of budgets",
|
||||
"refs": {
|
||||
"DescribeBudgetsResponse$Budgets": null
|
||||
}
|
||||
},
|
||||
"CalculatedSpend": {
|
||||
"base": "A structure holds the actual and forecasted spend for a budget.",
|
||||
"refs": {
|
||||
"Budget$CalculatedSpend": null
|
||||
}
|
||||
},
|
||||
"ComparisonOperator": {
|
||||
"base": "The comparison operator of a notification. Currently we support less than, equal to and greater than.",
|
||||
"refs": {
|
||||
"Notification$ComparisonOperator": null
|
||||
}
|
||||
},
|
||||
"CostFilters": {
|
||||
"base": "A map represents the cost filters applied to the budget.",
|
||||
"refs": {
|
||||
"Budget$CostFilters": null
|
||||
}
|
||||
},
|
||||
"CostTypes": {
|
||||
"base": "This includes the options for getting the cost of a budget.",
|
||||
"refs": {
|
||||
"Budget$CostTypes": null
|
||||
}
|
||||
},
|
||||
"CreateBudgetRequest": {
|
||||
"base": "Request of CreateBudget",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateBudgetResponse": {
|
||||
"base": "Response of CreateBudget",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateNotificationRequest": {
|
||||
"base": "Request of CreateNotification",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateNotificationResponse": {
|
||||
"base": "Response of CreateNotification",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateSubscriberRequest": {
|
||||
"base": "Request of CreateSubscriber",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateSubscriberResponse": {
|
||||
"base": "Response of CreateSubscriber",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreationLimitExceededException": {
|
||||
"base": "The exception is thrown when customer tries to create a record (e.g. budget), but the number this record already exceeds the limitation.",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteBudgetRequest": {
|
||||
"base": "Request of DeleteBudget",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteBudgetResponse": {
|
||||
"base": "Response of DeleteBudget",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteNotificationRequest": {
|
||||
"base": "Request of DeleteNotification",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteNotificationResponse": {
|
||||
"base": "Response of DeleteNotification",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteSubscriberRequest": {
|
||||
"base": "Request of DeleteSubscriber",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteSubscriberResponse": {
|
||||
"base": "Response of DeleteSubscriber",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeBudgetRequest": {
|
||||
"base": "Request of DescribeBudget",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeBudgetResponse": {
|
||||
"base": "Response of DescribeBudget",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeBudgetsRequest": {
|
||||
"base": "Request of DescribeBudgets",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeBudgetsResponse": {
|
||||
"base": "Response of DescribeBudgets",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeNotificationsForBudgetRequest": {
|
||||
"base": "Request of DescribeNotificationsForBudget",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeNotificationsForBudgetResponse": {
|
||||
"base": "Response of GetNotificationsForBudget",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeSubscribersForNotificationRequest": {
|
||||
"base": "Request of DescribeSubscribersForNotification",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeSubscribersForNotificationResponse": {
|
||||
"base": "Response of DescribeSubscribersForNotification",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DimensionValues": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CostFilters$value": null
|
||||
}
|
||||
},
|
||||
"DuplicateRecordException": {
|
||||
"base": "The exception is thrown when customer tries to create a record (e.g. budget) that already exists.",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ExpiredNextTokenException": {
|
||||
"base": "This exception is thrown if the paging token is expired - past its TTL",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GenericBoolean": {
|
||||
"base": "A generic boolean value.",
|
||||
"refs": {
|
||||
"CostTypes$IncludeTax": null,
|
||||
"CostTypes$IncludeSubscription": null,
|
||||
"CostTypes$UseBlended": null
|
||||
}
|
||||
},
|
||||
"GenericString": {
|
||||
"base": "A generic String.",
|
||||
"refs": {
|
||||
"CostFilters$key": null,
|
||||
"DescribeBudgetsRequest$NextToken": null,
|
||||
"DescribeBudgetsResponse$NextToken": null,
|
||||
"DescribeNotificationsForBudgetRequest$NextToken": null,
|
||||
"DescribeNotificationsForBudgetResponse$NextToken": null,
|
||||
"DescribeSubscribersForNotificationRequest$NextToken": null,
|
||||
"DescribeSubscribersForNotificationResponse$NextToken": null,
|
||||
"DimensionValues$member": null,
|
||||
"Spend$Unit": null,
|
||||
"Subscriber$Address": null
|
||||
}
|
||||
},
|
||||
"GenericTimestamp": {
|
||||
"base": "A generic timestamp. In Java it is transformed to a Date object.",
|
||||
"refs": {
|
||||
"TimePeriod$Start": null,
|
||||
"TimePeriod$End": null
|
||||
}
|
||||
},
|
||||
"InternalErrorException": {
|
||||
"base": "This exception is thrown on an unknown internal failure.",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"InvalidNextTokenException": {
|
||||
"base": "This exception is thrown if paging token signature didn't match the token, or the paging token isn't for this request",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"InvalidParameterException": {
|
||||
"base": "This exception is thrown if any request is given an invalid parameter. E.g., if a required Date field is null.",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"MaxResults": {
|
||||
"base": "An integer to represent how many entries should a pagianted response contains. Maxium is set to 100.",
|
||||
"refs": {
|
||||
"DescribeBudgetsRequest$MaxResults": null,
|
||||
"DescribeNotificationsForBudgetRequest$MaxResults": null,
|
||||
"DescribeSubscribersForNotificationRequest$MaxResults": null
|
||||
}
|
||||
},
|
||||
"NotFoundException": {
|
||||
"base": "This exception is thrown if a requested entity is not found. E.g., if a budget id doesn't exist for an account ID.",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"Notification": {
|
||||
"base": "Notification model. Each budget may contain multiple notifications with different settings.",
|
||||
"refs": {
|
||||
"CreateNotificationRequest$Notification": null,
|
||||
"CreateSubscriberRequest$Notification": null,
|
||||
"DeleteNotificationRequest$Notification": null,
|
||||
"DeleteSubscriberRequest$Notification": null,
|
||||
"DescribeSubscribersForNotificationRequest$Notification": null,
|
||||
"NotificationWithSubscribers$Notification": null,
|
||||
"Notifications$member": null,
|
||||
"UpdateNotificationRequest$OldNotification": null,
|
||||
"UpdateNotificationRequest$NewNotification": null,
|
||||
"UpdateSubscriberRequest$Notification": null
|
||||
}
|
||||
},
|
||||
"NotificationThreshold": {
|
||||
"base": "The threshold of the a notification. It should be a number between 0 and 100.",
|
||||
"refs": {
|
||||
"Notification$Threshold": null
|
||||
}
|
||||
},
|
||||
"NotificationType": {
|
||||
"base": "The type of a notification. It should be ACTUAL or FORECASTED.",
|
||||
"refs": {
|
||||
"Notification$NotificationType": null
|
||||
}
|
||||
},
|
||||
"NotificationWithSubscribers": {
|
||||
"base": "A structure to relate notification and a list of subscribers who belong to the notification.",
|
||||
"refs": {
|
||||
"NotificationWithSubscribersList$member": null
|
||||
}
|
||||
},
|
||||
"NotificationWithSubscribersList": {
|
||||
"base": "A list of Notifications, each with a list of subscribers.",
|
||||
"refs": {
|
||||
"CreateBudgetRequest$NotificationsWithSubscribers": null
|
||||
}
|
||||
},
|
||||
"Notifications": {
|
||||
"base": "A list of notifications.",
|
||||
"refs": {
|
||||
"DescribeNotificationsForBudgetResponse$Notifications": null
|
||||
}
|
||||
},
|
||||
"NumericValue": {
|
||||
"base": "A string to represent NumericValue.",
|
||||
"refs": {
|
||||
"Spend$Amount": null
|
||||
}
|
||||
},
|
||||
"Spend": {
|
||||
"base": "A structure represent either a cost spend or usage spend. Contains an amount and a unit.",
|
||||
"refs": {
|
||||
"Budget$BudgetLimit": null,
|
||||
"CalculatedSpend$ActualSpend": null,
|
||||
"CalculatedSpend$ForecastedSpend": null
|
||||
}
|
||||
},
|
||||
"Subscriber": {
|
||||
"base": "Subscriber model. Each notification may contain multiple subscribers with different addresses.",
|
||||
"refs": {
|
||||
"CreateSubscriberRequest$Subscriber": null,
|
||||
"DeleteSubscriberRequest$Subscriber": null,
|
||||
"Subscribers$member": null,
|
||||
"UpdateSubscriberRequest$OldSubscriber": null,
|
||||
"UpdateSubscriberRequest$NewSubscriber": null
|
||||
}
|
||||
},
|
||||
"Subscribers": {
|
||||
"base": "A list of subscribers.",
|
||||
"refs": {
|
||||
"CreateNotificationRequest$Subscribers": null,
|
||||
"DescribeSubscribersForNotificationResponse$Subscribers": null,
|
||||
"NotificationWithSubscribers$Subscribers": null
|
||||
}
|
||||
},
|
||||
"SubscriptionType": {
|
||||
"base": "The subscription type of the subscriber. It can be SMS or EMAIL.",
|
||||
"refs": {
|
||||
"Subscriber$SubscriptionType": null
|
||||
}
|
||||
},
|
||||
"TimePeriod": {
|
||||
"base": "A time period indicated the start date and end date of a budget.",
|
||||
"refs": {
|
||||
"Budget$TimePeriod": null
|
||||
}
|
||||
},
|
||||
"TimeUnit": {
|
||||
"base": "The time unit of the budget. e.g. weekly, monthly, etc.",
|
||||
"refs": {
|
||||
"Budget$TimeUnit": null
|
||||
}
|
||||
},
|
||||
"UpdateBudgetRequest": {
|
||||
"base": "Request of UpdateBudget",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateBudgetResponse": {
|
||||
"base": "Response of UpdateBudget",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateNotificationRequest": {
|
||||
"base": "Request of UpdateNotification",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateNotificationResponse": {
|
||||
"base": "Response of UpdateNotification",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateSubscriberRequest": {
|
||||
"base": "Request of UpdateSubscriber",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateSubscriberResponse": {
|
||||
"base": "Response of UpdateSubscriber",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"errorMessage": {
|
||||
"base": "The error message the exception carries.",
|
||||
"refs": {
|
||||
"CreationLimitExceededException$Message": null,
|
||||
"DuplicateRecordException$Message": null,
|
||||
"ExpiredNextTokenException$Message": null,
|
||||
"InternalErrorException$Message": null,
|
||||
"InvalidNextTokenException$Message": null,
|
||||
"InvalidParameterException$Message": null,
|
||||
"NotFoundException$Message": null
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
Vendored
Executable
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
||||
Generated
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"pagination": {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user