aws-sdk-billingconductor 1.1.0 → 1.3.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-billingconductor/client.rb +126 -48
- data/lib/aws-sdk-billingconductor/client_api.rb +68 -5
- data/lib/aws-sdk-billingconductor/endpoint_provider.rb +10 -10
- data/lib/aws-sdk-billingconductor/endpoints.rb +14 -0
- data/lib/aws-sdk-billingconductor/errors.rb +5 -0
- data/lib/aws-sdk-billingconductor/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-billingconductor/types.rb +312 -88
- 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: 407e1527a017a37949d23591110033a66c5e1d8f278a32f0fa09c26b14b49981
|
4
|
+
data.tar.gz: 9888bcf989dc1cfe9518e1ff4b9003bfcd3d752f37d8ac830bae5e018f9f45d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86d699a85ba9b1e50776a50861fc38280641b2233955fd6cc04ed26170aa9bd5e031b0e959e9656c51e375a1ae8f08f96b050d7f3d8a99f6c1244fda2accb4c5
|
7
|
+
data.tar.gz: 79647c219ebd5bc32b321f413d9709ec67dd4ad426739e0923d980e84fd71a0e7c4dcccfa49e873bb2723e83a3f1ed1af18859756a06789df7363c52b688dd1b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.3.0 (2022-11-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds a new feature BillingEntity pricing rule.
|
8
|
+
|
9
|
+
1.2.0 (2022-11-08)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds the Recurring Custom Line Item feature along with a new API ListCustomLineItemVersions.
|
13
|
+
|
4
14
|
1.1.0 (2022-10-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.3.0
|
@@ -463,7 +463,7 @@ module Aws::BillingConductor
|
|
463
463
|
# resource_arns: ["CustomLineItemAssociationElement"], # required
|
464
464
|
# billing_period_range: {
|
465
465
|
# inclusive_start_billing_period: "BillingPeriod", # required
|
466
|
-
# exclusive_end_billing_period: "BillingPeriod",
|
466
|
+
# exclusive_end_billing_period: "BillingPeriod",
|
467
467
|
# },
|
468
468
|
# })
|
469
469
|
#
|
@@ -472,11 +472,11 @@ module Aws::BillingConductor
|
|
472
472
|
# resp.successfully_associated_resources #=> Array
|
473
473
|
# resp.successfully_associated_resources[0].arn #=> String
|
474
474
|
# resp.successfully_associated_resources[0].error.message #=> String
|
475
|
-
# resp.successfully_associated_resources[0].error.reason #=> String, one of "INVALID_ARN", "SERVICE_LIMIT_EXCEEDED", "ILLEGAL_CUSTOMLINEITEM", "INTERNAL_SERVER_EXCEPTION"
|
475
|
+
# resp.successfully_associated_resources[0].error.reason #=> String, one of "INVALID_ARN", "SERVICE_LIMIT_EXCEEDED", "ILLEGAL_CUSTOMLINEITEM", "INTERNAL_SERVER_EXCEPTION", "INVALID_BILLING_PERIOD_RANGE"
|
476
476
|
# resp.failed_associated_resources #=> Array
|
477
477
|
# resp.failed_associated_resources[0].arn #=> String
|
478
478
|
# resp.failed_associated_resources[0].error.message #=> String
|
479
|
-
# resp.failed_associated_resources[0].error.reason #=> String, one of "INVALID_ARN", "SERVICE_LIMIT_EXCEEDED", "ILLEGAL_CUSTOMLINEITEM", "INTERNAL_SERVER_EXCEPTION"
|
479
|
+
# resp.failed_associated_resources[0].error.reason #=> String, one of "INVALID_ARN", "SERVICE_LIMIT_EXCEEDED", "ILLEGAL_CUSTOMLINEITEM", "INTERNAL_SERVER_EXCEPTION", "INVALID_BILLING_PERIOD_RANGE"
|
480
480
|
#
|
481
481
|
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/BatchAssociateResourcesToCustomLineItem AWS API Documentation
|
482
482
|
#
|
@@ -511,7 +511,7 @@ module Aws::BillingConductor
|
|
511
511
|
# resource_arns: ["CustomLineItemAssociationElement"], # required
|
512
512
|
# billing_period_range: {
|
513
513
|
# inclusive_start_billing_period: "BillingPeriod", # required
|
514
|
-
# exclusive_end_billing_period: "BillingPeriod",
|
514
|
+
# exclusive_end_billing_period: "BillingPeriod",
|
515
515
|
# },
|
516
516
|
# })
|
517
517
|
#
|
@@ -520,11 +520,11 @@ module Aws::BillingConductor
|
|
520
520
|
# resp.successfully_disassociated_resources #=> Array
|
521
521
|
# resp.successfully_disassociated_resources[0].arn #=> String
|
522
522
|
# resp.successfully_disassociated_resources[0].error.message #=> String
|
523
|
-
# resp.successfully_disassociated_resources[0].error.reason #=> String, one of "INVALID_ARN", "SERVICE_LIMIT_EXCEEDED", "ILLEGAL_CUSTOMLINEITEM", "INTERNAL_SERVER_EXCEPTION"
|
523
|
+
# resp.successfully_disassociated_resources[0].error.reason #=> String, one of "INVALID_ARN", "SERVICE_LIMIT_EXCEEDED", "ILLEGAL_CUSTOMLINEITEM", "INTERNAL_SERVER_EXCEPTION", "INVALID_BILLING_PERIOD_RANGE"
|
524
524
|
# resp.failed_disassociated_resources #=> Array
|
525
525
|
# resp.failed_disassociated_resources[0].arn #=> String
|
526
526
|
# resp.failed_disassociated_resources[0].error.message #=> String
|
527
|
-
# resp.failed_disassociated_resources[0].error.reason #=> String, one of "INVALID_ARN", "SERVICE_LIMIT_EXCEEDED", "ILLEGAL_CUSTOMLINEITEM", "INTERNAL_SERVER_EXCEPTION"
|
527
|
+
# resp.failed_disassociated_resources[0].error.reason #=> String, one of "INVALID_ARN", "SERVICE_LIMIT_EXCEEDED", "ILLEGAL_CUSTOMLINEITEM", "INTERNAL_SERVER_EXCEPTION", "INVALID_BILLING_PERIOD_RANGE"
|
528
528
|
#
|
529
529
|
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/BatchDisassociateResourcesFromCustomLineItem AWS API Documentation
|
530
530
|
#
|
@@ -561,7 +561,7 @@ module Aws::BillingConductor
|
|
561
561
|
# The account ID that serves as the main account in a billing group.
|
562
562
|
#
|
563
563
|
# @option params [String] :description
|
564
|
-
# The billing group
|
564
|
+
# The description of the billing group.
|
565
565
|
#
|
566
566
|
# @option params [Hash<String,String>] :tags
|
567
567
|
# A map that contains tag keys and tag values that are attached to a
|
@@ -649,7 +649,7 @@ module Aws::BillingConductor
|
|
649
649
|
# billing_group_arn: "BillingGroupArn", # required
|
650
650
|
# billing_period_range: {
|
651
651
|
# inclusive_start_billing_period: "BillingPeriod", # required
|
652
|
-
# exclusive_end_billing_period: "BillingPeriod",
|
652
|
+
# exclusive_end_billing_period: "BillingPeriod",
|
653
653
|
# },
|
654
654
|
# tags: {
|
655
655
|
# "TagKey" => "TagValue",
|
@@ -690,10 +690,11 @@ module Aws::BillingConductor
|
|
690
690
|
# not need to pass this option.**
|
691
691
|
#
|
692
692
|
# @option params [required, String] :name
|
693
|
-
# The pricing plan
|
693
|
+
# The name of the pricing plan. The names must be unique to each pricing
|
694
|
+
# plan.
|
694
695
|
#
|
695
696
|
# @option params [String] :description
|
696
|
-
# The pricing plan
|
697
|
+
# The description of the pricing plan.
|
697
698
|
#
|
698
699
|
# @option params [Array<String>] :pricing_rule_arns
|
699
700
|
# A list of Amazon Resource Names (ARNs) that define the pricing plan
|
@@ -736,7 +737,7 @@ module Aws::BillingConductor
|
|
736
737
|
# of pricing plans.
|
737
738
|
#
|
738
739
|
# @option params [String] :client_token
|
739
|
-
# The token that
|
740
|
+
# The token that's needed to support idempotency. Idempotency isn't
|
740
741
|
# currently supported, but will be implemented in a future update.
|
741
742
|
#
|
742
743
|
# **A suitable default value is auto-generated.** You should normally
|
@@ -749,14 +750,14 @@ module Aws::BillingConductor
|
|
749
750
|
# The pricing rule description.
|
750
751
|
#
|
751
752
|
# @option params [required, String] :scope
|
752
|
-
# The scope of pricing rule that indicates if it
|
753
|
-
# or
|
753
|
+
# The scope of pricing rule that indicates if it's globally applicable,
|
754
|
+
# or it's service-specific.
|
754
755
|
#
|
755
756
|
# @option params [required, String] :type
|
756
757
|
# The type of pricing rule.
|
757
758
|
#
|
758
759
|
# @option params [required, Float] :modifier_percentage
|
759
|
-
# A percentage modifier applied on the public pricing rates.
|
760
|
+
# A percentage modifier that's applied on the public pricing rates.
|
760
761
|
#
|
761
762
|
# @option params [String] :service
|
762
763
|
# If the `Scope` attribute is set to `SERVICE`, the attribute indicates
|
@@ -766,6 +767,11 @@ module Aws::BillingConductor
|
|
766
767
|
# A map that contains tag keys and tag values that are attached to a
|
767
768
|
# pricing rule.
|
768
769
|
#
|
770
|
+
# @option params [String] :billing_entity
|
771
|
+
# The seller of services provided by Amazon Web Services, their
|
772
|
+
# affiliates, or third-party providers selling services via Amazon Web
|
773
|
+
# Services Marketplace.
|
774
|
+
#
|
769
775
|
# @return [Types::CreatePricingRuleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
770
776
|
#
|
771
777
|
# * {Types::CreatePricingRuleOutput#arn #arn} => String
|
@@ -776,13 +782,14 @@ module Aws::BillingConductor
|
|
776
782
|
# client_token: "ClientToken",
|
777
783
|
# name: "PricingRuleName", # required
|
778
784
|
# description: "PricingRuleDescription",
|
779
|
-
# scope: "GLOBAL", # required, accepts GLOBAL, SERVICE
|
785
|
+
# scope: "GLOBAL", # required, accepts GLOBAL, SERVICE, BILLING_ENTITY
|
780
786
|
# type: "MARKUP", # required, accepts MARKUP, DISCOUNT
|
781
787
|
# modifier_percentage: 1.0, # required
|
782
788
|
# service: "Service",
|
783
789
|
# tags: {
|
784
790
|
# "TagKey" => "TagValue",
|
785
791
|
# },
|
792
|
+
# billing_entity: "BillingEntity",
|
786
793
|
# })
|
787
794
|
#
|
788
795
|
# @example Response structure
|
@@ -801,7 +808,8 @@ module Aws::BillingConductor
|
|
801
808
|
# Deletes a billing group.
|
802
809
|
#
|
803
810
|
# @option params [required, String] :arn
|
804
|
-
# The Amazon Resource Name (ARN) of the billing group you're
|
811
|
+
# The Amazon Resource Name (ARN) of the billing group that you're
|
812
|
+
# deleting.
|
805
813
|
#
|
806
814
|
# @return [Types::DeleteBillingGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
807
815
|
#
|
@@ -846,7 +854,7 @@ module Aws::BillingConductor
|
|
846
854
|
# arn: "CustomLineItemArn", # required
|
847
855
|
# billing_period_range: {
|
848
856
|
# inclusive_start_billing_period: "BillingPeriod", # required
|
849
|
-
# exclusive_end_billing_period: "BillingPeriod",
|
857
|
+
# exclusive_end_billing_period: "BillingPeriod",
|
850
858
|
# },
|
851
859
|
# })
|
852
860
|
#
|
@@ -867,7 +875,8 @@ module Aws::BillingConductor
|
|
867
875
|
# any billing groups to delete successfully.
|
868
876
|
#
|
869
877
|
# @option params [required, String] :arn
|
870
|
-
# The Amazon Resource Name (ARN) of the pricing plan you're
|
878
|
+
# The Amazon Resource Name (ARN) of the pricing plan that you're
|
879
|
+
# deleting.
|
871
880
|
#
|
872
881
|
# @return [Types::DeletePricingPlanOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
873
882
|
#
|
@@ -892,11 +901,12 @@ module Aws::BillingConductor
|
|
892
901
|
req.send_request(options)
|
893
902
|
end
|
894
903
|
|
895
|
-
# Deletes the pricing rule identified by the input Amazon
|
896
|
-
# (ARN).
|
904
|
+
# Deletes the pricing rule that's identified by the input Amazon
|
905
|
+
# Resource Name (ARN).
|
897
906
|
#
|
898
907
|
# @option params [required, String] :arn
|
899
|
-
# The Amazon Resource Name (ARN) of the pricing rule you are
|
908
|
+
# The Amazon Resource Name (ARN) of the pricing rule that you are
|
909
|
+
# deleting.
|
900
910
|
#
|
901
911
|
# @return [Types::DeletePricingRuleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
902
912
|
#
|
@@ -989,17 +999,11 @@ module Aws::BillingConductor
|
|
989
999
|
req.send_request(options)
|
990
1000
|
end
|
991
1001
|
|
992
|
-
# <i> <b>Amazon Web Services Billing Conductor is in beta release and is
|
993
|
-
# subject to change. Your use of Amazon Web Services Billing Conductor
|
994
|
-
# is subject to the Beta Service Participation terms of the <a
|
995
|
-
# href="https://aws.amazon.com/service-terms/">Amazon Web Services
|
996
|
-
# Service Terms</a> (Section 1.10).</b> </i>
|
997
|
-
#
|
998
1002
|
# This is a paginated call to list linked accounts that are linked to
|
999
1003
|
# the payer account for the specified time period. If no information is
|
1000
1004
|
# provided, the current billing period is used. The response will
|
1001
|
-
# optionally include the billing group associated with the
|
1002
|
-
# account.
|
1005
|
+
# optionally include the billing group that's associated with the
|
1006
|
+
# linked account.
|
1003
1007
|
#
|
1004
1008
|
# @option params [String] :billing_period
|
1005
1009
|
# The preferred billing period to get account associations.
|
@@ -1010,14 +1014,15 @@ module Aws::BillingConductor
|
|
1010
1014
|
#
|
1011
1015
|
# `MONITORED`\: linked accounts that are associated to billing groups.
|
1012
1016
|
#
|
1013
|
-
# `UNMONITORED`\: linked accounts that
|
1017
|
+
# `UNMONITORED`\: linked accounts that aren't associated to billing
|
1014
1018
|
# groups.
|
1015
1019
|
#
|
1016
1020
|
# `Billing Group Arn`\: linked accounts that are associated to the
|
1017
1021
|
# provided billing group Arn.
|
1018
1022
|
#
|
1019
1023
|
# @option params [String] :next_token
|
1020
|
-
# The pagination token used on subsequent calls to retrieve
|
1024
|
+
# The pagination token that's used on subsequent calls to retrieve
|
1025
|
+
# accounts.
|
1021
1026
|
#
|
1022
1027
|
# @return [Types::ListAccountAssociationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1023
1028
|
#
|
@@ -1066,7 +1071,7 @@ module Aws::BillingConductor
|
|
1066
1071
|
# The maximum number of reports to retrieve.
|
1067
1072
|
#
|
1068
1073
|
# @option params [String] :next_token
|
1069
|
-
# The pagination token used on subsequent calls to get reports.
|
1074
|
+
# The pagination token that's used on subsequent calls to get reports.
|
1070
1075
|
#
|
1071
1076
|
# @option params [Types::ListBillingGroupCostReportsFilter] :filters
|
1072
1077
|
# A `ListBillingGroupCostReportsFilter` to specify billing groups to
|
@@ -1121,7 +1126,8 @@ module Aws::BillingConductor
|
|
1121
1126
|
# The maximum number of billing groups to retrieve.
|
1122
1127
|
#
|
1123
1128
|
# @option params [String] :next_token
|
1124
|
-
# The pagination token used on subsequent calls to get billing
|
1129
|
+
# The pagination token that's used on subsequent calls to get billing
|
1130
|
+
# groups.
|
1125
1131
|
#
|
1126
1132
|
# @option params [Types::ListBillingGroupsFilter] :filters
|
1127
1133
|
# A `ListBillingGroupsFilter` that specifies the billing group and
|
@@ -1170,6 +1176,70 @@ module Aws::BillingConductor
|
|
1170
1176
|
req.send_request(options)
|
1171
1177
|
end
|
1172
1178
|
|
1179
|
+
# A paginated call to get a list of all custom line item versions.
|
1180
|
+
#
|
1181
|
+
# @option params [required, String] :arn
|
1182
|
+
# The Amazon Resource Name (ARN) for the custom line item.
|
1183
|
+
#
|
1184
|
+
# @option params [Integer] :max_results
|
1185
|
+
# The maximum number of custom line item versions to retrieve.
|
1186
|
+
#
|
1187
|
+
# @option params [String] :next_token
|
1188
|
+
# The pagination token that's used on subsequent calls to retrieve
|
1189
|
+
# custom line item versions.
|
1190
|
+
#
|
1191
|
+
# @option params [Types::ListCustomLineItemVersionsFilter] :filters
|
1192
|
+
# A `ListCustomLineItemVersionsFilter` that specifies the billing period
|
1193
|
+
# range in which the custom line item versions are applied.
|
1194
|
+
#
|
1195
|
+
# @return [Types::ListCustomLineItemVersionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1196
|
+
#
|
1197
|
+
# * {Types::ListCustomLineItemVersionsOutput#custom_line_item_versions #custom_line_item_versions} => Array<Types::CustomLineItemVersionListElement>
|
1198
|
+
# * {Types::ListCustomLineItemVersionsOutput#next_token #next_token} => String
|
1199
|
+
#
|
1200
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1201
|
+
#
|
1202
|
+
# @example Request syntax with placeholder values
|
1203
|
+
#
|
1204
|
+
# resp = client.list_custom_line_item_versions({
|
1205
|
+
# arn: "CustomLineItemArn", # required
|
1206
|
+
# max_results: 1,
|
1207
|
+
# next_token: "Token",
|
1208
|
+
# filters: {
|
1209
|
+
# billing_period_range: {
|
1210
|
+
# start_billing_period: "BillingPeriod",
|
1211
|
+
# end_billing_period: "BillingPeriod",
|
1212
|
+
# },
|
1213
|
+
# },
|
1214
|
+
# })
|
1215
|
+
#
|
1216
|
+
# @example Response structure
|
1217
|
+
#
|
1218
|
+
# resp.custom_line_item_versions #=> Array
|
1219
|
+
# resp.custom_line_item_versions[0].name #=> String
|
1220
|
+
# resp.custom_line_item_versions[0].charge_details.flat.charge_value #=> Float
|
1221
|
+
# resp.custom_line_item_versions[0].charge_details.percentage.percentage_value #=> Float
|
1222
|
+
# resp.custom_line_item_versions[0].charge_details.type #=> String, one of "CREDIT", "FEE"
|
1223
|
+
# resp.custom_line_item_versions[0].currency_code #=> String, one of "USD", "CNY"
|
1224
|
+
# resp.custom_line_item_versions[0].description #=> String
|
1225
|
+
# resp.custom_line_item_versions[0].product_code #=> String
|
1226
|
+
# resp.custom_line_item_versions[0].billing_group_arn #=> String
|
1227
|
+
# resp.custom_line_item_versions[0].creation_time #=> Integer
|
1228
|
+
# resp.custom_line_item_versions[0].last_modified_time #=> Integer
|
1229
|
+
# resp.custom_line_item_versions[0].association_size #=> Integer
|
1230
|
+
# resp.custom_line_item_versions[0].start_billing_period #=> String
|
1231
|
+
# resp.custom_line_item_versions[0].end_billing_period #=> String
|
1232
|
+
# resp.next_token #=> String
|
1233
|
+
#
|
1234
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListCustomLineItemVersions AWS API Documentation
|
1235
|
+
#
|
1236
|
+
# @overload list_custom_line_item_versions(params = {})
|
1237
|
+
# @param [Hash] params ({})
|
1238
|
+
def list_custom_line_item_versions(params = {}, options = {})
|
1239
|
+
req = build_request(:list_custom_line_item_versions, params)
|
1240
|
+
req.send_request(options)
|
1241
|
+
end
|
1242
|
+
|
1173
1243
|
# A paginated call to get a list of all custom line items (FFLIs) for
|
1174
1244
|
# the given billing period. If you don't provide a billing period, the
|
1175
1245
|
# current billing period is used.
|
@@ -1181,8 +1251,8 @@ module Aws::BillingConductor
|
|
1181
1251
|
# The maximum number of billing groups to retrieve.
|
1182
1252
|
#
|
1183
1253
|
# @option params [String] :next_token
|
1184
|
-
# The pagination token used on subsequent calls to get custom
|
1185
|
-
# (FFLIs).
|
1254
|
+
# The pagination token that's used on subsequent calls to get custom
|
1255
|
+
# line items (FFLIs).
|
1186
1256
|
#
|
1187
1257
|
# @option params [Types::ListCustomLineItemsFilter] :filters
|
1188
1258
|
# A `ListCustomLineItemsFilter` that specifies the custom line item
|
@@ -1250,7 +1320,8 @@ module Aws::BillingConductor
|
|
1250
1320
|
# The maximum number of pricing plans to retrieve.
|
1251
1321
|
#
|
1252
1322
|
# @option params [String] :next_token
|
1253
|
-
# The pagination token used on subsequent call to get pricing
|
1323
|
+
# The pagination token that's used on subsequent call to get pricing
|
1324
|
+
# plans.
|
1254
1325
|
#
|
1255
1326
|
# @return [Types::ListPricingPlansOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1256
1327
|
#
|
@@ -1292,7 +1363,7 @@ module Aws::BillingConductor
|
|
1292
1363
|
req.send_request(options)
|
1293
1364
|
end
|
1294
1365
|
|
1295
|
-
# A list of the pricing plans associated with a pricing rule.
|
1366
|
+
# A list of the pricing plans that are associated with a pricing rule.
|
1296
1367
|
#
|
1297
1368
|
# @option params [String] :billing_period
|
1298
1369
|
# The pricing plan billing period for which associations will be listed.
|
@@ -1356,7 +1427,8 @@ module Aws::BillingConductor
|
|
1356
1427
|
# The maximum number of pricing rules to retrieve.
|
1357
1428
|
#
|
1358
1429
|
# @option params [String] :next_token
|
1359
|
-
# The pagination token used on subsequent call to get pricing
|
1430
|
+
# The pagination token that's used on subsequent call to get pricing
|
1431
|
+
# rules.
|
1360
1432
|
#
|
1361
1433
|
# @return [Types::ListPricingRulesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1362
1434
|
#
|
@@ -1384,13 +1456,14 @@ module Aws::BillingConductor
|
|
1384
1456
|
# resp.pricing_rules[0].name #=> String
|
1385
1457
|
# resp.pricing_rules[0].arn #=> String
|
1386
1458
|
# resp.pricing_rules[0].description #=> String
|
1387
|
-
# resp.pricing_rules[0].scope #=> String, one of "GLOBAL", "SERVICE"
|
1459
|
+
# resp.pricing_rules[0].scope #=> String, one of "GLOBAL", "SERVICE", "BILLING_ENTITY"
|
1388
1460
|
# resp.pricing_rules[0].type #=> String, one of "MARKUP", "DISCOUNT"
|
1389
1461
|
# resp.pricing_rules[0].modifier_percentage #=> Float
|
1390
1462
|
# resp.pricing_rules[0].service #=> String
|
1391
1463
|
# resp.pricing_rules[0].associated_pricing_plan_count #=> Integer
|
1392
1464
|
# resp.pricing_rules[0].creation_time #=> Integer
|
1393
1465
|
# resp.pricing_rules[0].last_modified_time #=> Integer
|
1466
|
+
# resp.pricing_rules[0].billing_entity #=> String
|
1394
1467
|
# resp.next_token #=> String
|
1395
1468
|
#
|
1396
1469
|
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingRules AWS API Documentation
|
@@ -1402,7 +1475,7 @@ module Aws::BillingConductor
|
|
1402
1475
|
req.send_request(options)
|
1403
1476
|
end
|
1404
1477
|
|
1405
|
-
# Lists the pricing rules associated with a pricing plan.
|
1478
|
+
# Lists the pricing rules that are associated with a pricing plan.
|
1406
1479
|
#
|
1407
1480
|
# @option params [String] :billing_period
|
1408
1481
|
# The billing period for which the pricing rule associations are to be
|
@@ -1453,7 +1526,7 @@ module Aws::BillingConductor
|
|
1453
1526
|
req.send_request(options)
|
1454
1527
|
end
|
1455
1528
|
|
1456
|
-
# List the resources associated to a custom line item.
|
1529
|
+
# List the resources that are associated to a custom line item.
|
1457
1530
|
#
|
1458
1531
|
# @option params [String] :billing_period
|
1459
1532
|
# The billing period for which the resource associations will be listed.
|
@@ -1467,7 +1540,8 @@ module Aws::BillingConductor
|
|
1467
1540
|
# retrieved.
|
1468
1541
|
#
|
1469
1542
|
# @option params [String] :next_token
|
1470
|
-
# (Optional) The pagination token returned by a previous
|
1543
|
+
# (Optional) The pagination token that's returned by a previous
|
1544
|
+
# request.
|
1471
1545
|
#
|
1472
1546
|
# @option params [Types::ListResourcesAssociatedToCustomLineItemFilter] :filters
|
1473
1547
|
# (Optional) A `ListResourcesAssociatedToCustomLineItemFilter` that can
|
@@ -1499,6 +1573,7 @@ module Aws::BillingConductor
|
|
1499
1573
|
# resp.associated_resources #=> Array
|
1500
1574
|
# resp.associated_resources[0].arn #=> String
|
1501
1575
|
# resp.associated_resources[0].relationship #=> String, one of "PARENT", "CHILD"
|
1576
|
+
# resp.associated_resources[0].end_billing_period #=> String
|
1502
1577
|
# resp.next_token #=> String
|
1503
1578
|
#
|
1504
1579
|
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListResourcesAssociatedToCustomLineItem AWS API Documentation
|
@@ -1696,7 +1771,7 @@ module Aws::BillingConductor
|
|
1696
1771
|
#
|
1697
1772
|
# resp = client.update_custom_line_item({
|
1698
1773
|
# arn: "CustomLineItemArn", # required
|
1699
|
-
# name: "
|
1774
|
+
# name: "CustomLineItemName",
|
1700
1775
|
# description: "CustomLineItemDescription",
|
1701
1776
|
# charge_details: {
|
1702
1777
|
# flat: {
|
@@ -1708,7 +1783,7 @@ module Aws::BillingConductor
|
|
1708
1783
|
# },
|
1709
1784
|
# billing_period_range: {
|
1710
1785
|
# inclusive_start_billing_period: "BillingPeriod", # required
|
1711
|
-
# exclusive_end_billing_period: "BillingPeriod",
|
1786
|
+
# exclusive_end_billing_period: "BillingPeriod",
|
1712
1787
|
# },
|
1713
1788
|
# })
|
1714
1789
|
#
|
@@ -1736,14 +1811,15 @@ module Aws::BillingConductor
|
|
1736
1811
|
# This updates an existing pricing plan.
|
1737
1812
|
#
|
1738
1813
|
# @option params [required, String] :arn
|
1739
|
-
# The Amazon Resource Name (ARN) of the pricing plan you're
|
1814
|
+
# The Amazon Resource Name (ARN) of the pricing plan that you're
|
1815
|
+
# updating.
|
1740
1816
|
#
|
1741
1817
|
# @option params [String] :name
|
1742
1818
|
# The name of the pricing plan. The name must be unique to each pricing
|
1743
1819
|
# plan.
|
1744
1820
|
#
|
1745
1821
|
# @option params [String] :description
|
1746
|
-
# The pricing plan
|
1822
|
+
# The description of the pricing plan.
|
1747
1823
|
#
|
1748
1824
|
# @return [Types::UpdatePricingPlanOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1749
1825
|
#
|
@@ -1807,6 +1883,7 @@ module Aws::BillingConductor
|
|
1807
1883
|
# * {Types::UpdatePricingRuleOutput#service #service} => String
|
1808
1884
|
# * {Types::UpdatePricingRuleOutput#associated_pricing_plan_count #associated_pricing_plan_count} => Integer
|
1809
1885
|
# * {Types::UpdatePricingRuleOutput#last_modified_time #last_modified_time} => Integer
|
1886
|
+
# * {Types::UpdatePricingRuleOutput#billing_entity #billing_entity} => String
|
1810
1887
|
#
|
1811
1888
|
# @example Request syntax with placeholder values
|
1812
1889
|
#
|
@@ -1823,12 +1900,13 @@ module Aws::BillingConductor
|
|
1823
1900
|
# resp.arn #=> String
|
1824
1901
|
# resp.name #=> String
|
1825
1902
|
# resp.description #=> String
|
1826
|
-
# resp.scope #=> String, one of "GLOBAL", "SERVICE"
|
1903
|
+
# resp.scope #=> String, one of "GLOBAL", "SERVICE", "BILLING_ENTITY"
|
1827
1904
|
# resp.type #=> String, one of "MARKUP", "DISCOUNT"
|
1828
1905
|
# resp.modifier_percentage #=> Float
|
1829
1906
|
# resp.service #=> String
|
1830
1907
|
# resp.associated_pricing_plan_count #=> Integer
|
1831
1908
|
# resp.last_modified_time #=> Integer
|
1909
|
+
# resp.billing_entity #=> String
|
1832
1910
|
#
|
1833
1911
|
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdatePricingRule AWS API Documentation
|
1834
1912
|
#
|
@@ -1852,7 +1930,7 @@ module Aws::BillingConductor
|
|
1852
1930
|
params: params,
|
1853
1931
|
config: config)
|
1854
1932
|
context[:gem_name] = 'aws-sdk-billingconductor'
|
1855
|
-
context[:gem_version] = '1.
|
1933
|
+
context[:gem_version] = '1.3.0'
|
1856
1934
|
Seahorse::Client::Request.new(handlers, context)
|
1857
1935
|
end
|
1858
1936
|
|