aws-sdk-budgets 1.49.0 → 1.50.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: 02c40547272dcf1940133cf827f9aff8811332bd86e30b5181c61f3c4f81ebe8
4
- data.tar.gz: 5aea4d1721652b3c5d6ed29b703e97145a6a6d068a4dcd360159e550ab002f23
3
+ metadata.gz: bdd9a4c84c769f8d193cdd3aa50556e4c90cad215740b33cdd8c4dc24ef5b8c1
4
+ data.tar.gz: 6c2c5bd9dd6d689dcaf629e2d2f24ed2c0d3821b22210ccec00ca99e0b094591
5
5
  SHA512:
6
- metadata.gz: ae3a292f808cdb86ddc23d62cb1b01a24be1bacfdddd0d4f5aeaf35b4bf314632e82e86ae2cbc30b277348a03b0e202f5be2b1d31f27f26fcb6635109fdc8ead
7
- data.tar.gz: 81453da88f5ca168ed16092cc833df8e410d537b8b6644dd5d0cab2afe95fcca0fa121955d0ea2b64d9fbf178f04cf74f8787aae77d2ce1d1ec11067b6eb0af3
6
+ metadata.gz: 761fb2064a84fa057a86919795672148be92d9d010b199486f17e0b6408f64cdddcaefa7156e46ab698beac04dccf66270ff9ce6830183bfab2ad996b0af88e7
7
+ data.tar.gz: 1928c7d68dc2188e4eb254c0bc218fcde27fd171a66b96293d5b64a0131ff65e660f4f135c30423470db62ba31dbe2622132cc64b73d90731dad43bca3fa4321
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.50.0 (2022-06-14)
5
+ ------------------
6
+
7
+ * Feature - Add a budgets ThrottlingException. Update the CostFilters value pattern.
8
+
4
9
  1.49.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.49.0
1
+ 1.50.0
@@ -404,7 +404,7 @@ module Aws::Budgets
404
404
  # },
405
405
  # },
406
406
  # cost_filters: {
407
- # "GenericString" => ["GenericString"],
407
+ # "GenericString" => ["DimensionValue"],
408
408
  # },
409
409
  # cost_types: {
410
410
  # include_tax: false,
@@ -1584,7 +1584,7 @@ module Aws::Budgets
1584
1584
  # },
1585
1585
  # },
1586
1586
  # cost_filters: {
1587
- # "GenericString" => ["GenericString"],
1587
+ # "GenericString" => ["DimensionValue"],
1588
1588
  # },
1589
1589
  # cost_types: {
1590
1590
  # include_tax: false,
@@ -1882,7 +1882,7 @@ module Aws::Budgets
1882
1882
  params: params,
1883
1883
  config: config)
1884
1884
  context[:gem_name] = 'aws-sdk-budgets'
1885
- context[:gem_version] = '1.49.0'
1885
+ context[:gem_version] = '1.50.0'
1886
1886
  Seahorse::Client::Request.new(handlers, context)
1887
1887
  end
1888
1888
 
@@ -80,6 +80,7 @@ module Aws::Budgets
80
80
  DescribeNotificationsForBudgetResponse = Shapes::StructureShape.new(name: 'DescribeNotificationsForBudgetResponse')
81
81
  DescribeSubscribersForNotificationRequest = Shapes::StructureShape.new(name: 'DescribeSubscribersForNotificationRequest')
82
82
  DescribeSubscribersForNotificationResponse = Shapes::StructureShape.new(name: 'DescribeSubscribersForNotificationResponse')
83
+ DimensionValue = Shapes::StringShape.new(name: 'DimensionValue')
83
84
  DimensionValues = Shapes::ListShape.new(name: 'DimensionValues')
84
85
  DuplicateRecordException = Shapes::StructureShape.new(name: 'DuplicateRecordException')
85
86
  EventType = Shapes::StringShape.new(name: 'EventType')
@@ -128,6 +129,7 @@ module Aws::Budgets
128
129
  TargetId = Shapes::StringShape.new(name: 'TargetId')
129
130
  TargetIds = Shapes::ListShape.new(name: 'TargetIds')
130
131
  ThresholdType = Shapes::StringShape.new(name: 'ThresholdType')
132
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
131
133
  TimePeriod = Shapes::StructureShape.new(name: 'TimePeriod')
132
134
  TimeUnit = Shapes::StringShape.new(name: 'TimeUnit')
133
135
  UnitValue = Shapes::StringShape.new(name: 'UnitValue')
@@ -413,7 +415,7 @@ module Aws::Budgets
413
415
  DescribeSubscribersForNotificationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
414
416
  DescribeSubscribersForNotificationResponse.struct_class = Types::DescribeSubscribersForNotificationResponse
415
417
 
416
- DimensionValues.member = Shapes::ShapeRef.new(shape: GenericString)
418
+ DimensionValues.member = Shapes::ShapeRef.new(shape: DimensionValue)
417
419
 
418
420
  DuplicateRecordException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
419
421
  DuplicateRecordException.struct_class = Types::DuplicateRecordException
@@ -503,6 +505,9 @@ module Aws::Budgets
503
505
 
504
506
  TargetIds.member = Shapes::ShapeRef.new(shape: TargetId)
505
507
 
508
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
509
+ ThrottlingException.struct_class = Types::ThrottlingException
510
+
506
511
  TimePeriod.add_member(:start, Shapes::ShapeRef.new(shape: GenericTimestamp, location_name: "Start"))
507
512
  TimePeriod.add_member(:end, Shapes::ShapeRef.new(shape: GenericTimestamp, location_name: "End"))
508
513
  TimePeriod.struct_class = Types::TimePeriod
@@ -579,6 +584,7 @@ module Aws::Budgets
579
584
  o.errors << Shapes::ShapeRef.new(shape: CreationLimitExceededException)
580
585
  o.errors << Shapes::ShapeRef.new(shape: DuplicateRecordException)
581
586
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
587
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
582
588
  end)
583
589
 
584
590
  api.add_operation(:create_budget_action, Seahorse::Model::Operation.new.tap do |o|
@@ -593,6 +599,7 @@ module Aws::Budgets
593
599
  o.errors << Shapes::ShapeRef.new(shape: DuplicateRecordException)
594
600
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
595
601
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
602
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
596
603
  end)
597
604
 
598
605
  api.add_operation(:create_notification, Seahorse::Model::Operation.new.tap do |o|
@@ -607,6 +614,7 @@ module Aws::Budgets
607
614
  o.errors << Shapes::ShapeRef.new(shape: CreationLimitExceededException)
608
615
  o.errors << Shapes::ShapeRef.new(shape: DuplicateRecordException)
609
616
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
617
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
610
618
  end)
611
619
 
612
620
  api.add_operation(:create_subscriber, Seahorse::Model::Operation.new.tap do |o|
@@ -621,6 +629,7 @@ module Aws::Budgets
621
629
  o.errors << Shapes::ShapeRef.new(shape: DuplicateRecordException)
622
630
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
623
631
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
632
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
624
633
  end)
625
634
 
626
635
  api.add_operation(:delete_budget, Seahorse::Model::Operation.new.tap do |o|
@@ -633,6 +642,7 @@ module Aws::Budgets
633
642
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
634
643
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
635
644
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
645
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
636
646
  end)
637
647
 
638
648
  api.add_operation(:delete_budget_action, Seahorse::Model::Operation.new.tap do |o|
@@ -646,6 +656,7 @@ module Aws::Budgets
646
656
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
647
657
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
648
658
  o.errors << Shapes::ShapeRef.new(shape: ResourceLockedException)
659
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
649
660
  end)
650
661
 
651
662
  api.add_operation(:delete_notification, Seahorse::Model::Operation.new.tap do |o|
@@ -658,6 +669,7 @@ module Aws::Budgets
658
669
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
659
670
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
660
671
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
672
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
661
673
  end)
662
674
 
663
675
  api.add_operation(:delete_subscriber, Seahorse::Model::Operation.new.tap do |o|
@@ -670,6 +682,7 @@ module Aws::Budgets
670
682
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
671
683
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
672
684
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
685
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
673
686
  end)
674
687
 
675
688
  api.add_operation(:describe_budget, Seahorse::Model::Operation.new.tap do |o|
@@ -682,6 +695,7 @@ module Aws::Budgets
682
695
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
683
696
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
684
697
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
698
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
685
699
  end)
686
700
 
687
701
  api.add_operation(:describe_budget_action, Seahorse::Model::Operation.new.tap do |o|
@@ -694,6 +708,7 @@ module Aws::Budgets
694
708
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
695
709
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
696
710
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
711
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
697
712
  end)
698
713
 
699
714
  api.add_operation(:describe_budget_action_histories, Seahorse::Model::Operation.new.tap do |o|
@@ -707,6 +722,7 @@ module Aws::Budgets
707
722
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
708
723
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
709
724
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
725
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
710
726
  o[:pager] = Aws::Pager.new(
711
727
  limit_key: "max_results",
712
728
  tokens: {
@@ -725,6 +741,7 @@ module Aws::Budgets
725
741
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
726
742
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
727
743
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
744
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
728
745
  o[:pager] = Aws::Pager.new(
729
746
  limit_key: "max_results",
730
747
  tokens: {
@@ -744,6 +761,7 @@ module Aws::Budgets
744
761
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
745
762
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
746
763
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
764
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
747
765
  o[:pager] = Aws::Pager.new(
748
766
  limit_key: "max_results",
749
767
  tokens: {
@@ -764,6 +782,7 @@ module Aws::Budgets
764
782
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
765
783
  o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
766
784
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
785
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
767
786
  o[:pager] = Aws::Pager.new(
768
787
  limit_key: "max_results",
769
788
  tokens: {
@@ -784,6 +803,7 @@ module Aws::Budgets
784
803
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
785
804
  o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
786
805
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
806
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
787
807
  o[:pager] = Aws::Pager.new(
788
808
  limit_key: "max_results",
789
809
  tokens: {
@@ -804,6 +824,7 @@ module Aws::Budgets
804
824
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
805
825
  o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
806
826
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
827
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
807
828
  o[:pager] = Aws::Pager.new(
808
829
  limit_key: "max_results",
809
830
  tokens: {
@@ -824,6 +845,7 @@ module Aws::Budgets
824
845
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
825
846
  o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
826
847
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
848
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
827
849
  o[:pager] = Aws::Pager.new(
828
850
  limit_key: "max_results",
829
851
  tokens: {
@@ -844,6 +866,7 @@ module Aws::Budgets
844
866
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
845
867
  o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
846
868
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
869
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
847
870
  o[:pager] = Aws::Pager.new(
848
871
  limit_key: "max_results",
849
872
  tokens: {
@@ -863,6 +886,7 @@ module Aws::Budgets
863
886
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
864
887
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
865
888
  o.errors << Shapes::ShapeRef.new(shape: ResourceLockedException)
889
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
866
890
  end)
867
891
 
868
892
  api.add_operation(:update_budget, Seahorse::Model::Operation.new.tap do |o|
@@ -875,6 +899,7 @@ module Aws::Budgets
875
899
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
876
900
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
877
901
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
902
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
878
903
  end)
879
904
 
880
905
  api.add_operation(:update_budget_action, Seahorse::Model::Operation.new.tap do |o|
@@ -888,6 +913,7 @@ module Aws::Budgets
888
913
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
889
914
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
890
915
  o.errors << Shapes::ShapeRef.new(shape: ResourceLockedException)
916
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
891
917
  end)
892
918
 
893
919
  api.add_operation(:update_notification, Seahorse::Model::Operation.new.tap do |o|
@@ -901,6 +927,7 @@ module Aws::Budgets
901
927
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
902
928
  o.errors << Shapes::ShapeRef.new(shape: DuplicateRecordException)
903
929
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
930
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
904
931
  end)
905
932
 
906
933
  api.add_operation(:update_subscriber, Seahorse::Model::Operation.new.tap do |o|
@@ -914,6 +941,7 @@ module Aws::Budgets
914
941
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
915
942
  o.errors << Shapes::ShapeRef.new(shape: DuplicateRecordException)
916
943
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
944
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
917
945
  end)
918
946
  end
919
947
 
@@ -36,6 +36,7 @@ module Aws::Budgets
36
36
  # * {InvalidParameterException}
37
37
  # * {NotFoundException}
38
38
  # * {ResourceLockedException}
39
+ # * {ThrottlingException}
39
40
  #
40
41
  # Additionally, error classes are dynamically generated for service errors based on the error code
41
42
  # if they are not defined above.
@@ -178,5 +179,20 @@ module Aws::Budgets
178
179
  end
179
180
  end
180
181
 
182
+ class ThrottlingException < ServiceError
183
+
184
+ # @param [Seahorse::Client::RequestContext] context
185
+ # @param [String] message
186
+ # @param [Aws::Budgets::Types::ThrottlingException] data
187
+ def initialize(context, message, data = Aws::EmptyStructure.new)
188
+ super(context, message, data)
189
+ end
190
+
191
+ # @return [String]
192
+ def message
193
+ @message || @data[:message]
194
+ end
195
+ end
196
+
181
197
  end
182
198
  end
@@ -216,7 +216,7 @@ module Aws::Budgets
216
216
  # },
217
217
  # },
218
218
  # cost_filters: {
219
- # "GenericString" => ["GenericString"],
219
+ # "GenericString" => ["DimensionValue"],
220
220
  # },
221
221
  # cost_types: {
222
222
  # include_tax: false,
@@ -769,7 +769,7 @@ module Aws::Budgets
769
769
  # },
770
770
  # },
771
771
  # cost_filters: {
772
- # "GenericString" => ["GenericString"],
772
+ # "GenericString" => ["DimensionValue"],
773
773
  # },
774
774
  # cost_types: {
775
775
  # include_tax: false,
@@ -2225,6 +2225,19 @@ module Aws::Budgets
2225
2225
  include Aws::Structure
2226
2226
  end
2227
2227
 
2228
+ # The number of API requests has exceeded the maximum allowed API
2229
+ # request throttling limit for the account.
2230
+ #
2231
+ # @!attribute [rw] message
2232
+ # The error message the exception carries.
2233
+ # @return [String]
2234
+ #
2235
+ class ThrottlingException < Struct.new(
2236
+ :message)
2237
+ SENSITIVE = []
2238
+ include Aws::Structure
2239
+ end
2240
+
2228
2241
  # The period of time that's covered by a budget. The period has a start
2229
2242
  # date and an end date. The start date must come before the end date.
2230
2243
  # There are no restrictions on the end date.
@@ -2407,7 +2420,7 @@ module Aws::Budgets
2407
2420
  # },
2408
2421
  # },
2409
2422
  # cost_filters: {
2410
- # "GenericString" => ["GenericString"],
2423
+ # "GenericString" => ["DimensionValue"],
2411
2424
  # },
2412
2425
  # cost_types: {
2413
2426
  # include_tax: false,
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-budgets/customizations'
48
48
  # @!group service
49
49
  module Aws::Budgets
50
50
 
51
- GEM_VERSION = '1.49.0'
51
+ GEM_VERSION = '1.50.0'
52
52
 
53
53
  end
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.49.0
4
+ version: 1.50.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: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core