aws-sdk-billing 1.16.0 → 1.17.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 +15 -4
- data/lib/aws-sdk-billing/client_api.rb +11 -0
- data/lib/aws-sdk-billing/types.rb +29 -0
- data/lib/aws-sdk-billing.rb +1 -1
- data/sig/client.rbs +7 -1
- data/sig/types.rbs +10 -3
- 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: b8c20e5a44c8d9562489d04c8cf0fa8ffc46bf51bbeb657ca64b16edaf69c9b1
|
|
4
|
+
data.tar.gz: 214da90c59e262cae25ce96d0eb4b49ddd74d61cec162eb63ead93fe3700c70e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6385f1db811581940d786f05f14a94530d1adf801f9512f3f57f870e9e88ab4a044f95bd3f6499757cb72ee6be319ae3dba08eb9eef9155f829cc2851dfca382
|
|
7
|
+
data.tar.gz: 583190b0e20c5c7f801bf7075421d3f7fa49dabccb17bc981ce3a7ac02300358f66afd8d0a78181ab46a4cf80b80ea8252707505045c552cd68641e12bf75a40
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.17.0 (2025-11-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Added name filtering support to ListBillingViews API through the new names parameter to efficiently filter billing views by name.
|
|
8
|
+
|
|
4
9
|
1.16.0 (2025-10-24)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.17.0
|
|
@@ -786,7 +786,7 @@ module Aws::Billing
|
|
|
786
786
|
# resp.billing_view.arn #=> String
|
|
787
787
|
# resp.billing_view.name #=> String
|
|
788
788
|
# resp.billing_view.description #=> String
|
|
789
|
-
# resp.billing_view.billing_view_type #=> String, one of "PRIMARY", "BILLING_GROUP", "CUSTOM"
|
|
789
|
+
# resp.billing_view.billing_view_type #=> String, one of "PRIMARY", "BILLING_GROUP", "CUSTOM", "BILLING_TRANSFER", "BILLING_TRANSFER_SHOWBACK"
|
|
790
790
|
# resp.billing_view.owner_account_id #=> String
|
|
791
791
|
# resp.billing_view.source_account_id #=> String
|
|
792
792
|
# resp.billing_view.data_filter_expression.dimensions.key #=> String, one of "LINKED_ACCOUNT"
|
|
@@ -881,6 +881,11 @@ module Aws::Billing
|
|
|
881
881
|
# @option params [Array<String>] :billing_view_types
|
|
882
882
|
# The type of billing view.
|
|
883
883
|
#
|
|
884
|
+
# @option params [Array<Types::StringSearch>] :names
|
|
885
|
+
# Filters the list of billing views by name. You can specify search
|
|
886
|
+
# criteria to match billing view names based on the search option
|
|
887
|
+
# provided.
|
|
888
|
+
#
|
|
884
889
|
# @option params [String] :owner_account_id
|
|
885
890
|
# The list of owners of the billing view.
|
|
886
891
|
#
|
|
@@ -941,7 +946,13 @@ module Aws::Billing
|
|
|
941
946
|
# active_before_inclusive: Time.now, # required
|
|
942
947
|
# },
|
|
943
948
|
# arns: ["BillingViewArn"],
|
|
944
|
-
# billing_view_types: ["PRIMARY"], # accepts PRIMARY, BILLING_GROUP, CUSTOM
|
|
949
|
+
# billing_view_types: ["PRIMARY"], # accepts PRIMARY, BILLING_GROUP, CUSTOM, BILLING_TRANSFER, BILLING_TRANSFER_SHOWBACK
|
|
950
|
+
# names: [
|
|
951
|
+
# {
|
|
952
|
+
# search_option: "STARTS_WITH", # required, accepts STARTS_WITH
|
|
953
|
+
# search_value: "SearchValue", # required
|
|
954
|
+
# },
|
|
955
|
+
# ],
|
|
945
956
|
# owner_account_id: "AccountId",
|
|
946
957
|
# source_account_id: "AccountId",
|
|
947
958
|
# max_results: 1,
|
|
@@ -956,7 +967,7 @@ module Aws::Billing
|
|
|
956
967
|
# resp.billing_views[0].description #=> String
|
|
957
968
|
# resp.billing_views[0].owner_account_id #=> String
|
|
958
969
|
# resp.billing_views[0].source_account_id #=> String
|
|
959
|
-
# resp.billing_views[0].billing_view_type #=> String, one of "PRIMARY", "BILLING_GROUP", "CUSTOM"
|
|
970
|
+
# resp.billing_views[0].billing_view_type #=> String, one of "PRIMARY", "BILLING_GROUP", "CUSTOM", "BILLING_TRANSFER", "BILLING_TRANSFER_SHOWBACK"
|
|
960
971
|
# resp.billing_views[0].health_status.status_code #=> String, one of "HEALTHY", "UNHEALTHY", "CREATING", "UPDATING"
|
|
961
972
|
# resp.billing_views[0].health_status.status_reasons #=> Array
|
|
962
973
|
# resp.billing_views[0].health_status.status_reasons[0] #=> String, one of "SOURCE_VIEW_UNHEALTHY", "SOURCE_VIEW_UPDATING", "SOURCE_VIEW_ACCESS_DENIED", "SOURCE_VIEW_NOT_FOUND", "CYCLIC_DEPENDENCY", "SOURCE_VIEW_DEPTH_EXCEEDED", "AGGREGATE_SOURCE", "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT"
|
|
@@ -1268,7 +1279,7 @@ module Aws::Billing
|
|
|
1268
1279
|
tracer: tracer
|
|
1269
1280
|
)
|
|
1270
1281
|
context[:gem_name] = 'aws-sdk-billing'
|
|
1271
|
-
context[:gem_version] = '1.
|
|
1282
|
+
context[:gem_version] = '1.17.0'
|
|
1272
1283
|
Seahorse::Client::Request.new(handlers, context)
|
|
1273
1284
|
end
|
|
1274
1285
|
|
|
@@ -73,8 +73,12 @@ module Aws::Billing
|
|
|
73
73
|
ResourceTagList = Shapes::ListShape.new(name: 'ResourceTagList')
|
|
74
74
|
ResourceTagValue = Shapes::StringShape.new(name: 'ResourceTagValue')
|
|
75
75
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
|
76
|
+
SearchOption = Shapes::StringShape.new(name: 'SearchOption')
|
|
77
|
+
SearchValue = Shapes::StringShape.new(name: 'SearchValue')
|
|
76
78
|
ServiceCode = Shapes::StringShape.new(name: 'ServiceCode')
|
|
77
79
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
80
|
+
StringSearch = Shapes::StructureShape.new(name: 'StringSearch')
|
|
81
|
+
StringSearches = Shapes::ListShape.new(name: 'StringSearches')
|
|
78
82
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
|
79
83
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
|
80
84
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
|
@@ -207,6 +211,7 @@ module Aws::Billing
|
|
|
207
211
|
ListBillingViewsRequest.add_member(:active_time_range, Shapes::ShapeRef.new(shape: ActiveTimeRange, location_name: "activeTimeRange"))
|
|
208
212
|
ListBillingViewsRequest.add_member(:arns, Shapes::ShapeRef.new(shape: BillingViewArnList, location_name: "arns"))
|
|
209
213
|
ListBillingViewsRequest.add_member(:billing_view_types, Shapes::ShapeRef.new(shape: BillingViewTypeList, location_name: "billingViewTypes"))
|
|
214
|
+
ListBillingViewsRequest.add_member(:names, Shapes::ShapeRef.new(shape: StringSearches, location_name: "names"))
|
|
210
215
|
ListBillingViewsRequest.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "ownerAccountId"))
|
|
211
216
|
ListBillingViewsRequest.add_member(:source_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "sourceAccountId"))
|
|
212
217
|
ListBillingViewsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BillingViewsMaxResults, location_name: "maxResults"))
|
|
@@ -252,6 +257,12 @@ module Aws::Billing
|
|
|
252
257
|
ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: QuotaCode, required: true, location_name: "quotaCode"))
|
|
253
258
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
|
254
259
|
|
|
260
|
+
StringSearch.add_member(:search_option, Shapes::ShapeRef.new(shape: SearchOption, required: true, location_name: "searchOption"))
|
|
261
|
+
StringSearch.add_member(:search_value, Shapes::ShapeRef.new(shape: SearchValue, required: true, location_name: "searchValue"))
|
|
262
|
+
StringSearch.struct_class = Types::StringSearch
|
|
263
|
+
|
|
264
|
+
StringSearches.member = Shapes::ShapeRef.new(shape: StringSearch)
|
|
265
|
+
|
|
255
266
|
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
|
|
256
267
|
TagResourceRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagList, required: true, location_name: "resourceTags"))
|
|
257
268
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
|
@@ -532,6 +532,12 @@ module Aws::Billing
|
|
|
532
532
|
# The type of billing view.
|
|
533
533
|
# @return [Array<String>]
|
|
534
534
|
#
|
|
535
|
+
# @!attribute [rw] names
|
|
536
|
+
# Filters the list of billing views by name. You can specify search
|
|
537
|
+
# criteria to match billing view names based on the search option
|
|
538
|
+
# provided.
|
|
539
|
+
# @return [Array<Types::StringSearch>]
|
|
540
|
+
#
|
|
535
541
|
# @!attribute [rw] owner_account_id
|
|
536
542
|
# The list of owners of the billing view.
|
|
537
543
|
# @return [String]
|
|
@@ -556,6 +562,7 @@ module Aws::Billing
|
|
|
556
562
|
:active_time_range,
|
|
557
563
|
:arns,
|
|
558
564
|
:billing_view_types,
|
|
565
|
+
:names,
|
|
559
566
|
:owner_account_id,
|
|
560
567
|
:source_account_id,
|
|
561
568
|
:max_results,
|
|
@@ -725,6 +732,28 @@ module Aws::Billing
|
|
|
725
732
|
include Aws::Structure
|
|
726
733
|
end
|
|
727
734
|
|
|
735
|
+
# A structure that defines how to search for string values. You can
|
|
736
|
+
# specify a search option and the value to search for.
|
|
737
|
+
#
|
|
738
|
+
# @!attribute [rw] search_option
|
|
739
|
+
# The type of search operation to perform on the string value.
|
|
740
|
+
# Determines how the search value is matched against the target field.
|
|
741
|
+
# @return [String]
|
|
742
|
+
#
|
|
743
|
+
# @!attribute [rw] search_value
|
|
744
|
+
# The string value to use in the search operation. This value is
|
|
745
|
+
# compared against the target field using the specified search option.
|
|
746
|
+
# @return [String]
|
|
747
|
+
#
|
|
748
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/StringSearch AWS API Documentation
|
|
749
|
+
#
|
|
750
|
+
class StringSearch < Struct.new(
|
|
751
|
+
:search_option,
|
|
752
|
+
:search_value)
|
|
753
|
+
SENSITIVE = []
|
|
754
|
+
include Aws::Structure
|
|
755
|
+
end
|
|
756
|
+
|
|
728
757
|
# @!attribute [rw] resource_arn
|
|
729
758
|
# The Amazon Resource Name (ARN) of the resource.
|
|
730
759
|
# @return [String]
|
data/lib/aws-sdk-billing.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -179,7 +179,13 @@ module Aws
|
|
|
179
179
|
active_before_inclusive: ::Time
|
|
180
180
|
},
|
|
181
181
|
?arns: Array[::String],
|
|
182
|
-
?billing_view_types: Array[("PRIMARY" | "BILLING_GROUP" | "CUSTOM")],
|
|
182
|
+
?billing_view_types: Array[("PRIMARY" | "BILLING_GROUP" | "CUSTOM" | "BILLING_TRANSFER" | "BILLING_TRANSFER_SHOWBACK")],
|
|
183
|
+
?names: Array[
|
|
184
|
+
{
|
|
185
|
+
search_option: ("STARTS_WITH"),
|
|
186
|
+
search_value: ::String
|
|
187
|
+
},
|
|
188
|
+
],
|
|
183
189
|
?owner_account_id: ::String,
|
|
184
190
|
?source_account_id: ::String,
|
|
185
191
|
?max_results: ::Integer,
|
data/sig/types.rbs
CHANGED
|
@@ -34,7 +34,7 @@ module Aws::Billing
|
|
|
34
34
|
attr_accessor arn: ::String
|
|
35
35
|
attr_accessor name: ::String
|
|
36
36
|
attr_accessor description: ::String
|
|
37
|
-
attr_accessor billing_view_type: ("PRIMARY" | "BILLING_GROUP" | "CUSTOM")
|
|
37
|
+
attr_accessor billing_view_type: ("PRIMARY" | "BILLING_GROUP" | "CUSTOM" | "BILLING_TRANSFER" | "BILLING_TRANSFER_SHOWBACK")
|
|
38
38
|
attr_accessor owner_account_id: ::String
|
|
39
39
|
attr_accessor source_account_id: ::String
|
|
40
40
|
attr_accessor data_filter_expression: Types::Expression
|
|
@@ -64,7 +64,7 @@ module Aws::Billing
|
|
|
64
64
|
attr_accessor description: ::String
|
|
65
65
|
attr_accessor owner_account_id: ::String
|
|
66
66
|
attr_accessor source_account_id: ::String
|
|
67
|
-
attr_accessor billing_view_type: ("PRIMARY" | "BILLING_GROUP" | "CUSTOM")
|
|
67
|
+
attr_accessor billing_view_type: ("PRIMARY" | "BILLING_GROUP" | "CUSTOM" | "BILLING_TRANSFER" | "BILLING_TRANSFER_SHOWBACK")
|
|
68
68
|
attr_accessor health_status: Types::BillingViewHealthStatus
|
|
69
69
|
SENSITIVE: [:name, :description]
|
|
70
70
|
end
|
|
@@ -156,7 +156,8 @@ module Aws::Billing
|
|
|
156
156
|
class ListBillingViewsRequest
|
|
157
157
|
attr_accessor active_time_range: Types::ActiveTimeRange
|
|
158
158
|
attr_accessor arns: ::Array[::String]
|
|
159
|
-
attr_accessor billing_view_types: ::Array[("PRIMARY" | "BILLING_GROUP" | "CUSTOM")]
|
|
159
|
+
attr_accessor billing_view_types: ::Array[("PRIMARY" | "BILLING_GROUP" | "CUSTOM" | "BILLING_TRANSFER" | "BILLING_TRANSFER_SHOWBACK")]
|
|
160
|
+
attr_accessor names: ::Array[Types::StringSearch]
|
|
160
161
|
attr_accessor owner_account_id: ::String
|
|
161
162
|
attr_accessor source_account_id: ::String
|
|
162
163
|
attr_accessor max_results: ::Integer
|
|
@@ -215,6 +216,12 @@ module Aws::Billing
|
|
|
215
216
|
SENSITIVE: []
|
|
216
217
|
end
|
|
217
218
|
|
|
219
|
+
class StringSearch
|
|
220
|
+
attr_accessor search_option: ("STARTS_WITH")
|
|
221
|
+
attr_accessor search_value: ::String
|
|
222
|
+
SENSITIVE: []
|
|
223
|
+
end
|
|
224
|
+
|
|
218
225
|
class TagResourceRequest
|
|
219
226
|
attr_accessor resource_arn: ::String
|
|
220
227
|
attr_accessor resource_tags: ::Array[Types::ResourceTag]
|