aws-sdk-billingconductor 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-billingconductor/client.rb +13 -7
- data/lib/aws-sdk-billingconductor/client_api.rb +12 -0
- data/lib/aws-sdk-billingconductor/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-billingconductor/endpoint_provider.rb +38 -35
- data/lib/aws-sdk-billingconductor/types.rb +58 -13
- data/lib/aws-sdk-billingconductor.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46c3ea643d56abf5706e567ac47dbdfff01b4ff94d17d97383872a5a33eccd87
|
4
|
+
data.tar.gz: b52424282ce054de9b8690e0a161ab84991d86087f0f8c2d7cab261513b0e71b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3df6fcc104558472cb7324c914a05d66a7a2e855ec0e724f7a49ea73ff28d9b0c48db17cd7071ac457cbb410fd6d6155e04f0b0f48d93d20dfccc0e4ccc9030
|
7
|
+
data.tar.gz: 4b33481a6a4d9393732b32875537db642ef3af525ce196c9c7e4aa7832b7525b70007582ea5e57cfb32db955cbab5adfee9845180e82beee48fe558ce1fd0ddf
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
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
|
1043
|
+
# `MONITORED`: linked accounts that are associated to billing groups.
|
1044
1044
|
#
|
1045
|
-
# `UNMONITORED
|
1045
|
+
# `UNMONITORED`: linked accounts that aren't associated to billing
|
1046
1046
|
# groups.
|
1047
1047
|
#
|
1048
|
-
# `Billing Group Arn
|
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.
|
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?
|
@@ -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
|
18
|
-
if Aws::Endpoints::Matchers.
|
19
|
-
|
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.
|
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}
|
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}
|
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}
|
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
|
-
|
47
|
-
|
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
|
-
|
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
|
1160
|
+
# `MONITORED`: linked accounts that are associated to billing groups.
|
1150
1161
|
#
|
1151
|
-
# `UNMONITORED
|
1162
|
+
# `UNMONITORED`: linked accounts that are not associated to billing
|
1152
1163
|
# groups.
|
1153
1164
|
#
|
1154
|
-
# `Billing Group Arn
|
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
|
1169
|
+
# `MONITORED`: linked accounts that are associated to billing groups.
|
1159
1170
|
#
|
1160
|
-
# `UNMONITORED
|
1171
|
+
# `UNMONITORED`: linked accounts that are not associated to billing
|
1161
1172
|
# groups.
|
1162
1173
|
#
|
1163
|
-
# `Billing Group Arn
|
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
|
1205
|
+
# `MONITORED`: linked accounts that are associated to billing groups.
|
1189
1206
|
#
|
1190
|
-
# `UNMONITORED
|
1207
|
+
# `UNMONITORED`: linked accounts that aren't associated to billing
|
1191
1208
|
# groups.
|
1192
1209
|
#
|
1193
|
-
# `Billing Group Arn
|
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
|
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.
|
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-
|
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
|