aws-sdk-budgets 1.62.0 → 1.64.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-budgets/client.rb +70 -46
- data/lib/aws-sdk-budgets/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-budgets.rb +1 -1
- data/sig/client.rbs +623 -0
- data/sig/errors.rbs +46 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +531 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/resource.rbs
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module Budgets
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Budgets/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Budgets/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?simple_json: bool,
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?token_provider: untyped,
|
54
|
+
?use_dualstack_endpoint: bool,
|
55
|
+
?use_fips_endpoint: bool,
|
56
|
+
?validate_params: bool,
|
57
|
+
?endpoint_provider: untyped,
|
58
|
+
?http_proxy: String,
|
59
|
+
?http_open_timeout: (Float | Integer),
|
60
|
+
?http_read_timeout: (Float | Integer),
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
64
|
+
?http_wire_trace: bool,
|
65
|
+
?ssl_verify_peer: bool,
|
66
|
+
?ssl_ca_bundle: String,
|
67
|
+
?ssl_ca_directory: String,
|
68
|
+
?ssl_ca_store: String,
|
69
|
+
?on_chunk_received: Proc,
|
70
|
+
?on_chunk_sent: Proc,
|
71
|
+
?raise_response_errors: bool
|
72
|
+
) -> void
|
73
|
+
| (?Hash[Symbol, untyped]) -> void
|
74
|
+
|
75
|
+
def client: () -> Client
|
76
|
+
|
77
|
+
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,531 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::Budgets
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
16
|
+
class Action
|
17
|
+
attr_accessor action_id: ::String
|
18
|
+
attr_accessor budget_name: ::String
|
19
|
+
attr_accessor notification_type: ("ACTUAL" | "FORECASTED")
|
20
|
+
attr_accessor action_type: ("APPLY_IAM_POLICY" | "APPLY_SCP_POLICY" | "RUN_SSM_DOCUMENTS")
|
21
|
+
attr_accessor action_threshold: Types::ActionThreshold
|
22
|
+
attr_accessor definition: Types::Definition
|
23
|
+
attr_accessor execution_role_arn: ::String
|
24
|
+
attr_accessor approval_model: ("AUTOMATIC" | "MANUAL")
|
25
|
+
attr_accessor status: ("STANDBY" | "PENDING" | "EXECUTION_IN_PROGRESS" | "EXECUTION_SUCCESS" | "EXECUTION_FAILURE" | "REVERSE_IN_PROGRESS" | "REVERSE_SUCCESS" | "REVERSE_FAILURE" | "RESET_IN_PROGRESS" | "RESET_FAILURE")
|
26
|
+
attr_accessor subscribers: ::Array[Types::Subscriber]
|
27
|
+
SENSITIVE: []
|
28
|
+
end
|
29
|
+
|
30
|
+
class ActionHistory
|
31
|
+
attr_accessor timestamp: ::Time
|
32
|
+
attr_accessor status: ("STANDBY" | "PENDING" | "EXECUTION_IN_PROGRESS" | "EXECUTION_SUCCESS" | "EXECUTION_FAILURE" | "REVERSE_IN_PROGRESS" | "REVERSE_SUCCESS" | "REVERSE_FAILURE" | "RESET_IN_PROGRESS" | "RESET_FAILURE")
|
33
|
+
attr_accessor event_type: ("SYSTEM" | "CREATE_ACTION" | "DELETE_ACTION" | "UPDATE_ACTION" | "EXECUTE_ACTION")
|
34
|
+
attr_accessor action_history_details: Types::ActionHistoryDetails
|
35
|
+
SENSITIVE: []
|
36
|
+
end
|
37
|
+
|
38
|
+
class ActionHistoryDetails
|
39
|
+
attr_accessor message: ::String
|
40
|
+
attr_accessor action: Types::Action
|
41
|
+
SENSITIVE: []
|
42
|
+
end
|
43
|
+
|
44
|
+
class ActionThreshold
|
45
|
+
attr_accessor action_threshold_value: ::Float
|
46
|
+
attr_accessor action_threshold_type: ("PERCENTAGE" | "ABSOLUTE_VALUE")
|
47
|
+
SENSITIVE: []
|
48
|
+
end
|
49
|
+
|
50
|
+
class AutoAdjustData
|
51
|
+
attr_accessor auto_adjust_type: ("HISTORICAL" | "FORECAST")
|
52
|
+
attr_accessor historical_options: Types::HistoricalOptions
|
53
|
+
attr_accessor last_auto_adjust_time: ::Time
|
54
|
+
SENSITIVE: []
|
55
|
+
end
|
56
|
+
|
57
|
+
class Budget
|
58
|
+
attr_accessor budget_name: ::String
|
59
|
+
attr_accessor budget_limit: Types::Spend
|
60
|
+
attr_accessor planned_budget_limits: ::Hash[::String, Types::Spend]
|
61
|
+
attr_accessor cost_filters: ::Hash[::String, ::Array[::String]]
|
62
|
+
attr_accessor cost_types: Types::CostTypes
|
63
|
+
attr_accessor time_unit: ("DAILY" | "MONTHLY" | "QUARTERLY" | "ANNUALLY")
|
64
|
+
attr_accessor time_period: Types::TimePeriod
|
65
|
+
attr_accessor calculated_spend: Types::CalculatedSpend
|
66
|
+
attr_accessor budget_type: ("USAGE" | "COST" | "RI_UTILIZATION" | "RI_COVERAGE" | "SAVINGS_PLANS_UTILIZATION" | "SAVINGS_PLANS_COVERAGE")
|
67
|
+
attr_accessor last_updated_time: ::Time
|
68
|
+
attr_accessor auto_adjust_data: Types::AutoAdjustData
|
69
|
+
SENSITIVE: []
|
70
|
+
end
|
71
|
+
|
72
|
+
class BudgetNotificationsForAccount
|
73
|
+
attr_accessor notifications: ::Array[Types::Notification]
|
74
|
+
attr_accessor budget_name: ::String
|
75
|
+
SENSITIVE: []
|
76
|
+
end
|
77
|
+
|
78
|
+
class BudgetPerformanceHistory
|
79
|
+
attr_accessor budget_name: ::String
|
80
|
+
attr_accessor budget_type: ("USAGE" | "COST" | "RI_UTILIZATION" | "RI_COVERAGE" | "SAVINGS_PLANS_UTILIZATION" | "SAVINGS_PLANS_COVERAGE")
|
81
|
+
attr_accessor cost_filters: ::Hash[::String, ::Array[::String]]
|
82
|
+
attr_accessor cost_types: Types::CostTypes
|
83
|
+
attr_accessor time_unit: ("DAILY" | "MONTHLY" | "QUARTERLY" | "ANNUALLY")
|
84
|
+
attr_accessor budgeted_and_actual_amounts_list: ::Array[Types::BudgetedAndActualAmounts]
|
85
|
+
SENSITIVE: []
|
86
|
+
end
|
87
|
+
|
88
|
+
class BudgetedAndActualAmounts
|
89
|
+
attr_accessor budgeted_amount: Types::Spend
|
90
|
+
attr_accessor actual_amount: Types::Spend
|
91
|
+
attr_accessor time_period: Types::TimePeriod
|
92
|
+
SENSITIVE: []
|
93
|
+
end
|
94
|
+
|
95
|
+
class CalculatedSpend
|
96
|
+
attr_accessor actual_spend: Types::Spend
|
97
|
+
attr_accessor forecasted_spend: Types::Spend
|
98
|
+
SENSITIVE: []
|
99
|
+
end
|
100
|
+
|
101
|
+
class CostTypes
|
102
|
+
attr_accessor include_tax: bool
|
103
|
+
attr_accessor include_subscription: bool
|
104
|
+
attr_accessor use_blended: bool
|
105
|
+
attr_accessor include_refund: bool
|
106
|
+
attr_accessor include_credit: bool
|
107
|
+
attr_accessor include_upfront: bool
|
108
|
+
attr_accessor include_recurring: bool
|
109
|
+
attr_accessor include_other_subscription: bool
|
110
|
+
attr_accessor include_support: bool
|
111
|
+
attr_accessor include_discount: bool
|
112
|
+
attr_accessor use_amortized: bool
|
113
|
+
SENSITIVE: []
|
114
|
+
end
|
115
|
+
|
116
|
+
class CreateBudgetActionRequest
|
117
|
+
attr_accessor account_id: ::String
|
118
|
+
attr_accessor budget_name: ::String
|
119
|
+
attr_accessor notification_type: ("ACTUAL" | "FORECASTED")
|
120
|
+
attr_accessor action_type: ("APPLY_IAM_POLICY" | "APPLY_SCP_POLICY" | "RUN_SSM_DOCUMENTS")
|
121
|
+
attr_accessor action_threshold: Types::ActionThreshold
|
122
|
+
attr_accessor definition: Types::Definition
|
123
|
+
attr_accessor execution_role_arn: ::String
|
124
|
+
attr_accessor approval_model: ("AUTOMATIC" | "MANUAL")
|
125
|
+
attr_accessor subscribers: ::Array[Types::Subscriber]
|
126
|
+
SENSITIVE: []
|
127
|
+
end
|
128
|
+
|
129
|
+
class CreateBudgetActionResponse
|
130
|
+
attr_accessor account_id: ::String
|
131
|
+
attr_accessor budget_name: ::String
|
132
|
+
attr_accessor action_id: ::String
|
133
|
+
SENSITIVE: []
|
134
|
+
end
|
135
|
+
|
136
|
+
class CreateBudgetRequest
|
137
|
+
attr_accessor account_id: ::String
|
138
|
+
attr_accessor budget: Types::Budget
|
139
|
+
attr_accessor notifications_with_subscribers: ::Array[Types::NotificationWithSubscribers]
|
140
|
+
SENSITIVE: []
|
141
|
+
end
|
142
|
+
|
143
|
+
class CreateBudgetResponse < Aws::EmptyStructure
|
144
|
+
end
|
145
|
+
|
146
|
+
class CreateNotificationRequest
|
147
|
+
attr_accessor account_id: ::String
|
148
|
+
attr_accessor budget_name: ::String
|
149
|
+
attr_accessor notification: Types::Notification
|
150
|
+
attr_accessor subscribers: ::Array[Types::Subscriber]
|
151
|
+
SENSITIVE: []
|
152
|
+
end
|
153
|
+
|
154
|
+
class CreateNotificationResponse < Aws::EmptyStructure
|
155
|
+
end
|
156
|
+
|
157
|
+
class CreateSubscriberRequest
|
158
|
+
attr_accessor account_id: ::String
|
159
|
+
attr_accessor budget_name: ::String
|
160
|
+
attr_accessor notification: Types::Notification
|
161
|
+
attr_accessor subscriber: Types::Subscriber
|
162
|
+
SENSITIVE: []
|
163
|
+
end
|
164
|
+
|
165
|
+
class CreateSubscriberResponse < Aws::EmptyStructure
|
166
|
+
end
|
167
|
+
|
168
|
+
class CreationLimitExceededException
|
169
|
+
attr_accessor message: ::String
|
170
|
+
SENSITIVE: []
|
171
|
+
end
|
172
|
+
|
173
|
+
class Definition
|
174
|
+
attr_accessor iam_action_definition: Types::IamActionDefinition
|
175
|
+
attr_accessor scp_action_definition: Types::ScpActionDefinition
|
176
|
+
attr_accessor ssm_action_definition: Types::SsmActionDefinition
|
177
|
+
SENSITIVE: []
|
178
|
+
end
|
179
|
+
|
180
|
+
class DeleteBudgetActionRequest
|
181
|
+
attr_accessor account_id: ::String
|
182
|
+
attr_accessor budget_name: ::String
|
183
|
+
attr_accessor action_id: ::String
|
184
|
+
SENSITIVE: []
|
185
|
+
end
|
186
|
+
|
187
|
+
class DeleteBudgetActionResponse
|
188
|
+
attr_accessor account_id: ::String
|
189
|
+
attr_accessor budget_name: ::String
|
190
|
+
attr_accessor action: Types::Action
|
191
|
+
SENSITIVE: []
|
192
|
+
end
|
193
|
+
|
194
|
+
class DeleteBudgetRequest
|
195
|
+
attr_accessor account_id: ::String
|
196
|
+
attr_accessor budget_name: ::String
|
197
|
+
SENSITIVE: []
|
198
|
+
end
|
199
|
+
|
200
|
+
class DeleteBudgetResponse < Aws::EmptyStructure
|
201
|
+
end
|
202
|
+
|
203
|
+
class DeleteNotificationRequest
|
204
|
+
attr_accessor account_id: ::String
|
205
|
+
attr_accessor budget_name: ::String
|
206
|
+
attr_accessor notification: Types::Notification
|
207
|
+
SENSITIVE: []
|
208
|
+
end
|
209
|
+
|
210
|
+
class DeleteNotificationResponse < Aws::EmptyStructure
|
211
|
+
end
|
212
|
+
|
213
|
+
class DeleteSubscriberRequest
|
214
|
+
attr_accessor account_id: ::String
|
215
|
+
attr_accessor budget_name: ::String
|
216
|
+
attr_accessor notification: Types::Notification
|
217
|
+
attr_accessor subscriber: Types::Subscriber
|
218
|
+
SENSITIVE: []
|
219
|
+
end
|
220
|
+
|
221
|
+
class DeleteSubscriberResponse < Aws::EmptyStructure
|
222
|
+
end
|
223
|
+
|
224
|
+
class DescribeBudgetActionHistoriesRequest
|
225
|
+
attr_accessor account_id: ::String
|
226
|
+
attr_accessor budget_name: ::String
|
227
|
+
attr_accessor action_id: ::String
|
228
|
+
attr_accessor time_period: Types::TimePeriod
|
229
|
+
attr_accessor max_results: ::Integer
|
230
|
+
attr_accessor next_token: ::String
|
231
|
+
SENSITIVE: []
|
232
|
+
end
|
233
|
+
|
234
|
+
class DescribeBudgetActionHistoriesResponse
|
235
|
+
attr_accessor action_histories: ::Array[Types::ActionHistory]
|
236
|
+
attr_accessor next_token: ::String
|
237
|
+
SENSITIVE: []
|
238
|
+
end
|
239
|
+
|
240
|
+
class DescribeBudgetActionRequest
|
241
|
+
attr_accessor account_id: ::String
|
242
|
+
attr_accessor budget_name: ::String
|
243
|
+
attr_accessor action_id: ::String
|
244
|
+
SENSITIVE: []
|
245
|
+
end
|
246
|
+
|
247
|
+
class DescribeBudgetActionResponse
|
248
|
+
attr_accessor account_id: ::String
|
249
|
+
attr_accessor budget_name: ::String
|
250
|
+
attr_accessor action: Types::Action
|
251
|
+
SENSITIVE: []
|
252
|
+
end
|
253
|
+
|
254
|
+
class DescribeBudgetActionsForAccountRequest
|
255
|
+
attr_accessor account_id: ::String
|
256
|
+
attr_accessor max_results: ::Integer
|
257
|
+
attr_accessor next_token: ::String
|
258
|
+
SENSITIVE: []
|
259
|
+
end
|
260
|
+
|
261
|
+
class DescribeBudgetActionsForAccountResponse
|
262
|
+
attr_accessor actions: ::Array[Types::Action]
|
263
|
+
attr_accessor next_token: ::String
|
264
|
+
SENSITIVE: []
|
265
|
+
end
|
266
|
+
|
267
|
+
class DescribeBudgetActionsForBudgetRequest
|
268
|
+
attr_accessor account_id: ::String
|
269
|
+
attr_accessor budget_name: ::String
|
270
|
+
attr_accessor max_results: ::Integer
|
271
|
+
attr_accessor next_token: ::String
|
272
|
+
SENSITIVE: []
|
273
|
+
end
|
274
|
+
|
275
|
+
class DescribeBudgetActionsForBudgetResponse
|
276
|
+
attr_accessor actions: ::Array[Types::Action]
|
277
|
+
attr_accessor next_token: ::String
|
278
|
+
SENSITIVE: []
|
279
|
+
end
|
280
|
+
|
281
|
+
class DescribeBudgetNotificationsForAccountRequest
|
282
|
+
attr_accessor account_id: ::String
|
283
|
+
attr_accessor max_results: ::Integer
|
284
|
+
attr_accessor next_token: ::String
|
285
|
+
SENSITIVE: []
|
286
|
+
end
|
287
|
+
|
288
|
+
class DescribeBudgetNotificationsForAccountResponse
|
289
|
+
attr_accessor budget_notifications_for_account: ::Array[Types::BudgetNotificationsForAccount]
|
290
|
+
attr_accessor next_token: ::String
|
291
|
+
SENSITIVE: []
|
292
|
+
end
|
293
|
+
|
294
|
+
class DescribeBudgetPerformanceHistoryRequest
|
295
|
+
attr_accessor account_id: ::String
|
296
|
+
attr_accessor budget_name: ::String
|
297
|
+
attr_accessor time_period: Types::TimePeriod
|
298
|
+
attr_accessor max_results: ::Integer
|
299
|
+
attr_accessor next_token: ::String
|
300
|
+
SENSITIVE: []
|
301
|
+
end
|
302
|
+
|
303
|
+
class DescribeBudgetPerformanceHistoryResponse
|
304
|
+
attr_accessor budget_performance_history: Types::BudgetPerformanceHistory
|
305
|
+
attr_accessor next_token: ::String
|
306
|
+
SENSITIVE: []
|
307
|
+
end
|
308
|
+
|
309
|
+
class DescribeBudgetRequest
|
310
|
+
attr_accessor account_id: ::String
|
311
|
+
attr_accessor budget_name: ::String
|
312
|
+
SENSITIVE: []
|
313
|
+
end
|
314
|
+
|
315
|
+
class DescribeBudgetResponse
|
316
|
+
attr_accessor budget: Types::Budget
|
317
|
+
SENSITIVE: []
|
318
|
+
end
|
319
|
+
|
320
|
+
class DescribeBudgetsRequest
|
321
|
+
attr_accessor account_id: ::String
|
322
|
+
attr_accessor max_results: ::Integer
|
323
|
+
attr_accessor next_token: ::String
|
324
|
+
SENSITIVE: []
|
325
|
+
end
|
326
|
+
|
327
|
+
class DescribeBudgetsResponse
|
328
|
+
attr_accessor budgets: ::Array[Types::Budget]
|
329
|
+
attr_accessor next_token: ::String
|
330
|
+
SENSITIVE: []
|
331
|
+
end
|
332
|
+
|
333
|
+
class DescribeNotificationsForBudgetRequest
|
334
|
+
attr_accessor account_id: ::String
|
335
|
+
attr_accessor budget_name: ::String
|
336
|
+
attr_accessor max_results: ::Integer
|
337
|
+
attr_accessor next_token: ::String
|
338
|
+
SENSITIVE: []
|
339
|
+
end
|
340
|
+
|
341
|
+
class DescribeNotificationsForBudgetResponse
|
342
|
+
attr_accessor notifications: ::Array[Types::Notification]
|
343
|
+
attr_accessor next_token: ::String
|
344
|
+
SENSITIVE: []
|
345
|
+
end
|
346
|
+
|
347
|
+
class DescribeSubscribersForNotificationRequest
|
348
|
+
attr_accessor account_id: ::String
|
349
|
+
attr_accessor budget_name: ::String
|
350
|
+
attr_accessor notification: Types::Notification
|
351
|
+
attr_accessor max_results: ::Integer
|
352
|
+
attr_accessor next_token: ::String
|
353
|
+
SENSITIVE: []
|
354
|
+
end
|
355
|
+
|
356
|
+
class DescribeSubscribersForNotificationResponse
|
357
|
+
attr_accessor subscribers: ::Array[Types::Subscriber]
|
358
|
+
attr_accessor next_token: ::String
|
359
|
+
SENSITIVE: []
|
360
|
+
end
|
361
|
+
|
362
|
+
class DuplicateRecordException
|
363
|
+
attr_accessor message: ::String
|
364
|
+
SENSITIVE: []
|
365
|
+
end
|
366
|
+
|
367
|
+
class ExecuteBudgetActionRequest
|
368
|
+
attr_accessor account_id: ::String
|
369
|
+
attr_accessor budget_name: ::String
|
370
|
+
attr_accessor action_id: ::String
|
371
|
+
attr_accessor execution_type: ("APPROVE_BUDGET_ACTION" | "RETRY_BUDGET_ACTION" | "REVERSE_BUDGET_ACTION" | "RESET_BUDGET_ACTION")
|
372
|
+
SENSITIVE: []
|
373
|
+
end
|
374
|
+
|
375
|
+
class ExecuteBudgetActionResponse
|
376
|
+
attr_accessor account_id: ::String
|
377
|
+
attr_accessor budget_name: ::String
|
378
|
+
attr_accessor action_id: ::String
|
379
|
+
attr_accessor execution_type: ("APPROVE_BUDGET_ACTION" | "RETRY_BUDGET_ACTION" | "REVERSE_BUDGET_ACTION" | "RESET_BUDGET_ACTION")
|
380
|
+
SENSITIVE: []
|
381
|
+
end
|
382
|
+
|
383
|
+
class ExpiredNextTokenException
|
384
|
+
attr_accessor message: ::String
|
385
|
+
SENSITIVE: []
|
386
|
+
end
|
387
|
+
|
388
|
+
class HistoricalOptions
|
389
|
+
attr_accessor budget_adjustment_period: ::Integer
|
390
|
+
attr_accessor look_back_available_periods: ::Integer
|
391
|
+
SENSITIVE: []
|
392
|
+
end
|
393
|
+
|
394
|
+
class IamActionDefinition
|
395
|
+
attr_accessor policy_arn: ::String
|
396
|
+
attr_accessor roles: ::Array[::String]
|
397
|
+
attr_accessor groups: ::Array[::String]
|
398
|
+
attr_accessor users: ::Array[::String]
|
399
|
+
SENSITIVE: []
|
400
|
+
end
|
401
|
+
|
402
|
+
class InternalErrorException
|
403
|
+
attr_accessor message: ::String
|
404
|
+
SENSITIVE: []
|
405
|
+
end
|
406
|
+
|
407
|
+
class InvalidNextTokenException
|
408
|
+
attr_accessor message: ::String
|
409
|
+
SENSITIVE: []
|
410
|
+
end
|
411
|
+
|
412
|
+
class InvalidParameterException
|
413
|
+
attr_accessor message: ::String
|
414
|
+
SENSITIVE: []
|
415
|
+
end
|
416
|
+
|
417
|
+
class NotFoundException
|
418
|
+
attr_accessor message: ::String
|
419
|
+
SENSITIVE: []
|
420
|
+
end
|
421
|
+
|
422
|
+
class Notification
|
423
|
+
attr_accessor notification_type: ("ACTUAL" | "FORECASTED")
|
424
|
+
attr_accessor comparison_operator: ("GREATER_THAN" | "LESS_THAN" | "EQUAL_TO")
|
425
|
+
attr_accessor threshold: ::Float
|
426
|
+
attr_accessor threshold_type: ("PERCENTAGE" | "ABSOLUTE_VALUE")
|
427
|
+
attr_accessor notification_state: ("OK" | "ALARM")
|
428
|
+
SENSITIVE: []
|
429
|
+
end
|
430
|
+
|
431
|
+
class NotificationWithSubscribers
|
432
|
+
attr_accessor notification: Types::Notification
|
433
|
+
attr_accessor subscribers: ::Array[Types::Subscriber]
|
434
|
+
SENSITIVE: []
|
435
|
+
end
|
436
|
+
|
437
|
+
class ResourceLockedException
|
438
|
+
attr_accessor message: ::String
|
439
|
+
SENSITIVE: []
|
440
|
+
end
|
441
|
+
|
442
|
+
class ScpActionDefinition
|
443
|
+
attr_accessor policy_id: ::String
|
444
|
+
attr_accessor target_ids: ::Array[::String]
|
445
|
+
SENSITIVE: []
|
446
|
+
end
|
447
|
+
|
448
|
+
class Spend
|
449
|
+
attr_accessor amount: ::String
|
450
|
+
attr_accessor unit: ::String
|
451
|
+
SENSITIVE: []
|
452
|
+
end
|
453
|
+
|
454
|
+
class SsmActionDefinition
|
455
|
+
attr_accessor action_sub_type: ("STOP_EC2_INSTANCES" | "STOP_RDS_INSTANCES")
|
456
|
+
attr_accessor region: ::String
|
457
|
+
attr_accessor instance_ids: ::Array[::String]
|
458
|
+
SENSITIVE: []
|
459
|
+
end
|
460
|
+
|
461
|
+
class Subscriber
|
462
|
+
attr_accessor subscription_type: ("SNS" | "EMAIL")
|
463
|
+
attr_accessor address: ::String
|
464
|
+
SENSITIVE: [:address]
|
465
|
+
end
|
466
|
+
|
467
|
+
class ThrottlingException
|
468
|
+
attr_accessor message: ::String
|
469
|
+
SENSITIVE: []
|
470
|
+
end
|
471
|
+
|
472
|
+
class TimePeriod
|
473
|
+
attr_accessor start: ::Time
|
474
|
+
attr_accessor end: ::Time
|
475
|
+
SENSITIVE: []
|
476
|
+
end
|
477
|
+
|
478
|
+
class UpdateBudgetActionRequest
|
479
|
+
attr_accessor account_id: ::String
|
480
|
+
attr_accessor budget_name: ::String
|
481
|
+
attr_accessor action_id: ::String
|
482
|
+
attr_accessor notification_type: ("ACTUAL" | "FORECASTED")
|
483
|
+
attr_accessor action_threshold: Types::ActionThreshold
|
484
|
+
attr_accessor definition: Types::Definition
|
485
|
+
attr_accessor execution_role_arn: ::String
|
486
|
+
attr_accessor approval_model: ("AUTOMATIC" | "MANUAL")
|
487
|
+
attr_accessor subscribers: ::Array[Types::Subscriber]
|
488
|
+
SENSITIVE: []
|
489
|
+
end
|
490
|
+
|
491
|
+
class UpdateBudgetActionResponse
|
492
|
+
attr_accessor account_id: ::String
|
493
|
+
attr_accessor budget_name: ::String
|
494
|
+
attr_accessor old_action: Types::Action
|
495
|
+
attr_accessor new_action: Types::Action
|
496
|
+
SENSITIVE: []
|
497
|
+
end
|
498
|
+
|
499
|
+
class UpdateBudgetRequest
|
500
|
+
attr_accessor account_id: ::String
|
501
|
+
attr_accessor new_budget: Types::Budget
|
502
|
+
SENSITIVE: []
|
503
|
+
end
|
504
|
+
|
505
|
+
class UpdateBudgetResponse < Aws::EmptyStructure
|
506
|
+
end
|
507
|
+
|
508
|
+
class UpdateNotificationRequest
|
509
|
+
attr_accessor account_id: ::String
|
510
|
+
attr_accessor budget_name: ::String
|
511
|
+
attr_accessor old_notification: Types::Notification
|
512
|
+
attr_accessor new_notification: Types::Notification
|
513
|
+
SENSITIVE: []
|
514
|
+
end
|
515
|
+
|
516
|
+
class UpdateNotificationResponse < Aws::EmptyStructure
|
517
|
+
end
|
518
|
+
|
519
|
+
class UpdateSubscriberRequest
|
520
|
+
attr_accessor account_id: ::String
|
521
|
+
attr_accessor budget_name: ::String
|
522
|
+
attr_accessor notification: Types::Notification
|
523
|
+
attr_accessor old_subscriber: Types::Subscriber
|
524
|
+
attr_accessor new_subscriber: Types::Subscriber
|
525
|
+
SENSITIVE: []
|
526
|
+
end
|
527
|
+
|
528
|
+
class UpdateSubscriberResponse < Aws::EmptyStructure
|
529
|
+
end
|
530
|
+
end
|
531
|
+
end
|
data/sig/waiters.rbs
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module Budgets
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-budgets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.64.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.193.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,13 +66,18 @@ files:
|
|
66
66
|
- lib/aws-sdk-budgets/plugins/endpoints.rb
|
67
67
|
- lib/aws-sdk-budgets/resource.rb
|
68
68
|
- lib/aws-sdk-budgets/types.rb
|
69
|
+
- sig/client.rbs
|
70
|
+
- sig/errors.rbs
|
71
|
+
- sig/resource.rbs
|
72
|
+
- sig/types.rbs
|
73
|
+
- sig/waiters.rbs
|
69
74
|
homepage: https://github.com/aws/aws-sdk-ruby
|
70
75
|
licenses:
|
71
76
|
- Apache-2.0
|
72
77
|
metadata:
|
73
78
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-budgets
|
74
79
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-budgets/CHANGELOG.md
|
75
|
-
post_install_message:
|
80
|
+
post_install_message:
|
76
81
|
rdoc_options: []
|
77
82
|
require_paths:
|
78
83
|
- lib
|
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
92
|
- !ruby/object:Gem::Version
|
88
93
|
version: '0'
|
89
94
|
requirements: []
|
90
|
-
rubygems_version: 3.
|
91
|
-
signing_key:
|
95
|
+
rubygems_version: 3.4.10
|
96
|
+
signing_key:
|
92
97
|
specification_version: 4
|
93
98
|
summary: AWS SDK for Ruby - AWSBudgets
|
94
99
|
test_files: []
|