aws-sdk-budgets 1.2.0 → 1.3.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
  SHA1:
3
- metadata.gz: fc801963d3017f0ba358d6405b3ba4fed0a32002
4
- data.tar.gz: b340c77b8808755415b8b9c3696f3bfe23ef665b
3
+ metadata.gz: 0722e9c9d1e148bf210db23d0eee81c0c2ac38b6
4
+ data.tar.gz: 88287a2fa3fd1a0e65ea1b68a14482df48d34b30
5
5
  SHA512:
6
- metadata.gz: 71a4bbef086e99a0ac09449d17143e52643d75ddcdf5c9ef3718c52b223355c70efdd2e8727a43d7c78a9e78b55be777237157f7cb9b1f6243f24b9a0ba7cca1
7
- data.tar.gz: 720c16976151717a423d4e52a1b31d17afc24a0505db1a80c956fc27a75894cfbdca0285ebf2176d4c15d288c05c0c488d29ba8d40bcf5b69506073bdb950d9e
6
+ metadata.gz: afaa69f1b937115bece5e1292d05f275324f493aeb80f45b2b36687c227c0b4de49330f040616112236ae5a7615b375feb6fc0cc77efd6279d0a7751a11fd457
7
+ data.tar.gz: 6fed9226b8b4fda1516f00982c3551fa4679801fb0b136986dd01ef5d9e6923b1107c689319ce3f46fe73557994057d058a6825d4ff0a80b6783006750a55e6e
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-budgets/customizations'
42
42
  # @service
43
43
  module Aws::Budgets
44
44
 
45
- GEM_VERSION = '1.2.0'
45
+ GEM_VERSION = '1.3.0'
46
46
 
47
47
  end
@@ -181,10 +181,16 @@ module Aws::Budgets
181
181
  # cost_filters: {
182
182
  # "GenericString" => ["GenericString"],
183
183
  # },
184
- # cost_types: { # required
185
- # include_tax: false, # required
186
- # include_subscription: false, # required
187
- # use_blended: false, # required
184
+ # cost_types: {
185
+ # include_tax: false,
186
+ # include_subscription: false,
187
+ # use_blended: false,
188
+ # include_refund: false,
189
+ # include_credit: false,
190
+ # include_upfront: false,
191
+ # include_recurring: false,
192
+ # include_other_subscription: false,
193
+ # include_support: false,
188
194
  # },
189
195
  # time_unit: "DAILY", # required, accepts DAILY, MONTHLY, QUARTERLY, ANNUALLY
190
196
  # time_period: { # required
@@ -214,7 +220,7 @@ module Aws::Budgets
214
220
  # subscribers: [ # required
215
221
  # {
216
222
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
217
- # address: "GenericString", # required
223
+ # address: "SubscriberAddress", # required
218
224
  # },
219
225
  # ],
220
226
  # },
@@ -260,7 +266,7 @@ module Aws::Budgets
260
266
  # subscribers: [ # required
261
267
  # {
262
268
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
263
- # address: "GenericString", # required
269
+ # address: "SubscriberAddress", # required
264
270
  # },
265
271
  # ],
266
272
  # })
@@ -304,7 +310,7 @@ module Aws::Budgets
304
310
  # },
305
311
  # subscriber: { # required
306
312
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
307
- # address: "GenericString", # required
313
+ # address: "SubscriberAddress", # required
308
314
  # },
309
315
  # })
310
316
  #
@@ -407,7 +413,7 @@ module Aws::Budgets
407
413
  # },
408
414
  # subscriber: { # required
409
415
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
410
- # address: "GenericString", # required
416
+ # address: "SubscriberAddress", # required
411
417
  # },
412
418
  # })
413
419
  #
@@ -449,6 +455,12 @@ module Aws::Budgets
449
455
  # resp.budget.cost_types.include_tax #=> Boolean
450
456
  # resp.budget.cost_types.include_subscription #=> Boolean
451
457
  # resp.budget.cost_types.use_blended #=> Boolean
458
+ # resp.budget.cost_types.include_refund #=> Boolean
459
+ # resp.budget.cost_types.include_credit #=> Boolean
460
+ # resp.budget.cost_types.include_upfront #=> Boolean
461
+ # resp.budget.cost_types.include_recurring #=> Boolean
462
+ # resp.budget.cost_types.include_other_subscription #=> Boolean
463
+ # resp.budget.cost_types.include_support #=> Boolean
452
464
  # resp.budget.time_unit #=> String, one of "DAILY", "MONTHLY", "QUARTERLY", "ANNUALLY"
453
465
  # resp.budget.time_period.start #=> Time
454
466
  # resp.budget.time_period.end #=> Time
@@ -502,6 +514,12 @@ module Aws::Budgets
502
514
  # resp.budgets[0].cost_types.include_tax #=> Boolean
503
515
  # resp.budgets[0].cost_types.include_subscription #=> Boolean
504
516
  # resp.budgets[0].cost_types.use_blended #=> Boolean
517
+ # resp.budgets[0].cost_types.include_refund #=> Boolean
518
+ # resp.budgets[0].cost_types.include_credit #=> Boolean
519
+ # resp.budgets[0].cost_types.include_upfront #=> Boolean
520
+ # resp.budgets[0].cost_types.include_recurring #=> Boolean
521
+ # resp.budgets[0].cost_types.include_other_subscription #=> Boolean
522
+ # resp.budgets[0].cost_types.include_support #=> Boolean
505
523
  # resp.budgets[0].time_unit #=> String, one of "DAILY", "MONTHLY", "QUARTERLY", "ANNUALLY"
506
524
  # resp.budgets[0].time_period.start #=> Time
507
525
  # resp.budgets[0].time_period.end #=> Time
@@ -642,10 +660,16 @@ module Aws::Budgets
642
660
  # cost_filters: {
643
661
  # "GenericString" => ["GenericString"],
644
662
  # },
645
- # cost_types: { # required
646
- # include_tax: false, # required
647
- # include_subscription: false, # required
648
- # use_blended: false, # required
663
+ # cost_types: {
664
+ # include_tax: false,
665
+ # include_subscription: false,
666
+ # use_blended: false,
667
+ # include_refund: false,
668
+ # include_credit: false,
669
+ # include_upfront: false,
670
+ # include_recurring: false,
671
+ # include_other_subscription: false,
672
+ # include_support: false,
649
673
  # },
650
674
  # time_unit: "DAILY", # required, accepts DAILY, MONTHLY, QUARTERLY, ANNUALLY
651
675
  # time_period: { # required
@@ -754,11 +778,11 @@ module Aws::Budgets
754
778
  # },
755
779
  # old_subscriber: { # required
756
780
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
757
- # address: "GenericString", # required
781
+ # address: "SubscriberAddress", # required
758
782
  # },
759
783
  # new_subscriber: { # required
760
784
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
761
- # address: "GenericString", # required
785
+ # address: "SubscriberAddress", # required
762
786
  # },
763
787
  # })
764
788
  #
@@ -782,7 +806,7 @@ module Aws::Budgets
782
806
  params: params,
783
807
  config: config)
784
808
  context[:gem_name] = 'aws-sdk-budgets'
785
- context[:gem_version] = '1.2.0'
809
+ context[:gem_version] = '1.3.0'
786
810
  Seahorse::Client::Request.new(handlers, context)
787
811
  end
788
812
 
@@ -44,7 +44,6 @@ module Aws::Budgets
44
44
  DimensionValues = Shapes::ListShape.new(name: 'DimensionValues')
45
45
  DuplicateRecordException = Shapes::StructureShape.new(name: 'DuplicateRecordException')
46
46
  ExpiredNextTokenException = Shapes::StructureShape.new(name: 'ExpiredNextTokenException')
47
- GenericBoolean = Shapes::BooleanShape.new(name: 'GenericBoolean')
48
47
  GenericString = Shapes::StringShape.new(name: 'GenericString')
49
48
  GenericTimestamp = Shapes::TimestampShape.new(name: 'GenericTimestamp')
50
49
  InternalErrorException = Shapes::StructureShape.new(name: 'InternalErrorException')
@@ -58,9 +57,11 @@ module Aws::Budgets
58
57
  NotificationWithSubscribers = Shapes::StructureShape.new(name: 'NotificationWithSubscribers')
59
58
  NotificationWithSubscribersList = Shapes::ListShape.new(name: 'NotificationWithSubscribersList')
60
59
  Notifications = Shapes::ListShape.new(name: 'Notifications')
60
+ NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
61
61
  NumericValue = Shapes::StringShape.new(name: 'NumericValue')
62
62
  Spend = Shapes::StructureShape.new(name: 'Spend')
63
63
  Subscriber = Shapes::StructureShape.new(name: 'Subscriber')
64
+ SubscriberAddress = Shapes::StringShape.new(name: 'SubscriberAddress')
64
65
  Subscribers = Shapes::ListShape.new(name: 'Subscribers')
65
66
  SubscriptionType = Shapes::StringShape.new(name: 'SubscriptionType')
66
67
  ThresholdType = Shapes::StringShape.new(name: 'ThresholdType')
@@ -78,7 +79,7 @@ module Aws::Budgets
78
79
  Budget.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
79
80
  Budget.add_member(:budget_limit, Shapes::ShapeRef.new(shape: Spend, required: true, location_name: "BudgetLimit"))
80
81
  Budget.add_member(:cost_filters, Shapes::ShapeRef.new(shape: CostFilters, location_name: "CostFilters"))
81
- Budget.add_member(:cost_types, Shapes::ShapeRef.new(shape: CostTypes, required: true, location_name: "CostTypes"))
82
+ Budget.add_member(:cost_types, Shapes::ShapeRef.new(shape: CostTypes, location_name: "CostTypes"))
82
83
  Budget.add_member(:time_unit, Shapes::ShapeRef.new(shape: TimeUnit, required: true, location_name: "TimeUnit"))
83
84
  Budget.add_member(:time_period, Shapes::ShapeRef.new(shape: TimePeriod, required: true, location_name: "TimePeriod"))
84
85
  Budget.add_member(:calculated_spend, Shapes::ShapeRef.new(shape: CalculatedSpend, location_name: "CalculatedSpend"))
@@ -94,9 +95,15 @@ module Aws::Budgets
94
95
  CostFilters.key = Shapes::ShapeRef.new(shape: GenericString)
95
96
  CostFilters.value = Shapes::ShapeRef.new(shape: DimensionValues)
96
97
 
97
- CostTypes.add_member(:include_tax, Shapes::ShapeRef.new(shape: GenericBoolean, required: true, location_name: "IncludeTax"))
98
- CostTypes.add_member(:include_subscription, Shapes::ShapeRef.new(shape: GenericBoolean, required: true, location_name: "IncludeSubscription"))
99
- CostTypes.add_member(:use_blended, Shapes::ShapeRef.new(shape: GenericBoolean, required: true, location_name: "UseBlended"))
98
+ CostTypes.add_member(:include_tax, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "IncludeTax"))
99
+ CostTypes.add_member(:include_subscription, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "IncludeSubscription"))
100
+ CostTypes.add_member(:use_blended, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "UseBlended"))
101
+ CostTypes.add_member(:include_refund, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "IncludeRefund"))
102
+ CostTypes.add_member(:include_credit, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "IncludeCredit"))
103
+ CostTypes.add_member(:include_upfront, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "IncludeUpfront"))
104
+ CostTypes.add_member(:include_recurring, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "IncludeRecurring"))
105
+ CostTypes.add_member(:include_other_subscription, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "IncludeOtherSubscription"))
106
+ CostTypes.add_member(:include_support, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "IncludeSupport"))
100
107
  CostTypes.struct_class = Types::CostTypes
101
108
 
102
109
  CreateBudgetRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
@@ -201,7 +208,7 @@ module Aws::Budgets
201
208
  Spend.struct_class = Types::Spend
202
209
 
203
210
  Subscriber.add_member(:subscription_type, Shapes::ShapeRef.new(shape: SubscriptionType, required: true, location_name: "SubscriptionType"))
204
- Subscriber.add_member(:address, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Address"))
211
+ Subscriber.add_member(:address, Shapes::ShapeRef.new(shape: SubscriberAddress, required: true, location_name: "Address"))
205
212
  Subscriber.struct_class = Types::Subscriber
206
213
 
207
214
  Subscribers.member = Shapes::ShapeRef.new(shape: Subscriber)
@@ -22,10 +22,16 @@ module Aws::Budgets
22
22
  # cost_filters: {
23
23
  # "GenericString" => ["GenericString"],
24
24
  # },
25
- # cost_types: { # required
26
- # include_tax: false, # required
27
- # include_subscription: false, # required
28
- # use_blended: false, # required
25
+ # cost_types: {
26
+ # include_tax: false,
27
+ # include_subscription: false,
28
+ # use_blended: false,
29
+ # include_refund: false,
30
+ # include_credit: false,
31
+ # include_upfront: false,
32
+ # include_recurring: false,
33
+ # include_other_subscription: false,
34
+ # include_support: false,
29
35
  # },
30
36
  # time_unit: "DAILY", # required, accepts DAILY, MONTHLY, QUARTERLY, ANNUALLY
31
37
  # time_period: { # required
@@ -129,27 +135,65 @@ module Aws::Budgets
129
135
  # data as a hash:
130
136
  #
131
137
  # {
132
- # include_tax: false, # required
133
- # include_subscription: false, # required
134
- # use_blended: false, # required
138
+ # include_tax: false,
139
+ # include_subscription: false,
140
+ # use_blended: false,
141
+ # include_refund: false,
142
+ # include_credit: false,
143
+ # include_upfront: false,
144
+ # include_recurring: false,
145
+ # include_other_subscription: false,
146
+ # include_support: false,
135
147
  # }
136
148
  #
137
149
  # @!attribute [rw] include_tax
138
- # A generic boolean value.
150
+ # A boolean value whether to include tax in the cost budget.
139
151
  # @return [Boolean]
140
152
  #
141
153
  # @!attribute [rw] include_subscription
142
- # A generic boolean value.
154
+ # A boolean value whether to include subscriptions in the cost budget.
143
155
  # @return [Boolean]
144
156
  #
145
157
  # @!attribute [rw] use_blended
146
- # A generic boolean value.
158
+ # A boolean value whether to use blended costs in the cost budget.
159
+ # @return [Boolean]
160
+ #
161
+ # @!attribute [rw] include_refund
162
+ # A boolean value whether to include refunds in the cost budget.
163
+ # @return [Boolean]
164
+ #
165
+ # @!attribute [rw] include_credit
166
+ # A boolean value whether to include credits in the cost budget.
167
+ # @return [Boolean]
168
+ #
169
+ # @!attribute [rw] include_upfront
170
+ # A boolean value whether to include upfront costs in the cost budget.
171
+ # @return [Boolean]
172
+ #
173
+ # @!attribute [rw] include_recurring
174
+ # A boolean value whether to include recurring costs in the cost
175
+ # budget.
176
+ # @return [Boolean]
177
+ #
178
+ # @!attribute [rw] include_other_subscription
179
+ # A boolean value whether to include other subscription costs in the
180
+ # cost budget.
181
+ # @return [Boolean]
182
+ #
183
+ # @!attribute [rw] include_support
184
+ # A boolean value whether to include support costs in the cost budget.
147
185
  # @return [Boolean]
148
186
  #
149
187
  class CostTypes < Struct.new(
150
188
  :include_tax,
151
189
  :include_subscription,
152
- :use_blended)
190
+ :use_blended,
191
+ :include_refund,
192
+ :include_credit,
193
+ :include_upfront,
194
+ :include_recurring,
195
+ :include_other_subscription,
196
+ :include_support)
153
197
  include Aws::Structure
154
198
  end
155
199
 
@@ -169,10 +213,16 @@ module Aws::Budgets
169
213
  # cost_filters: {
170
214
  # "GenericString" => ["GenericString"],
171
215
  # },
172
- # cost_types: { # required
173
- # include_tax: false, # required
174
- # include_subscription: false, # required
175
- # use_blended: false, # required
216
+ # cost_types: {
217
+ # include_tax: false,
218
+ # include_subscription: false,
219
+ # use_blended: false,
220
+ # include_refund: false,
221
+ # include_credit: false,
222
+ # include_upfront: false,
223
+ # include_recurring: false,
224
+ # include_other_subscription: false,
225
+ # include_support: false,
176
226
  # },
177
227
  # time_unit: "DAILY", # required, accepts DAILY, MONTHLY, QUARTERLY, ANNUALLY
178
228
  # time_period: { # required
@@ -202,7 +252,7 @@ module Aws::Budgets
202
252
  # subscribers: [ # required
203
253
  # {
204
254
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
205
- # address: "GenericString", # required
255
+ # address: "SubscriberAddress", # required
206
256
  # },
207
257
  # ],
208
258
  # },
@@ -249,7 +299,7 @@ module Aws::Budgets
249
299
  # subscribers: [ # required
250
300
  # {
251
301
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
252
- # address: "GenericString", # required
302
+ # address: "SubscriberAddress", # required
253
303
  # },
254
304
  # ],
255
305
  # }
@@ -300,7 +350,7 @@ module Aws::Budgets
300
350
  # },
301
351
  # subscriber: { # required
302
352
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
303
- # address: "GenericString", # required
353
+ # address: "SubscriberAddress", # required
304
354
  # },
305
355
  # }
306
356
  #
@@ -421,7 +471,7 @@ module Aws::Budgets
421
471
  # },
422
472
  # subscriber: { # required
423
473
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
424
- # address: "GenericString", # required
474
+ # address: "SubscriberAddress", # required
425
475
  # },
426
476
  # }
427
477
  #
@@ -715,7 +765,7 @@ module Aws::Budgets
715
765
  # subscribers: [ # required
716
766
  # {
717
767
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
718
- # address: "GenericString", # required
768
+ # address: "SubscriberAddress", # required
719
769
  # },
720
770
  # ],
721
771
  # }
@@ -769,7 +819,7 @@ module Aws::Budgets
769
819
  #
770
820
  # {
771
821
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
772
- # address: "GenericString", # required
822
+ # address: "SubscriberAddress", # required
773
823
  # }
774
824
  #
775
825
  # @!attribute [rw] subscription_type
@@ -777,7 +827,7 @@ module Aws::Budgets
777
827
  # @return [String]
778
828
  #
779
829
  # @!attribute [rw] address
780
- # A generic String.
830
+ # String containing email or sns topic for the subscriber address.
781
831
  # @return [String]
782
832
  #
783
833
  class Subscriber < Struct.new(
@@ -826,10 +876,16 @@ module Aws::Budgets
826
876
  # cost_filters: {
827
877
  # "GenericString" => ["GenericString"],
828
878
  # },
829
- # cost_types: { # required
830
- # include_tax: false, # required
831
- # include_subscription: false, # required
832
- # use_blended: false, # required
879
+ # cost_types: {
880
+ # include_tax: false,
881
+ # include_subscription: false,
882
+ # use_blended: false,
883
+ # include_refund: false,
884
+ # include_credit: false,
885
+ # include_upfront: false,
886
+ # include_recurring: false,
887
+ # include_other_subscription: false,
888
+ # include_support: false,
833
889
  # },
834
890
  # time_unit: "DAILY", # required, accepts DAILY, MONTHLY, QUARTERLY, ANNUALLY
835
891
  # time_period: { # required
@@ -937,11 +993,11 @@ module Aws::Budgets
937
993
  # },
938
994
  # old_subscriber: { # required
939
995
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
940
- # address: "GenericString", # required
996
+ # address: "SubscriberAddress", # required
941
997
  # },
942
998
  # new_subscriber: { # required
943
999
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
944
- # address: "GenericString", # required
1000
+ # address: "SubscriberAddress", # required
945
1001
  # },
946
1002
  # }
947
1003
  #
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.2.0
4
+ version: 1.3.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: 2017-09-21 00:00:00.000000000 Z
11
+ date: 2017-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core