aws-sdk-budgets 1.51.0 → 1.52.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: 6dc2b4755a3d6cd477f8b6e06377ac48ca7938123779c7e770818589f98fefc8
4
- data.tar.gz: 3d08971d48b65e428ee1ec3bc7a6918273471e130ea33037eb2dd839f1d1bdaf
3
+ metadata.gz: c8e77e77c99afdd4a3312bc4fe0baa0f60bf1bff2e418cd007d40f780ee5826a
4
+ data.tar.gz: 8d8efc4867476be8d8150fad229be71fffd3a6ee36a4fba0ed636fe7deb01f0f
5
5
  SHA512:
6
- metadata.gz: f2394c434cfb172743faeb814588b05e6b9626292d2912fd834978a9d3d78d02779969c55484680be81b3541728f36258b4f9b5a423ff06c4074516dd800943b
7
- data.tar.gz: d52fe8bfb07a0d07324d526f284b5fe0bdc9537ab8c49f217865003ccccff0e251bafd4af5b3f62959e8debc39a4c35980a4d445aefd02a015cb6a2f0f4a5654
6
+ metadata.gz: 6e26e2432bb01c1bbeeca37e9b49da6d72012f35569c121ed72fc60d4605a90961588ba90fa0d16058ac898eff63400cfe6e2b08864a78fcf98b9042d52ad246
7
+ data.tar.gz: 941ba2bef8024cd788fd8cec3aabbce878156383bf345057d2be5ac8f3098527e470294f813a17a0e04375293f33ad4764f1bd1835f3bf9369512243eeea797a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.52.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.51.0 (2022-10-25)
5
12
  ------------------
6
13
 
@@ -335,4 +342,4 @@ Unreleased Changes
335
342
  1.0.0.rc1 (2016-12-05)
336
343
  ------------------
337
344
 
338
- * Feature - Initial preview release of the `aws-sdk-budgets` gem.
345
+ * Feature - Initial preview release of the `aws-sdk-budgets` gem.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.51.0
1
+ 1.52.0
@@ -1899,7 +1899,7 @@ module Aws::Budgets
1899
1899
  params: params,
1900
1900
  config: config)
1901
1901
  context[:gem_name] = 'aws-sdk-budgets'
1902
- context[:gem_version] = '1.51.0'
1902
+ context[:gem_version] = '1.52.0'
1903
1903
  Seahorse::Client::Request.new(handlers, context)
1904
1904
  end
1905
1905
 
@@ -9,215 +9,91 @@
9
9
 
10
10
  module Aws::Budgets
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://budgets-fips.#{region}.api.aws", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"budgets", "signingRegion"=>"us-east-1"}]})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://budgets-fips.#{region}.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"budgets", "signingRegion"=>"us-east-1"}]})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://budgets.#{region}.api.aws", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"budgets", "signingRegion"=>"us-east-1"}]})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://budgets.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"budgets", "signingRegion"=>"us-east-1"}]})
47
+ end
48
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn")
49
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
50
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
51
+ return Aws::Endpoints::Endpoint.new(url: "https://budgets-fips.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"budgets", "signingRegion"=>"cn-northwest-1"}]})
52
+ end
53
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
54
+ end
55
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
56
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
57
+ return Aws::Endpoints::Endpoint.new(url: "https://budgets-fips.#{region}.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"budgets", "signingRegion"=>"cn-northwest-1"}]})
58
+ end
59
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
60
+ end
61
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
62
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
63
+ return Aws::Endpoints::Endpoint.new(url: "https://budgets.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"budgets", "signingRegion"=>"cn-northwest-1"}]})
64
+ end
65
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
66
+ end
67
+ return Aws::Endpoints::Endpoint.new(url: "https://budgets.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"budgets", "signingRegion"=>"cn-northwest-1"}]})
68
+ end
69
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
70
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
71
+ return Aws::Endpoints::Endpoint.new(url: "https://budgets-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
72
+ end
73
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
74
+ end
75
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
76
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
77
+ return Aws::Endpoints::Endpoint.new(url: "https://budgets-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
78
+ end
79
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
80
+ end
81
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
82
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
83
+ return Aws::Endpoints::Endpoint.new(url: "https://budgets.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
84
+ end
85
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
86
+ end
87
+ if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
88
+ return Aws::Endpoints::Endpoint.new(url: "https://budgets.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"budgets", "signingRegion"=>"us-east-1"}]})
89
+ end
90
+ if Aws::Endpoints::Matchers.string_equals?(region, "aws-cn-global")
91
+ return Aws::Endpoints::Endpoint.new(url: "https://budgets.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"budgets", "signingRegion"=>"cn-northwest-1"}]})
92
+ end
93
+ return Aws::Endpoints::Endpoint.new(url: "https://budgets.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
94
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
95
+ raise ArgumentError, 'No endpoint could be resolved'
24
96
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
97
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
39
- aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
40
- OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
41
- UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
42
- dGlvbiI6IldoZW4gdHJ1ZSwgc2VuZCB0aGlzIHJlcXVlc3QgdG8gdGhlIEZJ
43
- UFMtY29tcGxpYW50IHJlZ2lvbmFsIGVuZHBvaW50LiBJZiB0aGUgY29uZmln
44
- dXJlZCBlbmRwb2ludCBkb2VzIG5vdCBoYXZlIG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Zu
211
- Ijoic3RyaW5nRXF1YWxzIiwiYXJndiI6W3sicmVmIjoiUmVnaW9uIn0sImF3
212
- cy1jbi1nbG9iYWwiXX1dLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL2J1
213
- ZGdldHMuYW1hem9uYXdzLmNvbS5jbiIsInByb3BlcnRpZXMiOnsiYXV0aFNj
214
- aGVtZXMiOlt7Im5hbWUiOiJzaWd2NCIsInNpZ25pbmdOYW1lIjoiYnVkZ2V0
215
- cyIsInNpZ25pbmdSZWdpb24iOiJjbi1ub3J0aHdlc3QtMSJ9XX0sImhlYWRl
216
- cnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In0seyJjb25kaXRpb25zIjpbXSwi
217
- ZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9idWRnZXRzLntSZWdpb259LntQ
218
- YXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJo
219
- ZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfV19
220
-
221
- JSON
222
98
  end
223
99
  end
@@ -132,14 +132,6 @@ module Aws::Budgets
132
132
 
133
133
  # The trigger threshold of the action.
134
134
  #
135
- # @note When making an API call, you may pass ActionThreshold
136
- # data as a hash:
137
- #
138
- # {
139
- # action_threshold_value: 1.0, # required
140
- # action_threshold_type: "PERCENTAGE", # required, accepts PERCENTAGE, ABSOLUTE_VALUE
141
- # }
142
- #
143
135
  # @!attribute [rw] action_threshold_value
144
136
  # The threshold of a notification.
145
137
  # @return [Float]
@@ -158,18 +150,6 @@ module Aws::Budgets
158
150
  # The parameters that determine the budget amount for an auto-adjusting
159
151
  # budget.
160
152
  #
161
- # @note When making an API call, you may pass AutoAdjustData
162
- # data as a hash:
163
- #
164
- # {
165
- # auto_adjust_type: "HISTORICAL", # required, accepts HISTORICAL, FORECAST
166
- # historical_options: {
167
- # budget_adjustment_period: 1, # required
168
- # look_back_available_periods: 1,
169
- # },
170
- # last_auto_adjust_time: Time.now,
171
- # }
172
- #
173
153
  # @!attribute [rw] auto_adjust_type
174
154
  # The string that defines whether your budget auto-adjusts based on
175
155
  # historical or forecasted data.
@@ -200,64 +180,6 @@ module Aws::Budgets
200
180
  #
201
181
  # `arn:aws:budgets::AccountId:budget/budgetName`
202
182
  #
203
- # @note When making an API call, you may pass Budget
204
- # data as a hash:
205
- #
206
- # {
207
- # budget_name: "BudgetName", # required
208
- # budget_limit: {
209
- # amount: "NumericValue", # required
210
- # unit: "UnitValue", # required
211
- # },
212
- # planned_budget_limits: {
213
- # "GenericString" => {
214
- # amount: "NumericValue", # required
215
- # unit: "UnitValue", # required
216
- # },
217
- # },
218
- # cost_filters: {
219
- # "GenericString" => ["DimensionValue"],
220
- # },
221
- # cost_types: {
222
- # include_tax: false,
223
- # include_subscription: false,
224
- # use_blended: false,
225
- # include_refund: false,
226
- # include_credit: false,
227
- # include_upfront: false,
228
- # include_recurring: false,
229
- # include_other_subscription: false,
230
- # include_support: false,
231
- # include_discount: false,
232
- # use_amortized: false,
233
- # },
234
- # time_unit: "DAILY", # required, accepts DAILY, MONTHLY, QUARTERLY, ANNUALLY
235
- # time_period: {
236
- # start: Time.now,
237
- # end: Time.now,
238
- # },
239
- # calculated_spend: {
240
- # actual_spend: { # required
241
- # amount: "NumericValue", # required
242
- # unit: "UnitValue", # required
243
- # },
244
- # forecasted_spend: {
245
- # amount: "NumericValue", # required
246
- # unit: "UnitValue", # required
247
- # },
248
- # },
249
- # budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, SAVINGS_PLANS_COVERAGE
250
- # last_updated_time: Time.now,
251
- # auto_adjust_data: {
252
- # auto_adjust_type: "HISTORICAL", # required, accepts HISTORICAL, FORECAST
253
- # historical_options: {
254
- # budget_adjustment_period: 1, # required
255
- # look_back_available_periods: 1,
256
- # },
257
- # last_auto_adjust_time: Time.now,
258
- # },
259
- # }
260
- #
261
183
  # @!attribute [rw] budget_name
262
184
  # The name of a budget. The name must be unique within an account. The
263
185
  # `:` and `` characters aren't allowed in `BudgetName`.
@@ -497,20 +419,6 @@ module Aws::Budgets
497
419
  # dollars on Amazon EC2, your `actualSpend` is `50 USD`, and your
498
420
  # `forecastedSpend` is `75 USD`.
499
421
  #
500
- # @note When making an API call, you may pass CalculatedSpend
501
- # data as a hash:
502
- #
503
- # {
504
- # actual_spend: { # required
505
- # amount: "NumericValue", # required
506
- # unit: "UnitValue", # required
507
- # },
508
- # forecasted_spend: {
509
- # amount: "NumericValue", # required
510
- # unit: "UnitValue", # required
511
- # },
512
- # }
513
- #
514
422
  # @!attribute [rw] actual_spend
515
423
  # The amount of cost, usage, RI units, or Savings Plans units that you
516
424
  # used.
@@ -534,23 +442,6 @@ module Aws::Budgets
534
442
  # `USAGE`, `RI_UTILIZATION`, `RI_COVERAGE`, `SAVINGS_PLANS_UTILIZATION`,
535
443
  # and `SAVINGS_PLANS_COVERAGE` budgets don't have `CostTypes`.
536
444
  #
537
- # @note When making an API call, you may pass CostTypes
538
- # data as a hash:
539
- #
540
- # {
541
- # include_tax: false,
542
- # include_subscription: false,
543
- # use_blended: false,
544
- # include_refund: false,
545
- # include_credit: false,
546
- # include_upfront: false,
547
- # include_recurring: false,
548
- # include_other_subscription: false,
549
- # include_support: false,
550
- # include_discount: false,
551
- # use_amortized: false,
552
- # }
553
- #
554
445
  # @!attribute [rw] include_tax
555
446
  # Specifies whether a budget includes taxes.
556
447
  #
@@ -634,45 +525,6 @@ module Aws::Budgets
634
525
  include Aws::Structure
635
526
  end
636
527
 
637
- # @note When making an API call, you may pass CreateBudgetActionRequest
638
- # data as a hash:
639
- #
640
- # {
641
- # account_id: "AccountId", # required
642
- # budget_name: "BudgetName", # required
643
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
644
- # action_type: "APPLY_IAM_POLICY", # required, accepts APPLY_IAM_POLICY, APPLY_SCP_POLICY, RUN_SSM_DOCUMENTS
645
- # action_threshold: { # required
646
- # action_threshold_value: 1.0, # required
647
- # action_threshold_type: "PERCENTAGE", # required, accepts PERCENTAGE, ABSOLUTE_VALUE
648
- # },
649
- # definition: { # required
650
- # iam_action_definition: {
651
- # policy_arn: "PolicyArn", # required
652
- # roles: ["Role"],
653
- # groups: ["Group"],
654
- # users: ["User"],
655
- # },
656
- # scp_action_definition: {
657
- # policy_id: "PolicyId", # required
658
- # target_ids: ["TargetId"], # required
659
- # },
660
- # ssm_action_definition: {
661
- # action_sub_type: "STOP_EC2_INSTANCES", # required, accepts STOP_EC2_INSTANCES, STOP_RDS_INSTANCES
662
- # region: "Region", # required
663
- # instance_ids: ["InstanceId"], # required
664
- # },
665
- # },
666
- # execution_role_arn: "RoleArn", # required
667
- # approval_model: "AUTOMATIC", # required, accepts AUTOMATIC, MANUAL
668
- # subscribers: [ # required
669
- # {
670
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
671
- # address: "SubscriberAddress", # required
672
- # },
673
- # ],
674
- # }
675
- #
676
528
  # @!attribute [rw] account_id
677
529
  # The account ID of the user. It's a 12-digit number.
678
530
  # @return [String]
@@ -751,84 +603,6 @@ module Aws::Budgets
751
603
 
752
604
  # Request of CreateBudget
753
605
  #
754
- # @note When making an API call, you may pass CreateBudgetRequest
755
- # data as a hash:
756
- #
757
- # {
758
- # account_id: "AccountId", # required
759
- # budget: { # required
760
- # budget_name: "BudgetName", # required
761
- # budget_limit: {
762
- # amount: "NumericValue", # required
763
- # unit: "UnitValue", # required
764
- # },
765
- # planned_budget_limits: {
766
- # "GenericString" => {
767
- # amount: "NumericValue", # required
768
- # unit: "UnitValue", # required
769
- # },
770
- # },
771
- # cost_filters: {
772
- # "GenericString" => ["DimensionValue"],
773
- # },
774
- # cost_types: {
775
- # include_tax: false,
776
- # include_subscription: false,
777
- # use_blended: false,
778
- # include_refund: false,
779
- # include_credit: false,
780
- # include_upfront: false,
781
- # include_recurring: false,
782
- # include_other_subscription: false,
783
- # include_support: false,
784
- # include_discount: false,
785
- # use_amortized: false,
786
- # },
787
- # time_unit: "DAILY", # required, accepts DAILY, MONTHLY, QUARTERLY, ANNUALLY
788
- # time_period: {
789
- # start: Time.now,
790
- # end: Time.now,
791
- # },
792
- # calculated_spend: {
793
- # actual_spend: { # required
794
- # amount: "NumericValue", # required
795
- # unit: "UnitValue", # required
796
- # },
797
- # forecasted_spend: {
798
- # amount: "NumericValue", # required
799
- # unit: "UnitValue", # required
800
- # },
801
- # },
802
- # budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, SAVINGS_PLANS_COVERAGE
803
- # last_updated_time: Time.now,
804
- # auto_adjust_data: {
805
- # auto_adjust_type: "HISTORICAL", # required, accepts HISTORICAL, FORECAST
806
- # historical_options: {
807
- # budget_adjustment_period: 1, # required
808
- # look_back_available_periods: 1,
809
- # },
810
- # last_auto_adjust_time: Time.now,
811
- # },
812
- # },
813
- # notifications_with_subscribers: [
814
- # {
815
- # notification: { # required
816
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
817
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
818
- # threshold: 1.0, # required
819
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
820
- # notification_state: "OK", # accepts OK, ALARM
821
- # },
822
- # subscribers: [ # required
823
- # {
824
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
825
- # address: "SubscriberAddress", # required
826
- # },
827
- # ],
828
- # },
829
- # ],
830
- # }
831
- #
832
606
  # @!attribute [rw] account_id
833
607
  # The `accountId` that is associated with the budget.
834
608
  # @return [String]
@@ -859,27 +633,6 @@ module Aws::Budgets
859
633
 
860
634
  # Request of CreateNotification
861
635
  #
862
- # @note When making an API call, you may pass CreateNotificationRequest
863
- # data as a hash:
864
- #
865
- # {
866
- # account_id: "AccountId", # required
867
- # budget_name: "BudgetName", # required
868
- # notification: { # required
869
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
870
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
871
- # threshold: 1.0, # required
872
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
873
- # notification_state: "OK", # accepts OK, ALARM
874
- # },
875
- # subscribers: [ # required
876
- # {
877
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
878
- # address: "SubscriberAddress", # required
879
- # },
880
- # ],
881
- # }
882
- #
883
636
  # @!attribute [rw] account_id
884
637
  # The `accountId` that is associated with the budget that you want to
885
638
  # create a notification for.
@@ -915,25 +668,6 @@ module Aws::Budgets
915
668
 
916
669
  # Request of CreateSubscriber
917
670
  #
918
- # @note When making an API call, you may pass CreateSubscriberRequest
919
- # data as a hash:
920
- #
921
- # {
922
- # account_id: "AccountId", # required
923
- # budget_name: "BudgetName", # required
924
- # notification: { # required
925
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
926
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
927
- # threshold: 1.0, # required
928
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
929
- # notification_state: "OK", # accepts OK, ALARM
930
- # },
931
- # subscriber: { # required
932
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
933
- # address: "SubscriberAddress", # required
934
- # },
935
- # }
936
- #
937
671
  # @!attribute [rw] account_id
938
672
  # The `accountId` that is associated with the budget that you want to
939
673
  # create a subscriber for.
@@ -980,27 +714,6 @@ module Aws::Budgets
980
714
 
981
715
  # Specifies all of the type-specific parameters.
982
716
  #
983
- # @note When making an API call, you may pass Definition
984
- # data as a hash:
985
- #
986
- # {
987
- # iam_action_definition: {
988
- # policy_arn: "PolicyArn", # required
989
- # roles: ["Role"],
990
- # groups: ["Group"],
991
- # users: ["User"],
992
- # },
993
- # scp_action_definition: {
994
- # policy_id: "PolicyId", # required
995
- # target_ids: ["TargetId"], # required
996
- # },
997
- # ssm_action_definition: {
998
- # action_sub_type: "STOP_EC2_INSTANCES", # required, accepts STOP_EC2_INSTANCES, STOP_RDS_INSTANCES
999
- # region: "Region", # required
1000
- # instance_ids: ["InstanceId"], # required
1001
- # },
1002
- # }
1003
- #
1004
717
  # @!attribute [rw] iam_action_definition
1005
718
  # The Identity and Access Management (IAM) action definition details.
1006
719
  # @return [Types::IamActionDefinition]
@@ -1022,15 +735,6 @@ module Aws::Budgets
1022
735
  include Aws::Structure
1023
736
  end
1024
737
 
1025
- # @note When making an API call, you may pass DeleteBudgetActionRequest
1026
- # data as a hash:
1027
- #
1028
- # {
1029
- # account_id: "AccountId", # required
1030
- # budget_name: "BudgetName", # required
1031
- # action_id: "ActionId", # required
1032
- # }
1033
- #
1034
738
  # @!attribute [rw] account_id
1035
739
  # The account ID of the user. It's a 12-digit number.
1036
740
  # @return [String]
@@ -1076,14 +780,6 @@ module Aws::Budgets
1076
780
 
1077
781
  # Request of DeleteBudget
1078
782
  #
1079
- # @note When making an API call, you may pass DeleteBudgetRequest
1080
- # data as a hash:
1081
- #
1082
- # {
1083
- # account_id: "AccountId", # required
1084
- # budget_name: "BudgetName", # required
1085
- # }
1086
- #
1087
783
  # @!attribute [rw] account_id
1088
784
  # The `accountId` that is associated with the budget that you want to
1089
785
  # delete.
@@ -1106,21 +802,6 @@ module Aws::Budgets
1106
802
 
1107
803
  # Request of DeleteNotification
1108
804
  #
1109
- # @note When making an API call, you may pass DeleteNotificationRequest
1110
- # data as a hash:
1111
- #
1112
- # {
1113
- # account_id: "AccountId", # required
1114
- # budget_name: "BudgetName", # required
1115
- # notification: { # required
1116
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
1117
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
1118
- # threshold: 1.0, # required
1119
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
1120
- # notification_state: "OK", # accepts OK, ALARM
1121
- # },
1122
- # }
1123
- #
1124
805
  # @!attribute [rw] account_id
1125
806
  # The `accountId` that is associated with the budget whose
1126
807
  # notification you want to delete.
@@ -1148,25 +829,6 @@ module Aws::Budgets
1148
829
 
1149
830
  # Request of DeleteSubscriber
1150
831
  #
1151
- # @note When making an API call, you may pass DeleteSubscriberRequest
1152
- # data as a hash:
1153
- #
1154
- # {
1155
- # account_id: "AccountId", # required
1156
- # budget_name: "BudgetName", # required
1157
- # notification: { # required
1158
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
1159
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
1160
- # threshold: 1.0, # required
1161
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
1162
- # notification_state: "OK", # accepts OK, ALARM
1163
- # },
1164
- # subscriber: { # required
1165
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
1166
- # address: "SubscriberAddress", # required
1167
- # },
1168
- # }
1169
- #
1170
832
  # @!attribute [rw] account_id
1171
833
  # The `accountId` that is associated with the budget whose subscriber
1172
834
  # you want to delete.
@@ -1197,21 +859,6 @@ module Aws::Budgets
1197
859
  #
1198
860
  class DeleteSubscriberResponse < Aws::EmptyStructure; end
1199
861
 
1200
- # @note When making an API call, you may pass DescribeBudgetActionHistoriesRequest
1201
- # data as a hash:
1202
- #
1203
- # {
1204
- # account_id: "AccountId", # required
1205
- # budget_name: "BudgetName", # required
1206
- # action_id: "ActionId", # required
1207
- # time_period: {
1208
- # start: Time.now,
1209
- # end: Time.now,
1210
- # },
1211
- # max_results: 1,
1212
- # next_token: "GenericString",
1213
- # }
1214
- #
1215
862
  # @!attribute [rw] account_id
1216
863
  # The account ID of the user. It's a 12-digit number.
1217
864
  # @return [String]
@@ -1267,15 +914,6 @@ module Aws::Budgets
1267
914
  include Aws::Structure
1268
915
  end
1269
916
 
1270
- # @note When making an API call, you may pass DescribeBudgetActionRequest
1271
- # data as a hash:
1272
- #
1273
- # {
1274
- # account_id: "AccountId", # required
1275
- # budget_name: "BudgetName", # required
1276
- # action_id: "ActionId", # required
1277
- # }
1278
- #
1279
917
  # @!attribute [rw] account_id
1280
918
  # The account ID of the user. It's a 12-digit number.
1281
919
  # @return [String]
@@ -1319,15 +957,6 @@ module Aws::Budgets
1319
957
  include Aws::Structure
1320
958
  end
1321
959
 
1322
- # @note When making an API call, you may pass DescribeBudgetActionsForAccountRequest
1323
- # data as a hash:
1324
- #
1325
- # {
1326
- # account_id: "AccountId", # required
1327
- # max_results: 1,
1328
- # next_token: "GenericString",
1329
- # }
1330
- #
1331
960
  # @!attribute [rw] account_id
1332
961
  # The account ID of the user. It's a 12-digit number.
1333
962
  # @return [String]
@@ -1364,16 +993,6 @@ module Aws::Budgets
1364
993
  include Aws::Structure
1365
994
  end
1366
995
 
1367
- # @note When making an API call, you may pass DescribeBudgetActionsForBudgetRequest
1368
- # data as a hash:
1369
- #
1370
- # {
1371
- # account_id: "AccountId", # required
1372
- # budget_name: "BudgetName", # required
1373
- # max_results: 1,
1374
- # next_token: "GenericString",
1375
- # }
1376
- #
1377
996
  # @!attribute [rw] account_id
1378
997
  # The account ID of the user. It's a 12-digit number.
1379
998
  # @return [String]
@@ -1416,15 +1035,6 @@ module Aws::Budgets
1416
1035
  include Aws::Structure
1417
1036
  end
1418
1037
 
1419
- # @note When making an API call, you may pass DescribeBudgetNotificationsForAccountRequest
1420
- # data as a hash:
1421
- #
1422
- # {
1423
- # account_id: "AccountId", # required
1424
- # max_results: 1,
1425
- # next_token: "GenericString",
1426
- # }
1427
- #
1428
1038
  # @!attribute [rw] account_id
1429
1039
  # The account ID of the user. It's a 12-digit number.
1430
1040
  # @return [String]
@@ -1461,20 +1071,6 @@ module Aws::Budgets
1461
1071
  include Aws::Structure
1462
1072
  end
1463
1073
 
1464
- # @note When making an API call, you may pass DescribeBudgetPerformanceHistoryRequest
1465
- # data as a hash:
1466
- #
1467
- # {
1468
- # account_id: "AccountId", # required
1469
- # budget_name: "BudgetName", # required
1470
- # time_period: {
1471
- # start: Time.now,
1472
- # end: Time.now,
1473
- # },
1474
- # max_results: 1,
1475
- # next_token: "GenericString",
1476
- # }
1477
- #
1478
1074
  # @!attribute [rw] account_id
1479
1075
  # The account ID of the user. It's a 12-digit number.
1480
1076
  # @return [String]
@@ -1531,14 +1127,6 @@ module Aws::Budgets
1531
1127
 
1532
1128
  # Request of DescribeBudget
1533
1129
  #
1534
- # @note When making an API call, you may pass DescribeBudgetRequest
1535
- # data as a hash:
1536
- #
1537
- # {
1538
- # account_id: "AccountId", # required
1539
- # budget_name: "BudgetName", # required
1540
- # }
1541
- #
1542
1130
  # @!attribute [rw] account_id
1543
1131
  # The `accountId` that is associated with the budget that you want a
1544
1132
  # description of.
@@ -1569,15 +1157,6 @@ module Aws::Budgets
1569
1157
 
1570
1158
  # Request of DescribeBudgets
1571
1159
  #
1572
- # @note When making an API call, you may pass DescribeBudgetsRequest
1573
- # data as a hash:
1574
- #
1575
- # {
1576
- # account_id: "AccountId", # required
1577
- # max_results: 1,
1578
- # next_token: "GenericString",
1579
- # }
1580
- #
1581
1160
  # @!attribute [rw] account_id
1582
1161
  # The `accountId` that is associated with the budgets that you want
1583
1162
  # descriptions of.
@@ -1621,16 +1200,6 @@ module Aws::Budgets
1621
1200
 
1622
1201
  # Request of DescribeNotificationsForBudget
1623
1202
  #
1624
- # @note When making an API call, you may pass DescribeNotificationsForBudgetRequest
1625
- # data as a hash:
1626
- #
1627
- # {
1628
- # account_id: "AccountId", # required
1629
- # budget_name: "BudgetName", # required
1630
- # max_results: 1,
1631
- # next_token: "GenericString",
1632
- # }
1633
- #
1634
1203
  # @!attribute [rw] account_id
1635
1204
  # The `accountId` that is associated with the budget whose
1636
1205
  # notifications you want descriptions of.
@@ -1679,23 +1248,6 @@ module Aws::Budgets
1679
1248
 
1680
1249
  # Request of DescribeSubscribersForNotification
1681
1250
  #
1682
- # @note When making an API call, you may pass DescribeSubscribersForNotificationRequest
1683
- # data as a hash:
1684
- #
1685
- # {
1686
- # account_id: "AccountId", # required
1687
- # budget_name: "BudgetName", # required
1688
- # notification: { # required
1689
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
1690
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
1691
- # threshold: 1.0, # required
1692
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
1693
- # notification_state: "OK", # accepts OK, ALARM
1694
- # },
1695
- # max_results: 1,
1696
- # next_token: "GenericString",
1697
- # }
1698
- #
1699
1251
  # @!attribute [rw] account_id
1700
1252
  # The `accountId` that is associated with the budget whose subscribers
1701
1253
  # you want descriptions of.
@@ -1760,16 +1312,6 @@ module Aws::Budgets
1760
1312
  include Aws::Structure
1761
1313
  end
1762
1314
 
1763
- # @note When making an API call, you may pass ExecuteBudgetActionRequest
1764
- # data as a hash:
1765
- #
1766
- # {
1767
- # account_id: "AccountId", # required
1768
- # budget_name: "BudgetName", # required
1769
- # action_id: "ActionId", # required
1770
- # execution_type: "APPROVE_BUDGET_ACTION", # required, accepts APPROVE_BUDGET_ACTION, RETRY_BUDGET_ACTION, REVERSE_BUDGET_ACTION, RESET_BUDGET_ACTION
1771
- # }
1772
- #
1773
1315
  # @!attribute [rw] account_id
1774
1316
  # The account ID of the user. It's a 12-digit number.
1775
1317
  # @return [String]
@@ -1839,14 +1381,6 @@ module Aws::Budgets
1839
1381
  # The parameters that define or describe the historical data that your
1840
1382
  # auto-adjusting budget is based on.
1841
1383
  #
1842
- # @note When making an API call, you may pass HistoricalOptions
1843
- # data as a hash:
1844
- #
1845
- # {
1846
- # budget_adjustment_period: 1, # required
1847
- # look_back_available_periods: 1,
1848
- # }
1849
- #
1850
1384
  # @!attribute [rw] budget_adjustment_period
1851
1385
  # The number of budget periods included in the moving-average
1852
1386
  # calculation that determines your auto-adjusted budget amount. The
@@ -1887,16 +1421,6 @@ module Aws::Budgets
1887
1421
 
1888
1422
  # The Identity and Access Management (IAM) action definition details.
1889
1423
  #
1890
- # @note When making an API call, you may pass IamActionDefinition
1891
- # data as a hash:
1892
- #
1893
- # {
1894
- # policy_arn: "PolicyArn", # required
1895
- # roles: ["Role"],
1896
- # groups: ["Group"],
1897
- # users: ["User"],
1898
- # }
1899
- #
1900
1424
  # @!attribute [rw] policy_arn
1901
1425
  # The Amazon Resource Name (ARN) of the policy to be attached.
1902
1426
  # @return [String]
@@ -1991,17 +1515,6 @@ module Aws::Budgets
1991
1515
  #
1992
1516
  # * A notification `threshold` of `80`
1993
1517
  #
1994
- # @note When making an API call, you may pass Notification
1995
- # data as a hash:
1996
- #
1997
- # {
1998
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
1999
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
2000
- # threshold: 1.0, # required
2001
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
2002
- # notification_state: "OK", # accepts OK, ALARM
2003
- # }
2004
- #
2005
1518
  # @!attribute [rw] notification_type
2006
1519
  # Specifies whether the notification is for how much you have spent
2007
1520
  # (`ACTUAL`) or for how much that you're forecasted to spend
@@ -2050,25 +1563,6 @@ module Aws::Budgets
2050
1563
  # subscriber and up to 10 email subscribers, for a total of 11
2051
1564
  # subscribers.
2052
1565
  #
2053
- # @note When making an API call, you may pass NotificationWithSubscribers
2054
- # data as a hash:
2055
- #
2056
- # {
2057
- # notification: { # required
2058
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
2059
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
2060
- # threshold: 1.0, # required
2061
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
2062
- # notification_state: "OK", # accepts OK, ALARM
2063
- # },
2064
- # subscribers: [ # required
2065
- # {
2066
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
2067
- # address: "SubscriberAddress", # required
2068
- # },
2069
- # ],
2070
- # }
2071
- #
2072
1566
  # @!attribute [rw] notification
2073
1567
  # The notification that's associated with a budget.
2074
1568
  # @return [Types::Notification]
@@ -2099,14 +1593,6 @@ module Aws::Budgets
2099
1593
 
2100
1594
  # The service control policies (SCP) action definition details.
2101
1595
  #
2102
- # @note When making an API call, you may pass ScpActionDefinition
2103
- # data as a hash:
2104
- #
2105
- # {
2106
- # policy_id: "PolicyId", # required
2107
- # target_ids: ["TargetId"], # required
2108
- # }
2109
- #
2110
1596
  # @!attribute [rw] policy_id
2111
1597
  # The policy ID attached.
2112
1598
  # @return [String]
@@ -2131,14 +1617,6 @@ module Aws::Budgets
2131
1617
  #
2132
1618
  # * A `unit` of `GB`
2133
1619
  #
2134
- # @note When making an API call, you may pass Spend
2135
- # data as a hash:
2136
- #
2137
- # {
2138
- # amount: "NumericValue", # required
2139
- # unit: "UnitValue", # required
2140
- # }
2141
- #
2142
1620
  # @!attribute [rw] amount
2143
1621
  # The cost or usage amount that's associated with a budget forecast,
2144
1622
  # actual spend, or budget threshold.
@@ -2159,15 +1637,6 @@ module Aws::Budgets
2159
1637
  # The Amazon Web Services Systems Manager (SSM) action definition
2160
1638
  # details.
2161
1639
  #
2162
- # @note When making an API call, you may pass SsmActionDefinition
2163
- # data as a hash:
2164
- #
2165
- # {
2166
- # action_sub_type: "STOP_EC2_INSTANCES", # required, accepts STOP_EC2_INSTANCES, STOP_RDS_INSTANCES
2167
- # region: "Region", # required
2168
- # instance_ids: ["InstanceId"], # required
2169
- # }
2170
- #
2171
1640
  # @!attribute [rw] action_sub_type
2172
1641
  # The action subType.
2173
1642
  # @return [String]
@@ -2197,14 +1666,6 @@ module Aws::Budgets
2197
1666
  #
2198
1667
  # * An `address` of `example@example.com`
2199
1668
  #
2200
- # @note When making an API call, you may pass Subscriber
2201
- # data as a hash:
2202
- #
2203
- # {
2204
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
2205
- # address: "SubscriberAddress", # required
2206
- # }
2207
- #
2208
1669
  # @!attribute [rw] subscription_type
2209
1670
  # The type of notification that Amazon Web Services sends to a
2210
1671
  # subscriber.
@@ -2242,14 +1703,6 @@ module Aws::Budgets
2242
1703
  # date and an end date. The start date must come before the end date.
2243
1704
  # There are no restrictions on the end date.
2244
1705
  #
2245
- # @note When making an API call, you may pass TimePeriod
2246
- # data as a hash:
2247
- #
2248
- # {
2249
- # start: Time.now,
2250
- # end: Time.now,
2251
- # }
2252
- #
2253
1706
  # @!attribute [rw] start
2254
1707
  # The start date for a budget. If you created your budget and didn't
2255
1708
  # specify a start date, Amazon Web Services defaults to the start of
@@ -2282,45 +1735,6 @@ module Aws::Budgets
2282
1735
  include Aws::Structure
2283
1736
  end
2284
1737
 
2285
- # @note When making an API call, you may pass UpdateBudgetActionRequest
2286
- # data as a hash:
2287
- #
2288
- # {
2289
- # account_id: "AccountId", # required
2290
- # budget_name: "BudgetName", # required
2291
- # action_id: "ActionId", # required
2292
- # notification_type: "ACTUAL", # accepts ACTUAL, FORECASTED
2293
- # action_threshold: {
2294
- # action_threshold_value: 1.0, # required
2295
- # action_threshold_type: "PERCENTAGE", # required, accepts PERCENTAGE, ABSOLUTE_VALUE
2296
- # },
2297
- # definition: {
2298
- # iam_action_definition: {
2299
- # policy_arn: "PolicyArn", # required
2300
- # roles: ["Role"],
2301
- # groups: ["Group"],
2302
- # users: ["User"],
2303
- # },
2304
- # scp_action_definition: {
2305
- # policy_id: "PolicyId", # required
2306
- # target_ids: ["TargetId"], # required
2307
- # },
2308
- # ssm_action_definition: {
2309
- # action_sub_type: "STOP_EC2_INSTANCES", # required, accepts STOP_EC2_INSTANCES, STOP_RDS_INSTANCES
2310
- # region: "Region", # required
2311
- # instance_ids: ["InstanceId"], # required
2312
- # },
2313
- # },
2314
- # execution_role_arn: "RoleArn",
2315
- # approval_model: "AUTOMATIC", # accepts AUTOMATIC, MANUAL
2316
- # subscribers: [
2317
- # {
2318
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
2319
- # address: "SubscriberAddress", # required
2320
- # },
2321
- # ],
2322
- # }
2323
- #
2324
1738
  # @!attribute [rw] account_id
2325
1739
  # The account ID of the user. It's a 12-digit number.
2326
1740
  # @return [String]
@@ -2402,67 +1816,6 @@ module Aws::Budgets
2402
1816
 
2403
1817
  # Request of UpdateBudget
2404
1818
  #
2405
- # @note When making an API call, you may pass UpdateBudgetRequest
2406
- # data as a hash:
2407
- #
2408
- # {
2409
- # account_id: "AccountId", # required
2410
- # new_budget: { # required
2411
- # budget_name: "BudgetName", # required
2412
- # budget_limit: {
2413
- # amount: "NumericValue", # required
2414
- # unit: "UnitValue", # required
2415
- # },
2416
- # planned_budget_limits: {
2417
- # "GenericString" => {
2418
- # amount: "NumericValue", # required
2419
- # unit: "UnitValue", # required
2420
- # },
2421
- # },
2422
- # cost_filters: {
2423
- # "GenericString" => ["DimensionValue"],
2424
- # },
2425
- # cost_types: {
2426
- # include_tax: false,
2427
- # include_subscription: false,
2428
- # use_blended: false,
2429
- # include_refund: false,
2430
- # include_credit: false,
2431
- # include_upfront: false,
2432
- # include_recurring: false,
2433
- # include_other_subscription: false,
2434
- # include_support: false,
2435
- # include_discount: false,
2436
- # use_amortized: false,
2437
- # },
2438
- # time_unit: "DAILY", # required, accepts DAILY, MONTHLY, QUARTERLY, ANNUALLY
2439
- # time_period: {
2440
- # start: Time.now,
2441
- # end: Time.now,
2442
- # },
2443
- # calculated_spend: {
2444
- # actual_spend: { # required
2445
- # amount: "NumericValue", # required
2446
- # unit: "UnitValue", # required
2447
- # },
2448
- # forecasted_spend: {
2449
- # amount: "NumericValue", # required
2450
- # unit: "UnitValue", # required
2451
- # },
2452
- # },
2453
- # budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, SAVINGS_PLANS_COVERAGE
2454
- # last_updated_time: Time.now,
2455
- # auto_adjust_data: {
2456
- # auto_adjust_type: "HISTORICAL", # required, accepts HISTORICAL, FORECAST
2457
- # historical_options: {
2458
- # budget_adjustment_period: 1, # required
2459
- # look_back_available_periods: 1,
2460
- # },
2461
- # last_auto_adjust_time: Time.now,
2462
- # },
2463
- # },
2464
- # }
2465
- #
2466
1819
  # @!attribute [rw] account_id
2467
1820
  # The `accountId` that is associated with the budget that you want to
2468
1821
  # update.
@@ -2485,28 +1838,6 @@ module Aws::Budgets
2485
1838
 
2486
1839
  # Request of UpdateNotification
2487
1840
  #
2488
- # @note When making an API call, you may pass UpdateNotificationRequest
2489
- # data as a hash:
2490
- #
2491
- # {
2492
- # account_id: "AccountId", # required
2493
- # budget_name: "BudgetName", # required
2494
- # old_notification: { # required
2495
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
2496
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
2497
- # threshold: 1.0, # required
2498
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
2499
- # notification_state: "OK", # accepts OK, ALARM
2500
- # },
2501
- # new_notification: { # required
2502
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
2503
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
2504
- # threshold: 1.0, # required
2505
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
2506
- # notification_state: "OK", # accepts OK, ALARM
2507
- # },
2508
- # }
2509
- #
2510
1841
  # @!attribute [rw] account_id
2511
1842
  # The `accountId` that is associated with the budget whose
2512
1843
  # notification you want to update.
@@ -2539,29 +1870,6 @@ module Aws::Budgets
2539
1870
 
2540
1871
  # Request of UpdateSubscriber
2541
1872
  #
2542
- # @note When making an API call, you may pass UpdateSubscriberRequest
2543
- # data as a hash:
2544
- #
2545
- # {
2546
- # account_id: "AccountId", # required
2547
- # budget_name: "BudgetName", # required
2548
- # notification: { # required
2549
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
2550
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
2551
- # threshold: 1.0, # required
2552
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
2553
- # notification_state: "OK", # accepts OK, ALARM
2554
- # },
2555
- # old_subscriber: { # required
2556
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
2557
- # address: "SubscriberAddress", # required
2558
- # },
2559
- # new_subscriber: { # required
2560
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
2561
- # address: "SubscriberAddress", # required
2562
- # },
2563
- # }
2564
- #
2565
1873
  # @!attribute [rw] account_id
2566
1874
  # The `accountId` that is associated with the budget whose subscriber
2567
1875
  # you want to update.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-budgets/customizations'
52
52
  # @!group service
53
53
  module Aws::Budgets
54
54
 
55
- GEM_VERSION = '1.51.0'
55
+ GEM_VERSION = '1.52.0'
56
56
 
57
57
  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.51.0
4
+ version: 1.52.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-10-25 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core