@aws-sdk/client-billingconductor 3.202.0 → 3.206.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 +3 -4
- package/dist-cjs/Billingconductor.js +15 -0
- package/dist-cjs/commands/ListCustomLineItemVersionsCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +5 -5
- package/dist-cjs/models/models_0.js +42 -3
- package/dist-cjs/pagination/ListCustomLineItemVersionsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +119 -2
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/Billingconductor.js +15 -0
- package/dist-es/commands/ListCustomLineItemVersionsCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +5 -5
- package/dist-es/models/models_0.js +34 -0
- package/dist-es/pagination/ListCustomLineItemVersionsPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +115 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/Billingconductor.d.ts +16 -15
- package/dist-types/BillingconductorClient.d.ts +6 -6
- package/dist-types/commands/DeletePricingRuleCommand.d.ts +1 -1
- package/dist-types/commands/ListAccountAssociationsCommand.d.ts +2 -7
- package/dist-types/commands/ListCustomLineItemVersionsCommand.d.ts +37 -0
- package/dist-types/commands/ListPricingPlansAssociatedWithPricingRuleCommand.d.ts +1 -1
- package/dist-types/commands/ListPricingRulesAssociatedToPricingPlanCommand.d.ts +1 -1
- package/dist-types/commands/ListResourcesAssociatedToCustomLineItemCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +200 -99
- package/dist-types/pagination/ListCustomLineItemVersionsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/Billingconductor.d.ts +17 -0
- package/dist-types/ts3.4/BillingconductorClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListCustomLineItemVersionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +60 -1
- package/dist-types/ts3.4/pagination/ListCustomLineItemVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +5 -4
- package/CHANGELOG.md +0 -574
|
@@ -15,6 +15,7 @@ export * from "./DisassociatePricingRulesCommand";
|
|
|
15
15
|
export * from "./ListAccountAssociationsCommand";
|
|
16
16
|
export * from "./ListBillingGroupCostReportsCommand";
|
|
17
17
|
export * from "./ListBillingGroupsCommand";
|
|
18
|
+
export * from "./ListCustomLineItemVersionsCommand";
|
|
18
19
|
export * from "./ListCustomLineItemsCommand";
|
|
19
20
|
export * from "./ListPricingPlansAssociatedWithPricingRuleCommand";
|
|
20
21
|
export * from "./ListPricingPlansCommand";
|
|
@@ -200,8 +200,8 @@ export const ruleSet = {
|
|
|
200
200
|
authSchemes: [
|
|
201
201
|
{
|
|
202
202
|
name: "sigv4",
|
|
203
|
-
signingName: "billingconductor",
|
|
204
203
|
signingRegion: "us-east-1",
|
|
204
|
+
signingName: "billingconductor",
|
|
205
205
|
},
|
|
206
206
|
],
|
|
207
207
|
},
|
|
@@ -260,8 +260,8 @@ export const ruleSet = {
|
|
|
260
260
|
authSchemes: [
|
|
261
261
|
{
|
|
262
262
|
name: "sigv4",
|
|
263
|
-
signingName: "billingconductor",
|
|
264
263
|
signingRegion: "us-east-1",
|
|
264
|
+
signingName: "billingconductor",
|
|
265
265
|
},
|
|
266
266
|
],
|
|
267
267
|
},
|
|
@@ -320,8 +320,8 @@ export const ruleSet = {
|
|
|
320
320
|
authSchemes: [
|
|
321
321
|
{
|
|
322
322
|
name: "sigv4",
|
|
323
|
-
signingName: "billingconductor",
|
|
324
323
|
signingRegion: "us-east-1",
|
|
324
|
+
signingName: "billingconductor",
|
|
325
325
|
},
|
|
326
326
|
],
|
|
327
327
|
},
|
|
@@ -346,8 +346,8 @@ export const ruleSet = {
|
|
|
346
346
|
authSchemes: [
|
|
347
347
|
{
|
|
348
348
|
name: "sigv4",
|
|
349
|
-
signingName: "billingconductor",
|
|
350
349
|
signingRegion: "us-east-1",
|
|
350
|
+
signingName: "billingconductor",
|
|
351
351
|
},
|
|
352
352
|
],
|
|
353
353
|
},
|
|
@@ -565,8 +565,8 @@ export const ruleSet = {
|
|
|
565
565
|
authSchemes: [
|
|
566
566
|
{
|
|
567
567
|
name: "sigv4",
|
|
568
|
-
signingName: "billingconductor",
|
|
569
568
|
signingRegion: "us-east-1",
|
|
569
|
+
signingName: "billingconductor",
|
|
570
570
|
},
|
|
571
571
|
],
|
|
572
572
|
},
|
|
@@ -13,6 +13,14 @@ export class AccessDeniedException extends __BaseException {
|
|
|
13
13
|
this.Message = opts.Message;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
+
export var ConflictExceptionReason;
|
|
17
|
+
(function (ConflictExceptionReason) {
|
|
18
|
+
ConflictExceptionReason["PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT"] = "PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT";
|
|
19
|
+
ConflictExceptionReason["PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT"] = "PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT";
|
|
20
|
+
ConflictExceptionReason["PRICING_RULE_IN_PRICING_PLAN_CONFLICT"] = "PRICING_RULE_IN_PRICING_PLAN_CONFLICT";
|
|
21
|
+
ConflictExceptionReason["RESOURCE_NAME_CONFLICT"] = "RESOURCE_NAME_CONFLICT";
|
|
22
|
+
ConflictExceptionReason["WRITE_CONFLICT_RETRY"] = "WRITE_CONFLICT_RETRY";
|
|
23
|
+
})(ConflictExceptionReason || (ConflictExceptionReason = {}));
|
|
16
24
|
export class ConflictException extends __BaseException {
|
|
17
25
|
constructor(opts) {
|
|
18
26
|
super({
|
|
@@ -26,6 +34,7 @@ export class ConflictException extends __BaseException {
|
|
|
26
34
|
this.Message = opts.Message;
|
|
27
35
|
this.ResourceId = opts.ResourceId;
|
|
28
36
|
this.ResourceType = opts.ResourceType;
|
|
37
|
+
this.Reason = opts.Reason;
|
|
29
38
|
}
|
|
30
39
|
}
|
|
31
40
|
export class InternalServerException extends __BaseException {
|
|
@@ -93,6 +102,7 @@ export var ValidationExceptionReason;
|
|
|
93
102
|
ValidationExceptionReason["ACCOUNTS_ALREADY_ASSOCIATED"] = "ACCOUNTS_ALREADY_ASSOCIATED";
|
|
94
103
|
ValidationExceptionReason["ACCOUNTS_NOT_ASSOCIATED"] = "ACCOUNTS_NOT_ASSOCIATED";
|
|
95
104
|
ValidationExceptionReason["CANNOT_PARSE"] = "CANNOT_PARSE";
|
|
105
|
+
ValidationExceptionReason["CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS"] = "CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS";
|
|
96
106
|
ValidationExceptionReason["DUPLICATE_ACCOUNT"] = "DUPLICATE_ACCOUNT";
|
|
97
107
|
ValidationExceptionReason["DUPLICATE_PRICINGRULE_ARNS"] = "DUPLICATE_PRICINGRULE_ARNS";
|
|
98
108
|
ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "FIELD_VALIDATION_FAILED";
|
|
@@ -100,6 +110,7 @@ export var ValidationExceptionReason;
|
|
|
100
110
|
ValidationExceptionReason["ILLEGAL_BILLING_PERIOD"] = "ILLEGAL_BILLING_PERIOD";
|
|
101
111
|
ValidationExceptionReason["ILLEGAL_BILLING_PERIOD_RANGE"] = "ILLEGAL_BILLING_PERIOD_RANGE";
|
|
102
112
|
ValidationExceptionReason["ILLEGAL_CHARGE_DETAILS"] = "ILLEGAL_CHARGE_DETAILS";
|
|
113
|
+
ValidationExceptionReason["ILLEGAL_CHILD_ASSOCIATE_RESOURCE"] = "ILLEGAL_CHILD_ASSOCIATE_RESOURCE";
|
|
103
114
|
ValidationExceptionReason["ILLEGAL_CUSTOMLINEITEM"] = "ILLEGAL_CUSTOMLINEITEM";
|
|
104
115
|
ValidationExceptionReason["ILLEGAL_CUSTOMLINEITEM_MODIFICATION"] = "ILLEGAL_CUSTOMLINEITEM_MODIFICATION";
|
|
105
116
|
ValidationExceptionReason["ILLEGAL_CUSTOMLINEITEM_UPDATE"] = "ILLEGAL_CUSTOMLINEITEM_UPDATE";
|
|
@@ -111,7 +122,9 @@ export var ValidationExceptionReason;
|
|
|
111
122
|
ValidationExceptionReason["ILLEGAL_UPDATE_CHARGE_DETAILS"] = "ILLEGAL_UPDATE_CHARGE_DETAILS";
|
|
112
123
|
ValidationExceptionReason["INVALID_ARN"] = "INVALID_ARN";
|
|
113
124
|
ValidationExceptionReason["INVALID_BILLINGVIEW_ARN"] = "INVALID_BILLINGVIEW_ARN";
|
|
125
|
+
ValidationExceptionReason["INVALID_BILLING_GROUP"] = "INVALID_BILLING_GROUP";
|
|
114
126
|
ValidationExceptionReason["INVALID_BILLING_GROUP_STATUS"] = "INVALID_BILLING_GROUP_STATUS";
|
|
127
|
+
ValidationExceptionReason["INVALID_BILLING_PERIOD_FOR_OPERATION"] = "INVALID_BILLING_PERIOD_FOR_OPERATION";
|
|
115
128
|
ValidationExceptionReason["INVALID_TIME_RANGE"] = "INVALID_TIME_RANGE";
|
|
116
129
|
ValidationExceptionReason["MISMATCHED_BILLINGGROUP_ARN"] = "MISMATCHED_BILLINGGROUP_ARN";
|
|
117
130
|
ValidationExceptionReason["MISMATCHED_BILLINGVIEW_ARN"] = "MISMATCHED_BILLINGVIEW_ARN";
|
|
@@ -155,6 +168,7 @@ export var AssociateResourceErrorReason;
|
|
|
155
168
|
AssociateResourceErrorReason["ILLEGAL_CUSTOMLINEITEM"] = "ILLEGAL_CUSTOMLINEITEM";
|
|
156
169
|
AssociateResourceErrorReason["INTERNAL_SERVER_EXCEPTION"] = "INTERNAL_SERVER_EXCEPTION";
|
|
157
170
|
AssociateResourceErrorReason["INVALID_ARN"] = "INVALID_ARN";
|
|
171
|
+
AssociateResourceErrorReason["INVALID_BILLING_PERIOD_RANGE"] = "INVALID_BILLING_PERIOD_RANGE";
|
|
158
172
|
AssociateResourceErrorReason["SERVICE_LIMIT_EXCEEDED"] = "SERVICE_LIMIT_EXCEEDED";
|
|
159
173
|
})(AssociateResourceErrorReason || (AssociateResourceErrorReason = {}));
|
|
160
174
|
export var BillingGroupStatus;
|
|
@@ -335,6 +349,26 @@ export const ListCustomLineItemsOutputFilterSensitiveLog = (obj) => ({
|
|
|
335
349
|
CustomLineItems: obj.CustomLineItems.map((item) => CustomLineItemListElementFilterSensitiveLog(item)),
|
|
336
350
|
}),
|
|
337
351
|
});
|
|
352
|
+
export const ListCustomLineItemVersionsBillingPeriodRangeFilterFilterSensitiveLog = (obj) => ({
|
|
353
|
+
...obj,
|
|
354
|
+
});
|
|
355
|
+
export const ListCustomLineItemVersionsFilterFilterSensitiveLog = (obj) => ({
|
|
356
|
+
...obj,
|
|
357
|
+
});
|
|
358
|
+
export const ListCustomLineItemVersionsInputFilterSensitiveLog = (obj) => ({
|
|
359
|
+
...obj,
|
|
360
|
+
});
|
|
361
|
+
export const CustomLineItemVersionListElementFilterSensitiveLog = (obj) => ({
|
|
362
|
+
...obj,
|
|
363
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
364
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
365
|
+
});
|
|
366
|
+
export const ListCustomLineItemVersionsOutputFilterSensitiveLog = (obj) => ({
|
|
367
|
+
...obj,
|
|
368
|
+
...(obj.CustomLineItemVersions && {
|
|
369
|
+
CustomLineItemVersions: obj.CustomLineItemVersions.map((item) => CustomLineItemVersionListElementFilterSensitiveLog(item)),
|
|
370
|
+
}),
|
|
371
|
+
});
|
|
338
372
|
export const ListResourcesAssociatedToCustomLineItemFilterFilterSensitiveLog = (obj) => ({
|
|
339
373
|
...obj,
|
|
340
374
|
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Billingconductor } from "../Billingconductor";
|
|
2
|
+
import { BillingconductorClient } from "../BillingconductorClient";
|
|
3
|
+
import { ListCustomLineItemVersionsCommand, } from "../commands/ListCustomLineItemVersionsCommand";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListCustomLineItemVersionsCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listCustomLineItemVersions(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateListCustomLineItemVersions(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.NextToken = token;
|
|
16
|
+
input["MaxResults"] = config.pageSize;
|
|
17
|
+
if (config.client instanceof Billingconductor) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof BillingconductorClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected Billingconductor | BillingconductorClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.NextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
30
|
+
}
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
@@ -2,6 +2,7 @@ export * from "./Interfaces";
|
|
|
2
2
|
export * from "./ListAccountAssociationsPaginator";
|
|
3
3
|
export * from "./ListBillingGroupCostReportsPaginator";
|
|
4
4
|
export * from "./ListBillingGroupsPaginator";
|
|
5
|
+
export * from "./ListCustomLineItemVersionsPaginator";
|
|
5
6
|
export * from "./ListCustomLineItemsPaginator";
|
|
6
7
|
export * from "./ListPricingPlansAssociatedWithPricingRulePaginator";
|
|
7
8
|
export * from "./ListPricingPlansPaginator";
|
|
@@ -435,6 +435,31 @@ export const serializeAws_restJson1ListCustomLineItemsCommand = async (input, co
|
|
|
435
435
|
body,
|
|
436
436
|
});
|
|
437
437
|
};
|
|
438
|
+
export const serializeAws_restJson1ListCustomLineItemVersionsCommand = async (input, context) => {
|
|
439
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
440
|
+
const headers = {
|
|
441
|
+
"content-type": "application/json",
|
|
442
|
+
};
|
|
443
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-custom-line-item-versions";
|
|
444
|
+
let body;
|
|
445
|
+
body = JSON.stringify({
|
|
446
|
+
...(input.Arn != null && { Arn: input.Arn }),
|
|
447
|
+
...(input.Filters != null && {
|
|
448
|
+
Filters: serializeAws_restJson1ListCustomLineItemVersionsFilter(input.Filters, context),
|
|
449
|
+
}),
|
|
450
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
451
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
452
|
+
});
|
|
453
|
+
return new __HttpRequest({
|
|
454
|
+
protocol,
|
|
455
|
+
hostname,
|
|
456
|
+
port,
|
|
457
|
+
method: "POST",
|
|
458
|
+
headers,
|
|
459
|
+
path: resolvedPath,
|
|
460
|
+
body,
|
|
461
|
+
});
|
|
462
|
+
};
|
|
438
463
|
export const serializeAws_restJson1ListPricingPlansCommand = async (input, context) => {
|
|
439
464
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
440
465
|
const headers = {
|
|
@@ -1580,6 +1605,51 @@ const deserializeAws_restJson1ListCustomLineItemsCommandError = async (output, c
|
|
|
1580
1605
|
});
|
|
1581
1606
|
}
|
|
1582
1607
|
};
|
|
1608
|
+
export const deserializeAws_restJson1ListCustomLineItemVersionsCommand = async (output, context) => {
|
|
1609
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1610
|
+
return deserializeAws_restJson1ListCustomLineItemVersionsCommandError(output, context);
|
|
1611
|
+
}
|
|
1612
|
+
const contents = map({
|
|
1613
|
+
$metadata: deserializeMetadata(output),
|
|
1614
|
+
});
|
|
1615
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1616
|
+
if (data.CustomLineItemVersions != null) {
|
|
1617
|
+
contents.CustomLineItemVersions = deserializeAws_restJson1CustomLineItemVersionList(data.CustomLineItemVersions, context);
|
|
1618
|
+
}
|
|
1619
|
+
if (data.NextToken != null) {
|
|
1620
|
+
contents.NextToken = __expectString(data.NextToken);
|
|
1621
|
+
}
|
|
1622
|
+
return contents;
|
|
1623
|
+
};
|
|
1624
|
+
const deserializeAws_restJson1ListCustomLineItemVersionsCommandError = async (output, context) => {
|
|
1625
|
+
const parsedOutput = {
|
|
1626
|
+
...output,
|
|
1627
|
+
body: await parseErrorBody(output.body, context),
|
|
1628
|
+
};
|
|
1629
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1630
|
+
switch (errorCode) {
|
|
1631
|
+
case "AccessDeniedException":
|
|
1632
|
+
case "com.amazonaws.billingconductor#AccessDeniedException":
|
|
1633
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
1634
|
+
case "InternalServerException":
|
|
1635
|
+
case "com.amazonaws.billingconductor#InternalServerException":
|
|
1636
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
1637
|
+
case "ThrottlingException":
|
|
1638
|
+
case "com.amazonaws.billingconductor#ThrottlingException":
|
|
1639
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1640
|
+
case "ValidationException":
|
|
1641
|
+
case "com.amazonaws.billingconductor#ValidationException":
|
|
1642
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
1643
|
+
default:
|
|
1644
|
+
const parsedBody = parsedOutput.body;
|
|
1645
|
+
throwDefaultError({
|
|
1646
|
+
output,
|
|
1647
|
+
parsedBody,
|
|
1648
|
+
exceptionCtor: __BaseException,
|
|
1649
|
+
errorCode,
|
|
1650
|
+
});
|
|
1651
|
+
}
|
|
1652
|
+
};
|
|
1583
1653
|
export const deserializeAws_restJson1ListPricingPlansCommand = async (output, context) => {
|
|
1584
1654
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1585
1655
|
return deserializeAws_restJson1ListPricingPlansCommandError(output, context);
|
|
@@ -2250,6 +2320,9 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
|
|
|
2250
2320
|
if (data.Message != null) {
|
|
2251
2321
|
contents.Message = __expectString(data.Message);
|
|
2252
2322
|
}
|
|
2323
|
+
if (data.Reason != null) {
|
|
2324
|
+
contents.Reason = __expectString(data.Reason);
|
|
2325
|
+
}
|
|
2253
2326
|
if (data.ResourceId != null) {
|
|
2254
2327
|
contents.ResourceId = __expectString(data.ResourceId);
|
|
2255
2328
|
}
|
|
@@ -2475,6 +2548,19 @@ const serializeAws_restJson1ListCustomLineItemsFilter = (input, context) => {
|
|
|
2475
2548
|
...(input.Names != null && { Names: serializeAws_restJson1CustomLineItemNameList(input.Names, context) }),
|
|
2476
2549
|
};
|
|
2477
2550
|
};
|
|
2551
|
+
const serializeAws_restJson1ListCustomLineItemVersionsBillingPeriodRangeFilter = (input, context) => {
|
|
2552
|
+
return {
|
|
2553
|
+
...(input.EndBillingPeriod != null && { EndBillingPeriod: input.EndBillingPeriod }),
|
|
2554
|
+
...(input.StartBillingPeriod != null && { StartBillingPeriod: input.StartBillingPeriod }),
|
|
2555
|
+
};
|
|
2556
|
+
};
|
|
2557
|
+
const serializeAws_restJson1ListCustomLineItemVersionsFilter = (input, context) => {
|
|
2558
|
+
return {
|
|
2559
|
+
...(input.BillingPeriodRange != null && {
|
|
2560
|
+
BillingPeriodRange: serializeAws_restJson1ListCustomLineItemVersionsBillingPeriodRangeFilter(input.BillingPeriodRange, context),
|
|
2561
|
+
}),
|
|
2562
|
+
};
|
|
2563
|
+
};
|
|
2478
2564
|
const serializeAws_restJson1ListPricingPlansFilter = (input, context) => {
|
|
2479
2565
|
return {
|
|
2480
2566
|
...(input.Arns != null && { Arns: serializeAws_restJson1PricingPlanArns(input.Arns, context) }),
|
|
@@ -2671,6 +2757,34 @@ const deserializeAws_restJson1CustomLineItemListElement = (output, context) => {
|
|
|
2671
2757
|
ProductCode: __expectString(output.ProductCode),
|
|
2672
2758
|
};
|
|
2673
2759
|
};
|
|
2760
|
+
const deserializeAws_restJson1CustomLineItemVersionList = (output, context) => {
|
|
2761
|
+
const retVal = (output || [])
|
|
2762
|
+
.filter((e) => e != null)
|
|
2763
|
+
.map((entry) => {
|
|
2764
|
+
if (entry === null) {
|
|
2765
|
+
return null;
|
|
2766
|
+
}
|
|
2767
|
+
return deserializeAws_restJson1CustomLineItemVersionListElement(entry, context);
|
|
2768
|
+
});
|
|
2769
|
+
return retVal;
|
|
2770
|
+
};
|
|
2771
|
+
const deserializeAws_restJson1CustomLineItemVersionListElement = (output, context) => {
|
|
2772
|
+
return {
|
|
2773
|
+
AssociationSize: __expectLong(output.AssociationSize),
|
|
2774
|
+
BillingGroupArn: __expectString(output.BillingGroupArn),
|
|
2775
|
+
ChargeDetails: output.ChargeDetails != null
|
|
2776
|
+
? deserializeAws_restJson1ListCustomLineItemChargeDetails(output.ChargeDetails, context)
|
|
2777
|
+
: undefined,
|
|
2778
|
+
CreationTime: __expectLong(output.CreationTime),
|
|
2779
|
+
CurrencyCode: __expectString(output.CurrencyCode),
|
|
2780
|
+
Description: __expectString(output.Description),
|
|
2781
|
+
EndBillingPeriod: __expectString(output.EndBillingPeriod),
|
|
2782
|
+
LastModifiedTime: __expectLong(output.LastModifiedTime),
|
|
2783
|
+
Name: __expectString(output.Name),
|
|
2784
|
+
ProductCode: __expectString(output.ProductCode),
|
|
2785
|
+
StartBillingPeriod: __expectString(output.StartBillingPeriod),
|
|
2786
|
+
};
|
|
2787
|
+
};
|
|
2674
2788
|
const deserializeAws_restJson1DisassociateResourceResponseElement = (output, context) => {
|
|
2675
2789
|
return {
|
|
2676
2790
|
Arn: __expectString(output.Arn),
|
|
@@ -2712,6 +2826,7 @@ const deserializeAws_restJson1ListCustomLineItemPercentageChargeDetails = (outpu
|
|
|
2712
2826
|
const deserializeAws_restJson1ListResourcesAssociatedToCustomLineItemResponseElement = (output, context) => {
|
|
2713
2827
|
return {
|
|
2714
2828
|
Arn: __expectString(output.Arn),
|
|
2829
|
+
EndBillingPeriod: __expectString(output.EndBillingPeriod),
|
|
2715
2830
|
Relationship: __expectString(output.Relationship),
|
|
2716
2831
|
};
|
|
2717
2832
|
};
|
|
@@ -4,7 +4,6 @@ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-
|
|
|
4
4
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
6
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
7
|
-
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
8
7
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
9
8
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
9
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
@@ -20,8 +19,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
19
|
...config,
|
|
21
20
|
runtime: "browser",
|
|
22
21
|
defaultsMode,
|
|
23
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
24
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
25
22
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
26
23
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
24
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node";
|
|
|
6
6
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
7
7
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
8
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
-
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
10
9
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
11
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
12
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
@@ -24,8 +23,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
23
|
...config,
|
|
25
24
|
runtime: "node",
|
|
26
25
|
defaultsMode,
|
|
27
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
28
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
29
26
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
30
27
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
31
28
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
+
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
2
3
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
3
4
|
export const getRuntimeConfig = (config) => ({
|
|
4
5
|
apiVersion: "2021-07-30",
|
|
6
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
7
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
5
8
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
9
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
7
10
|
logger: config?.logger ?? {},
|
|
@@ -18,6 +18,7 @@ import { ListAccountAssociationsCommandInput, ListAccountAssociationsCommandOutp
|
|
|
18
18
|
import { ListBillingGroupCostReportsCommandInput, ListBillingGroupCostReportsCommandOutput } from "./commands/ListBillingGroupCostReportsCommand";
|
|
19
19
|
import { ListBillingGroupsCommandInput, ListBillingGroupsCommandOutput } from "./commands/ListBillingGroupsCommand";
|
|
20
20
|
import { ListCustomLineItemsCommandInput, ListCustomLineItemsCommandOutput } from "./commands/ListCustomLineItemsCommand";
|
|
21
|
+
import { ListCustomLineItemVersionsCommandInput, ListCustomLineItemVersionsCommandOutput } from "./commands/ListCustomLineItemVersionsCommand";
|
|
21
22
|
import { ListPricingPlansAssociatedWithPricingRuleCommandInput, ListPricingPlansAssociatedWithPricingRuleCommandOutput } from "./commands/ListPricingPlansAssociatedWithPricingRuleCommand";
|
|
22
23
|
import { ListPricingPlansCommandInput, ListPricingPlansCommandOutput } from "./commands/ListPricingPlansCommand";
|
|
23
24
|
import { ListPricingRulesAssociatedToPricingPlanCommandInput, ListPricingRulesAssociatedToPricingPlanCommandOutput } from "./commands/ListPricingRulesAssociatedToPricingPlanCommand";
|
|
@@ -32,7 +33,7 @@ import { UpdatePricingPlanCommandInput, UpdatePricingPlanCommandOutput } from ".
|
|
|
32
33
|
import { UpdatePricingRuleCommandInput, UpdatePricingRuleCommandOutput } from "./commands/UpdatePricingRuleCommand";
|
|
33
34
|
/**
|
|
34
35
|
* <p>Amazon Web Services Billing Conductor is a fully managed service that you can use
|
|
35
|
-
* to customize a <a href="https://docs.aws.amazon.com/
|
|
36
|
+
* 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
|
|
36
37
|
* your end customers. Amazon Web Services Billing Conductor doesn't change the way
|
|
37
38
|
* you're billed by Amazon Web Services each month by design. Instead, it provides you with a
|
|
38
39
|
* mechanism to configure, generate, and display rates to certain customers over a given billing
|
|
@@ -41,9 +42,8 @@ import { UpdatePricingRuleCommandInput, UpdatePricingRuleCommandOutput } from ".
|
|
|
41
42
|
* custom rate applied on the billing details page of the <a href="https://console.aws.amazon.com/billing">Amazon Web Services Billing console</a>, or configure a cost and usage report per
|
|
42
43
|
* billing group.</p>
|
|
43
44
|
* <p>This documentation shows how you can configure Amazon Web Services Billing Conductor using its
|
|
44
|
-
* API. For more information about using the <a href="https://console.aws.amazon.com/
|
|
45
|
-
* Billing Conductor</a> user interface, see the <a href="https://docs.aws.amazon.com/
|
|
46
|
-
* Billing Console User Guide</a>.</p>
|
|
45
|
+
* API. For more information about using the <a href="https://console.aws.amazon.com/billingconductor/">Amazon Web Services
|
|
46
|
+
* 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>
|
|
47
47
|
*/
|
|
48
48
|
export declare class Billingconductor extends BillingconductorClient {
|
|
49
49
|
/**
|
|
@@ -133,7 +133,7 @@ export declare class Billingconductor extends BillingconductorClient {
|
|
|
133
133
|
deletePricingPlan(args: DeletePricingPlanCommandInput, cb: (err: any, data?: DeletePricingPlanCommandOutput) => void): void;
|
|
134
134
|
deletePricingPlan(args: DeletePricingPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePricingPlanCommandOutput) => void): void;
|
|
135
135
|
/**
|
|
136
|
-
* <p> Deletes the pricing rule identified by the input Amazon Resource Name (ARN). </p>
|
|
136
|
+
* <p> Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN). </p>
|
|
137
137
|
*/
|
|
138
138
|
deletePricingRule(args: DeletePricingRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeletePricingRuleCommandOutput>;
|
|
139
139
|
deletePricingRule(args: DeletePricingRuleCommandInput, cb: (err: any, data?: DeletePricingRuleCommandOutput) => void): void;
|
|
@@ -153,14 +153,9 @@ export declare class Billingconductor extends BillingconductorClient {
|
|
|
153
153
|
disassociatePricingRules(args: DisassociatePricingRulesCommandInput, cb: (err: any, data?: DisassociatePricingRulesCommandOutput) => void): void;
|
|
154
154
|
disassociatePricingRules(args: DisassociatePricingRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociatePricingRulesCommandOutput) => void): void;
|
|
155
155
|
/**
|
|
156
|
-
* <p>
|
|
157
|
-
* <i>
|
|
158
|
-
* <b>Amazon Web Services Billing Conductor is in beta release and is subject to change. Your use of Amazon Web Services Billing Conductor is subject to the Beta Service Participation terms of the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Section 1.10).</b>
|
|
159
|
-
* </i>
|
|
160
|
-
* </p>
|
|
161
|
-
* <p> This is a paginated call to list linked accounts that are linked to the payer account for
|
|
156
|
+
* <p> This is a paginated call to list linked accounts that are linked to the payer account for
|
|
162
157
|
* the specified time period. If no information is provided, the current billing period is used.
|
|
163
|
-
* The response will optionally include the billing group associated with the linked
|
|
158
|
+
* The response will optionally include the billing group that's associated with the linked
|
|
164
159
|
* account.</p>
|
|
165
160
|
*/
|
|
166
161
|
listAccountAssociations(args: ListAccountAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListAccountAssociationsCommandOutput>;
|
|
@@ -187,6 +182,12 @@ export declare class Billingconductor extends BillingconductorClient {
|
|
|
187
182
|
listCustomLineItems(args: ListCustomLineItemsCommandInput, options?: __HttpHandlerOptions): Promise<ListCustomLineItemsCommandOutput>;
|
|
188
183
|
listCustomLineItems(args: ListCustomLineItemsCommandInput, cb: (err: any, data?: ListCustomLineItemsCommandOutput) => void): void;
|
|
189
184
|
listCustomLineItems(args: ListCustomLineItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCustomLineItemsCommandOutput) => void): void;
|
|
185
|
+
/**
|
|
186
|
+
* <p>A paginated call to get a list of all custom line item versions.</p>
|
|
187
|
+
*/
|
|
188
|
+
listCustomLineItemVersions(args: ListCustomLineItemVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListCustomLineItemVersionsCommandOutput>;
|
|
189
|
+
listCustomLineItemVersions(args: ListCustomLineItemVersionsCommandInput, cb: (err: any, data?: ListCustomLineItemVersionsCommandOutput) => void): void;
|
|
190
|
+
listCustomLineItemVersions(args: ListCustomLineItemVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCustomLineItemVersionsCommandOutput) => void): void;
|
|
190
191
|
/**
|
|
191
192
|
* <p>A paginated call to get pricing plans for the given billing period. If you don't provide a billing period, the current billing period is used.
|
|
192
193
|
* </p>
|
|
@@ -196,7 +197,7 @@ export declare class Billingconductor extends BillingconductorClient {
|
|
|
196
197
|
listPricingPlans(args: ListPricingPlansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPricingPlansCommandOutput) => void): void;
|
|
197
198
|
/**
|
|
198
199
|
* <p>
|
|
199
|
-
* A list of the pricing plans associated with a pricing rule.
|
|
200
|
+
* A list of the pricing plans that are associated with a pricing rule.
|
|
200
201
|
* </p>
|
|
201
202
|
*/
|
|
202
203
|
listPricingPlansAssociatedWithPricingRule(args: ListPricingPlansAssociatedWithPricingRuleCommandInput, options?: __HttpHandlerOptions): Promise<ListPricingPlansAssociatedWithPricingRuleCommandOutput>;
|
|
@@ -212,7 +213,7 @@ export declare class Billingconductor extends BillingconductorClient {
|
|
|
212
213
|
listPricingRules(args: ListPricingRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPricingRulesCommandOutput) => void): void;
|
|
213
214
|
/**
|
|
214
215
|
* <p>
|
|
215
|
-
* Lists the pricing rules associated with a pricing plan.
|
|
216
|
+
* Lists the pricing rules that are associated with a pricing plan.
|
|
216
217
|
* </p>
|
|
217
218
|
*/
|
|
218
219
|
listPricingRulesAssociatedToPricingPlan(args: ListPricingRulesAssociatedToPricingPlanCommandInput, options?: __HttpHandlerOptions): Promise<ListPricingRulesAssociatedToPricingPlanCommandOutput>;
|
|
@@ -220,7 +221,7 @@ export declare class Billingconductor extends BillingconductorClient {
|
|
|
220
221
|
listPricingRulesAssociatedToPricingPlan(args: ListPricingRulesAssociatedToPricingPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPricingRulesAssociatedToPricingPlanCommandOutput) => void): void;
|
|
221
222
|
/**
|
|
222
223
|
* <p>
|
|
223
|
-
* List the resources associated to a custom line item.
|
|
224
|
+
* List the resources that are associated to a custom line item.
|
|
224
225
|
* </p>
|
|
225
226
|
*/
|
|
226
227
|
listResourcesAssociatedToCustomLineItem(args: ListResourcesAssociatedToCustomLineItemCommandInput, options?: __HttpHandlerOptions): Promise<ListResourcesAssociatedToCustomLineItemCommandOutput>;
|
|
@@ -25,6 +25,7 @@ import { ListAccountAssociationsCommandInput, ListAccountAssociationsCommandOutp
|
|
|
25
25
|
import { ListBillingGroupCostReportsCommandInput, ListBillingGroupCostReportsCommandOutput } from "./commands/ListBillingGroupCostReportsCommand";
|
|
26
26
|
import { ListBillingGroupsCommandInput, ListBillingGroupsCommandOutput } from "./commands/ListBillingGroupsCommand";
|
|
27
27
|
import { ListCustomLineItemsCommandInput, ListCustomLineItemsCommandOutput } from "./commands/ListCustomLineItemsCommand";
|
|
28
|
+
import { ListCustomLineItemVersionsCommandInput, ListCustomLineItemVersionsCommandOutput } from "./commands/ListCustomLineItemVersionsCommand";
|
|
28
29
|
import { ListPricingPlansAssociatedWithPricingRuleCommandInput, ListPricingPlansAssociatedWithPricingRuleCommandOutput } from "./commands/ListPricingPlansAssociatedWithPricingRuleCommand";
|
|
29
30
|
import { ListPricingPlansCommandInput, ListPricingPlansCommandOutput } from "./commands/ListPricingPlansCommand";
|
|
30
31
|
import { ListPricingRulesAssociatedToPricingPlanCommandInput, ListPricingRulesAssociatedToPricingPlanCommandOutput } from "./commands/ListPricingRulesAssociatedToPricingPlanCommand";
|
|
@@ -38,8 +39,8 @@ import { UpdateCustomLineItemCommandInput, UpdateCustomLineItemCommandOutput } f
|
|
|
38
39
|
import { UpdatePricingPlanCommandInput, UpdatePricingPlanCommandOutput } from "./commands/UpdatePricingPlanCommand";
|
|
39
40
|
import { UpdatePricingRuleCommandInput, UpdatePricingRuleCommandOutput } from "./commands/UpdatePricingRuleCommand";
|
|
40
41
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
41
|
-
export declare type ServiceInputTypes = AssociateAccountsCommandInput | AssociatePricingRulesCommandInput | BatchAssociateResourcesToCustomLineItemCommandInput | BatchDisassociateResourcesFromCustomLineItemCommandInput | CreateBillingGroupCommandInput | CreateCustomLineItemCommandInput | CreatePricingPlanCommandInput | CreatePricingRuleCommandInput | DeleteBillingGroupCommandInput | DeleteCustomLineItemCommandInput | DeletePricingPlanCommandInput | DeletePricingRuleCommandInput | DisassociateAccountsCommandInput | DisassociatePricingRulesCommandInput | ListAccountAssociationsCommandInput | ListBillingGroupCostReportsCommandInput | ListBillingGroupsCommandInput | ListCustomLineItemsCommandInput | ListPricingPlansAssociatedWithPricingRuleCommandInput | ListPricingPlansCommandInput | ListPricingRulesAssociatedToPricingPlanCommandInput | ListPricingRulesCommandInput | ListResourcesAssociatedToCustomLineItemCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBillingGroupCommandInput | UpdateCustomLineItemCommandInput | UpdatePricingPlanCommandInput | UpdatePricingRuleCommandInput;
|
|
42
|
-
export declare type ServiceOutputTypes = AssociateAccountsCommandOutput | AssociatePricingRulesCommandOutput | BatchAssociateResourcesToCustomLineItemCommandOutput | BatchDisassociateResourcesFromCustomLineItemCommandOutput | CreateBillingGroupCommandOutput | CreateCustomLineItemCommandOutput | CreatePricingPlanCommandOutput | CreatePricingRuleCommandOutput | DeleteBillingGroupCommandOutput | DeleteCustomLineItemCommandOutput | DeletePricingPlanCommandOutput | DeletePricingRuleCommandOutput | DisassociateAccountsCommandOutput | DisassociatePricingRulesCommandOutput | ListAccountAssociationsCommandOutput | ListBillingGroupCostReportsCommandOutput | ListBillingGroupsCommandOutput | ListCustomLineItemsCommandOutput | ListPricingPlansAssociatedWithPricingRuleCommandOutput | ListPricingPlansCommandOutput | ListPricingRulesAssociatedToPricingPlanCommandOutput | ListPricingRulesCommandOutput | ListResourcesAssociatedToCustomLineItemCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBillingGroupCommandOutput | UpdateCustomLineItemCommandOutput | UpdatePricingPlanCommandOutput | UpdatePricingRuleCommandOutput;
|
|
42
|
+
export declare type ServiceInputTypes = AssociateAccountsCommandInput | AssociatePricingRulesCommandInput | BatchAssociateResourcesToCustomLineItemCommandInput | BatchDisassociateResourcesFromCustomLineItemCommandInput | CreateBillingGroupCommandInput | CreateCustomLineItemCommandInput | CreatePricingPlanCommandInput | CreatePricingRuleCommandInput | DeleteBillingGroupCommandInput | DeleteCustomLineItemCommandInput | DeletePricingPlanCommandInput | DeletePricingRuleCommandInput | DisassociateAccountsCommandInput | DisassociatePricingRulesCommandInput | ListAccountAssociationsCommandInput | ListBillingGroupCostReportsCommandInput | ListBillingGroupsCommandInput | ListCustomLineItemVersionsCommandInput | ListCustomLineItemsCommandInput | ListPricingPlansAssociatedWithPricingRuleCommandInput | ListPricingPlansCommandInput | ListPricingRulesAssociatedToPricingPlanCommandInput | ListPricingRulesCommandInput | ListResourcesAssociatedToCustomLineItemCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBillingGroupCommandInput | UpdateCustomLineItemCommandInput | UpdatePricingPlanCommandInput | UpdatePricingRuleCommandInput;
|
|
43
|
+
export declare type ServiceOutputTypes = AssociateAccountsCommandOutput | AssociatePricingRulesCommandOutput | BatchAssociateResourcesToCustomLineItemCommandOutput | BatchDisassociateResourcesFromCustomLineItemCommandOutput | CreateBillingGroupCommandOutput | CreateCustomLineItemCommandOutput | CreatePricingPlanCommandOutput | CreatePricingRuleCommandOutput | DeleteBillingGroupCommandOutput | DeleteCustomLineItemCommandOutput | DeletePricingPlanCommandOutput | DeletePricingRuleCommandOutput | DisassociateAccountsCommandOutput | DisassociatePricingRulesCommandOutput | ListAccountAssociationsCommandOutput | ListBillingGroupCostReportsCommandOutput | ListBillingGroupsCommandOutput | ListCustomLineItemVersionsCommandOutput | ListCustomLineItemsCommandOutput | ListPricingPlansAssociatedWithPricingRuleCommandOutput | ListPricingPlansCommandOutput | ListPricingRulesAssociatedToPricingPlanCommandOutput | ListPricingRulesCommandOutput | ListResourcesAssociatedToCustomLineItemCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBillingGroupCommandOutput | UpdateCustomLineItemCommandOutput | UpdatePricingPlanCommandOutput | UpdatePricingRuleCommandOutput;
|
|
43
44
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
44
45
|
/**
|
|
45
46
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -154,7 +155,7 @@ export interface BillingconductorClientResolvedConfig extends BillingconductorCl
|
|
|
154
155
|
}
|
|
155
156
|
/**
|
|
156
157
|
* <p>Amazon Web Services Billing Conductor is a fully managed service that you can use
|
|
157
|
-
* to customize a <a href="https://docs.aws.amazon.com/
|
|
158
|
+
* 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
|
|
158
159
|
* your end customers. Amazon Web Services Billing Conductor doesn't change the way
|
|
159
160
|
* you're billed by Amazon Web Services each month by design. Instead, it provides you with a
|
|
160
161
|
* mechanism to configure, generate, and display rates to certain customers over a given billing
|
|
@@ -163,9 +164,8 @@ export interface BillingconductorClientResolvedConfig extends BillingconductorCl
|
|
|
163
164
|
* custom rate applied on the billing details page of the <a href="https://console.aws.amazon.com/billing">Amazon Web Services Billing console</a>, or configure a cost and usage report per
|
|
164
165
|
* billing group.</p>
|
|
165
166
|
* <p>This documentation shows how you can configure Amazon Web Services Billing Conductor using its
|
|
166
|
-
* API. For more information about using the <a href="https://console.aws.amazon.com/
|
|
167
|
-
* Billing Conductor</a> user interface, see the <a href="https://docs.aws.amazon.com/
|
|
168
|
-
* Billing Console User Guide</a>.</p>
|
|
167
|
+
* API. For more information about using the <a href="https://console.aws.amazon.com/billingconductor/">Amazon Web Services
|
|
168
|
+
* 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>
|
|
169
169
|
*/
|
|
170
170
|
export declare class BillingconductorClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BillingconductorClientResolvedConfig> {
|
|
171
171
|
/**
|
|
@@ -8,7 +8,7 @@ export interface DeletePricingRuleCommandInput extends DeletePricingRuleInput {
|
|
|
8
8
|
export interface DeletePricingRuleCommandOutput extends DeletePricingRuleOutput, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p> Deletes the pricing rule identified by the input Amazon Resource Name (ARN). </p>
|
|
11
|
+
* <p> Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN). </p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|
|
@@ -8,14 +8,9 @@ export interface ListAccountAssociationsCommandInput extends ListAccountAssociat
|
|
|
8
8
|
export interface ListAccountAssociationsCommandOutput extends ListAccountAssociationsOutput, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>
|
|
12
|
-
* <i>
|
|
13
|
-
* <b>Amazon Web Services Billing Conductor is in beta release and is subject to change. Your use of Amazon Web Services Billing Conductor is subject to the Beta Service Participation terms of the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Section 1.10).</b>
|
|
14
|
-
* </i>
|
|
15
|
-
* </p>
|
|
16
|
-
* <p> This is a paginated call to list linked accounts that are linked to the payer account for
|
|
11
|
+
* <p> This is a paginated call to list linked accounts that are linked to the payer account for
|
|
17
12
|
* the specified time period. If no information is provided, the current billing period is used.
|
|
18
|
-
* The response will optionally include the billing group associated with the linked
|
|
13
|
+
* The response will optionally include the billing group that's associated with the linked
|
|
19
14
|
* account.</p>
|
|
20
15
|
* @example
|
|
21
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { BillingconductorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BillingconductorClient";
|
|
5
|
+
import { ListCustomLineItemVersionsInput, ListCustomLineItemVersionsOutput } from "../models/models_0";
|
|
6
|
+
export interface ListCustomLineItemVersionsCommandInput extends ListCustomLineItemVersionsInput {
|
|
7
|
+
}
|
|
8
|
+
export interface ListCustomLineItemVersionsCommandOutput extends ListCustomLineItemVersionsOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>A paginated call to get a list of all custom line item versions.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { BillingconductorClient, ListCustomLineItemVersionsCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
16
|
+
* // const { BillingconductorClient, ListCustomLineItemVersionsCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
17
|
+
* const client = new BillingconductorClient(config);
|
|
18
|
+
* const command = new ListCustomLineItemVersionsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListCustomLineItemVersionsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListCustomLineItemVersionsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link BillingconductorClientResolvedConfig | config} for BillingconductorClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListCustomLineItemVersionsCommand extends $Command<ListCustomLineItemVersionsCommandInput, ListCustomLineItemVersionsCommandOutput, BillingconductorClientResolvedConfig> {
|
|
28
|
+
readonly input: ListCustomLineItemVersionsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListCustomLineItemVersionsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BillingconductorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListCustomLineItemVersionsCommandInput, ListCustomLineItemVersionsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -9,7 +9,7 @@ export interface ListPricingPlansAssociatedWithPricingRuleCommandOutput extends
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>
|
|
12
|
-
* A list of the pricing plans associated with a pricing rule.
|
|
12
|
+
* A list of the pricing plans that are associated with a pricing rule.
|
|
13
13
|
* </p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,7 +9,7 @@ export interface ListPricingRulesAssociatedToPricingPlanCommandOutput extends Li
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>
|
|
12
|
-
* Lists the pricing rules associated with a pricing plan.
|
|
12
|
+
* Lists the pricing rules that are associated with a pricing plan.
|
|
13
13
|
* </p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,7 +9,7 @@ export interface ListResourcesAssociatedToCustomLineItemCommandOutput extends Li
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>
|
|
12
|
-
* List the resources associated to a custom line item.
|
|
12
|
+
* List the resources that are associated to a custom line item.
|
|
13
13
|
* </p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|