aws-sdk-billingconductor 1.5.0 → 1.7.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: d5a7df27b8fd740244bca6f0ec6a5af332683f99dfec5d4061be4c3e77ea0afb
4
- data.tar.gz: 5cc57da5ecb9fca8da07f7ce23fa0f474d1c3fac735038e11798d82257acaee8
3
+ metadata.gz: 46c3ea643d56abf5706e567ac47dbdfff01b4ff94d17d97383872a5a33eccd87
4
+ data.tar.gz: b52424282ce054de9b8690e0a161ab84991d86087f0f8c2d7cab261513b0e71b
5
5
  SHA512:
6
- metadata.gz: 7439d28c0599b79e90ca6a4c38a534f9f25cf62ab78e4c18a35c7770378fa62b257a42bcf243ed4e306ea499cbd42a77fea9025ddb5c05689c821235e228f263
7
- data.tar.gz: 36f99787c9c54788e843726ba232f6b57b4f5b0df94e7e173e664ae5d6f4ddc19ade9ea61b4ce679e9d87dfd25c40fc8f822f4ad1fde7571dd5252240d9b7c35
6
+ metadata.gz: a3df6fcc104558472cb7324c914a05d66a7a2e855ec0e724f7a49ea73ff28d9b0c48db17cd7071ac457cbb410fd6d6155e04f0b0f48d93d20dfccc0e4ccc9030
7
+ data.tar.gz: 4b33481a6a4d9393732b32875537db642ef3af525ce196c9c7e4aa7832b7525b70007582ea5e57cfb32db955cbab5adfee9845180e82beee48fe558ce1fd0ddf
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.7.0 (2023-03-17)
5
+ ------------------
6
+
7
+ * Feature - This release adds a new filter to ListAccountAssociations API and a new filter to ListBillingGroups API.
8
+
9
+ 1.6.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.5.0 (2023-01-17)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.0
1
+ 1.7.0
@@ -803,7 +803,7 @@ module Aws::BillingConductor
803
803
  # client_token: "ClientToken",
804
804
  # name: "PricingRuleName", # required
805
805
  # description: "PricingRuleDescription",
806
- # scope: "GLOBAL", # required, accepts GLOBAL, SERVICE, BILLING_ENTITY
806
+ # scope: "GLOBAL", # required, accepts GLOBAL, SERVICE, BILLING_ENTITY, SKU
807
807
  # type: "MARKUP", # required, accepts MARKUP, DISCOUNT, TIERING
808
808
  # modifier_percentage: 1.0,
809
809
  # service: "Service",
@@ -1040,12 +1040,12 @@ module Aws::BillingConductor
1040
1040
  # The filter on the account ID of the linked account, or any of the
1041
1041
  # following:
1042
1042
  #
1043
- # `MONITORED`\: linked accounts that are associated to billing groups.
1043
+ # `MONITORED`: linked accounts that are associated to billing groups.
1044
1044
  #
1045
- # `UNMONITORED`\: linked accounts that aren't associated to billing
1045
+ # `UNMONITORED`: linked accounts that aren't associated to billing
1046
1046
  # groups.
1047
1047
  #
1048
- # `Billing Group Arn`\: linked accounts that are associated to the
1048
+ # `Billing Group Arn`: linked accounts that are associated to the
1049
1049
  # provided billing group Arn.
1050
1050
  #
1051
1051
  # @option params [String] :next_token
@@ -1066,6 +1066,7 @@ module Aws::BillingConductor
1066
1066
  # filters: {
1067
1067
  # association: "Association",
1068
1068
  # account_id: "AccountId",
1069
+ # account_ids: ["AccountId"],
1069
1070
  # },
1070
1071
  # next_token: "Token",
1071
1072
  # })
@@ -1177,6 +1178,7 @@ module Aws::BillingConductor
1177
1178
  # filters: {
1178
1179
  # arns: ["BillingGroupArn"],
1179
1180
  # pricing_plan: "PricingPlanFullArn",
1181
+ # statuses: ["ACTIVE"], # accepts ACTIVE, PRIMARY_ACCOUNT_MISSING
1180
1182
  # },
1181
1183
  # })
1182
1184
  #
@@ -1257,6 +1259,8 @@ module Aws::BillingConductor
1257
1259
  # resp.custom_line_item_versions[0].association_size #=> Integer
1258
1260
  # resp.custom_line_item_versions[0].start_billing_period #=> String
1259
1261
  # resp.custom_line_item_versions[0].end_billing_period #=> String
1262
+ # resp.custom_line_item_versions[0].arn #=> String
1263
+ # resp.custom_line_item_versions[0].start_time #=> Integer
1260
1264
  # resp.next_token #=> String
1261
1265
  #
1262
1266
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListCustomLineItemVersions AWS API Documentation
@@ -1484,7 +1488,7 @@ module Aws::BillingConductor
1484
1488
  # resp.pricing_rules[0].name #=> String
1485
1489
  # resp.pricing_rules[0].arn #=> String
1486
1490
  # resp.pricing_rules[0].description #=> String
1487
- # resp.pricing_rules[0].scope #=> String, one of "GLOBAL", "SERVICE", "BILLING_ENTITY"
1491
+ # resp.pricing_rules[0].scope #=> String, one of "GLOBAL", "SERVICE", "BILLING_ENTITY", "SKU"
1488
1492
  # resp.pricing_rules[0].type #=> String, one of "MARKUP", "DISCOUNT", "TIERING"
1489
1493
  # resp.pricing_rules[0].modifier_percentage #=> Float
1490
1494
  # resp.pricing_rules[0].service #=> String
@@ -1493,6 +1497,8 @@ module Aws::BillingConductor
1493
1497
  # resp.pricing_rules[0].last_modified_time #=> Integer
1494
1498
  # resp.pricing_rules[0].billing_entity #=> String
1495
1499
  # resp.pricing_rules[0].tiering.free_tier.activated #=> Boolean
1500
+ # resp.pricing_rules[0].usage_type #=> String
1501
+ # resp.pricing_rules[0].operation #=> String
1496
1502
  # resp.next_token #=> String
1497
1503
  #
1498
1504
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingRules AWS API Documentation
@@ -1940,7 +1946,7 @@ module Aws::BillingConductor
1940
1946
  # resp.arn #=> String
1941
1947
  # resp.name #=> String
1942
1948
  # resp.description #=> String
1943
- # resp.scope #=> String, one of "GLOBAL", "SERVICE", "BILLING_ENTITY"
1949
+ # resp.scope #=> String, one of "GLOBAL", "SERVICE", "BILLING_ENTITY", "SKU"
1944
1950
  # resp.type #=> String, one of "MARKUP", "DISCOUNT", "TIERING"
1945
1951
  # resp.modifier_percentage #=> Float
1946
1952
  # resp.service #=> String
@@ -1973,7 +1979,7 @@ module Aws::BillingConductor
1973
1979
  params: params,
1974
1980
  config: config)
1975
1981
  context[:gem_name] = 'aws-sdk-billingconductor'
1976
- context[:gem_version] = '1.5.0'
1982
+ context[:gem_version] = '1.7.0'
1977
1983
  Seahorse::Client::Request.new(handlers, context)
1978
1984
  end
1979
1985
 
@@ -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?
@@ -9,156 +9,70 @@
9
9
 
10
10
  module Aws::BillingConductor
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
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"
20
+ end
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: {})
21
25
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- 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
49
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
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"))
51
+ return Aws::Endpoints::Endpoint.new(url: "https://billingconductor-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
52
+ end
53
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
54
+ end
55
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
56
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
57
+ return Aws::Endpoints::Endpoint.new(url: "https://billingconductor-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
58
+ end
59
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
60
+ end
61
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
62
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
63
+ return Aws::Endpoints::Endpoint.new(url: "https://billingconductor.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
64
+ end
65
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
66
+ 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
+ return Aws::Endpoints::Endpoint.new(url: "https://billingconductor.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
71
+ end
72
+ end
73
+ raise ArgumentError, "Invalid Configuration: Missing Region"
74
+ raise ArgumentError, 'No endpoint could be resolved'
24
75
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
76
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
- YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
- ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
- aWx0SW4iOiJBV1M6OlVzZUR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joiZW5kcG9pbnQifV19LHsiY29u
102
- ZGl0aW9ucyI6W10sImVycm9yIjoiRHVhbFN0YWNrIGlzIGVuYWJsZWQgYnV0
103
- IHRoaXMgcGFydGl0aW9uIGRvZXMgbm90IHN1cHBvcnQgRHVhbFN0YWNrIiwi
104
- dHlwZSI6ImVycm9yIn1dfSx7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2ludCI6
105
- eyJ1cmwiOiJodHRwczovL2JpbGxpbmdjb25kdWN0b3IudXMtZWFzdC0xLmFt
106
- YXpvbmF3cy5jb20iLCJwcm9wZXJ0aWVzIjp7ImF1dGhTY2hlbWVzIjpbeyJu
107
- YW1lIjoic2lndjQiLCJzaWduaW5nUmVnaW9uIjoidXMtZWFzdC0xIiwic2ln
108
- bmluZ05hbWUiOiJiaWxsaW5nY29uZHVjdG9yIn1dfSwiaGVhZGVycyI6e319
109
- LCJ0eXBlIjoiZW5kcG9pbnQifV19LHsiY29uZGl0aW9ucyI6W3siZm4iOiJi
110
- b29sZWFuRXF1YWxzIiwiYXJndiI6W3sicmVmIjoiVXNlRklQUyJ9LHRydWVd
111
- fSx7ImZuIjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt7InJlZiI6IlVzZUR1
112
- YWxTdGFjayJ9LHRydWVdfV0sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNv
113
- bmRpdGlvbnMiOlt7ImZuIjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt0cnVl
114
- LHsiZm4iOiJnZXRBdHRyIiwiYXJndiI6W3sicmVmIjoiUGFydGl0aW9uUmVz
115
- dWx0In0sInN1cHBvcnRzRklQUyJdfV19LHsiZm4iOiJib29sZWFuRXF1YWxz
116
- IiwiYXJndiI6W3RydWUseyJmbiI6ImdldEF0dHIiLCJhcmd2IjpbeyJyZWYi
117
- OiJQYXJ0aXRpb25SZXN1bHQifSwic3VwcG9ydHNEdWFsU3RhY2siXX1dfV0s
118
- InR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOltdLCJ0eXBl
119
- IjoidHJlZSIsInJ1bGVzIjpbeyJjb25kaXRpb25zIjpbXSwiZW5kcG9pbnQi
120
- OnsidXJsIjoiaHR0cHM6Ly9iaWxsaW5nY29uZHVjdG9yLWZpcHMue1JlZ2lv
121
- bn0ue1BhcnRpdGlvblJlc3VsdCNkdWFsU3RhY2tEbnNTdWZmaXh9IiwicHJv
122
- cGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1d
123
- fV19LHsiY29uZGl0aW9ucyI6W10sImVycm9yIjoiRklQUyBhbmQgRHVhbFN0
124
- YWNrIGFyZSBlbmFibGVkLCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qg
125
- c3VwcG9ydCBvbmUgb3IgYm90aCIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25k
126
- aXRpb25zIjpbeyJmbiI6ImJvb2xlYW5FcXVhbHMiLCJhcmd2IjpbeyJyZWYi
127
- OiJVc2VGSVBTIn0sdHJ1ZV19XSwidHlwZSI6InRyZWUiLCJydWxlcyI6W3si
128
- Y29uZGl0aW9ucyI6W3siZm4iOiJib29sZWFuRXF1YWxzIiwiYXJndiI6W3Ry
129
- dWUseyJmbiI6ImdldEF0dHIiLCJhcmd2IjpbeyJyZWYiOiJQYXJ0aXRpb25S
130
- ZXN1bHQifSwic3VwcG9ydHNGSVBTIl19XX1dLCJ0eXBlIjoidHJlZSIsInJ1
131
- bGVzIjpbeyJjb25kaXRpb25zIjpbXSwidHlwZSI6InRyZWUiLCJydWxlcyI6
132
- W3siY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8v
133
- YmlsbGluZ2NvbmR1Y3Rvci1maXBzLntSZWdpb259LntQYXJ0aXRpb25SZXN1
134
- bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0s
135
- InR5cGUiOiJlb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F1YWxzIiwiYXJn
152
- diI6W3sicmVmIjoiUmVnaW9uIn0sImF3cy1nbG9iYWwiXX1dLCJlbmRwb2lu
153
- dCI6eyJ1cmwiOiJodHRwczovL2JpbGxpbmdjb25kdWN0b3IudXMtZWFzdC0x
154
- LmFtYXpvbmF3cy5jb20iLCJwcm9wZXJ0aWVzIjp7ImF1dGhTY2hlbWVzIjpb
155
- eyJuYW1lIjoic2lndjQiLCJzaWduaW5nUmVnaW9uIjoidXMtZWFzdC0xIiwi
156
- c2lnbmluZ05hbWUiOiJiaWxsaW5nY29uZHVjdG9yIn1dfSwiaGVhZGVycyI6
157
- e319LCJ0eXBlIjoiZW5kcG9pbnQifSx7ImNvbmRpdGlvbnMiOltdLCJlbmRw
158
- b2ludCI6eyJ1cmwiOiJodHRwczovL2JpbGxpbmdjb25kdWN0b3Iue1JlZ2lv
159
- bn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6
160
- e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19XX0=
161
-
162
- JSON
163
77
  end
164
78
  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.5.0'
56
+ GEM_VERSION = '1.7.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.5.0
4
+ version: 1.7.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-17 00:00:00.000000000 Z
11
+ date: 2023-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core