aws-sdk-billingconductor 1.13.0 → 1.15.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: 93bf9edb287a63b05b54b389ab67a02af89a110d0be4b83e7d961719b0fa1de5
4
- data.tar.gz: b4cc215e35bbadaa96431c4a0073e6dca1a10089ed871750edda1cd77a680cc6
3
+ metadata.gz: 5c8c9af8e2a660fd10e370b7fb5e4ee4cce8737f269b464646dd8367fc18338d
4
+ data.tar.gz: 1168c17367cef036b43b5c951afeb38ab5c4a8ae1e7b46bfb7dc6ff07c09e3b2
5
5
  SHA512:
6
- metadata.gz: df8fee38f6d4b20182a0a653ce2a9bd0bd75a3506e144999c6cef4a20a1ad913aab91592604d61a5be06f0555aeaa262d814457637a8caf8da8b47c39c715859
7
- data.tar.gz: 970e303bc5ab4fc2191523e02802cbc79456e8015d6be1347f6fde7f6631e668661dda5309cecb902b953fc87cb56ea2aba737fdf91c8504415e05014bce733d
6
+ metadata.gz: 556eaba5b744e07b545332eb44ed16376d3b34ef1a1e37421f7566f88207a4e6e9efac0e16a699e02f71af530429dae9104350ac717ffaa9383a731223911411
7
+ data.tar.gz: 0c0a26c20597820ca756e007b41796f2d8bb70edc4b45a98f8e07a297b86f5248c218e23a73cd25a736649eff6d1ae7e84b510d4b71edbbc40ca5f6c589e23c4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.15.0 (2023-09-27)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.14.0 (2023-09-05)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for line item filtering in for the custom line item resource.
13
+
4
14
  1.13.0 (2023-07-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.13.0
1
+ 1.15.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.13.0'
2044
+ context[:gem_version] = '1.15.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
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-billingconductor/customizations'
53
53
  # @!group service
54
54
  module Aws::BillingConductor
55
55
 
56
- GEM_VERSION = '1.13.0'
56
+ GEM_VERSION = '1.15.0'
57
57
 
58
58
  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.13.0
4
+ version: 1.15.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-07-25 00:00:00.000000000 Z
11
+ date: 2023-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.177.0
22
+ version: 3.184.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.177.0
32
+ version: 3.184.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement