@aws-sdk/client-billingconductor 3.405.0 → 3.406.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/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +10 -1
- package/dist-cjs/protocols/Aws_restJson1.js +3 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/commands/CreateCustomLineItemCommand.d.ts +9 -0
- package/dist-types/commands/ListCustomLineItemVersionsCommand.d.ts +9 -0
- package/dist-types/commands/ListCustomLineItemsCommand.d.ts +9 -0
- package/dist-types/commands/UpdateCustomLineItemCommand.d.ts +18 -0
- package/dist-types/models/models_0.d.ts +72 -0
- package/dist-types/ts3.4/models/models_0.d.ts +22 -0
- package/package.json +1 -1
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const w = "required", x = "fn", y = "argv", z = "ref";
|
|
5
5
|
const a = false, b = "isSet", c = "tree", d = "booleanEquals", e = "error", f = "endpoint", g = "PartitionResult", h = "getAttr", i = { [w]: false, "type": "String" }, j = { [w]: true, "default": false, "type": "Boolean" }, k = { [z]: "Endpoint" }, l = { [x]: d, [y]: [{ [z]: "UseFIPS" }, true] }, m = { [z]: "UseFIPS" }, n = { [x]: d, [y]: [{ [z]: "UseDualStack" }, true] }, o = { [z]: "UseDualStack" }, p = {}, q = { [z]: g }, r = { [x]: d, [y]: [true, { [x]: h, [y]: [q, "supportsFIPS"] }] }, s = { [x]: d, [y]: [true, { [x]: h, [y]: [q, "supportsDualStack"] }] }, t = [l], u = [n], v = [{ [z]: "Region" }];
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [x]: b, [y]: [k] }], type: c, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, {
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [x]: b, [y]: [k] }], type: c, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, { conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: e }, { endpoint: { url: k, properties: p, headers: p }, type: f }] }, { conditions: [{ [x]: b, [y]: v }], type: c, rules: [{ conditions: [{ [x]: "aws.partition", [y]: v, assign: g }], type: c, rules: [{ conditions: [{ [x]: "stringEquals", [y]: [{ [x]: h, [y]: [q, "name"] }, "aws"] }, { [x]: d, [y]: [m, a] }, { [x]: d, [y]: [o, a] }], endpoint: { url: "https://billingconductor.us-east-1.amazonaws.com", properties: { authSchemes: [{ name: "sigv4", signingName: "billingconductor", signingRegion: "us-east-1" }] }, headers: p }, type: f }, { conditions: [l, n], type: c, rules: [{ conditions: [r, s], type: c, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: f }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: e }] }, { conditions: t, type: c, rules: [{ conditions: [r], type: c, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: f }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }] }, { conditions: u, type: c, rules: [{ conditions: [s], type: c, rules: [{ endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: f }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: e }] }, { endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: f }] }] }, { error: "Invalid Configuration: Missing Region", type: e }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdatePricingRuleOutputFilterSensitiveLog = exports.UpdatePricingRuleInputFilterSensitiveLog = exports.ListPricingRulesOutputFilterSensitiveLog = exports.PricingRuleListElementFilterSensitiveLog = exports.CreatePricingRuleInputFilterSensitiveLog = exports.UpdatePricingPlanOutputFilterSensitiveLog = exports.UpdatePricingPlanInputFilterSensitiveLog = exports.ListPricingPlansOutputFilterSensitiveLog = exports.PricingPlanListElementFilterSensitiveLog = exports.CreatePricingPlanInputFilterSensitiveLog = exports.ListAccountAssociationsOutputFilterSensitiveLog = exports.UpdateCustomLineItemOutputFilterSensitiveLog = exports.UpdateCustomLineItemInputFilterSensitiveLog = exports.ListCustomLineItemVersionsOutputFilterSensitiveLog = exports.CustomLineItemVersionListElementFilterSensitiveLog = exports.ListCustomLineItemsOutputFilterSensitiveLog = exports.CustomLineItemListElementFilterSensitiveLog = exports.ListCustomLineItemsInputFilterSensitiveLog = exports.ListCustomLineItemsFilterFilterSensitiveLog = exports.CreateCustomLineItemInputFilterSensitiveLog = exports.UpdateBillingGroupOutputFilterSensitiveLog = exports.UpdateBillingGroupInputFilterSensitiveLog = exports.ListBillingGroupsOutputFilterSensitiveLog = exports.BillingGroupListElementFilterSensitiveLog = exports.CreateBillingGroupInputFilterSensitiveLog = exports.AccountAssociationsListElementFilterSensitiveLog = exports.PricingRuleType = exports.PricingRuleScope = exports.CustomLineItemRelationship = exports.CurrencyCode = exports.CustomLineItemType = exports.BillingGroupStatus = exports.AssociateResourceErrorReason = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceLimitExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.ConflictExceptionReason = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.UpdatePricingRuleOutputFilterSensitiveLog = exports.UpdatePricingRuleInputFilterSensitiveLog = exports.ListPricingRulesOutputFilterSensitiveLog = exports.PricingRuleListElementFilterSensitiveLog = exports.CreatePricingRuleInputFilterSensitiveLog = exports.UpdatePricingPlanOutputFilterSensitiveLog = exports.UpdatePricingPlanInputFilterSensitiveLog = exports.ListPricingPlansOutputFilterSensitiveLog = exports.PricingPlanListElementFilterSensitiveLog = exports.CreatePricingPlanInputFilterSensitiveLog = exports.ListAccountAssociationsOutputFilterSensitiveLog = exports.UpdateCustomLineItemOutputFilterSensitiveLog = exports.UpdateCustomLineItemInputFilterSensitiveLog = exports.ListCustomLineItemVersionsOutputFilterSensitiveLog = exports.CustomLineItemVersionListElementFilterSensitiveLog = exports.ListCustomLineItemsOutputFilterSensitiveLog = exports.CustomLineItemListElementFilterSensitiveLog = exports.ListCustomLineItemsInputFilterSensitiveLog = exports.ListCustomLineItemsFilterFilterSensitiveLog = exports.CreateCustomLineItemInputFilterSensitiveLog = exports.UpdateBillingGroupOutputFilterSensitiveLog = exports.UpdateBillingGroupInputFilterSensitiveLog = exports.ListBillingGroupsOutputFilterSensitiveLog = exports.BillingGroupListElementFilterSensitiveLog = exports.CreateBillingGroupInputFilterSensitiveLog = exports.AccountAssociationsListElementFilterSensitiveLog = exports.PricingRuleType = exports.PricingRuleScope = exports.CustomLineItemRelationship = exports.CurrencyCode = exports.CustomLineItemType = exports.LineItemFilterValue = exports.MatchOption = exports.LineItemFilterAttributeName = exports.BillingGroupStatus = exports.AssociateResourceErrorReason = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceLimitExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.ConflictExceptionReason = exports.AccessDeniedException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const BillingconductorServiceException_1 = require("./BillingconductorServiceException");
|
|
6
6
|
class AccessDeniedException extends BillingconductorServiceException_1.BillingconductorServiceException {
|
|
@@ -193,6 +193,15 @@ exports.BillingGroupStatus = {
|
|
|
193
193
|
ACTIVE: "ACTIVE",
|
|
194
194
|
PRIMARY_ACCOUNT_MISSING: "PRIMARY_ACCOUNT_MISSING",
|
|
195
195
|
};
|
|
196
|
+
exports.LineItemFilterAttributeName = {
|
|
197
|
+
LINE_ITEM_TYPE: "LINE_ITEM_TYPE",
|
|
198
|
+
};
|
|
199
|
+
exports.MatchOption = {
|
|
200
|
+
NOT_EQUAL: "NOT_EQUAL",
|
|
201
|
+
};
|
|
202
|
+
exports.LineItemFilterValue = {
|
|
203
|
+
SAVINGS_PLAN_NEGATION: "SAVINGS_PLAN_NEGATION",
|
|
204
|
+
};
|
|
196
205
|
exports.CustomLineItemType = {
|
|
197
206
|
CREDIT: "CREDIT",
|
|
198
207
|
FEE: "FEE",
|
|
@@ -2367,6 +2367,7 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
2367
2367
|
const se_CustomLineItemChargeDetails = (input, context) => {
|
|
2368
2368
|
return (0, smithy_client_1.take)(input, {
|
|
2369
2369
|
Flat: (_) => se_CustomLineItemFlatChargeDetails(_, context),
|
|
2370
|
+
LineItemFilters: smithy_client_1._json,
|
|
2370
2371
|
Percentage: (_) => se_CustomLineItemPercentageChargeDetails(_, context),
|
|
2371
2372
|
Type: [],
|
|
2372
2373
|
});
|
|
@@ -2385,6 +2386,7 @@ const se_CustomLineItemPercentageChargeDetails = (input, context) => {
|
|
|
2385
2386
|
const se_UpdateCustomLineItemChargeDetails = (input, context) => {
|
|
2386
2387
|
return (0, smithy_client_1.take)(input, {
|
|
2387
2388
|
Flat: (_) => se_UpdateCustomLineItemFlatChargeDetails(_, context),
|
|
2389
|
+
LineItemFilters: smithy_client_1._json,
|
|
2388
2390
|
Percentage: (_) => se_UpdateCustomLineItemPercentageChargeDetails(_, context),
|
|
2389
2391
|
});
|
|
2390
2392
|
};
|
|
@@ -2448,6 +2450,7 @@ const de_CustomLineItemVersionListElement = (output, context) => {
|
|
|
2448
2450
|
const de_ListCustomLineItemChargeDetails = (output, context) => {
|
|
2449
2451
|
return (0, smithy_client_1.take)(output, {
|
|
2450
2452
|
Flat: (_) => de_ListCustomLineItemFlatChargeDetails(_, context),
|
|
2453
|
+
LineItemFilters: smithy_client_1._json,
|
|
2451
2454
|
Percentage: (_) => de_ListCustomLineItemPercentageChargeDetails(_, context),
|
|
2452
2455
|
Type: smithy_client_1.expectString,
|
|
2453
2456
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const w = "required", x = "fn", y = "argv", z = "ref";
|
|
2
2
|
const a = false, b = "isSet", c = "tree", d = "booleanEquals", e = "error", f = "endpoint", g = "PartitionResult", h = "getAttr", i = { [w]: false, "type": "String" }, j = { [w]: true, "default": false, "type": "Boolean" }, k = { [z]: "Endpoint" }, l = { [x]: d, [y]: [{ [z]: "UseFIPS" }, true] }, m = { [z]: "UseFIPS" }, n = { [x]: d, [y]: [{ [z]: "UseDualStack" }, true] }, o = { [z]: "UseDualStack" }, p = {}, q = { [z]: g }, r = { [x]: d, [y]: [true, { [x]: h, [y]: [q, "supportsFIPS"] }] }, s = { [x]: d, [y]: [true, { [x]: h, [y]: [q, "supportsDualStack"] }] }, t = [l], u = [n], v = [{ [z]: "Region" }];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [x]: b, [y]: [k] }], type: c, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, {
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [x]: b, [y]: [k] }], type: c, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, { conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: e }, { endpoint: { url: k, properties: p, headers: p }, type: f }] }, { conditions: [{ [x]: b, [y]: v }], type: c, rules: [{ conditions: [{ [x]: "aws.partition", [y]: v, assign: g }], type: c, rules: [{ conditions: [{ [x]: "stringEquals", [y]: [{ [x]: h, [y]: [q, "name"] }, "aws"] }, { [x]: d, [y]: [m, a] }, { [x]: d, [y]: [o, a] }], endpoint: { url: "https://billingconductor.us-east-1.amazonaws.com", properties: { authSchemes: [{ name: "sigv4", signingName: "billingconductor", signingRegion: "us-east-1" }] }, headers: p }, type: f }, { conditions: [l, n], type: c, rules: [{ conditions: [r, s], type: c, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: f }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: e }] }, { conditions: t, type: c, rules: [{ conditions: [r], type: c, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: f }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }] }, { conditions: u, type: c, rules: [{ conditions: [s], type: c, rules: [{ endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: f }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: e }] }, { endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: f }] }] }, { error: "Invalid Configuration: Missing Region", type: e }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -183,6 +183,15 @@ export const BillingGroupStatus = {
|
|
|
183
183
|
ACTIVE: "ACTIVE",
|
|
184
184
|
PRIMARY_ACCOUNT_MISSING: "PRIMARY_ACCOUNT_MISSING",
|
|
185
185
|
};
|
|
186
|
+
export const LineItemFilterAttributeName = {
|
|
187
|
+
LINE_ITEM_TYPE: "LINE_ITEM_TYPE",
|
|
188
|
+
};
|
|
189
|
+
export const MatchOption = {
|
|
190
|
+
NOT_EQUAL: "NOT_EQUAL",
|
|
191
|
+
};
|
|
192
|
+
export const LineItemFilterValue = {
|
|
193
|
+
SAVINGS_PLAN_NEGATION: "SAVINGS_PLAN_NEGATION",
|
|
194
|
+
};
|
|
186
195
|
export const CustomLineItemType = {
|
|
187
196
|
CREDIT: "CREDIT",
|
|
188
197
|
FEE: "FEE",
|
|
@@ -2301,6 +2301,7 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
2301
2301
|
const se_CustomLineItemChargeDetails = (input, context) => {
|
|
2302
2302
|
return take(input, {
|
|
2303
2303
|
Flat: (_) => se_CustomLineItemFlatChargeDetails(_, context),
|
|
2304
|
+
LineItemFilters: _json,
|
|
2304
2305
|
Percentage: (_) => se_CustomLineItemPercentageChargeDetails(_, context),
|
|
2305
2306
|
Type: [],
|
|
2306
2307
|
});
|
|
@@ -2319,6 +2320,7 @@ const se_CustomLineItemPercentageChargeDetails = (input, context) => {
|
|
|
2319
2320
|
const se_UpdateCustomLineItemChargeDetails = (input, context) => {
|
|
2320
2321
|
return take(input, {
|
|
2321
2322
|
Flat: (_) => se_UpdateCustomLineItemFlatChargeDetails(_, context),
|
|
2323
|
+
LineItemFilters: _json,
|
|
2322
2324
|
Percentage: (_) => se_UpdateCustomLineItemPercentageChargeDetails(_, context),
|
|
2323
2325
|
});
|
|
2324
2326
|
};
|
|
@@ -2382,6 +2384,7 @@ const de_CustomLineItemVersionListElement = (output, context) => {
|
|
|
2382
2384
|
const de_ListCustomLineItemChargeDetails = (output, context) => {
|
|
2383
2385
|
return take(output, {
|
|
2384
2386
|
Flat: (_) => de_ListCustomLineItemFlatChargeDetails(_, context),
|
|
2387
|
+
LineItemFilters: _json,
|
|
2385
2388
|
Percentage: (_) => de_ListCustomLineItemPercentageChargeDetails(_, context),
|
|
2386
2389
|
Type: __expectString,
|
|
2387
2390
|
});
|
|
@@ -55,6 +55,15 @@ export interface CreateCustomLineItemCommandOutput extends CreateCustomLineItemO
|
|
|
55
55
|
* ],
|
|
56
56
|
* },
|
|
57
57
|
* Type: "STRING_VALUE", // required
|
|
58
|
+
* LineItemFilters: [ // LineItemFiltersList
|
|
59
|
+
* { // LineItemFilter
|
|
60
|
+
* Attribute: "STRING_VALUE", // required
|
|
61
|
+
* MatchOption: "STRING_VALUE", // required
|
|
62
|
+
* Values: [ // LineItemFilterValuesList // required
|
|
63
|
+
* "STRING_VALUE",
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
58
67
|
* },
|
|
59
68
|
* };
|
|
60
69
|
* const command = new CreateCustomLineItemCommand(input);
|
|
@@ -55,6 +55,15 @@ export interface ListCustomLineItemVersionsCommandOutput extends ListCustomLineI
|
|
|
55
55
|
* // PercentageValue: Number("double"), // required
|
|
56
56
|
* // },
|
|
57
57
|
* // Type: "STRING_VALUE", // required
|
|
58
|
+
* // LineItemFilters: [ // LineItemFiltersList
|
|
59
|
+
* // { // LineItemFilter
|
|
60
|
+
* // Attribute: "STRING_VALUE", // required
|
|
61
|
+
* // MatchOption: "STRING_VALUE", // required
|
|
62
|
+
* // Values: [ // LineItemFilterValuesList // required
|
|
63
|
+
* // "STRING_VALUE",
|
|
64
|
+
* // ],
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
58
67
|
* // },
|
|
59
68
|
* // CurrencyCode: "STRING_VALUE",
|
|
60
69
|
* // Description: "STRING_VALUE",
|
|
@@ -63,6 +63,15 @@ export interface ListCustomLineItemsCommandOutput extends ListCustomLineItemsOut
|
|
|
63
63
|
* // PercentageValue: Number("double"), // required
|
|
64
64
|
* // },
|
|
65
65
|
* // Type: "STRING_VALUE", // required
|
|
66
|
+
* // LineItemFilters: [ // LineItemFiltersList
|
|
67
|
+
* // { // LineItemFilter
|
|
68
|
+
* // Attribute: "STRING_VALUE", // required
|
|
69
|
+
* // MatchOption: "STRING_VALUE", // required
|
|
70
|
+
* // Values: [ // LineItemFilterValuesList // required
|
|
71
|
+
* // "STRING_VALUE",
|
|
72
|
+
* // ],
|
|
73
|
+
* // },
|
|
74
|
+
* // ],
|
|
66
75
|
* // },
|
|
67
76
|
* // CurrencyCode: "STRING_VALUE",
|
|
68
77
|
* // Description: "STRING_VALUE",
|
|
@@ -43,6 +43,15 @@ export interface UpdateCustomLineItemCommandOutput extends UpdateCustomLineItemO
|
|
|
43
43
|
* Percentage: { // UpdateCustomLineItemPercentageChargeDetails
|
|
44
44
|
* PercentageValue: Number("double"), // required
|
|
45
45
|
* },
|
|
46
|
+
* LineItemFilters: [ // LineItemFiltersList
|
|
47
|
+
* { // LineItemFilter
|
|
48
|
+
* Attribute: "STRING_VALUE", // required
|
|
49
|
+
* MatchOption: "STRING_VALUE", // required
|
|
50
|
+
* Values: [ // LineItemFilterValuesList // required
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
46
55
|
* },
|
|
47
56
|
* BillingPeriodRange: { // CustomLineItemBillingPeriodRange
|
|
48
57
|
* InclusiveStartBillingPeriod: "STRING_VALUE", // required
|
|
@@ -64,6 +73,15 @@ export interface UpdateCustomLineItemCommandOutput extends UpdateCustomLineItemO
|
|
|
64
73
|
* // PercentageValue: Number("double"), // required
|
|
65
74
|
* // },
|
|
66
75
|
* // Type: "STRING_VALUE", // required
|
|
76
|
+
* // LineItemFilters: [ // LineItemFiltersList
|
|
77
|
+
* // { // LineItemFilter
|
|
78
|
+
* // Attribute: "STRING_VALUE", // required
|
|
79
|
+
* // MatchOption: "STRING_VALUE", // required
|
|
80
|
+
* // Values: [ // LineItemFilterValuesList // required
|
|
81
|
+
* // "STRING_VALUE",
|
|
82
|
+
* // ],
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
67
85
|
* // },
|
|
68
86
|
* // LastModifiedTime: Number("long"),
|
|
69
87
|
* // AssociationSize: Number("long"),
|
|
@@ -960,6 +960,63 @@ export interface CustomLineItemFlatChargeDetails {
|
|
|
960
960
|
*/
|
|
961
961
|
ChargeValue: number | undefined;
|
|
962
962
|
}
|
|
963
|
+
/**
|
|
964
|
+
* @public
|
|
965
|
+
* @enum
|
|
966
|
+
*/
|
|
967
|
+
export declare const LineItemFilterAttributeName: {
|
|
968
|
+
readonly LINE_ITEM_TYPE: "LINE_ITEM_TYPE";
|
|
969
|
+
};
|
|
970
|
+
/**
|
|
971
|
+
* @public
|
|
972
|
+
*/
|
|
973
|
+
export type LineItemFilterAttributeName = (typeof LineItemFilterAttributeName)[keyof typeof LineItemFilterAttributeName];
|
|
974
|
+
/**
|
|
975
|
+
* @public
|
|
976
|
+
* @enum
|
|
977
|
+
*/
|
|
978
|
+
export declare const MatchOption: {
|
|
979
|
+
readonly NOT_EQUAL: "NOT_EQUAL";
|
|
980
|
+
};
|
|
981
|
+
/**
|
|
982
|
+
* @public
|
|
983
|
+
*/
|
|
984
|
+
export type MatchOption = (typeof MatchOption)[keyof typeof MatchOption];
|
|
985
|
+
/**
|
|
986
|
+
* @public
|
|
987
|
+
* @enum
|
|
988
|
+
*/
|
|
989
|
+
export declare const LineItemFilterValue: {
|
|
990
|
+
readonly SAVINGS_PLAN_NEGATION: "SAVINGS_PLAN_NEGATION";
|
|
991
|
+
};
|
|
992
|
+
/**
|
|
993
|
+
* @public
|
|
994
|
+
*/
|
|
995
|
+
export type LineItemFilterValue = (typeof LineItemFilterValue)[keyof typeof LineItemFilterValue];
|
|
996
|
+
/**
|
|
997
|
+
* @public
|
|
998
|
+
* <p>A representation of the line item filter for your custom line item. You can use line item filters to include or exclude specific resource values from the billing group's total cost.
|
|
999
|
+
* For example, if you create a custom line item and you want to filter out a value, such as
|
|
1000
|
+
* Savings Plan discounts, you can update <code>LineItemFilter</code> to exclude it.</p>
|
|
1001
|
+
*/
|
|
1002
|
+
export interface LineItemFilter {
|
|
1003
|
+
/**
|
|
1004
|
+
* @public
|
|
1005
|
+
* <p>The attribute of the line item filter. This specifies what attribute that you can filter
|
|
1006
|
+
* on.</p>
|
|
1007
|
+
*/
|
|
1008
|
+
Attribute: LineItemFilterAttributeName | string | undefined;
|
|
1009
|
+
/**
|
|
1010
|
+
* @public
|
|
1011
|
+
* <p>The match criteria of the line item filter. This parameter specifies whether not to include the resource value from the billing group total cost.</p>
|
|
1012
|
+
*/
|
|
1013
|
+
MatchOption: MatchOption | string | undefined;
|
|
1014
|
+
/**
|
|
1015
|
+
* @public
|
|
1016
|
+
* <p>The values of the line item filter. This specifies the values to filter on. Currently, you can only exclude Savings Plan discounts.</p>
|
|
1017
|
+
*/
|
|
1018
|
+
Values: (LineItemFilterValue | string)[] | undefined;
|
|
1019
|
+
}
|
|
963
1020
|
/**
|
|
964
1021
|
* @public
|
|
965
1022
|
* <p>A representation of the charge details that are associated with a percentage custom line item.</p>
|
|
@@ -1010,6 +1067,11 @@ export interface CustomLineItemChargeDetails {
|
|
|
1010
1067
|
* <p>The type of the custom line item that indicates whether the charge is a fee or credit.</p>
|
|
1011
1068
|
*/
|
|
1012
1069
|
Type: CustomLineItemType | string | undefined;
|
|
1070
|
+
/**
|
|
1071
|
+
* @public
|
|
1072
|
+
* <p>A representation of the line item filter.</p>
|
|
1073
|
+
*/
|
|
1074
|
+
LineItemFilters?: LineItemFilter[];
|
|
1013
1075
|
}
|
|
1014
1076
|
/**
|
|
1015
1077
|
* @public
|
|
@@ -1210,6 +1272,11 @@ export interface ListCustomLineItemChargeDetails {
|
|
|
1210
1272
|
* </p>
|
|
1211
1273
|
*/
|
|
1212
1274
|
Type: CustomLineItemType | string | undefined;
|
|
1275
|
+
/**
|
|
1276
|
+
* @public
|
|
1277
|
+
* <p>A representation of the line item filter.</p>
|
|
1278
|
+
*/
|
|
1279
|
+
LineItemFilters?: LineItemFilter[];
|
|
1213
1280
|
}
|
|
1214
1281
|
/**
|
|
1215
1282
|
* @public
|
|
@@ -1611,6 +1678,11 @@ export interface UpdateCustomLineItemChargeDetails {
|
|
|
1611
1678
|
* </p>
|
|
1612
1679
|
*/
|
|
1613
1680
|
Percentage?: UpdateCustomLineItemPercentageChargeDetails;
|
|
1681
|
+
/**
|
|
1682
|
+
* @public
|
|
1683
|
+
* <p>A representation of the line item filter.</p>
|
|
1684
|
+
*/
|
|
1685
|
+
LineItemFilters?: LineItemFilter[];
|
|
1614
1686
|
}
|
|
1615
1687
|
/**
|
|
1616
1688
|
* @public
|
|
@@ -302,6 +302,25 @@ export interface BatchDisassociateResourcesFromCustomLineItemOutput {
|
|
|
302
302
|
export interface CustomLineItemFlatChargeDetails {
|
|
303
303
|
ChargeValue: number | undefined;
|
|
304
304
|
}
|
|
305
|
+
export declare const LineItemFilterAttributeName: {
|
|
306
|
+
readonly LINE_ITEM_TYPE: "LINE_ITEM_TYPE";
|
|
307
|
+
};
|
|
308
|
+
export type LineItemFilterAttributeName =
|
|
309
|
+
(typeof LineItemFilterAttributeName)[keyof typeof LineItemFilterAttributeName];
|
|
310
|
+
export declare const MatchOption: {
|
|
311
|
+
readonly NOT_EQUAL: "NOT_EQUAL";
|
|
312
|
+
};
|
|
313
|
+
export type MatchOption = (typeof MatchOption)[keyof typeof MatchOption];
|
|
314
|
+
export declare const LineItemFilterValue: {
|
|
315
|
+
readonly SAVINGS_PLAN_NEGATION: "SAVINGS_PLAN_NEGATION";
|
|
316
|
+
};
|
|
317
|
+
export type LineItemFilterValue =
|
|
318
|
+
(typeof LineItemFilterValue)[keyof typeof LineItemFilterValue];
|
|
319
|
+
export interface LineItemFilter {
|
|
320
|
+
Attribute: LineItemFilterAttributeName | string | undefined;
|
|
321
|
+
MatchOption: MatchOption | string | undefined;
|
|
322
|
+
Values: (LineItemFilterValue | string)[] | undefined;
|
|
323
|
+
}
|
|
305
324
|
export interface CustomLineItemPercentageChargeDetails {
|
|
306
325
|
PercentageValue: number | undefined;
|
|
307
326
|
AssociatedValues?: string[];
|
|
@@ -316,6 +335,7 @@ export interface CustomLineItemChargeDetails {
|
|
|
316
335
|
Flat?: CustomLineItemFlatChargeDetails;
|
|
317
336
|
Percentage?: CustomLineItemPercentageChargeDetails;
|
|
318
337
|
Type: CustomLineItemType | string | undefined;
|
|
338
|
+
LineItemFilters?: LineItemFilter[];
|
|
319
339
|
}
|
|
320
340
|
export interface CreateCustomLineItemInput {
|
|
321
341
|
ClientToken?: string;
|
|
@@ -357,6 +377,7 @@ export interface ListCustomLineItemChargeDetails {
|
|
|
357
377
|
Flat?: ListCustomLineItemFlatChargeDetails;
|
|
358
378
|
Percentage?: ListCustomLineItemPercentageChargeDetails;
|
|
359
379
|
Type: CustomLineItemType | string | undefined;
|
|
380
|
+
LineItemFilters?: LineItemFilter[];
|
|
360
381
|
}
|
|
361
382
|
export declare const CurrencyCode: {
|
|
362
383
|
readonly CNY: "CNY";
|
|
@@ -446,6 +467,7 @@ export interface UpdateCustomLineItemPercentageChargeDetails {
|
|
|
446
467
|
export interface UpdateCustomLineItemChargeDetails {
|
|
447
468
|
Flat?: UpdateCustomLineItemFlatChargeDetails;
|
|
448
469
|
Percentage?: UpdateCustomLineItemPercentageChargeDetails;
|
|
470
|
+
LineItemFilters?: LineItemFilter[];
|
|
449
471
|
}
|
|
450
472
|
export interface UpdateCustomLineItemInput {
|
|
451
473
|
Arn: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-billingconductor",
|
|
3
3
|
"description": "AWS SDK for JavaScript Billingconductor Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.406.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|