aws-sdk-budgets 1.30.0 → 1.35.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 +5 -2
- data/lib/aws-sdk-budgets/client.rb +36 -9
- data/lib/aws-sdk-budgets/client_api.rb +26 -0
- data/lib/aws-sdk-budgets/customizations.rb +1 -0
- data/lib/aws-sdk-budgets/errors.rb +2 -0
- data/lib/aws-sdk-budgets/resource.rb +2 -0
- data/lib/aws-sdk-budgets/types.rb +57 -16
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2fc92baebba83690855ca3306fc983735fc8d9e9c39cf7d14912e16dbc44ab8
|
4
|
+
data.tar.gz: 450423430b98b85570ff17bd050075a1f805636832f358e0ddec2e3ede92c22a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58a0195664e3248890e19ff8edbe6916fb4c4733c81297a7f5f8062217e30a475ccdd0d2782219aca47b38cfb7bd6300e60ce92494e7e8321bc23f2a4054ece3
|
7
|
+
data.tar.gz: 97bdbc1d07fc53e9ef940f308750dcc295f210fd996f89c058fd4242d827672798b796ddf787d33273633b227c6821eb3b98c75c8de0a0f00184e4ec0c7eaeea
|
data/lib/aws-sdk-budgets.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-budgets/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::Budgets
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.35.0'
|
49
52
|
|
50
53
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::Budgets
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
78
|
|
@@ -81,13 +85,28 @@ module Aws::Budgets
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
82
86
|
# credentials.
|
83
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
86
104
|
#
|
87
|
-
# * `Aws::
|
88
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
89
107
|
#
|
90
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
91
110
|
#
|
92
111
|
# When `:credentials` are not configured directly, the following
|
93
112
|
# locations will be searched for credentials:
|
@@ -97,10 +116,10 @@ module Aws::Budgets
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
98
117
|
# * `~/.aws/credentials`
|
99
118
|
# * `~/.aws/config`
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
101
|
-
# very aggressive. Construct and pass an instance of
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
103
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
104
123
|
#
|
105
124
|
# @option options [required, String] :region
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -161,7 +180,7 @@ module Aws::Budgets
|
|
161
180
|
# @option options [String] :endpoint
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
184
|
#
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -715,6 +734,8 @@ module Aws::Budgets
|
|
715
734
|
# * {Types::DescribeBudgetPerformanceHistoryResponse#budget_performance_history #budget_performance_history} => Types::BudgetPerformanceHistory
|
716
735
|
# * {Types::DescribeBudgetPerformanceHistoryResponse#next_token #next_token} => String
|
717
736
|
#
|
737
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
738
|
+
#
|
718
739
|
# @example Request syntax with placeholder values
|
719
740
|
#
|
720
741
|
# resp = client.describe_budget_performance_history({
|
@@ -789,6 +810,8 @@ module Aws::Budgets
|
|
789
810
|
# * {Types::DescribeBudgetsResponse#budgets #budgets} => Array<Types::Budget>
|
790
811
|
# * {Types::DescribeBudgetsResponse#next_token #next_token} => String
|
791
812
|
#
|
813
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
814
|
+
#
|
792
815
|
# @example Request syntax with placeholder values
|
793
816
|
#
|
794
817
|
# resp = client.describe_budgets({
|
@@ -860,6 +883,8 @@ module Aws::Budgets
|
|
860
883
|
# * {Types::DescribeNotificationsForBudgetResponse#notifications #notifications} => Array<Types::Notification>
|
861
884
|
# * {Types::DescribeNotificationsForBudgetResponse#next_token #next_token} => String
|
862
885
|
#
|
886
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
887
|
+
#
|
863
888
|
# @example Request syntax with placeholder values
|
864
889
|
#
|
865
890
|
# resp = client.describe_notifications_for_budget({
|
@@ -911,6 +936,8 @@ module Aws::Budgets
|
|
911
936
|
# * {Types::DescribeSubscribersForNotificationResponse#subscribers #subscribers} => Array<Types::Subscriber>
|
912
937
|
# * {Types::DescribeSubscribersForNotificationResponse#next_token #next_token} => String
|
913
938
|
#
|
939
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
940
|
+
#
|
914
941
|
# @example Request syntax with placeholder values
|
915
942
|
#
|
916
943
|
# resp = client.describe_subscribers_for_notification({
|
@@ -1130,7 +1157,7 @@ module Aws::Budgets
|
|
1130
1157
|
params: params,
|
1131
1158
|
config: config)
|
1132
1159
|
context[:gem_name] = 'aws-sdk-budgets'
|
1133
|
-
context[:gem_version] = '1.
|
1160
|
+
context[:gem_version] = '1.35.0'
|
1134
1161
|
Seahorse::Client::Request.new(handlers, context)
|
1135
1162
|
end
|
1136
1163
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -426,6 +428,12 @@ module Aws::Budgets
|
|
426
428
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
427
429
|
o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
|
428
430
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
431
|
+
o[:pager] = Aws::Pager.new(
|
432
|
+
limit_key: "max_results",
|
433
|
+
tokens: {
|
434
|
+
"next_token" => "next_token"
|
435
|
+
}
|
436
|
+
)
|
429
437
|
end)
|
430
438
|
|
431
439
|
api.add_operation(:describe_budgets, Seahorse::Model::Operation.new.tap do |o|
|
@@ -440,6 +448,12 @@ module Aws::Budgets
|
|
440
448
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
441
449
|
o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
|
442
450
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
451
|
+
o[:pager] = Aws::Pager.new(
|
452
|
+
limit_key: "max_results",
|
453
|
+
tokens: {
|
454
|
+
"next_token" => "next_token"
|
455
|
+
}
|
456
|
+
)
|
443
457
|
end)
|
444
458
|
|
445
459
|
api.add_operation(:describe_notifications_for_budget, Seahorse::Model::Operation.new.tap do |o|
|
@@ -454,6 +468,12 @@ module Aws::Budgets
|
|
454
468
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
455
469
|
o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
|
456
470
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
471
|
+
o[:pager] = Aws::Pager.new(
|
472
|
+
limit_key: "max_results",
|
473
|
+
tokens: {
|
474
|
+
"next_token" => "next_token"
|
475
|
+
}
|
476
|
+
)
|
457
477
|
end)
|
458
478
|
|
459
479
|
api.add_operation(:describe_subscribers_for_notification, Seahorse::Model::Operation.new.tap do |o|
|
@@ -468,6 +488,12 @@ module Aws::Budgets
|
|
468
488
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
469
489
|
o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
|
470
490
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
491
|
+
o[:pager] = Aws::Pager.new(
|
492
|
+
limit_key: "max_results",
|
493
|
+
tokens: {
|
494
|
+
"next_token" => "next_token"
|
495
|
+
}
|
496
|
+
)
|
471
497
|
end)
|
472
498
|
|
473
499
|
api.add_operation(:update_budget, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -17,6 +19,7 @@ module Aws::Budgets
|
|
17
19
|
#
|
18
20
|
class AccessDeniedException < Struct.new(
|
19
21
|
:message)
|
22
|
+
SENSITIVE = []
|
20
23
|
include Aws::Structure
|
21
24
|
end
|
22
25
|
|
@@ -26,7 +29,7 @@ module Aws::Budgets
|
|
26
29
|
#
|
27
30
|
# This is the ARN pattern for a budget:
|
28
31
|
#
|
29
|
-
# `arn:aws:
|
32
|
+
# `arn:aws:budgets::AccountId:budget/budgetName`
|
30
33
|
#
|
31
34
|
# @note When making an API call, you may pass Budget
|
32
35
|
# data as a hash:
|
@@ -155,15 +158,13 @@ module Aws::Budgets
|
|
155
158
|
# The types of costs that are included in this `COST` budget.
|
156
159
|
#
|
157
160
|
# `USAGE`, `RI_UTILIZATION`, `RI_COVERAGE`,
|
158
|
-
# `
|
161
|
+
# `SAVINGS_PLANS_UTILIZATION`, and `SAVINGS_PLANS_COVERAGE` budgets do
|
159
162
|
# not have `CostTypes`.
|
160
163
|
# @return [Types::CostTypes]
|
161
164
|
#
|
162
165
|
# @!attribute [rw] time_unit
|
163
166
|
# The length of time until a budget resets the actual and forecasted
|
164
|
-
# spend.
|
165
|
-
# `RI_COVERAGE`, `Savings_Plans_Utilization`, and
|
166
|
-
# `Savings_Plans_Coverage` budgets.
|
167
|
+
# spend.
|
167
168
|
# @return [String]
|
168
169
|
#
|
169
170
|
# @!attribute [rw] time_period
|
@@ -211,6 +212,7 @@ module Aws::Budgets
|
|
211
212
|
:calculated_spend,
|
212
213
|
:budget_type,
|
213
214
|
:last_updated_time)
|
215
|
+
SENSITIVE = []
|
214
216
|
include Aws::Structure
|
215
217
|
end
|
216
218
|
|
@@ -225,7 +227,8 @@ module Aws::Budgets
|
|
225
227
|
# @!attribute [rw] budget_type
|
226
228
|
# The type of a budget. It must be one of the following types:
|
227
229
|
#
|
228
|
-
# `COST`, `USAGE`, `RI_UTILIZATION`,
|
230
|
+
# `COST`, `USAGE`, `RI_UTILIZATION`, `RI_COVERAGE`,
|
231
|
+
# `SAVINGS_PLANS_UTILIZATION`, or `SAVINGS_PLANS_COVERAGE`.
|
229
232
|
# @return [String]
|
230
233
|
#
|
231
234
|
# @!attribute [rw] cost_filters
|
@@ -254,6 +257,7 @@ module Aws::Budgets
|
|
254
257
|
:cost_types,
|
255
258
|
:time_unit,
|
256
259
|
:budgeted_and_actual_amounts_list)
|
260
|
+
SENSITIVE = []
|
257
261
|
include Aws::Structure
|
258
262
|
end
|
259
263
|
|
@@ -276,13 +280,14 @@ module Aws::Budgets
|
|
276
280
|
:budgeted_amount,
|
277
281
|
:actual_amount,
|
278
282
|
:time_period)
|
283
|
+
SENSITIVE = []
|
279
284
|
include Aws::Structure
|
280
285
|
end
|
281
286
|
|
282
287
|
# The spend objects that are associated with this budget. The
|
283
|
-
# `actualSpend` tracks how much you've used, cost, usage,
|
284
|
-
# and the `forecastedSpend` tracks how much you are
|
285
|
-
#
|
288
|
+
# `actualSpend` tracks how much you've used, cost, usage, RI units, or
|
289
|
+
# Savings Plans units and the `forecastedSpend` tracks how much you are
|
290
|
+
# predicted to spend based on your historical usage profile.
|
286
291
|
#
|
287
292
|
# For example, if it is the 20th of the month and you have spent `50`
|
288
293
|
# dollars on Amazon EC2, your `actualSpend` is `50 USD`, and your
|
@@ -303,25 +308,27 @@ module Aws::Budgets
|
|
303
308
|
# }
|
304
309
|
#
|
305
310
|
# @!attribute [rw] actual_spend
|
306
|
-
# The amount of cost, usage, or
|
311
|
+
# The amount of cost, usage, RI units, or Savings Plans units that you
|
312
|
+
# have used.
|
307
313
|
# @return [Types::Spend]
|
308
314
|
#
|
309
315
|
# @!attribute [rw] forecasted_spend
|
310
|
-
# The amount of cost, usage, or
|
311
|
-
# use.
|
316
|
+
# The amount of cost, usage, RI units, or Savings Plans units that you
|
317
|
+
# are forecasted to use.
|
312
318
|
# @return [Types::Spend]
|
313
319
|
#
|
314
320
|
class CalculatedSpend < Struct.new(
|
315
321
|
:actual_spend,
|
316
322
|
:forecasted_spend)
|
323
|
+
SENSITIVE = []
|
317
324
|
include Aws::Structure
|
318
325
|
end
|
319
326
|
|
320
327
|
# The types of cost that are included in a `COST` budget, such as tax
|
321
328
|
# and subscriptions.
|
322
329
|
#
|
323
|
-
# `USAGE`, `RI_UTILIZATION`,
|
324
|
-
# `CostTypes`.
|
330
|
+
# `USAGE`, `RI_UTILIZATION`, `RI_COVERAGE`, `SAVINGS_PLANS_UTILIZATION`,
|
331
|
+
# and `SAVINGS_PLANS_COVERAGE` budgets do not have `CostTypes`.
|
325
332
|
#
|
326
333
|
# @note When making an API call, you may pass CostTypes
|
327
334
|
# data as a hash:
|
@@ -419,6 +426,7 @@ module Aws::Budgets
|
|
419
426
|
:include_support,
|
420
427
|
:include_discount,
|
421
428
|
:use_amortized)
|
429
|
+
SENSITIVE = []
|
422
430
|
include Aws::Structure
|
423
431
|
end
|
424
432
|
|
@@ -514,6 +522,7 @@ module Aws::Budgets
|
|
514
522
|
:account_id,
|
515
523
|
:budget,
|
516
524
|
:notifications_with_subscribers)
|
525
|
+
SENSITIVE = []
|
517
526
|
include Aws::Structure
|
518
527
|
end
|
519
528
|
|
@@ -569,6 +578,7 @@ module Aws::Budgets
|
|
569
578
|
:budget_name,
|
570
579
|
:notification,
|
571
580
|
:subscribers)
|
581
|
+
SENSITIVE = []
|
572
582
|
include Aws::Structure
|
573
583
|
end
|
574
584
|
|
@@ -621,6 +631,7 @@ module Aws::Budgets
|
|
621
631
|
:budget_name,
|
622
632
|
:notification,
|
623
633
|
:subscriber)
|
634
|
+
SENSITIVE = []
|
624
635
|
include Aws::Structure
|
625
636
|
end
|
626
637
|
|
@@ -636,6 +647,7 @@ module Aws::Budgets
|
|
636
647
|
#
|
637
648
|
class CreationLimitExceededException < Struct.new(
|
638
649
|
:message)
|
650
|
+
SENSITIVE = []
|
639
651
|
include Aws::Structure
|
640
652
|
end
|
641
653
|
|
@@ -661,6 +673,7 @@ module Aws::Budgets
|
|
661
673
|
class DeleteBudgetRequest < Struct.new(
|
662
674
|
:account_id,
|
663
675
|
:budget_name)
|
676
|
+
SENSITIVE = []
|
664
677
|
include Aws::Structure
|
665
678
|
end
|
666
679
|
|
@@ -702,6 +715,7 @@ module Aws::Budgets
|
|
702
715
|
:account_id,
|
703
716
|
:budget_name,
|
704
717
|
:notification)
|
718
|
+
SENSITIVE = []
|
705
719
|
include Aws::Structure
|
706
720
|
end
|
707
721
|
|
@@ -752,6 +766,7 @@ module Aws::Budgets
|
|
752
766
|
:budget_name,
|
753
767
|
:notification,
|
754
768
|
:subscriber)
|
769
|
+
SENSITIVE = []
|
755
770
|
include Aws::Structure
|
756
771
|
end
|
757
772
|
|
@@ -802,6 +817,7 @@ module Aws::Budgets
|
|
802
817
|
:time_period,
|
803
818
|
:max_results,
|
804
819
|
:next_token)
|
820
|
+
SENSITIVE = []
|
805
821
|
include Aws::Structure
|
806
822
|
end
|
807
823
|
|
@@ -822,6 +838,7 @@ module Aws::Budgets
|
|
822
838
|
class DescribeBudgetPerformanceHistoryResponse < Struct.new(
|
823
839
|
:budget_performance_history,
|
824
840
|
:next_token)
|
841
|
+
SENSITIVE = []
|
825
842
|
include Aws::Structure
|
826
843
|
end
|
827
844
|
|
@@ -847,6 +864,7 @@ module Aws::Budgets
|
|
847
864
|
class DescribeBudgetRequest < Struct.new(
|
848
865
|
:account_id,
|
849
866
|
:budget_name)
|
867
|
+
SENSITIVE = []
|
850
868
|
include Aws::Structure
|
851
869
|
end
|
852
870
|
|
@@ -858,6 +876,7 @@ module Aws::Budgets
|
|
858
876
|
#
|
859
877
|
class DescribeBudgetResponse < Struct.new(
|
860
878
|
:budget)
|
879
|
+
SENSITIVE = []
|
861
880
|
include Aws::Structure
|
862
881
|
end
|
863
882
|
|
@@ -891,6 +910,7 @@ module Aws::Budgets
|
|
891
910
|
:account_id,
|
892
911
|
:max_results,
|
893
912
|
:next_token)
|
913
|
+
SENSITIVE = []
|
894
914
|
include Aws::Structure
|
895
915
|
end
|
896
916
|
|
@@ -908,6 +928,7 @@ module Aws::Budgets
|
|
908
928
|
class DescribeBudgetsResponse < Struct.new(
|
909
929
|
:budgets,
|
910
930
|
:next_token)
|
931
|
+
SENSITIVE = []
|
911
932
|
include Aws::Structure
|
912
933
|
end
|
913
934
|
|
@@ -947,6 +968,7 @@ module Aws::Budgets
|
|
947
968
|
:budget_name,
|
948
969
|
:max_results,
|
949
970
|
:next_token)
|
971
|
+
SENSITIVE = []
|
950
972
|
include Aws::Structure
|
951
973
|
end
|
952
974
|
|
@@ -964,6 +986,7 @@ module Aws::Budgets
|
|
964
986
|
class DescribeNotificationsForBudgetResponse < Struct.new(
|
965
987
|
:notifications,
|
966
988
|
:next_token)
|
989
|
+
SENSITIVE = []
|
967
990
|
include Aws::Structure
|
968
991
|
end
|
969
992
|
|
@@ -1015,6 +1038,7 @@ module Aws::Budgets
|
|
1015
1038
|
:notification,
|
1016
1039
|
:max_results,
|
1017
1040
|
:next_token)
|
1041
|
+
SENSITIVE = []
|
1018
1042
|
include Aws::Structure
|
1019
1043
|
end
|
1020
1044
|
|
@@ -1032,6 +1056,7 @@ module Aws::Budgets
|
|
1032
1056
|
class DescribeSubscribersForNotificationResponse < Struct.new(
|
1033
1057
|
:subscribers,
|
1034
1058
|
:next_token)
|
1059
|
+
SENSITIVE = []
|
1035
1060
|
include Aws::Structure
|
1036
1061
|
end
|
1037
1062
|
|
@@ -1044,6 +1069,7 @@ module Aws::Budgets
|
|
1044
1069
|
#
|
1045
1070
|
class DuplicateRecordException < Struct.new(
|
1046
1071
|
:message)
|
1072
|
+
SENSITIVE = []
|
1047
1073
|
include Aws::Structure
|
1048
1074
|
end
|
1049
1075
|
|
@@ -1055,6 +1081,7 @@ module Aws::Budgets
|
|
1055
1081
|
#
|
1056
1082
|
class ExpiredNextTokenException < Struct.new(
|
1057
1083
|
:message)
|
1084
|
+
SENSITIVE = []
|
1058
1085
|
include Aws::Structure
|
1059
1086
|
end
|
1060
1087
|
|
@@ -1067,6 +1094,7 @@ module Aws::Budgets
|
|
1067
1094
|
#
|
1068
1095
|
class InternalErrorException < Struct.new(
|
1069
1096
|
:message)
|
1097
|
+
SENSITIVE = []
|
1070
1098
|
include Aws::Structure
|
1071
1099
|
end
|
1072
1100
|
|
@@ -1078,6 +1106,7 @@ module Aws::Budgets
|
|
1078
1106
|
#
|
1079
1107
|
class InvalidNextTokenException < Struct.new(
|
1080
1108
|
:message)
|
1109
|
+
SENSITIVE = []
|
1081
1110
|
include Aws::Structure
|
1082
1111
|
end
|
1083
1112
|
|
@@ -1090,6 +1119,7 @@ module Aws::Budgets
|
|
1090
1119
|
#
|
1091
1120
|
class InvalidParameterException < Struct.new(
|
1092
1121
|
:message)
|
1122
|
+
SENSITIVE = []
|
1093
1123
|
include Aws::Structure
|
1094
1124
|
end
|
1095
1125
|
|
@@ -1101,11 +1131,12 @@ module Aws::Budgets
|
|
1101
1131
|
#
|
1102
1132
|
class NotFoundException < Struct.new(
|
1103
1133
|
:message)
|
1134
|
+
SENSITIVE = []
|
1104
1135
|
include Aws::Structure
|
1105
1136
|
end
|
1106
1137
|
|
1107
1138
|
# A notification that is associated with a budget. A budget can have up
|
1108
|
-
# to
|
1139
|
+
# to ten notifications.
|
1109
1140
|
#
|
1110
1141
|
# Each notification must have at least one subscriber. A notification
|
1111
1142
|
# can have one SNS subscriber and up to 10 email subscribers, for a
|
@@ -1145,7 +1176,9 @@ module Aws::Budgets
|
|
1145
1176
|
#
|
1146
1177
|
# @!attribute [rw] threshold
|
1147
1178
|
# The threshold that is associated with a notification. Thresholds are
|
1148
|
-
# always a percentage
|
1179
|
+
# always a percentage, and many customers find value being alerted
|
1180
|
+
# between 50% - 200% of the budgeted amount. The maximum limit for
|
1181
|
+
# your threshold is 1,000,000% above the budgeted amount.
|
1149
1182
|
# @return [Float]
|
1150
1183
|
#
|
1151
1184
|
# @!attribute [rw] threshold_type
|
@@ -1170,6 +1203,7 @@ module Aws::Budgets
|
|
1170
1203
|
:threshold,
|
1171
1204
|
:threshold_type,
|
1172
1205
|
:notification_state)
|
1206
|
+
SENSITIVE = []
|
1173
1207
|
include Aws::Structure
|
1174
1208
|
end
|
1175
1209
|
|
@@ -1207,6 +1241,7 @@ module Aws::Budgets
|
|
1207
1241
|
class NotificationWithSubscribers < Struct.new(
|
1208
1242
|
:notification,
|
1209
1243
|
:subscribers)
|
1244
|
+
SENSITIVE = []
|
1210
1245
|
include Aws::Structure
|
1211
1246
|
end
|
1212
1247
|
|
@@ -1240,6 +1275,7 @@ module Aws::Budgets
|
|
1240
1275
|
class Spend < Struct.new(
|
1241
1276
|
:amount,
|
1242
1277
|
:unit)
|
1278
|
+
SENSITIVE = []
|
1243
1279
|
include Aws::Structure
|
1244
1280
|
end
|
1245
1281
|
|
@@ -1275,6 +1311,7 @@ module Aws::Budgets
|
|
1275
1311
|
class Subscriber < Struct.new(
|
1276
1312
|
:subscription_type,
|
1277
1313
|
:address)
|
1314
|
+
SENSITIVE = [:address]
|
1278
1315
|
include Aws::Structure
|
1279
1316
|
end
|
1280
1317
|
|
@@ -1316,6 +1353,7 @@ module Aws::Budgets
|
|
1316
1353
|
class TimePeriod < Struct.new(
|
1317
1354
|
:start,
|
1318
1355
|
:end)
|
1356
|
+
SENSITIVE = []
|
1319
1357
|
include Aws::Structure
|
1320
1358
|
end
|
1321
1359
|
|
@@ -1386,6 +1424,7 @@ module Aws::Budgets
|
|
1386
1424
|
class UpdateBudgetRequest < Struct.new(
|
1387
1425
|
:account_id,
|
1388
1426
|
:new_budget)
|
1427
|
+
SENSITIVE = []
|
1389
1428
|
include Aws::Structure
|
1390
1429
|
end
|
1391
1430
|
|
@@ -1439,6 +1478,7 @@ module Aws::Budgets
|
|
1439
1478
|
:budget_name,
|
1440
1479
|
:old_notification,
|
1441
1480
|
:new_notification)
|
1481
|
+
SENSITIVE = []
|
1442
1482
|
include Aws::Structure
|
1443
1483
|
end
|
1444
1484
|
|
@@ -1500,6 +1540,7 @@ module Aws::Budgets
|
|
1500
1540
|
:notification,
|
1501
1541
|
:old_subscriber,
|
1502
1542
|
:new_subscriber)
|
1543
|
+
SENSITIVE = []
|
1503
1544
|
include Aws::Structure
|
1504
1545
|
end
|
1505
1546
|
|
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.35.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: 2020-
|
11
|
+
date: 2020-09-30 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.109.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.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|