aws-sdk-budgets 1.33.0 → 1.34.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd60fe704978ef0afd8d5edad9da172c88c9e4b350bc21be311b3d7eea8eaecc
4
- data.tar.gz: 065c331180bddecbfadf81a6b86c0e0736e0a5cab7bf0f80d59a99db8683b103
3
+ metadata.gz: 8cefc6e83358dcd99577982437b10e98a32d70f50d04044f5581c32d33677793
4
+ data.tar.gz: 485970fc14e907448b8ea8ab6835a80d44bf28254edab0e59a69d214f920e78e
5
5
  SHA512:
6
- metadata.gz: '068f1a03da55745cd20b4d29141bf71ba760bd9fadd5ce1186c63a0626da8af9c13bb0c388ba7b87099f2b9256558a950392a938d4de97f582efe02bfcdc783f'
7
- data.tar.gz: 66f307472762df0248d14789b97f53e749f2442bc333b55d56685eda9d5b6fcb4d83483558acb00eec9999af0868d847181d89a0189cc95ec8e986d93e3fd60c
6
+ metadata.gz: 750452eb1c5c7114d9ea9dfcdcf3b0ce1f316e90f1d9360f37c876966bc5738ef995edc43e3e3a42bc626cf52f6888ea3dd054f88998fa2897ca5078d1cdd850
7
+ data.tar.gz: 01eeba06addc94967ddb0c93b5fd3f9d35f2f1bb0652f88e71c30ba21ef8c6d1935eceabe48db4540c9dddc0c82233435e04f8755d27201f0843b017b151d26b
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-budgets/customizations'
47
48
  # @!group service
48
49
  module Aws::Budgets
49
50
 
50
- GEM_VERSION = '1.33.0'
51
+ GEM_VERSION = '1.34.0'
51
52
 
52
53
  end
@@ -734,6 +734,8 @@ module Aws::Budgets
734
734
  # * {Types::DescribeBudgetPerformanceHistoryResponse#budget_performance_history #budget_performance_history} => Types::BudgetPerformanceHistory
735
735
  # * {Types::DescribeBudgetPerformanceHistoryResponse#next_token #next_token} => String
736
736
  #
737
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
738
+ #
737
739
  # @example Request syntax with placeholder values
738
740
  #
739
741
  # resp = client.describe_budget_performance_history({
@@ -808,6 +810,8 @@ module Aws::Budgets
808
810
  # * {Types::DescribeBudgetsResponse#budgets #budgets} => Array<Types::Budget>
809
811
  # * {Types::DescribeBudgetsResponse#next_token #next_token} => String
810
812
  #
813
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
814
+ #
811
815
  # @example Request syntax with placeholder values
812
816
  #
813
817
  # resp = client.describe_budgets({
@@ -879,6 +883,8 @@ module Aws::Budgets
879
883
  # * {Types::DescribeNotificationsForBudgetResponse#notifications #notifications} => Array<Types::Notification>
880
884
  # * {Types::DescribeNotificationsForBudgetResponse#next_token #next_token} => String
881
885
  #
886
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
887
+ #
882
888
  # @example Request syntax with placeholder values
883
889
  #
884
890
  # resp = client.describe_notifications_for_budget({
@@ -930,6 +936,8 @@ module Aws::Budgets
930
936
  # * {Types::DescribeSubscribersForNotificationResponse#subscribers #subscribers} => Array<Types::Subscriber>
931
937
  # * {Types::DescribeSubscribersForNotificationResponse#next_token #next_token} => String
932
938
  #
939
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
940
+ #
933
941
  # @example Request syntax with placeholder values
934
942
  #
935
943
  # resp = client.describe_subscribers_for_notification({
@@ -1149,7 +1157,7 @@ module Aws::Budgets
1149
1157
  params: params,
1150
1158
  config: config)
1151
1159
  context[:gem_name] = 'aws-sdk-budgets'
1152
- context[:gem_version] = '1.33.0'
1160
+ context[:gem_version] = '1.34.0'
1153
1161
  Seahorse::Client::Request.new(handlers, context)
1154
1162
  end
1155
1163
 
@@ -428,6 +428,12 @@ module Aws::Budgets
428
428
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
429
429
  o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
430
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
+ )
431
437
  end)
432
438
 
433
439
  api.add_operation(:describe_budgets, Seahorse::Model::Operation.new.tap do |o|
@@ -442,6 +448,12 @@ module Aws::Budgets
442
448
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
443
449
  o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
444
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
+ )
445
457
  end)
446
458
 
447
459
  api.add_operation(:describe_notifications_for_budget, Seahorse::Model::Operation.new.tap do |o|
@@ -456,6 +468,12 @@ module Aws::Budgets
456
468
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
457
469
  o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
458
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
+ )
459
477
  end)
460
478
 
461
479
  api.add_operation(:describe_subscribers_for_notification, Seahorse::Model::Operation.new.tap do |o|
@@ -470,6 +488,12 @@ module Aws::Budgets
470
488
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
471
489
  o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
472
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
+ )
473
497
  end)
474
498
 
475
499
  api.add_operation(:update_budget, Seahorse::Model::Operation.new.tap do |o|
@@ -29,7 +29,7 @@ module Aws::Budgets
29
29
  #
30
30
  # This is the ARN pattern for a budget:
31
31
  #
32
- # `arn:aws:budgetservice::AccountId:budget/budgetName`
32
+ # `arn:aws:budgets::AccountId:budget/budgetName`
33
33
  #
34
34
  # @note When making an API call, you may pass Budget
35
35
  # data as a hash:
@@ -158,15 +158,13 @@ module Aws::Budgets
158
158
  # The types of costs that are included in this `COST` budget.
159
159
  #
160
160
  # `USAGE`, `RI_UTILIZATION`, `RI_COVERAGE`,
161
- # `Savings_Plans_Utilization`, and `Savings_Plans_Coverage` budgets do
161
+ # `SAVINGS_PLANS_UTILIZATION`, and `SAVINGS_PLANS_COVERAGE` budgets do
162
162
  # not have `CostTypes`.
163
163
  # @return [Types::CostTypes]
164
164
  #
165
165
  # @!attribute [rw] time_unit
166
166
  # The length of time until a budget resets the actual and forecasted
167
- # spend. `DAILY` is available only for `RI_UTILIZATION`,
168
- # `RI_COVERAGE`, `Savings_Plans_Utilization`, and
169
- # `Savings_Plans_Coverage` budgets.
167
+ # spend.
170
168
  # @return [String]
171
169
  #
172
170
  # @!attribute [rw] time_period
@@ -229,7 +227,8 @@ module Aws::Budgets
229
227
  # @!attribute [rw] budget_type
230
228
  # The type of a budget. It must be one of the following types:
231
229
  #
232
- # `COST`, `USAGE`, `RI_UTILIZATION`, or `RI_COVERAGE`.
230
+ # `COST`, `USAGE`, `RI_UTILIZATION`, `RI_COVERAGE`,
231
+ # `SAVINGS_PLANS_UTILIZATION`, or `SAVINGS_PLANS_COVERAGE`.
233
232
  # @return [String]
234
233
  #
235
234
  # @!attribute [rw] cost_filters
@@ -286,9 +285,9 @@ module Aws::Budgets
286
285
  end
287
286
 
288
287
  # The spend objects that are associated with this budget. The
289
- # `actualSpend` tracks how much you've used, cost, usage, or RI units,
290
- # and the `forecastedSpend` tracks how much you are predicted to spend
291
- # if your current usage remains steady.
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.
292
291
  #
293
292
  # For example, if it is the 20th of the month and you have spent `50`
294
293
  # dollars on Amazon EC2, your `actualSpend` is `50 USD`, and your
@@ -309,12 +308,13 @@ module Aws::Budgets
309
308
  # }
310
309
  #
311
310
  # @!attribute [rw] actual_spend
312
- # The amount of cost, usage, or RI units that you have used.
311
+ # The amount of cost, usage, RI units, or Savings Plans units that you
312
+ # have used.
313
313
  # @return [Types::Spend]
314
314
  #
315
315
  # @!attribute [rw] forecasted_spend
316
- # The amount of cost, usage, or RI units that you are forecasted to
317
- # use.
316
+ # The amount of cost, usage, RI units, or Savings Plans units that you
317
+ # are forecasted to use.
318
318
  # @return [Types::Spend]
319
319
  #
320
320
  class CalculatedSpend < Struct.new(
@@ -327,8 +327,8 @@ module Aws::Budgets
327
327
  # The types of cost that are included in a `COST` budget, such as tax
328
328
  # and subscriptions.
329
329
  #
330
- # `USAGE`, `RI_UTILIZATION`, and `RI_COVERAGE` budgets do not have
331
- # `CostTypes`.
330
+ # `USAGE`, `RI_UTILIZATION`, `RI_COVERAGE`, `SAVINGS_PLANS_UTILIZATION`,
331
+ # and `SAVINGS_PLANS_COVERAGE` budgets do not have `CostTypes`.
332
332
  #
333
333
  # @note When making an API call, you may pass CostTypes
334
334
  # data as a hash:
@@ -1136,7 +1136,7 @@ module Aws::Budgets
1136
1136
  end
1137
1137
 
1138
1138
  # A notification that is associated with a budget. A budget can have up
1139
- # to five notifications.
1139
+ # to ten notifications.
1140
1140
  #
1141
1141
  # Each notification must have at least one subscriber. A notification
1142
1142
  # can have one SNS subscriber and up to 10 email subscribers, for a
@@ -1176,7 +1176,9 @@ module Aws::Budgets
1176
1176
  #
1177
1177
  # @!attribute [rw] threshold
1178
1178
  # The threshold that is associated with a notification. Thresholds are
1179
- # 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.
1180
1182
  # @return [Float]
1181
1183
  #
1182
1184
  # @!attribute [rw] threshold_type
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.33.0
4
+ version: 1.34.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-08-25 00:00:00.000000000 Z
11
+ date: 2020-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core