aws-sdk-billingconductor 1.3.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -55,13 +55,6 @@ module Aws::BillingConductor
55
55
  # The set of accounts that will be under the billing group. The set of
56
56
  # accounts resemble the linked accounts in a consolidated family.
57
57
  #
58
- # @note When making an API call, you may pass AccountGrouping
59
- # data as a hash:
60
- #
61
- # {
62
- # linked_account_ids: ["AccountId"], # required
63
- # }
64
- #
65
58
  # @!attribute [rw] linked_account_ids
66
59
  # The account IDs that make up the billing group. Account IDs must be
67
60
  # a part of the consolidated billing family, and not associated with
@@ -76,14 +69,6 @@ module Aws::BillingConductor
76
69
  include Aws::Structure
77
70
  end
78
71
 
79
- # @note When making an API call, you may pass AssociateAccountsInput
80
- # data as a hash:
81
- #
82
- # {
83
- # arn: "BillingGroupArn", # required
84
- # account_ids: ["AccountId"], # required
85
- # }
86
- #
87
72
  # @!attribute [rw] arn
88
73
  # The Amazon Resource Name (ARN) of the billing group that associates
89
74
  # the array of account IDs.
@@ -115,14 +100,6 @@ module Aws::BillingConductor
115
100
  include Aws::Structure
116
101
  end
117
102
 
118
- # @note When making an API call, you may pass AssociatePricingRulesInput
119
- # data as a hash:
120
- #
121
- # {
122
- # arn: "PricingPlanArn", # required
123
- # pricing_rule_arns: ["PricingRuleArn"], # required
124
- # }
125
- #
126
103
  # @!attribute [rw] arn
127
104
  # The `PricingPlanArn` that the `PricingRuleArns` are associated with.
128
105
  # @return [String]
@@ -191,18 +168,6 @@ module Aws::BillingConductor
191
168
  include Aws::Structure
192
169
  end
193
170
 
194
- # @note When making an API call, you may pass BatchAssociateResourcesToCustomLineItemInput
195
- # data as a hash:
196
- #
197
- # {
198
- # target_arn: "CustomLineItemArn", # required
199
- # resource_arns: ["CustomLineItemAssociationElement"], # required
200
- # billing_period_range: {
201
- # inclusive_start_billing_period: "BillingPeriod", # required
202
- # exclusive_end_billing_period: "BillingPeriod",
203
- # },
204
- # }
205
- #
206
171
  # @!attribute [rw] target_arn
207
172
  # A percentage custom line item ARN to associate the resources to.
208
173
  # @return [String]
@@ -246,18 +211,6 @@ module Aws::BillingConductor
246
211
  include Aws::Structure
247
212
  end
248
213
 
249
- # @note When making an API call, you may pass BatchDisassociateResourcesFromCustomLineItemInput
250
- # data as a hash:
251
- #
252
- # {
253
- # target_arn: "CustomLineItemArn", # required
254
- # resource_arns: ["CustomLineItemAssociationElement"], # required
255
- # billing_period_range: {
256
- # inclusive_start_billing_period: "BillingPeriod", # required
257
- # exclusive_end_billing_period: "BillingPeriod",
258
- # },
259
- # }
260
- #
261
214
  # @!attribute [rw] target_arn
262
215
  # A percentage custom line item ARN to disassociate the resources
263
216
  # from.
@@ -408,13 +361,6 @@ module Aws::BillingConductor
408
361
  # The preferences and settings that will be used to compute the Amazon
409
362
  # Web Services charges for a billing group.
410
363
  #
411
- # @note When making an API call, you may pass ComputationPreference
412
- # data as a hash:
413
- #
414
- # {
415
- # pricing_plan_arn: "PricingPlanFullArn", # required
416
- # }
417
- #
418
364
  # @!attribute [rw] pricing_plan_arn
419
365
  # The Amazon Resource Name (ARN) of the pricing plan that's used to
420
366
  # compute the Amazon Web Services charges for a billing group.
@@ -457,25 +403,6 @@ module Aws::BillingConductor
457
403
  include Aws::Structure
458
404
  end
459
405
 
460
- # @note When making an API call, you may pass CreateBillingGroupInput
461
- # data as a hash:
462
- #
463
- # {
464
- # client_token: "ClientToken",
465
- # name: "BillingGroupName", # required
466
- # account_grouping: { # required
467
- # linked_account_ids: ["AccountId"], # required
468
- # },
469
- # computation_preference: { # required
470
- # pricing_plan_arn: "PricingPlanFullArn", # required
471
- # },
472
- # primary_account_id: "AccountId",
473
- # description: "BillingGroupDescription",
474
- # tags: {
475
- # "TagKey" => "TagValue",
476
- # },
477
- # }
478
- #
479
406
  # @!attribute [rw] client_token
480
407
  # The token that is needed to support idempotency. Idempotency isn't
481
408
  # currently supported, but will be implemented in a future update.
@@ -537,33 +464,6 @@ module Aws::BillingConductor
537
464
  include Aws::Structure
538
465
  end
539
466
 
540
- # @note When making an API call, you may pass CreateCustomLineItemInput
541
- # data as a hash:
542
- #
543
- # {
544
- # client_token: "ClientToken",
545
- # name: "CustomLineItemName", # required
546
- # description: "CustomLineItemDescription", # required
547
- # billing_group_arn: "BillingGroupArn", # required
548
- # billing_period_range: {
549
- # inclusive_start_billing_period: "BillingPeriod", # required
550
- # exclusive_end_billing_period: "BillingPeriod",
551
- # },
552
- # tags: {
553
- # "TagKey" => "TagValue",
554
- # },
555
- # charge_details: { # required
556
- # flat: {
557
- # charge_value: 1.0, # required
558
- # },
559
- # percentage: {
560
- # percentage_value: 1.0, # required
561
- # associated_values: ["CustomLineItemAssociationElement"],
562
- # },
563
- # type: "CREDIT", # required, accepts CREDIT, FEE
564
- # },
565
- # }
566
- #
567
467
  # @!attribute [rw] client_token
568
468
  # The token that is needed to support idempotency. Idempotency isn't
569
469
  # currently supported, but will be implemented in a future update.
@@ -626,19 +526,20 @@ module Aws::BillingConductor
626
526
  include Aws::Structure
627
527
  end
628
528
 
629
- # @note When making an API call, you may pass CreatePricingPlanInput
630
- # data as a hash:
529
+ # The possible Amazon Web Services Free Tier configurations.
631
530
  #
632
- # {
633
- # client_token: "ClientToken",
634
- # name: "PricingPlanName", # required
635
- # description: "PricingPlanDescription",
636
- # pricing_rule_arns: ["PricingRuleArn"],
637
- # tags: {
638
- # "TagKey" => "TagValue",
639
- # },
640
- # }
531
+ # @!attribute [rw] activated
532
+ # Activate or deactivate Amazon Web Services Free Tier.
533
+ # @return [Boolean]
641
534
  #
535
+ # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreateFreeTierConfig AWS API Documentation
536
+ #
537
+ class CreateFreeTierConfig < Struct.new(
538
+ :activated)
539
+ SENSITIVE = []
540
+ include Aws::Structure
541
+ end
542
+
642
543
  # @!attribute [rw] client_token
643
544
  # The token that is needed to support idempotency. Idempotency isn't
644
545
  # currently supported, but will be implemented in a future update.
@@ -690,23 +591,6 @@ module Aws::BillingConductor
690
591
  include Aws::Structure
691
592
  end
692
593
 
693
- # @note When making an API call, you may pass CreatePricingRuleInput
694
- # data as a hash:
695
- #
696
- # {
697
- # client_token: "ClientToken",
698
- # name: "PricingRuleName", # required
699
- # description: "PricingRuleDescription",
700
- # scope: "GLOBAL", # required, accepts GLOBAL, SERVICE, BILLING_ENTITY
701
- # type: "MARKUP", # required, accepts MARKUP, DISCOUNT
702
- # modifier_percentage: 1.0, # required
703
- # service: "Service",
704
- # tags: {
705
- # "TagKey" => "TagValue",
706
- # },
707
- # billing_entity: "BillingEntity",
708
- # }
709
- #
710
594
  # @!attribute [rw] client_token
711
595
  # The token that's needed to support idempotency. Idempotency isn't
712
596
  # currently supported, but will be implemented in a future update.
@@ -738,7 +622,7 @@ module Aws::BillingConductor
738
622
  # @return [Float]
739
623
  #
740
624
  # @!attribute [rw] service
741
- # If the `Scope` attribute is set to `SERVICE`, the attribute
625
+ # If the `Scope` attribute is set to `SERVICE` or `SKU`, the attribute
742
626
  # indicates which service the `PricingRule` is applicable for.
743
627
  # @return [String]
744
628
  #
@@ -753,6 +637,30 @@ module Aws::BillingConductor
753
637
  # Services Marketplace.
754
638
  # @return [String]
755
639
  #
640
+ # @!attribute [rw] tiering
641
+ # The set of tiering configurations for the pricing rule.
642
+ # @return [Types::CreateTieringInput]
643
+ #
644
+ # @!attribute [rw] usage_type
645
+ # Usage type is the unit that each service uses to measure the usage
646
+ # of a specific type of resource.
647
+ #
648
+ # If the `Scope` attribute is set to `SKU`, this attribute indicates
649
+ # which usage type the `PricingRule` is modifying. For example,
650
+ # `USW2-BoxUsage:m2.2xlarge` describes an` M2 High Memory Double Extra
651
+ # Large` instance in the US West (Oregon) Region. </p>
652
+ # @return [String]
653
+ #
654
+ # @!attribute [rw] operation
655
+ # Operation is the specific Amazon Web Services action covered by this
656
+ # line item. This describes the specific usage of the line item.
657
+ #
658
+ # If the `Scope` attribute is set to `SKU`, this attribute indicates
659
+ # which operation the `PricingRule` is modifying. For example, a value
660
+ # of `RunInstances:0202` indicates the operation of running an Amazon
661
+ # EC2 instance.
662
+ # @return [String]
663
+ #
756
664
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreatePricingRuleInput AWS API Documentation
757
665
  #
758
666
  class CreatePricingRuleInput < Struct.new(
@@ -764,7 +672,10 @@ module Aws::BillingConductor
764
672
  :modifier_percentage,
765
673
  :service,
766
674
  :tags,
767
- :billing_entity)
675
+ :billing_entity,
676
+ :tiering,
677
+ :usage_type,
678
+ :operation)
768
679
  SENSITIVE = [:name, :description]
769
680
  include Aws::Structure
770
681
  end
@@ -781,16 +692,22 @@ module Aws::BillingConductor
781
692
  include Aws::Structure
782
693
  end
783
694
 
784
- # The billing period range in which the custom line item request will be
785
- # applied.
695
+ # The set of tiering configurations for the pricing rule.
786
696
  #
787
- # @note When making an API call, you may pass CustomLineItemBillingPeriodRange
788
- # data as a hash:
697
+ # @!attribute [rw] free_tier
698
+ # The possible Amazon Web Services Free Tier configurations.
699
+ # @return [Types::CreateFreeTierConfig]
789
700
  #
790
- # {
791
- # inclusive_start_billing_period: "BillingPeriod", # required
792
- # exclusive_end_billing_period: "BillingPeriod",
793
- # }
701
+ # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreateTieringInput AWS API Documentation
702
+ #
703
+ class CreateTieringInput < Struct.new(
704
+ :free_tier)
705
+ SENSITIVE = []
706
+ include Aws::Structure
707
+ end
708
+
709
+ # The billing period range in which the custom line item request will be
710
+ # applied.
794
711
  #
795
712
  # @!attribute [rw] inclusive_start_billing_period
796
713
  # The inclusive start billing period that defines a billing period
@@ -814,20 +731,6 @@ module Aws::BillingConductor
814
731
  # The charge details of a custom line item. It should contain only one
815
732
  # of `Flat` or `Percentage`.
816
733
  #
817
- # @note When making an API call, you may pass CustomLineItemChargeDetails
818
- # data as a hash:
819
- #
820
- # {
821
- # flat: {
822
- # charge_value: 1.0, # required
823
- # },
824
- # percentage: {
825
- # percentage_value: 1.0, # required
826
- # associated_values: ["CustomLineItemAssociationElement"],
827
- # },
828
- # type: "CREDIT", # required, accepts CREDIT, FEE
829
- # }
830
- #
831
734
  # @!attribute [rw] flat
832
735
  # A `CustomLineItemFlatChargeDetails` that describes the charge
833
736
  # details of a flat custom line item.
@@ -856,13 +759,6 @@ module Aws::BillingConductor
856
759
  # A representation of the charge details that are associated with a flat
857
760
  # custom line item.
858
761
  #
859
- # @note When making an API call, you may pass CustomLineItemFlatChargeDetails
860
- # data as a hash:
861
- #
862
- # {
863
- # charge_value: 1.0, # required
864
- # }
865
- #
866
762
  # @!attribute [rw] charge_value
867
763
  # The custom line item's fixed charge value in USD.
868
764
  # @return [Float]
@@ -941,14 +837,6 @@ module Aws::BillingConductor
941
837
  # A representation of the charge details that are associated with a
942
838
  # percentage custom line item.
943
839
  #
944
- # @note When making an API call, you may pass CustomLineItemPercentageChargeDetails
945
- # data as a hash:
946
- #
947
- # {
948
- # percentage_value: 1.0, # required
949
- # associated_values: ["CustomLineItemAssociationElement"],
950
- # }
951
- #
952
840
  # @!attribute [rw] percentage_value
953
841
  # The custom line item's percentage value. This will be multiplied
954
842
  # against the combined value of its associated resources to determine
@@ -1035,13 +923,6 @@ module Aws::BillingConductor
1035
923
  include Aws::Structure
1036
924
  end
1037
925
 
1038
- # @note When making an API call, you may pass DeleteBillingGroupInput
1039
- # data as a hash:
1040
- #
1041
- # {
1042
- # arn: "BillingGroupArn", # required
1043
- # }
1044
- #
1045
926
  # @!attribute [rw] arn
1046
927
  # The Amazon Resource Name (ARN) of the billing group that you're
1047
928
  # deleting.
@@ -1067,17 +948,6 @@ module Aws::BillingConductor
1067
948
  include Aws::Structure
1068
949
  end
1069
950
 
1070
- # @note When making an API call, you may pass DeleteCustomLineItemInput
1071
- # data as a hash:
1072
- #
1073
- # {
1074
- # arn: "CustomLineItemArn", # required
1075
- # billing_period_range: {
1076
- # inclusive_start_billing_period: "BillingPeriod", # required
1077
- # exclusive_end_billing_period: "BillingPeriod",
1078
- # },
1079
- # }
1080
- #
1081
951
  # @!attribute [rw] arn
1082
952
  # The ARN of the custom line item to be deleted.
1083
953
  # @return [String]
@@ -1108,13 +978,6 @@ module Aws::BillingConductor
1108
978
  include Aws::Structure
1109
979
  end
1110
980
 
1111
- # @note When making an API call, you may pass DeletePricingPlanInput
1112
- # data as a hash:
1113
- #
1114
- # {
1115
- # arn: "PricingPlanArn", # required
1116
- # }
1117
- #
1118
981
  # @!attribute [rw] arn
1119
982
  # The Amazon Resource Name (ARN) of the pricing plan that you're
1120
983
  # deleting.
@@ -1140,13 +1003,6 @@ module Aws::BillingConductor
1140
1003
  include Aws::Structure
1141
1004
  end
1142
1005
 
1143
- # @note When making an API call, you may pass DeletePricingRuleInput
1144
- # data as a hash:
1145
- #
1146
- # {
1147
- # arn: "PricingRuleArn", # required
1148
- # }
1149
- #
1150
1006
  # @!attribute [rw] arn
1151
1007
  # The Amazon Resource Name (ARN) of the pricing rule that you are
1152
1008
  # deleting.
@@ -1172,14 +1028,6 @@ module Aws::BillingConductor
1172
1028
  include Aws::Structure
1173
1029
  end
1174
1030
 
1175
- # @note When making an API call, you may pass DisassociateAccountsInput
1176
- # data as a hash:
1177
- #
1178
- # {
1179
- # arn: "BillingGroupArn", # required
1180
- # account_ids: ["AccountId"], # required
1181
- # }
1182
- #
1183
1031
  # @!attribute [rw] arn
1184
1032
  # The Amazon Resource Name (ARN) of the billing group that the array
1185
1033
  # of account IDs will disassociate from.
@@ -1211,14 +1059,6 @@ module Aws::BillingConductor
1211
1059
  include Aws::Structure
1212
1060
  end
1213
1061
 
1214
- # @note When making an API call, you may pass DisassociatePricingRulesInput
1215
- # data as a hash:
1216
- #
1217
- # {
1218
- # arn: "PricingPlanArn", # required
1219
- # pricing_rule_arns: ["PricingRuleArn"], # required
1220
- # }
1221
- #
1222
1062
  # @!attribute [rw] arn
1223
1063
  # The pricing plan Amazon Resource Name (ARN) to disassociate pricing
1224
1064
  # rules from.
@@ -1271,6 +1111,20 @@ module Aws::BillingConductor
1271
1111
  include Aws::Structure
1272
1112
  end
1273
1113
 
1114
+ # The possible Amazon Web Services Free Tier configurations.
1115
+ #
1116
+ # @!attribute [rw] activated
1117
+ # Activate or deactivate Amazon Web Services Free Tier application.
1118
+ # @return [Boolean]
1119
+ #
1120
+ # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/FreeTierConfig AWS API Documentation
1121
+ #
1122
+ class FreeTierConfig < Struct.new(
1123
+ :activated)
1124
+ SENSITIVE = []
1125
+ include Aws::Structure
1126
+ end
1127
+
1274
1128
  # An unexpected error occurred while processing a request.
1275
1129
  #
1276
1130
  # @!attribute [rw] message
@@ -1300,14 +1154,6 @@ module Aws::BillingConductor
1300
1154
  # `Billing Group Arn`\: linked accounts that are associated to the
1301
1155
  # provided Billing Group Arn.
1302
1156
  #
1303
- # @note When making an API call, you may pass ListAccountAssociationsFilter
1304
- # data as a hash:
1305
- #
1306
- # {
1307
- # association: "Association",
1308
- # account_id: "AccountId",
1309
- # }
1310
- #
1311
1157
  # @!attribute [rw] association
1312
1158
  # `MONITORED`\: linked accounts that are associated to billing groups.
1313
1159
  #
@@ -1331,18 +1177,6 @@ module Aws::BillingConductor
1331
1177
  include Aws::Structure
1332
1178
  end
1333
1179
 
1334
- # @note When making an API call, you may pass ListAccountAssociationsInput
1335
- # data as a hash:
1336
- #
1337
- # {
1338
- # billing_period: "BillingPeriod",
1339
- # filters: {
1340
- # association: "Association",
1341
- # account_id: "AccountId",
1342
- # },
1343
- # next_token: "Token",
1344
- # }
1345
- #
1346
1180
  # @!attribute [rw] billing_period
1347
1181
  # The preferred billing period to get account associations.
1348
1182
  # @return [String]
@@ -1395,13 +1229,6 @@ module Aws::BillingConductor
1395
1229
 
1396
1230
  # The filter used to retrieve specific `BillingGroupCostReportElements`.
1397
1231
  #
1398
- # @note When making an API call, you may pass ListBillingGroupCostReportsFilter
1399
- # data as a hash:
1400
- #
1401
- # {
1402
- # billing_group_arns: ["BillingGroupArn"],
1403
- # }
1404
- #
1405
1232
  # @!attribute [rw] billing_group_arns
1406
1233
  # The list of Amazon Resource Names (ARNs) used to filter billing
1407
1234
  # groups to retrieve reports.
@@ -1415,18 +1242,6 @@ module Aws::BillingConductor
1415
1242
  include Aws::Structure
1416
1243
  end
1417
1244
 
1418
- # @note When making an API call, you may pass ListBillingGroupCostReportsInput
1419
- # data as a hash:
1420
- #
1421
- # {
1422
- # billing_period: "BillingPeriod",
1423
- # max_results: 1,
1424
- # next_token: "Token",
1425
- # filters: {
1426
- # billing_group_arns: ["BillingGroupArn"],
1427
- # },
1428
- # }
1429
- #
1430
1245
  # @!attribute [rw] billing_period
1431
1246
  # The preferred billing period for your report.
1432
1247
  # @return [String]
@@ -1477,14 +1292,6 @@ module Aws::BillingConductor
1477
1292
  # The filter that specifies the billing groups and pricing plans to
1478
1293
  # retrieve billing group information.
1479
1294
  #
1480
- # @note When making an API call, you may pass ListBillingGroupsFilter
1481
- # data as a hash:
1482
- #
1483
- # {
1484
- # arns: ["BillingGroupArn"],
1485
- # pricing_plan: "PricingPlanFullArn",
1486
- # }
1487
- #
1488
1295
  # @!attribute [rw] arns
1489
1296
  # The list of billing group Amazon Resource Names (ARNs) to retrieve
1490
1297
  # information.
@@ -1504,19 +1311,6 @@ module Aws::BillingConductor
1504
1311
  include Aws::Structure
1505
1312
  end
1506
1313
 
1507
- # @note When making an API call, you may pass ListBillingGroupsInput
1508
- # data as a hash:
1509
- #
1510
- # {
1511
- # billing_period: "BillingPeriod",
1512
- # max_results: 1,
1513
- # next_token: "Token",
1514
- # filters: {
1515
- # arns: ["BillingGroupArn"],
1516
- # pricing_plan: "PricingPlanFullArn",
1517
- # },
1518
- # }
1519
- #
1520
1314
  # @!attribute [rw] billing_period
1521
1315
  # The preferred billing period to get billing groups.
1522
1316
  # @return [String]
@@ -1626,14 +1420,6 @@ module Aws::BillingConductor
1626
1420
  # A billing period filter that specifies the custom line item versions
1627
1421
  # to retrieve.
1628
1422
  #
1629
- # @note When making an API call, you may pass ListCustomLineItemVersionsBillingPeriodRangeFilter
1630
- # data as a hash:
1631
- #
1632
- # {
1633
- # start_billing_period: "BillingPeriod",
1634
- # end_billing_period: "BillingPeriod",
1635
- # }
1636
- #
1637
1423
  # @!attribute [rw] start_billing_period
1638
1424
  # The inclusive start billing period that defines a billing period
1639
1425
  # range where a custom line item version is applied.
@@ -1656,16 +1442,6 @@ module Aws::BillingConductor
1656
1442
  # A filter that specifies the billing period range where the custom line
1657
1443
  # item versions reside.
1658
1444
  #
1659
- # @note When making an API call, you may pass ListCustomLineItemVersionsFilter
1660
- # data as a hash:
1661
- #
1662
- # {
1663
- # billing_period_range: {
1664
- # start_billing_period: "BillingPeriod",
1665
- # end_billing_period: "BillingPeriod",
1666
- # },
1667
- # }
1668
- #
1669
1445
  # @!attribute [rw] billing_period_range
1670
1446
  # The billing period range in which the custom line item version is
1671
1447
  # applied.
@@ -1679,21 +1455,6 @@ module Aws::BillingConductor
1679
1455
  include Aws::Structure
1680
1456
  end
1681
1457
 
1682
- # @note When making an API call, you may pass ListCustomLineItemVersionsInput
1683
- # data as a hash:
1684
- #
1685
- # {
1686
- # arn: "CustomLineItemArn", # required
1687
- # max_results: 1,
1688
- # next_token: "Token",
1689
- # filters: {
1690
- # billing_period_range: {
1691
- # start_billing_period: "BillingPeriod",
1692
- # end_billing_period: "BillingPeriod",
1693
- # },
1694
- # },
1695
- # }
1696
- #
1697
1458
  # @!attribute [rw] arn
1698
1459
  # The Amazon Resource Name (ARN) for the custom line item.
1699
1460
  # @return [String]
@@ -1744,15 +1505,6 @@ module Aws::BillingConductor
1744
1505
  # A filter that specifies the custom line items and billing groups to
1745
1506
  # retrieve FFLI information.
1746
1507
  #
1747
- # @note When making an API call, you may pass ListCustomLineItemsFilter
1748
- # data as a hash:
1749
- #
1750
- # {
1751
- # names: ["CustomLineItemName"],
1752
- # billing_groups: ["BillingGroupArn"],
1753
- # arns: ["CustomLineItemArn"],
1754
- # }
1755
- #
1756
1508
  # @!attribute [rw] names
1757
1509
  # A list of custom line items to retrieve information.
1758
1510
  # @return [Array<String>]
@@ -1776,20 +1528,6 @@ module Aws::BillingConductor
1776
1528
  include Aws::Structure
1777
1529
  end
1778
1530
 
1779
- # @note When making an API call, you may pass ListCustomLineItemsInput
1780
- # data as a hash:
1781
- #
1782
- # {
1783
- # billing_period: "BillingPeriod",
1784
- # max_results: 1,
1785
- # next_token: "Token",
1786
- # filters: {
1787
- # names: ["CustomLineItemName"],
1788
- # billing_groups: ["BillingGroupArn"],
1789
- # arns: ["CustomLineItemArn"],
1790
- # },
1791
- # }
1792
- #
1793
1531
  # @!attribute [rw] billing_period
1794
1532
  # The preferred billing period to get custom line items (FFLIs).
1795
1533
  # @return [String]
@@ -1838,16 +1576,6 @@ module Aws::BillingConductor
1838
1576
  include Aws::Structure
1839
1577
  end
1840
1578
 
1841
- # @note When making an API call, you may pass ListPricingPlansAssociatedWithPricingRuleInput
1842
- # data as a hash:
1843
- #
1844
- # {
1845
- # billing_period: "BillingPeriod",
1846
- # pricing_rule_arn: "PricingRuleArn", # required
1847
- # max_results: 1,
1848
- # next_token: "Token",
1849
- # }
1850
- #
1851
1579
  # @!attribute [rw] billing_period
1852
1580
  # The pricing plan billing period for which associations will be
1853
1581
  # listed.
@@ -1911,13 +1639,6 @@ module Aws::BillingConductor
1911
1639
  # The filter that specifies the Amazon Resource Names (ARNs) of pricing
1912
1640
  # plans, to retrieve pricing plan information.
1913
1641
  #
1914
- # @note When making an API call, you may pass ListPricingPlansFilter
1915
- # data as a hash:
1916
- #
1917
- # {
1918
- # arns: ["PricingPlanArn"],
1919
- # }
1920
- #
1921
1642
  # @!attribute [rw] arns
1922
1643
  # A list of pricing plan Amazon Resource Names (ARNs) to retrieve
1923
1644
  # information.
@@ -1931,18 +1652,6 @@ module Aws::BillingConductor
1931
1652
  include Aws::Structure
1932
1653
  end
1933
1654
 
1934
- # @note When making an API call, you may pass ListPricingPlansInput
1935
- # data as a hash:
1936
- #
1937
- # {
1938
- # billing_period: "BillingPeriod",
1939
- # filters: {
1940
- # arns: ["PricingPlanArn"],
1941
- # },
1942
- # max_results: 1,
1943
- # next_token: "Token",
1944
- # }
1945
- #
1946
1655
  # @!attribute [rw] billing_period
1947
1656
  # The preferred billing period to get pricing plan.
1948
1657
  # @return [String]
@@ -1996,16 +1705,6 @@ module Aws::BillingConductor
1996
1705
  include Aws::Structure
1997
1706
  end
1998
1707
 
1999
- # @note When making an API call, you may pass ListPricingRulesAssociatedToPricingPlanInput
2000
- # data as a hash:
2001
- #
2002
- # {
2003
- # billing_period: "BillingPeriod",
2004
- # pricing_plan_arn: "PricingPlanArn", # required
2005
- # max_results: 1,
2006
- # next_token: "Token",
2007
- # }
2008
- #
2009
1708
  # @!attribute [rw] billing_period
2010
1709
  # The billing period for which the pricing rule associations are to be
2011
1710
  # listed.
@@ -2069,13 +1768,6 @@ module Aws::BillingConductor
2069
1768
  # The filter that specifies criteria that the pricing rules returned by
2070
1769
  # the `ListPricingRules` API will adhere to.
2071
1770
  #
2072
- # @note When making an API call, you may pass ListPricingRulesFilter
2073
- # data as a hash:
2074
- #
2075
- # {
2076
- # arns: ["PricingRuleArn"],
2077
- # }
2078
- #
2079
1771
  # @!attribute [rw] arns
2080
1772
  # A list containing the pricing rule Amazon Resource Names (ARNs) to
2081
1773
  # include in the API response.
@@ -2089,18 +1781,6 @@ module Aws::BillingConductor
2089
1781
  include Aws::Structure
2090
1782
  end
2091
1783
 
2092
- # @note When making an API call, you may pass ListPricingRulesInput
2093
- # data as a hash:
2094
- #
2095
- # {
2096
- # billing_period: "BillingPeriod",
2097
- # filters: {
2098
- # arns: ["PricingRuleArn"],
2099
- # },
2100
- # max_results: 1,
2101
- # next_token: "Token",
2102
- # }
2103
- #
2104
1784
  # @!attribute [rw] billing_period
2105
1785
  # The preferred billing period to get the pricing plan.
2106
1786
  # @return [String]
@@ -2157,13 +1837,6 @@ module Aws::BillingConductor
2157
1837
  # A filter that specifies the type of resource associations that should
2158
1838
  # be retrieved for a custom line item.
2159
1839
  #
2160
- # @note When making an API call, you may pass ListResourcesAssociatedToCustomLineItemFilter
2161
- # data as a hash:
2162
- #
2163
- # {
2164
- # relationship: "PARENT", # accepts PARENT, CHILD
2165
- # }
2166
- #
2167
1840
  # @!attribute [rw] relationship
2168
1841
  # The type of relationship between the custom line item and the
2169
1842
  # associated resource.
@@ -2177,19 +1850,6 @@ module Aws::BillingConductor
2177
1850
  include Aws::Structure
2178
1851
  end
2179
1852
 
2180
- # @note When making an API call, you may pass ListResourcesAssociatedToCustomLineItemInput
2181
- # data as a hash:
2182
- #
2183
- # {
2184
- # billing_period: "BillingPeriod",
2185
- # arn: "CustomLineItemArn", # required
2186
- # max_results: 1,
2187
- # next_token: "Token",
2188
- # filters: {
2189
- # relationship: "PARENT", # accepts PARENT, CHILD
2190
- # },
2191
- # }
2192
- #
2193
1853
  # @!attribute [rw] billing_period
2194
1854
  # The billing period for which the resource associations will be
2195
1855
  # listed.
@@ -2277,13 +1937,6 @@ module Aws::BillingConductor
2277
1937
  include Aws::Structure
2278
1938
  end
2279
1939
 
2280
- # @note When making an API call, you may pass ListTagsForResourceRequest
2281
- # data as a hash:
2282
- #
2283
- # {
2284
- # resource_arn: "Arn", # required
2285
- # }
2286
- #
2287
1940
  # @!attribute [rw] resource_arn
2288
1941
  # The Amazon Resource Name (ARN) that identifies the resource to list
2289
1942
  # the tags.
@@ -2401,6 +2054,10 @@ module Aws::BillingConductor
2401
2054
  # Services Marketplace.
2402
2055
  # @return [String]
2403
2056
  #
2057
+ # @!attribute [rw] tiering
2058
+ # The set of tiering configurations for the pricing rule.
2059
+ # @return [Types::Tiering]
2060
+ #
2404
2061
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/PricingRuleListElement AWS API Documentation
2405
2062
  #
2406
2063
  class PricingRuleListElement < Struct.new(
@@ -2414,7 +2071,8 @@ module Aws::BillingConductor
2414
2071
  :associated_pricing_plan_count,
2415
2072
  :creation_time,
2416
2073
  :last_modified_time,
2417
- :billing_entity)
2074
+ :billing_entity,
2075
+ :tiering)
2418
2076
  SENSITIVE = [:name, :description]
2419
2077
  include Aws::Structure
2420
2078
  end
@@ -2476,16 +2134,6 @@ module Aws::BillingConductor
2476
2134
  include Aws::Structure
2477
2135
  end
2478
2136
 
2479
- # @note When making an API call, you may pass TagResourceRequest
2480
- # data as a hash:
2481
- #
2482
- # {
2483
- # resource_arn: "Arn", # required
2484
- # tags: { # required
2485
- # "TagKey" => "TagValue",
2486
- # },
2487
- # }
2488
- #
2489
2137
  # @!attribute [rw] resource_arn
2490
2138
  # The Amazon Resource Name (ARN) of the resource to which to add tags.
2491
2139
  # @return [String]
@@ -2525,14 +2173,20 @@ module Aws::BillingConductor
2525
2173
  include Aws::Structure
2526
2174
  end
2527
2175
 
2528
- # @note When making an API call, you may pass UntagResourceRequest
2529
- # data as a hash:
2176
+ # The set of tiering configurations for the pricing rule.
2530
2177
  #
2531
- # {
2532
- # resource_arn: "Arn", # required
2533
- # tag_keys: ["TagKey"], # required
2534
- # }
2178
+ # @!attribute [rw] free_tier
2179
+ # The possible Amazon Web Services Free Tier configurations.
2180
+ # @return [Types::FreeTierConfig]
2535
2181
  #
2182
+ # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/Tiering AWS API Documentation
2183
+ #
2184
+ class Tiering < Struct.new(
2185
+ :free_tier)
2186
+ SENSITIVE = []
2187
+ include Aws::Structure
2188
+ end
2189
+
2536
2190
  # @!attribute [rw] resource_arn
2537
2191
  # The Amazon Resource Name (ARN) of the resource to which to delete
2538
2192
  # tags.
@@ -2555,19 +2209,6 @@ module Aws::BillingConductor
2555
2209
  #
2556
2210
  class UntagResourceResponse < Aws::EmptyStructure; end
2557
2211
 
2558
- # @note When making an API call, you may pass UpdateBillingGroupInput
2559
- # data as a hash:
2560
- #
2561
- # {
2562
- # arn: "BillingGroupArn", # required
2563
- # name: "BillingGroupName",
2564
- # status: "ACTIVE", # accepts ACTIVE, PRIMARY_ACCOUNT_MISSING
2565
- # computation_preference: {
2566
- # pricing_plan_arn: "PricingPlanFullArn", # required
2567
- # },
2568
- # description: "BillingGroupDescription",
2569
- # }
2570
- #
2571
2212
  # @!attribute [rw] arn
2572
2213
  # The Amazon Resource Name (ARN) of the billing group being updated.
2573
2214
  # @return [String]
@@ -2662,18 +2303,6 @@ module Aws::BillingConductor
2662
2303
  # A representation of the new charge details of a custom line item. This
2663
2304
  # should contain only one of `Flat` or `Percentage`.
2664
2305
  #
2665
- # @note When making an API call, you may pass UpdateCustomLineItemChargeDetails
2666
- # data as a hash:
2667
- #
2668
- # {
2669
- # flat: {
2670
- # charge_value: 1.0, # required
2671
- # },
2672
- # percentage: {
2673
- # percentage_value: 1.0, # required
2674
- # },
2675
- # }
2676
- #
2677
2306
  # @!attribute [rw] flat
2678
2307
  # An `UpdateCustomLineItemFlatChargeDetails` that describes the new
2679
2308
  # charge details of a flat custom line item.
@@ -2696,13 +2325,6 @@ module Aws::BillingConductor
2696
2325
  # A representation of the new charge details that are associated with a
2697
2326
  # flat custom line item.
2698
2327
  #
2699
- # @note When making an API call, you may pass UpdateCustomLineItemFlatChargeDetails
2700
- # data as a hash:
2701
- #
2702
- # {
2703
- # charge_value: 1.0, # required
2704
- # }
2705
- #
2706
2328
  # @!attribute [rw] charge_value
2707
2329
  # The custom line item's new fixed charge value in USD.
2708
2330
  # @return [Float]
@@ -2715,27 +2337,6 @@ module Aws::BillingConductor
2715
2337
  include Aws::Structure
2716
2338
  end
2717
2339
 
2718
- # @note When making an API call, you may pass UpdateCustomLineItemInput
2719
- # data as a hash:
2720
- #
2721
- # {
2722
- # arn: "CustomLineItemArn", # required
2723
- # name: "CustomLineItemName",
2724
- # description: "CustomLineItemDescription",
2725
- # charge_details: {
2726
- # flat: {
2727
- # charge_value: 1.0, # required
2728
- # },
2729
- # percentage: {
2730
- # percentage_value: 1.0, # required
2731
- # },
2732
- # },
2733
- # billing_period_range: {
2734
- # inclusive_start_billing_period: "BillingPeriod", # required
2735
- # exclusive_end_billing_period: "BillingPeriod",
2736
- # },
2737
- # }
2738
- #
2739
2340
  # @!attribute [rw] arn
2740
2341
  # The ARN of the custom line item to be updated.
2741
2342
  # @return [String]
@@ -2817,13 +2418,6 @@ module Aws::BillingConductor
2817
2418
  # A representation of the new charge details that are associated with a
2818
2419
  # percentage custom line item.
2819
2420
  #
2820
- # @note When making an API call, you may pass UpdateCustomLineItemPercentageChargeDetails
2821
- # data as a hash:
2822
- #
2823
- # {
2824
- # percentage_value: 1.0, # required
2825
- # }
2826
- #
2827
2421
  # @!attribute [rw] percentage_value
2828
2422
  # The custom line item's new percentage value. This will be
2829
2423
  # multiplied against the combined value of its associated resources to
@@ -2838,15 +2432,20 @@ module Aws::BillingConductor
2838
2432
  include Aws::Structure
2839
2433
  end
2840
2434
 
2841
- # @note When making an API call, you may pass UpdatePricingPlanInput
2842
- # data as a hash:
2435
+ # The possible Amazon Web Services Free Tier configurations.
2436
+ #
2437
+ # @!attribute [rw] activated
2438
+ # Activate or deactivate application of Amazon Web Services Free Tier.
2439
+ # @return [Boolean]
2843
2440
  #
2844
- # {
2845
- # arn: "PricingPlanArn", # required
2846
- # name: "PricingPlanName",
2847
- # description: "PricingPlanDescription",
2848
- # }
2441
+ # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateFreeTierConfig AWS API Documentation
2849
2442
  #
2443
+ class UpdateFreeTierConfig < Struct.new(
2444
+ :activated)
2445
+ SENSITIVE = []
2446
+ include Aws::Structure
2447
+ end
2448
+
2850
2449
  # @!attribute [rw] arn
2851
2450
  # The Amazon Resource Name (ARN) of the pricing plan that you're
2852
2451
  # updating.
@@ -2905,17 +2504,6 @@ module Aws::BillingConductor
2905
2504
  include Aws::Structure
2906
2505
  end
2907
2506
 
2908
- # @note When making an API call, you may pass UpdatePricingRuleInput
2909
- # data as a hash:
2910
- #
2911
- # {
2912
- # arn: "PricingRuleArn", # required
2913
- # name: "PricingRuleName",
2914
- # description: "PricingRuleDescription",
2915
- # type: "MARKUP", # accepts MARKUP, DISCOUNT
2916
- # modifier_percentage: 1.0,
2917
- # }
2918
- #
2919
2507
  # @!attribute [rw] arn
2920
2508
  # The Amazon Resource Name (ARN) of the pricing rule to update.
2921
2509
  # @return [String]
@@ -2937,6 +2525,10 @@ module Aws::BillingConductor
2937
2525
  # The new modifier to show pricing plan rates as a percentage.
2938
2526
  # @return [Float]
2939
2527
  #
2528
+ # @!attribute [rw] tiering
2529
+ # The set of tiering configurations for the pricing rule.
2530
+ # @return [Types::UpdateTieringInput]
2531
+ #
2940
2532
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdatePricingRuleInput AWS API Documentation
2941
2533
  #
2942
2534
  class UpdatePricingRuleInput < Struct.new(
@@ -2944,7 +2536,8 @@ module Aws::BillingConductor
2944
2536
  :name,
2945
2537
  :description,
2946
2538
  :type,
2947
- :modifier_percentage)
2539
+ :modifier_percentage,
2540
+ :tiering)
2948
2541
  SENSITIVE = [:name, :description]
2949
2542
  include Aws::Structure
2950
2543
  end
@@ -2995,6 +2588,30 @@ module Aws::BillingConductor
2995
2588
  # Services Marketplace.
2996
2589
  # @return [String]
2997
2590
  #
2591
+ # @!attribute [rw] tiering
2592
+ # The set of tiering configurations for the pricing rule.
2593
+ # @return [Types::UpdateTieringInput]
2594
+ #
2595
+ # @!attribute [rw] usage_type
2596
+ # Usage type is the unit that each service uses to measure the usage
2597
+ # of a specific type of resource.
2598
+ #
2599
+ # If the `Scope` attribute is set to `SKU`, this attribute indicates
2600
+ # which usage type the `PricingRule` is modifying. For example,
2601
+ # `USW2-BoxUsage:m2.2xlarge` describes an `M2 High Memory Double Extra
2602
+ # Large` instance in the US West (Oregon) Region.
2603
+ # @return [String]
2604
+ #
2605
+ # @!attribute [rw] operation
2606
+ # Operation refers to the specific Amazon Web Services covered by this
2607
+ # line item. This describes the specific usage of the line item.
2608
+ #
2609
+ # If the `Scope` attribute is set to `SKU`, this attribute indicates
2610
+ # which operation the `PricingRule` is modifying. For example, a value
2611
+ # of `RunInstances:0202` indicates the operation of running an Amazon
2612
+ # EC2 instance.
2613
+ # @return [String]
2614
+ #
2998
2615
  # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdatePricingRuleOutput AWS API Documentation
2999
2616
  #
3000
2617
  class UpdatePricingRuleOutput < Struct.new(
@@ -3007,11 +2624,28 @@ module Aws::BillingConductor
3007
2624
  :service,
3008
2625
  :associated_pricing_plan_count,
3009
2626
  :last_modified_time,
3010
- :billing_entity)
2627
+ :billing_entity,
2628
+ :tiering,
2629
+ :usage_type,
2630
+ :operation)
3011
2631
  SENSITIVE = [:name, :description]
3012
2632
  include Aws::Structure
3013
2633
  end
3014
2634
 
2635
+ # The set of tiering configurations for the pricing rule.
2636
+ #
2637
+ # @!attribute [rw] free_tier
2638
+ # The possible Amazon Web Services Free Tier configurations.
2639
+ # @return [Types::UpdateFreeTierConfig]
2640
+ #
2641
+ # @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateTieringInput AWS API Documentation
2642
+ #
2643
+ class UpdateTieringInput < Struct.new(
2644
+ :free_tier)
2645
+ SENSITIVE = []
2646
+ include Aws::Structure
2647
+ end
2648
+
3015
2649
  # The input doesn't match with the constraints specified by Amazon Web
3016
2650
  # Services services.
3017
2651
  #