aws-sdk-billingconductor 1.12.0 → 1.14.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: 3b66c83b05cda190f01d4bcf9813906051d31884fc46cc1a65fc0adb4eb43ac1
4
- data.tar.gz: b8c3b33abd8e5d139fb004d339a8398b5e9f28a3f46cd2470aee0261122a9199
3
+ metadata.gz: 4512e318a023f93bee0cb1a96812ea64cc4d6ff26e479de2e863ca9393c7fbed
4
+ data.tar.gz: 72ebf82e3ca91d4d89e79e4d9538cfae01bfc4103c12452ef40d9243730c4884
5
5
  SHA512:
6
- metadata.gz: 19236b8964a863f5e2a1ee740454e10a8918b9530a2306c7b5de013b9e9ffb079737f0051d6bc599bb59e216ab541c0cadbcd0b40c0808839a9d01fbf3b5a3ef
7
- data.tar.gz: cfa1c814fd01b3c0d34768a5ad637a52491979ae93bfec160be6a7caad343b8f39634d058ab0932d2c65ddab3c6979f339904875cc5102c6f03372d2bf474d2d
6
+ metadata.gz: fdc716a8f4568136940ebf9f41525b6f04d467cac99e8644b8ea80f9bb7e5c3f3448c4fc6e86f16cba58b4fc63c2b34c533c94f0d446ea78f5687dbbf4292182
7
+ data.tar.gz: 124e5b264400ce41beb0c299de3e4e9163c45d7abc3435b2b34091649b13c431ef9186ca2861777f3554fe8ab47f4297b5cc369db6c71dfd4eb7cc385b7cc557
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.14.0 (2023-09-05)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for line item filtering in for the custom line item resource.
8
+
9
+ 1.13.0 (2023-07-25)
10
+ ------------------
11
+
12
+ * Feature - Added support for Auto-Assocate Billing Groups for CreateBillingGroup, UpdateBillingGroup, and ListBillingGroups.
13
+
4
14
  1.12.0 (2023-07-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.12.0
1
+ 1.14.0
@@ -571,7 +571,8 @@ module Aws::BillingConductor
571
571
  #
572
572
  # @option params [required, Types::AccountGrouping] :account_grouping
573
573
  # The set of accounts that will be under the billing group. The set of
574
- # accounts resemble the linked accounts in a consolidated family.
574
+ # accounts resemble the linked accounts in a consolidated billing
575
+ # family.
575
576
  #
576
577
  # @option params [required, Types::ComputationPreference] :computation_preference
577
578
  # The preferences and settings that will be used to compute the Amazon
@@ -598,6 +599,7 @@ module Aws::BillingConductor
598
599
  # name: "BillingGroupName", # required
599
600
  # account_grouping: { # required
600
601
  # linked_account_ids: ["AccountId"], # required
602
+ # auto_associate: false,
601
603
  # },
602
604
  # computation_preference: { # required
603
605
  # pricing_plan_arn: "PricingPlanFullArn", # required
@@ -683,6 +685,13 @@ module Aws::BillingConductor
683
685
  # associated_values: ["CustomLineItemAssociationElement"],
684
686
  # },
685
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
+ # ],
686
695
  # },
687
696
  # })
688
697
  #
@@ -1199,6 +1208,7 @@ module Aws::BillingConductor
1199
1208
  # arns: ["BillingGroupArn"],
1200
1209
  # pricing_plan: "PricingPlanFullArn",
1201
1210
  # statuses: ["ACTIVE"], # accepts ACTIVE, PRIMARY_ACCOUNT_MISSING
1211
+ # auto_associate: false,
1202
1212
  # },
1203
1213
  # })
1204
1214
  #
@@ -1215,6 +1225,7 @@ module Aws::BillingConductor
1215
1225
  # resp.billing_groups[0].last_modified_time #=> Integer
1216
1226
  # resp.billing_groups[0].status #=> String, one of "ACTIVE", "PRIMARY_ACCOUNT_MISSING"
1217
1227
  # resp.billing_groups[0].status_reason #=> String
1228
+ # resp.billing_groups[0].account_grouping.auto_associate #=> Boolean
1218
1229
  # resp.next_token #=> String
1219
1230
  #
1220
1231
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListBillingGroups AWS API Documentation
@@ -1270,6 +1281,11 @@ module Aws::BillingConductor
1270
1281
  # resp.custom_line_item_versions[0].charge_details.flat.charge_value #=> Float
1271
1282
  # resp.custom_line_item_versions[0].charge_details.percentage.percentage_value #=> Float
1272
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"
1273
1289
  # resp.custom_line_item_versions[0].currency_code #=> String, one of "USD", "CNY"
1274
1290
  # resp.custom_line_item_versions[0].description #=> String
1275
1291
  # resp.custom_line_item_versions[0].product_code #=> String
@@ -1339,6 +1355,11 @@ module Aws::BillingConductor
1339
1355
  # resp.custom_line_items[0].charge_details.flat.charge_value #=> Float
1340
1356
  # resp.custom_line_items[0].charge_details.percentage.percentage_value #=> Float
1341
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"
1342
1363
  # resp.custom_line_items[0].currency_code #=> String, one of "USD", "CNY"
1343
1364
  # resp.custom_line_items[0].description #=> String
1344
1365
  # resp.custom_line_items[0].product_code #=> String
@@ -1747,6 +1768,10 @@ module Aws::BillingConductor
1747
1768
  # @option params [String] :description
1748
1769
  # A description of the billing group.
1749
1770
  #
1771
+ # @option params [Types::UpdateBillingGroupAccountGrouping] :account_grouping
1772
+ # Specifies if the billing group has automatic account association
1773
+ # (`AutoAssociate`) enabled.
1774
+ #
1750
1775
  # @return [Types::UpdateBillingGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1751
1776
  #
1752
1777
  # * {Types::UpdateBillingGroupOutput#arn #arn} => String
@@ -1758,6 +1783,7 @@ module Aws::BillingConductor
1758
1783
  # * {Types::UpdateBillingGroupOutput#last_modified_time #last_modified_time} => Integer
1759
1784
  # * {Types::UpdateBillingGroupOutput#status #status} => String
1760
1785
  # * {Types::UpdateBillingGroupOutput#status_reason #status_reason} => String
1786
+ # * {Types::UpdateBillingGroupOutput#account_grouping #account_grouping} => Types::UpdateBillingGroupAccountGrouping
1761
1787
  #
1762
1788
  # @example Request syntax with placeholder values
1763
1789
  #
@@ -1769,6 +1795,9 @@ module Aws::BillingConductor
1769
1795
  # pricing_plan_arn: "PricingPlanFullArn", # required
1770
1796
  # },
1771
1797
  # description: "BillingGroupDescription",
1798
+ # account_grouping: {
1799
+ # auto_associate: false,
1800
+ # },
1772
1801
  # })
1773
1802
  #
1774
1803
  # @example Response structure
@@ -1782,6 +1811,7 @@ module Aws::BillingConductor
1782
1811
  # resp.last_modified_time #=> Integer
1783
1812
  # resp.status #=> String, one of "ACTIVE", "PRIMARY_ACCOUNT_MISSING"
1784
1813
  # resp.status_reason #=> String
1814
+ # resp.account_grouping.auto_associate #=> Boolean
1785
1815
  #
1786
1816
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateBillingGroup AWS API Documentation
1787
1817
  #
@@ -1835,6 +1865,13 @@ module Aws::BillingConductor
1835
1865
  # percentage: {
1836
1866
  # percentage_value: 1.0, # required
1837
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
+ # ],
1838
1875
  # },
1839
1876
  # billing_period_range: {
1840
1877
  # inclusive_start_billing_period: "BillingPeriod", # required
@@ -1851,6 +1888,11 @@ module Aws::BillingConductor
1851
1888
  # resp.charge_details.flat.charge_value #=> Float
1852
1889
  # resp.charge_details.percentage.percentage_value #=> Float
1853
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"
1854
1896
  # resp.last_modified_time #=> Integer
1855
1897
  # resp.association_size #=> Integer
1856
1898
  #
@@ -1999,7 +2041,7 @@ module Aws::BillingConductor
1999
2041
  params: params,
2000
2042
  config: config)
2001
2043
  context[:gem_name] = 'aws-sdk-billingconductor'
2002
- context[:gem_version] = '1.12.0'
2044
+ context[:gem_version] = '1.14.0'
2003
2045
  Seahorse::Client::Request.new(handlers, context)
2004
2046
  end
2005
2047
 
@@ -51,6 +51,7 @@ module Aws::BillingConductor
51
51
  BillingGroupStatusList = Shapes::ListShape.new(name: 'BillingGroupStatusList')
52
52
  BillingGroupStatusReason = Shapes::StringShape.new(name: 'BillingGroupStatusReason')
53
53
  BillingPeriod = Shapes::StringShape.new(name: 'BillingPeriod')
54
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
54
55
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
55
56
  ComputationPreference = Shapes::StructureShape.new(name: 'ComputationPreference')
56
57
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
@@ -106,9 +107,15 @@ module Aws::BillingConductor
106
107
  FreeTierConfig = Shapes::StructureShape.new(name: 'FreeTierConfig')
107
108
  Instant = Shapes::IntegerShape.new(name: 'Instant')
108
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')
109
115
  ListAccountAssociationsFilter = Shapes::StructureShape.new(name: 'ListAccountAssociationsFilter')
110
116
  ListAccountAssociationsInput = Shapes::StructureShape.new(name: 'ListAccountAssociationsInput')
111
117
  ListAccountAssociationsOutput = Shapes::StructureShape.new(name: 'ListAccountAssociationsOutput')
118
+ ListBillingGroupAccountGrouping = Shapes::StructureShape.new(name: 'ListBillingGroupAccountGrouping')
112
119
  ListBillingGroupCostReportsFilter = Shapes::StructureShape.new(name: 'ListBillingGroupCostReportsFilter')
113
120
  ListBillingGroupCostReportsInput = Shapes::StructureShape.new(name: 'ListBillingGroupCostReportsInput')
114
121
  ListBillingGroupCostReportsOutput = Shapes::StructureShape.new(name: 'ListBillingGroupCostReportsOutput')
@@ -144,6 +151,7 @@ module Aws::BillingConductor
144
151
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
145
152
  Margin = Shapes::StringShape.new(name: 'Margin')
146
153
  MarginPercentage = Shapes::StringShape.new(name: 'MarginPercentage')
154
+ MatchOption = Shapes::StringShape.new(name: 'MatchOption')
147
155
  MaxBillingGroupResults = Shapes::IntegerShape.new(name: 'MaxBillingGroupResults')
148
156
  MaxCustomLineItemResults = Shapes::IntegerShape.new(name: 'MaxCustomLineItemResults')
149
157
  MaxPricingPlanResults = Shapes::IntegerShape.new(name: 'MaxPricingPlanResults')
@@ -189,6 +197,7 @@ module Aws::BillingConductor
189
197
  Token = Shapes::StringShape.new(name: 'Token')
190
198
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
191
199
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
200
+ UpdateBillingGroupAccountGrouping = Shapes::StructureShape.new(name: 'UpdateBillingGroupAccountGrouping')
192
201
  UpdateBillingGroupInput = Shapes::StructureShape.new(name: 'UpdateBillingGroupInput')
193
202
  UpdateBillingGroupOutput = Shapes::StructureShape.new(name: 'UpdateBillingGroupOutput')
194
203
  UpdateCustomLineItemChargeDetails = Shapes::StructureShape.new(name: 'UpdateCustomLineItemChargeDetails')
@@ -220,6 +229,7 @@ module Aws::BillingConductor
220
229
  AccountAssociationsListElement.struct_class = Types::AccountAssociationsListElement
221
230
 
222
231
  AccountGrouping.add_member(:linked_account_ids, Shapes::ShapeRef.new(shape: AccountIdList, required: true, location_name: "LinkedAccountIds"))
232
+ AccountGrouping.add_member(:auto_associate, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoAssociate"))
223
233
  AccountGrouping.struct_class = Types::AccountGrouping
224
234
 
225
235
  AccountIdFilterList.member = Shapes::ShapeRef.new(shape: AccountId)
@@ -292,6 +302,7 @@ module Aws::BillingConductor
292
302
  BillingGroupListElement.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Instant, location_name: "LastModifiedTime"))
293
303
  BillingGroupListElement.add_member(:status, Shapes::ShapeRef.new(shape: BillingGroupStatus, location_name: "Status"))
294
304
  BillingGroupListElement.add_member(:status_reason, Shapes::ShapeRef.new(shape: BillingGroupStatusReason, location_name: "StatusReason"))
305
+ BillingGroupListElement.add_member(:account_grouping, Shapes::ShapeRef.new(shape: ListBillingGroupAccountGrouping, location_name: "AccountGrouping"))
295
306
  BillingGroupListElement.struct_class = Types::BillingGroupListElement
296
307
 
297
308
  BillingGroupStatusList.member = Shapes::ShapeRef.new(shape: BillingGroupStatus)
@@ -377,6 +388,7 @@ module Aws::BillingConductor
377
388
  CustomLineItemChargeDetails.add_member(:flat, Shapes::ShapeRef.new(shape: CustomLineItemFlatChargeDetails, location_name: "Flat"))
378
389
  CustomLineItemChargeDetails.add_member(:percentage, Shapes::ShapeRef.new(shape: CustomLineItemPercentageChargeDetails, location_name: "Percentage"))
379
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"))
380
392
  CustomLineItemChargeDetails.struct_class = Types::CustomLineItemChargeDetails
381
393
 
382
394
  CustomLineItemFlatChargeDetails.add_member(:charge_value, Shapes::ShapeRef.new(shape: CustomLineItemChargeValue, required: true, location_name: "ChargeValue"))
@@ -471,6 +483,15 @@ module Aws::BillingConductor
471
483
  InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location: "header", location_name: "Retry-After"))
472
484
  InternalServerException.struct_class = Types::InternalServerException
473
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
+
474
495
  ListAccountAssociationsFilter.add_member(:association, Shapes::ShapeRef.new(shape: Association, location_name: "Association"))
475
496
  ListAccountAssociationsFilter.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
476
497
  ListAccountAssociationsFilter.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIdFilterList, location_name: "AccountIds"))
@@ -485,6 +506,9 @@ module Aws::BillingConductor
485
506
  ListAccountAssociationsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
486
507
  ListAccountAssociationsOutput.struct_class = Types::ListAccountAssociationsOutput
487
508
 
509
+ ListBillingGroupAccountGrouping.add_member(:auto_associate, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoAssociate"))
510
+ ListBillingGroupAccountGrouping.struct_class = Types::ListBillingGroupAccountGrouping
511
+
488
512
  ListBillingGroupCostReportsFilter.add_member(:billing_group_arns, Shapes::ShapeRef.new(shape: BillingGroupArnList, location_name: "BillingGroupArns"))
489
513
  ListBillingGroupCostReportsFilter.struct_class = Types::ListBillingGroupCostReportsFilter
490
514
 
@@ -501,6 +525,7 @@ module Aws::BillingConductor
501
525
  ListBillingGroupsFilter.add_member(:arns, Shapes::ShapeRef.new(shape: BillingGroupArnList, location_name: "Arns"))
502
526
  ListBillingGroupsFilter.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlanFullArn, location_name: "PricingPlan"))
503
527
  ListBillingGroupsFilter.add_member(:statuses, Shapes::ShapeRef.new(shape: BillingGroupStatusList, location_name: "Statuses"))
528
+ ListBillingGroupsFilter.add_member(:auto_associate, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoAssociate"))
504
529
  ListBillingGroupsFilter.struct_class = Types::ListBillingGroupsFilter
505
530
 
506
531
  ListBillingGroupsInput.add_member(:billing_period, Shapes::ShapeRef.new(shape: BillingPeriod, location_name: "BillingPeriod"))
@@ -516,6 +541,7 @@ module Aws::BillingConductor
516
541
  ListCustomLineItemChargeDetails.add_member(:flat, Shapes::ShapeRef.new(shape: ListCustomLineItemFlatChargeDetails, location_name: "Flat"))
517
542
  ListCustomLineItemChargeDetails.add_member(:percentage, Shapes::ShapeRef.new(shape: ListCustomLineItemPercentageChargeDetails, location_name: "Percentage"))
518
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"))
519
545
  ListCustomLineItemChargeDetails.struct_class = Types::ListCustomLineItemChargeDetails
520
546
 
521
547
  ListCustomLineItemFlatChargeDetails.add_member(:charge_value, Shapes::ShapeRef.new(shape: CustomLineItemChargeValue, required: true, location_name: "ChargeValue"))
@@ -708,11 +734,15 @@ module Aws::BillingConductor
708
734
 
709
735
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
710
736
 
737
+ UpdateBillingGroupAccountGrouping.add_member(:auto_associate, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoAssociate"))
738
+ UpdateBillingGroupAccountGrouping.struct_class = Types::UpdateBillingGroupAccountGrouping
739
+
711
740
  UpdateBillingGroupInput.add_member(:arn, Shapes::ShapeRef.new(shape: BillingGroupArn, required: true, location_name: "Arn"))
712
741
  UpdateBillingGroupInput.add_member(:name, Shapes::ShapeRef.new(shape: BillingGroupName, location_name: "Name"))
713
742
  UpdateBillingGroupInput.add_member(:status, Shapes::ShapeRef.new(shape: BillingGroupStatus, location_name: "Status"))
714
743
  UpdateBillingGroupInput.add_member(:computation_preference, Shapes::ShapeRef.new(shape: ComputationPreference, location_name: "ComputationPreference"))
715
744
  UpdateBillingGroupInput.add_member(:description, Shapes::ShapeRef.new(shape: BillingGroupDescription, location_name: "Description"))
745
+ UpdateBillingGroupInput.add_member(:account_grouping, Shapes::ShapeRef.new(shape: UpdateBillingGroupAccountGrouping, location_name: "AccountGrouping"))
716
746
  UpdateBillingGroupInput.struct_class = Types::UpdateBillingGroupInput
717
747
 
718
748
  UpdateBillingGroupOutput.add_member(:arn, Shapes::ShapeRef.new(shape: BillingGroupArn, location_name: "Arn"))
@@ -724,10 +754,12 @@ module Aws::BillingConductor
724
754
  UpdateBillingGroupOutput.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Instant, location_name: "LastModifiedTime"))
725
755
  UpdateBillingGroupOutput.add_member(:status, Shapes::ShapeRef.new(shape: BillingGroupStatus, location_name: "Status"))
726
756
  UpdateBillingGroupOutput.add_member(:status_reason, Shapes::ShapeRef.new(shape: BillingGroupStatusReason, location_name: "StatusReason"))
757
+ UpdateBillingGroupOutput.add_member(:account_grouping, Shapes::ShapeRef.new(shape: UpdateBillingGroupAccountGrouping, location_name: "AccountGrouping"))
727
758
  UpdateBillingGroupOutput.struct_class = Types::UpdateBillingGroupOutput
728
759
 
729
760
  UpdateCustomLineItemChargeDetails.add_member(:flat, Shapes::ShapeRef.new(shape: UpdateCustomLineItemFlatChargeDetails, location_name: "Flat"))
730
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"))
731
763
  UpdateCustomLineItemChargeDetails.struct_class = Types::UpdateCustomLineItemChargeDetails
732
764
 
733
765
  UpdateCustomLineItemFlatChargeDetails.add_member(:charge_value, Shapes::ShapeRef.new(shape: CustomLineItemChargeValue, required: true, location_name: "ChargeValue"))
@@ -25,25 +25,7 @@ module Aws::BillingConductor
25
25
  end
26
26
  if Aws::Endpoints::Matchers.set?(region)
27
27
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
- if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
29
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
30
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
31
- return Aws::Endpoints::Endpoint.new(url: "https://billingconductor-fips.#{region}.api.aws", headers: {}, properties: {})
32
- end
33
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
34
- end
35
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
36
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
37
- return Aws::Endpoints::Endpoint.new(url: "https://billingconductor-fips.#{region}.amazonaws.com", headers: {}, properties: {})
38
- end
39
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
40
- end
41
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
42
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
43
- return Aws::Endpoints::Endpoint.new(url: "https://billingconductor.#{region}.api.aws", headers: {}, properties: {})
44
- end
45
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
- end
28
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
47
29
  return Aws::Endpoints::Endpoint.new(url: "https://billingconductor.us-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"billingconductor", "signingRegion"=>"us-east-1"}]})
48
30
  end
49
31
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
@@ -64,9 +46,6 @@ module Aws::BillingConductor
64
46
  end
65
47
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
66
48
  end
67
- if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
68
- return Aws::Endpoints::Endpoint.new(url: "https://billingconductor.us-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"billingconductor", "signingRegion"=>"us-east-1"}]})
69
- end
70
49
  return Aws::Endpoints::Endpoint.new(url: "https://billingconductor.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
71
50
  end
72
51
  end
@@ -53,7 +53,8 @@ module Aws::BillingConductor
53
53
  end
54
54
 
55
55
  # The set of accounts that will be under the billing group. The set of
56
- # accounts resemble the linked accounts in a consolidated family.
56
+ # accounts resemble the linked accounts in a consolidated billing
57
+ # family.
57
58
  #
58
59
  # @!attribute [rw] linked_account_ids
59
60
  # The account IDs that make up the billing group. Account IDs must be
@@ -61,10 +62,17 @@ module Aws::BillingConductor
61
62
  # another billing group.
62
63
  # @return [Array<String>]
63
64
  #
65
+ # @!attribute [rw] auto_associate
66
+ # Specifies if this billing group will automatically associate newly
67
+ # added Amazon Web Services accounts that join your consolidated
68
+ # billing family.
69
+ # @return [Boolean]
70
+ #
64
71
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/AccountGrouping AWS API Documentation
65
72
  #
66
73
  class AccountGrouping < Struct.new(
67
- :linked_account_ids)
74
+ :linked_account_ids,
75
+ :auto_associate)
68
76
  SENSITIVE = []
69
77
  include Aws::Structure
70
78
  end
@@ -341,6 +349,11 @@ module Aws::BillingConductor
341
349
  # The reason why the billing group is in its current status.
342
350
  # @return [String]
343
351
  #
352
+ # @!attribute [rw] account_grouping
353
+ # Specifies if the billing group has automatic account association
354
+ # (`AutoAssociate`) enabled.
355
+ # @return [Types::ListBillingGroupAccountGrouping]
356
+ #
344
357
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/BillingGroupListElement AWS API Documentation
345
358
  #
346
359
  class BillingGroupListElement < Struct.new(
@@ -353,7 +366,8 @@ module Aws::BillingConductor
353
366
  :creation_time,
354
367
  :last_modified_time,
355
368
  :status,
356
- :status_reason)
369
+ :status_reason,
370
+ :account_grouping)
357
371
  SENSITIVE = [:name, :description]
358
372
  include Aws::Structure
359
373
  end
@@ -417,7 +431,8 @@ module Aws::BillingConductor
417
431
  #
418
432
  # @!attribute [rw] account_grouping
419
433
  # The set of accounts that will be under the billing group. The set of
420
- # accounts resemble the linked accounts in a consolidated family.
434
+ # accounts resemble the linked accounts in a consolidated billing
435
+ # family.
421
436
  # @return [Types::AccountGrouping]
422
437
  #
423
438
  # @!attribute [rw] computation_preference
@@ -746,12 +761,17 @@ module Aws::BillingConductor
746
761
  # is a fee or credit.
747
762
  # @return [String]
748
763
  #
764
+ # @!attribute [rw] line_item_filters
765
+ # A representation of the line item filter.
766
+ # @return [Array<Types::LineItemFilter>]
767
+ #
749
768
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CustomLineItemChargeDetails AWS API Documentation
750
769
  #
751
770
  class CustomLineItemChargeDetails < Struct.new(
752
771
  :flat,
753
772
  :percentage,
754
- :type)
773
+ :type,
774
+ :line_item_filters)
755
775
  SENSITIVE = []
756
776
  include Aws::Structure
757
777
  end
@@ -1154,6 +1174,38 @@ module Aws::BillingConductor
1154
1174
  include Aws::Structure
1155
1175
  end
1156
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
+
1157
1209
  # The filter on the account ID of the linked account, or any of the
1158
1210
  # following:
1159
1211
  #
@@ -1244,6 +1296,22 @@ module Aws::BillingConductor
1244
1296
  include Aws::Structure
1245
1297
  end
1246
1298
 
1299
+ # Specifies if the billing group has the following features enabled.
1300
+ #
1301
+ # @!attribute [rw] auto_associate
1302
+ # Specifies if this billing group will automatically associate newly
1303
+ # added Amazon Web Services accounts that join your consolidated
1304
+ # billing family.
1305
+ # @return [Boolean]
1306
+ #
1307
+ # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListBillingGroupAccountGrouping AWS API Documentation
1308
+ #
1309
+ class ListBillingGroupAccountGrouping < Struct.new(
1310
+ :auto_associate)
1311
+ SENSITIVE = []
1312
+ include Aws::Structure
1313
+ end
1314
+
1247
1315
  # The filter used to retrieve specific `BillingGroupCostReportElements`.
1248
1316
  #
1249
1317
  # @!attribute [rw] billing_group_arns
@@ -1324,12 +1392,19 @@ module Aws::BillingConductor
1324
1392
  # specific time range
1325
1393
  # @return [Array<String>]
1326
1394
  #
1395
+ # @!attribute [rw] auto_associate
1396
+ # Specifies if this billing group will automatically associate newly
1397
+ # added Amazon Web Services accounts that join your consolidated
1398
+ # billing family.
1399
+ # @return [Boolean]
1400
+ #
1327
1401
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListBillingGroupsFilter AWS API Documentation
1328
1402
  #
1329
1403
  class ListBillingGroupsFilter < Struct.new(
1330
1404
  :arns,
1331
1405
  :pricing_plan,
1332
- :statuses)
1406
+ :statuses,
1407
+ :auto_associate)
1333
1408
  SENSITIVE = []
1334
1409
  include Aws::Structure
1335
1410
  end
@@ -1398,12 +1473,17 @@ module Aws::BillingConductor
1398
1473
  # is a `fee` or `credit`.
1399
1474
  # @return [String]
1400
1475
  #
1476
+ # @!attribute [rw] line_item_filters
1477
+ # A representation of the line item filter.
1478
+ # @return [Array<Types::LineItemFilter>]
1479
+ #
1401
1480
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListCustomLineItemChargeDetails AWS API Documentation
1402
1481
  #
1403
1482
  class ListCustomLineItemChargeDetails < Struct.new(
1404
1483
  :flat,
1405
1484
  :percentage,
1406
- :type)
1485
+ :type,
1486
+ :line_item_filters)
1407
1487
  SENSITIVE = []
1408
1488
  include Aws::Structure
1409
1489
  end
@@ -2254,6 +2334,22 @@ module Aws::BillingConductor
2254
2334
  #
2255
2335
  class UntagResourceResponse < Aws::EmptyStructure; end
2256
2336
 
2337
+ # Specifies if the billing group has the following features enabled.
2338
+ #
2339
+ # @!attribute [rw] auto_associate
2340
+ # Specifies if this billing group will automatically associate newly
2341
+ # added Amazon Web Services accounts that join your consolidated
2342
+ # billing family.
2343
+ # @return [Boolean]
2344
+ #
2345
+ # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateBillingGroupAccountGrouping AWS API Documentation
2346
+ #
2347
+ class UpdateBillingGroupAccountGrouping < Struct.new(
2348
+ :auto_associate)
2349
+ SENSITIVE = []
2350
+ include Aws::Structure
2351
+ end
2352
+
2257
2353
  # @!attribute [rw] arn
2258
2354
  # The Amazon Resource Name (ARN) of the billing group being updated.
2259
2355
  # @return [String]
@@ -2277,6 +2373,11 @@ module Aws::BillingConductor
2277
2373
  # A description of the billing group.
2278
2374
  # @return [String]
2279
2375
  #
2376
+ # @!attribute [rw] account_grouping
2377
+ # Specifies if the billing group has automatic account association
2378
+ # (`AutoAssociate`) enabled.
2379
+ # @return [Types::UpdateBillingGroupAccountGrouping]
2380
+ #
2280
2381
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateBillingGroupInput AWS API Documentation
2281
2382
  #
2282
2383
  class UpdateBillingGroupInput < Struct.new(
@@ -2284,7 +2385,8 @@ module Aws::BillingConductor
2284
2385
  :name,
2285
2386
  :status,
2286
2387
  :computation_preference,
2287
- :description)
2388
+ :description,
2389
+ :account_grouping)
2288
2390
  SENSITIVE = [:name, :description]
2289
2391
  include Aws::Structure
2290
2392
  end
@@ -2329,6 +2431,11 @@ module Aws::BillingConductor
2329
2431
  # The reason why the billing group is in its current status.
2330
2432
  # @return [String]
2331
2433
  #
2434
+ # @!attribute [rw] account_grouping
2435
+ # Specifies if the billing group has automatic account association
2436
+ # (`AutoAssociate`) enabled.
2437
+ # @return [Types::UpdateBillingGroupAccountGrouping]
2438
+ #
2332
2439
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateBillingGroupOutput AWS API Documentation
2333
2440
  #
2334
2441
  class UpdateBillingGroupOutput < Struct.new(
@@ -2340,7 +2447,8 @@ module Aws::BillingConductor
2340
2447
  :size,
2341
2448
  :last_modified_time,
2342
2449
  :status,
2343
- :status_reason)
2450
+ :status_reason,
2451
+ :account_grouping)
2344
2452
  SENSITIVE = [:name, :description]
2345
2453
  include Aws::Structure
2346
2454
  end
@@ -2358,11 +2466,16 @@ module Aws::BillingConductor
2358
2466
  # new charge details of a percentage custom line item.
2359
2467
  # @return [Types::UpdateCustomLineItemPercentageChargeDetails]
2360
2468
  #
2469
+ # @!attribute [rw] line_item_filters
2470
+ # A representation of the line item filter.
2471
+ # @return [Array<Types::LineItemFilter>]
2472
+ #
2361
2473
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateCustomLineItemChargeDetails AWS API Documentation
2362
2474
  #
2363
2475
  class UpdateCustomLineItemChargeDetails < Struct.new(
2364
2476
  :flat,
2365
- :percentage)
2477
+ :percentage,
2478
+ :line_item_filters)
2366
2479
  SENSITIVE = []
2367
2480
  include Aws::Structure
2368
2481
  end
@@ -2692,7 +2805,7 @@ module Aws::BillingConductor
2692
2805
  end
2693
2806
 
2694
2807
  # The input doesn't match with the constraints specified by Amazon Web
2695
- # Services services.
2808
+ # Services.
2696
2809
  #
2697
2810
  # @!attribute [rw] message
2698
2811
  # @return [String]
@@ -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.12.0'
56
+ GEM_VERSION = '1.14.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.12.0
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-07-11 00:00:00.000000000 Z
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