aws-sdk-billingconductor 1.13.0 → 1.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-billingconductor/client.rb +30 -1
- data/lib/aws-sdk-billingconductor/client_api.rb +18 -0
- data/lib/aws-sdk-billingconductor/types.rb +50 -3
- data/lib/aws-sdk-billingconductor.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4512e318a023f93bee0cb1a96812ea64cc4d6ff26e479de2e863ca9393c7fbed
|
4
|
+
data.tar.gz: 72ebf82e3ca91d4d89e79e4d9538cfae01bfc4103c12452ef40d9243730c4884
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdc716a8f4568136940ebf9f41525b6f04d467cac99e8644b8ea80f9bb7e5c3f3448c4fc6e86f16cba58b4fc63c2b34c533c94f0d446ea78f5687dbbf4292182
|
7
|
+
data.tar.gz: 124e5b264400ce41beb0c299de3e4e9163c45d7abc3435b2b34091649b13c431ef9186ca2861777f3554fe8ab47f4297b5cc369db6c71dfd4eb7cc385b7cc557
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.14.0
|
@@ -685,6 +685,13 @@ module Aws::BillingConductor
|
|
685
685
|
# associated_values: ["CustomLineItemAssociationElement"],
|
686
686
|
# },
|
687
687
|
# type: "CREDIT", # required, accepts CREDIT, FEE
|
688
|
+
# line_item_filters: [
|
689
|
+
# {
|
690
|
+
# attribute: "LINE_ITEM_TYPE", # required, accepts LINE_ITEM_TYPE
|
691
|
+
# match_option: "NOT_EQUAL", # required, accepts NOT_EQUAL
|
692
|
+
# values: ["SAVINGS_PLAN_NEGATION"], # required, accepts SAVINGS_PLAN_NEGATION
|
693
|
+
# },
|
694
|
+
# ],
|
688
695
|
# },
|
689
696
|
# })
|
690
697
|
#
|
@@ -1274,6 +1281,11 @@ module Aws::BillingConductor
|
|
1274
1281
|
# resp.custom_line_item_versions[0].charge_details.flat.charge_value #=> Float
|
1275
1282
|
# resp.custom_line_item_versions[0].charge_details.percentage.percentage_value #=> Float
|
1276
1283
|
# resp.custom_line_item_versions[0].charge_details.type #=> String, one of "CREDIT", "FEE"
|
1284
|
+
# resp.custom_line_item_versions[0].charge_details.line_item_filters #=> Array
|
1285
|
+
# resp.custom_line_item_versions[0].charge_details.line_item_filters[0].attribute #=> String, one of "LINE_ITEM_TYPE"
|
1286
|
+
# resp.custom_line_item_versions[0].charge_details.line_item_filters[0].match_option #=> String, one of "NOT_EQUAL"
|
1287
|
+
# resp.custom_line_item_versions[0].charge_details.line_item_filters[0].values #=> Array
|
1288
|
+
# resp.custom_line_item_versions[0].charge_details.line_item_filters[0].values[0] #=> String, one of "SAVINGS_PLAN_NEGATION"
|
1277
1289
|
# resp.custom_line_item_versions[0].currency_code #=> String, one of "USD", "CNY"
|
1278
1290
|
# resp.custom_line_item_versions[0].description #=> String
|
1279
1291
|
# resp.custom_line_item_versions[0].product_code #=> String
|
@@ -1343,6 +1355,11 @@ module Aws::BillingConductor
|
|
1343
1355
|
# resp.custom_line_items[0].charge_details.flat.charge_value #=> Float
|
1344
1356
|
# resp.custom_line_items[0].charge_details.percentage.percentage_value #=> Float
|
1345
1357
|
# resp.custom_line_items[0].charge_details.type #=> String, one of "CREDIT", "FEE"
|
1358
|
+
# resp.custom_line_items[0].charge_details.line_item_filters #=> Array
|
1359
|
+
# resp.custom_line_items[0].charge_details.line_item_filters[0].attribute #=> String, one of "LINE_ITEM_TYPE"
|
1360
|
+
# resp.custom_line_items[0].charge_details.line_item_filters[0].match_option #=> String, one of "NOT_EQUAL"
|
1361
|
+
# resp.custom_line_items[0].charge_details.line_item_filters[0].values #=> Array
|
1362
|
+
# resp.custom_line_items[0].charge_details.line_item_filters[0].values[0] #=> String, one of "SAVINGS_PLAN_NEGATION"
|
1346
1363
|
# resp.custom_line_items[0].currency_code #=> String, one of "USD", "CNY"
|
1347
1364
|
# resp.custom_line_items[0].description #=> String
|
1348
1365
|
# resp.custom_line_items[0].product_code #=> String
|
@@ -1848,6 +1865,13 @@ module Aws::BillingConductor
|
|
1848
1865
|
# percentage: {
|
1849
1866
|
# percentage_value: 1.0, # required
|
1850
1867
|
# },
|
1868
|
+
# line_item_filters: [
|
1869
|
+
# {
|
1870
|
+
# attribute: "LINE_ITEM_TYPE", # required, accepts LINE_ITEM_TYPE
|
1871
|
+
# match_option: "NOT_EQUAL", # required, accepts NOT_EQUAL
|
1872
|
+
# values: ["SAVINGS_PLAN_NEGATION"], # required, accepts SAVINGS_PLAN_NEGATION
|
1873
|
+
# },
|
1874
|
+
# ],
|
1851
1875
|
# },
|
1852
1876
|
# billing_period_range: {
|
1853
1877
|
# inclusive_start_billing_period: "BillingPeriod", # required
|
@@ -1864,6 +1888,11 @@ module Aws::BillingConductor
|
|
1864
1888
|
# resp.charge_details.flat.charge_value #=> Float
|
1865
1889
|
# resp.charge_details.percentage.percentage_value #=> Float
|
1866
1890
|
# resp.charge_details.type #=> String, one of "CREDIT", "FEE"
|
1891
|
+
# resp.charge_details.line_item_filters #=> Array
|
1892
|
+
# resp.charge_details.line_item_filters[0].attribute #=> String, one of "LINE_ITEM_TYPE"
|
1893
|
+
# resp.charge_details.line_item_filters[0].match_option #=> String, one of "NOT_EQUAL"
|
1894
|
+
# resp.charge_details.line_item_filters[0].values #=> Array
|
1895
|
+
# resp.charge_details.line_item_filters[0].values[0] #=> String, one of "SAVINGS_PLAN_NEGATION"
|
1867
1896
|
# resp.last_modified_time #=> Integer
|
1868
1897
|
# resp.association_size #=> Integer
|
1869
1898
|
#
|
@@ -2012,7 +2041,7 @@ module Aws::BillingConductor
|
|
2012
2041
|
params: params,
|
2013
2042
|
config: config)
|
2014
2043
|
context[:gem_name] = 'aws-sdk-billingconductor'
|
2015
|
-
context[:gem_version] = '1.
|
2044
|
+
context[:gem_version] = '1.14.0'
|
2016
2045
|
Seahorse::Client::Request.new(handlers, context)
|
2017
2046
|
end
|
2018
2047
|
|
@@ -107,6 +107,11 @@ module Aws::BillingConductor
|
|
107
107
|
FreeTierConfig = Shapes::StructureShape.new(name: 'FreeTierConfig')
|
108
108
|
Instant = Shapes::IntegerShape.new(name: 'Instant')
|
109
109
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
110
|
+
LineItemFilter = Shapes::StructureShape.new(name: 'LineItemFilter')
|
111
|
+
LineItemFilterAttributeName = Shapes::StringShape.new(name: 'LineItemFilterAttributeName')
|
112
|
+
LineItemFilterValue = Shapes::StringShape.new(name: 'LineItemFilterValue')
|
113
|
+
LineItemFilterValuesList = Shapes::ListShape.new(name: 'LineItemFilterValuesList')
|
114
|
+
LineItemFiltersList = Shapes::ListShape.new(name: 'LineItemFiltersList')
|
110
115
|
ListAccountAssociationsFilter = Shapes::StructureShape.new(name: 'ListAccountAssociationsFilter')
|
111
116
|
ListAccountAssociationsInput = Shapes::StructureShape.new(name: 'ListAccountAssociationsInput')
|
112
117
|
ListAccountAssociationsOutput = Shapes::StructureShape.new(name: 'ListAccountAssociationsOutput')
|
@@ -146,6 +151,7 @@ module Aws::BillingConductor
|
|
146
151
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
147
152
|
Margin = Shapes::StringShape.new(name: 'Margin')
|
148
153
|
MarginPercentage = Shapes::StringShape.new(name: 'MarginPercentage')
|
154
|
+
MatchOption = Shapes::StringShape.new(name: 'MatchOption')
|
149
155
|
MaxBillingGroupResults = Shapes::IntegerShape.new(name: 'MaxBillingGroupResults')
|
150
156
|
MaxCustomLineItemResults = Shapes::IntegerShape.new(name: 'MaxCustomLineItemResults')
|
151
157
|
MaxPricingPlanResults = Shapes::IntegerShape.new(name: 'MaxPricingPlanResults')
|
@@ -382,6 +388,7 @@ module Aws::BillingConductor
|
|
382
388
|
CustomLineItemChargeDetails.add_member(:flat, Shapes::ShapeRef.new(shape: CustomLineItemFlatChargeDetails, location_name: "Flat"))
|
383
389
|
CustomLineItemChargeDetails.add_member(:percentage, Shapes::ShapeRef.new(shape: CustomLineItemPercentageChargeDetails, location_name: "Percentage"))
|
384
390
|
CustomLineItemChargeDetails.add_member(:type, Shapes::ShapeRef.new(shape: CustomLineItemType, required: true, location_name: "Type"))
|
391
|
+
CustomLineItemChargeDetails.add_member(:line_item_filters, Shapes::ShapeRef.new(shape: LineItemFiltersList, location_name: "LineItemFilters"))
|
385
392
|
CustomLineItemChargeDetails.struct_class = Types::CustomLineItemChargeDetails
|
386
393
|
|
387
394
|
CustomLineItemFlatChargeDetails.add_member(:charge_value, Shapes::ShapeRef.new(shape: CustomLineItemChargeValue, required: true, location_name: "ChargeValue"))
|
@@ -476,6 +483,15 @@ module Aws::BillingConductor
|
|
476
483
|
InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location: "header", location_name: "Retry-After"))
|
477
484
|
InternalServerException.struct_class = Types::InternalServerException
|
478
485
|
|
486
|
+
LineItemFilter.add_member(:attribute, Shapes::ShapeRef.new(shape: LineItemFilterAttributeName, required: true, location_name: "Attribute"))
|
487
|
+
LineItemFilter.add_member(:match_option, Shapes::ShapeRef.new(shape: MatchOption, required: true, location_name: "MatchOption"))
|
488
|
+
LineItemFilter.add_member(:values, Shapes::ShapeRef.new(shape: LineItemFilterValuesList, required: true, location_name: "Values"))
|
489
|
+
LineItemFilter.struct_class = Types::LineItemFilter
|
490
|
+
|
491
|
+
LineItemFilterValuesList.member = Shapes::ShapeRef.new(shape: LineItemFilterValue)
|
492
|
+
|
493
|
+
LineItemFiltersList.member = Shapes::ShapeRef.new(shape: LineItemFilter)
|
494
|
+
|
479
495
|
ListAccountAssociationsFilter.add_member(:association, Shapes::ShapeRef.new(shape: Association, location_name: "Association"))
|
480
496
|
ListAccountAssociationsFilter.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
481
497
|
ListAccountAssociationsFilter.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIdFilterList, location_name: "AccountIds"))
|
@@ -525,6 +541,7 @@ module Aws::BillingConductor
|
|
525
541
|
ListCustomLineItemChargeDetails.add_member(:flat, Shapes::ShapeRef.new(shape: ListCustomLineItemFlatChargeDetails, location_name: "Flat"))
|
526
542
|
ListCustomLineItemChargeDetails.add_member(:percentage, Shapes::ShapeRef.new(shape: ListCustomLineItemPercentageChargeDetails, location_name: "Percentage"))
|
527
543
|
ListCustomLineItemChargeDetails.add_member(:type, Shapes::ShapeRef.new(shape: CustomLineItemType, required: true, location_name: "Type"))
|
544
|
+
ListCustomLineItemChargeDetails.add_member(:line_item_filters, Shapes::ShapeRef.new(shape: LineItemFiltersList, location_name: "LineItemFilters"))
|
528
545
|
ListCustomLineItemChargeDetails.struct_class = Types::ListCustomLineItemChargeDetails
|
529
546
|
|
530
547
|
ListCustomLineItemFlatChargeDetails.add_member(:charge_value, Shapes::ShapeRef.new(shape: CustomLineItemChargeValue, required: true, location_name: "ChargeValue"))
|
@@ -742,6 +759,7 @@ module Aws::BillingConductor
|
|
742
759
|
|
743
760
|
UpdateCustomLineItemChargeDetails.add_member(:flat, Shapes::ShapeRef.new(shape: UpdateCustomLineItemFlatChargeDetails, location_name: "Flat"))
|
744
761
|
UpdateCustomLineItemChargeDetails.add_member(:percentage, Shapes::ShapeRef.new(shape: UpdateCustomLineItemPercentageChargeDetails, location_name: "Percentage"))
|
762
|
+
UpdateCustomLineItemChargeDetails.add_member(:line_item_filters, Shapes::ShapeRef.new(shape: LineItemFiltersList, location_name: "LineItemFilters"))
|
745
763
|
UpdateCustomLineItemChargeDetails.struct_class = Types::UpdateCustomLineItemChargeDetails
|
746
764
|
|
747
765
|
UpdateCustomLineItemFlatChargeDetails.add_member(:charge_value, Shapes::ShapeRef.new(shape: CustomLineItemChargeValue, required: true, location_name: "ChargeValue"))
|
@@ -761,12 +761,17 @@ module Aws::BillingConductor
|
|
761
761
|
# is a fee or credit.
|
762
762
|
# @return [String]
|
763
763
|
#
|
764
|
+
# @!attribute [rw] line_item_filters
|
765
|
+
# A representation of the line item filter.
|
766
|
+
# @return [Array<Types::LineItemFilter>]
|
767
|
+
#
|
764
768
|
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CustomLineItemChargeDetails AWS API Documentation
|
765
769
|
#
|
766
770
|
class CustomLineItemChargeDetails < Struct.new(
|
767
771
|
:flat,
|
768
772
|
:percentage,
|
769
|
-
:type
|
773
|
+
:type,
|
774
|
+
:line_item_filters)
|
770
775
|
SENSITIVE = []
|
771
776
|
include Aws::Structure
|
772
777
|
end
|
@@ -1169,6 +1174,38 @@ module Aws::BillingConductor
|
|
1169
1174
|
include Aws::Structure
|
1170
1175
|
end
|
1171
1176
|
|
1177
|
+
# A representation of the line item filter for your custom line item.
|
1178
|
+
# You can use line item filters to include or exclude specific resource
|
1179
|
+
# values from the billing group's total cost. For example, if you
|
1180
|
+
# create a custom line item and you want to filter out a value, such as
|
1181
|
+
# Savings Plan discounts, you can update `LineItemFilter` to exclude it.
|
1182
|
+
#
|
1183
|
+
# @!attribute [rw] attribute
|
1184
|
+
# The attribute of the line item filter. This specifies what attribute
|
1185
|
+
# that you can filter on.
|
1186
|
+
# @return [String]
|
1187
|
+
#
|
1188
|
+
# @!attribute [rw] match_option
|
1189
|
+
# The match criteria of the line item filter. This parameter specifies
|
1190
|
+
# whether not to include the resource value from the billing group
|
1191
|
+
# total cost.
|
1192
|
+
# @return [String]
|
1193
|
+
#
|
1194
|
+
# @!attribute [rw] values
|
1195
|
+
# The values of the line item filter. This specifies the values to
|
1196
|
+
# filter on. Currently, you can only exclude Savings Plan discounts.
|
1197
|
+
# @return [Array<String>]
|
1198
|
+
#
|
1199
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/LineItemFilter AWS API Documentation
|
1200
|
+
#
|
1201
|
+
class LineItemFilter < Struct.new(
|
1202
|
+
:attribute,
|
1203
|
+
:match_option,
|
1204
|
+
:values)
|
1205
|
+
SENSITIVE = []
|
1206
|
+
include Aws::Structure
|
1207
|
+
end
|
1208
|
+
|
1172
1209
|
# The filter on the account ID of the linked account, or any of the
|
1173
1210
|
# following:
|
1174
1211
|
#
|
@@ -1436,12 +1473,17 @@ module Aws::BillingConductor
|
|
1436
1473
|
# is a `fee` or `credit`.
|
1437
1474
|
# @return [String]
|
1438
1475
|
#
|
1476
|
+
# @!attribute [rw] line_item_filters
|
1477
|
+
# A representation of the line item filter.
|
1478
|
+
# @return [Array<Types::LineItemFilter>]
|
1479
|
+
#
|
1439
1480
|
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListCustomLineItemChargeDetails AWS API Documentation
|
1440
1481
|
#
|
1441
1482
|
class ListCustomLineItemChargeDetails < Struct.new(
|
1442
1483
|
:flat,
|
1443
1484
|
:percentage,
|
1444
|
-
:type
|
1485
|
+
:type,
|
1486
|
+
:line_item_filters)
|
1445
1487
|
SENSITIVE = []
|
1446
1488
|
include Aws::Structure
|
1447
1489
|
end
|
@@ -2424,11 +2466,16 @@ module Aws::BillingConductor
|
|
2424
2466
|
# new charge details of a percentage custom line item.
|
2425
2467
|
# @return [Types::UpdateCustomLineItemPercentageChargeDetails]
|
2426
2468
|
#
|
2469
|
+
# @!attribute [rw] line_item_filters
|
2470
|
+
# A representation of the line item filter.
|
2471
|
+
# @return [Array<Types::LineItemFilter>]
|
2472
|
+
#
|
2427
2473
|
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateCustomLineItemChargeDetails AWS API Documentation
|
2428
2474
|
#
|
2429
2475
|
class UpdateCustomLineItemChargeDetails < Struct.new(
|
2430
2476
|
:flat,
|
2431
|
-
:percentage
|
2477
|
+
:percentage,
|
2478
|
+
:line_item_filters)
|
2432
2479
|
SENSITIVE = []
|
2433
2480
|
include Aws::Structure
|
2434
2481
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-billingconductor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.14.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: 2023-
|
11
|
+
date: 2023-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|