aws-sdk-budgets 1.5.0 → 1.6.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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-budgets.rb +1 -1
- data/lib/aws-sdk-budgets/client.rb +32 -32
- data/lib/aws-sdk-budgets/types.rb +102 -89
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c2f4f3876ba9e061842180c6e24114d0b1f9ff8
|
4
|
+
data.tar.gz: 8e9c286e8089e1bd68e163fc5f2ccfd5b40171f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51069ca8c13ab2c8862695f7b547aef31d20d4279335fab52cb92dfa1925619c4fdd90b50bba1c15b7ce70942db5dd69ab0d89fc240d0e0435e53b1d79eb82d7
|
7
|
+
data.tar.gz: e5225df5998dc91611c0bdd4bab447ba10f7411e0cfeab82068d73ff20a04c59188a08fdc57794439569da70b30353cee49e9688d9526903d1ef2acbf7116211
|
data/lib/aws-sdk-budgets.rb
CHANGED
@@ -166,7 +166,7 @@ module Aws::Budgets
|
|
166
166
|
# @option params [Array<Types::NotificationWithSubscribers>] :notifications_with_subscribers
|
167
167
|
# A notification that you want to associate with a budget. A budget can
|
168
168
|
# have up to five notifications, and each notification can have one SNS
|
169
|
-
# subscriber and up to
|
169
|
+
# subscriber and up to 10 email subscribers. If you include
|
170
170
|
# notifications and subscribers in your `CreateBudget` call, AWS creates
|
171
171
|
# the notifications and subscribers for you.
|
172
172
|
#
|
@@ -213,7 +213,7 @@ module Aws::Budgets
|
|
213
213
|
# unit: "UnitValue", # required
|
214
214
|
# },
|
215
215
|
# },
|
216
|
-
# budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION
|
216
|
+
# budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION, RI_COVERAGE
|
217
217
|
# },
|
218
218
|
# notifications_with_subscribers: [
|
219
219
|
# {
|
@@ -248,7 +248,7 @@ module Aws::Budgets
|
|
248
248
|
# create a notification for.
|
249
249
|
#
|
250
250
|
# @option params [required, String] :budget_name
|
251
|
-
# The name of the budget that you want AWS to
|
251
|
+
# The name of the budget that you want AWS to notify you about. Budget
|
252
252
|
# names must be unique within an account.
|
253
253
|
#
|
254
254
|
# @option params [required, Types::Notification] :notification
|
@@ -257,7 +257,7 @@ module Aws::Budgets
|
|
257
257
|
# @option params [required, Array<Types::Subscriber>] :subscribers
|
258
258
|
# A list of subscribers that you want to associate with the
|
259
259
|
# notification. Each notification can have one SNS subscriber and up to
|
260
|
-
#
|
260
|
+
# 10 email subscribers.
|
261
261
|
#
|
262
262
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
263
263
|
#
|
@@ -291,8 +291,8 @@ module Aws::Budgets
|
|
291
291
|
# notification before you create the subscriber.
|
292
292
|
#
|
293
293
|
# @option params [required, String] :account_id
|
294
|
-
# The `accountId` associated with the budget that you want to
|
295
|
-
# subscriber for.
|
294
|
+
# The `accountId` that is associated with the budget that you want to
|
295
|
+
# create a subscriber for.
|
296
296
|
#
|
297
297
|
# @option params [required, String] :budget_name
|
298
298
|
# The name of the budget that you want to subscribe to. Budget names
|
@@ -332,8 +332,8 @@ module Aws::Budgets
|
|
332
332
|
|
333
333
|
# Deletes a budget. You can delete your budget at any time.
|
334
334
|
#
|
335
|
-
#
|
336
|
-
# associated with that budget
|
335
|
+
# Deleting a budget also deletes the notifications and subscribers that
|
336
|
+
# are associated with that budget.
|
337
337
|
#
|
338
338
|
# @option params [required, String] :account_id
|
339
339
|
# The `accountId` that is associated with the budget that you want to
|
@@ -360,8 +360,8 @@ module Aws::Budgets
|
|
360
360
|
|
361
361
|
# Deletes a notification.
|
362
362
|
#
|
363
|
-
#
|
364
|
-
# the notification
|
363
|
+
# Deleting a notification also deletes the subscribers that are
|
364
|
+
# associated with the notification.
|
365
365
|
#
|
366
366
|
# @option params [required, String] :account_id
|
367
367
|
# The `accountId` that is associated with the budget whose notification
|
@@ -397,8 +397,8 @@ module Aws::Budgets
|
|
397
397
|
|
398
398
|
# Deletes a subscriber.
|
399
399
|
#
|
400
|
-
#
|
401
|
-
# notification
|
400
|
+
# Deleting the last subscriber to a notification also deletes the
|
401
|
+
# notification.
|
402
402
|
#
|
403
403
|
# @option params [required, String] :account_id
|
404
404
|
# The `accountId` that is associated with the budget whose subscriber
|
@@ -485,7 +485,7 @@ module Aws::Budgets
|
|
485
485
|
# resp.budget.calculated_spend.actual_spend.unit #=> String
|
486
486
|
# resp.budget.calculated_spend.forecasted_spend.amount #=> String
|
487
487
|
# resp.budget.calculated_spend.forecasted_spend.unit #=> String
|
488
|
-
# resp.budget.budget_type #=> String, one of "USAGE", "COST", "RI_UTILIZATION"
|
488
|
+
# resp.budget.budget_type #=> String, one of "USAGE", "COST", "RI_UTILIZATION", "RI_COVERAGE"
|
489
489
|
#
|
490
490
|
# @overload describe_budget(params = {})
|
491
491
|
# @param [Hash] params ({})
|
@@ -494,7 +494,7 @@ module Aws::Budgets
|
|
494
494
|
req.send_request(options)
|
495
495
|
end
|
496
496
|
|
497
|
-
# Lists the budgets associated with an account.
|
497
|
+
# Lists the budgets that are associated with an account.
|
498
498
|
#
|
499
499
|
# @option params [required, String] :account_id
|
500
500
|
# The `accountId` that is associated with the budgets that you want
|
@@ -502,11 +502,11 @@ module Aws::Budgets
|
|
502
502
|
#
|
503
503
|
# @option params [Integer] :max_results
|
504
504
|
# Optional integer. Specifies the maximum number of results to return in
|
505
|
-
# response.
|
505
|
+
# a response.
|
506
506
|
#
|
507
507
|
# @option params [String] :next_token
|
508
|
-
# The pagination token that
|
509
|
-
# retrieve.
|
508
|
+
# The pagination token that you include in your request to indicate the
|
509
|
+
# next set of results that you want to retrieve.
|
510
510
|
#
|
511
511
|
# @return [Types::DescribeBudgetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
512
512
|
#
|
@@ -548,7 +548,7 @@ module Aws::Budgets
|
|
548
548
|
# resp.budgets[0].calculated_spend.actual_spend.unit #=> String
|
549
549
|
# resp.budgets[0].calculated_spend.forecasted_spend.amount #=> String
|
550
550
|
# resp.budgets[0].calculated_spend.forecasted_spend.unit #=> String
|
551
|
-
# resp.budgets[0].budget_type #=> String, one of "USAGE", "COST", "RI_UTILIZATION"
|
551
|
+
# resp.budgets[0].budget_type #=> String, one of "USAGE", "COST", "RI_UTILIZATION", "RI_COVERAGE"
|
552
552
|
# resp.next_token #=> String
|
553
553
|
#
|
554
554
|
# @overload describe_budgets(params = {})
|
@@ -558,7 +558,7 @@ module Aws::Budgets
|
|
558
558
|
req.send_request(options)
|
559
559
|
end
|
560
560
|
|
561
|
-
# Lists the notifications associated with a budget.
|
561
|
+
# Lists the notifications that are associated with a budget.
|
562
562
|
#
|
563
563
|
# @option params [required, String] :account_id
|
564
564
|
# The `accountId` that is associated with the budget whose notifications
|
@@ -569,11 +569,11 @@ module Aws::Budgets
|
|
569
569
|
#
|
570
570
|
# @option params [Integer] :max_results
|
571
571
|
# Optional integer. Specifies the maximum number of results to return in
|
572
|
-
# response.
|
572
|
+
# a response.
|
573
573
|
#
|
574
574
|
# @option params [String] :next_token
|
575
|
-
# The pagination token that
|
576
|
-
# retrieve.
|
575
|
+
# The pagination token that you include in your request to indicate the
|
576
|
+
# next set of results that you want to retrieve.
|
577
577
|
#
|
578
578
|
# @return [Types::DescribeNotificationsForBudgetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
579
579
|
#
|
@@ -605,7 +605,7 @@ module Aws::Budgets
|
|
605
605
|
req.send_request(options)
|
606
606
|
end
|
607
607
|
|
608
|
-
# Lists the subscribers associated with a notification.
|
608
|
+
# Lists the subscribers that are associated with a notification.
|
609
609
|
#
|
610
610
|
# @option params [required, String] :account_id
|
611
611
|
# The `accountId` that is associated with the budget whose subscribers
|
@@ -619,11 +619,11 @@ module Aws::Budgets
|
|
619
619
|
#
|
620
620
|
# @option params [Integer] :max_results
|
621
621
|
# Optional integer. Specifies the maximum number of results to return in
|
622
|
-
# response.
|
622
|
+
# a response.
|
623
623
|
#
|
624
624
|
# @option params [String] :next_token
|
625
|
-
# The pagination token that
|
626
|
-
# retrieve.
|
625
|
+
# The pagination token that you include in your request to indicate the
|
626
|
+
# next set of results that you want to retrieve.
|
627
627
|
#
|
628
628
|
# @return [Types::DescribeSubscribersForNotificationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
629
629
|
#
|
@@ -660,7 +660,7 @@ module Aws::Budgets
|
|
660
660
|
end
|
661
661
|
|
662
662
|
# Updates a budget. You can change every part of a budget except for the
|
663
|
-
# `budgetName` and the `calculatedSpend`. When a budget
|
663
|
+
# `budgetName` and the `calculatedSpend`. When you modify a budget, the
|
664
664
|
# `calculatedSpend` drops to zero until AWS has new usage data to use
|
665
665
|
# for forecasting.
|
666
666
|
#
|
@@ -714,7 +714,7 @@ module Aws::Budgets
|
|
714
714
|
# unit: "UnitValue", # required
|
715
715
|
# },
|
716
716
|
# },
|
717
|
-
# budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION
|
717
|
+
# budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION, RI_COVERAGE
|
718
718
|
# },
|
719
719
|
# })
|
720
720
|
#
|
@@ -735,7 +735,7 @@ module Aws::Budgets
|
|
735
735
|
# The name of the budget whose notification you want to update.
|
736
736
|
#
|
737
737
|
# @option params [required, Types::Notification] :old_notification
|
738
|
-
# The previous notification associated with a budget.
|
738
|
+
# The previous notification that is associated with a budget.
|
739
739
|
#
|
740
740
|
# @option params [required, Types::Notification] :new_notification
|
741
741
|
# The updated notification to be associated with a budget.
|
@@ -781,10 +781,10 @@ module Aws::Budgets
|
|
781
781
|
# The notification whose subscriber you want to update.
|
782
782
|
#
|
783
783
|
# @option params [required, Types::Subscriber] :old_subscriber
|
784
|
-
# The previous subscriber associated with a budget notification.
|
784
|
+
# The previous subscriber that is associated with a budget notification.
|
785
785
|
#
|
786
786
|
# @option params [required, Types::Subscriber] :new_subscriber
|
787
|
-
# The updated subscriber associated with a budget notification.
|
787
|
+
# The updated subscriber that is associated with a budget notification.
|
788
788
|
#
|
789
789
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
790
790
|
#
|
@@ -829,7 +829,7 @@ module Aws::Budgets
|
|
829
829
|
params: params,
|
830
830
|
config: config)
|
831
831
|
context[:gem_name] = 'aws-sdk-budgets'
|
832
|
-
context[:gem_version] = '1.
|
832
|
+
context[:gem_version] = '1.6.0'
|
833
833
|
Seahorse::Client::Request.new(handlers, context)
|
834
834
|
end
|
835
835
|
|
@@ -10,9 +10,10 @@ module Aws::Budgets
|
|
10
10
|
|
11
11
|
# Represents the output of the `CreateBudget` operation. The content
|
12
12
|
# consists of the detailed metadata and data file information, and the
|
13
|
-
# current status of the `budget
|
13
|
+
# current status of the `budget` object.
|
14
|
+
#
|
15
|
+
# This is the ARN pattern for a budget:
|
14
16
|
#
|
15
|
-
# The ARN pattern for a budget is:
|
16
17
|
# `arn:aws:budgetservice::AccountId:budget/budgetName`
|
17
18
|
#
|
18
19
|
# @note When making an API call, you may pass Budget
|
@@ -55,50 +56,56 @@ module Aws::Budgets
|
|
55
56
|
# unit: "UnitValue", # required
|
56
57
|
# },
|
57
58
|
# },
|
58
|
-
# budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION
|
59
|
+
# budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION, RI_COVERAGE
|
59
60
|
# }
|
60
61
|
#
|
61
62
|
# @!attribute [rw] budget_name
|
62
|
-
# The name of a budget.
|
63
|
-
# are not allowed in
|
63
|
+
# The name of a budget. The name must be unique within accounts. The
|
64
|
+
# `:` and `` characters are not allowed in `BudgetName`.
|
64
65
|
# @return [String]
|
65
66
|
#
|
66
67
|
# @!attribute [rw] budget_limit
|
67
|
-
# The total amount of cost, usage,
|
68
|
-
# track with your budget.
|
68
|
+
# The total amount of cost, usage, RI utilization, or RI coverage that
|
69
|
+
# you want to track with your budget.
|
69
70
|
#
|
70
71
|
# `BudgetLimit` is required for cost or usage budgets, but optional
|
71
|
-
# for RI utilization budgets. RI utilization
|
72
|
-
# only valid value for RI
|
72
|
+
# for RI utilization or coverage budgets. RI utilization or coverage
|
73
|
+
# budgets default to `100`, which is the only valid value for RI
|
74
|
+
# utilization or coverage budgets.
|
73
75
|
# @return [Types::Spend]
|
74
76
|
#
|
75
77
|
# @!attribute [rw] cost_filters
|
76
|
-
# The cost filters
|
78
|
+
# The cost filters, such as service or region, that are applied to a
|
79
|
+
# budget.
|
77
80
|
# @return [Hash<String,Array<String>>]
|
78
81
|
#
|
79
82
|
# @!attribute [rw] cost_types
|
80
|
-
# The types of costs included in this budget.
|
83
|
+
# The types of costs that are included in this `COST` budget.
|
84
|
+
#
|
85
|
+
# `USAGE`, `RI_UTILIZATION`, and `RI_COVERAGE` budgets do not have
|
86
|
+
# `CostTypes`.
|
81
87
|
# @return [Types::CostTypes]
|
82
88
|
#
|
83
89
|
# @!attribute [rw] time_unit
|
84
90
|
# The length of time until a budget resets the actual and forecasted
|
85
|
-
# spend.
|
91
|
+
# spend. `DAILY` is available only for `RI_UTILIZATION` and
|
92
|
+
# `RI_COVERAGE` budgets.
|
86
93
|
# @return [String]
|
87
94
|
#
|
88
95
|
# @!attribute [rw] time_period
|
89
|
-
# The period of time covered by a budget.
|
90
|
-
# date. The start date must come before the end
|
91
|
-
#
|
92
|
-
#
|
93
|
-
# If you
|
94
|
-
# defaults to the start of your chosen time period (
|
95
|
-
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
#
|
100
|
-
#
|
101
|
-
#
|
96
|
+
# The period of time that is covered by a budget. The period has a
|
97
|
+
# start date and an end date. The start date must come before the end
|
98
|
+
# date. The end date must come before `06/15/87 00:00 UTC`.
|
99
|
+
#
|
100
|
+
# If you create your budget and don't specify a start date, AWS
|
101
|
+
# defaults to the start of your chosen time period (DAILY, MONTHLY,
|
102
|
+
# QUARTERLY, or ANNUALLY). For example, if you created your budget on
|
103
|
+
# January 24, 2018, chose `DAILY`, and didn't set a start date, AWS
|
104
|
+
# set your start date to `01/24/18 00:00 UTC`. If you chose `MONTHLY`,
|
105
|
+
# AWS set your start date to `01/01/18 00:00 UTC`. If you didn't
|
106
|
+
# specify an end date, AWS set your end date to `06/15/87 00:00 UTC`.
|
107
|
+
# The defaults are the same for the AWS Billing and Cost Management
|
108
|
+
# console and the API.
|
102
109
|
#
|
103
110
|
# You can change either date with the `UpdateBudget` operation.
|
104
111
|
#
|
@@ -107,11 +114,12 @@ module Aws::Budgets
|
|
107
114
|
# @return [Types::TimePeriod]
|
108
115
|
#
|
109
116
|
# @!attribute [rw] calculated_spend
|
110
|
-
# The actual and forecasted cost or usage
|
117
|
+
# The actual and forecasted cost or usage that the budget tracks.
|
111
118
|
# @return [Types::CalculatedSpend]
|
112
119
|
#
|
113
120
|
# @!attribute [rw] budget_type
|
114
|
-
# Whether this budget tracks monetary costs, usage,
|
121
|
+
# Whether this budget tracks monetary costs, usage, RI utilization, or
|
122
|
+
# RI coverage.
|
115
123
|
# @return [String]
|
116
124
|
#
|
117
125
|
class Budget < Struct.new(
|
@@ -126,10 +134,10 @@ module Aws::Budgets
|
|
126
134
|
include Aws::Structure
|
127
135
|
end
|
128
136
|
|
129
|
-
# The spend objects associated with this budget. The
|
130
|
-
# tracks how much you've used, cost, usage, or RI units,
|
131
|
-
# `forecastedSpend` tracks how much you are predicted to spend
|
132
|
-
# current usage remains steady.
|
137
|
+
# The spend objects that are associated with this budget. The
|
138
|
+
# `actualSpend` tracks how much you've used, cost, usage, or RI units,
|
139
|
+
# and the `forecastedSpend` tracks how much you are predicted to spend
|
140
|
+
# if your current usage remains steady.
|
133
141
|
#
|
134
142
|
# For example, if it is the 20th of the month and you have spent `50`
|
135
143
|
# dollars on Amazon EC2, your `actualSpend` is `50 USD`, and your
|
@@ -164,7 +172,11 @@ module Aws::Budgets
|
|
164
172
|
include Aws::Structure
|
165
173
|
end
|
166
174
|
|
167
|
-
# The types of cost included in a budget, such as tax
|
175
|
+
# The types of cost that are included in a `COST` budget, such as tax
|
176
|
+
# and subscriptions.
|
177
|
+
#
|
178
|
+
# `USAGE`, `RI_UTILIZATION`, and `RI_COVERAGE` budgets do not have
|
179
|
+
# `CostTypes`.
|
168
180
|
#
|
169
181
|
# @note When making an API call, you may pass CostTypes
|
170
182
|
# data as a hash:
|
@@ -196,7 +208,7 @@ module Aws::Budgets
|
|
196
208
|
# @return [Boolean]
|
197
209
|
#
|
198
210
|
# @!attribute [rw] use_blended
|
199
|
-
# Specifies whether a budget uses blended rate.
|
211
|
+
# Specifies whether a budget uses a blended rate.
|
200
212
|
#
|
201
213
|
# The default value is `false`.
|
202
214
|
# @return [Boolean]
|
@@ -309,7 +321,7 @@ module Aws::Budgets
|
|
309
321
|
# unit: "UnitValue", # required
|
310
322
|
# },
|
311
323
|
# },
|
312
|
-
# budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION
|
324
|
+
# budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION, RI_COVERAGE
|
313
325
|
# },
|
314
326
|
# notifications_with_subscribers: [
|
315
327
|
# {
|
@@ -340,7 +352,7 @@ module Aws::Budgets
|
|
340
352
|
# @!attribute [rw] notifications_with_subscribers
|
341
353
|
# A notification that you want to associate with a budget. A budget
|
342
354
|
# can have up to five notifications, and each notification can have
|
343
|
-
# one SNS subscriber and up to
|
355
|
+
# one SNS subscriber and up to 10 email subscribers. If you include
|
344
356
|
# notifications and subscribers in your `CreateBudget` call, AWS
|
345
357
|
# creates the notifications and subscribers for you.
|
346
358
|
# @return [Array<Types::NotificationWithSubscribers>]
|
@@ -384,8 +396,8 @@ module Aws::Budgets
|
|
384
396
|
# @return [String]
|
385
397
|
#
|
386
398
|
# @!attribute [rw] budget_name
|
387
|
-
# The name of the budget that you want AWS to
|
388
|
-
#
|
399
|
+
# The name of the budget that you want AWS to notify you about. Budget
|
400
|
+
# names must be unique within an account.
|
389
401
|
# @return [String]
|
390
402
|
#
|
391
403
|
# @!attribute [rw] notification
|
@@ -395,7 +407,7 @@ module Aws::Budgets
|
|
395
407
|
# @!attribute [rw] subscribers
|
396
408
|
# A list of subscribers that you want to associate with the
|
397
409
|
# notification. Each notification can have one SNS subscriber and up
|
398
|
-
# to
|
410
|
+
# to 10 email subscribers.
|
399
411
|
# @return [Array<Types::Subscriber>]
|
400
412
|
#
|
401
413
|
class CreateNotificationRequest < Struct.new(
|
@@ -431,8 +443,8 @@ module Aws::Budgets
|
|
431
443
|
# }
|
432
444
|
#
|
433
445
|
# @!attribute [rw] account_id
|
434
|
-
# The `accountId` associated with the budget that you want to
|
435
|
-
# subscriber for.
|
446
|
+
# The `accountId` that is associated with the budget that you want to
|
447
|
+
# create a subscriber for.
|
436
448
|
# @return [String]
|
437
449
|
#
|
438
450
|
# @!attribute [rw] budget_name
|
@@ -633,12 +645,12 @@ module Aws::Budgets
|
|
633
645
|
#
|
634
646
|
# @!attribute [rw] max_results
|
635
647
|
# Optional integer. Specifies the maximum number of results to return
|
636
|
-
# in response.
|
648
|
+
# in a response.
|
637
649
|
# @return [Integer]
|
638
650
|
#
|
639
651
|
# @!attribute [rw] next_token
|
640
|
-
# The pagination token that
|
641
|
-
# retrieve.
|
652
|
+
# The pagination token that you include in your request to indicate
|
653
|
+
# the next set of results that you want to retrieve.
|
642
654
|
# @return [String]
|
643
655
|
#
|
644
656
|
class DescribeBudgetsRequest < Struct.new(
|
@@ -655,8 +667,8 @@ module Aws::Budgets
|
|
655
667
|
# @return [Array<Types::Budget>]
|
656
668
|
#
|
657
669
|
# @!attribute [rw] next_token
|
658
|
-
# The pagination token
|
659
|
-
# can retrieve.
|
670
|
+
# The pagination token in the service response that indicates the next
|
671
|
+
# set of results that you can retrieve.
|
660
672
|
# @return [String]
|
661
673
|
#
|
662
674
|
class DescribeBudgetsResponse < Struct.new(
|
@@ -688,12 +700,12 @@ module Aws::Budgets
|
|
688
700
|
#
|
689
701
|
# @!attribute [rw] max_results
|
690
702
|
# Optional integer. Specifies the maximum number of results to return
|
691
|
-
# in response.
|
703
|
+
# in a response.
|
692
704
|
# @return [Integer]
|
693
705
|
#
|
694
706
|
# @!attribute [rw] next_token
|
695
|
-
# The pagination token that
|
696
|
-
# retrieve.
|
707
|
+
# The pagination token that you include in your request to indicate
|
708
|
+
# the next set of results that you want to retrieve.
|
697
709
|
# @return [String]
|
698
710
|
#
|
699
711
|
class DescribeNotificationsForBudgetRequest < Struct.new(
|
@@ -707,12 +719,12 @@ module Aws::Budgets
|
|
707
719
|
# Response of GetNotificationsForBudget
|
708
720
|
#
|
709
721
|
# @!attribute [rw] notifications
|
710
|
-
# A list of notifications associated with a budget.
|
722
|
+
# A list of notifications that are associated with a budget.
|
711
723
|
# @return [Array<Types::Notification>]
|
712
724
|
#
|
713
725
|
# @!attribute [rw] next_token
|
714
|
-
# The pagination token
|
715
|
-
# can retrieve.
|
726
|
+
# The pagination token in the service response that indicates the next
|
727
|
+
# set of results that you can retrieve.
|
716
728
|
# @return [String]
|
717
729
|
#
|
718
730
|
class DescribeNotificationsForBudgetResponse < Struct.new(
|
@@ -754,12 +766,12 @@ module Aws::Budgets
|
|
754
766
|
#
|
755
767
|
# @!attribute [rw] max_results
|
756
768
|
# Optional integer. Specifies the maximum number of results to return
|
757
|
-
# in response.
|
769
|
+
# in a response.
|
758
770
|
# @return [Integer]
|
759
771
|
#
|
760
772
|
# @!attribute [rw] next_token
|
761
|
-
# The pagination token that
|
762
|
-
# retrieve.
|
773
|
+
# The pagination token that you include in your request to indicate
|
774
|
+
# the next set of results that you want to retrieve.
|
763
775
|
# @return [String]
|
764
776
|
#
|
765
777
|
class DescribeSubscribersForNotificationRequest < Struct.new(
|
@@ -774,12 +786,12 @@ module Aws::Budgets
|
|
774
786
|
# Response of DescribeSubscribersForNotification
|
775
787
|
#
|
776
788
|
# @!attribute [rw] subscribers
|
777
|
-
# A list of subscribers associated with a notification.
|
789
|
+
# A list of subscribers that are associated with a notification.
|
778
790
|
# @return [Array<Types::Subscriber>]
|
779
791
|
#
|
780
792
|
# @!attribute [rw] next_token
|
781
|
-
# The pagination token
|
782
|
-
# can retrieve.
|
793
|
+
# The pagination token in the service response that indicates the next
|
794
|
+
# set of results that you can retrieve.
|
783
795
|
# @return [String]
|
784
796
|
#
|
785
797
|
class DescribeSubscribersForNotificationResponse < Struct.new(
|
@@ -788,20 +800,20 @@ module Aws::Budgets
|
|
788
800
|
include Aws::Structure
|
789
801
|
end
|
790
802
|
|
791
|
-
# A notification associated with a budget. A budget can have up
|
792
|
-
# notifications.
|
803
|
+
# A notification that is associated with a budget. A budget can have up
|
804
|
+
# to five notifications.
|
793
805
|
#
|
794
806
|
# Each notification must have at least one subscriber. A notification
|
795
|
-
# can have one SNS subscriber and up to
|
807
|
+
# can have one SNS subscriber and up to 10 email subscribers, for a
|
796
808
|
# total of 11 subscribers.
|
797
809
|
#
|
798
810
|
# For example, if you have a budget for 200 dollars and you want to be
|
799
811
|
# notified when you go over 160 dollars, create a notification with the
|
800
812
|
# following parameters:
|
801
813
|
#
|
802
|
-
# * A notificationType of `ACTUAL`
|
814
|
+
# * A `notificationType` of `ACTUAL`
|
803
815
|
#
|
804
|
-
# * A comparisonOperator of `GREATER_THAN`
|
816
|
+
# * A `comparisonOperator` of `GREATER_THAN`
|
805
817
|
#
|
806
818
|
# * A notification threshold of `80`
|
807
819
|
#
|
@@ -821,19 +833,19 @@ module Aws::Budgets
|
|
821
833
|
# @return [String]
|
822
834
|
#
|
823
835
|
# @!attribute [rw] comparison_operator
|
824
|
-
# The comparison used for this notification.
|
836
|
+
# The comparison that is used for this notification.
|
825
837
|
# @return [String]
|
826
838
|
#
|
827
839
|
# @!attribute [rw] threshold
|
828
|
-
# The threshold associated with a notification. Thresholds are
|
829
|
-
# a percentage.
|
840
|
+
# The threshold that is associated with a notification. Thresholds are
|
841
|
+
# always a percentage.
|
830
842
|
# @return [Float]
|
831
843
|
#
|
832
844
|
# @!attribute [rw] threshold_type
|
833
845
|
# The type of threshold for a notification. For `ACTUAL` thresholds,
|
834
|
-
# AWS notifies you when you go over the threshold
|
835
|
-
#
|
836
|
-
#
|
846
|
+
# AWS notifies you when you go over the threshold. For `FORECASTED`
|
847
|
+
# thresholds, AWS notifies you when you are forecasted to go over the
|
848
|
+
# threshold.
|
837
849
|
# @return [String]
|
838
850
|
#
|
839
851
|
class Notification < Struct.new(
|
@@ -845,7 +857,7 @@ module Aws::Budgets
|
|
845
857
|
end
|
846
858
|
|
847
859
|
# A notification with subscribers. A notification can have one SNS
|
848
|
-
# subscriber and up to
|
860
|
+
# subscriber and up to 10 email subscribers, for a total of 11
|
849
861
|
# subscribers.
|
850
862
|
#
|
851
863
|
# @note When making an API call, you may pass NotificationWithSubscribers
|
@@ -867,7 +879,7 @@ module Aws::Budgets
|
|
867
879
|
# }
|
868
880
|
#
|
869
881
|
# @!attribute [rw] notification
|
870
|
-
# The notification associated with a budget.
|
882
|
+
# The notification that is associated with a budget.
|
871
883
|
# @return [Types::Notification]
|
872
884
|
#
|
873
885
|
# @!attribute [rw] subscribers
|
@@ -880,7 +892,7 @@ module Aws::Budgets
|
|
880
892
|
include Aws::Structure
|
881
893
|
end
|
882
894
|
|
883
|
-
# The amount of cost or usage
|
895
|
+
# The amount of cost or usage that is measured for a budget.
|
884
896
|
#
|
885
897
|
# For example, a `Spend` for `3 GB` of S3 usage would have the following
|
886
898
|
# parameters:
|
@@ -898,13 +910,13 @@ module Aws::Budgets
|
|
898
910
|
# }
|
899
911
|
#
|
900
912
|
# @!attribute [rw] amount
|
901
|
-
# The cost or usage amount associated with a budget forecast,
|
902
|
-
# spend, or budget threshold.
|
913
|
+
# The cost or usage amount that is associated with a budget forecast,
|
914
|
+
# actual spend, or budget threshold.
|
903
915
|
# @return [String]
|
904
916
|
#
|
905
917
|
# @!attribute [rw] unit
|
906
|
-
# The unit of measurement used for the budget forecast, actual
|
907
|
-
# or budget threshold, such as dollars or GB.
|
918
|
+
# The unit of measurement that is used for the budget forecast, actual
|
919
|
+
# spend, or budget threshold, such as dollars or GB.
|
908
920
|
# @return [String]
|
909
921
|
#
|
910
922
|
class Spend < Struct.new(
|
@@ -914,8 +926,7 @@ module Aws::Budgets
|
|
914
926
|
end
|
915
927
|
|
916
928
|
# The subscriber to a budget notification. The subscriber consists of a
|
917
|
-
# subscription type and either an Amazon
|
918
|
-
# topic or an email address.
|
929
|
+
# subscription type and either an Amazon SNS topic or an email address.
|
919
930
|
#
|
920
931
|
# For example, an email subscriber would have the following parameters:
|
921
932
|
#
|
@@ -946,9 +957,9 @@ module Aws::Budgets
|
|
946
957
|
include Aws::Structure
|
947
958
|
end
|
948
959
|
|
949
|
-
# The period of time covered by a budget.
|
950
|
-
# date. The start date must come before the end date.
|
951
|
-
# restrictions on the end date.
|
960
|
+
# The period of time that is covered by a budget. The period has a start
|
961
|
+
# date and an end date. The start date must come before the end date.
|
962
|
+
# There are no restrictions on the end date.
|
952
963
|
#
|
953
964
|
# @note When making an API call, you may pass TimePeriod
|
954
965
|
# data as a hash:
|
@@ -961,11 +972,11 @@ module Aws::Budgets
|
|
961
972
|
# @!attribute [rw] start
|
962
973
|
# The start date for a budget. If you created your budget and didn't
|
963
974
|
# specify a start date, AWS defaults to the start of your chosen time
|
964
|
-
# period (
|
965
|
-
#
|
966
|
-
#
|
967
|
-
#
|
968
|
-
#
|
975
|
+
# period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example, if you
|
976
|
+
# created your budget on January 24, 2018, chose `DAILY`, and didn't
|
977
|
+
# set a start date, AWS set your start date to `01/24/18 00:00 UTC`.
|
978
|
+
# If you chose `MONTHLY`, AWS set your start date to `01/01/18 00:00
|
979
|
+
# UTC`. The defaults are the same for the AWS Billing and Cost
|
969
980
|
# Management console and the API.
|
970
981
|
#
|
971
982
|
# You can change your start date with the `UpdateBudget` operation.
|
@@ -1031,7 +1042,7 @@ module Aws::Budgets
|
|
1031
1042
|
# unit: "UnitValue", # required
|
1032
1043
|
# },
|
1033
1044
|
# },
|
1034
|
-
# budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION
|
1045
|
+
# budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION, RI_COVERAGE
|
1035
1046
|
# },
|
1036
1047
|
# }
|
1037
1048
|
#
|
@@ -1086,7 +1097,7 @@ module Aws::Budgets
|
|
1086
1097
|
# @return [String]
|
1087
1098
|
#
|
1088
1099
|
# @!attribute [rw] old_notification
|
1089
|
-
# The previous notification associated with a budget.
|
1100
|
+
# The previous notification that is associated with a budget.
|
1090
1101
|
# @return [Types::Notification]
|
1091
1102
|
#
|
1092
1103
|
# @!attribute [rw] new_notification
|
@@ -1143,11 +1154,13 @@ module Aws::Budgets
|
|
1143
1154
|
# @return [Types::Notification]
|
1144
1155
|
#
|
1145
1156
|
# @!attribute [rw] old_subscriber
|
1146
|
-
# The previous subscriber associated with a budget
|
1157
|
+
# The previous subscriber that is associated with a budget
|
1158
|
+
# notification.
|
1147
1159
|
# @return [Types::Subscriber]
|
1148
1160
|
#
|
1149
1161
|
# @!attribute [rw] new_subscriber
|
1150
|
-
# The updated subscriber associated with a budget
|
1162
|
+
# The updated subscriber that is associated with a budget
|
1163
|
+
# notification.
|
1151
1164
|
# @return [Types::Subscriber]
|
1152
1165
|
#
|
1153
1166
|
class UpdateSubscriberRequest < Struct.new(
|
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.6.0
|
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: 2018-
|
11
|
+
date: 2018-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.5.
|
78
|
+
rubygems_version: 2.5.2.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: AWS SDK for Ruby - AWSBudgets
|