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