aws-sdk-billing 1.20.0 → 1.21.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-billing/client.rb +16 -5
- data/lib/aws-sdk-billing/client_api.rb +7 -0
- data/lib/aws-sdk-billing/types.rb +32 -8
- data/lib/aws-sdk-billing.rb +1 -1
- data/sig/client.rbs +8 -0
- data/sig/types.rbs +7 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5920c5469ff570e143e70ffee18576d0d246e5f29b50861b61fe8f9dc3affeff
|
|
4
|
+
data.tar.gz: 624698669ed296050c5e0839e4b257583f9ce76747234f2fbe7f8e09481742bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 365b85e92bd5d7deded8711c020b07f82bb94223b3e2b343865e60d7cd89f4964f0a866bde07cd416b057e12bb5e6250ec4efb208d41abcecdcfd9975028cac2
|
|
7
|
+
data.tar.gz: a222b5c4fc81ff12937f912b8dfce8c23bc7d3dd3279fc3af75c9eb3e298595d103b4ea68fc51bb6633f01a84eb955773da50d711cfa744c2e72c7c3116d50a9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.21.0 (2026-01-12)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Cost Categories filtering support to BillingView data filter expressions through the new costCategories parameter, enabling users to filter billing views by AWS Cost Categories for more granular cost management and allocation.
|
|
8
|
+
|
|
4
9
|
1.20.0 (2026-01-08)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.21.0
|
|
@@ -547,8 +547,8 @@ module Aws::Billing
|
|
|
547
547
|
# view.
|
|
548
548
|
#
|
|
549
549
|
# @option params [Types::Expression] :data_filter_expression
|
|
550
|
-
# See [Expression][1]. Billing view only supports `LINKED_ACCOUNT
|
|
551
|
-
# `Tags`.
|
|
550
|
+
# See [Expression][1]. Billing view only supports `LINKED_ACCOUNT`,
|
|
551
|
+
# `Tags`, and `CostCategories`.
|
|
552
552
|
#
|
|
553
553
|
#
|
|
554
554
|
#
|
|
@@ -613,6 +613,10 @@ module Aws::Billing
|
|
|
613
613
|
# key: "TagKey", # required
|
|
614
614
|
# values: ["Value"], # required
|
|
615
615
|
# },
|
|
616
|
+
# cost_categories: {
|
|
617
|
+
# key: "CostCategoryName", # required
|
|
618
|
+
# values: ["Value"], # required
|
|
619
|
+
# },
|
|
616
620
|
# time_range: {
|
|
617
621
|
# begin_date_inclusive: Time.now,
|
|
618
622
|
# end_date_inclusive: Time.now,
|
|
@@ -795,6 +799,9 @@ module Aws::Billing
|
|
|
795
799
|
# resp.billing_view.data_filter_expression.tags.key #=> String
|
|
796
800
|
# resp.billing_view.data_filter_expression.tags.values #=> Array
|
|
797
801
|
# resp.billing_view.data_filter_expression.tags.values[0] #=> String
|
|
802
|
+
# resp.billing_view.data_filter_expression.cost_categories.key #=> String
|
|
803
|
+
# resp.billing_view.data_filter_expression.cost_categories.values #=> Array
|
|
804
|
+
# resp.billing_view.data_filter_expression.cost_categories.values[0] #=> String
|
|
798
805
|
# resp.billing_view.data_filter_expression.time_range.begin_date_inclusive #=> Time
|
|
799
806
|
# resp.billing_view.data_filter_expression.time_range.end_date_inclusive #=> Time
|
|
800
807
|
# resp.billing_view.created_at #=> Time
|
|
@@ -1190,8 +1197,8 @@ module Aws::Billing
|
|
|
1190
1197
|
# The description of the billing view.
|
|
1191
1198
|
#
|
|
1192
1199
|
# @option params [Types::Expression] :data_filter_expression
|
|
1193
|
-
# See [Expression][1]. Billing view only supports `LINKED_ACCOUNT
|
|
1194
|
-
# `Tags`.
|
|
1200
|
+
# See [Expression][1]. Billing view only supports `LINKED_ACCOUNT`,
|
|
1201
|
+
# `Tags`, and `CostCategories`.
|
|
1195
1202
|
#
|
|
1196
1203
|
#
|
|
1197
1204
|
#
|
|
@@ -1240,6 +1247,10 @@ module Aws::Billing
|
|
|
1240
1247
|
# key: "TagKey", # required
|
|
1241
1248
|
# values: ["Value"], # required
|
|
1242
1249
|
# },
|
|
1250
|
+
# cost_categories: {
|
|
1251
|
+
# key: "CostCategoryName", # required
|
|
1252
|
+
# values: ["Value"], # required
|
|
1253
|
+
# },
|
|
1243
1254
|
# time_range: {
|
|
1244
1255
|
# begin_date_inclusive: Time.now,
|
|
1245
1256
|
# end_date_inclusive: Time.now,
|
|
@@ -1279,7 +1290,7 @@ module Aws::Billing
|
|
|
1279
1290
|
tracer: tracer
|
|
1280
1291
|
)
|
|
1281
1292
|
context[:gem_name] = 'aws-sdk-billing'
|
|
1282
|
-
context[:gem_version] = '1.
|
|
1293
|
+
context[:gem_version] = '1.21.0'
|
|
1283
1294
|
Seahorse::Client::Request.new(handlers, context)
|
|
1284
1295
|
end
|
|
1285
1296
|
|
|
@@ -38,6 +38,8 @@ module Aws::Billing
|
|
|
38
38
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
39
39
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
|
40
40
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
41
|
+
CostCategoryName = Shapes::StringShape.new(name: 'CostCategoryName')
|
|
42
|
+
CostCategoryValues = Shapes::StructureShape.new(name: 'CostCategoryValues')
|
|
41
43
|
CreateBillingViewRequest = Shapes::StructureShape.new(name: 'CreateBillingViewRequest')
|
|
42
44
|
CreateBillingViewResponse = Shapes::StructureShape.new(name: 'CreateBillingViewResponse')
|
|
43
45
|
DeleteBillingViewRequest = Shapes::StructureShape.new(name: 'DeleteBillingViewRequest')
|
|
@@ -157,6 +159,10 @@ module Aws::Billing
|
|
|
157
159
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
|
|
158
160
|
ConflictException.struct_class = Types::ConflictException
|
|
159
161
|
|
|
162
|
+
CostCategoryValues.add_member(:key, Shapes::ShapeRef.new(shape: CostCategoryName, required: true, location_name: "key"))
|
|
163
|
+
CostCategoryValues.add_member(:values, Shapes::ShapeRef.new(shape: Values, required: true, location_name: "values"))
|
|
164
|
+
CostCategoryValues.struct_class = Types::CostCategoryValues
|
|
165
|
+
|
|
160
166
|
CreateBillingViewRequest.add_member(:name, Shapes::ShapeRef.new(shape: BillingViewName, required: true, location_name: "name"))
|
|
161
167
|
CreateBillingViewRequest.add_member(:description, Shapes::ShapeRef.new(shape: BillingViewDescription, location_name: "description"))
|
|
162
168
|
CreateBillingViewRequest.add_member(:source_views, Shapes::ShapeRef.new(shape: BillingViewSourceViewsList, required: true, location_name: "sourceViews"))
|
|
@@ -189,6 +195,7 @@ module Aws::Billing
|
|
|
189
195
|
|
|
190
196
|
Expression.add_member(:dimensions, Shapes::ShapeRef.new(shape: DimensionValues, location_name: "dimensions"))
|
|
191
197
|
Expression.add_member(:tags, Shapes::ShapeRef.new(shape: TagValues, location_name: "tags"))
|
|
198
|
+
Expression.add_member(:cost_categories, Shapes::ShapeRef.new(shape: CostCategoryValues, location_name: "costCategories"))
|
|
192
199
|
Expression.add_member(:time_range, Shapes::ShapeRef.new(shape: TimeRange, location_name: "timeRange"))
|
|
193
200
|
Expression.struct_class = Types::Expression
|
|
194
201
|
|
|
@@ -102,8 +102,8 @@ module Aws::Billing
|
|
|
102
102
|
# @return [String]
|
|
103
103
|
#
|
|
104
104
|
# @!attribute [rw] data_filter_expression
|
|
105
|
-
# See [Expression][1]. Billing view only supports `LINKED_ACCOUNT
|
|
106
|
-
# `Tags`.
|
|
105
|
+
# See [Expression][1]. Billing view only supports `LINKED_ACCOUNT`,
|
|
106
|
+
# `Tags`, and `CostCategories`.
|
|
107
107
|
#
|
|
108
108
|
#
|
|
109
109
|
#
|
|
@@ -261,6 +261,25 @@ module Aws::Billing
|
|
|
261
261
|
include Aws::Structure
|
|
262
262
|
end
|
|
263
263
|
|
|
264
|
+
# The Cost Categories values used for filtering the costs.
|
|
265
|
+
#
|
|
266
|
+
# @!attribute [rw] key
|
|
267
|
+
# The unique name of the Cost Category.
|
|
268
|
+
# @return [String]
|
|
269
|
+
#
|
|
270
|
+
# @!attribute [rw] values
|
|
271
|
+
# The specific value of the Cost Category.
|
|
272
|
+
# @return [Array<String>]
|
|
273
|
+
#
|
|
274
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/CostCategoryValues AWS API Documentation
|
|
275
|
+
#
|
|
276
|
+
class CostCategoryValues < Struct.new(
|
|
277
|
+
:key,
|
|
278
|
+
:values)
|
|
279
|
+
SENSITIVE = []
|
|
280
|
+
include Aws::Structure
|
|
281
|
+
end
|
|
282
|
+
|
|
264
283
|
# @!attribute [rw] name
|
|
265
284
|
# The name of the billing view.
|
|
266
285
|
# @return [String]
|
|
@@ -275,8 +294,8 @@ module Aws::Billing
|
|
|
275
294
|
# @return [Array<String>]
|
|
276
295
|
#
|
|
277
296
|
# @!attribute [rw] data_filter_expression
|
|
278
|
-
# See [Expression][1]. Billing view only supports `LINKED_ACCOUNT
|
|
279
|
-
# `Tags`.
|
|
297
|
+
# See [Expression][1]. Billing view only supports `LINKED_ACCOUNT`,
|
|
298
|
+
# `Tags`, and `CostCategories`.
|
|
280
299
|
#
|
|
281
300
|
#
|
|
282
301
|
#
|
|
@@ -415,8 +434,8 @@ module Aws::Billing
|
|
|
415
434
|
include Aws::Structure
|
|
416
435
|
end
|
|
417
436
|
|
|
418
|
-
# See [Expression][1]. Billing view only supports `LINKED_ACCOUNT
|
|
419
|
-
# `Tags`.
|
|
437
|
+
# See [Expression][1]. Billing view only supports `LINKED_ACCOUNT`,
|
|
438
|
+
# `Tags`, and `CostCategories`.
|
|
420
439
|
#
|
|
421
440
|
#
|
|
422
441
|
#
|
|
@@ -430,6 +449,10 @@ module Aws::Billing
|
|
|
430
449
|
# The specific `Tag` to use for `Expression`.
|
|
431
450
|
# @return [Types::TagValues]
|
|
432
451
|
#
|
|
452
|
+
# @!attribute [rw] cost_categories
|
|
453
|
+
# The filter that's based on `CostCategory` values.
|
|
454
|
+
# @return [Types::CostCategoryValues]
|
|
455
|
+
#
|
|
433
456
|
# @!attribute [rw] time_range
|
|
434
457
|
# Specifies a time range filter for the billing view data.
|
|
435
458
|
# @return [Types::TimeRange]
|
|
@@ -439,6 +462,7 @@ module Aws::Billing
|
|
|
439
462
|
class Expression < Struct.new(
|
|
440
463
|
:dimensions,
|
|
441
464
|
:tags,
|
|
465
|
+
:cost_categories,
|
|
442
466
|
:time_range)
|
|
443
467
|
SENSITIVE = []
|
|
444
468
|
include Aws::Structure
|
|
@@ -861,8 +885,8 @@ module Aws::Billing
|
|
|
861
885
|
# @return [String]
|
|
862
886
|
#
|
|
863
887
|
# @!attribute [rw] data_filter_expression
|
|
864
|
-
# See [Expression][1]. Billing view only supports `LINKED_ACCOUNT
|
|
865
|
-
# `Tags`.
|
|
888
|
+
# See [Expression][1]. Billing view only supports `LINKED_ACCOUNT`,
|
|
889
|
+
# `Tags`, and `CostCategories`.
|
|
866
890
|
#
|
|
867
891
|
#
|
|
868
892
|
#
|
data/lib/aws-sdk-billing.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -109,6 +109,10 @@ module Aws
|
|
|
109
109
|
key: ::String,
|
|
110
110
|
values: Array[::String]
|
|
111
111
|
}?,
|
|
112
|
+
cost_categories: {
|
|
113
|
+
key: ::String,
|
|
114
|
+
values: Array[::String]
|
|
115
|
+
}?,
|
|
112
116
|
time_range: {
|
|
113
117
|
begin_date_inclusive: ::Time?,
|
|
114
118
|
end_date_inclusive: ::Time?
|
|
@@ -260,6 +264,10 @@ module Aws
|
|
|
260
264
|
key: ::String,
|
|
261
265
|
values: Array[::String]
|
|
262
266
|
}?,
|
|
267
|
+
cost_categories: {
|
|
268
|
+
key: ::String,
|
|
269
|
+
values: Array[::String]
|
|
270
|
+
}?,
|
|
263
271
|
time_range: {
|
|
264
272
|
begin_date_inclusive: ::Time?,
|
|
265
273
|
end_date_inclusive: ::Time?
|
data/sig/types.rbs
CHANGED
|
@@ -76,6 +76,12 @@ module Aws::Billing
|
|
|
76
76
|
SENSITIVE: []
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
+
class CostCategoryValues
|
|
80
|
+
attr_accessor key: ::String
|
|
81
|
+
attr_accessor values: ::Array[::String]
|
|
82
|
+
SENSITIVE: []
|
|
83
|
+
end
|
|
84
|
+
|
|
79
85
|
class CreateBillingViewRequest
|
|
80
86
|
attr_accessor name: ::String
|
|
81
87
|
attr_accessor description: ::String
|
|
@@ -123,6 +129,7 @@ module Aws::Billing
|
|
|
123
129
|
class Expression
|
|
124
130
|
attr_accessor dimensions: Types::DimensionValues
|
|
125
131
|
attr_accessor tags: Types::TagValues
|
|
132
|
+
attr_accessor cost_categories: Types::CostCategoryValues
|
|
126
133
|
attr_accessor time_range: Types::TimeRange
|
|
127
134
|
SENSITIVE: []
|
|
128
135
|
end
|