@aws-sdk/client-billingconductor 3.927.0 → 3.929.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 +1531 -1689
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/BillingconductorClient.js +2 -0
- package/dist-es/commands/AssociateAccountsCommand.js +3 -9
- package/dist-es/commands/AssociatePricingRulesCommand.js +3 -9
- package/dist-es/commands/BatchAssociateResourcesToCustomLineItemCommand.js +3 -9
- package/dist-es/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +3 -9
- package/dist-es/commands/CreateBillingGroupCommand.js +3 -10
- package/dist-es/commands/CreateCustomLineItemCommand.js +3 -10
- package/dist-es/commands/CreatePricingPlanCommand.js +3 -10
- package/dist-es/commands/CreatePricingRuleCommand.js +3 -10
- package/dist-es/commands/DeleteBillingGroupCommand.js +3 -9
- package/dist-es/commands/DeleteCustomLineItemCommand.js +3 -9
- package/dist-es/commands/DeletePricingPlanCommand.js +3 -9
- package/dist-es/commands/DeletePricingRuleCommand.js +3 -9
- package/dist-es/commands/DisassociateAccountsCommand.js +3 -9
- package/dist-es/commands/DisassociatePricingRulesCommand.js +3 -9
- package/dist-es/commands/GetBillingGroupCostReportCommand.js +3 -9
- package/dist-es/commands/ListAccountAssociationsCommand.js +3 -10
- package/dist-es/commands/ListBillingGroupCostReportsCommand.js +3 -9
- package/dist-es/commands/ListBillingGroupsCommand.js +3 -10
- package/dist-es/commands/ListCustomLineItemVersionsCommand.js +3 -10
- package/dist-es/commands/ListCustomLineItemsCommand.js +3 -10
- package/dist-es/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +3 -9
- package/dist-es/commands/ListPricingPlansCommand.js +3 -10
- package/dist-es/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +3 -9
- package/dist-es/commands/ListPricingRulesCommand.js +3 -10
- package/dist-es/commands/ListResourcesAssociatedToCustomLineItemCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateBillingGroupCommand.js +3 -10
- package/dist-es/commands/UpdateCustomLineItemCommand.js +3 -10
- package/dist-es/commands/UpdatePricingPlanCommand.js +3 -10
- package/dist-es/commands/UpdatePricingRuleCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -135
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1464 -0
- package/dist-types/BillingconductorClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -104
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +193 -0
- package/dist-types/ts3.4/BillingconductorClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -78
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +199 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -1288
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -290
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -389
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListPricingRulesAssociatedToPricingPlan } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListPricingRulesAssociatedToPricingPlanCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSBillingConductor", "ListPricingRulesAssociatedToPricingPlan", {})
|
|
17
13
|
.n("BillingconductorClient", "ListPricingRulesAssociatedToPricingPlanCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListPricingRulesAssociatedToPricingPlanCommand)
|
|
20
|
-
.de(de_ListPricingRulesAssociatedToPricingPlanCommand)
|
|
14
|
+
.sc(ListPricingRulesAssociatedToPricingPlan)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_ListPricingRulesCommand, se_ListPricingRulesCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListPricingRules } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListPricingRulesCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSBillingConductor", "ListPricingRules", {})
|
|
18
13
|
.n("BillingconductorClient", "ListPricingRulesCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListPricingRulesCommand)
|
|
21
|
-
.de(de_ListPricingRulesCommand)
|
|
14
|
+
.sc(ListPricingRules)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListResourcesAssociatedToCustomLineItem } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListResourcesAssociatedToCustomLineItemCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSBillingConductor", "ListResourcesAssociatedToCustomLineItem", {})
|
|
17
13
|
.n("BillingconductorClient", "ListResourcesAssociatedToCustomLineItemCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListResourcesAssociatedToCustomLineItemCommand)
|
|
20
|
-
.de(de_ListResourcesAssociatedToCustomLineItemCommand)
|
|
14
|
+
.sc(ListResourcesAssociatedToCustomLineItem)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListTagsForResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSBillingConductor", "ListTagsForResource", {})
|
|
17
13
|
.n("BillingconductorClient", "ListTagsForResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListTagsForResourceCommand)
|
|
20
|
-
.de(de_ListTagsForResourceCommand)
|
|
14
|
+
.sc(ListTagsForResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSBillingConductor", "TagResource", {})
|
|
17
13
|
.n("BillingconductorClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSBillingConductor", "UntagResource", {})
|
|
17
13
|
.n("BillingconductorClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateBillingGroupCommand, se_UpdateBillingGroupCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateBillingGroup } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateBillingGroupCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSBillingConductor", "UpdateBillingGroup", {})
|
|
18
13
|
.n("BillingconductorClient", "UpdateBillingGroupCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateBillingGroupCommand)
|
|
21
|
-
.de(de_UpdateBillingGroupCommand)
|
|
14
|
+
.sc(UpdateBillingGroup)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateCustomLineItemCommand, se_UpdateCustomLineItemCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateCustomLineItem } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateCustomLineItemCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSBillingConductor", "UpdateCustomLineItem", {})
|
|
18
13
|
.n("BillingconductorClient", "UpdateCustomLineItemCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateCustomLineItemCommand)
|
|
21
|
-
.de(de_UpdateCustomLineItemCommand)
|
|
14
|
+
.sc(UpdateCustomLineItem)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdatePricingPlanCommand, se_UpdatePricingPlanCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdatePricingPlan } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdatePricingPlanCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSBillingConductor", "UpdatePricingPlan", {})
|
|
18
13
|
.n("BillingconductorClient", "UpdatePricingPlanCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdatePricingPlanCommand)
|
|
21
|
-
.de(de_UpdatePricingPlanCommand)
|
|
14
|
+
.sc(UpdatePricingPlan)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdatePricingRuleCommand, se_UpdatePricingRuleCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdatePricingRule } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdatePricingRuleCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSBillingConductor", "UpdatePricingRule", {})
|
|
18
13
|
.n("BillingconductorClient", "UpdatePricingRuleCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdatePricingRuleCommand)
|
|
21
|
-
.de(de_UpdatePricingRuleCommand)
|
|
14
|
+
.sc(UpdatePricingRule)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { BillingconductorServiceException as __BaseException } from "./BillingconductorServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -247,137 +246,3 @@ export const PricingRuleType = {
|
|
|
247
246
|
MARKUP: "MARKUP",
|
|
248
247
|
TIERING: "TIERING",
|
|
249
248
|
};
|
|
250
|
-
export const AccountAssociationsListElementFilterSensitiveLog = (obj) => ({
|
|
251
|
-
...obj,
|
|
252
|
-
...(obj.AccountName && { AccountName: SENSITIVE_STRING }),
|
|
253
|
-
...(obj.AccountEmail && { AccountEmail: SENSITIVE_STRING }),
|
|
254
|
-
});
|
|
255
|
-
export const CreateBillingGroupInputFilterSensitiveLog = (obj) => ({
|
|
256
|
-
...obj,
|
|
257
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
258
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
259
|
-
});
|
|
260
|
-
export const BillingGroupListElementFilterSensitiveLog = (obj) => ({
|
|
261
|
-
...obj,
|
|
262
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
263
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
264
|
-
});
|
|
265
|
-
export const ListBillingGroupsOutputFilterSensitiveLog = (obj) => ({
|
|
266
|
-
...obj,
|
|
267
|
-
...(obj.BillingGroups && {
|
|
268
|
-
BillingGroups: obj.BillingGroups.map((item) => BillingGroupListElementFilterSensitiveLog(item)),
|
|
269
|
-
}),
|
|
270
|
-
});
|
|
271
|
-
export const UpdateBillingGroupInputFilterSensitiveLog = (obj) => ({
|
|
272
|
-
...obj,
|
|
273
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
274
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
275
|
-
});
|
|
276
|
-
export const UpdateBillingGroupOutputFilterSensitiveLog = (obj) => ({
|
|
277
|
-
...obj,
|
|
278
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
279
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
280
|
-
});
|
|
281
|
-
export const CreateCustomLineItemInputFilterSensitiveLog = (obj) => ({
|
|
282
|
-
...obj,
|
|
283
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
284
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
285
|
-
});
|
|
286
|
-
export const ListCustomLineItemsFilterFilterSensitiveLog = (obj) => ({
|
|
287
|
-
...obj,
|
|
288
|
-
...(obj.Names && { Names: SENSITIVE_STRING }),
|
|
289
|
-
});
|
|
290
|
-
export const ListCustomLineItemsInputFilterSensitiveLog = (obj) => ({
|
|
291
|
-
...obj,
|
|
292
|
-
...(obj.Filters && { Filters: ListCustomLineItemsFilterFilterSensitiveLog(obj.Filters) }),
|
|
293
|
-
});
|
|
294
|
-
export const CustomLineItemListElementFilterSensitiveLog = (obj) => ({
|
|
295
|
-
...obj,
|
|
296
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
297
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
298
|
-
});
|
|
299
|
-
export const ListCustomLineItemsOutputFilterSensitiveLog = (obj) => ({
|
|
300
|
-
...obj,
|
|
301
|
-
...(obj.CustomLineItems && {
|
|
302
|
-
CustomLineItems: obj.CustomLineItems.map((item) => CustomLineItemListElementFilterSensitiveLog(item)),
|
|
303
|
-
}),
|
|
304
|
-
});
|
|
305
|
-
export const CustomLineItemVersionListElementFilterSensitiveLog = (obj) => ({
|
|
306
|
-
...obj,
|
|
307
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
308
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
309
|
-
});
|
|
310
|
-
export const ListCustomLineItemVersionsOutputFilterSensitiveLog = (obj) => ({
|
|
311
|
-
...obj,
|
|
312
|
-
...(obj.CustomLineItemVersions && {
|
|
313
|
-
CustomLineItemVersions: obj.CustomLineItemVersions.map((item) => CustomLineItemVersionListElementFilterSensitiveLog(item)),
|
|
314
|
-
}),
|
|
315
|
-
});
|
|
316
|
-
export const UpdateCustomLineItemInputFilterSensitiveLog = (obj) => ({
|
|
317
|
-
...obj,
|
|
318
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
319
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
320
|
-
});
|
|
321
|
-
export const UpdateCustomLineItemOutputFilterSensitiveLog = (obj) => ({
|
|
322
|
-
...obj,
|
|
323
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
324
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
325
|
-
});
|
|
326
|
-
export const ListAccountAssociationsOutputFilterSensitiveLog = (obj) => ({
|
|
327
|
-
...obj,
|
|
328
|
-
...(obj.LinkedAccounts && {
|
|
329
|
-
LinkedAccounts: obj.LinkedAccounts.map((item) => AccountAssociationsListElementFilterSensitiveLog(item)),
|
|
330
|
-
}),
|
|
331
|
-
});
|
|
332
|
-
export const CreatePricingPlanInputFilterSensitiveLog = (obj) => ({
|
|
333
|
-
...obj,
|
|
334
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
335
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
336
|
-
});
|
|
337
|
-
export const PricingPlanListElementFilterSensitiveLog = (obj) => ({
|
|
338
|
-
...obj,
|
|
339
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
340
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
341
|
-
});
|
|
342
|
-
export const ListPricingPlansOutputFilterSensitiveLog = (obj) => ({
|
|
343
|
-
...obj,
|
|
344
|
-
...(obj.PricingPlans && {
|
|
345
|
-
PricingPlans: obj.PricingPlans.map((item) => PricingPlanListElementFilterSensitiveLog(item)),
|
|
346
|
-
}),
|
|
347
|
-
});
|
|
348
|
-
export const UpdatePricingPlanInputFilterSensitiveLog = (obj) => ({
|
|
349
|
-
...obj,
|
|
350
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
351
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
352
|
-
});
|
|
353
|
-
export const UpdatePricingPlanOutputFilterSensitiveLog = (obj) => ({
|
|
354
|
-
...obj,
|
|
355
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
356
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
357
|
-
});
|
|
358
|
-
export const CreatePricingRuleInputFilterSensitiveLog = (obj) => ({
|
|
359
|
-
...obj,
|
|
360
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
361
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
362
|
-
});
|
|
363
|
-
export const PricingRuleListElementFilterSensitiveLog = (obj) => ({
|
|
364
|
-
...obj,
|
|
365
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
366
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
367
|
-
});
|
|
368
|
-
export const ListPricingRulesOutputFilterSensitiveLog = (obj) => ({
|
|
369
|
-
...obj,
|
|
370
|
-
...(obj.PricingRules && {
|
|
371
|
-
PricingRules: obj.PricingRules.map((item) => PricingRuleListElementFilterSensitiveLog(item)),
|
|
372
|
-
}),
|
|
373
|
-
});
|
|
374
|
-
export const UpdatePricingRuleInputFilterSensitiveLog = (obj) => ({
|
|
375
|
-
...obj,
|
|
376
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
377
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
378
|
-
});
|
|
379
|
-
export const UpdatePricingRuleOutputFilterSensitiveLog = (obj) => ({
|
|
380
|
-
...obj,
|
|
381
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
382
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
383
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.billingconductor" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "billingconductor",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|