aws-sdk-budgets 1.28.0 → 1.33.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 9050346b993b8a3b16fe4155dff1bd001f6ad70f
4
- data.tar.gz: f6f7d8952ed7f45a07875e6a2eae21c2b26e3ecf
2
+ SHA256:
3
+ metadata.gz: bd60fe704978ef0afd8d5edad9da172c88c9e4b350bc21be311b3d7eea8eaecc
4
+ data.tar.gz: 065c331180bddecbfadf81a6b86c0e0736e0a5cab7bf0f80d59a99db8683b103
5
5
  SHA512:
6
- metadata.gz: c6c5e07a379cb04bb60003ac7c1097af49fda2e9788f902161e969e2377668b1a3849b68041d23b22f7580ce7e09607c9a51ea4d6f53a889fb75084276ce35f9
7
- data.tar.gz: cdca04a746eb5dabd252c5509cfafebc47661bd56059779ad53f3ba32aadf12eb1d523e4c850cd916b5160ebedb0df62597a5f9807c9a539aec7e6bcebe73f3b
6
+ metadata.gz: '068f1a03da55745cd20b4d29141bf71ba760bd9fadd5ce1186c63a0626da8af9c13bb0c388ba7b87099f2b9256558a950392a938d4de97f582efe02bfcdc783f'
7
+ data.tar.gz: 66f307472762df0248d14789b97f53e749f2442bc333b55d56685eda9d5b6fcb4d83483558acb00eec9999af0868d847181d89a0189cc95ec8e986d93e3fd60c
@@ -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:
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-budgets/customizations'
42
44
  #
43
45
  # See {Errors} for more information.
44
46
  #
45
- # @service
47
+ # @!group service
46
48
  module Aws::Budgets
47
49
 
48
- GEM_VERSION = '1.28.0'
50
+ GEM_VERSION = '1.33.0'
49
51
 
50
52
  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
 
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:budgets)
32
35
  module Aws::Budgets
33
36
  # An API client for Budgets. To construct a client, you need to configure a `:region` and `:credentials`.
34
37
  #
35
- # client = Aws::Budgets::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
38
+ # client = Aws::Budgets::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
40
43
  #
41
44
  # For details on configuring region and credentials see
42
45
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -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::SharedCredentials` - Used for loading credentials from a
88
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
89
107
  #
90
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
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,15 +116,15 @@ 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 are
101
- # very aggressive. Construct and pass an instance of
102
- # `Aws::InstanceProfileCredentails` to enable retries and extended
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
107
126
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
127
+ # a default `:region` is searched for in the following locations:
109
128
  #
110
129
  # * `Aws.config[:region]`
111
130
  # * `ENV['AWS_REGION']`
@@ -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 avalid 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
@@ -176,7 +195,7 @@ module Aws::Budgets
176
195
  # requests fetching endpoints information. Defaults to 60 sec.
177
196
  #
178
197
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
198
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
199
  #
181
200
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
201
  # The log formatter.
@@ -229,15 +248,19 @@ module Aws::Budgets
229
248
  #
230
249
  # @option options [String] :retry_mode ("legacy")
231
250
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
251
+ #
252
+ # * `legacy` - The pre-existing retry behavior. This is default value if
253
+ # no retry mode is provided.
254
+ #
255
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
256
+ # This includes support for retry quotas, which limit the number of
257
+ # unsuccessful retries a client can make.
258
+ #
259
+ # * `adaptive` - An experimental retry mode that includes all the
260
+ # functionality of `standard` mode along with automatic client side
261
+ # throttling. This is a provisional mode that may change behavior
262
+ # in the future.
263
+ #
241
264
  #
242
265
  # @option options [String] :secret_access_key
243
266
  #
@@ -275,8 +298,7 @@ module Aws::Budgets
275
298
  #
276
299
  # @option options [Integer] :http_read_timeout (60) The default
277
300
  # number of seconds to wait for response data. This value can
278
- # safely be set
279
- # per-request on the session yielded by {#session_for}.
301
+ # safely be set per-request on the session.
280
302
  #
281
303
  # @option options [Float] :http_idle_timeout (5) The number of
282
304
  # seconds a connection is allowed to sit idle before it is
@@ -288,7 +310,7 @@ module Aws::Budgets
288
310
  # request body. This option has no effect unless the request has
289
311
  # "Expect" header set to "100-continue". Defaults to `nil` which
290
312
  # disables this behaviour. This value can safely be set per
291
- # request on the session yielded by {#session_for}.
313
+ # request on the session.
292
314
  #
293
315
  # @option options [Boolean] :http_wire_trace (false) When `true`,
294
316
  # HTTP debug output will be sent to the `:logger`.
@@ -1127,7 +1149,7 @@ module Aws::Budgets
1127
1149
  params: params,
1128
1150
  config: config)
1129
1151
  context[:gem_name] = 'aws-sdk-budgets'
1130
- context[:gem_version] = '1.28.0'
1152
+ context[:gem_version] = '1.33.0'
1131
1153
  Seahorse::Client::Request.new(handlers, context)
1132
1154
  end
1133
1155
 
@@ -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:
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # WARNING ABOUT GENERATED CODE
2
3
  #
3
4
  # This file is generated. See the contributing for info on making contributions:
@@ -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:
@@ -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:
@@ -6,13 +8,7 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::Budgets
9
- # This class provides a resource oriented interface for Budgets.
10
- # To create a resource object:
11
- # resource = Aws::Budgets::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::Budgets::Client.new(region: 'us-west-2')
15
- # resource = Aws::Budgets::Resource.new(client: client)
11
+
16
12
  class Resource
17
13
 
18
14
  # @param options ({})
@@ -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
 
@@ -211,6 +214,7 @@ module Aws::Budgets
211
214
  :calculated_spend,
212
215
  :budget_type,
213
216
  :last_updated_time)
217
+ SENSITIVE = []
214
218
  include Aws::Structure
215
219
  end
216
220
 
@@ -254,6 +258,7 @@ module Aws::Budgets
254
258
  :cost_types,
255
259
  :time_unit,
256
260
  :budgeted_and_actual_amounts_list)
261
+ SENSITIVE = []
257
262
  include Aws::Structure
258
263
  end
259
264
 
@@ -276,6 +281,7 @@ module Aws::Budgets
276
281
  :budgeted_amount,
277
282
  :actual_amount,
278
283
  :time_period)
284
+ SENSITIVE = []
279
285
  include Aws::Structure
280
286
  end
281
287
 
@@ -314,6 +320,7 @@ module Aws::Budgets
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
 
@@ -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,6 +1131,7 @@ 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
 
@@ -1170,6 +1201,7 @@ module Aws::Budgets
1170
1201
  :threshold,
1171
1202
  :threshold_type,
1172
1203
  :notification_state)
1204
+ SENSITIVE = []
1173
1205
  include Aws::Structure
1174
1206
  end
1175
1207
 
@@ -1207,6 +1239,7 @@ module Aws::Budgets
1207
1239
  class NotificationWithSubscribers < Struct.new(
1208
1240
  :notification,
1209
1241
  :subscribers)
1242
+ SENSITIVE = []
1210
1243
  include Aws::Structure
1211
1244
  end
1212
1245
 
@@ -1240,6 +1273,7 @@ module Aws::Budgets
1240
1273
  class Spend < Struct.new(
1241
1274
  :amount,
1242
1275
  :unit)
1276
+ SENSITIVE = []
1243
1277
  include Aws::Structure
1244
1278
  end
1245
1279
 
@@ -1275,6 +1309,7 @@ module Aws::Budgets
1275
1309
  class Subscriber < Struct.new(
1276
1310
  :subscription_type,
1277
1311
  :address)
1312
+ SENSITIVE = [:address]
1278
1313
  include Aws::Structure
1279
1314
  end
1280
1315
 
@@ -1316,6 +1351,7 @@ module Aws::Budgets
1316
1351
  class TimePeriod < Struct.new(
1317
1352
  :start,
1318
1353
  :end)
1354
+ SENSITIVE = []
1319
1355
  include Aws::Structure
1320
1356
  end
1321
1357
 
@@ -1386,6 +1422,7 @@ module Aws::Budgets
1386
1422
  class UpdateBudgetRequest < Struct.new(
1387
1423
  :account_id,
1388
1424
  :new_budget)
1425
+ SENSITIVE = []
1389
1426
  include Aws::Structure
1390
1427
  end
1391
1428
 
@@ -1439,6 +1476,7 @@ module Aws::Budgets
1439
1476
  :budget_name,
1440
1477
  :old_notification,
1441
1478
  :new_notification)
1479
+ SENSITIVE = []
1442
1480
  include Aws::Structure
1443
1481
  end
1444
1482
 
@@ -1500,6 +1538,7 @@ module Aws::Budgets
1500
1538
  :notification,
1501
1539
  :old_subscriber,
1502
1540
  :new_subscriber)
1541
+ SENSITIVE = []
1503
1542
  include Aws::Structure
1504
1543
  end
1505
1544
 
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.28.0
4
+ version: 1.33.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-03-09 00:00:00.000000000 Z
11
+ date: 2020-08-25 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.71.0
22
+ version: 3.99.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.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.5.2.3
84
+ rubygems_version: 2.7.6.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - AWSBudgets