aws-sdk-billingconductor 1.6.0 → 1.8.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: 45506604ad1357858ff60356e51cc1c06a3b53fa989beca6b9abcb82620fb74b
4
- data.tar.gz: d07f6d89fb7797e4dc9155f1ecd0d249fe0397ee810b8825d83677eec0597f70
3
+ metadata.gz: a528da8fb61afc9ec905afc0228eb964e9bb1f44b2aa6853b04139730eecb43e
4
+ data.tar.gz: f8dc3fcf33d94bdd962f8e5307921b02ccdbec1d8d4924d8f5762ec064a6a6a2
5
5
  SHA512:
6
- metadata.gz: dd6858fc1663592dfe62db09ac83f89d5245e0dbf66459600fe56eb8c8dd3c00b599b2684d75f7f1dbf6120968c4523f0813a17fe44806c8023686b3a7573255
7
- data.tar.gz: 3d87e9e10f92408e600536ae6f609dc6cc093007315f70e8cf56bb8d916b7f31a728a930ebe9236764edd1d02fb713b9d703eb308e1e89b62b1ebf95200046c7
6
+ metadata.gz: 71d6171d1e3ea51b0eb8cf10730a230bca7c55849321c80de811e812772803750f789fa55884ffba78c1f49141044739a95dabaaecb941652103722b4e70976c
7
+ data.tar.gz: 3440d2f82425d634eb454391fcebe8e48470ac09d13bb340c5309ae10affc9ff6529db3459427d71460c9a792afd891b316791478ecd164dcbb6b7df064dfad5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.8.0 (2023-05-31)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.7.0 (2023-03-17)
10
+ ------------------
11
+
12
+ * Feature - This release adds a new filter to ListAccountAssociations API and a new filter to ListBillingGroups API.
13
+
4
14
  1.6.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 1.8.0
@@ -275,6 +275,11 @@ module Aws::BillingConductor
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -803,7 +808,7 @@ module Aws::BillingConductor
803
808
  # client_token: "ClientToken",
804
809
  # name: "PricingRuleName", # required
805
810
  # description: "PricingRuleDescription",
806
- # scope: "GLOBAL", # required, accepts GLOBAL, SERVICE, BILLING_ENTITY
811
+ # scope: "GLOBAL", # required, accepts GLOBAL, SERVICE, BILLING_ENTITY, SKU
807
812
  # type: "MARKUP", # required, accepts MARKUP, DISCOUNT, TIERING
808
813
  # modifier_percentage: 1.0,
809
814
  # service: "Service",
@@ -1040,12 +1045,12 @@ module Aws::BillingConductor
1040
1045
  # The filter on the account ID of the linked account, or any of the
1041
1046
  # following:
1042
1047
  #
1043
- # `MONITORED`\: linked accounts that are associated to billing groups.
1048
+ # `MONITORED`: linked accounts that are associated to billing groups.
1044
1049
  #
1045
- # `UNMONITORED`\: linked accounts that aren't associated to billing
1050
+ # `UNMONITORED`: linked accounts that aren't associated to billing
1046
1051
  # groups.
1047
1052
  #
1048
- # `Billing Group Arn`\: linked accounts that are associated to the
1053
+ # `Billing Group Arn`: linked accounts that are associated to the
1049
1054
  # provided billing group Arn.
1050
1055
  #
1051
1056
  # @option params [String] :next_token
@@ -1066,6 +1071,7 @@ module Aws::BillingConductor
1066
1071
  # filters: {
1067
1072
  # association: "Association",
1068
1073
  # account_id: "AccountId",
1074
+ # account_ids: ["AccountId"],
1069
1075
  # },
1070
1076
  # next_token: "Token",
1071
1077
  # })
@@ -1177,6 +1183,7 @@ module Aws::BillingConductor
1177
1183
  # filters: {
1178
1184
  # arns: ["BillingGroupArn"],
1179
1185
  # pricing_plan: "PricingPlanFullArn",
1186
+ # statuses: ["ACTIVE"], # accepts ACTIVE, PRIMARY_ACCOUNT_MISSING
1180
1187
  # },
1181
1188
  # })
1182
1189
  #
@@ -1257,6 +1264,8 @@ module Aws::BillingConductor
1257
1264
  # resp.custom_line_item_versions[0].association_size #=> Integer
1258
1265
  # resp.custom_line_item_versions[0].start_billing_period #=> String
1259
1266
  # resp.custom_line_item_versions[0].end_billing_period #=> String
1267
+ # resp.custom_line_item_versions[0].arn #=> String
1268
+ # resp.custom_line_item_versions[0].start_time #=> Integer
1260
1269
  # resp.next_token #=> String
1261
1270
  #
1262
1271
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListCustomLineItemVersions AWS API Documentation
@@ -1484,7 +1493,7 @@ module Aws::BillingConductor
1484
1493
  # resp.pricing_rules[0].name #=> String
1485
1494
  # resp.pricing_rules[0].arn #=> String
1486
1495
  # resp.pricing_rules[0].description #=> String
1487
- # resp.pricing_rules[0].scope #=> String, one of "GLOBAL", "SERVICE", "BILLING_ENTITY"
1496
+ # resp.pricing_rules[0].scope #=> String, one of "GLOBAL", "SERVICE", "BILLING_ENTITY", "SKU"
1488
1497
  # resp.pricing_rules[0].type #=> String, one of "MARKUP", "DISCOUNT", "TIERING"
1489
1498
  # resp.pricing_rules[0].modifier_percentage #=> Float
1490
1499
  # resp.pricing_rules[0].service #=> String
@@ -1493,6 +1502,8 @@ module Aws::BillingConductor
1493
1502
  # resp.pricing_rules[0].last_modified_time #=> Integer
1494
1503
  # resp.pricing_rules[0].billing_entity #=> String
1495
1504
  # resp.pricing_rules[0].tiering.free_tier.activated #=> Boolean
1505
+ # resp.pricing_rules[0].usage_type #=> String
1506
+ # resp.pricing_rules[0].operation #=> String
1496
1507
  # resp.next_token #=> String
1497
1508
  #
1498
1509
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingRules AWS API Documentation
@@ -1940,7 +1951,7 @@ module Aws::BillingConductor
1940
1951
  # resp.arn #=> String
1941
1952
  # resp.name #=> String
1942
1953
  # resp.description #=> String
1943
- # resp.scope #=> String, one of "GLOBAL", "SERVICE", "BILLING_ENTITY"
1954
+ # resp.scope #=> String, one of "GLOBAL", "SERVICE", "BILLING_ENTITY", "SKU"
1944
1955
  # resp.type #=> String, one of "MARKUP", "DISCOUNT", "TIERING"
1945
1956
  # resp.modifier_percentage #=> Float
1946
1957
  # resp.service #=> String
@@ -1973,7 +1984,7 @@ module Aws::BillingConductor
1973
1984
  params: params,
1974
1985
  config: config)
1975
1986
  context[:gem_name] = 'aws-sdk-billingconductor'
1976
- context[:gem_version] = '1.6.0'
1987
+ context[:gem_version] = '1.8.0'
1977
1988
  Seahorse::Client::Request.new(handlers, context)
1978
1989
  end
1979
1990
 
@@ -20,6 +20,7 @@ module Aws::BillingConductor
20
20
  AccountEmail = Shapes::StringShape.new(name: 'AccountEmail')
21
21
  AccountGrouping = Shapes::StructureShape.new(name: 'AccountGrouping')
22
22
  AccountId = Shapes::StringShape.new(name: 'AccountId')
23
+ AccountIdFilterList = Shapes::ListShape.new(name: 'AccountIdFilterList')
23
24
  AccountIdList = Shapes::ListShape.new(name: 'AccountIdList')
24
25
  AccountName = Shapes::StringShape.new(name: 'AccountName')
25
26
  Arn = Shapes::StringShape.new(name: 'Arn')
@@ -47,6 +48,7 @@ module Aws::BillingConductor
47
48
  BillingGroupListElement = Shapes::StructureShape.new(name: 'BillingGroupListElement')
48
49
  BillingGroupName = Shapes::StringShape.new(name: 'BillingGroupName')
49
50
  BillingGroupStatus = Shapes::StringShape.new(name: 'BillingGroupStatus')
51
+ BillingGroupStatusList = Shapes::ListShape.new(name: 'BillingGroupStatusList')
50
52
  BillingGroupStatusReason = Shapes::StringShape.new(name: 'BillingGroupStatusReason')
51
53
  BillingPeriod = Shapes::StringShape.new(name: 'BillingPeriod')
52
54
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
@@ -220,6 +222,8 @@ module Aws::BillingConductor
220
222
  AccountGrouping.add_member(:linked_account_ids, Shapes::ShapeRef.new(shape: AccountIdList, required: true, location_name: "LinkedAccountIds"))
221
223
  AccountGrouping.struct_class = Types::AccountGrouping
222
224
 
225
+ AccountIdFilterList.member = Shapes::ShapeRef.new(shape: AccountId)
226
+
223
227
  AccountIdList.member = Shapes::ShapeRef.new(shape: AccountId)
224
228
 
225
229
  AssociateAccountsInput.add_member(:arn, Shapes::ShapeRef.new(shape: BillingGroupArn, required: true, location_name: "Arn"))
@@ -290,6 +294,8 @@ module Aws::BillingConductor
290
294
  BillingGroupListElement.add_member(:status_reason, Shapes::ShapeRef.new(shape: BillingGroupStatusReason, location_name: "StatusReason"))
291
295
  BillingGroupListElement.struct_class = Types::BillingGroupListElement
292
296
 
297
+ BillingGroupStatusList.member = Shapes::ShapeRef.new(shape: BillingGroupStatus)
298
+
293
299
  ComputationPreference.add_member(:pricing_plan_arn, Shapes::ShapeRef.new(shape: PricingPlanFullArn, required: true, location_name: "PricingPlanArn"))
294
300
  ComputationPreference.struct_class = Types::ComputationPreference
295
301
 
@@ -409,6 +415,8 @@ module Aws::BillingConductor
409
415
  CustomLineItemVersionListElement.add_member(:association_size, Shapes::ShapeRef.new(shape: NumberOfAssociations, location_name: "AssociationSize"))
410
416
  CustomLineItemVersionListElement.add_member(:start_billing_period, Shapes::ShapeRef.new(shape: BillingPeriod, location_name: "StartBillingPeriod"))
411
417
  CustomLineItemVersionListElement.add_member(:end_billing_period, Shapes::ShapeRef.new(shape: BillingPeriod, location_name: "EndBillingPeriod"))
418
+ CustomLineItemVersionListElement.add_member(:arn, Shapes::ShapeRef.new(shape: CustomLineItemArn, location_name: "Arn"))
419
+ CustomLineItemVersionListElement.add_member(:start_time, Shapes::ShapeRef.new(shape: Instant, location_name: "StartTime"))
412
420
  CustomLineItemVersionListElement.struct_class = Types::CustomLineItemVersionListElement
413
421
 
414
422
  DeleteBillingGroupInput.add_member(:arn, Shapes::ShapeRef.new(shape: BillingGroupArn, required: true, location_name: "Arn"))
@@ -465,6 +473,7 @@ module Aws::BillingConductor
465
473
 
466
474
  ListAccountAssociationsFilter.add_member(:association, Shapes::ShapeRef.new(shape: Association, location_name: "Association"))
467
475
  ListAccountAssociationsFilter.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
476
+ ListAccountAssociationsFilter.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIdFilterList, location_name: "AccountIds"))
468
477
  ListAccountAssociationsFilter.struct_class = Types::ListAccountAssociationsFilter
469
478
 
470
479
  ListAccountAssociationsInput.add_member(:billing_period, Shapes::ShapeRef.new(shape: BillingPeriod, location_name: "BillingPeriod"))
@@ -491,6 +500,7 @@ module Aws::BillingConductor
491
500
 
492
501
  ListBillingGroupsFilter.add_member(:arns, Shapes::ShapeRef.new(shape: BillingGroupArnList, location_name: "Arns"))
493
502
  ListBillingGroupsFilter.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlanFullArn, location_name: "PricingPlan"))
503
+ ListBillingGroupsFilter.add_member(:statuses, Shapes::ShapeRef.new(shape: BillingGroupStatusList, location_name: "Statuses"))
494
504
  ListBillingGroupsFilter.struct_class = Types::ListBillingGroupsFilter
495
505
 
496
506
  ListBillingGroupsInput.add_member(:billing_period, Shapes::ShapeRef.new(shape: BillingPeriod, location_name: "BillingPeriod"))
@@ -658,6 +668,8 @@ module Aws::BillingConductor
658
668
  PricingRuleListElement.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Instant, location_name: "LastModifiedTime"))
659
669
  PricingRuleListElement.add_member(:billing_entity, Shapes::ShapeRef.new(shape: BillingEntity, location_name: "BillingEntity"))
660
670
  PricingRuleListElement.add_member(:tiering, Shapes::ShapeRef.new(shape: Tiering, location_name: "Tiering"))
671
+ PricingRuleListElement.add_member(:usage_type, Shapes::ShapeRef.new(shape: UsageType, location_name: "UsageType"))
672
+ PricingRuleListElement.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "Operation"))
661
673
  PricingRuleListElement.struct_class = Types::PricingRuleListElement
662
674
 
663
675
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
@@ -50,9 +50,6 @@ module Aws::BillingConductor
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,60 +14,63 @@ module Aws::BillingConductor
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
26
20
  end
27
- if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
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
47
+ 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
+ end
28
49
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
50
  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"))
30
- return Aws::Endpoints::Endpoint.new(url: "https://billingconductor-fips.#{region}.api.aws", headers: {}, properties: {})
51
+ return Aws::Endpoints::Endpoint.new(url: "https://billingconductor-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
52
  end
32
53
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
54
  end
34
55
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
56
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
- return Aws::Endpoints::Endpoint.new(url: "https://billingconductor-fips.#{region}.amazonaws.com", headers: {}, properties: {})
57
+ return Aws::Endpoints::Endpoint.new(url: "https://billingconductor-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
58
  end
38
59
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
60
  end
40
61
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
62
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
- return Aws::Endpoints::Endpoint.new(url: "https://billingconductor.#{region}.api.aws", headers: {}, properties: {})
63
+ return Aws::Endpoints::Endpoint.new(url: "https://billingconductor.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
64
  end
44
65
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
66
  end
46
- return Aws::Endpoints::Endpoint.new(url: "https://billingconductor.us-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"billingconductor"}]})
47
- end
48
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
49
- 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"))
50
- return Aws::Endpoints::Endpoint.new(url: "https://billingconductor-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
51
- end
52
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
53
- end
54
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
55
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
56
- return Aws::Endpoints::Endpoint.new(url: "https://billingconductor-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
57
- end
58
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
59
- end
60
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
61
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
62
- return Aws::Endpoints::Endpoint.new(url: "https://billingconductor.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
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"}]})
63
69
  end
64
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
65
- end
66
- if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
67
- return Aws::Endpoints::Endpoint.new(url: "https://billingconductor.us-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"billingconductor"}]})
70
+ return Aws::Endpoints::Endpoint.new(url: "https://billingconductor.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
68
71
  end
69
- return Aws::Endpoints::Endpoint.new(url: "https://billingconductor.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
70
72
  end
73
+ raise ArgumentError, "Invalid Configuration: Missing Region"
71
74
  raise ArgumentError, 'No endpoint could be resolved'
72
75
 
73
76
  end
@@ -905,6 +905,15 @@ module Aws::BillingConductor
905
905
  # The end billing period of the custom line item version.
906
906
  # @return [String]
907
907
  #
908
+ # @!attribute [rw] arn
909
+ # A list of custom line item Amazon Resource Names (ARNs) to retrieve
910
+ # information.
911
+ # @return [String]
912
+ #
913
+ # @!attribute [rw] start_time
914
+ # The inclusive start time.
915
+ # @return [Integer]
916
+ #
908
917
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CustomLineItemVersionListElement AWS API Documentation
909
918
  #
910
919
  class CustomLineItemVersionListElement < Struct.new(
@@ -918,7 +927,9 @@ module Aws::BillingConductor
918
927
  :last_modified_time,
919
928
  :association_size,
920
929
  :start_billing_period,
921
- :end_billing_period)
930
+ :end_billing_period,
931
+ :arn,
932
+ :start_time)
922
933
  SENSITIVE = [:name, :description]
923
934
  include Aws::Structure
924
935
  end
@@ -1146,21 +1157,21 @@ module Aws::BillingConductor
1146
1157
  # The filter on the account ID of the linked account, or any of the
1147
1158
  # following:
1148
1159
  #
1149
- # `MONITORED`\: linked accounts that are associated to billing groups.
1160
+ # `MONITORED`: linked accounts that are associated to billing groups.
1150
1161
  #
1151
- # `UNMONITORED`\: linked accounts that are not associated to billing
1162
+ # `UNMONITORED`: linked accounts that are not associated to billing
1152
1163
  # groups.
1153
1164
  #
1154
- # `Billing Group Arn`\: linked accounts that are associated to the
1165
+ # `Billing Group Arn`: linked accounts that are associated to the
1155
1166
  # provided Billing Group Arn.
1156
1167
  #
1157
1168
  # @!attribute [rw] association
1158
- # `MONITORED`\: linked accounts that are associated to billing groups.
1169
+ # `MONITORED`: linked accounts that are associated to billing groups.
1159
1170
  #
1160
- # `UNMONITORED`\: linked accounts that are not associated to billing
1171
+ # `UNMONITORED`: linked accounts that are not associated to billing
1161
1172
  # groups.
1162
1173
  #
1163
- # `Billing Group Arn`\: linked accounts that are associated to the
1174
+ # `Billing Group Arn`: linked accounts that are associated to the
1164
1175
  # provided Billing Group Arn.
1165
1176
  # @return [String]
1166
1177
  #
@@ -1168,11 +1179,17 @@ module Aws::BillingConductor
1168
1179
  # The Amazon Web Services account ID to filter on.
1169
1180
  # @return [String]
1170
1181
  #
1182
+ # @!attribute [rw] account_ids
1183
+ # The list of Amazon Web Services IDs to retrieve their associated
1184
+ # billing group for a given time range.
1185
+ # @return [Array<String>]
1186
+ #
1171
1187
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListAccountAssociationsFilter AWS API Documentation
1172
1188
  #
1173
1189
  class ListAccountAssociationsFilter < Struct.new(
1174
1190
  :association,
1175
- :account_id)
1191
+ :account_id,
1192
+ :account_ids)
1176
1193
  SENSITIVE = []
1177
1194
  include Aws::Structure
1178
1195
  end
@@ -1185,12 +1202,12 @@ module Aws::BillingConductor
1185
1202
  # The filter on the account ID of the linked account, or any of the
1186
1203
  # following:
1187
1204
  #
1188
- # `MONITORED`\: linked accounts that are associated to billing groups.
1205
+ # `MONITORED`: linked accounts that are associated to billing groups.
1189
1206
  #
1190
- # `UNMONITORED`\: linked accounts that aren't associated to billing
1207
+ # `UNMONITORED`: linked accounts that aren't associated to billing
1191
1208
  # groups.
1192
1209
  #
1193
- # `Billing Group Arn`\: linked accounts that are associated to the
1210
+ # `Billing Group Arn`: linked accounts that are associated to the
1194
1211
  # provided billing group Arn.
1195
1212
  # @return [Types::ListAccountAssociationsFilter]
1196
1213
  #
@@ -1302,11 +1319,17 @@ module Aws::BillingConductor
1302
1319
  # information.
1303
1320
  # @return [String]
1304
1321
  #
1322
+ # @!attribute [rw] statuses
1323
+ # A list of billing groups to retrieve their current status for a
1324
+ # specific time range
1325
+ # @return [Array<String>]
1326
+ #
1305
1327
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListBillingGroupsFilter AWS API Documentation
1306
1328
  #
1307
1329
  class ListBillingGroupsFilter < Struct.new(
1308
1330
  :arns,
1309
- :pricing_plan)
1331
+ :pricing_plan,
1332
+ :statuses)
1310
1333
  SENSITIVE = []
1311
1334
  include Aws::Structure
1312
1335
  end
@@ -2058,6 +2081,26 @@ module Aws::BillingConductor
2058
2081
  # The set of tiering configurations for the pricing rule.
2059
2082
  # @return [Types::Tiering]
2060
2083
  #
2084
+ # @!attribute [rw] usage_type
2085
+ # Usage type is the unit that each service uses to measure the usage
2086
+ # of a specific type of resource.
2087
+ #
2088
+ # If the `Scope` attribute is set to `SKU`, this attribute indicates
2089
+ # which usage type the `PricingRule` is modifying. For example,
2090
+ # `USW2-BoxUsage:m2.2xlarge` describes an` M2 High Memory Double Extra
2091
+ # Large` instance in the US West (Oregon) Region. </p>
2092
+ # @return [String]
2093
+ #
2094
+ # @!attribute [rw] operation
2095
+ # Operation is the specific Amazon Web Services action covered by this
2096
+ # line item. This describes the specific usage of the line item.
2097
+ #
2098
+ # If the `Scope` attribute is set to `SKU`, this attribute indicates
2099
+ # which operation the `PricingRule` is modifying. For example, a value
2100
+ # of `RunInstances:0202` indicates the operation of running an Amazon
2101
+ # EC2 instance.
2102
+ # @return [String]
2103
+ #
2061
2104
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/PricingRuleListElement AWS API Documentation
2062
2105
  #
2063
2106
  class PricingRuleListElement < Struct.new(
@@ -2072,7 +2115,9 @@ module Aws::BillingConductor
2072
2115
  :creation_time,
2073
2116
  :last_modified_time,
2074
2117
  :billing_entity,
2075
- :tiering)
2118
+ :tiering,
2119
+ :usage_type,
2120
+ :operation)
2076
2121
  SENSITIVE = [:name, :description]
2077
2122
  include Aws::Structure
2078
2123
  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.6.0'
56
+ GEM_VERSION = '1.8.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.6.0
4
+ version: 1.8.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-01-18 00:00:00.000000000 Z
11
+ date: 2023-05-31 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.165.0
22
+ version: 3.174.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.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement