@aws-sdk/client-billingconductor 3.911.0 → 3.912.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/README.md +1 -13
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +14 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +6 -0
- package/dist-types/Billingconductor.d.ts +1 -13
- package/dist-types/BillingconductorClient.d.ts +1 -13
- package/dist-types/commands/AssociateAccountsCommand.d.ts +8 -17
- package/dist-types/commands/AssociatePricingRulesCommand.d.ts +8 -15
- package/dist-types/commands/BatchAssociateResourcesToCustomLineItemCommand.d.ts +10 -18
- package/dist-types/commands/BatchDisassociateResourcesFromCustomLineItemCommand.d.ts +9 -16
- package/dist-types/commands/CreateBillingGroupCommand.d.ts +7 -14
- package/dist-types/commands/CreateCustomLineItemCommand.d.ts +15 -18
- package/dist-types/commands/CreatePricingPlanCommand.d.ts +8 -15
- package/dist-types/commands/CreatePricingRuleCommand.d.ts +9 -16
- package/dist-types/commands/DeleteBillingGroupCommand.d.ts +5 -10
- package/dist-types/commands/DeleteCustomLineItemCommand.d.ts +6 -12
- package/dist-types/commands/DeletePricingPlanCommand.d.ts +6 -11
- package/dist-types/commands/DeletePricingRuleCommand.d.ts +5 -9
- package/dist-types/commands/DisassociateAccountsCommand.d.ts +6 -11
- package/dist-types/commands/DisassociatePricingRulesCommand.d.ts +7 -14
- package/dist-types/commands/GetBillingGroupCostReportCommand.d.ts +7 -12
- package/dist-types/commands/ListAccountAssociationsCommand.d.ts +6 -13
- package/dist-types/commands/ListBillingGroupCostReportsCommand.d.ts +6 -11
- package/dist-types/commands/ListBillingGroupsCommand.d.ts +7 -11
- package/dist-types/commands/ListCustomLineItemVersionsCommand.d.ts +13 -12
- package/dist-types/commands/ListCustomLineItemsCommand.d.ts +15 -17
- package/dist-types/commands/ListPricingPlansAssociatedWithPricingRuleCommand.d.ts +6 -12
- package/dist-types/commands/ListPricingPlansCommand.d.ts +5 -9
- package/dist-types/commands/ListPricingRulesAssociatedToPricingPlanCommand.d.ts +6 -12
- package/dist-types/commands/ListPricingRulesCommand.d.ts +7 -12
- package/dist-types/commands/ListResourcesAssociatedToCustomLineItemCommand.d.ts +8 -14
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -12
- package/dist-types/commands/TagResourceCommand.d.ts +6 -12
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -12
- package/dist-types/commands/UpdateBillingGroupCommand.d.ts +9 -15
- package/dist-types/commands/UpdateCustomLineItemCommand.d.ts +13 -19
- package/dist-types/commands/UpdatePricingPlanCommand.d.ts +7 -13
- package/dist-types/commands/UpdatePricingRuleCommand.d.ts +10 -17
- package/dist-types/index.d.ts +1 -13
- package/dist-types/models/models_0.d.ts +287 -637
- package/dist-types/ts3.4/models/models_0.d.ts +18 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,19 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript Billingconductor Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>
|
|
10
|
-
customize a <a href="https://docs.aws.amazon.com/billingconductor/latest/userguide/understanding-eb.html#eb-other-definitions">proforma</a> version of your billing data each month, to accurately show or chargeback
|
|
11
|
-
your end customers. Amazon Web Services Billing Conductor doesn't change the way you're billed
|
|
12
|
-
by Amazon Web Services each month by design. Instead, it provides you with a mechanism to
|
|
13
|
-
configure, generate, and display rates to certain customers over a given billing period. You
|
|
14
|
-
can also analyze the difference between the rates you apply to your accounting groupings
|
|
15
|
-
relative to your actual rates from Amazon Web Services. As a result of your Amazon Web Services
|
|
16
|
-
Billing Conductor configuration, the payer account can also see the custom rate applied on the
|
|
17
|
-
billing details page of the <a href="https://console.aws.amazon.com/billing">Amazon Web Services Billing
|
|
18
|
-
console</a>, or configure a cost and usage report per billing group.</p>
|
|
19
|
-
<p>This documentation shows how you can configure Amazon Web Services Billing Conductor using its
|
|
20
|
-
API. For more information about using the <a href="https://console.aws.amazon.com/billingconductor/">Amazon Web Services
|
|
21
|
-
Billing Conductor</a> user interface, see the <a href="https://docs.aws.amazon.com/billingconductor/latest/userguide/what-is-billingconductor.html"> Amazon Web Services Billing Conductor User Guide</a>.</p>
|
|
9
|
+
<p>Billing Conductor is a fully managed service that you can use to customize a <a href="https://docs.aws.amazon.com/billingconductor/latest/userguide/understanding-eb.html#eb-other-definitions">pro forma</a> version of your billing data each month, to accurately show or chargeback your end customers. Billing Conductor doesn't change the way you're billed by Amazon Web Services each month by design. Instead, it provides you with a mechanism to configure, generate, and display rates to certain customers over a given billing period. You can also analyze the difference between the rates you apply to your accounting groupings relative to your actual rates from Amazon Web Services. As a result of your Billing Conductor configuration, the payer account can also see the custom rate applied on the billing details page of the <a href="https://console.aws.amazon.com/billing">Billing console</a>, or configure a cost and usage report per billing group.</p> <p>This documentation shows how you can configure Billing Conductor by using its API. For more information about using the <a href="https://console.aws.amazon.com/billingconductor/">Billing Conductor</a> user interface, see the <a href="https://docs.aws.amazon.com/billingconductor/latest/userguide/what-is-billingconductor.html"> Billing Conductor User Guide</a>.</p>
|
|
22
10
|
|
|
23
11
|
## Installing
|
|
24
12
|
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const x = "required", y = "fn", z = "argv", A = "ref";
|
|
5
|
-
const a = false, b = true, c = "isSet", d = "booleanEquals", e = "error", f = "endpoint", g = "tree", h = "PartitionResult", i = "getAttr", j = { [x]: false, "type": "
|
|
5
|
+
const a = false, b = true, c = "isSet", d = "booleanEquals", e = "error", f = "endpoint", g = "tree", h = "PartitionResult", i = "getAttr", j = { [x]: false, "type": "string" }, k = { [x]: true, "default": false, "type": "boolean" }, l = { [A]: "Endpoint" }, m = { [y]: d, [z]: [{ [A]: "UseFIPS" }, true] }, n = { [A]: "UseFIPS" }, o = { [y]: d, [z]: [{ [A]: "UseDualStack" }, true] }, p = { [A]: "UseDualStack" }, q = {}, r = { [A]: h }, s = { [y]: i, [z]: [r, "supportsFIPS"] }, t = { [y]: d, [z]: [true, { [y]: i, [z]: [r, "supportsDualStack"] }] }, u = [m], v = [o], w = [{ [A]: "Region" }];
|
|
6
6
|
const _data = { version: "1.0", parameters: { Region: j, UseDualStack: k, UseFIPS: k, Endpoint: j }, rules: [{ conditions: [{ [y]: c, [z]: [l] }], rules: [{ conditions: u, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, { conditions: v, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: e }, { endpoint: { url: l, properties: q, headers: q }, type: f }], type: g }, { conditions: [{ [y]: c, [z]: w }], rules: [{ conditions: [{ [y]: "aws.partition", [z]: w, assign: h }], rules: [{ conditions: [{ [y]: "stringEquals", [z]: [{ [y]: i, [z]: [r, "name"] }, "aws"] }, { [y]: d, [z]: [n, a] }, { [y]: d, [z]: [p, a] }], endpoint: { url: "https://billingconductor.us-east-1.amazonaws.com", properties: { authSchemes: [{ name: "sigv4", signingName: "billingconductor", signingRegion: "us-east-1" }] }, headers: q }, type: f }, { conditions: [m, o], rules: [{ conditions: [{ [y]: d, [z]: [b, s] }, t], rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: q, headers: q }, type: f }], type: g }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: e }], type: g }, { conditions: u, rules: [{ conditions: [{ [y]: d, [z]: [s, b] }], rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dnsSuffix}", properties: q, headers: q }, type: f }], type: g }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }], type: g }, { conditions: v, rules: [{ conditions: [t], rules: [{ endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: q, headers: q }, type: f }], type: g }, { error: "DualStack is enabled but this partition does not support DualStack", type: e }], type: g }, { endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dnsSuffix}", properties: q, headers: q }, type: f }], type: g }], type: g }, { error: "Invalid Configuration: Missing Region", type: e }] };
|
|
7
7
|
exports.ruleSet = _data;
|
package/dist-cjs/index.js
CHANGED
|
@@ -234,6 +234,7 @@ class ThrottlingException extends BillingconductorServiceException {
|
|
|
234
234
|
const ValidationExceptionReason = {
|
|
235
235
|
ACCOUNTS_ALREADY_ASSOCIATED: "ACCOUNTS_ALREADY_ASSOCIATED",
|
|
236
236
|
ACCOUNTS_NOT_ASSOCIATED: "ACCOUNTS_NOT_ASSOCIATED",
|
|
237
|
+
BILLING_GROUP_ALREADY_EXIST_IN_CURRENT_BILLING_PERIOD: "BILLING_GROUP_ALREADY_EXIST_IN_CURRENT_BILLING_PERIOD",
|
|
237
238
|
CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP: "CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP",
|
|
238
239
|
CANNOT_PARSE: "CANNOT_PARSE",
|
|
239
240
|
CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS: "CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS",
|
|
@@ -247,11 +248,13 @@ const ValidationExceptionReason = {
|
|
|
247
248
|
ILLEGAL_BILLING_PERIOD_RANGE: "ILLEGAL_BILLING_PERIOD_RANGE",
|
|
248
249
|
ILLEGAL_CHARGE_DETAILS: "ILLEGAL_CHARGE_DETAILS",
|
|
249
250
|
ILLEGAL_CHILD_ASSOCIATE_RESOURCE: "ILLEGAL_CHILD_ASSOCIATE_RESOURCE",
|
|
251
|
+
ILLEGAL_COMPUTATION_RULE: "ILLEGAL_COMPUTATION_RULE",
|
|
250
252
|
ILLEGAL_CUSTOMLINEITEM: "ILLEGAL_CUSTOMLINEITEM",
|
|
251
253
|
ILLEGAL_CUSTOMLINEITEM_MODIFICATION: "ILLEGAL_CUSTOMLINEITEM_MODIFICATION",
|
|
252
254
|
ILLEGAL_CUSTOMLINEITEM_UPDATE: "ILLEGAL_CUSTOMLINEITEM_UPDATE",
|
|
253
255
|
ILLEGAL_ENDED_BILLINGGROUP: "ILLEGAL_ENDED_BILLINGGROUP",
|
|
254
256
|
ILLEGAL_EXPRESSION: "ILLEGAL_EXPRESSION",
|
|
257
|
+
ILLEGAL_LINE_ITEM_FILTER: "ILLEGAL_LINE_ITEM_FILTER",
|
|
255
258
|
ILLEGAL_MODIFIER_PERCENTAGE: "ILLEGAL_MODIFIER_PERCENTAGE",
|
|
256
259
|
ILLEGAL_OPERATION: "ILLEGAL_OPERATION",
|
|
257
260
|
ILLEGAL_PRIMARY_ACCOUNT: "ILLEGAL_PRIMARY_ACCOUNT",
|
|
@@ -276,6 +279,7 @@ const ValidationExceptionReason = {
|
|
|
276
279
|
MISMATCHED_PRICINGPLAN_ARN: "MISMATCHED_PRICINGPLAN_ARN",
|
|
277
280
|
MISMATCHED_PRICINGRULE_ARN: "MISMATCHED_PRICINGRULE_ARN",
|
|
278
281
|
MISSING_BILLINGGROUP: "MISSING_BILLINGGROUP",
|
|
282
|
+
MISSING_COSTCATEGORY: "MISSING_COSTCATEGORY",
|
|
279
283
|
MISSING_CUSTOMLINEITEM: "MISSING_CUSTOMLINEITEM",
|
|
280
284
|
MISSING_LINKED_ACCOUNT_IDS: "MISSING_LINKED_ACCOUNT_IDS",
|
|
281
285
|
MISSING_PRICINGPLAN: "MISSING_PRICINGPLAN",
|
|
@@ -335,6 +339,9 @@ const CustomLineItemType = {
|
|
|
335
339
|
CREDIT: "CREDIT",
|
|
336
340
|
FEE: "FEE",
|
|
337
341
|
};
|
|
342
|
+
const ComputationRuleEnum = {
|
|
343
|
+
CONSOLIDATED: "CONSOLIDATED",
|
|
344
|
+
};
|
|
338
345
|
const CurrencyCode = {
|
|
339
346
|
CNY: "CNY",
|
|
340
347
|
USD: "USD",
|
|
@@ -583,8 +590,10 @@ const se_CreateCustomLineItemCommand = async (input, context) => {
|
|
|
583
590
|
BillingGroupArn: [],
|
|
584
591
|
BillingPeriodRange: (_) => smithyClient._json(_),
|
|
585
592
|
ChargeDetails: (_) => se_CustomLineItemChargeDetails(_),
|
|
593
|
+
ComputationRule: [],
|
|
586
594
|
Description: [],
|
|
587
595
|
Name: [],
|
|
596
|
+
PresentationDetails: (_) => smithyClient._json(_),
|
|
588
597
|
Tags: (_) => smithyClient._json(_),
|
|
589
598
|
}));
|
|
590
599
|
b.m("POST").h(headers).b(body);
|
|
@@ -1678,11 +1687,13 @@ const de_CustomLineItemListElement = (output, context) => {
|
|
|
1678
1687
|
AssociationSize: smithyClient.expectLong,
|
|
1679
1688
|
BillingGroupArn: smithyClient.expectString,
|
|
1680
1689
|
ChargeDetails: (_) => de_ListCustomLineItemChargeDetails(_),
|
|
1690
|
+
ComputationRule: smithyClient.expectString,
|
|
1681
1691
|
CreationTime: smithyClient.expectLong,
|
|
1682
1692
|
CurrencyCode: smithyClient.expectString,
|
|
1683
1693
|
Description: smithyClient.expectString,
|
|
1684
1694
|
LastModifiedTime: smithyClient.expectLong,
|
|
1685
1695
|
Name: smithyClient.expectString,
|
|
1696
|
+
PresentationDetails: smithyClient._json,
|
|
1686
1697
|
ProductCode: smithyClient.expectString,
|
|
1687
1698
|
});
|
|
1688
1699
|
};
|
|
@@ -1701,12 +1712,14 @@ const de_CustomLineItemVersionListElement = (output, context) => {
|
|
|
1701
1712
|
AssociationSize: smithyClient.expectLong,
|
|
1702
1713
|
BillingGroupArn: smithyClient.expectString,
|
|
1703
1714
|
ChargeDetails: (_) => de_ListCustomLineItemChargeDetails(_),
|
|
1715
|
+
ComputationRule: smithyClient.expectString,
|
|
1704
1716
|
CreationTime: smithyClient.expectLong,
|
|
1705
1717
|
CurrencyCode: smithyClient.expectString,
|
|
1706
1718
|
Description: smithyClient.expectString,
|
|
1707
1719
|
EndBillingPeriod: smithyClient.expectString,
|
|
1708
1720
|
LastModifiedTime: smithyClient.expectLong,
|
|
1709
1721
|
Name: smithyClient.expectString,
|
|
1722
|
+
PresentationDetails: smithyClient._json,
|
|
1710
1723
|
ProductCode: smithyClient.expectString,
|
|
1711
1724
|
StartBillingPeriod: smithyClient.expectString,
|
|
1712
1725
|
StartTime: smithyClient.expectLong,
|
|
@@ -2393,6 +2406,7 @@ exports.BillingGroupStatus = BillingGroupStatus;
|
|
|
2393
2406
|
exports.Billingconductor = Billingconductor;
|
|
2394
2407
|
exports.BillingconductorClient = BillingconductorClient;
|
|
2395
2408
|
exports.BillingconductorServiceException = BillingconductorServiceException;
|
|
2409
|
+
exports.ComputationRuleEnum = ComputationRuleEnum;
|
|
2396
2410
|
exports.ConflictException = ConflictException;
|
|
2397
2411
|
exports.ConflictExceptionReason = ConflictExceptionReason;
|
|
2398
2412
|
exports.CreateBillingGroupCommand = CreateBillingGroupCommand;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const x = "required", y = "fn", z = "argv", A = "ref";
|
|
2
|
-
const a = false, b = true, c = "isSet", d = "booleanEquals", e = "error", f = "endpoint", g = "tree", h = "PartitionResult", i = "getAttr", j = { [x]: false, "type": "
|
|
2
|
+
const a = false, b = true, c = "isSet", d = "booleanEquals", e = "error", f = "endpoint", g = "tree", h = "PartitionResult", i = "getAttr", j = { [x]: false, "type": "string" }, k = { [x]: true, "default": false, "type": "boolean" }, l = { [A]: "Endpoint" }, m = { [y]: d, [z]: [{ [A]: "UseFIPS" }, true] }, n = { [A]: "UseFIPS" }, o = { [y]: d, [z]: [{ [A]: "UseDualStack" }, true] }, p = { [A]: "UseDualStack" }, q = {}, r = { [A]: h }, s = { [y]: i, [z]: [r, "supportsFIPS"] }, t = { [y]: d, [z]: [true, { [y]: i, [z]: [r, "supportsDualStack"] }] }, u = [m], v = [o], w = [{ [A]: "Region" }];
|
|
3
3
|
const _data = { version: "1.0", parameters: { Region: j, UseDualStack: k, UseFIPS: k, Endpoint: j }, rules: [{ conditions: [{ [y]: c, [z]: [l] }], rules: [{ conditions: u, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, { conditions: v, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: e }, { endpoint: { url: l, properties: q, headers: q }, type: f }], type: g }, { conditions: [{ [y]: c, [z]: w }], rules: [{ conditions: [{ [y]: "aws.partition", [z]: w, assign: h }], rules: [{ conditions: [{ [y]: "stringEquals", [z]: [{ [y]: i, [z]: [r, "name"] }, "aws"] }, { [y]: d, [z]: [n, a] }, { [y]: d, [z]: [p, a] }], endpoint: { url: "https://billingconductor.us-east-1.amazonaws.com", properties: { authSchemes: [{ name: "sigv4", signingName: "billingconductor", signingRegion: "us-east-1" }] }, headers: q }, type: f }, { conditions: [m, o], rules: [{ conditions: [{ [y]: d, [z]: [b, s] }, t], rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: q, headers: q }, type: f }], type: g }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: e }], type: g }, { conditions: u, rules: [{ conditions: [{ [y]: d, [z]: [s, b] }], rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dnsSuffix}", properties: q, headers: q }, type: f }], type: g }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }], type: g }, { conditions: v, rules: [{ conditions: [t], rules: [{ endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: q, headers: q }, type: f }], type: g }, { error: "DualStack is enabled but this partition does not support DualStack", type: e }], type: g }, { endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dnsSuffix}", properties: q, headers: q }, type: f }], type: g }], type: g }, { error: "Invalid Configuration: Missing Region", type: e }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -116,6 +116,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
116
116
|
export const ValidationExceptionReason = {
|
|
117
117
|
ACCOUNTS_ALREADY_ASSOCIATED: "ACCOUNTS_ALREADY_ASSOCIATED",
|
|
118
118
|
ACCOUNTS_NOT_ASSOCIATED: "ACCOUNTS_NOT_ASSOCIATED",
|
|
119
|
+
BILLING_GROUP_ALREADY_EXIST_IN_CURRENT_BILLING_PERIOD: "BILLING_GROUP_ALREADY_EXIST_IN_CURRENT_BILLING_PERIOD",
|
|
119
120
|
CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP: "CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP",
|
|
120
121
|
CANNOT_PARSE: "CANNOT_PARSE",
|
|
121
122
|
CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS: "CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS",
|
|
@@ -129,11 +130,13 @@ export const ValidationExceptionReason = {
|
|
|
129
130
|
ILLEGAL_BILLING_PERIOD_RANGE: "ILLEGAL_BILLING_PERIOD_RANGE",
|
|
130
131
|
ILLEGAL_CHARGE_DETAILS: "ILLEGAL_CHARGE_DETAILS",
|
|
131
132
|
ILLEGAL_CHILD_ASSOCIATE_RESOURCE: "ILLEGAL_CHILD_ASSOCIATE_RESOURCE",
|
|
133
|
+
ILLEGAL_COMPUTATION_RULE: "ILLEGAL_COMPUTATION_RULE",
|
|
132
134
|
ILLEGAL_CUSTOMLINEITEM: "ILLEGAL_CUSTOMLINEITEM",
|
|
133
135
|
ILLEGAL_CUSTOMLINEITEM_MODIFICATION: "ILLEGAL_CUSTOMLINEITEM_MODIFICATION",
|
|
134
136
|
ILLEGAL_CUSTOMLINEITEM_UPDATE: "ILLEGAL_CUSTOMLINEITEM_UPDATE",
|
|
135
137
|
ILLEGAL_ENDED_BILLINGGROUP: "ILLEGAL_ENDED_BILLINGGROUP",
|
|
136
138
|
ILLEGAL_EXPRESSION: "ILLEGAL_EXPRESSION",
|
|
139
|
+
ILLEGAL_LINE_ITEM_FILTER: "ILLEGAL_LINE_ITEM_FILTER",
|
|
137
140
|
ILLEGAL_MODIFIER_PERCENTAGE: "ILLEGAL_MODIFIER_PERCENTAGE",
|
|
138
141
|
ILLEGAL_OPERATION: "ILLEGAL_OPERATION",
|
|
139
142
|
ILLEGAL_PRIMARY_ACCOUNT: "ILLEGAL_PRIMARY_ACCOUNT",
|
|
@@ -158,6 +161,7 @@ export const ValidationExceptionReason = {
|
|
|
158
161
|
MISMATCHED_PRICINGPLAN_ARN: "MISMATCHED_PRICINGPLAN_ARN",
|
|
159
162
|
MISMATCHED_PRICINGRULE_ARN: "MISMATCHED_PRICINGRULE_ARN",
|
|
160
163
|
MISSING_BILLINGGROUP: "MISSING_BILLINGGROUP",
|
|
164
|
+
MISSING_COSTCATEGORY: "MISSING_COSTCATEGORY",
|
|
161
165
|
MISSING_CUSTOMLINEITEM: "MISSING_CUSTOMLINEITEM",
|
|
162
166
|
MISSING_LINKED_ACCOUNT_IDS: "MISSING_LINKED_ACCOUNT_IDS",
|
|
163
167
|
MISSING_PRICINGPLAN: "MISSING_PRICINGPLAN",
|
|
@@ -217,6 +221,9 @@ export const CustomLineItemType = {
|
|
|
217
221
|
CREDIT: "CREDIT",
|
|
218
222
|
FEE: "FEE",
|
|
219
223
|
};
|
|
224
|
+
export const ComputationRuleEnum = {
|
|
225
|
+
CONSOLIDATED: "CONSOLIDATED",
|
|
226
|
+
};
|
|
220
227
|
export const CurrencyCode = {
|
|
221
228
|
CNY: "CNY",
|
|
222
229
|
USD: "USD",
|
|
@@ -94,8 +94,10 @@ export const se_CreateCustomLineItemCommand = async (input, context) => {
|
|
|
94
94
|
BillingGroupArn: [],
|
|
95
95
|
BillingPeriodRange: (_) => _json(_),
|
|
96
96
|
ChargeDetails: (_) => se_CustomLineItemChargeDetails(_, context),
|
|
97
|
+
ComputationRule: [],
|
|
97
98
|
Description: [],
|
|
98
99
|
Name: [],
|
|
100
|
+
PresentationDetails: (_) => _json(_),
|
|
99
101
|
Tags: (_) => _json(_),
|
|
100
102
|
}));
|
|
101
103
|
b.m("POST").h(headers).b(body);
|
|
@@ -1189,11 +1191,13 @@ const de_CustomLineItemListElement = (output, context) => {
|
|
|
1189
1191
|
AssociationSize: __expectLong,
|
|
1190
1192
|
BillingGroupArn: __expectString,
|
|
1191
1193
|
ChargeDetails: (_) => de_ListCustomLineItemChargeDetails(_, context),
|
|
1194
|
+
ComputationRule: __expectString,
|
|
1192
1195
|
CreationTime: __expectLong,
|
|
1193
1196
|
CurrencyCode: __expectString,
|
|
1194
1197
|
Description: __expectString,
|
|
1195
1198
|
LastModifiedTime: __expectLong,
|
|
1196
1199
|
Name: __expectString,
|
|
1200
|
+
PresentationDetails: _json,
|
|
1197
1201
|
ProductCode: __expectString,
|
|
1198
1202
|
});
|
|
1199
1203
|
};
|
|
@@ -1212,12 +1216,14 @@ const de_CustomLineItemVersionListElement = (output, context) => {
|
|
|
1212
1216
|
AssociationSize: __expectLong,
|
|
1213
1217
|
BillingGroupArn: __expectString,
|
|
1214
1218
|
ChargeDetails: (_) => de_ListCustomLineItemChargeDetails(_, context),
|
|
1219
|
+
ComputationRule: __expectString,
|
|
1215
1220
|
CreationTime: __expectLong,
|
|
1216
1221
|
CurrencyCode: __expectString,
|
|
1217
1222
|
Description: __expectString,
|
|
1218
1223
|
EndBillingPeriod: __expectString,
|
|
1219
1224
|
LastModifiedTime: __expectLong,
|
|
1220
1225
|
Name: __expectString,
|
|
1226
|
+
PresentationDetails: _json,
|
|
1221
1227
|
ProductCode: __expectString,
|
|
1222
1228
|
StartBillingPeriod: __expectString,
|
|
1223
1229
|
StartTime: __expectLong,
|
|
@@ -233,19 +233,7 @@ export interface Billingconductor {
|
|
|
233
233
|
updatePricingRule(args: UpdatePricingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePricingRuleCommandOutput) => void): void;
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
236
|
-
* <p>
|
|
237
|
-
* customize a <a href="https://docs.aws.amazon.com/billingconductor/latest/userguide/understanding-eb.html#eb-other-definitions">proforma</a> version of your billing data each month, to accurately show or chargeback
|
|
238
|
-
* your end customers. Amazon Web Services Billing Conductor doesn't change the way you're billed
|
|
239
|
-
* by Amazon Web Services each month by design. Instead, it provides you with a mechanism to
|
|
240
|
-
* configure, generate, and display rates to certain customers over a given billing period. You
|
|
241
|
-
* can also analyze the difference between the rates you apply to your accounting groupings
|
|
242
|
-
* relative to your actual rates from Amazon Web Services. As a result of your Amazon Web Services
|
|
243
|
-
* Billing Conductor configuration, the payer account can also see the custom rate applied on the
|
|
244
|
-
* billing details page of the <a href="https://console.aws.amazon.com/billing">Amazon Web Services Billing
|
|
245
|
-
* console</a>, or configure a cost and usage report per billing group.</p>
|
|
246
|
-
* <p>This documentation shows how you can configure Amazon Web Services Billing Conductor using its
|
|
247
|
-
* API. For more information about using the <a href="https://console.aws.amazon.com/billingconductor/">Amazon Web Services
|
|
248
|
-
* Billing Conductor</a> user interface, see the <a href="https://docs.aws.amazon.com/billingconductor/latest/userguide/what-is-billingconductor.html"> Amazon Web Services Billing Conductor User Guide</a>.</p>
|
|
236
|
+
* <p>Billing Conductor is a fully managed service that you can use to customize a <a href="https://docs.aws.amazon.com/billingconductor/latest/userguide/understanding-eb.html#eb-other-definitions">pro forma</a> version of your billing data each month, to accurately show or chargeback your end customers. Billing Conductor doesn't change the way you're billed by Amazon Web Services each month by design. Instead, it provides you with a mechanism to configure, generate, and display rates to certain customers over a given billing period. You can also analyze the difference between the rates you apply to your accounting groupings relative to your actual rates from Amazon Web Services. As a result of your Billing Conductor configuration, the payer account can also see the custom rate applied on the billing details page of the <a href="https://console.aws.amazon.com/billing">Billing console</a>, or configure a cost and usage report per billing group.</p> <p>This documentation shows how you can configure Billing Conductor by using its API. For more information about using the <a href="https://console.aws.amazon.com/billingconductor/">Billing Conductor</a> user interface, see the <a href="https://docs.aws.amazon.com/billingconductor/latest/userguide/what-is-billingconductor.html"> Billing Conductor User Guide</a>.</p>
|
|
249
237
|
* @public
|
|
250
238
|
*/
|
|
251
239
|
export declare class Billingconductor extends BillingconductorClient implements Billingconductor {
|
|
@@ -201,19 +201,7 @@ export type BillingconductorClientResolvedConfigType = __SmithyResolvedConfigura
|
|
|
201
201
|
export interface BillingconductorClientResolvedConfig extends BillingconductorClientResolvedConfigType {
|
|
202
202
|
}
|
|
203
203
|
/**
|
|
204
|
-
* <p>
|
|
205
|
-
* customize a <a href="https://docs.aws.amazon.com/billingconductor/latest/userguide/understanding-eb.html#eb-other-definitions">proforma</a> version of your billing data each month, to accurately show or chargeback
|
|
206
|
-
* your end customers. Amazon Web Services Billing Conductor doesn't change the way you're billed
|
|
207
|
-
* by Amazon Web Services each month by design. Instead, it provides you with a mechanism to
|
|
208
|
-
* configure, generate, and display rates to certain customers over a given billing period. You
|
|
209
|
-
* can also analyze the difference between the rates you apply to your accounting groupings
|
|
210
|
-
* relative to your actual rates from Amazon Web Services. As a result of your Amazon Web Services
|
|
211
|
-
* Billing Conductor configuration, the payer account can also see the custom rate applied on the
|
|
212
|
-
* billing details page of the <a href="https://console.aws.amazon.com/billing">Amazon Web Services Billing
|
|
213
|
-
* console</a>, or configure a cost and usage report per billing group.</p>
|
|
214
|
-
* <p>This documentation shows how you can configure Amazon Web Services Billing Conductor using its
|
|
215
|
-
* API. For more information about using the <a href="https://console.aws.amazon.com/billingconductor/">Amazon Web Services
|
|
216
|
-
* Billing Conductor</a> user interface, see the <a href="https://docs.aws.amazon.com/billingconductor/latest/userguide/what-is-billingconductor.html"> Amazon Web Services Billing Conductor User Guide</a>.</p>
|
|
204
|
+
* <p>Billing Conductor is a fully managed service that you can use to customize a <a href="https://docs.aws.amazon.com/billingconductor/latest/userguide/understanding-eb.html#eb-other-definitions">pro forma</a> version of your billing data each month, to accurately show or chargeback your end customers. Billing Conductor doesn't change the way you're billed by Amazon Web Services each month by design. Instead, it provides you with a mechanism to configure, generate, and display rates to certain customers over a given billing period. You can also analyze the difference between the rates you apply to your accounting groupings relative to your actual rates from Amazon Web Services. As a result of your Billing Conductor configuration, the payer account can also see the custom rate applied on the billing details page of the <a href="https://console.aws.amazon.com/billing">Billing console</a>, or configure a cost and usage report per billing group.</p> <p>This documentation shows how you can configure Billing Conductor by using its API. For more information about using the <a href="https://console.aws.amazon.com/billingconductor/">Billing Conductor</a> user interface, see the <a href="https://docs.aws.amazon.com/billingconductor/latest/userguide/what-is-billingconductor.html"> Billing Conductor User Guide</a>.</p>
|
|
217
205
|
* @public
|
|
218
206
|
*/
|
|
219
207
|
export declare class BillingconductorClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BillingconductorClientResolvedConfig> {
|
|
@@ -27,10 +27,7 @@ declare const AssociateAccountsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Connects an array of account IDs in a consolidated billing family to a predefined
|
|
31
|
-
* billing group. The account IDs must be a part of the consolidated billing family during the
|
|
32
|
-
* current month, and not already associated with another billing group. The maximum number of
|
|
33
|
-
* accounts that can be associated in one call is 30. </p>
|
|
30
|
+
* <p>Connects an array of account IDs in a consolidated billing family to a predefined billing group. The account IDs must be a part of the consolidated billing family during the current month, and not already associated with another billing group. The maximum number of accounts that can be associated in one call is 30. </p>
|
|
34
31
|
* @example
|
|
35
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
33
|
* ```javascript
|
|
@@ -60,31 +57,25 @@ declare const AssociateAccountsCommand_base: {
|
|
|
60
57
|
* @see {@link BillingconductorClientResolvedConfig | config} for BillingconductorClient's `config` shape.
|
|
61
58
|
*
|
|
62
59
|
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
-
* <p>You do not have sufficient access to perform this action.
|
|
64
|
-
* </p>
|
|
60
|
+
* <p>You do not have sufficient access to perform this action. </p>
|
|
65
61
|
*
|
|
66
62
|
* @throws {@link ConflictException} (client fault)
|
|
67
|
-
* <p>You can cause an inconsistent state by updating or deleting a resource.
|
|
68
|
-
* </p>
|
|
63
|
+
* <p>You can cause an inconsistent state by updating or deleting a resource. </p>
|
|
69
64
|
*
|
|
70
65
|
* @throws {@link InternalServerException} (server fault)
|
|
71
|
-
* <p>An unexpected error occurred while processing a request.
|
|
72
|
-
* </p>
|
|
66
|
+
* <p>An unexpected error occurred while processing a request. </p>
|
|
73
67
|
*
|
|
74
68
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
-
* <p>The request references a resource that doesn't exist.
|
|
76
|
-
* </p>
|
|
69
|
+
* <p>The request references a resource that doesn't exist. </p>
|
|
77
70
|
*
|
|
78
71
|
* @throws {@link ServiceLimitExceededException} (client fault)
|
|
79
|
-
* <p>The request would cause a service limit to exceed.
|
|
80
|
-
* </p>
|
|
72
|
+
* <p>The request would cause a service limit to exceed. </p>
|
|
81
73
|
*
|
|
82
74
|
* @throws {@link ThrottlingException} (client fault)
|
|
83
|
-
* <p>The request was denied due to request throttling.
|
|
84
|
-
* </p>
|
|
75
|
+
* <p>The request was denied due to request throttling. </p>
|
|
85
76
|
*
|
|
86
77
|
* @throws {@link ValidationException} (client fault)
|
|
87
|
-
* <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
|
|
78
|
+
* <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
|
|
88
79
|
*
|
|
89
80
|
* @throws {@link BillingconductorServiceException}
|
|
90
81
|
* <p>Base exception class for all service exceptions from Billingconductor service.</p>
|
|
@@ -27,8 +27,7 @@ declare const AssociatePricingRulesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Connects an array of <code>PricingRuleArns</code> to a defined <code>PricingPlan</code>.
|
|
31
|
-
* The maximum number <code>PricingRuleArn</code> that can be associated in one call is 30. </p>
|
|
30
|
+
* <p>Connects an array of <code>PricingRuleArns</code> to a defined <code>PricingPlan</code>. The maximum number <code>PricingRuleArn</code> that can be associated in one call is 30. </p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -58,31 +57,25 @@ declare const AssociatePricingRulesCommand_base: {
|
|
|
58
57
|
* @see {@link BillingconductorClientResolvedConfig | config} for BillingconductorClient's `config` shape.
|
|
59
58
|
*
|
|
60
59
|
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
-
* <p>You do not have sufficient access to perform this action.
|
|
62
|
-
* </p>
|
|
60
|
+
* <p>You do not have sufficient access to perform this action. </p>
|
|
63
61
|
*
|
|
64
62
|
* @throws {@link ConflictException} (client fault)
|
|
65
|
-
* <p>You can cause an inconsistent state by updating or deleting a resource.
|
|
66
|
-
* </p>
|
|
63
|
+
* <p>You can cause an inconsistent state by updating or deleting a resource. </p>
|
|
67
64
|
*
|
|
68
65
|
* @throws {@link InternalServerException} (server fault)
|
|
69
|
-
* <p>An unexpected error occurred while processing a request.
|
|
70
|
-
* </p>
|
|
66
|
+
* <p>An unexpected error occurred while processing a request. </p>
|
|
71
67
|
*
|
|
72
68
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
-
* <p>The request references a resource that doesn't exist.
|
|
74
|
-
* </p>
|
|
69
|
+
* <p>The request references a resource that doesn't exist. </p>
|
|
75
70
|
*
|
|
76
71
|
* @throws {@link ServiceLimitExceededException} (client fault)
|
|
77
|
-
* <p>The request would cause a service limit to exceed.
|
|
78
|
-
* </p>
|
|
72
|
+
* <p>The request would cause a service limit to exceed. </p>
|
|
79
73
|
*
|
|
80
74
|
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
-
* <p>The request was denied due to request throttling.
|
|
82
|
-
* </p>
|
|
75
|
+
* <p>The request was denied due to request throttling. </p>
|
|
83
76
|
*
|
|
84
77
|
* @throws {@link ValidationException} (client fault)
|
|
85
|
-
* <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
|
|
78
|
+
* <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
|
|
86
79
|
*
|
|
87
80
|
* @throws {@link BillingconductorServiceException}
|
|
88
81
|
* <p>Base exception class for all service exceptions from Billingconductor service.</p>
|
|
@@ -27,9 +27,7 @@ declare const BatchAssociateResourcesToCustomLineItemCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
* Associates a batch of resources to a percentage custom line item.
|
|
32
|
-
* </p>
|
|
30
|
+
* <p> Associates a batch of resources to a percentage custom line item. </p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -56,7 +54,7 @@ declare const BatchAssociateResourcesToCustomLineItemCommand_base: {
|
|
|
56
54
|
* // Arn: "STRING_VALUE",
|
|
57
55
|
* // Error: { // AssociateResourceError
|
|
58
56
|
* // Message: "STRING_VALUE",
|
|
59
|
-
* // Reason: "
|
|
57
|
+
* // Reason: "INVALID_ARN" || "SERVICE_LIMIT_EXCEEDED" || "ILLEGAL_CUSTOMLINEITEM" || "INTERNAL_SERVER_EXCEPTION" || "INVALID_BILLING_PERIOD_RANGE",
|
|
60
58
|
* // },
|
|
61
59
|
* // },
|
|
62
60
|
* // ],
|
|
@@ -65,7 +63,7 @@ declare const BatchAssociateResourcesToCustomLineItemCommand_base: {
|
|
|
65
63
|
* // Arn: "STRING_VALUE",
|
|
66
64
|
* // Error: {
|
|
67
65
|
* // Message: "STRING_VALUE",
|
|
68
|
-
* // Reason: "
|
|
66
|
+
* // Reason: "INVALID_ARN" || "SERVICE_LIMIT_EXCEEDED" || "ILLEGAL_CUSTOMLINEITEM" || "INTERNAL_SERVER_EXCEPTION" || "INVALID_BILLING_PERIOD_RANGE",
|
|
69
67
|
* // },
|
|
70
68
|
* // },
|
|
71
69
|
* // ],
|
|
@@ -80,31 +78,25 @@ declare const BatchAssociateResourcesToCustomLineItemCommand_base: {
|
|
|
80
78
|
* @see {@link BillingconductorClientResolvedConfig | config} for BillingconductorClient's `config` shape.
|
|
81
79
|
*
|
|
82
80
|
* @throws {@link AccessDeniedException} (client fault)
|
|
83
|
-
* <p>You do not have sufficient access to perform this action.
|
|
84
|
-
* </p>
|
|
81
|
+
* <p>You do not have sufficient access to perform this action. </p>
|
|
85
82
|
*
|
|
86
83
|
* @throws {@link ConflictException} (client fault)
|
|
87
|
-
* <p>You can cause an inconsistent state by updating or deleting a resource.
|
|
88
|
-
* </p>
|
|
84
|
+
* <p>You can cause an inconsistent state by updating or deleting a resource. </p>
|
|
89
85
|
*
|
|
90
86
|
* @throws {@link InternalServerException} (server fault)
|
|
91
|
-
* <p>An unexpected error occurred while processing a request.
|
|
92
|
-
* </p>
|
|
87
|
+
* <p>An unexpected error occurred while processing a request. </p>
|
|
93
88
|
*
|
|
94
89
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
95
|
-
* <p>The request references a resource that doesn't exist.
|
|
96
|
-
* </p>
|
|
90
|
+
* <p>The request references a resource that doesn't exist. </p>
|
|
97
91
|
*
|
|
98
92
|
* @throws {@link ServiceLimitExceededException} (client fault)
|
|
99
|
-
* <p>The request would cause a service limit to exceed.
|
|
100
|
-
* </p>
|
|
93
|
+
* <p>The request would cause a service limit to exceed. </p>
|
|
101
94
|
*
|
|
102
95
|
* @throws {@link ThrottlingException} (client fault)
|
|
103
|
-
* <p>The request was denied due to request throttling.
|
|
104
|
-
* </p>
|
|
96
|
+
* <p>The request was denied due to request throttling. </p>
|
|
105
97
|
*
|
|
106
98
|
* @throws {@link ValidationException} (client fault)
|
|
107
|
-
* <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
|
|
99
|
+
* <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
|
|
108
100
|
*
|
|
109
101
|
* @throws {@link BillingconductorServiceException}
|
|
110
102
|
* <p>Base exception class for all service exceptions from Billingconductor service.</p>
|
|
@@ -27,9 +27,7 @@ declare const BatchDisassociateResourcesFromCustomLineItemCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
* Disassociates a batch of resources from a percentage custom line item.
|
|
32
|
-
* </p>
|
|
30
|
+
* <p> Disassociates a batch of resources from a percentage custom line item. </p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -56,7 +54,7 @@ declare const BatchDisassociateResourcesFromCustomLineItemCommand_base: {
|
|
|
56
54
|
* // Arn: "STRING_VALUE",
|
|
57
55
|
* // Error: { // AssociateResourceError
|
|
58
56
|
* // Message: "STRING_VALUE",
|
|
59
|
-
* // Reason: "
|
|
57
|
+
* // Reason: "INVALID_ARN" || "SERVICE_LIMIT_EXCEEDED" || "ILLEGAL_CUSTOMLINEITEM" || "INTERNAL_SERVER_EXCEPTION" || "INVALID_BILLING_PERIOD_RANGE",
|
|
60
58
|
* // },
|
|
61
59
|
* // },
|
|
62
60
|
* // ],
|
|
@@ -65,7 +63,7 @@ declare const BatchDisassociateResourcesFromCustomLineItemCommand_base: {
|
|
|
65
63
|
* // Arn: "STRING_VALUE",
|
|
66
64
|
* // Error: {
|
|
67
65
|
* // Message: "STRING_VALUE",
|
|
68
|
-
* // Reason: "
|
|
66
|
+
* // Reason: "INVALID_ARN" || "SERVICE_LIMIT_EXCEEDED" || "ILLEGAL_CUSTOMLINEITEM" || "INTERNAL_SERVER_EXCEPTION" || "INVALID_BILLING_PERIOD_RANGE",
|
|
69
67
|
* // },
|
|
70
68
|
* // },
|
|
71
69
|
* // ],
|
|
@@ -80,27 +78,22 @@ declare const BatchDisassociateResourcesFromCustomLineItemCommand_base: {
|
|
|
80
78
|
* @see {@link BillingconductorClientResolvedConfig | config} for BillingconductorClient's `config` shape.
|
|
81
79
|
*
|
|
82
80
|
* @throws {@link AccessDeniedException} (client fault)
|
|
83
|
-
* <p>You do not have sufficient access to perform this action.
|
|
84
|
-
* </p>
|
|
81
|
+
* <p>You do not have sufficient access to perform this action. </p>
|
|
85
82
|
*
|
|
86
83
|
* @throws {@link ConflictException} (client fault)
|
|
87
|
-
* <p>You can cause an inconsistent state by updating or deleting a resource.
|
|
88
|
-
* </p>
|
|
84
|
+
* <p>You can cause an inconsistent state by updating or deleting a resource. </p>
|
|
89
85
|
*
|
|
90
86
|
* @throws {@link InternalServerException} (server fault)
|
|
91
|
-
* <p>An unexpected error occurred while processing a request.
|
|
92
|
-
* </p>
|
|
87
|
+
* <p>An unexpected error occurred while processing a request. </p>
|
|
93
88
|
*
|
|
94
89
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
95
|
-
* <p>The request references a resource that doesn't exist.
|
|
96
|
-
* </p>
|
|
90
|
+
* <p>The request references a resource that doesn't exist. </p>
|
|
97
91
|
*
|
|
98
92
|
* @throws {@link ThrottlingException} (client fault)
|
|
99
|
-
* <p>The request was denied due to request throttling.
|
|
100
|
-
* </p>
|
|
93
|
+
* <p>The request was denied due to request throttling. </p>
|
|
101
94
|
*
|
|
102
95
|
* @throws {@link ValidationException} (client fault)
|
|
103
|
-
* <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
|
|
96
|
+
* <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
|
|
104
97
|
*
|
|
105
98
|
* @throws {@link BillingconductorServiceException}
|
|
106
99
|
* <p>Base exception class for all service exceptions from Billingconductor service.</p>
|
|
@@ -27,9 +27,7 @@ declare const CreateBillingGroupCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
* Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.
|
|
32
|
-
* </p>
|
|
30
|
+
* <p> Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation. </p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -71,27 +69,22 @@ declare const CreateBillingGroupCommand_base: {
|
|
|
71
69
|
* @see {@link BillingconductorClientResolvedConfig | config} for BillingconductorClient's `config` shape.
|
|
72
70
|
*
|
|
73
71
|
* @throws {@link AccessDeniedException} (client fault)
|
|
74
|
-
* <p>You do not have sufficient access to perform this action.
|
|
75
|
-
* </p>
|
|
72
|
+
* <p>You do not have sufficient access to perform this action. </p>
|
|
76
73
|
*
|
|
77
74
|
* @throws {@link ConflictException} (client fault)
|
|
78
|
-
* <p>You can cause an inconsistent state by updating or deleting a resource.
|
|
79
|
-
* </p>
|
|
75
|
+
* <p>You can cause an inconsistent state by updating or deleting a resource. </p>
|
|
80
76
|
*
|
|
81
77
|
* @throws {@link InternalServerException} (server fault)
|
|
82
|
-
* <p>An unexpected error occurred while processing a request.
|
|
83
|
-
* </p>
|
|
78
|
+
* <p>An unexpected error occurred while processing a request. </p>
|
|
84
79
|
*
|
|
85
80
|
* @throws {@link ServiceLimitExceededException} (client fault)
|
|
86
|
-
* <p>The request would cause a service limit to exceed.
|
|
87
|
-
* </p>
|
|
81
|
+
* <p>The request would cause a service limit to exceed. </p>
|
|
88
82
|
*
|
|
89
83
|
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
-
* <p>The request was denied due to request throttling.
|
|
91
|
-
* </p>
|
|
84
|
+
* <p>The request was denied due to request throttling. </p>
|
|
92
85
|
*
|
|
93
86
|
* @throws {@link ValidationException} (client fault)
|
|
94
|
-
* <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
|
|
87
|
+
* <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
|
|
95
88
|
*
|
|
96
89
|
* @throws {@link BillingconductorServiceException}
|
|
97
90
|
* <p>Base exception class for all service exceptions from Billingconductor service.</p>
|
|
@@ -27,9 +27,7 @@ declare const CreateCustomLineItemCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a custom line item that can be used to create a one-time fixed charge that can be
|
|
31
|
-
* applied to a single billing group for the current or previous billing period. The one-time
|
|
32
|
-
* fixed charge is either a fee or discount. </p>
|
|
30
|
+
* <p>Creates a custom line item that can be used to create a one-time fixed charge that can be applied to a single billing group for the current or previous billing period. The one-time fixed charge is either a fee or discount. </p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -60,18 +58,22 @@ declare const CreateCustomLineItemCommand_base: {
|
|
|
60
58
|
* "STRING_VALUE",
|
|
61
59
|
* ],
|
|
62
60
|
* },
|
|
63
|
-
* Type: "
|
|
61
|
+
* Type: "CREDIT" || "FEE", // required
|
|
64
62
|
* LineItemFilters: [ // LineItemFiltersList
|
|
65
63
|
* { // LineItemFilter
|
|
66
|
-
* Attribute: "
|
|
67
|
-
* MatchOption: "
|
|
64
|
+
* Attribute: "LINE_ITEM_TYPE", // required
|
|
65
|
+
* MatchOption: "NOT_EQUAL", // required
|
|
68
66
|
* Values: [ // LineItemFilterValuesList // required
|
|
69
|
-
* "
|
|
67
|
+
* "SAVINGS_PLAN_NEGATION",
|
|
70
68
|
* ],
|
|
71
69
|
* },
|
|
72
70
|
* ],
|
|
73
71
|
* },
|
|
74
72
|
* AccountId: "STRING_VALUE",
|
|
73
|
+
* ComputationRule: "CONSOLIDATED",
|
|
74
|
+
* PresentationDetails: { // PresentationObject
|
|
75
|
+
* Service: "STRING_VALUE", // required
|
|
76
|
+
* },
|
|
75
77
|
* };
|
|
76
78
|
* const command = new CreateCustomLineItemCommand(input);
|
|
77
79
|
* const response = await client.send(command);
|
|
@@ -88,27 +90,22 @@ declare const CreateCustomLineItemCommand_base: {
|
|
|
88
90
|
* @see {@link BillingconductorClientResolvedConfig | config} for BillingconductorClient's `config` shape.
|
|
89
91
|
*
|
|
90
92
|
* @throws {@link AccessDeniedException} (client fault)
|
|
91
|
-
* <p>You do not have sufficient access to perform this action.
|
|
92
|
-
* </p>
|
|
93
|
+
* <p>You do not have sufficient access to perform this action. </p>
|
|
93
94
|
*
|
|
94
95
|
* @throws {@link ConflictException} (client fault)
|
|
95
|
-
* <p>You can cause an inconsistent state by updating or deleting a resource.
|
|
96
|
-
* </p>
|
|
96
|
+
* <p>You can cause an inconsistent state by updating or deleting a resource. </p>
|
|
97
97
|
*
|
|
98
98
|
* @throws {@link InternalServerException} (server fault)
|
|
99
|
-
* <p>An unexpected error occurred while processing a request.
|
|
100
|
-
* </p>
|
|
99
|
+
* <p>An unexpected error occurred while processing a request. </p>
|
|
101
100
|
*
|
|
102
101
|
* @throws {@link ServiceLimitExceededException} (client fault)
|
|
103
|
-
* <p>The request would cause a service limit to exceed.
|
|
104
|
-
* </p>
|
|
102
|
+
* <p>The request would cause a service limit to exceed. </p>
|
|
105
103
|
*
|
|
106
104
|
* @throws {@link ThrottlingException} (client fault)
|
|
107
|
-
* <p>The request was denied due to request throttling.
|
|
108
|
-
* </p>
|
|
105
|
+
* <p>The request was denied due to request throttling. </p>
|
|
109
106
|
*
|
|
110
107
|
* @throws {@link ValidationException} (client fault)
|
|
111
|
-
* <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
|
|
108
|
+
* <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
|
|
112
109
|
*
|
|
113
110
|
* @throws {@link BillingconductorServiceException}
|
|
114
111
|
* <p>Base exception class for all service exceptions from Billingconductor service.</p>
|