aws-sdk-budgets 1.0.0 → 1.1.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: f78a9874563bde5b6c57d6e99527cb2abe2902fb
4
- data.tar.gz: 3b2cfceee5984e380b1257a288ed8f610d7ed1b9
3
+ metadata.gz: 99f82dc0002aa45e7f3d26235e227f4055fc188c
4
+ data.tar.gz: 4ddfa7204758e696ec45dfec71022f33d79a6928
5
5
  SHA512:
6
- metadata.gz: 3ab70acddd2c7a90cf421177d385a9a9f55e259d2f7c0edff9a7f2edad03a91f340df068c6ee19f3ce224f778437b6ef57e733d90ff7422c40a514d28dfa4a12
7
- data.tar.gz: 9a1ab7323540e62685e296de3bc8e12553788cfe20e49bb3614637dfd19a9a34b7104100194620ec1445671bba79d2f72b02e97fe81384b9ded282e514bb63ad
6
+ metadata.gz: 5d51f82f9d3adb97413d5a0f688b701b64266d36a409e1fc73793e83d6666c5db6a58eaf40d64f4f4b1d764beb67222dd52463e81f008331f2df519b6e89074c
7
+ data.tar.gz: 37d036b40c73e0543e047791f1c5ee246e240a40b34425e882d0acf88b07025ef4f1db34d17e76ae356def6efc861b9d164b2a379f9158affc2ac04c31c3e52e
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-budgets/customizations'
42
42
  # @service
43
43
  module Aws::Budgets
44
44
 
45
- GEM_VERSION = '1.0.0'
45
+ GEM_VERSION = '1.1.0'
46
46
 
47
47
  end
@@ -209,6 +209,7 @@ module Aws::Budgets
209
209
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
210
210
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
211
211
  # threshold: 1.0, # required
212
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
212
213
  # },
213
214
  # subscribers: [ # required
214
215
  # {
@@ -254,6 +255,7 @@ module Aws::Budgets
254
255
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
255
256
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
256
257
  # threshold: 1.0, # required
258
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
257
259
  # },
258
260
  # subscribers: [ # required
259
261
  # {
@@ -298,6 +300,7 @@ module Aws::Budgets
298
300
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
299
301
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
300
302
  # threshold: 1.0, # required
303
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
301
304
  # },
302
305
  # subscriber: { # required
303
306
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
@@ -361,6 +364,7 @@ module Aws::Budgets
361
364
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
362
365
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
363
366
  # threshold: 1.0, # required
367
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
364
368
  # },
365
369
  # })
366
370
  #
@@ -399,6 +403,7 @@ module Aws::Budgets
399
403
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
400
404
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
401
405
  # threshold: 1.0, # required
406
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
402
407
  # },
403
408
  # subscriber: { # required
404
409
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
@@ -466,8 +471,8 @@ module Aws::Budgets
466
471
  # Account Id of the customer. It should be a 12 digit number.
467
472
  #
468
473
  # @option params [Integer] :max_results
469
- # An integer to represent how many entries should a pagianted response
470
- # contains. Maxium is set to 100.
474
+ # An integer to represent how many entries a paginated response
475
+ # contains. Maximum is set to 100.
471
476
  #
472
477
  # @option params [String] :next_token
473
478
  # A generic String.
@@ -524,8 +529,8 @@ module Aws::Budgets
524
529
  # allowed.
525
530
  #
526
531
  # @option params [Integer] :max_results
527
- # An integer to represent how many entries should a pagianted response
528
- # contains. Maxium is set to 100.
532
+ # An integer to represent how many entries a paginated response
533
+ # contains. Maximum is set to 100.
529
534
  #
530
535
  # @option params [String] :next_token
531
536
  # A generic String.
@@ -550,6 +555,7 @@ module Aws::Budgets
550
555
  # resp.notifications[0].notification_type #=> String, one of "ACTUAL", "FORECASTED"
551
556
  # resp.notifications[0].comparison_operator #=> String, one of "GREATER_THAN", "LESS_THAN", "EQUAL_TO"
552
557
  # resp.notifications[0].threshold #=> Float
558
+ # resp.notifications[0].threshold_type #=> String, one of "PERCENTAGE", "ABSOLUTE_VALUE"
553
559
  # resp.next_token #=> String
554
560
  #
555
561
  # @overload describe_notifications_for_budget(params = {})
@@ -573,8 +579,8 @@ module Aws::Budgets
573
579
  # with different settings.
574
580
  #
575
581
  # @option params [Integer] :max_results
576
- # An integer to represent how many entries should a pagianted response
577
- # contains. Maxium is set to 100.
582
+ # An integer to represent how many entries a paginated response
583
+ # contains. Maximum is set to 100.
578
584
  #
579
585
  # @option params [String] :next_token
580
586
  # A generic String.
@@ -593,6 +599,7 @@ module Aws::Budgets
593
599
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
594
600
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
595
601
  # threshold: 1.0, # required
602
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
596
603
  # },
597
604
  # max_results: 1,
598
605
  # next_token: "GenericString",
@@ -694,11 +701,13 @@ module Aws::Budgets
694
701
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
695
702
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
696
703
  # threshold: 1.0, # required
704
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
697
705
  # },
698
706
  # new_notification: { # required
699
707
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
700
708
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
701
709
  # threshold: 1.0, # required
710
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
702
711
  # },
703
712
  # })
704
713
  #
@@ -741,6 +750,7 @@ module Aws::Budgets
741
750
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
742
751
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
743
752
  # threshold: 1.0, # required
753
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
744
754
  # },
745
755
  # old_subscriber: { # required
746
756
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
@@ -772,7 +782,7 @@ module Aws::Budgets
772
782
  params: params,
773
783
  config: config)
774
784
  context[:gem_name] = 'aws-sdk-budgets'
775
- context[:gem_version] = '1.0.0'
785
+ context[:gem_version] = '1.1.0'
776
786
  Seahorse::Client::Request.new(handlers, context)
777
787
  end
778
788
 
@@ -63,6 +63,7 @@ module Aws::Budgets
63
63
  Subscriber = Shapes::StructureShape.new(name: 'Subscriber')
64
64
  Subscribers = Shapes::ListShape.new(name: 'Subscribers')
65
65
  SubscriptionType = Shapes::StringShape.new(name: 'SubscriptionType')
66
+ ThresholdType = Shapes::StringShape.new(name: 'ThresholdType')
66
67
  TimePeriod = Shapes::StructureShape.new(name: 'TimePeriod')
67
68
  TimeUnit = Shapes::StringShape.new(name: 'TimeUnit')
68
69
  UnitValue = Shapes::StringShape.new(name: 'UnitValue')
@@ -184,6 +185,7 @@ module Aws::Budgets
184
185
  Notification.add_member(:notification_type, Shapes::ShapeRef.new(shape: NotificationType, required: true, location_name: "NotificationType"))
185
186
  Notification.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: ComparisonOperator, required: true, location_name: "ComparisonOperator"))
186
187
  Notification.add_member(:threshold, Shapes::ShapeRef.new(shape: NotificationThreshold, required: true, location_name: "Threshold"))
188
+ Notification.add_member(:threshold_type, Shapes::ShapeRef.new(shape: ThresholdType, location_name: "ThresholdType"))
187
189
  Notification.struct_class = Types::Notification
188
190
 
189
191
  NotificationWithSubscribers.add_member(:notification, Shapes::ShapeRef.new(shape: Notification, required: true, location_name: "Notification"))
@@ -51,12 +51,12 @@ module Aws::Budgets
51
51
  # @return [String]
52
52
  #
53
53
  # @!attribute [rw] budget_limit
54
- # A structure represent either a cost spend or usage spend. Contains
55
- # an amount and a unit.
54
+ # A structure that represents either a cost spend or usage spend.
55
+ # Contains an amount and a unit.
56
56
  # @return [Types::Spend]
57
57
  #
58
58
  # @!attribute [rw] cost_filters
59
- # A map represents the cost filters applied to the budget.
59
+ # A map that represents the cost filters applied to the budget.
60
60
  # @return [Hash<String,Array<String>>]
61
61
  #
62
62
  # @!attribute [rw] cost_types
@@ -68,11 +68,11 @@ module Aws::Budgets
68
68
  # @return [String]
69
69
  #
70
70
  # @!attribute [rw] time_period
71
- # A time period indicated the start date and end date of a budget.
71
+ # A time period indicating the start date and end date of a budget.
72
72
  # @return [Types::TimePeriod]
73
73
  #
74
74
  # @!attribute [rw] calculated_spend
75
- # A structure holds the actual and forecasted spend for a budget.
75
+ # A structure that holds the actual and forecasted spend for a budget.
76
76
  # @return [Types::CalculatedSpend]
77
77
  #
78
78
  # @!attribute [rw] budget_type
@@ -91,7 +91,7 @@ module Aws::Budgets
91
91
  include Aws::Structure
92
92
  end
93
93
 
94
- # A structure holds the actual and forecasted spend for a budget.
94
+ # A structure that holds the actual and forecasted spend for a budget.
95
95
  #
96
96
  # @note When making an API call, you may pass CalculatedSpend
97
97
  # data as a hash:
@@ -108,13 +108,13 @@ module Aws::Budgets
108
108
  # }
109
109
  #
110
110
  # @!attribute [rw] actual_spend
111
- # A structure represent either a cost spend or usage spend. Contains
112
- # an amount and a unit.
111
+ # A structure that represents either a cost spend or usage spend.
112
+ # Contains an amount and a unit.
113
113
  # @return [Types::Spend]
114
114
  #
115
115
  # @!attribute [rw] forecasted_spend
116
- # A structure represent either a cost spend or usage spend. Contains
117
- # an amount and a unit.
116
+ # A structure that represents either a cost spend or usage spend.
117
+ # Contains an amount and a unit.
118
118
  # @return [Types::Spend]
119
119
  #
120
120
  class CalculatedSpend < Struct.new(
@@ -197,6 +197,7 @@ module Aws::Budgets
197
197
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
198
198
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
199
199
  # threshold: 1.0, # required
200
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
200
201
  # },
201
202
  # subscribers: [ # required
202
203
  # {
@@ -243,6 +244,7 @@ module Aws::Budgets
243
244
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
244
245
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
245
246
  # threshold: 1.0, # required
247
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
246
248
  # },
247
249
  # subscribers: [ # required
248
250
  # {
@@ -294,6 +296,7 @@ module Aws::Budgets
294
296
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
295
297
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
296
298
  # threshold: 1.0, # required
299
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
297
300
  # },
298
301
  # subscriber: { # required
299
302
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
@@ -373,6 +376,7 @@ module Aws::Budgets
373
376
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
374
377
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
375
378
  # threshold: 1.0, # required
379
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
376
380
  # },
377
381
  # }
378
382
  #
@@ -413,6 +417,7 @@ module Aws::Budgets
413
417
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
414
418
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
415
419
  # threshold: 1.0, # required
420
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
416
421
  # },
417
422
  # subscriber: { # required
418
423
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
@@ -503,8 +508,8 @@ module Aws::Budgets
503
508
  # @return [String]
504
509
  #
505
510
  # @!attribute [rw] max_results
506
- # An integer to represent how many entries should a pagianted response
507
- # contains. Maxium is set to 100.
511
+ # An integer to represent how many entries a paginated response
512
+ # contains. Maximum is set to 100.
508
513
  # @return [Integer]
509
514
  #
510
515
  # @!attribute [rw] next_token
@@ -556,8 +561,8 @@ module Aws::Budgets
556
561
  # @return [String]
557
562
  #
558
563
  # @!attribute [rw] max_results
559
- # An integer to represent how many entries should a pagianted response
560
- # contains. Maxium is set to 100.
564
+ # An integer to represent how many entries a paginated response
565
+ # contains. Maximum is set to 100.
561
566
  # @return [Integer]
562
567
  #
563
568
  # @!attribute [rw] next_token
@@ -600,6 +605,7 @@ module Aws::Budgets
600
605
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
601
606
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
602
607
  # threshold: 1.0, # required
608
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
603
609
  # },
604
610
  # max_results: 1,
605
611
  # next_token: "GenericString",
@@ -620,8 +626,8 @@ module Aws::Budgets
620
626
  # @return [Types::Notification]
621
627
  #
622
628
  # @!attribute [rw] max_results
623
- # An integer to represent how many entries should a pagianted response
624
- # contains. Maxium is set to 100.
629
+ # An integer to represent how many entries a paginated response
630
+ # contains. Maximum is set to 100.
625
631
  # @return [Integer]
626
632
  #
627
633
  # @!attribute [rw] next_token
@@ -663,6 +669,7 @@ module Aws::Budgets
663
669
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
664
670
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
665
671
  # threshold: 1.0, # required
672
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
666
673
  # }
667
674
  #
668
675
  # @!attribute [rw] notification_type
@@ -675,14 +682,20 @@ module Aws::Budgets
675
682
  # @return [String]
676
683
  #
677
684
  # @!attribute [rw] threshold
678
- # The threshold of the a notification. It should be a number between 0
679
- # and 100.
685
+ # The threshold of a notification. It should be a number between 0 and
686
+ # 1,000,000,000.
680
687
  # @return [Float]
681
688
  #
689
+ # @!attribute [rw] threshold_type
690
+ # The type of threshold for a notification. It can be PERCENTAGE or
691
+ # ABSOLUTE\_VALUE.
692
+ # @return [String]
693
+ #
682
694
  class Notification < Struct.new(
683
695
  :notification_type,
684
696
  :comparison_operator,
685
- :threshold)
697
+ :threshold,
698
+ :threshold_type)
686
699
  include Aws::Structure
687
700
  end
688
701
 
@@ -697,6 +710,7 @@ module Aws::Budgets
697
710
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
698
711
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
699
712
  # threshold: 1.0, # required
713
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
700
714
  # },
701
715
  # subscribers: [ # required
702
716
  # {
@@ -721,8 +735,8 @@ module Aws::Budgets
721
735
  include Aws::Structure
722
736
  end
723
737
 
724
- # A structure represent either a cost spend or usage spend. Contains an
725
- # amount and a unit.
738
+ # A structure that represents either a cost spend or usage spend.
739
+ # Contains an amount and a unit.
726
740
  #
727
741
  # @note When making an API call, you may pass Spend
728
742
  # data as a hash:
@@ -772,7 +786,7 @@ module Aws::Budgets
772
786
  include Aws::Structure
773
787
  end
774
788
 
775
- # A time period indicated the start date and end date of a budget.
789
+ # A time period indicating the start date and end date of a budget.
776
790
  #
777
791
  # @note When making an API call, you may pass TimePeriod
778
792
  # data as a hash:
@@ -866,11 +880,13 @@ module Aws::Budgets
866
880
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
867
881
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
868
882
  # threshold: 1.0, # required
883
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
869
884
  # },
870
885
  # new_notification: { # required
871
886
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
872
887
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
873
888
  # threshold: 1.0, # required
889
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
874
890
  # },
875
891
  # }
876
892
  #
@@ -917,6 +933,7 @@ module Aws::Budgets
917
933
  # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
918
934
  # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
919
935
  # threshold: 1.0, # required
936
+ # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
920
937
  # },
921
938
  # old_subscriber: { # required
922
939
  # subscription_type: "SNS", # required, accepts SNS, EMAIL
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.0.0
4
+ version: 1.1.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-08-29 00:00:00.000000000 Z
11
+ date: 2017-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -56,7 +56,9 @@ files:
56
56
  homepage: http://github.com/aws/aws-sdk-ruby
57
57
  licenses:
58
58
  - Apache-2.0
59
- metadata: {}
59
+ metadata:
60
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-budgets
61
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-budgets/CHANGELOG.md
60
62
  post_install_message:
61
63
  rdoc_options: []
62
64
  require_paths: