aws-sdk-budgets 1.31.1 → 1.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-budgets.rb +5 -2
- data/lib/aws-sdk-budgets/client.rb +663 -8
- data/lib/aws-sdk-budgets/client_api.rb +354 -0
- data/lib/aws-sdk-budgets/customizations.rb +1 -0
- data/lib/aws-sdk-budgets/errors.rb +18 -0
- data/lib/aws-sdk-budgets/resource.rb +2 -0
- data/lib/aws-sdk-budgets/types.rb +908 -16
- metadata +4 -4
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -13,6 +15,17 @@ module Aws::Budgets
|
|
13
15
|
|
14
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
15
17
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
18
|
+
Action = Shapes::StructureShape.new(name: 'Action')
|
19
|
+
ActionHistories = Shapes::ListShape.new(name: 'ActionHistories')
|
20
|
+
ActionHistory = Shapes::StructureShape.new(name: 'ActionHistory')
|
21
|
+
ActionHistoryDetails = Shapes::StructureShape.new(name: 'ActionHistoryDetails')
|
22
|
+
ActionId = Shapes::StringShape.new(name: 'ActionId')
|
23
|
+
ActionStatus = Shapes::StringShape.new(name: 'ActionStatus')
|
24
|
+
ActionSubType = Shapes::StringShape.new(name: 'ActionSubType')
|
25
|
+
ActionThreshold = Shapes::StructureShape.new(name: 'ActionThreshold')
|
26
|
+
ActionType = Shapes::StringShape.new(name: 'ActionType')
|
27
|
+
Actions = Shapes::ListShape.new(name: 'Actions')
|
28
|
+
ApprovalModel = Shapes::StringShape.new(name: 'ApprovalModel')
|
16
29
|
Budget = Shapes::StructureShape.new(name: 'Budget')
|
17
30
|
BudgetName = Shapes::StringShape.new(name: 'BudgetName')
|
18
31
|
BudgetPerformanceHistory = Shapes::StructureShape.new(name: 'BudgetPerformanceHistory')
|
@@ -24,6 +37,8 @@ module Aws::Budgets
|
|
24
37
|
ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
|
25
38
|
CostFilters = Shapes::MapShape.new(name: 'CostFilters')
|
26
39
|
CostTypes = Shapes::StructureShape.new(name: 'CostTypes')
|
40
|
+
CreateBudgetActionRequest = Shapes::StructureShape.new(name: 'CreateBudgetActionRequest')
|
41
|
+
CreateBudgetActionResponse = Shapes::StructureShape.new(name: 'CreateBudgetActionResponse')
|
27
42
|
CreateBudgetRequest = Shapes::StructureShape.new(name: 'CreateBudgetRequest')
|
28
43
|
CreateBudgetResponse = Shapes::StructureShape.new(name: 'CreateBudgetResponse')
|
29
44
|
CreateNotificationRequest = Shapes::StructureShape.new(name: 'CreateNotificationRequest')
|
@@ -31,12 +46,23 @@ module Aws::Budgets
|
|
31
46
|
CreateSubscriberRequest = Shapes::StructureShape.new(name: 'CreateSubscriberRequest')
|
32
47
|
CreateSubscriberResponse = Shapes::StructureShape.new(name: 'CreateSubscriberResponse')
|
33
48
|
CreationLimitExceededException = Shapes::StructureShape.new(name: 'CreationLimitExceededException')
|
49
|
+
Definition = Shapes::StructureShape.new(name: 'Definition')
|
50
|
+
DeleteBudgetActionRequest = Shapes::StructureShape.new(name: 'DeleteBudgetActionRequest')
|
51
|
+
DeleteBudgetActionResponse = Shapes::StructureShape.new(name: 'DeleteBudgetActionResponse')
|
34
52
|
DeleteBudgetRequest = Shapes::StructureShape.new(name: 'DeleteBudgetRequest')
|
35
53
|
DeleteBudgetResponse = Shapes::StructureShape.new(name: 'DeleteBudgetResponse')
|
36
54
|
DeleteNotificationRequest = Shapes::StructureShape.new(name: 'DeleteNotificationRequest')
|
37
55
|
DeleteNotificationResponse = Shapes::StructureShape.new(name: 'DeleteNotificationResponse')
|
38
56
|
DeleteSubscriberRequest = Shapes::StructureShape.new(name: 'DeleteSubscriberRequest')
|
39
57
|
DeleteSubscriberResponse = Shapes::StructureShape.new(name: 'DeleteSubscriberResponse')
|
58
|
+
DescribeBudgetActionHistoriesRequest = Shapes::StructureShape.new(name: 'DescribeBudgetActionHistoriesRequest')
|
59
|
+
DescribeBudgetActionHistoriesResponse = Shapes::StructureShape.new(name: 'DescribeBudgetActionHistoriesResponse')
|
60
|
+
DescribeBudgetActionRequest = Shapes::StructureShape.new(name: 'DescribeBudgetActionRequest')
|
61
|
+
DescribeBudgetActionResponse = Shapes::StructureShape.new(name: 'DescribeBudgetActionResponse')
|
62
|
+
DescribeBudgetActionsForAccountRequest = Shapes::StructureShape.new(name: 'DescribeBudgetActionsForAccountRequest')
|
63
|
+
DescribeBudgetActionsForAccountResponse = Shapes::StructureShape.new(name: 'DescribeBudgetActionsForAccountResponse')
|
64
|
+
DescribeBudgetActionsForBudgetRequest = Shapes::StructureShape.new(name: 'DescribeBudgetActionsForBudgetRequest')
|
65
|
+
DescribeBudgetActionsForBudgetResponse = Shapes::StructureShape.new(name: 'DescribeBudgetActionsForBudgetResponse')
|
40
66
|
DescribeBudgetPerformanceHistoryRequest = Shapes::StructureShape.new(name: 'DescribeBudgetPerformanceHistoryRequest')
|
41
67
|
DescribeBudgetPerformanceHistoryResponse = Shapes::StructureShape.new(name: 'DescribeBudgetPerformanceHistoryResponse')
|
42
68
|
DescribeBudgetRequest = Shapes::StructureShape.new(name: 'DescribeBudgetRequest')
|
@@ -49,9 +75,18 @@ module Aws::Budgets
|
|
49
75
|
DescribeSubscribersForNotificationResponse = Shapes::StructureShape.new(name: 'DescribeSubscribersForNotificationResponse')
|
50
76
|
DimensionValues = Shapes::ListShape.new(name: 'DimensionValues')
|
51
77
|
DuplicateRecordException = Shapes::StructureShape.new(name: 'DuplicateRecordException')
|
78
|
+
EventType = Shapes::StringShape.new(name: 'EventType')
|
79
|
+
ExecuteBudgetActionRequest = Shapes::StructureShape.new(name: 'ExecuteBudgetActionRequest')
|
80
|
+
ExecuteBudgetActionResponse = Shapes::StructureShape.new(name: 'ExecuteBudgetActionResponse')
|
81
|
+
ExecutionType = Shapes::StringShape.new(name: 'ExecutionType')
|
52
82
|
ExpiredNextTokenException = Shapes::StructureShape.new(name: 'ExpiredNextTokenException')
|
53
83
|
GenericString = Shapes::StringShape.new(name: 'GenericString')
|
54
84
|
GenericTimestamp = Shapes::TimestampShape.new(name: 'GenericTimestamp')
|
85
|
+
Group = Shapes::StringShape.new(name: 'Group')
|
86
|
+
Groups = Shapes::ListShape.new(name: 'Groups')
|
87
|
+
IamActionDefinition = Shapes::StructureShape.new(name: 'IamActionDefinition')
|
88
|
+
InstanceId = Shapes::StringShape.new(name: 'InstanceId')
|
89
|
+
InstanceIds = Shapes::ListShape.new(name: 'InstanceIds')
|
55
90
|
InternalErrorException = Shapes::StructureShape.new(name: 'InternalErrorException')
|
56
91
|
InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
|
57
92
|
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
@@ -67,26 +102,71 @@ module Aws::Budgets
|
|
67
102
|
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
68
103
|
NumericValue = Shapes::StringShape.new(name: 'NumericValue')
|
69
104
|
PlannedBudgetLimits = Shapes::MapShape.new(name: 'PlannedBudgetLimits')
|
105
|
+
PolicyArn = Shapes::StringShape.new(name: 'PolicyArn')
|
106
|
+
PolicyId = Shapes::StringShape.new(name: 'PolicyId')
|
107
|
+
Region = Shapes::StringShape.new(name: 'Region')
|
108
|
+
ResourceLockedException = Shapes::StructureShape.new(name: 'ResourceLockedException')
|
109
|
+
Role = Shapes::StringShape.new(name: 'Role')
|
110
|
+
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
111
|
+
Roles = Shapes::ListShape.new(name: 'Roles')
|
112
|
+
ScpActionDefinition = Shapes::StructureShape.new(name: 'ScpActionDefinition')
|
70
113
|
Spend = Shapes::StructureShape.new(name: 'Spend')
|
114
|
+
SsmActionDefinition = Shapes::StructureShape.new(name: 'SsmActionDefinition')
|
71
115
|
Subscriber = Shapes::StructureShape.new(name: 'Subscriber')
|
72
116
|
SubscriberAddress = Shapes::StringShape.new(name: 'SubscriberAddress')
|
73
117
|
Subscribers = Shapes::ListShape.new(name: 'Subscribers')
|
74
118
|
SubscriptionType = Shapes::StringShape.new(name: 'SubscriptionType')
|
119
|
+
TargetId = Shapes::StringShape.new(name: 'TargetId')
|
120
|
+
TargetIds = Shapes::ListShape.new(name: 'TargetIds')
|
75
121
|
ThresholdType = Shapes::StringShape.new(name: 'ThresholdType')
|
76
122
|
TimePeriod = Shapes::StructureShape.new(name: 'TimePeriod')
|
77
123
|
TimeUnit = Shapes::StringShape.new(name: 'TimeUnit')
|
78
124
|
UnitValue = Shapes::StringShape.new(name: 'UnitValue')
|
125
|
+
UpdateBudgetActionRequest = Shapes::StructureShape.new(name: 'UpdateBudgetActionRequest')
|
126
|
+
UpdateBudgetActionResponse = Shapes::StructureShape.new(name: 'UpdateBudgetActionResponse')
|
79
127
|
UpdateBudgetRequest = Shapes::StructureShape.new(name: 'UpdateBudgetRequest')
|
80
128
|
UpdateBudgetResponse = Shapes::StructureShape.new(name: 'UpdateBudgetResponse')
|
81
129
|
UpdateNotificationRequest = Shapes::StructureShape.new(name: 'UpdateNotificationRequest')
|
82
130
|
UpdateNotificationResponse = Shapes::StructureShape.new(name: 'UpdateNotificationResponse')
|
83
131
|
UpdateSubscriberRequest = Shapes::StructureShape.new(name: 'UpdateSubscriberRequest')
|
84
132
|
UpdateSubscriberResponse = Shapes::StructureShape.new(name: 'UpdateSubscriberResponse')
|
133
|
+
User = Shapes::StringShape.new(name: 'User')
|
134
|
+
Users = Shapes::ListShape.new(name: 'Users')
|
85
135
|
errorMessage = Shapes::StringShape.new(name: 'errorMessage')
|
86
136
|
|
87
137
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
88
138
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
89
139
|
|
140
|
+
Action.add_member(:action_id, Shapes::ShapeRef.new(shape: ActionId, required: true, location_name: "ActionId"))
|
141
|
+
Action.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
|
142
|
+
Action.add_member(:notification_type, Shapes::ShapeRef.new(shape: NotificationType, required: true, location_name: "NotificationType"))
|
143
|
+
Action.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionType, required: true, location_name: "ActionType"))
|
144
|
+
Action.add_member(:action_threshold, Shapes::ShapeRef.new(shape: ActionThreshold, required: true, location_name: "ActionThreshold"))
|
145
|
+
Action.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, required: true, location_name: "Definition"))
|
146
|
+
Action.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "ExecutionRoleArn"))
|
147
|
+
Action.add_member(:approval_model, Shapes::ShapeRef.new(shape: ApprovalModel, required: true, location_name: "ApprovalModel"))
|
148
|
+
Action.add_member(:status, Shapes::ShapeRef.new(shape: ActionStatus, required: true, location_name: "Status"))
|
149
|
+
Action.add_member(:subscribers, Shapes::ShapeRef.new(shape: Subscribers, required: true, location_name: "Subscribers"))
|
150
|
+
Action.struct_class = Types::Action
|
151
|
+
|
152
|
+
ActionHistories.member = Shapes::ShapeRef.new(shape: ActionHistory)
|
153
|
+
|
154
|
+
ActionHistory.add_member(:timestamp, Shapes::ShapeRef.new(shape: GenericTimestamp, required: true, location_name: "Timestamp"))
|
155
|
+
ActionHistory.add_member(:status, Shapes::ShapeRef.new(shape: ActionStatus, required: true, location_name: "Status"))
|
156
|
+
ActionHistory.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, required: true, location_name: "EventType"))
|
157
|
+
ActionHistory.add_member(:action_history_details, Shapes::ShapeRef.new(shape: ActionHistoryDetails, required: true, location_name: "ActionHistoryDetails"))
|
158
|
+
ActionHistory.struct_class = Types::ActionHistory
|
159
|
+
|
160
|
+
ActionHistoryDetails.add_member(:message, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Message"))
|
161
|
+
ActionHistoryDetails.add_member(:action, Shapes::ShapeRef.new(shape: Action, required: true, location_name: "Action"))
|
162
|
+
ActionHistoryDetails.struct_class = Types::ActionHistoryDetails
|
163
|
+
|
164
|
+
ActionThreshold.add_member(:action_threshold_value, Shapes::ShapeRef.new(shape: NotificationThreshold, required: true, location_name: "ActionThresholdValue"))
|
165
|
+
ActionThreshold.add_member(:action_threshold_type, Shapes::ShapeRef.new(shape: ThresholdType, required: true, location_name: "ActionThresholdType"))
|
166
|
+
ActionThreshold.struct_class = Types::ActionThreshold
|
167
|
+
|
168
|
+
Actions.member = Shapes::ShapeRef.new(shape: Action)
|
169
|
+
|
90
170
|
Budget.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
|
91
171
|
Budget.add_member(:budget_limit, Shapes::ShapeRef.new(shape: Spend, location_name: "BudgetLimit"))
|
92
172
|
Budget.add_member(:planned_budget_limits, Shapes::ShapeRef.new(shape: PlannedBudgetLimits, location_name: "PlannedBudgetLimits"))
|
@@ -136,6 +216,22 @@ module Aws::Budgets
|
|
136
216
|
CostTypes.add_member(:use_amortized, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "UseAmortized"))
|
137
217
|
CostTypes.struct_class = Types::CostTypes
|
138
218
|
|
219
|
+
CreateBudgetActionRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
220
|
+
CreateBudgetActionRequest.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
|
221
|
+
CreateBudgetActionRequest.add_member(:notification_type, Shapes::ShapeRef.new(shape: NotificationType, required: true, location_name: "NotificationType"))
|
222
|
+
CreateBudgetActionRequest.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionType, required: true, location_name: "ActionType"))
|
223
|
+
CreateBudgetActionRequest.add_member(:action_threshold, Shapes::ShapeRef.new(shape: ActionThreshold, required: true, location_name: "ActionThreshold"))
|
224
|
+
CreateBudgetActionRequest.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, required: true, location_name: "Definition"))
|
225
|
+
CreateBudgetActionRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "ExecutionRoleArn"))
|
226
|
+
CreateBudgetActionRequest.add_member(:approval_model, Shapes::ShapeRef.new(shape: ApprovalModel, required: true, location_name: "ApprovalModel"))
|
227
|
+
CreateBudgetActionRequest.add_member(:subscribers, Shapes::ShapeRef.new(shape: Subscribers, required: true, location_name: "Subscribers"))
|
228
|
+
CreateBudgetActionRequest.struct_class = Types::CreateBudgetActionRequest
|
229
|
+
|
230
|
+
CreateBudgetActionResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
231
|
+
CreateBudgetActionResponse.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
|
232
|
+
CreateBudgetActionResponse.add_member(:action_id, Shapes::ShapeRef.new(shape: ActionId, required: true, location_name: "ActionId"))
|
233
|
+
CreateBudgetActionResponse.struct_class = Types::CreateBudgetActionResponse
|
234
|
+
|
139
235
|
CreateBudgetRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
140
236
|
CreateBudgetRequest.add_member(:budget, Shapes::ShapeRef.new(shape: Budget, required: true, location_name: "Budget"))
|
141
237
|
CreateBudgetRequest.add_member(:notifications_with_subscribers, Shapes::ShapeRef.new(shape: NotificationWithSubscribersList, location_name: "NotificationsWithSubscribers"))
|
@@ -162,6 +258,21 @@ module Aws::Budgets
|
|
162
258
|
CreationLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
163
259
|
CreationLimitExceededException.struct_class = Types::CreationLimitExceededException
|
164
260
|
|
261
|
+
Definition.add_member(:iam_action_definition, Shapes::ShapeRef.new(shape: IamActionDefinition, location_name: "IamActionDefinition"))
|
262
|
+
Definition.add_member(:scp_action_definition, Shapes::ShapeRef.new(shape: ScpActionDefinition, location_name: "ScpActionDefinition"))
|
263
|
+
Definition.add_member(:ssm_action_definition, Shapes::ShapeRef.new(shape: SsmActionDefinition, location_name: "SsmActionDefinition"))
|
264
|
+
Definition.struct_class = Types::Definition
|
265
|
+
|
266
|
+
DeleteBudgetActionRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
267
|
+
DeleteBudgetActionRequest.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
|
268
|
+
DeleteBudgetActionRequest.add_member(:action_id, Shapes::ShapeRef.new(shape: ActionId, required: true, location_name: "ActionId"))
|
269
|
+
DeleteBudgetActionRequest.struct_class = Types::DeleteBudgetActionRequest
|
270
|
+
|
271
|
+
DeleteBudgetActionResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
272
|
+
DeleteBudgetActionResponse.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
|
273
|
+
DeleteBudgetActionResponse.add_member(:action, Shapes::ShapeRef.new(shape: Action, required: true, location_name: "Action"))
|
274
|
+
DeleteBudgetActionResponse.struct_class = Types::DeleteBudgetActionResponse
|
275
|
+
|
165
276
|
DeleteBudgetRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
166
277
|
DeleteBudgetRequest.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
|
167
278
|
DeleteBudgetRequest.struct_class = Types::DeleteBudgetRequest
|
@@ -183,6 +294,47 @@ module Aws::Budgets
|
|
183
294
|
|
184
295
|
DeleteSubscriberResponse.struct_class = Types::DeleteSubscriberResponse
|
185
296
|
|
297
|
+
DescribeBudgetActionHistoriesRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
298
|
+
DescribeBudgetActionHistoriesRequest.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
|
299
|
+
DescribeBudgetActionHistoriesRequest.add_member(:action_id, Shapes::ShapeRef.new(shape: ActionId, required: true, location_name: "ActionId"))
|
300
|
+
DescribeBudgetActionHistoriesRequest.add_member(:time_period, Shapes::ShapeRef.new(shape: TimePeriod, location_name: "TimePeriod"))
|
301
|
+
DescribeBudgetActionHistoriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
302
|
+
DescribeBudgetActionHistoriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
|
303
|
+
DescribeBudgetActionHistoriesRequest.struct_class = Types::DescribeBudgetActionHistoriesRequest
|
304
|
+
|
305
|
+
DescribeBudgetActionHistoriesResponse.add_member(:action_histories, Shapes::ShapeRef.new(shape: ActionHistories, required: true, location_name: "ActionHistories"))
|
306
|
+
DescribeBudgetActionHistoriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
|
307
|
+
DescribeBudgetActionHistoriesResponse.struct_class = Types::DescribeBudgetActionHistoriesResponse
|
308
|
+
|
309
|
+
DescribeBudgetActionRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
310
|
+
DescribeBudgetActionRequest.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
|
311
|
+
DescribeBudgetActionRequest.add_member(:action_id, Shapes::ShapeRef.new(shape: ActionId, required: true, location_name: "ActionId"))
|
312
|
+
DescribeBudgetActionRequest.struct_class = Types::DescribeBudgetActionRequest
|
313
|
+
|
314
|
+
DescribeBudgetActionResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
315
|
+
DescribeBudgetActionResponse.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
|
316
|
+
DescribeBudgetActionResponse.add_member(:action, Shapes::ShapeRef.new(shape: Action, required: true, location_name: "Action"))
|
317
|
+
DescribeBudgetActionResponse.struct_class = Types::DescribeBudgetActionResponse
|
318
|
+
|
319
|
+
DescribeBudgetActionsForAccountRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
320
|
+
DescribeBudgetActionsForAccountRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
321
|
+
DescribeBudgetActionsForAccountRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
|
322
|
+
DescribeBudgetActionsForAccountRequest.struct_class = Types::DescribeBudgetActionsForAccountRequest
|
323
|
+
|
324
|
+
DescribeBudgetActionsForAccountResponse.add_member(:actions, Shapes::ShapeRef.new(shape: Actions, required: true, location_name: "Actions"))
|
325
|
+
DescribeBudgetActionsForAccountResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
|
326
|
+
DescribeBudgetActionsForAccountResponse.struct_class = Types::DescribeBudgetActionsForAccountResponse
|
327
|
+
|
328
|
+
DescribeBudgetActionsForBudgetRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
329
|
+
DescribeBudgetActionsForBudgetRequest.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
|
330
|
+
DescribeBudgetActionsForBudgetRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
331
|
+
DescribeBudgetActionsForBudgetRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
|
332
|
+
DescribeBudgetActionsForBudgetRequest.struct_class = Types::DescribeBudgetActionsForBudgetRequest
|
333
|
+
|
334
|
+
DescribeBudgetActionsForBudgetResponse.add_member(:actions, Shapes::ShapeRef.new(shape: Actions, required: true, location_name: "Actions"))
|
335
|
+
DescribeBudgetActionsForBudgetResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
|
336
|
+
DescribeBudgetActionsForBudgetResponse.struct_class = Types::DescribeBudgetActionsForBudgetResponse
|
337
|
+
|
186
338
|
DescribeBudgetPerformanceHistoryRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
187
339
|
DescribeBudgetPerformanceHistoryRequest.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
|
188
340
|
DescribeBudgetPerformanceHistoryRequest.add_member(:time_period, Shapes::ShapeRef.new(shape: TimePeriod, location_name: "TimePeriod"))
|
@@ -236,9 +388,31 @@ module Aws::Budgets
|
|
236
388
|
DuplicateRecordException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
237
389
|
DuplicateRecordException.struct_class = Types::DuplicateRecordException
|
238
390
|
|
391
|
+
ExecuteBudgetActionRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
392
|
+
ExecuteBudgetActionRequest.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
|
393
|
+
ExecuteBudgetActionRequest.add_member(:action_id, Shapes::ShapeRef.new(shape: ActionId, required: true, location_name: "ActionId"))
|
394
|
+
ExecuteBudgetActionRequest.add_member(:execution_type, Shapes::ShapeRef.new(shape: ExecutionType, required: true, location_name: "ExecutionType"))
|
395
|
+
ExecuteBudgetActionRequest.struct_class = Types::ExecuteBudgetActionRequest
|
396
|
+
|
397
|
+
ExecuteBudgetActionResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
398
|
+
ExecuteBudgetActionResponse.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
|
399
|
+
ExecuteBudgetActionResponse.add_member(:action_id, Shapes::ShapeRef.new(shape: ActionId, required: true, location_name: "ActionId"))
|
400
|
+
ExecuteBudgetActionResponse.add_member(:execution_type, Shapes::ShapeRef.new(shape: ExecutionType, required: true, location_name: "ExecutionType"))
|
401
|
+
ExecuteBudgetActionResponse.struct_class = Types::ExecuteBudgetActionResponse
|
402
|
+
|
239
403
|
ExpiredNextTokenException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
240
404
|
ExpiredNextTokenException.struct_class = Types::ExpiredNextTokenException
|
241
405
|
|
406
|
+
Groups.member = Shapes::ShapeRef.new(shape: Group)
|
407
|
+
|
408
|
+
IamActionDefinition.add_member(:policy_arn, Shapes::ShapeRef.new(shape: PolicyArn, required: true, location_name: "PolicyArn"))
|
409
|
+
IamActionDefinition.add_member(:roles, Shapes::ShapeRef.new(shape: Roles, location_name: "Roles"))
|
410
|
+
IamActionDefinition.add_member(:groups, Shapes::ShapeRef.new(shape: Groups, location_name: "Groups"))
|
411
|
+
IamActionDefinition.add_member(:users, Shapes::ShapeRef.new(shape: Users, location_name: "Users"))
|
412
|
+
IamActionDefinition.struct_class = Types::IamActionDefinition
|
413
|
+
|
414
|
+
InstanceIds.member = Shapes::ShapeRef.new(shape: InstanceId)
|
415
|
+
|
242
416
|
InternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
243
417
|
InternalErrorException.struct_class = Types::InternalErrorException
|
244
418
|
|
@@ -269,20 +443,53 @@ module Aws::Budgets
|
|
269
443
|
PlannedBudgetLimits.key = Shapes::ShapeRef.new(shape: GenericString)
|
270
444
|
PlannedBudgetLimits.value = Shapes::ShapeRef.new(shape: Spend)
|
271
445
|
|
446
|
+
ResourceLockedException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
447
|
+
ResourceLockedException.struct_class = Types::ResourceLockedException
|
448
|
+
|
449
|
+
Roles.member = Shapes::ShapeRef.new(shape: Role)
|
450
|
+
|
451
|
+
ScpActionDefinition.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
|
452
|
+
ScpActionDefinition.add_member(:target_ids, Shapes::ShapeRef.new(shape: TargetIds, required: true, location_name: "TargetIds"))
|
453
|
+
ScpActionDefinition.struct_class = Types::ScpActionDefinition
|
454
|
+
|
272
455
|
Spend.add_member(:amount, Shapes::ShapeRef.new(shape: NumericValue, required: true, location_name: "Amount"))
|
273
456
|
Spend.add_member(:unit, Shapes::ShapeRef.new(shape: UnitValue, required: true, location_name: "Unit"))
|
274
457
|
Spend.struct_class = Types::Spend
|
275
458
|
|
459
|
+
SsmActionDefinition.add_member(:action_sub_type, Shapes::ShapeRef.new(shape: ActionSubType, required: true, location_name: "ActionSubType"))
|
460
|
+
SsmActionDefinition.add_member(:region, Shapes::ShapeRef.new(shape: Region, required: true, location_name: "Region"))
|
461
|
+
SsmActionDefinition.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIds, required: true, location_name: "InstanceIds"))
|
462
|
+
SsmActionDefinition.struct_class = Types::SsmActionDefinition
|
463
|
+
|
276
464
|
Subscriber.add_member(:subscription_type, Shapes::ShapeRef.new(shape: SubscriptionType, required: true, location_name: "SubscriptionType"))
|
277
465
|
Subscriber.add_member(:address, Shapes::ShapeRef.new(shape: SubscriberAddress, required: true, location_name: "Address"))
|
278
466
|
Subscriber.struct_class = Types::Subscriber
|
279
467
|
|
280
468
|
Subscribers.member = Shapes::ShapeRef.new(shape: Subscriber)
|
281
469
|
|
470
|
+
TargetIds.member = Shapes::ShapeRef.new(shape: TargetId)
|
471
|
+
|
282
472
|
TimePeriod.add_member(:start, Shapes::ShapeRef.new(shape: GenericTimestamp, location_name: "Start"))
|
283
473
|
TimePeriod.add_member(:end, Shapes::ShapeRef.new(shape: GenericTimestamp, location_name: "End"))
|
284
474
|
TimePeriod.struct_class = Types::TimePeriod
|
285
475
|
|
476
|
+
UpdateBudgetActionRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
477
|
+
UpdateBudgetActionRequest.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
|
478
|
+
UpdateBudgetActionRequest.add_member(:action_id, Shapes::ShapeRef.new(shape: ActionId, required: true, location_name: "ActionId"))
|
479
|
+
UpdateBudgetActionRequest.add_member(:notification_type, Shapes::ShapeRef.new(shape: NotificationType, location_name: "NotificationType"))
|
480
|
+
UpdateBudgetActionRequest.add_member(:action_threshold, Shapes::ShapeRef.new(shape: ActionThreshold, location_name: "ActionThreshold"))
|
481
|
+
UpdateBudgetActionRequest.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, location_name: "Definition"))
|
482
|
+
UpdateBudgetActionRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "ExecutionRoleArn"))
|
483
|
+
UpdateBudgetActionRequest.add_member(:approval_model, Shapes::ShapeRef.new(shape: ApprovalModel, location_name: "ApprovalModel"))
|
484
|
+
UpdateBudgetActionRequest.add_member(:subscribers, Shapes::ShapeRef.new(shape: Subscribers, location_name: "Subscribers"))
|
485
|
+
UpdateBudgetActionRequest.struct_class = Types::UpdateBudgetActionRequest
|
486
|
+
|
487
|
+
UpdateBudgetActionResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
488
|
+
UpdateBudgetActionResponse.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
|
489
|
+
UpdateBudgetActionResponse.add_member(:old_action, Shapes::ShapeRef.new(shape: Action, required: true, location_name: "OldAction"))
|
490
|
+
UpdateBudgetActionResponse.add_member(:new_action, Shapes::ShapeRef.new(shape: Action, required: true, location_name: "NewAction"))
|
491
|
+
UpdateBudgetActionResponse.struct_class = Types::UpdateBudgetActionResponse
|
492
|
+
|
286
493
|
UpdateBudgetRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
287
494
|
UpdateBudgetRequest.add_member(:new_budget, Shapes::ShapeRef.new(shape: Budget, required: true, location_name: "NewBudget"))
|
288
495
|
UpdateBudgetRequest.struct_class = Types::UpdateBudgetRequest
|
@@ -306,6 +513,8 @@ module Aws::Budgets
|
|
306
513
|
|
307
514
|
UpdateSubscriberResponse.struct_class = Types::UpdateSubscriberResponse
|
308
515
|
|
516
|
+
Users.member = Shapes::ShapeRef.new(shape: User)
|
517
|
+
|
309
518
|
|
310
519
|
# @api private
|
311
520
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -338,6 +547,20 @@ module Aws::Budgets
|
|
338
547
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
339
548
|
end)
|
340
549
|
|
550
|
+
api.add_operation(:create_budget_action, Seahorse::Model::Operation.new.tap do |o|
|
551
|
+
o.name = "CreateBudgetAction"
|
552
|
+
o.http_method = "POST"
|
553
|
+
o.http_request_uri = "/"
|
554
|
+
o.input = Shapes::ShapeRef.new(shape: CreateBudgetActionRequest)
|
555
|
+
o.output = Shapes::ShapeRef.new(shape: CreateBudgetActionResponse)
|
556
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
557
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
558
|
+
o.errors << Shapes::ShapeRef.new(shape: CreationLimitExceededException)
|
559
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicateRecordException)
|
560
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
561
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
562
|
+
end)
|
563
|
+
|
341
564
|
api.add_operation(:create_notification, Seahorse::Model::Operation.new.tap do |o|
|
342
565
|
o.name = "CreateNotification"
|
343
566
|
o.http_method = "POST"
|
@@ -378,6 +601,19 @@ module Aws::Budgets
|
|
378
601
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
379
602
|
end)
|
380
603
|
|
604
|
+
api.add_operation(:delete_budget_action, Seahorse::Model::Operation.new.tap do |o|
|
605
|
+
o.name = "DeleteBudgetAction"
|
606
|
+
o.http_method = "POST"
|
607
|
+
o.http_request_uri = "/"
|
608
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBudgetActionRequest)
|
609
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteBudgetActionResponse)
|
610
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
611
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
612
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
613
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
614
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLockedException)
|
615
|
+
end)
|
616
|
+
|
381
617
|
api.add_operation(:delete_notification, Seahorse::Model::Operation.new.tap do |o|
|
382
618
|
o.name = "DeleteNotification"
|
383
619
|
o.http_method = "POST"
|
@@ -414,6 +650,74 @@ module Aws::Budgets
|
|
414
650
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
415
651
|
end)
|
416
652
|
|
653
|
+
api.add_operation(:describe_budget_action, Seahorse::Model::Operation.new.tap do |o|
|
654
|
+
o.name = "DescribeBudgetAction"
|
655
|
+
o.http_method = "POST"
|
656
|
+
o.http_request_uri = "/"
|
657
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeBudgetActionRequest)
|
658
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeBudgetActionResponse)
|
659
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
660
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
661
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
662
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
663
|
+
end)
|
664
|
+
|
665
|
+
api.add_operation(:describe_budget_action_histories, Seahorse::Model::Operation.new.tap do |o|
|
666
|
+
o.name = "DescribeBudgetActionHistories"
|
667
|
+
o.http_method = "POST"
|
668
|
+
o.http_request_uri = "/"
|
669
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeBudgetActionHistoriesRequest)
|
670
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeBudgetActionHistoriesResponse)
|
671
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
672
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
673
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
674
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
675
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
676
|
+
o[:pager] = Aws::Pager.new(
|
677
|
+
limit_key: "max_results",
|
678
|
+
tokens: {
|
679
|
+
"next_token" => "next_token"
|
680
|
+
}
|
681
|
+
)
|
682
|
+
end)
|
683
|
+
|
684
|
+
api.add_operation(:describe_budget_actions_for_account, Seahorse::Model::Operation.new.tap do |o|
|
685
|
+
o.name = "DescribeBudgetActionsForAccount"
|
686
|
+
o.http_method = "POST"
|
687
|
+
o.http_request_uri = "/"
|
688
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeBudgetActionsForAccountRequest)
|
689
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeBudgetActionsForAccountResponse)
|
690
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
691
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
692
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
693
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
694
|
+
o[:pager] = Aws::Pager.new(
|
695
|
+
limit_key: "max_results",
|
696
|
+
tokens: {
|
697
|
+
"next_token" => "next_token"
|
698
|
+
}
|
699
|
+
)
|
700
|
+
end)
|
701
|
+
|
702
|
+
api.add_operation(:describe_budget_actions_for_budget, Seahorse::Model::Operation.new.tap do |o|
|
703
|
+
o.name = "DescribeBudgetActionsForBudget"
|
704
|
+
o.http_method = "POST"
|
705
|
+
o.http_request_uri = "/"
|
706
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeBudgetActionsForBudgetRequest)
|
707
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeBudgetActionsForBudgetResponse)
|
708
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
709
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
710
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
711
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
712
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
713
|
+
o[:pager] = Aws::Pager.new(
|
714
|
+
limit_key: "max_results",
|
715
|
+
tokens: {
|
716
|
+
"next_token" => "next_token"
|
717
|
+
}
|
718
|
+
)
|
719
|
+
end)
|
720
|
+
|
417
721
|
api.add_operation(:describe_budget_performance_history, Seahorse::Model::Operation.new.tap do |o|
|
418
722
|
o.name = "DescribeBudgetPerformanceHistory"
|
419
723
|
o.http_method = "POST"
|
@@ -426,6 +730,12 @@ module Aws::Budgets
|
|
426
730
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
427
731
|
o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
|
428
732
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
733
|
+
o[:pager] = Aws::Pager.new(
|
734
|
+
limit_key: "max_results",
|
735
|
+
tokens: {
|
736
|
+
"next_token" => "next_token"
|
737
|
+
}
|
738
|
+
)
|
429
739
|
end)
|
430
740
|
|
431
741
|
api.add_operation(:describe_budgets, Seahorse::Model::Operation.new.tap do |o|
|
@@ -440,6 +750,12 @@ module Aws::Budgets
|
|
440
750
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
441
751
|
o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
|
442
752
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
753
|
+
o[:pager] = Aws::Pager.new(
|
754
|
+
limit_key: "max_results",
|
755
|
+
tokens: {
|
756
|
+
"next_token" => "next_token"
|
757
|
+
}
|
758
|
+
)
|
443
759
|
end)
|
444
760
|
|
445
761
|
api.add_operation(:describe_notifications_for_budget, Seahorse::Model::Operation.new.tap do |o|
|
@@ -454,6 +770,12 @@ module Aws::Budgets
|
|
454
770
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
455
771
|
o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
|
456
772
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
773
|
+
o[:pager] = Aws::Pager.new(
|
774
|
+
limit_key: "max_results",
|
775
|
+
tokens: {
|
776
|
+
"next_token" => "next_token"
|
777
|
+
}
|
778
|
+
)
|
457
779
|
end)
|
458
780
|
|
459
781
|
api.add_operation(:describe_subscribers_for_notification, Seahorse::Model::Operation.new.tap do |o|
|
@@ -468,6 +790,25 @@ module Aws::Budgets
|
|
468
790
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
469
791
|
o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
|
470
792
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
793
|
+
o[:pager] = Aws::Pager.new(
|
794
|
+
limit_key: "max_results",
|
795
|
+
tokens: {
|
796
|
+
"next_token" => "next_token"
|
797
|
+
}
|
798
|
+
)
|
799
|
+
end)
|
800
|
+
|
801
|
+
api.add_operation(:execute_budget_action, Seahorse::Model::Operation.new.tap do |o|
|
802
|
+
o.name = "ExecuteBudgetAction"
|
803
|
+
o.http_method = "POST"
|
804
|
+
o.http_request_uri = "/"
|
805
|
+
o.input = Shapes::ShapeRef.new(shape: ExecuteBudgetActionRequest)
|
806
|
+
o.output = Shapes::ShapeRef.new(shape: ExecuteBudgetActionResponse)
|
807
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
808
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
809
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
810
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
811
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLockedException)
|
471
812
|
end)
|
472
813
|
|
473
814
|
api.add_operation(:update_budget, Seahorse::Model::Operation.new.tap do |o|
|
@@ -482,6 +823,19 @@ module Aws::Budgets
|
|
482
823
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
483
824
|
end)
|
484
825
|
|
826
|
+
api.add_operation(:update_budget_action, Seahorse::Model::Operation.new.tap do |o|
|
827
|
+
o.name = "UpdateBudgetAction"
|
828
|
+
o.http_method = "POST"
|
829
|
+
o.http_request_uri = "/"
|
830
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateBudgetActionRequest)
|
831
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateBudgetActionResponse)
|
832
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
833
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
834
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
835
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
836
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLockedException)
|
837
|
+
end)
|
838
|
+
|
485
839
|
api.add_operation(:update_notification, Seahorse::Model::Operation.new.tap do |o|
|
486
840
|
o.name = "UpdateNotification"
|
487
841
|
o.http_method = "POST"
|