aws-sdk-budgets 1.90.0 → 1.91.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
2
  SHA256:
3
- metadata.gz: 7d4e438254c40dd434c0e5f5b31a61b04476716c54b91d9be105dd131f57df03
4
- data.tar.gz: 5957eee104bc8bcf2d398976f6ec435c638f1b44b7914adb1757a7ede76fc293
3
+ metadata.gz: 35bdfde2a22cdd48e6ec3db0d0471f469c2b83907ec981cc6e1d082a8928a80f
4
+ data.tar.gz: eaf524f5c970dc075a6b940e8a124deef739398a35389f68990bc87c77e1beff
5
5
  SHA512:
6
- metadata.gz: a8d4e1d1b7a6807f50bcb9b853fff48adcebb4032533cc06bfe8e40723d1acdf4df1e93b0872f13d1d0d080d0b373581093d85ec6ce92f51791c70a8bee8e043
7
- data.tar.gz: 00c877d3d736c7a1528d7f8b0f95996e726f9c12b251140238bdb467ed18737536d71e6731d62c3bbc30bc13cd133e59a0de14bb45240a4d3a86903aa6974747
6
+ metadata.gz: d34428b0f5205d6a76b094b8887fcefc183beafb1b22da9c23913f59dfbcb2cacec0d8172207883fb0f3b802d0f80c1872880c5fa6ec99fdf045fb5bd8a662d9
7
+ data.tar.gz: 20369d57f7a831896849eae9924ba9598fc51624fed30f2133f84e97e281458d1ebef3a41d16ee27ee9e18ac76e09670e83b6d6bbaab578be9429ef16d1ca6df
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.91.0 (2025-08-06)
5
+ ------------------
6
+
7
+ * Feature - Adds support for billing views. Billing views let you control access to cost and usage data through an AWS resource, streamlining the process of sharing cost and usage data across account boundaries. With this release, you can now create and view budgets based on billing views.
8
+
4
9
  1.90.0 (2025-08-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.90.0
1
+ 1.91.0
@@ -610,6 +610,12 @@ module Aws::Budgets
610
610
  # },
611
611
  # },
612
612
  # metrics: ["BlendedCost"], # accepts BlendedCost, UnblendedCost, AmortizedCost, NetUnblendedCost, NetAmortizedCost, UsageQuantity, NormalizedUsageAmount, Hours
613
+ # billing_view_arn: "BillingViewArn",
614
+ # health_status: {
615
+ # status: "HEALTHY", # accepts HEALTHY, UNHEALTHY
616
+ # status_reason: "BILLING_VIEW_NO_ACCESS", # accepts BILLING_VIEW_NO_ACCESS, BILLING_VIEW_UNHEALTHY, FILTER_INVALID
617
+ # last_updated_time: Time.now,
618
+ # },
613
619
  # },
614
620
  # notifications_with_subscribers: [
615
621
  # {
@@ -1103,6 +1109,10 @@ module Aws::Budgets
1103
1109
  # resp.budget.filter_expression.cost_categories.match_options[0] #=> String, one of "EQUALS", "ABSENT", "STARTS_WITH", "ENDS_WITH", "CONTAINS", "GREATER_THAN_OR_EQUAL", "CASE_SENSITIVE", "CASE_INSENSITIVE"
1104
1110
  # resp.budget.metrics #=> Array
1105
1111
  # resp.budget.metrics[0] #=> String, one of "BlendedCost", "UnblendedCost", "AmortizedCost", "NetUnblendedCost", "NetAmortizedCost", "UsageQuantity", "NormalizedUsageAmount", "Hours"
1112
+ # resp.budget.billing_view_arn #=> String
1113
+ # resp.budget.health_status.status #=> String, one of "HEALTHY", "UNHEALTHY"
1114
+ # resp.budget.health_status.status_reason #=> String, one of "BILLING_VIEW_NO_ACCESS", "BILLING_VIEW_UNHEALTHY", "FILTER_INVALID"
1115
+ # resp.budget.health_status.last_updated_time #=> Time
1106
1116
  #
1107
1117
  # @overload describe_budget(params = {})
1108
1118
  # @param [Hash] params ({})
@@ -1506,6 +1516,7 @@ module Aws::Budgets
1506
1516
  # resp.budget_performance_history.cost_types.include_discount #=> Boolean
1507
1517
  # resp.budget_performance_history.cost_types.use_amortized #=> Boolean
1508
1518
  # resp.budget_performance_history.time_unit #=> String, one of "DAILY", "MONTHLY", "QUARTERLY", "ANNUALLY"
1519
+ # resp.budget_performance_history.billing_view_arn #=> String
1509
1520
  # resp.budget_performance_history.budgeted_and_actual_amounts_list #=> Array
1510
1521
  # resp.budget_performance_history.budgeted_and_actual_amounts_list[0].budgeted_amount.amount #=> String
1511
1522
  # resp.budget_performance_history.budgeted_and_actual_amounts_list[0].budgeted_amount.unit #=> String
@@ -1623,6 +1634,10 @@ module Aws::Budgets
1623
1634
  # resp.budgets[0].filter_expression.cost_categories.match_options[0] #=> String, one of "EQUALS", "ABSENT", "STARTS_WITH", "ENDS_WITH", "CONTAINS", "GREATER_THAN_OR_EQUAL", "CASE_SENSITIVE", "CASE_INSENSITIVE"
1624
1635
  # resp.budgets[0].metrics #=> Array
1625
1636
  # resp.budgets[0].metrics[0] #=> String, one of "BlendedCost", "UnblendedCost", "AmortizedCost", "NetUnblendedCost", "NetAmortizedCost", "UsageQuantity", "NormalizedUsageAmount", "Hours"
1637
+ # resp.budgets[0].billing_view_arn #=> String
1638
+ # resp.budgets[0].health_status.status #=> String, one of "HEALTHY", "UNHEALTHY"
1639
+ # resp.budgets[0].health_status.status_reason #=> String, one of "BILLING_VIEW_NO_ACCESS", "BILLING_VIEW_UNHEALTHY", "FILTER_INVALID"
1640
+ # resp.budgets[0].health_status.last_updated_time #=> Time
1626
1641
  # resp.next_token #=> String
1627
1642
  #
1628
1643
  # @overload describe_budgets(params = {})
@@ -1985,6 +2000,12 @@ module Aws::Budgets
1985
2000
  # },
1986
2001
  # },
1987
2002
  # metrics: ["BlendedCost"], # accepts BlendedCost, UnblendedCost, AmortizedCost, NetUnblendedCost, NetAmortizedCost, UsageQuantity, NormalizedUsageAmount, Hours
2003
+ # billing_view_arn: "BillingViewArn",
2004
+ # health_status: {
2005
+ # status: "HEALTHY", # accepts HEALTHY, UNHEALTHY
2006
+ # status_reason: "BILLING_VIEW_NO_ACCESS", # accepts BILLING_VIEW_NO_ACCESS, BILLING_VIEW_UNHEALTHY, FILTER_INVALID
2007
+ # last_updated_time: Time.now,
2008
+ # },
1988
2009
  # },
1989
2010
  # })
1990
2011
  #
@@ -2248,7 +2269,7 @@ module Aws::Budgets
2248
2269
  tracer: tracer
2249
2270
  )
2250
2271
  context[:gem_name] = 'aws-sdk-budgets'
2251
- context[:gem_version] = '1.90.0'
2272
+ context[:gem_version] = '1.91.0'
2252
2273
  Seahorse::Client::Request.new(handlers, context)
2253
2274
  end
2254
2275
 
@@ -31,6 +31,7 @@ module Aws::Budgets
31
31
  ApprovalModel = Shapes::StringShape.new(name: 'ApprovalModel')
32
32
  AutoAdjustData = Shapes::StructureShape.new(name: 'AutoAdjustData')
33
33
  AutoAdjustType = Shapes::StringShape.new(name: 'AutoAdjustType')
34
+ BillingViewArn = Shapes::StringShape.new(name: 'BillingViewArn')
34
35
  Budget = Shapes::StructureShape.new(name: 'Budget')
35
36
  BudgetName = Shapes::StringShape.new(name: 'BudgetName')
36
37
  BudgetNotificationsForAccount = Shapes::StructureShape.new(name: 'BudgetNotificationsForAccount')
@@ -100,6 +101,9 @@ module Aws::Budgets
100
101
  GenericTimestamp = Shapes::TimestampShape.new(name: 'GenericTimestamp')
101
102
  Group = Shapes::StringShape.new(name: 'Group')
102
103
  Groups = Shapes::ListShape.new(name: 'Groups')
104
+ HealthStatus = Shapes::StructureShape.new(name: 'HealthStatus')
105
+ HealthStatusReason = Shapes::StringShape.new(name: 'HealthStatusReason')
106
+ HealthStatusValue = Shapes::StringShape.new(name: 'HealthStatusValue')
103
107
  HistoricalOptions = Shapes::StructureShape.new(name: 'HistoricalOptions')
104
108
  IamActionDefinition = Shapes::StructureShape.new(name: 'IamActionDefinition')
105
109
  InstanceId = Shapes::StringShape.new(name: 'InstanceId')
@@ -225,6 +229,8 @@ module Aws::Budgets
225
229
  Budget.add_member(:auto_adjust_data, Shapes::ShapeRef.new(shape: AutoAdjustData, location_name: "AutoAdjustData"))
226
230
  Budget.add_member(:filter_expression, Shapes::ShapeRef.new(shape: Expression, location_name: "FilterExpression"))
227
231
  Budget.add_member(:metrics, Shapes::ShapeRef.new(shape: Metrics, location_name: "Metrics"))
232
+ Budget.add_member(:billing_view_arn, Shapes::ShapeRef.new(shape: BillingViewArn, location_name: "BillingViewArn"))
233
+ Budget.add_member(:health_status, Shapes::ShapeRef.new(shape: HealthStatus, location_name: "HealthStatus"))
228
234
  Budget.struct_class = Types::Budget
229
235
 
230
236
  BudgetNotificationsForAccount.add_member(:notifications, Shapes::ShapeRef.new(shape: Notifications, location_name: "Notifications"))
@@ -238,6 +244,7 @@ module Aws::Budgets
238
244
  BudgetPerformanceHistory.add_member(:cost_filters, Shapes::ShapeRef.new(shape: CostFilters, location_name: "CostFilters"))
239
245
  BudgetPerformanceHistory.add_member(:cost_types, Shapes::ShapeRef.new(shape: CostTypes, location_name: "CostTypes"))
240
246
  BudgetPerformanceHistory.add_member(:time_unit, Shapes::ShapeRef.new(shape: TimeUnit, location_name: "TimeUnit"))
247
+ BudgetPerformanceHistory.add_member(:billing_view_arn, Shapes::ShapeRef.new(shape: BillingViewArn, location_name: "BillingViewArn"))
241
248
  BudgetPerformanceHistory.add_member(:budgeted_and_actual_amounts_list, Shapes::ShapeRef.new(shape: BudgetedAndActualAmountsList, location_name: "BudgetedAndActualAmountsList"))
242
249
  BudgetPerformanceHistory.struct_class = Types::BudgetPerformanceHistory
243
250
 
@@ -492,6 +499,11 @@ module Aws::Budgets
492
499
 
493
500
  Groups.member = Shapes::ShapeRef.new(shape: Group)
494
501
 
502
+ HealthStatus.add_member(:status, Shapes::ShapeRef.new(shape: HealthStatusValue, location_name: "Status"))
503
+ HealthStatus.add_member(:status_reason, Shapes::ShapeRef.new(shape: HealthStatusReason, location_name: "StatusReason"))
504
+ HealthStatus.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: GenericTimestamp, location_name: "LastUpdatedTime"))
505
+ HealthStatus.struct_class = Types::HealthStatus
506
+
495
507
  HistoricalOptions.add_member(:budget_adjustment_period, Shapes::ShapeRef.new(shape: AdjustmentPeriod, required: true, location_name: "BudgetAdjustmentPeriod"))
496
508
  HistoricalOptions.add_member(:look_back_available_periods, Shapes::ShapeRef.new(shape: AdjustmentPeriod, location_name: "LookBackAvailablePeriods"))
497
509
  HistoricalOptions.struct_class = Types::HistoricalOptions
@@ -683,6 +695,7 @@ module Aws::Budgets
683
695
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
684
696
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
685
697
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
698
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
686
699
  end)
687
700
 
688
701
  api.add_operation(:create_budget_action, Seahorse::Model::Operation.new.tap do |o|
@@ -318,6 +318,19 @@ module Aws::Budgets
318
318
  # The definition for how the budget data is aggregated.
319
319
  # @return [Array<String>]
320
320
  #
321
+ # @!attribute [rw] billing_view_arn
322
+ # The Amazon Resource Name (ARN) that uniquely identifies a specific
323
+ # billing view. The ARN is used to specify which particular billing
324
+ # view you want to interact with or retrieve information from when
325
+ # making API calls related to Amazon Web Services Billing and Cost
326
+ # Management features. The BillingViewArn can be retrieved by calling
327
+ # the ListBillingViews API.
328
+ # @return [String]
329
+ #
330
+ # @!attribute [rw] health_status
331
+ # The current operational state of a Billing View derived resource.
332
+ # @return [Types::HealthStatus]
333
+ #
321
334
  class Budget < Struct.new(
322
335
  :budget_name,
323
336
  :budget_limit,
@@ -331,7 +344,9 @@ module Aws::Budgets
331
344
  :last_updated_time,
332
345
  :auto_adjust_data,
333
346
  :filter_expression,
334
- :metrics)
347
+ :metrics,
348
+ :billing_view_arn,
349
+ :health_status)
335
350
  SENSITIVE = []
336
351
  include Aws::Structure
337
352
  end
@@ -383,6 +398,15 @@ module Aws::Budgets
383
398
  # The time unit of the budget, such as MONTHLY or QUARTERLY.
384
399
  # @return [String]
385
400
  #
401
+ # @!attribute [rw] billing_view_arn
402
+ # The Amazon Resource Name (ARN) that uniquely identifies a specific
403
+ # billing view. The ARN is used to specify which particular billing
404
+ # view you want to interact with or retrieve information from when
405
+ # making API calls related to Amazon Web Services Billing and Cost
406
+ # Management features. The BillingViewArn can be retrieved by calling
407
+ # the ListBillingViews API.
408
+ # @return [String]
409
+ #
386
410
  # @!attribute [rw] budgeted_and_actual_amounts_list
387
411
  # A list of amounts of cost or usage that you created budgets for,
388
412
  # which are compared to your actual costs or usage.
@@ -394,6 +418,7 @@ module Aws::Budgets
394
418
  :cost_filters,
395
419
  :cost_types,
396
420
  :time_unit,
421
+ :billing_view_arn,
397
422
  :budgeted_and_actual_amounts_list)
398
423
  SENSITIVE = []
399
424
  include Aws::Structure
@@ -1503,6 +1528,39 @@ module Aws::Budgets
1503
1528
  include Aws::Structure
1504
1529
  end
1505
1530
 
1531
+ # Provides information about the current operational state of a billing
1532
+ # view resource, including its ability to access and update based on its
1533
+ # associated billing view.
1534
+ #
1535
+ # @!attribute [rw] status
1536
+ # The current status of the billing view resource.
1537
+ # @return [String]
1538
+ #
1539
+ # @!attribute [rw] status_reason
1540
+ # The reason for the current status.
1541
+ #
1542
+ # * `BILLING_VIEW_NO_ACCESS`: The billing view resource does not grant
1543
+ # `billing:GetBillingViewData` permission to this account.
1544
+ #
1545
+ # * `BILLING_VIEW_UNHEALTHY`: The billing view associated with the
1546
+ # budget is unhealthy.
1547
+ #
1548
+ # * `FILTER_INVALID`: The filter contains reference to an account you
1549
+ # do not have access to.
1550
+ # @return [String]
1551
+ #
1552
+ # @!attribute [rw] last_updated_time
1553
+ # A generic time stamp. In Java, it's transformed to a `Date` object.
1554
+ # @return [Time]
1555
+ #
1556
+ class HealthStatus < Struct.new(
1557
+ :status,
1558
+ :status_reason,
1559
+ :last_updated_time)
1560
+ SENSITIVE = []
1561
+ include Aws::Structure
1562
+ end
1563
+
1506
1564
  # The parameters that define or describe the historical data that your
1507
1565
  # auto-adjusting budget is based on.
1508
1566
  #
@@ -54,7 +54,7 @@ module Aws::Budgets
54
54
  autoload :EndpointProvider, 'aws-sdk-budgets/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-budgets/endpoints'
56
56
 
57
- GEM_VERSION = '1.90.0'
57
+ GEM_VERSION = '1.91.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -158,7 +158,13 @@ module Aws
158
158
  match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
159
159
  }?
160
160
  }?,
161
- metrics: Array[("BlendedCost" | "UnblendedCost" | "AmortizedCost" | "NetUnblendedCost" | "NetAmortizedCost" | "UsageQuantity" | "NormalizedUsageAmount" | "Hours")]?
161
+ metrics: Array[("BlendedCost" | "UnblendedCost" | "AmortizedCost" | "NetUnblendedCost" | "NetAmortizedCost" | "UsageQuantity" | "NormalizedUsageAmount" | "Hours")]?,
162
+ billing_view_arn: ::String?,
163
+ health_status: {
164
+ status: ("HEALTHY" | "UNHEALTHY")?,
165
+ status_reason: ("BILLING_VIEW_NO_ACCESS" | "BILLING_VIEW_UNHEALTHY" | "FILTER_INVALID")?,
166
+ last_updated_time: ::Time?
167
+ }?
162
168
  },
163
169
  ?notifications_with_subscribers: Array[
164
170
  {
@@ -624,7 +630,13 @@ module Aws
624
630
  match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
625
631
  }?
626
632
  }?,
627
- metrics: Array[("BlendedCost" | "UnblendedCost" | "AmortizedCost" | "NetUnblendedCost" | "NetAmortizedCost" | "UsageQuantity" | "NormalizedUsageAmount" | "Hours")]?
633
+ metrics: Array[("BlendedCost" | "UnblendedCost" | "AmortizedCost" | "NetUnblendedCost" | "NetAmortizedCost" | "UsageQuantity" | "NormalizedUsageAmount" | "Hours")]?,
634
+ billing_view_arn: ::String?,
635
+ health_status: {
636
+ status: ("HEALTHY" | "UNHEALTHY")?,
637
+ status_reason: ("BILLING_VIEW_NO_ACCESS" | "BILLING_VIEW_UNHEALTHY" | "FILTER_INVALID")?,
638
+ last_updated_time: ::Time?
639
+ }?
628
640
  }
629
641
  ) -> _UpdateBudgetResponseSuccess
630
642
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBudgetResponseSuccess
data/sig/types.rbs CHANGED
@@ -68,6 +68,8 @@ module Aws::Budgets
68
68
  attr_accessor auto_adjust_data: Types::AutoAdjustData
69
69
  attr_accessor filter_expression: Types::Expression
70
70
  attr_accessor metrics: ::Array[("BlendedCost" | "UnblendedCost" | "AmortizedCost" | "NetUnblendedCost" | "NetAmortizedCost" | "UsageQuantity" | "NormalizedUsageAmount" | "Hours")]
71
+ attr_accessor billing_view_arn: ::String
72
+ attr_accessor health_status: Types::HealthStatus
71
73
  SENSITIVE: []
72
74
  end
73
75
 
@@ -83,6 +85,7 @@ module Aws::Budgets
83
85
  attr_accessor cost_filters: ::Hash[::String, ::Array[::String]]
84
86
  attr_accessor cost_types: Types::CostTypes
85
87
  attr_accessor time_unit: ("DAILY" | "MONTHLY" | "QUARTERLY" | "ANNUALLY")
88
+ attr_accessor billing_view_arn: ::String
86
89
  attr_accessor budgeted_and_actual_amounts_list: ::Array[Types::BudgetedAndActualAmounts]
87
90
  SENSITIVE: []
88
91
  end
@@ -415,6 +418,13 @@ module Aws::Budgets
415
418
  SENSITIVE: []
416
419
  end
417
420
 
421
+ class HealthStatus
422
+ attr_accessor status: ("HEALTHY" | "UNHEALTHY")
423
+ attr_accessor status_reason: ("BILLING_VIEW_NO_ACCESS" | "BILLING_VIEW_UNHEALTHY" | "FILTER_INVALID")
424
+ attr_accessor last_updated_time: ::Time
425
+ SENSITIVE: []
426
+ end
427
+
418
428
  class HistoricalOptions
419
429
  attr_accessor budget_adjustment_period: ::Integer
420
430
  attr_accessor look_back_available_periods: ::Integer
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-budgets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.90.0
4
+ version: 1.91.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services