@aws-sdk/client-billingconductor 3.1130.0 → 3.1132.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.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1129.0";
72
+ var version = "3.1131.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -321,6 +321,7 @@ const _BGT = "BillingGroupType";
321
321
  const _BGTi = "BillingGroupTypes";
322
322
  const _BP = "BillingPeriod";
323
323
  const _BPR = "BillingPeriodRange";
324
+ const _BRI = "BeginRangeInclusive";
324
325
  const _C = "Currency";
325
326
  const _CBG = "CreateBillingGroup";
326
327
  const _CBGI = "CreateBillingGroupInput";
@@ -355,7 +356,10 @@ const _CPRO = "CreatePricingRuleOutput";
355
356
  const _CR = "ComputationRule";
356
357
  const _CT = "CreationTime";
357
358
  const _CTI = "CreateTieringInput";
359
+ const _CTL = "CustomTiersList";
358
360
  const _CTl = "ClientToken";
361
+ const _CTu = "CustomTiers";
362
+ const _CTus = "CustomTier";
359
363
  const _CV = "ChargeValue";
360
364
  const _D = "Description";
361
365
  const _DA = "DisassociateAccounts";
@@ -381,6 +385,7 @@ const _DRRL = "DisassociateResourcesResponseList";
381
385
  const _E = "Error";
382
386
  const _EBP = "EndBillingPeriod";
383
387
  const _EEBP = "ExclusiveEndBillingPeriod";
388
+ const _ERE = "EndRangeExclusive";
384
389
  const _F = "Fields";
385
390
  const _FAR = "FailedAssociatedResources";
386
391
  const _FDR = "FailedDisassociatedResources";
@@ -493,6 +498,7 @@ const _RNFE = "ResourceNotFoundException";
493
498
  const _RT = "ResourceType";
494
499
  const _RTA = "ResponsibilityTransferArn";
495
500
  const _RTAe = "ResponsibilityTransferArns";
501
+ const _RV = "RateValue";
496
502
  const _Re = "Relationship";
497
503
  const _S = "Size";
498
504
  const _SAR = "SuccessfullyAssociatedResources";
@@ -755,8 +761,8 @@ var CreatePricingRuleOutput$ = [3, n0, _CPRO,
755
761
  ];
756
762
  var CreateTieringInput$ = [3, n0, _CTI,
757
763
  0,
758
- [_FT],
759
- [() => CreateFreeTierConfig$], 1
764
+ [_FT, _CTu],
765
+ [() => CreateFreeTierConfig$, () => CustomTiersList]
760
766
  ];
761
767
  var CustomLineItemBillingPeriodRange$ = [3, n0, _CLIBPR,
762
768
  0,
@@ -788,6 +794,11 @@ var CustomLineItemVersionListElement$ = [3, n0, _CLIVLE,
788
794
  [_N, _CD, _CC, _D, _PCr, _BGA, _CT, _LMT, _AS, _SBP, _EBP, _A, _ST, _AI, _CR, _PD],
789
795
  [[() => CustomLineItemName, 0], () => ListCustomLineItemChargeDetails$, 0, [() => CustomLineItemDescription, 0], 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, () => PresentationObject$]
790
796
  ];
797
+ var CustomTier$ = [3, n0, _CTus,
798
+ 0,
799
+ [_BRI, _RV, _ERE],
800
+ [1, 1, 1], 2
801
+ ];
791
802
  var DeleteBillingGroupInput$ = [3, n0, _DBGI,
792
803
  0,
793
804
  [_A],
@@ -1085,8 +1096,8 @@ var TagResourceResponse$ = [3, n0, _TRRa,
1085
1096
  ];
1086
1097
  var Tiering$ = [3, n0, _Ti,
1087
1098
  0,
1088
- [_FT],
1089
- [() => FreeTierConfig$], 1
1099
+ [_FT, _CTu],
1100
+ [() => FreeTierConfig$, () => CustomTiersList]
1090
1101
  ];
1091
1102
  var UntagResourceRequest$ = [3, n0, _URR,
1092
1103
  0,
@@ -1165,8 +1176,8 @@ var UpdatePricingRuleOutput$ = [3, n0, _UPRO,
1165
1176
  ];
1166
1177
  var UpdateTieringInput$ = [3, n0, _UTI,
1167
1178
  0,
1168
- [_FT],
1169
- [() => UpdateFreeTierConfig$], 1
1179
+ [_FT, _CTu],
1180
+ [() => UpdateFreeTierConfig$, () => CustomTiersList]
1170
1181
  ];
1171
1182
  var ValidationExceptionField$ = [3, n0, _VEF,
1172
1183
  0,
@@ -1205,6 +1216,9 @@ var CustomLineItemVersionList = [1, n0, _CLIVL,
1205
1216
  0, [() => CustomLineItemVersionListElement$,
1206
1217
  0]
1207
1218
  ];
1219
+ var CustomTiersList = [1, n0, _CTL,
1220
+ 0, () => CustomTier$
1221
+ ];
1208
1222
  var DisassociateResourcesResponseList = [1, n0, _DRRL,
1209
1223
  0, () => DisassociateResourceResponseElement$
1210
1224
  ];
@@ -1847,6 +1861,7 @@ exports.CustomLineItemPercentageChargeDetails$ = CustomLineItemPercentageChargeD
1847
1861
  exports.CustomLineItemRelationship = CustomLineItemRelationship;
1848
1862
  exports.CustomLineItemType = CustomLineItemType;
1849
1863
  exports.CustomLineItemVersionListElement$ = CustomLineItemVersionListElement$;
1864
+ exports.CustomTier$ = CustomTier$;
1850
1865
  exports.DeleteBillingGroup$ = DeleteBillingGroup$;
1851
1866
  exports.DeleteBillingGroupCommand = DeleteBillingGroupCommand;
1852
1867
  exports.DeleteBillingGroupInput$ = DeleteBillingGroupInput$;
@@ -53,6 +53,7 @@ const _BGT = "BillingGroupType";
53
53
  const _BGTi = "BillingGroupTypes";
54
54
  const _BP = "BillingPeriod";
55
55
  const _BPR = "BillingPeriodRange";
56
+ const _BRI = "BeginRangeInclusive";
56
57
  const _C = "Currency";
57
58
  const _CBG = "CreateBillingGroup";
58
59
  const _CBGI = "CreateBillingGroupInput";
@@ -87,7 +88,10 @@ const _CPRO = "CreatePricingRuleOutput";
87
88
  const _CR = "ComputationRule";
88
89
  const _CT = "CreationTime";
89
90
  const _CTI = "CreateTieringInput";
91
+ const _CTL = "CustomTiersList";
90
92
  const _CTl = "ClientToken";
93
+ const _CTu = "CustomTiers";
94
+ const _CTus = "CustomTier";
91
95
  const _CV = "ChargeValue";
92
96
  const _D = "Description";
93
97
  const _DA = "DisassociateAccounts";
@@ -113,6 +117,7 @@ const _DRRL = "DisassociateResourcesResponseList";
113
117
  const _E = "Error";
114
118
  const _EBP = "EndBillingPeriod";
115
119
  const _EEBP = "ExclusiveEndBillingPeriod";
120
+ const _ERE = "EndRangeExclusive";
116
121
  const _F = "Fields";
117
122
  const _FAR = "FailedAssociatedResources";
118
123
  const _FDR = "FailedDisassociatedResources";
@@ -225,6 +230,7 @@ const _RNFE = "ResourceNotFoundException";
225
230
  const _RT = "ResourceType";
226
231
  const _RTA = "ResponsibilityTransferArn";
227
232
  const _RTAe = "ResponsibilityTransferArns";
233
+ const _RV = "RateValue";
228
234
  const _Re = "Relationship";
229
235
  const _S = "Size";
230
236
  const _SAR = "SuccessfullyAssociatedResources";
@@ -490,8 +496,8 @@ export var CreatePricingRuleOutput$ = [3, n0, _CPRO,
490
496
  ];
491
497
  export var CreateTieringInput$ = [3, n0, _CTI,
492
498
  0,
493
- [_FT],
494
- [() => CreateFreeTierConfig$], 1
499
+ [_FT, _CTu],
500
+ [() => CreateFreeTierConfig$, () => CustomTiersList]
495
501
  ];
496
502
  export var CustomLineItemBillingPeriodRange$ = [3, n0, _CLIBPR,
497
503
  0,
@@ -523,6 +529,11 @@ export var CustomLineItemVersionListElement$ = [3, n0, _CLIVLE,
523
529
  [_N, _CD, _CC, _D, _PCr, _BGA, _CT, _LMT, _AS, _SBP, _EBP, _A, _ST, _AI, _CR, _PD],
524
530
  [[() => CustomLineItemName, 0], () => ListCustomLineItemChargeDetails$, 0, [() => CustomLineItemDescription, 0], 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, () => PresentationObject$]
525
531
  ];
532
+ export var CustomTier$ = [3, n0, _CTus,
533
+ 0,
534
+ [_BRI, _RV, _ERE],
535
+ [1, 1, 1], 2
536
+ ];
526
537
  export var DeleteBillingGroupInput$ = [3, n0, _DBGI,
527
538
  0,
528
539
  [_A],
@@ -820,8 +831,8 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
820
831
  ];
821
832
  export var Tiering$ = [3, n0, _Ti,
822
833
  0,
823
- [_FT],
824
- [() => FreeTierConfig$], 1
834
+ [_FT, _CTu],
835
+ [() => FreeTierConfig$, () => CustomTiersList]
825
836
  ];
826
837
  export var UntagResourceRequest$ = [3, n0, _URR,
827
838
  0,
@@ -900,8 +911,8 @@ export var UpdatePricingRuleOutput$ = [3, n0, _UPRO,
900
911
  ];
901
912
  export var UpdateTieringInput$ = [3, n0, _UTI,
902
913
  0,
903
- [_FT],
904
- [() => UpdateFreeTierConfig$], 1
914
+ [_FT, _CTu],
915
+ [() => UpdateFreeTierConfig$, () => CustomTiersList]
905
916
  ];
906
917
  export var ValidationExceptionField$ = [3, n0, _VEF,
907
918
  0,
@@ -950,6 +961,9 @@ var CustomLineItemVersionList = [1, n0, _CLIVL,
950
961
  0, [() => CustomLineItemVersionListElement$,
951
962
  0]
952
963
  ];
964
+ var CustomTiersList = [1, n0, _CTL,
965
+ 0, () => CustomTier$
966
+ ];
953
967
  var DisassociateResourcesResponseList = [1, n0, _DRRL,
954
968
  0, () => DisassociateResourceResponseElement$
955
969
  ];
@@ -49,6 +49,13 @@ declare const CreatePricingRuleCommand_base: {
49
49
  * FreeTier: { // CreateFreeTierConfig
50
50
  * Activated: true || false, // required
51
51
  * },
52
+ * CustomTiers: [ // CustomTiersList
53
+ * { // CustomTier
54
+ * BeginRangeInclusive: Number("double"), // required
55
+ * EndRangeExclusive: Number("double"),
56
+ * RateValue: Number("double"), // required
57
+ * },
58
+ * ],
52
59
  * },
53
60
  * UsageType: "STRING_VALUE",
54
61
  * Operation: "STRING_VALUE",
@@ -64,6 +64,13 @@ declare const ListPricingRulesCommand_base: {
64
64
  * // FreeTier: { // FreeTierConfig
65
65
  * // Activated: true || false, // required
66
66
  * // },
67
+ * // CustomTiers: [ // CustomTiersList
68
+ * // { // CustomTier
69
+ * // BeginRangeInclusive: Number("double"), // required
70
+ * // EndRangeExclusive: Number("double"),
71
+ * // RateValue: Number("double"), // required
72
+ * // },
73
+ * // ],
67
74
  * // },
68
75
  * // UsageType: "STRING_VALUE",
69
76
  * // Operation: "STRING_VALUE",
@@ -43,6 +43,13 @@ declare const UpdatePricingRuleCommand_base: {
43
43
  * FreeTier: { // UpdateFreeTierConfig
44
44
  * Activated: true || false, // required
45
45
  * },
46
+ * CustomTiers: [ // CustomTiersList
47
+ * { // CustomTier
48
+ * BeginRangeInclusive: Number("double"), // required
49
+ * EndRangeExclusive: Number("double"),
50
+ * RateValue: Number("double"), // required
51
+ * },
52
+ * ],
46
53
  * },
47
54
  * };
48
55
  * const command = new UpdatePricingRuleCommand(input);
@@ -62,6 +69,13 @@ declare const UpdatePricingRuleCommand_base: {
62
69
  * // FreeTier: { // UpdateFreeTierConfig
63
70
  * // Activated: true || false, // required
64
71
  * // },
72
+ * // CustomTiers: [ // CustomTiersList
73
+ * // { // CustomTier
74
+ * // BeginRangeInclusive: Number("double"), // required
75
+ * // EndRangeExclusive: Number("double"),
76
+ * // RateValue: Number("double"), // required
77
+ * // },
78
+ * // ],
65
79
  * // },
66
80
  * // UsageType: "STRING_VALUE",
67
81
  * // Operation: "STRING_VALUE",
@@ -1913,6 +1913,27 @@ export interface UpdatePricingPlanOutput {
1913
1913
  */
1914
1914
  LastModifiedTime?: number | undefined;
1915
1915
  }
1916
+ /**
1917
+ * <p> A custom tier for the pricing rule. Each custom tier applies a rate to the usage that falls within the tier's range. </p>
1918
+ * @public
1919
+ */
1920
+ export interface CustomTier {
1921
+ /**
1922
+ * <p> The inclusive start of the usage range that this tier applies to. </p>
1923
+ * @public
1924
+ */
1925
+ BeginRangeInclusive: number | undefined;
1926
+ /**
1927
+ * <p> The exclusive end of the usage range that this tier applies to. If you don't specify a value, this tier applies to all usage that is greater than or equal to <code>BeginRangeInclusive</code>. </p>
1928
+ * @public
1929
+ */
1930
+ EndRangeExclusive?: number | undefined;
1931
+ /**
1932
+ * <p> The rate that's applied to the usage that falls within this tier. </p>
1933
+ * @public
1934
+ */
1935
+ RateValue: number | undefined;
1936
+ }
1916
1937
  /**
1917
1938
  * <p> The possible Amazon Web Services Free Tier configurations. </p>
1918
1939
  * @public
@@ -1933,7 +1954,12 @@ export interface CreateTieringInput {
1933
1954
  * <p> The possible Amazon Web Services Free Tier configurations. </p>
1934
1955
  * @public
1935
1956
  */
1936
- FreeTier: CreateFreeTierConfig | undefined;
1957
+ FreeTier?: CreateFreeTierConfig | undefined;
1958
+ /**
1959
+ * <p> The set of custom tiers for the pricing rule. </p>
1960
+ * @public
1961
+ */
1962
+ CustomTiers?: CustomTier[] | undefined;
1937
1963
  }
1938
1964
  /**
1939
1965
  * @public
@@ -2086,7 +2112,12 @@ export interface Tiering {
2086
2112
  * <p> The possible Amazon Web Services Free Tier configurations. </p>
2087
2113
  * @public
2088
2114
  */
2089
- FreeTier: FreeTierConfig | undefined;
2115
+ FreeTier?: FreeTierConfig | undefined;
2116
+ /**
2117
+ * <p> The set of custom tiers for the pricing rule. </p>
2118
+ * @public
2119
+ */
2120
+ CustomTiers?: CustomTier[] | undefined;
2090
2121
  }
2091
2122
  /**
2092
2123
  * <p>A representation of a pricing rule.</p>
@@ -2254,7 +2285,12 @@ export interface UpdateTieringInput {
2254
2285
  * <p> The possible Amazon Web Services Free Tier configurations. </p>
2255
2286
  * @public
2256
2287
  */
2257
- FreeTier: UpdateFreeTierConfig | undefined;
2288
+ FreeTier?: UpdateFreeTierConfig | undefined;
2289
+ /**
2290
+ * <p> The set of custom tiers for the pricing rule. </p>
2291
+ * @public
2292
+ */
2293
+ CustomTiers?: CustomTier[] | undefined;
2258
2294
  }
2259
2295
  /**
2260
2296
  * @public
@@ -48,6 +48,7 @@ export declare var CustomLineItemFlatChargeDetails$: StaticStructureSchema;
48
48
  export declare var CustomLineItemListElement$: StaticStructureSchema;
49
49
  export declare var CustomLineItemPercentageChargeDetails$: StaticStructureSchema;
50
50
  export declare var CustomLineItemVersionListElement$: StaticStructureSchema;
51
+ export declare var CustomTier$: StaticStructureSchema;
51
52
  export declare var DeleteBillingGroupInput$: StaticStructureSchema;
52
53
  export declare var DeleteBillingGroupOutput$: StaticStructureSchema;
53
54
  export declare var DeleteCustomLineItemInput$: StaticStructureSchema;
@@ -478,11 +478,17 @@ export interface UpdatePricingPlanOutput {
478
478
  Size?: number | undefined;
479
479
  LastModifiedTime?: number | undefined;
480
480
  }
481
+ export interface CustomTier {
482
+ BeginRangeInclusive: number | undefined;
483
+ EndRangeExclusive?: number | undefined;
484
+ RateValue: number | undefined;
485
+ }
481
486
  export interface CreateFreeTierConfig {
482
487
  Activated: boolean | undefined;
483
488
  }
484
489
  export interface CreateTieringInput {
485
- FreeTier: CreateFreeTierConfig | undefined;
490
+ FreeTier?: CreateFreeTierConfig | undefined;
491
+ CustomTiers?: CustomTier[] | undefined;
486
492
  }
487
493
  export interface CreatePricingRuleInput {
488
494
  ClientToken?: string | undefined;
@@ -520,7 +526,8 @@ export interface FreeTierConfig {
520
526
  Activated: boolean | undefined;
521
527
  }
522
528
  export interface Tiering {
523
- FreeTier: FreeTierConfig | undefined;
529
+ FreeTier?: FreeTierConfig | undefined;
530
+ CustomTiers?: CustomTier[] | undefined;
524
531
  }
525
532
  export interface PricingRuleListElement {
526
533
  Name?: string | undefined;
@@ -559,7 +566,8 @@ export interface UpdateFreeTierConfig {
559
566
  Activated: boolean | undefined;
560
567
  }
561
568
  export interface UpdateTieringInput {
562
- FreeTier: UpdateFreeTierConfig | undefined;
569
+ FreeTier?: UpdateFreeTierConfig | undefined;
570
+ CustomTiers?: CustomTier[] | undefined;
563
571
  }
564
572
  export interface UpdatePricingRuleInput {
565
573
  Arn: string | undefined;
@@ -43,6 +43,7 @@ export declare var CustomLineItemFlatChargeDetails$: StaticStructureSchema;
43
43
  export declare var CustomLineItemListElement$: StaticStructureSchema;
44
44
  export declare var CustomLineItemPercentageChargeDetails$: StaticStructureSchema;
45
45
  export declare var CustomLineItemVersionListElement$: StaticStructureSchema;
46
+ export declare var CustomTier$: StaticStructureSchema;
46
47
  export declare var DeleteBillingGroupInput$: StaticStructureSchema;
47
48
  export declare var DeleteBillingGroupOutput$: StaticStructureSchema;
48
49
  export declare var DeleteCustomLineItemInput$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-billingconductor",
3
- "version": "3.1130.0",
3
+ "version": "3.1132.0",
4
4
  "description": "AWS SDK for JavaScript Billingconductor Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-billingconductor",
6
6
  "license": "Apache-2.0",