@aws-sdk/client-billingconductor 3.55.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/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +215 -0
- package/dist-cjs/Billingconductor.js +457 -0
- package/dist-cjs/BillingconductorClient.js +35 -0
- package/dist-cjs/commands/AssociateAccountsCommand.js +36 -0
- package/dist-cjs/commands/AssociatePricingRulesCommand.js +36 -0
- package/dist-cjs/commands/BatchAssociateResourcesToCustomLineItemCommand.js +36 -0
- package/dist-cjs/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +36 -0
- package/dist-cjs/commands/CreateBillingGroupCommand.js +36 -0
- package/dist-cjs/commands/CreateCustomLineItemCommand.js +36 -0
- package/dist-cjs/commands/CreatePricingPlanCommand.js +36 -0
- package/dist-cjs/commands/CreatePricingRuleCommand.js +36 -0
- package/dist-cjs/commands/DeleteBillingGroupCommand.js +36 -0
- package/dist-cjs/commands/DeleteCustomLineItemCommand.js +36 -0
- package/dist-cjs/commands/DeletePricingPlanCommand.js +36 -0
- package/dist-cjs/commands/DeletePricingRuleCommand.js +36 -0
- package/dist-cjs/commands/DisassociateAccountsCommand.js +36 -0
- package/dist-cjs/commands/DisassociatePricingRulesCommand.js +36 -0
- package/dist-cjs/commands/ListAccountAssociationsCommand.js +36 -0
- package/dist-cjs/commands/ListBillingGroupCostReportsCommand.js +36 -0
- package/dist-cjs/commands/ListBillingGroupsCommand.js +36 -0
- package/dist-cjs/commands/ListCustomLineItemsCommand.js +36 -0
- package/dist-cjs/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +36 -0
- package/dist-cjs/commands/ListPricingPlansCommand.js +36 -0
- package/dist-cjs/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +36 -0
- package/dist-cjs/commands/ListPricingRulesCommand.js +36 -0
- package/dist-cjs/commands/ListResourcesAssociatedToCustomLineItemCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateBillingGroupCommand.js +36 -0
- package/dist-cjs/commands/UpdateCustomLineItemCommand.js +36 -0
- package/dist-cjs/commands/UpdatePricingPlanCommand.js +36 -0
- package/dist-cjs/commands/UpdatePricingRuleCommand.js +36 -0
- package/dist-cjs/commands/index.js +33 -0
- package/dist-cjs/endpoints.js +131 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/BillingconductorServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +792 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAccountAssociationsPaginator.js +34 -0
- package/dist-cjs/pagination/ListBillingGroupCostReportsPaginator.js +35 -0
- package/dist-cjs/pagination/ListBillingGroupsPaginator.js +35 -0
- package/dist-cjs/pagination/ListCustomLineItemsPaginator.js +35 -0
- package/dist-cjs/pagination/ListPricingPlansAssociatedWithPricingRulePaginator.js +35 -0
- package/dist-cjs/pagination/ListPricingPlansPaginator.js +35 -0
- package/dist-cjs/pagination/ListPricingRulesAssociatedToPricingPlanPaginator.js +35 -0
- package/dist-cjs/pagination/ListPricingRulesPaginator.js +35 -0
- package/dist-cjs/pagination/ListResourcesAssociatedToCustomLineItemPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +13 -0
- package/dist-cjs/protocols/Aws_restJson1.js +3178 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/Billingconductor.js +460 -0
- package/dist-es/BillingconductorClient.js +37 -0
- package/dist-es/commands/AssociateAccountsCommand.js +39 -0
- package/dist-es/commands/AssociatePricingRulesCommand.js +39 -0
- package/dist-es/commands/BatchAssociateResourcesToCustomLineItemCommand.js +39 -0
- package/dist-es/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +39 -0
- package/dist-es/commands/CreateBillingGroupCommand.js +39 -0
- package/dist-es/commands/CreateCustomLineItemCommand.js +39 -0
- package/dist-es/commands/CreatePricingPlanCommand.js +39 -0
- package/dist-es/commands/CreatePricingRuleCommand.js +39 -0
- package/dist-es/commands/DeleteBillingGroupCommand.js +39 -0
- package/dist-es/commands/DeleteCustomLineItemCommand.js +39 -0
- package/dist-es/commands/DeletePricingPlanCommand.js +39 -0
- package/dist-es/commands/DeletePricingRuleCommand.js +39 -0
- package/dist-es/commands/DisassociateAccountsCommand.js +39 -0
- package/dist-es/commands/DisassociatePricingRulesCommand.js +39 -0
- package/dist-es/commands/ListAccountAssociationsCommand.js +39 -0
- package/dist-es/commands/ListBillingGroupCostReportsCommand.js +39 -0
- package/dist-es/commands/ListBillingGroupsCommand.js +39 -0
- package/dist-es/commands/ListCustomLineItemsCommand.js +39 -0
- package/dist-es/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +39 -0
- package/dist-es/commands/ListPricingPlansCommand.js +39 -0
- package/dist-es/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +39 -0
- package/dist-es/commands/ListPricingRulesCommand.js +39 -0
- package/dist-es/commands/ListResourcesAssociatedToCustomLineItemCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateBillingGroupCommand.js +39 -0
- package/dist-es/commands/UpdateCustomLineItemCommand.js +39 -0
- package/dist-es/commands/UpdatePricingPlanCommand.js +39 -0
- package/dist-es/commands/UpdatePricingRuleCommand.js +39 -0
- package/dist-es/commands/index.js +30 -0
- package/dist-es/endpoints.js +127 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/BillingconductorServiceException.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +560 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAccountAssociationsPaginator.js +73 -0
- package/dist-es/pagination/ListBillingGroupCostReportsPaginator.js +74 -0
- package/dist-es/pagination/ListBillingGroupsPaginator.js +74 -0
- package/dist-es/pagination/ListCustomLineItemsPaginator.js +74 -0
- package/dist-es/pagination/ListPricingPlansAssociatedWithPricingRulePaginator.js +74 -0
- package/dist-es/pagination/ListPricingPlansPaginator.js +74 -0
- package/dist-es/pagination/ListPricingRulesAssociatedToPricingPlanPaginator.js +74 -0
- package/dist-es/pagination/ListPricingRulesPaginator.js +74 -0
- package/dist-es/pagination/ListResourcesAssociatedToCustomLineItemPaginator.js +74 -0
- package/dist-es/pagination/index.js +10 -0
- package/dist-es/protocols/Aws_restJson1.js +3850 -0
- package/dist-es/runtimeConfig.browser.js +26 -0
- package/dist-es/runtimeConfig.js +28 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/Billingconductor.d.ts +283 -0
- package/dist-types/BillingconductorClient.d.ts +186 -0
- package/dist-types/commands/AssociateAccountsCommand.d.ts +38 -0
- package/dist-types/commands/AssociatePricingRulesCommand.d.ts +36 -0
- package/dist-types/commands/BatchAssociateResourcesToCustomLineItemCommand.d.ts +37 -0
- package/dist-types/commands/BatchDisassociateResourcesFromCustomLineItemCommand.d.ts +37 -0
- package/dist-types/commands/CreateBillingGroupCommand.d.ts +37 -0
- package/dist-types/commands/CreateCustomLineItemCommand.d.ts +37 -0
- package/dist-types/commands/CreatePricingPlanCommand.d.ts +36 -0
- package/dist-types/commands/CreatePricingRuleCommand.d.ts +37 -0
- package/dist-types/commands/DeleteBillingGroupCommand.d.ts +37 -0
- package/dist-types/commands/DeleteCustomLineItemCommand.d.ts +37 -0
- package/dist-types/commands/DeletePricingPlanCommand.d.ts +36 -0
- package/dist-types/commands/DeletePricingRuleCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateAccountsCommand.d.ts +35 -0
- package/dist-types/commands/DisassociatePricingRulesCommand.d.ts +37 -0
- package/dist-types/commands/ListAccountAssociationsCommand.d.ts +43 -0
- package/dist-types/commands/ListBillingGroupCostReportsCommand.d.ts +36 -0
- package/dist-types/commands/ListBillingGroupsCommand.d.ts +35 -0
- package/dist-types/commands/ListCustomLineItemsCommand.d.ts +37 -0
- package/dist-types/commands/ListPricingPlansAssociatedWithPricingRuleCommand.d.ts +37 -0
- package/dist-types/commands/ListPricingPlansCommand.d.ts +36 -0
- package/dist-types/commands/ListPricingRulesAssociatedToPricingPlanCommand.d.ts +37 -0
- package/dist-types/commands/ListPricingRulesCommand.d.ts +37 -0
- package/dist-types/commands/ListResourcesAssociatedToCustomLineItemCommand.d.ts +37 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
- package/dist-types/commands/TagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UpdateBillingGroupCommand.d.ts +36 -0
- package/dist-types/commands/UpdateCustomLineItemCommand.d.ts +37 -0
- package/dist-types/commands/UpdatePricingPlanCommand.d.ts +36 -0
- package/dist-types/commands/UpdatePricingRuleCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +30 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/BillingconductorServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2576 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListAccountAssociationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListBillingGroupCostReportsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListBillingGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListCustomLineItemsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListPricingPlansAssociatedWithPricingRulePaginator.d.ts +4 -0
- package/dist-types/pagination/ListPricingPlansPaginator.d.ts +4 -0
- package/dist-types/pagination/ListPricingRulesAssociatedToPricingPlanPaginator.d.ts +4 -0
- package/dist-types/pagination/ListPricingRulesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListResourcesAssociatedToCustomLineItemPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +10 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +92 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/Billingconductor.d.ts +155 -0
- package/dist-types/ts3.4/BillingconductorClient.d.ts +103 -0
- package/dist-types/ts3.4/commands/AssociateAccountsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociatePricingRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchAssociateResourcesToCustomLineItemCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchDisassociateResourcesFromCustomLineItemCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateBillingGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateCustomLineItemCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePricingPlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePricingRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBillingGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCustomLineItemCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePricingPlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePricingRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateAccountsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociatePricingRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAccountAssociationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBillingGroupCostReportsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBillingGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCustomLineItemsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPricingPlansAssociatedWithPricingRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPricingPlansCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPricingRulesAssociatedToPricingPlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPricingRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListResourcesAssociatedToCustomLineItemCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateBillingGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateCustomLineItemCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePricingPlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePricingRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +30 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/BillingconductorServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1266 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAccountAssociationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListBillingGroupCostReportsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListBillingGroupsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListCustomLineItemsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPricingPlansAssociatedWithPricingRulePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPricingPlansPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPricingRulesAssociatedToPricingPlanPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPricingRulesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListResourcesAssociatedToCustomLineItemPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +92 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +95 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListAccountAssociations = void 0;
|
|
4
|
+
const Billingconductor_1 = require("../Billingconductor");
|
|
5
|
+
const BillingconductorClient_1 = require("../BillingconductorClient");
|
|
6
|
+
const ListAccountAssociationsCommand_1 = require("../commands/ListAccountAssociationsCommand");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListAccountAssociationsCommand_1.ListAccountAssociationsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listAccountAssociations(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListAccountAssociations(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
if (config.client instanceof Billingconductor_1.Billingconductor) {
|
|
20
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
21
|
+
}
|
|
22
|
+
else if (config.client instanceof BillingconductorClient_1.BillingconductorClient) {
|
|
23
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
throw new Error("Invalid client, expected Billingconductor | BillingconductorClient");
|
|
27
|
+
}
|
|
28
|
+
yield page;
|
|
29
|
+
token = page.NextToken;
|
|
30
|
+
hasNext = !!token;
|
|
31
|
+
}
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
exports.paginateListAccountAssociations = paginateListAccountAssociations;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListBillingGroupCostReports = void 0;
|
|
4
|
+
const Billingconductor_1 = require("../Billingconductor");
|
|
5
|
+
const BillingconductorClient_1 = require("../BillingconductorClient");
|
|
6
|
+
const ListBillingGroupCostReportsCommand_1 = require("../commands/ListBillingGroupCostReportsCommand");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListBillingGroupCostReportsCommand_1.ListBillingGroupCostReportsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listBillingGroupCostReports(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListBillingGroupCostReports(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Billingconductor_1.Billingconductor) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof BillingconductorClient_1.BillingconductorClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Billingconductor | BillingconductorClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.NextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListBillingGroupCostReports = paginateListBillingGroupCostReports;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListBillingGroups = void 0;
|
|
4
|
+
const Billingconductor_1 = require("../Billingconductor");
|
|
5
|
+
const BillingconductorClient_1 = require("../BillingconductorClient");
|
|
6
|
+
const ListBillingGroupsCommand_1 = require("../commands/ListBillingGroupsCommand");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListBillingGroupsCommand_1.ListBillingGroupsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listBillingGroups(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListBillingGroups(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Billingconductor_1.Billingconductor) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof BillingconductorClient_1.BillingconductorClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Billingconductor | BillingconductorClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.NextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListBillingGroups = paginateListBillingGroups;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListCustomLineItems = void 0;
|
|
4
|
+
const Billingconductor_1 = require("../Billingconductor");
|
|
5
|
+
const BillingconductorClient_1 = require("../BillingconductorClient");
|
|
6
|
+
const ListCustomLineItemsCommand_1 = require("../commands/ListCustomLineItemsCommand");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListCustomLineItemsCommand_1.ListCustomLineItemsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listCustomLineItems(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListCustomLineItems(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Billingconductor_1.Billingconductor) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof BillingconductorClient_1.BillingconductorClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Billingconductor | BillingconductorClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.NextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListCustomLineItems = paginateListCustomLineItems;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListPricingPlansAssociatedWithPricingRule = void 0;
|
|
4
|
+
const Billingconductor_1 = require("../Billingconductor");
|
|
5
|
+
const BillingconductorClient_1 = require("../BillingconductorClient");
|
|
6
|
+
const ListPricingPlansAssociatedWithPricingRuleCommand_1 = require("../commands/ListPricingPlansAssociatedWithPricingRuleCommand");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListPricingPlansAssociatedWithPricingRuleCommand_1.ListPricingPlansAssociatedWithPricingRuleCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listPricingPlansAssociatedWithPricingRule(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListPricingPlansAssociatedWithPricingRule(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Billingconductor_1.Billingconductor) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof BillingconductorClient_1.BillingconductorClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Billingconductor | BillingconductorClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.NextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListPricingPlansAssociatedWithPricingRule = paginateListPricingPlansAssociatedWithPricingRule;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListPricingPlans = void 0;
|
|
4
|
+
const Billingconductor_1 = require("../Billingconductor");
|
|
5
|
+
const BillingconductorClient_1 = require("../BillingconductorClient");
|
|
6
|
+
const ListPricingPlansCommand_1 = require("../commands/ListPricingPlansCommand");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListPricingPlansCommand_1.ListPricingPlansCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listPricingPlans(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListPricingPlans(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Billingconductor_1.Billingconductor) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof BillingconductorClient_1.BillingconductorClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Billingconductor | BillingconductorClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.NextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListPricingPlans = paginateListPricingPlans;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListPricingRulesAssociatedToPricingPlan = void 0;
|
|
4
|
+
const Billingconductor_1 = require("../Billingconductor");
|
|
5
|
+
const BillingconductorClient_1 = require("../BillingconductorClient");
|
|
6
|
+
const ListPricingRulesAssociatedToPricingPlanCommand_1 = require("../commands/ListPricingRulesAssociatedToPricingPlanCommand");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListPricingRulesAssociatedToPricingPlanCommand_1.ListPricingRulesAssociatedToPricingPlanCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listPricingRulesAssociatedToPricingPlan(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListPricingRulesAssociatedToPricingPlan(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Billingconductor_1.Billingconductor) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof BillingconductorClient_1.BillingconductorClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Billingconductor | BillingconductorClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.NextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListPricingRulesAssociatedToPricingPlan = paginateListPricingRulesAssociatedToPricingPlan;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListPricingRules = void 0;
|
|
4
|
+
const Billingconductor_1 = require("../Billingconductor");
|
|
5
|
+
const BillingconductorClient_1 = require("../BillingconductorClient");
|
|
6
|
+
const ListPricingRulesCommand_1 = require("../commands/ListPricingRulesCommand");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListPricingRulesCommand_1.ListPricingRulesCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listPricingRules(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListPricingRules(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Billingconductor_1.Billingconductor) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof BillingconductorClient_1.BillingconductorClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Billingconductor | BillingconductorClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.NextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListPricingRules = paginateListPricingRules;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListResourcesAssociatedToCustomLineItem = void 0;
|
|
4
|
+
const Billingconductor_1 = require("../Billingconductor");
|
|
5
|
+
const BillingconductorClient_1 = require("../BillingconductorClient");
|
|
6
|
+
const ListResourcesAssociatedToCustomLineItemCommand_1 = require("../commands/ListResourcesAssociatedToCustomLineItemCommand");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListResourcesAssociatedToCustomLineItemCommand_1.ListResourcesAssociatedToCustomLineItemCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listResourcesAssociatedToCustomLineItem(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListResourcesAssociatedToCustomLineItem(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Billingconductor_1.Billingconductor) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof BillingconductorClient_1.BillingconductorClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Billingconductor | BillingconductorClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.NextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListResourcesAssociatedToCustomLineItem = paginateListResourcesAssociatedToCustomLineItem;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListAccountAssociationsPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListBillingGroupCostReportsPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListBillingGroupsPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListCustomLineItemsPaginator"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListPricingPlansAssociatedWithPricingRulePaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListPricingPlansPaginator"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./ListPricingRulesAssociatedToPricingPlanPaginator"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./ListPricingRulesPaginator"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./ListResourcesAssociatedToCustomLineItemPaginator"), exports);
|