aws-sdk-budgets 1.35.0 → 1.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,17 @@ module Aws::Budgets
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
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')
18
29
  Budget = Shapes::StructureShape.new(name: 'Budget')
19
30
  BudgetName = Shapes::StringShape.new(name: 'BudgetName')
20
31
  BudgetPerformanceHistory = Shapes::StructureShape.new(name: 'BudgetPerformanceHistory')
@@ -26,6 +37,8 @@ module Aws::Budgets
26
37
  ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
27
38
  CostFilters = Shapes::MapShape.new(name: 'CostFilters')
28
39
  CostTypes = Shapes::StructureShape.new(name: 'CostTypes')
40
+ CreateBudgetActionRequest = Shapes::StructureShape.new(name: 'CreateBudgetActionRequest')
41
+ CreateBudgetActionResponse = Shapes::StructureShape.new(name: 'CreateBudgetActionResponse')
29
42
  CreateBudgetRequest = Shapes::StructureShape.new(name: 'CreateBudgetRequest')
30
43
  CreateBudgetResponse = Shapes::StructureShape.new(name: 'CreateBudgetResponse')
31
44
  CreateNotificationRequest = Shapes::StructureShape.new(name: 'CreateNotificationRequest')
@@ -33,12 +46,23 @@ module Aws::Budgets
33
46
  CreateSubscriberRequest = Shapes::StructureShape.new(name: 'CreateSubscriberRequest')
34
47
  CreateSubscriberResponse = Shapes::StructureShape.new(name: 'CreateSubscriberResponse')
35
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')
36
52
  DeleteBudgetRequest = Shapes::StructureShape.new(name: 'DeleteBudgetRequest')
37
53
  DeleteBudgetResponse = Shapes::StructureShape.new(name: 'DeleteBudgetResponse')
38
54
  DeleteNotificationRequest = Shapes::StructureShape.new(name: 'DeleteNotificationRequest')
39
55
  DeleteNotificationResponse = Shapes::StructureShape.new(name: 'DeleteNotificationResponse')
40
56
  DeleteSubscriberRequest = Shapes::StructureShape.new(name: 'DeleteSubscriberRequest')
41
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')
42
66
  DescribeBudgetPerformanceHistoryRequest = Shapes::StructureShape.new(name: 'DescribeBudgetPerformanceHistoryRequest')
43
67
  DescribeBudgetPerformanceHistoryResponse = Shapes::StructureShape.new(name: 'DescribeBudgetPerformanceHistoryResponse')
44
68
  DescribeBudgetRequest = Shapes::StructureShape.new(name: 'DescribeBudgetRequest')
@@ -51,9 +75,18 @@ module Aws::Budgets
51
75
  DescribeSubscribersForNotificationResponse = Shapes::StructureShape.new(name: 'DescribeSubscribersForNotificationResponse')
52
76
  DimensionValues = Shapes::ListShape.new(name: 'DimensionValues')
53
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')
54
82
  ExpiredNextTokenException = Shapes::StructureShape.new(name: 'ExpiredNextTokenException')
55
83
  GenericString = Shapes::StringShape.new(name: 'GenericString')
56
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')
57
90
  InternalErrorException = Shapes::StructureShape.new(name: 'InternalErrorException')
58
91
  InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
59
92
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
@@ -69,26 +102,71 @@ module Aws::Budgets
69
102
  NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
70
103
  NumericValue = Shapes::StringShape.new(name: 'NumericValue')
71
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')
72
113
  Spend = Shapes::StructureShape.new(name: 'Spend')
114
+ SsmActionDefinition = Shapes::StructureShape.new(name: 'SsmActionDefinition')
73
115
  Subscriber = Shapes::StructureShape.new(name: 'Subscriber')
74
116
  SubscriberAddress = Shapes::StringShape.new(name: 'SubscriberAddress')
75
117
  Subscribers = Shapes::ListShape.new(name: 'Subscribers')
76
118
  SubscriptionType = Shapes::StringShape.new(name: 'SubscriptionType')
119
+ TargetId = Shapes::StringShape.new(name: 'TargetId')
120
+ TargetIds = Shapes::ListShape.new(name: 'TargetIds')
77
121
  ThresholdType = Shapes::StringShape.new(name: 'ThresholdType')
78
122
  TimePeriod = Shapes::StructureShape.new(name: 'TimePeriod')
79
123
  TimeUnit = Shapes::StringShape.new(name: 'TimeUnit')
80
124
  UnitValue = Shapes::StringShape.new(name: 'UnitValue')
125
+ UpdateBudgetActionRequest = Shapes::StructureShape.new(name: 'UpdateBudgetActionRequest')
126
+ UpdateBudgetActionResponse = Shapes::StructureShape.new(name: 'UpdateBudgetActionResponse')
81
127
  UpdateBudgetRequest = Shapes::StructureShape.new(name: 'UpdateBudgetRequest')
82
128
  UpdateBudgetResponse = Shapes::StructureShape.new(name: 'UpdateBudgetResponse')
83
129
  UpdateNotificationRequest = Shapes::StructureShape.new(name: 'UpdateNotificationRequest')
84
130
  UpdateNotificationResponse = Shapes::StructureShape.new(name: 'UpdateNotificationResponse')
85
131
  UpdateSubscriberRequest = Shapes::StructureShape.new(name: 'UpdateSubscriberRequest')
86
132
  UpdateSubscriberResponse = Shapes::StructureShape.new(name: 'UpdateSubscriberResponse')
133
+ User = Shapes::StringShape.new(name: 'User')
134
+ Users = Shapes::ListShape.new(name: 'Users')
87
135
  errorMessage = Shapes::StringShape.new(name: 'errorMessage')
88
136
 
89
137
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
90
138
  AccessDeniedException.struct_class = Types::AccessDeniedException
91
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
+
92
170
  Budget.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
93
171
  Budget.add_member(:budget_limit, Shapes::ShapeRef.new(shape: Spend, location_name: "BudgetLimit"))
94
172
  Budget.add_member(:planned_budget_limits, Shapes::ShapeRef.new(shape: PlannedBudgetLimits, location_name: "PlannedBudgetLimits"))
@@ -138,6 +216,22 @@ module Aws::Budgets
138
216
  CostTypes.add_member(:use_amortized, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "UseAmortized"))
139
217
  CostTypes.struct_class = Types::CostTypes
140
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
+
141
235
  CreateBudgetRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
142
236
  CreateBudgetRequest.add_member(:budget, Shapes::ShapeRef.new(shape: Budget, required: true, location_name: "Budget"))
143
237
  CreateBudgetRequest.add_member(:notifications_with_subscribers, Shapes::ShapeRef.new(shape: NotificationWithSubscribersList, location_name: "NotificationsWithSubscribers"))
@@ -164,6 +258,21 @@ module Aws::Budgets
164
258
  CreationLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
165
259
  CreationLimitExceededException.struct_class = Types::CreationLimitExceededException
166
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
+
167
276
  DeleteBudgetRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
168
277
  DeleteBudgetRequest.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
169
278
  DeleteBudgetRequest.struct_class = Types::DeleteBudgetRequest
@@ -185,6 +294,47 @@ module Aws::Budgets
185
294
 
186
295
  DeleteSubscriberResponse.struct_class = Types::DeleteSubscriberResponse
187
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
+
188
338
  DescribeBudgetPerformanceHistoryRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
189
339
  DescribeBudgetPerformanceHistoryRequest.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
190
340
  DescribeBudgetPerformanceHistoryRequest.add_member(:time_period, Shapes::ShapeRef.new(shape: TimePeriod, location_name: "TimePeriod"))
@@ -238,9 +388,31 @@ module Aws::Budgets
238
388
  DuplicateRecordException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
239
389
  DuplicateRecordException.struct_class = Types::DuplicateRecordException
240
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
+
241
403
  ExpiredNextTokenException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
242
404
  ExpiredNextTokenException.struct_class = Types::ExpiredNextTokenException
243
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
+
244
416
  InternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
245
417
  InternalErrorException.struct_class = Types::InternalErrorException
246
418
 
@@ -271,20 +443,53 @@ module Aws::Budgets
271
443
  PlannedBudgetLimits.key = Shapes::ShapeRef.new(shape: GenericString)
272
444
  PlannedBudgetLimits.value = Shapes::ShapeRef.new(shape: Spend)
273
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
+
274
455
  Spend.add_member(:amount, Shapes::ShapeRef.new(shape: NumericValue, required: true, location_name: "Amount"))
275
456
  Spend.add_member(:unit, Shapes::ShapeRef.new(shape: UnitValue, required: true, location_name: "Unit"))
276
457
  Spend.struct_class = Types::Spend
277
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
+
278
464
  Subscriber.add_member(:subscription_type, Shapes::ShapeRef.new(shape: SubscriptionType, required: true, location_name: "SubscriptionType"))
279
465
  Subscriber.add_member(:address, Shapes::ShapeRef.new(shape: SubscriberAddress, required: true, location_name: "Address"))
280
466
  Subscriber.struct_class = Types::Subscriber
281
467
 
282
468
  Subscribers.member = Shapes::ShapeRef.new(shape: Subscriber)
283
469
 
470
+ TargetIds.member = Shapes::ShapeRef.new(shape: TargetId)
471
+
284
472
  TimePeriod.add_member(:start, Shapes::ShapeRef.new(shape: GenericTimestamp, location_name: "Start"))
285
473
  TimePeriod.add_member(:end, Shapes::ShapeRef.new(shape: GenericTimestamp, location_name: "End"))
286
474
  TimePeriod.struct_class = Types::TimePeriod
287
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
+
288
493
  UpdateBudgetRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
289
494
  UpdateBudgetRequest.add_member(:new_budget, Shapes::ShapeRef.new(shape: Budget, required: true, location_name: "NewBudget"))
290
495
  UpdateBudgetRequest.struct_class = Types::UpdateBudgetRequest
@@ -308,6 +513,8 @@ module Aws::Budgets
308
513
 
309
514
  UpdateSubscriberResponse.struct_class = Types::UpdateSubscriberResponse
310
515
 
516
+ Users.member = Shapes::ShapeRef.new(shape: User)
517
+
311
518
 
312
519
  # @api private
313
520
  API = Seahorse::Model::Api.new.tap do |api|
@@ -340,6 +547,20 @@ module Aws::Budgets
340
547
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
341
548
  end)
342
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
+
343
564
  api.add_operation(:create_notification, Seahorse::Model::Operation.new.tap do |o|
344
565
  o.name = "CreateNotification"
345
566
  o.http_method = "POST"
@@ -380,6 +601,19 @@ module Aws::Budgets
380
601
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
381
602
  end)
382
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
+
383
617
  api.add_operation(:delete_notification, Seahorse::Model::Operation.new.tap do |o|
384
618
  o.name = "DeleteNotification"
385
619
  o.http_method = "POST"
@@ -416,6 +650,74 @@ module Aws::Budgets
416
650
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
417
651
  end)
418
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
+
419
721
  api.add_operation(:describe_budget_performance_history, Seahorse::Model::Operation.new.tap do |o|
420
722
  o.name = "DescribeBudgetPerformanceHistory"
421
723
  o.http_method = "POST"
@@ -496,6 +798,19 @@ module Aws::Budgets
496
798
  )
497
799
  end)
498
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)
812
+ end)
813
+
499
814
  api.add_operation(:update_budget, Seahorse::Model::Operation.new.tap do |o|
500
815
  o.name = "UpdateBudget"
501
816
  o.http_method = "POST"
@@ -508,6 +823,19 @@ module Aws::Budgets
508
823
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
509
824
  end)
510
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
+
511
839
  api.add_operation(:update_notification, Seahorse::Model::Operation.new.tap do |o|
512
840
  o.name = "UpdateNotification"
513
841
  o.http_method = "POST"