aws-sdk-billingconductor 1.16.0 → 1.18.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: 94895612b06abb86d75d2d3af07d144df05b32c667815d09f3f2c5c8afa71022
4
- data.tar.gz: e9584febeaaa4f78eff3ed5aea248262962f26d40f9ee3228b2683a846147532
3
+ metadata.gz: 42a1543a18adb35e0c317f902bc0836d6314566ef1a796ffc0acc077246ce8a9
4
+ data.tar.gz: c8d27517c021713a10f706089c523e9a0396e23702ed6f60d05138f5de36a64a
5
5
  SHA512:
6
- metadata.gz: 88ae4f58f9f007c20c031b6a48a56a59a62bb2caf36573e55d6c5537839802558e52e5e0c1be7681fdfef0df2debe24101e4fe1d4c43efcdaab5ed7bd2314b34
7
- data.tar.gz: 6db7b421d6439073fca93d94d8234f9c9f22cd72371358829017996a0e68b617fd04b39c5ae7a3fd54edd3a805a09b5d26659830e9b81e1437210d4963ef9a1a
6
+ metadata.gz: 69d8fbb5e700ce23f9153b51095e30592b9b387c9bafdda415e0f411766505112b4a7b1eee9f0bd6a79727180d5a91f1c9b7f2338853567ad5a9a1fb030c7ee0
7
+ data.tar.gz: 3a84222d363c412cd12480f4c60078e477cd32d569aa0f7698a737c50794d64af5c006621af19fd7e689a66fa0955d2d2c60a25a76ecfd4a0bc0b82160584b43
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.18.0 (2023-12-04)
5
+ ------------------
6
+
7
+ * Feature - This release adds the ability to specify a linked account of the billing group for the custom line item resource.
8
+
9
+ 1.17.0 (2023-11-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.16.0 (2023-11-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.0
1
+ 1.18.0
@@ -658,6 +658,10 @@ module Aws::BillingConductor
658
658
  # A `CustomLineItemChargeDetails` that describes the charge details for
659
659
  # a custom line item.
660
660
  #
661
+ # @option params [String] :account_id
662
+ # The Amazon Web Services account in which this custom line item will be
663
+ # applied to.
664
+ #
661
665
  # @return [Types::CreateCustomLineItemOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
662
666
  #
663
667
  # * {Types::CreateCustomLineItemOutput#arn #arn} => String
@@ -693,6 +697,7 @@ module Aws::BillingConductor
693
697
  # },
694
698
  # ],
695
699
  # },
700
+ # account_id: "AccountId",
696
701
  # })
697
702
  #
698
703
  # @example Response structure
@@ -1297,6 +1302,7 @@ module Aws::BillingConductor
1297
1302
  # resp.custom_line_item_versions[0].end_billing_period #=> String
1298
1303
  # resp.custom_line_item_versions[0].arn #=> String
1299
1304
  # resp.custom_line_item_versions[0].start_time #=> Integer
1305
+ # resp.custom_line_item_versions[0].account_id #=> String
1300
1306
  # resp.next_token #=> String
1301
1307
  #
1302
1308
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListCustomLineItemVersions AWS API Documentation
@@ -1344,6 +1350,7 @@ module Aws::BillingConductor
1344
1350
  # names: ["CustomLineItemName"],
1345
1351
  # billing_groups: ["BillingGroupArn"],
1346
1352
  # arns: ["CustomLineItemArn"],
1353
+ # account_ids: ["AccountId"],
1347
1354
  # },
1348
1355
  # })
1349
1356
  #
@@ -1367,6 +1374,7 @@ module Aws::BillingConductor
1367
1374
  # resp.custom_line_items[0].creation_time #=> Integer
1368
1375
  # resp.custom_line_items[0].last_modified_time #=> Integer
1369
1376
  # resp.custom_line_items[0].association_size #=> Integer
1377
+ # resp.custom_line_items[0].account_id #=> String
1370
1378
  # resp.next_token #=> String
1371
1379
  #
1372
1380
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListCustomLineItems AWS API Documentation
@@ -2041,7 +2049,7 @@ module Aws::BillingConductor
2041
2049
  params: params,
2042
2050
  config: config)
2043
2051
  context[:gem_name] = 'aws-sdk-billingconductor'
2044
- context[:gem_version] = '1.16.0'
2052
+ context[:gem_version] = '1.18.0'
2045
2053
  Seahorse::Client::Request.new(handlers, context)
2046
2054
  end
2047
2055
 
@@ -335,6 +335,7 @@ module Aws::BillingConductor
335
335
  CreateCustomLineItemInput.add_member(:billing_period_range, Shapes::ShapeRef.new(shape: CustomLineItemBillingPeriodRange, location_name: "BillingPeriodRange"))
336
336
  CreateCustomLineItemInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
337
337
  CreateCustomLineItemInput.add_member(:charge_details, Shapes::ShapeRef.new(shape: CustomLineItemChargeDetails, required: true, location_name: "ChargeDetails"))
338
+ CreateCustomLineItemInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
338
339
  CreateCustomLineItemInput.struct_class = Types::CreateCustomLineItemInput
339
340
 
340
341
  CreateCustomLineItemOutput.add_member(:arn, Shapes::ShapeRef.new(shape: CustomLineItemArn, location_name: "Arn"))
@@ -406,6 +407,7 @@ module Aws::BillingConductor
406
407
  CustomLineItemListElement.add_member(:creation_time, Shapes::ShapeRef.new(shape: Instant, location_name: "CreationTime"))
407
408
  CustomLineItemListElement.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Instant, location_name: "LastModifiedTime"))
408
409
  CustomLineItemListElement.add_member(:association_size, Shapes::ShapeRef.new(shape: NumberOfAssociations, location_name: "AssociationSize"))
410
+ CustomLineItemListElement.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
409
411
  CustomLineItemListElement.struct_class = Types::CustomLineItemListElement
410
412
 
411
413
  CustomLineItemNameList.member = Shapes::ShapeRef.new(shape: CustomLineItemName)
@@ -429,6 +431,7 @@ module Aws::BillingConductor
429
431
  CustomLineItemVersionListElement.add_member(:end_billing_period, Shapes::ShapeRef.new(shape: BillingPeriod, location_name: "EndBillingPeriod"))
430
432
  CustomLineItemVersionListElement.add_member(:arn, Shapes::ShapeRef.new(shape: CustomLineItemArn, location_name: "Arn"))
431
433
  CustomLineItemVersionListElement.add_member(:start_time, Shapes::ShapeRef.new(shape: Instant, location_name: "StartTime"))
434
+ CustomLineItemVersionListElement.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
432
435
  CustomLineItemVersionListElement.struct_class = Types::CustomLineItemVersionListElement
433
436
 
434
437
  DeleteBillingGroupInput.add_member(:arn, Shapes::ShapeRef.new(shape: BillingGroupArn, required: true, location_name: "Arn"))
@@ -570,6 +573,7 @@ module Aws::BillingConductor
570
573
  ListCustomLineItemsFilter.add_member(:names, Shapes::ShapeRef.new(shape: CustomLineItemNameList, location_name: "Names"))
571
574
  ListCustomLineItemsFilter.add_member(:billing_groups, Shapes::ShapeRef.new(shape: BillingGroupArnList, location_name: "BillingGroups"))
572
575
  ListCustomLineItemsFilter.add_member(:arns, Shapes::ShapeRef.new(shape: CustomLineItemArns, location_name: "Arns"))
576
+ ListCustomLineItemsFilter.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "AccountIds"))
573
577
  ListCustomLineItemsFilter.struct_class = Types::ListCustomLineItemsFilter
574
578
 
575
579
  ListCustomLineItemsInput.add_member(:billing_period, Shapes::ShapeRef.new(shape: BillingPeriod, location_name: "BillingPeriod"))
@@ -35,7 +35,7 @@ module Aws::BillingConductor
35
35
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
36
36
  end
37
37
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
38
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
38
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
39
39
  return Aws::Endpoints::Endpoint.new(url: "https://billingconductor-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
40
40
  end
41
41
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -25,16 +25,17 @@ module Aws::BillingConductor
25
25
  # @api private
26
26
  class Handler < Seahorse::Client::Handler
27
27
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
28
  unless context[:discovered_endpoint]
30
29
  params = parameters_for_operation(context)
31
30
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
31
 
33
32
  context.http_request.endpoint = endpoint.url
34
33
  apply_endpoint_headers(context, endpoint.headers)
34
+
35
+ context[:endpoint_params] = params
36
+ context[:endpoint_properties] = endpoint.properties
35
37
  end
36
38
 
37
- context[:endpoint_params] = params
38
39
  context[:auth_scheme] =
39
40
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
41
 
@@ -515,6 +515,11 @@ module Aws::BillingConductor
515
515
  # for a custom line item.
516
516
  # @return [Types::CustomLineItemChargeDetails]
517
517
  #
518
+ # @!attribute [rw] account_id
519
+ # The Amazon Web Services account in which this custom line item will
520
+ # be applied to.
521
+ # @return [String]
522
+ #
518
523
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreateCustomLineItemInput AWS API Documentation
519
524
  #
520
525
  class CreateCustomLineItemInput < Struct.new(
@@ -524,7 +529,8 @@ module Aws::BillingConductor
524
529
  :billing_group_arn,
525
530
  :billing_period_range,
526
531
  :tags,
527
- :charge_details)
532
+ :charge_details,
533
+ :account_id)
528
534
  SENSITIVE = [:name, :description]
529
535
  include Aws::Structure
530
536
  end
@@ -837,6 +843,11 @@ module Aws::BillingConductor
837
843
  # The number of resources that are associated to the custom line item.
838
844
  # @return [Integer]
839
845
  #
846
+ # @!attribute [rw] account_id
847
+ # The Amazon Web Services account in which this custom line item will
848
+ # be applied to.
849
+ # @return [String]
850
+ #
840
851
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CustomLineItemListElement AWS API Documentation
841
852
  #
842
853
  class CustomLineItemListElement < Struct.new(
@@ -849,7 +860,8 @@ module Aws::BillingConductor
849
860
  :billing_group_arn,
850
861
  :creation_time,
851
862
  :last_modified_time,
852
- :association_size)
863
+ :association_size,
864
+ :account_id)
853
865
  SENSITIVE = [:name, :description]
854
866
  include Aws::Structure
855
867
  end
@@ -934,6 +946,11 @@ module Aws::BillingConductor
934
946
  # The inclusive start time.
935
947
  # @return [Integer]
936
948
  #
949
+ # @!attribute [rw] account_id
950
+ # The Amazon Web Services account in which this custom line item will
951
+ # be applied to.
952
+ # @return [String]
953
+ #
937
954
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CustomLineItemVersionListElement AWS API Documentation
938
955
  #
939
956
  class CustomLineItemVersionListElement < Struct.new(
@@ -949,7 +966,8 @@ module Aws::BillingConductor
949
966
  :start_billing_period,
950
967
  :end_billing_period,
951
968
  :arn,
952
- :start_time)
969
+ :start_time,
970
+ :account_id)
953
971
  SENSITIVE = [:name, :description]
954
972
  include Aws::Structure
955
973
  end
@@ -1621,12 +1639,18 @@ module Aws::BillingConductor
1621
1639
  # A list of custom line item ARNs to retrieve information.
1622
1640
  # @return [Array<String>]
1623
1641
  #
1642
+ # @!attribute [rw] account_ids
1643
+ # The Amazon Web Services accounts in which this custom line item will
1644
+ # be applied to.
1645
+ # @return [Array<String>]
1646
+ #
1624
1647
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListCustomLineItemsFilter AWS API Documentation
1625
1648
  #
1626
1649
  class ListCustomLineItemsFilter < Struct.new(
1627
1650
  :names,
1628
1651
  :billing_groups,
1629
- :arns)
1652
+ :arns,
1653
+ :account_ids)
1630
1654
  SENSITIVE = []
1631
1655
  include Aws::Structure
1632
1656
  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.16.0'
56
+ GEM_VERSION = '1.18.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.16.0
4
+ version: 1.18.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-22 00:00:00.000000000 Z
11
+ date: 2023-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core