aws-sdk-budgets 1.0.0.rc9 → 1.0.0.rc10
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 +1 -1
- data/lib/aws-sdk-budgets/client.rb +35 -25
- data/lib/aws-sdk-budgets/client_api.rb +2 -1
- data/lib/aws-sdk-budgets/types.rb +44 -32
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b4b9dc3089adf3da96f41566144b8f6fa5c0b23
|
4
|
+
data.tar.gz: df40d703fca05229c33948af3853e23e9be715b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d00d800b794017c89675116333e7ad127230cae4df25de221cf35c400987e8f6c7677e63f55bce17ff595821ebaa299468d8d8c5f0dd4280aded628f2b7eb581
|
7
|
+
data.tar.gz: 4263e727d170110d8795fd70b727966c62454766aa06d930abd23b64587bcdbfc8e90aff4047103a2698a674935146e5229b7243a3190295e990aa9c48d09892
|
data/lib/aws-sdk-budgets.rb
CHANGED
@@ -176,7 +176,7 @@ module Aws::Budgets
|
|
176
176
|
# budget_name: "BudgetName", # required
|
177
177
|
# budget_limit: { # required
|
178
178
|
# amount: "NumericValue", # required
|
179
|
-
# unit: "
|
179
|
+
# unit: "UnitValue", # required
|
180
180
|
# },
|
181
181
|
# cost_filters: {
|
182
182
|
# "GenericString" => ["GenericString"],
|
@@ -186,7 +186,7 @@ module Aws::Budgets
|
|
186
186
|
# include_subscription: false, # required
|
187
187
|
# use_blended: false, # required
|
188
188
|
# },
|
189
|
-
# time_unit: "
|
189
|
+
# time_unit: "DAILY", # required, accepts DAILY, MONTHLY, QUARTERLY, ANNUALLY
|
190
190
|
# time_period: { # required
|
191
191
|
# start: Time.now, # required
|
192
192
|
# end: Time.now, # required
|
@@ -194,14 +194,14 @@ module Aws::Budgets
|
|
194
194
|
# calculated_spend: {
|
195
195
|
# actual_spend: { # required
|
196
196
|
# amount: "NumericValue", # required
|
197
|
-
# unit: "
|
197
|
+
# unit: "UnitValue", # required
|
198
198
|
# },
|
199
199
|
# forecasted_spend: {
|
200
200
|
# amount: "NumericValue", # required
|
201
|
-
# unit: "
|
201
|
+
# unit: "UnitValue", # required
|
202
202
|
# },
|
203
203
|
# },
|
204
|
-
# budget_type: "USAGE", # required, accepts USAGE, COST
|
204
|
+
# budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION
|
205
205
|
# },
|
206
206
|
# notifications_with_subscribers: [
|
207
207
|
# {
|
@@ -233,7 +233,8 @@ module Aws::Budgets
|
|
233
233
|
# Account Id of the customer. It should be a 12 digit number.
|
234
234
|
#
|
235
235
|
# @option params [required, String] :budget_name
|
236
|
-
# A string represents the budget name. No ":" character is
|
236
|
+
# A string represents the budget name. No ":" and "\\" character is
|
237
|
+
# allowed.
|
237
238
|
#
|
238
239
|
# @option params [required, Types::Notification] :notification
|
239
240
|
# Notification model. Each budget may contain multiple notifications
|
@@ -275,7 +276,8 @@ module Aws::Budgets
|
|
275
276
|
# Account Id of the customer. It should be a 12 digit number.
|
276
277
|
#
|
277
278
|
# @option params [required, String] :budget_name
|
278
|
-
# A string represents the budget name. No ":" character is
|
279
|
+
# A string represents the budget name. No ":" and "\\" character is
|
280
|
+
# allowed.
|
279
281
|
#
|
280
282
|
# @option params [required, Types::Notification] :notification
|
281
283
|
# Notification model. Each budget may contain multiple notifications
|
@@ -316,7 +318,8 @@ module Aws::Budgets
|
|
316
318
|
# Account Id of the customer. It should be a 12 digit number.
|
317
319
|
#
|
318
320
|
# @option params [required, String] :budget_name
|
319
|
-
# A string represents the budget name. No ":" character is
|
321
|
+
# A string represents the budget name. No ":" and "\\" character is
|
322
|
+
# allowed.
|
320
323
|
#
|
321
324
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
322
325
|
#
|
@@ -340,7 +343,8 @@ module Aws::Budgets
|
|
340
343
|
# Account Id of the customer. It should be a 12 digit number.
|
341
344
|
#
|
342
345
|
# @option params [required, String] :budget_name
|
343
|
-
# A string represents the budget name. No ":" character is
|
346
|
+
# A string represents the budget name. No ":" and "\\" character is
|
347
|
+
# allowed.
|
344
348
|
#
|
345
349
|
# @option params [required, Types::Notification] :notification
|
346
350
|
# Notification model. Each budget may contain multiple notifications
|
@@ -373,7 +377,8 @@ module Aws::Budgets
|
|
373
377
|
# Account Id of the customer. It should be a 12 digit number.
|
374
378
|
#
|
375
379
|
# @option params [required, String] :budget_name
|
376
|
-
# A string represents the budget name. No ":" character is
|
380
|
+
# A string represents the budget name. No ":" and "\\" character is
|
381
|
+
# allowed.
|
377
382
|
#
|
378
383
|
# @option params [required, Types::Notification] :notification
|
379
384
|
# Notification model. Each budget may contain multiple notifications
|
@@ -414,7 +419,8 @@ module Aws::Budgets
|
|
414
419
|
# Account Id of the customer. It should be a 12 digit number.
|
415
420
|
#
|
416
421
|
# @option params [required, String] :budget_name
|
417
|
-
# A string represents the budget name. No ":" character is
|
422
|
+
# A string represents the budget name. No ":" and "\\" character is
|
423
|
+
# allowed.
|
418
424
|
#
|
419
425
|
# @return [Types::DescribeBudgetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
420
426
|
#
|
@@ -438,14 +444,14 @@ module Aws::Budgets
|
|
438
444
|
# resp.budget.cost_types.include_tax #=> Boolean
|
439
445
|
# resp.budget.cost_types.include_subscription #=> Boolean
|
440
446
|
# resp.budget.cost_types.use_blended #=> Boolean
|
441
|
-
# resp.budget.time_unit #=> String, one of "MONTHLY", "QUARTERLY", "ANNUALLY"
|
447
|
+
# resp.budget.time_unit #=> String, one of "DAILY", "MONTHLY", "QUARTERLY", "ANNUALLY"
|
442
448
|
# resp.budget.time_period.start #=> Time
|
443
449
|
# resp.budget.time_period.end #=> Time
|
444
450
|
# resp.budget.calculated_spend.actual_spend.amount #=> String
|
445
451
|
# resp.budget.calculated_spend.actual_spend.unit #=> String
|
446
452
|
# resp.budget.calculated_spend.forecasted_spend.amount #=> String
|
447
453
|
# resp.budget.calculated_spend.forecasted_spend.unit #=> String
|
448
|
-
# resp.budget.budget_type #=> String, one of "USAGE", "COST"
|
454
|
+
# resp.budget.budget_type #=> String, one of "USAGE", "COST", "RI_UTILIZATION"
|
449
455
|
#
|
450
456
|
# @overload describe_budget(params = {})
|
451
457
|
# @param [Hash] params ({})
|
@@ -491,14 +497,14 @@ module Aws::Budgets
|
|
491
497
|
# resp.budgets[0].cost_types.include_tax #=> Boolean
|
492
498
|
# resp.budgets[0].cost_types.include_subscription #=> Boolean
|
493
499
|
# resp.budgets[0].cost_types.use_blended #=> Boolean
|
494
|
-
# resp.budgets[0].time_unit #=> String, one of "MONTHLY", "QUARTERLY", "ANNUALLY"
|
500
|
+
# resp.budgets[0].time_unit #=> String, one of "DAILY", "MONTHLY", "QUARTERLY", "ANNUALLY"
|
495
501
|
# resp.budgets[0].time_period.start #=> Time
|
496
502
|
# resp.budgets[0].time_period.end #=> Time
|
497
503
|
# resp.budgets[0].calculated_spend.actual_spend.amount #=> String
|
498
504
|
# resp.budgets[0].calculated_spend.actual_spend.unit #=> String
|
499
505
|
# resp.budgets[0].calculated_spend.forecasted_spend.amount #=> String
|
500
506
|
# resp.budgets[0].calculated_spend.forecasted_spend.unit #=> String
|
501
|
-
# resp.budgets[0].budget_type #=> String, one of "USAGE", "COST"
|
507
|
+
# resp.budgets[0].budget_type #=> String, one of "USAGE", "COST", "RI_UTILIZATION"
|
502
508
|
# resp.next_token #=> String
|
503
509
|
#
|
504
510
|
# @overload describe_budgets(params = {})
|
@@ -514,7 +520,8 @@ module Aws::Budgets
|
|
514
520
|
# Account Id of the customer. It should be a 12 digit number.
|
515
521
|
#
|
516
522
|
# @option params [required, String] :budget_name
|
517
|
-
# A string represents the budget name. No ":" character is
|
523
|
+
# A string represents the budget name. No ":" and "\\" character is
|
524
|
+
# allowed.
|
518
525
|
#
|
519
526
|
# @option params [Integer] :max_results
|
520
527
|
# An integer to represent how many entries should a pagianted response
|
@@ -558,7 +565,8 @@ module Aws::Budgets
|
|
558
565
|
# Account Id of the customer. It should be a 12 digit number.
|
559
566
|
#
|
560
567
|
# @option params [required, String] :budget_name
|
561
|
-
# A string represents the budget name. No ":" character is
|
568
|
+
# A string represents the budget name. No ":" and "\\" character is
|
569
|
+
# allowed.
|
562
570
|
#
|
563
571
|
# @option params [required, Types::Notification] :notification
|
564
572
|
# Notification model. Each budget may contain multiple notifications
|
@@ -622,7 +630,7 @@ module Aws::Budgets
|
|
622
630
|
# budget_name: "BudgetName", # required
|
623
631
|
# budget_limit: { # required
|
624
632
|
# amount: "NumericValue", # required
|
625
|
-
# unit: "
|
633
|
+
# unit: "UnitValue", # required
|
626
634
|
# },
|
627
635
|
# cost_filters: {
|
628
636
|
# "GenericString" => ["GenericString"],
|
@@ -632,7 +640,7 @@ module Aws::Budgets
|
|
632
640
|
# include_subscription: false, # required
|
633
641
|
# use_blended: false, # required
|
634
642
|
# },
|
635
|
-
# time_unit: "
|
643
|
+
# time_unit: "DAILY", # required, accepts DAILY, MONTHLY, QUARTERLY, ANNUALLY
|
636
644
|
# time_period: { # required
|
637
645
|
# start: Time.now, # required
|
638
646
|
# end: Time.now, # required
|
@@ -640,14 +648,14 @@ module Aws::Budgets
|
|
640
648
|
# calculated_spend: {
|
641
649
|
# actual_spend: { # required
|
642
650
|
# amount: "NumericValue", # required
|
643
|
-
# unit: "
|
651
|
+
# unit: "UnitValue", # required
|
644
652
|
# },
|
645
653
|
# forecasted_spend: {
|
646
654
|
# amount: "NumericValue", # required
|
647
|
-
# unit: "
|
655
|
+
# unit: "UnitValue", # required
|
648
656
|
# },
|
649
657
|
# },
|
650
|
-
# budget_type: "USAGE", # required, accepts USAGE, COST
|
658
|
+
# budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION
|
651
659
|
# },
|
652
660
|
# })
|
653
661
|
#
|
@@ -664,7 +672,8 @@ module Aws::Budgets
|
|
664
672
|
# Account Id of the customer. It should be a 12 digit number.
|
665
673
|
#
|
666
674
|
# @option params [required, String] :budget_name
|
667
|
-
# A string represents the budget name. No ":" character is
|
675
|
+
# A string represents the budget name. No ":" and "\\" character is
|
676
|
+
# allowed.
|
668
677
|
#
|
669
678
|
# @option params [required, Types::Notification] :old_notification
|
670
679
|
# Notification model. Each budget may contain multiple notifications
|
@@ -706,7 +715,8 @@ module Aws::Budgets
|
|
706
715
|
# Account Id of the customer. It should be a 12 digit number.
|
707
716
|
#
|
708
717
|
# @option params [required, String] :budget_name
|
709
|
-
# A string represents the budget name. No ":" character is
|
718
|
+
# A string represents the budget name. No ":" and "\\" character is
|
719
|
+
# allowed.
|
710
720
|
#
|
711
721
|
# @option params [required, Types::Notification] :notification
|
712
722
|
# Notification model. Each budget may contain multiple notifications
|
@@ -762,7 +772,7 @@ module Aws::Budgets
|
|
762
772
|
params: params,
|
763
773
|
config: config)
|
764
774
|
context[:gem_name] = 'aws-sdk-budgets'
|
765
|
-
context[:gem_version] = '1.0.0.
|
775
|
+
context[:gem_version] = '1.0.0.rc10'
|
766
776
|
Seahorse::Client::Request.new(handlers, context)
|
767
777
|
end
|
768
778
|
|
@@ -65,6 +65,7 @@ module Aws::Budgets
|
|
65
65
|
SubscriptionType = Shapes::StringShape.new(name: 'SubscriptionType')
|
66
66
|
TimePeriod = Shapes::StructureShape.new(name: 'TimePeriod')
|
67
67
|
TimeUnit = Shapes::StringShape.new(name: 'TimeUnit')
|
68
|
+
UnitValue = Shapes::StringShape.new(name: 'UnitValue')
|
68
69
|
UpdateBudgetRequest = Shapes::StructureShape.new(name: 'UpdateBudgetRequest')
|
69
70
|
UpdateBudgetResponse = Shapes::StructureShape.new(name: 'UpdateBudgetResponse')
|
70
71
|
UpdateNotificationRequest = Shapes::StructureShape.new(name: 'UpdateNotificationRequest')
|
@@ -194,7 +195,7 @@ module Aws::Budgets
|
|
194
195
|
Notifications.member = Shapes::ShapeRef.new(shape: Notification)
|
195
196
|
|
196
197
|
Spend.add_member(:amount, Shapes::ShapeRef.new(shape: NumericValue, required: true, location_name: "Amount"))
|
197
|
-
Spend.add_member(:unit, Shapes::ShapeRef.new(shape:
|
198
|
+
Spend.add_member(:unit, Shapes::ShapeRef.new(shape: UnitValue, required: true, location_name: "Unit"))
|
198
199
|
Spend.struct_class = Types::Spend
|
199
200
|
|
200
201
|
Subscriber.add_member(:subscription_type, Shapes::ShapeRef.new(shape: SubscriptionType, required: true, location_name: "SubscriptionType"))
|
@@ -17,7 +17,7 @@ module Aws::Budgets
|
|
17
17
|
# budget_name: "BudgetName", # required
|
18
18
|
# budget_limit: { # required
|
19
19
|
# amount: "NumericValue", # required
|
20
|
-
# unit: "
|
20
|
+
# unit: "UnitValue", # required
|
21
21
|
# },
|
22
22
|
# cost_filters: {
|
23
23
|
# "GenericString" => ["GenericString"],
|
@@ -27,7 +27,7 @@ module Aws::Budgets
|
|
27
27
|
# include_subscription: false, # required
|
28
28
|
# use_blended: false, # required
|
29
29
|
# },
|
30
|
-
# time_unit: "
|
30
|
+
# time_unit: "DAILY", # required, accepts DAILY, MONTHLY, QUARTERLY, ANNUALLY
|
31
31
|
# time_period: { # required
|
32
32
|
# start: Time.now, # required
|
33
33
|
# end: Time.now, # required
|
@@ -35,18 +35,19 @@ module Aws::Budgets
|
|
35
35
|
# calculated_spend: {
|
36
36
|
# actual_spend: { # required
|
37
37
|
# amount: "NumericValue", # required
|
38
|
-
# unit: "
|
38
|
+
# unit: "UnitValue", # required
|
39
39
|
# },
|
40
40
|
# forecasted_spend: {
|
41
41
|
# amount: "NumericValue", # required
|
42
|
-
# unit: "
|
42
|
+
# unit: "UnitValue", # required
|
43
43
|
# },
|
44
44
|
# },
|
45
|
-
# budget_type: "USAGE", # required, accepts USAGE, COST
|
45
|
+
# budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION
|
46
46
|
# }
|
47
47
|
#
|
48
48
|
# @!attribute [rw] budget_name
|
49
|
-
# A string represents the budget name. No ":"
|
49
|
+
# A string represents the budget name. No ":" and "\\" character
|
50
|
+
# is allowed.
|
50
51
|
# @return [String]
|
51
52
|
#
|
52
53
|
# @!attribute [rw] budget_limit
|
@@ -63,7 +64,7 @@ module Aws::Budgets
|
|
63
64
|
# @return [Types::CostTypes]
|
64
65
|
#
|
65
66
|
# @!attribute [rw] time_unit
|
66
|
-
# The time unit of the budget. e.g.
|
67
|
+
# The time unit of the budget. e.g. MONTHLY, QUARTERLY, etc.
|
67
68
|
# @return [String]
|
68
69
|
#
|
69
70
|
# @!attribute [rw] time_period
|
@@ -75,7 +76,7 @@ module Aws::Budgets
|
|
75
76
|
# @return [Types::CalculatedSpend]
|
76
77
|
#
|
77
78
|
# @!attribute [rw] budget_type
|
78
|
-
# The type of a budget.
|
79
|
+
# The type of a budget. It should be COST, USAGE, or RI\_UTILIZATION.
|
79
80
|
# @return [String]
|
80
81
|
#
|
81
82
|
class Budget < Struct.new(
|
@@ -98,11 +99,11 @@ module Aws::Budgets
|
|
98
99
|
# {
|
99
100
|
# actual_spend: { # required
|
100
101
|
# amount: "NumericValue", # required
|
101
|
-
# unit: "
|
102
|
+
# unit: "UnitValue", # required
|
102
103
|
# },
|
103
104
|
# forecasted_spend: {
|
104
105
|
# amount: "NumericValue", # required
|
105
|
-
# unit: "
|
106
|
+
# unit: "UnitValue", # required
|
106
107
|
# },
|
107
108
|
# }
|
108
109
|
#
|
@@ -163,7 +164,7 @@ module Aws::Budgets
|
|
163
164
|
# budget_name: "BudgetName", # required
|
164
165
|
# budget_limit: { # required
|
165
166
|
# amount: "NumericValue", # required
|
166
|
-
# unit: "
|
167
|
+
# unit: "UnitValue", # required
|
167
168
|
# },
|
168
169
|
# cost_filters: {
|
169
170
|
# "GenericString" => ["GenericString"],
|
@@ -173,7 +174,7 @@ module Aws::Budgets
|
|
173
174
|
# include_subscription: false, # required
|
174
175
|
# use_blended: false, # required
|
175
176
|
# },
|
176
|
-
# time_unit: "
|
177
|
+
# time_unit: "DAILY", # required, accepts DAILY, MONTHLY, QUARTERLY, ANNUALLY
|
177
178
|
# time_period: { # required
|
178
179
|
# start: Time.now, # required
|
179
180
|
# end: Time.now, # required
|
@@ -181,14 +182,14 @@ module Aws::Budgets
|
|
181
182
|
# calculated_spend: {
|
182
183
|
# actual_spend: { # required
|
183
184
|
# amount: "NumericValue", # required
|
184
|
-
# unit: "
|
185
|
+
# unit: "UnitValue", # required
|
185
186
|
# },
|
186
187
|
# forecasted_spend: {
|
187
188
|
# amount: "NumericValue", # required
|
188
|
-
# unit: "
|
189
|
+
# unit: "UnitValue", # required
|
189
190
|
# },
|
190
191
|
# },
|
191
|
-
# budget_type: "USAGE", # required, accepts USAGE, COST
|
192
|
+
# budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION
|
192
193
|
# },
|
193
194
|
# notifications_with_subscribers: [
|
194
195
|
# {
|
@@ -256,7 +257,8 @@ module Aws::Budgets
|
|
256
257
|
# @return [String]
|
257
258
|
#
|
258
259
|
# @!attribute [rw] budget_name
|
259
|
-
# A string represents the budget name. No ":"
|
260
|
+
# A string represents the budget name. No ":" and "\\" character
|
261
|
+
# is allowed.
|
260
262
|
# @return [String]
|
261
263
|
#
|
262
264
|
# @!attribute [rw] notification
|
@@ -304,7 +306,8 @@ module Aws::Budgets
|
|
304
306
|
# @return [String]
|
305
307
|
#
|
306
308
|
# @!attribute [rw] budget_name
|
307
|
-
# A string represents the budget name. No ":"
|
309
|
+
# A string represents the budget name. No ":" and "\\" character
|
310
|
+
# is allowed.
|
308
311
|
# @return [String]
|
309
312
|
#
|
310
313
|
# @!attribute [rw] notification
|
@@ -344,7 +347,8 @@ module Aws::Budgets
|
|
344
347
|
# @return [String]
|
345
348
|
#
|
346
349
|
# @!attribute [rw] budget_name
|
347
|
-
# A string represents the budget name. No ":"
|
350
|
+
# A string represents the budget name. No ":" and "\\" character
|
351
|
+
# is allowed.
|
348
352
|
# @return [String]
|
349
353
|
#
|
350
354
|
class DeleteBudgetRequest < Struct.new(
|
@@ -377,7 +381,8 @@ module Aws::Budgets
|
|
377
381
|
# @return [String]
|
378
382
|
#
|
379
383
|
# @!attribute [rw] budget_name
|
380
|
-
# A string represents the budget name. No ":"
|
384
|
+
# A string represents the budget name. No ":" and "\\" character
|
385
|
+
# is allowed.
|
381
386
|
# @return [String]
|
382
387
|
#
|
383
388
|
# @!attribute [rw] notification
|
@@ -420,7 +425,8 @@ module Aws::Budgets
|
|
420
425
|
# @return [String]
|
421
426
|
#
|
422
427
|
# @!attribute [rw] budget_name
|
423
|
-
# A string represents the budget name. No ":"
|
428
|
+
# A string represents the budget name. No ":" and "\\" character
|
429
|
+
# is allowed.
|
424
430
|
# @return [String]
|
425
431
|
#
|
426
432
|
# @!attribute [rw] notification
|
@@ -460,7 +466,8 @@ module Aws::Budgets
|
|
460
466
|
# @return [String]
|
461
467
|
#
|
462
468
|
# @!attribute [rw] budget_name
|
463
|
-
# A string represents the budget name. No ":"
|
469
|
+
# A string represents the budget name. No ":" and "\\" character
|
470
|
+
# is allowed.
|
464
471
|
# @return [String]
|
465
472
|
#
|
466
473
|
class DescribeBudgetRequest < Struct.new(
|
@@ -544,7 +551,8 @@ module Aws::Budgets
|
|
544
551
|
# @return [String]
|
545
552
|
#
|
546
553
|
# @!attribute [rw] budget_name
|
547
|
-
# A string represents the budget name. No ":"
|
554
|
+
# A string represents the budget name. No ":" and "\\" character
|
555
|
+
# is allowed.
|
548
556
|
# @return [String]
|
549
557
|
#
|
550
558
|
# @!attribute [rw] max_results
|
@@ -602,7 +610,8 @@ module Aws::Budgets
|
|
602
610
|
# @return [String]
|
603
611
|
#
|
604
612
|
# @!attribute [rw] budget_name
|
605
|
-
# A string represents the budget name. No ":"
|
613
|
+
# A string represents the budget name. No ":" and "\\" character
|
614
|
+
# is allowed.
|
606
615
|
# @return [String]
|
607
616
|
#
|
608
617
|
# @!attribute [rw] notification
|
@@ -720,7 +729,7 @@ module Aws::Budgets
|
|
720
729
|
#
|
721
730
|
# {
|
722
731
|
# amount: "NumericValue", # required
|
723
|
-
# unit: "
|
732
|
+
# unit: "UnitValue", # required
|
724
733
|
# }
|
725
734
|
#
|
726
735
|
# @!attribute [rw] amount
|
@@ -728,7 +737,8 @@ module Aws::Budgets
|
|
728
737
|
# @return [String]
|
729
738
|
#
|
730
739
|
# @!attribute [rw] unit
|
731
|
-
# A
|
740
|
+
# A string to represent budget spend unit. It should be not null and
|
741
|
+
# not empty.
|
732
742
|
# @return [String]
|
733
743
|
#
|
734
744
|
class Spend < Struct.new(
|
@@ -797,7 +807,7 @@ module Aws::Budgets
|
|
797
807
|
# budget_name: "BudgetName", # required
|
798
808
|
# budget_limit: { # required
|
799
809
|
# amount: "NumericValue", # required
|
800
|
-
# unit: "
|
810
|
+
# unit: "UnitValue", # required
|
801
811
|
# },
|
802
812
|
# cost_filters: {
|
803
813
|
# "GenericString" => ["GenericString"],
|
@@ -807,7 +817,7 @@ module Aws::Budgets
|
|
807
817
|
# include_subscription: false, # required
|
808
818
|
# use_blended: false, # required
|
809
819
|
# },
|
810
|
-
# time_unit: "
|
820
|
+
# time_unit: "DAILY", # required, accepts DAILY, MONTHLY, QUARTERLY, ANNUALLY
|
811
821
|
# time_period: { # required
|
812
822
|
# start: Time.now, # required
|
813
823
|
# end: Time.now, # required
|
@@ -815,14 +825,14 @@ module Aws::Budgets
|
|
815
825
|
# calculated_spend: {
|
816
826
|
# actual_spend: { # required
|
817
827
|
# amount: "NumericValue", # required
|
818
|
-
# unit: "
|
828
|
+
# unit: "UnitValue", # required
|
819
829
|
# },
|
820
830
|
# forecasted_spend: {
|
821
831
|
# amount: "NumericValue", # required
|
822
|
-
# unit: "
|
832
|
+
# unit: "UnitValue", # required
|
823
833
|
# },
|
824
834
|
# },
|
825
|
-
# budget_type: "USAGE", # required, accepts USAGE, COST
|
835
|
+
# budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION
|
826
836
|
# },
|
827
837
|
# }
|
828
838
|
#
|
@@ -869,7 +879,8 @@ module Aws::Budgets
|
|
869
879
|
# @return [String]
|
870
880
|
#
|
871
881
|
# @!attribute [rw] budget_name
|
872
|
-
# A string represents the budget name. No ":"
|
882
|
+
# A string represents the budget name. No ":" and "\\" character
|
883
|
+
# is allowed.
|
873
884
|
# @return [String]
|
874
885
|
#
|
875
886
|
# @!attribute [rw] old_notification
|
@@ -922,7 +933,8 @@ module Aws::Budgets
|
|
922
933
|
# @return [String]
|
923
934
|
#
|
924
935
|
# @!attribute [rw] budget_name
|
925
|
-
# A string represents the budget name. No ":"
|
936
|
+
# A string represents the budget name. No ":" and "\\" character
|
937
|
+
# is allowed.
|
926
938
|
# @return [String]
|
927
939
|
#
|
928
940
|
# @!attribute [rw] notification
|
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.0.0.
|
4
|
+
version: 1.0.0.rc10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|