@aws-sdk/client-billingconductor 3.299.0 → 3.300.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-types/commands/AssociateAccountsCommand.d.ts +6 -0
- package/dist-types/commands/AssociatePricingRulesCommand.d.ts +6 -0
- package/dist-types/commands/BatchAssociateResourcesToCustomLineItemCommand.d.ts +10 -0
- package/dist-types/commands/BatchDisassociateResourcesFromCustomLineItemCommand.d.ts +10 -0
- package/dist-types/commands/CreateBillingGroupCommand.d.ts +17 -0
- package/dist-types/commands/CreateCustomLineItemCommand.d.ts +25 -0
- package/dist-types/commands/CreatePricingPlanCommand.d.ts +11 -0
- package/dist-types/commands/CreatePricingRuleCommand.d.ts +20 -0
- package/dist-types/commands/DeleteBillingGroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteCustomLineItemCommand.d.ts +7 -0
- package/dist-types/commands/DeletePricingPlanCommand.d.ts +3 -0
- package/dist-types/commands/DeletePricingRuleCommand.d.ts +3 -0
- package/dist-types/commands/DisassociateAccountsCommand.d.ts +6 -0
- package/dist-types/commands/DisassociatePricingRulesCommand.d.ts +6 -0
- package/dist-types/commands/ListAccountAssociationsCommand.d.ts +11 -0
- package/dist-types/commands/ListBillingGroupCostReportsCommand.d.ts +10 -0
- package/dist-types/commands/ListBillingGroupsCommand.d.ts +14 -0
- package/dist-types/commands/ListCustomLineItemVersionsCommand.d.ts +11 -0
- package/dist-types/commands/ListCustomLineItemsCommand.d.ts +16 -0
- package/dist-types/commands/ListPricingPlansAssociatedWithPricingRuleCommand.d.ts +6 -0
- package/dist-types/commands/ListPricingPlansCommand.d.ts +10 -0
- package/dist-types/commands/ListPricingRulesAssociatedToPricingPlanCommand.d.ts +6 -0
- package/dist-types/commands/ListPricingRulesCommand.d.ts +10 -0
- package/dist-types/commands/ListResourcesAssociatedToCustomLineItemCommand.d.ts +9 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateBillingGroupCommand.d.ts +9 -0
- package/dist-types/commands/UpdateCustomLineItemCommand.d.ts +17 -0
- package/dist-types/commands/UpdatePricingPlanCommand.d.ts +5 -0
- package/dist-types/commands/UpdatePricingRuleCommand.d.ts +12 -0
- package/package.json +8 -8
|
@@ -29,6 +29,12 @@ export interface AssociateAccountsCommandOutput extends AssociateAccountsOutput,
|
|
|
29
29
|
* import { BillingconductorClient, AssociateAccountsCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
30
30
|
* // const { BillingconductorClient, AssociateAccountsCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
31
31
|
* const client = new BillingconductorClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* Arn: "STRING_VALUE", // required
|
|
34
|
+
* AccountIds: [ // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
32
38
|
* const command = new AssociateAccountsCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface AssociatePricingRulesCommandOutput extends AssociatePricingRule
|
|
|
27
27
|
* import { BillingconductorClient, AssociatePricingRulesCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
28
28
|
* // const { BillingconductorClient, AssociatePricingRulesCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
29
29
|
* const client = new BillingconductorClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Arn: "STRING_VALUE", // required
|
|
32
|
+
* PricingRuleArns: [ // required
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* };
|
|
30
36
|
* const command = new AssociatePricingRulesCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -28,6 +28,16 @@ export interface BatchAssociateResourcesToCustomLineItemCommandOutput extends Ba
|
|
|
28
28
|
* import { BillingconductorClient, BatchAssociateResourcesToCustomLineItemCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
29
29
|
* // const { BillingconductorClient, BatchAssociateResourcesToCustomLineItemCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
30
30
|
* const client = new BillingconductorClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* TargetArn: "STRING_VALUE", // required
|
|
33
|
+
* ResourceArns: [ // required
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* BillingPeriodRange: {
|
|
37
|
+
* InclusiveStartBillingPeriod: "STRING_VALUE", // required
|
|
38
|
+
* ExclusiveEndBillingPeriod: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
31
41
|
* const command = new BatchAssociateResourcesToCustomLineItemCommand(input);
|
|
32
42
|
* const response = await client.send(command);
|
|
33
43
|
* ```
|
|
@@ -28,6 +28,16 @@ export interface BatchDisassociateResourcesFromCustomLineItemCommandOutput exten
|
|
|
28
28
|
* import { BillingconductorClient, BatchDisassociateResourcesFromCustomLineItemCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
29
29
|
* // const { BillingconductorClient, BatchDisassociateResourcesFromCustomLineItemCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
30
30
|
* const client = new BillingconductorClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* TargetArn: "STRING_VALUE", // required
|
|
33
|
+
* ResourceArns: [ // required
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* BillingPeriodRange: {
|
|
37
|
+
* InclusiveStartBillingPeriod: "STRING_VALUE", // required
|
|
38
|
+
* ExclusiveEndBillingPeriod: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
31
41
|
* const command = new BatchDisassociateResourcesFromCustomLineItemCommand(input);
|
|
32
42
|
* const response = await client.send(command);
|
|
33
43
|
* ```
|
|
@@ -28,6 +28,23 @@ export interface CreateBillingGroupCommandOutput extends CreateBillingGroupOutpu
|
|
|
28
28
|
* import { BillingconductorClient, CreateBillingGroupCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
29
29
|
* // const { BillingconductorClient, CreateBillingGroupCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
30
30
|
* const client = new BillingconductorClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ClientToken: "STRING_VALUE",
|
|
33
|
+
* Name: "STRING_VALUE", // required
|
|
34
|
+
* AccountGrouping: {
|
|
35
|
+
* LinkedAccountIds: [ // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* ComputationPreference: {
|
|
40
|
+
* PricingPlanArn: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* PrimaryAccountId: "STRING_VALUE",
|
|
43
|
+
* Description: "STRING_VALUE",
|
|
44
|
+
* Tags: {
|
|
45
|
+
* "<keys>": "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* };
|
|
31
48
|
* const command = new CreateBillingGroupCommand(input);
|
|
32
49
|
* const response = await client.send(command);
|
|
33
50
|
* ```
|
|
@@ -28,6 +28,31 @@ export interface CreateCustomLineItemCommandOutput extends CreateCustomLineItemO
|
|
|
28
28
|
* import { BillingconductorClient, CreateCustomLineItemCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
29
29
|
* // const { BillingconductorClient, CreateCustomLineItemCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
30
30
|
* const client = new BillingconductorClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ClientToken: "STRING_VALUE",
|
|
33
|
+
* Name: "STRING_VALUE", // required
|
|
34
|
+
* Description: "STRING_VALUE", // required
|
|
35
|
+
* BillingGroupArn: "STRING_VALUE", // required
|
|
36
|
+
* BillingPeriodRange: {
|
|
37
|
+
* InclusiveStartBillingPeriod: "STRING_VALUE", // required
|
|
38
|
+
* ExclusiveEndBillingPeriod: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* Tags: {
|
|
41
|
+
* "<keys>": "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* ChargeDetails: {
|
|
44
|
+
* Flat: {
|
|
45
|
+
* ChargeValue: Number("double"), // required
|
|
46
|
+
* },
|
|
47
|
+
* Percentage: {
|
|
48
|
+
* PercentageValue: Number("double"), // required
|
|
49
|
+
* AssociatedValues: [
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* },
|
|
53
|
+
* Type: "STRING_VALUE", // required
|
|
54
|
+
* },
|
|
55
|
+
* };
|
|
31
56
|
* const command = new CreateCustomLineItemCommand(input);
|
|
32
57
|
* const response = await client.send(command);
|
|
33
58
|
* ```
|
|
@@ -27,6 +27,17 @@ export interface CreatePricingPlanCommandOutput extends CreatePricingPlanOutput,
|
|
|
27
27
|
* import { BillingconductorClient, CreatePricingPlanCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
28
28
|
* // const { BillingconductorClient, CreatePricingPlanCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
29
29
|
* const client = new BillingconductorClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ClientToken: "STRING_VALUE",
|
|
32
|
+
* Name: "STRING_VALUE", // required
|
|
33
|
+
* Description: "STRING_VALUE",
|
|
34
|
+
* PricingRuleArns: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* Tags: {
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
30
41
|
* const command = new CreatePricingPlanCommand(input);
|
|
31
42
|
* const response = await client.send(command);
|
|
32
43
|
* ```
|
|
@@ -28,6 +28,26 @@ export interface CreatePricingRuleCommandOutput extends CreatePricingRuleOutput,
|
|
|
28
28
|
* import { BillingconductorClient, CreatePricingRuleCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
29
29
|
* // const { BillingconductorClient, CreatePricingRuleCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
30
30
|
* const client = new BillingconductorClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ClientToken: "STRING_VALUE",
|
|
33
|
+
* Name: "STRING_VALUE", // required
|
|
34
|
+
* Description: "STRING_VALUE",
|
|
35
|
+
* Scope: "STRING_VALUE", // required
|
|
36
|
+
* Type: "STRING_VALUE", // required
|
|
37
|
+
* ModifierPercentage: Number("double"),
|
|
38
|
+
* Service: "STRING_VALUE",
|
|
39
|
+
* Tags: {
|
|
40
|
+
* "<keys>": "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* BillingEntity: "STRING_VALUE",
|
|
43
|
+
* Tiering: {
|
|
44
|
+
* FreeTier: {
|
|
45
|
+
* Activated: true || false, // required
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* UsageType: "STRING_VALUE",
|
|
49
|
+
* Operation: "STRING_VALUE",
|
|
50
|
+
* };
|
|
31
51
|
* const command = new CreatePricingRuleCommand(input);
|
|
32
52
|
* const response = await client.send(command);
|
|
33
53
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteBillingGroupCommandOutput extends DeleteBillingGroupOutpu
|
|
|
28
28
|
* import { BillingconductorClient, DeleteBillingGroupCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
29
29
|
* // const { BillingconductorClient, DeleteBillingGroupCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
30
30
|
* const client = new BillingconductorClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Arn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteBillingGroupCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,13 @@ export interface DeleteCustomLineItemCommandOutput extends DeleteCustomLineItemO
|
|
|
28
28
|
* import { BillingconductorClient, DeleteCustomLineItemCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
29
29
|
* // const { BillingconductorClient, DeleteCustomLineItemCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
30
30
|
* const client = new BillingconductorClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Arn: "STRING_VALUE", // required
|
|
33
|
+
* BillingPeriodRange: {
|
|
34
|
+
* InclusiveStartBillingPeriod: "STRING_VALUE", // required
|
|
35
|
+
* ExclusiveEndBillingPeriod: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
31
38
|
* const command = new DeleteCustomLineItemCommand(input);
|
|
32
39
|
* const response = await client.send(command);
|
|
33
40
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeletePricingPlanCommandOutput extends DeletePricingPlanOutput,
|
|
|
27
27
|
* import { BillingconductorClient, DeletePricingPlanCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
28
28
|
* // const { BillingconductorClient, DeletePricingPlanCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
29
29
|
* const client = new BillingconductorClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Arn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeletePricingPlanCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeletePricingRuleCommandOutput extends DeletePricingRuleOutput,
|
|
|
26
26
|
* import { BillingconductorClient, DeletePricingRuleCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
27
27
|
* // const { BillingconductorClient, DeletePricingRuleCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
28
28
|
* const client = new BillingconductorClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Arn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeletePricingRuleCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface DisassociateAccountsCommandOutput extends DisassociateAccountsO
|
|
|
26
26
|
* import { BillingconductorClient, DisassociateAccountsCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
27
27
|
* // const { BillingconductorClient, DisassociateAccountsCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
28
28
|
* const client = new BillingconductorClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Arn: "STRING_VALUE", // required
|
|
31
|
+
* AccountIds: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new DisassociateAccountsCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface DisassociatePricingRulesCommandOutput extends DisassociatePrici
|
|
|
28
28
|
* import { BillingconductorClient, DisassociatePricingRulesCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
29
29
|
* // const { BillingconductorClient, DisassociatePricingRulesCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
30
30
|
* const client = new BillingconductorClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Arn: "STRING_VALUE", // required
|
|
33
|
+
* PricingRuleArns: [ // required
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* };
|
|
31
37
|
* const command = new DisassociatePricingRulesCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -29,6 +29,17 @@ export interface ListAccountAssociationsCommandOutput extends ListAccountAssocia
|
|
|
29
29
|
* import { BillingconductorClient, ListAccountAssociationsCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
30
30
|
* // const { BillingconductorClient, ListAccountAssociationsCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
31
31
|
* const client = new BillingconductorClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* BillingPeriod: "STRING_VALUE",
|
|
34
|
+
* Filters: {
|
|
35
|
+
* Association: "STRING_VALUE",
|
|
36
|
+
* AccountId: "STRING_VALUE",
|
|
37
|
+
* AccountIds: [
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* },
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
32
43
|
* const command = new ListAccountAssociationsCommand(input);
|
|
33
44
|
* const response = await client.send(command);
|
|
34
45
|
* ```
|
|
@@ -27,6 +27,16 @@ export interface ListBillingGroupCostReportsCommandOutput extends ListBillingGro
|
|
|
27
27
|
* import { BillingconductorClient, ListBillingGroupCostReportsCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
28
28
|
* // const { BillingconductorClient, ListBillingGroupCostReportsCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
29
29
|
* const client = new BillingconductorClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* BillingPeriod: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* Filters: {
|
|
35
|
+
* BillingGroupArns: [
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* };
|
|
30
40
|
* const command = new ListBillingGroupCostReportsCommand(input);
|
|
31
41
|
* const response = await client.send(command);
|
|
32
42
|
* ```
|
|
@@ -26,6 +26,20 @@ export interface ListBillingGroupsCommandOutput extends ListBillingGroupsOutput,
|
|
|
26
26
|
* import { BillingconductorClient, ListBillingGroupsCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
27
27
|
* // const { BillingconductorClient, ListBillingGroupsCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
28
28
|
* const client = new BillingconductorClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* BillingPeriod: "STRING_VALUE",
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* Filters: {
|
|
34
|
+
* Arns: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* PricingPlan: "STRING_VALUE",
|
|
38
|
+
* Statuses: [
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
29
43
|
* const command = new ListBillingGroupsCommand(input);
|
|
30
44
|
* const response = await client.send(command);
|
|
31
45
|
* ```
|
|
@@ -26,6 +26,17 @@ export interface ListCustomLineItemVersionsCommandOutput extends ListCustomLineI
|
|
|
26
26
|
* import { BillingconductorClient, ListCustomLineItemVersionsCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
27
27
|
* // const { BillingconductorClient, ListCustomLineItemVersionsCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
28
28
|
* const client = new BillingconductorClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Arn: "STRING_VALUE", // required
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* Filters: {
|
|
34
|
+
* BillingPeriodRange: {
|
|
35
|
+
* StartBillingPeriod: "STRING_VALUE",
|
|
36
|
+
* EndBillingPeriod: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* },
|
|
39
|
+
* };
|
|
29
40
|
* const command = new ListCustomLineItemVersionsCommand(input);
|
|
30
41
|
* const response = await client.send(command);
|
|
31
42
|
* ```
|
|
@@ -28,6 +28,22 @@ export interface ListCustomLineItemsCommandOutput extends ListCustomLineItemsOut
|
|
|
28
28
|
* import { BillingconductorClient, ListCustomLineItemsCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
29
29
|
* // const { BillingconductorClient, ListCustomLineItemsCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
30
30
|
* const client = new BillingconductorClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* BillingPeriod: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* Filters: {
|
|
36
|
+
* Names: [
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* BillingGroups: [
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* Arns: [
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
31
47
|
* const command = new ListCustomLineItemsCommand(input);
|
|
32
48
|
* const response = await client.send(command);
|
|
33
49
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ListPricingPlansAssociatedWithPricingRuleCommandOutput extends
|
|
|
28
28
|
* import { BillingconductorClient, ListPricingPlansAssociatedWithPricingRuleCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
29
29
|
* // const { BillingconductorClient, ListPricingPlansAssociatedWithPricingRuleCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
30
30
|
* const client = new BillingconductorClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* BillingPeriod: "STRING_VALUE",
|
|
33
|
+
* PricingRuleArn: "STRING_VALUE", // required
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ListPricingPlansAssociatedWithPricingRuleCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -27,6 +27,16 @@ export interface ListPricingPlansCommandOutput extends ListPricingPlansOutput, _
|
|
|
27
27
|
* import { BillingconductorClient, ListPricingPlansCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
28
28
|
* // const { BillingconductorClient, ListPricingPlansCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
29
29
|
* const client = new BillingconductorClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* BillingPeriod: "STRING_VALUE",
|
|
32
|
+
* Filters: {
|
|
33
|
+
* Arns: [
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* },
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
30
40
|
* const command = new ListPricingPlansCommand(input);
|
|
31
41
|
* const response = await client.send(command);
|
|
32
42
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ListPricingRulesAssociatedToPricingPlanCommandOutput extends Li
|
|
|
28
28
|
* import { BillingconductorClient, ListPricingRulesAssociatedToPricingPlanCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
29
29
|
* // const { BillingconductorClient, ListPricingRulesAssociatedToPricingPlanCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
30
30
|
* const client = new BillingconductorClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* BillingPeriod: "STRING_VALUE",
|
|
33
|
+
* PricingPlanArn: "STRING_VALUE", // required
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ListPricingRulesAssociatedToPricingPlanCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -28,6 +28,16 @@ export interface ListPricingRulesCommandOutput extends ListPricingRulesOutput, _
|
|
|
28
28
|
* import { BillingconductorClient, ListPricingRulesCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
29
29
|
* // const { BillingconductorClient, ListPricingRulesCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
30
30
|
* const client = new BillingconductorClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* BillingPeriod: "STRING_VALUE",
|
|
33
|
+
* Filters: {
|
|
34
|
+
* Arns: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* },
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
31
41
|
* const command = new ListPricingRulesCommand(input);
|
|
32
42
|
* const response = await client.send(command);
|
|
33
43
|
* ```
|
|
@@ -28,6 +28,15 @@ export interface ListResourcesAssociatedToCustomLineItemCommandOutput extends Li
|
|
|
28
28
|
* import { BillingconductorClient, ListResourcesAssociatedToCustomLineItemCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
29
29
|
* // const { BillingconductorClient, ListResourcesAssociatedToCustomLineItemCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
30
30
|
* const client = new BillingconductorClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* BillingPeriod: "STRING_VALUE",
|
|
33
|
+
* Arn: "STRING_VALUE", // required
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* Filters: {
|
|
37
|
+
* Relationship: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* };
|
|
31
40
|
* const command = new ListResourcesAssociatedToCustomLineItemCommand(input);
|
|
32
41
|
* const response = await client.send(command);
|
|
33
42
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
28
28
|
* import { BillingconductorClient, ListTagsForResourceCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
29
29
|
* // const { BillingconductorClient, ListTagsForResourceCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
30
30
|
* const client = new BillingconductorClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new ListTagsForResourceCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
28
28
|
* import { BillingconductorClient, TagResourceCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
29
29
|
* // const { BillingconductorClient, TagResourceCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
30
30
|
* const client = new BillingconductorClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
33
|
+
* Tags: { // required
|
|
34
|
+
* "<keys>": "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* };
|
|
31
37
|
* const command = new TagResourceCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
28
28
|
* import { BillingconductorClient, UntagResourceCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
29
29
|
* // const { BillingconductorClient, UntagResourceCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
30
30
|
* const client = new BillingconductorClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
33
|
+
* TagKeys: [ // required
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* };
|
|
31
37
|
* const command = new UntagResourceCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -27,6 +27,15 @@ export interface UpdateBillingGroupCommandOutput extends UpdateBillingGroupOutpu
|
|
|
27
27
|
* import { BillingconductorClient, UpdateBillingGroupCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
28
28
|
* // const { BillingconductorClient, UpdateBillingGroupCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
29
29
|
* const client = new BillingconductorClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Arn: "STRING_VALUE", // required
|
|
32
|
+
* Name: "STRING_VALUE",
|
|
33
|
+
* Status: "STRING_VALUE",
|
|
34
|
+
* ComputationPreference: {
|
|
35
|
+
* PricingPlanArn: "STRING_VALUE", // required
|
|
36
|
+
* },
|
|
37
|
+
* Description: "STRING_VALUE",
|
|
38
|
+
* };
|
|
30
39
|
* const command = new UpdateBillingGroupCommand(input);
|
|
31
40
|
* const response = await client.send(command);
|
|
32
41
|
* ```
|
|
@@ -28,6 +28,23 @@ export interface UpdateCustomLineItemCommandOutput extends UpdateCustomLineItemO
|
|
|
28
28
|
* import { BillingconductorClient, UpdateCustomLineItemCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
29
29
|
* // const { BillingconductorClient, UpdateCustomLineItemCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
30
30
|
* const client = new BillingconductorClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Arn: "STRING_VALUE", // required
|
|
33
|
+
* Name: "STRING_VALUE",
|
|
34
|
+
* Description: "STRING_VALUE",
|
|
35
|
+
* ChargeDetails: {
|
|
36
|
+
* Flat: {
|
|
37
|
+
* ChargeValue: Number("double"), // required
|
|
38
|
+
* },
|
|
39
|
+
* Percentage: {
|
|
40
|
+
* PercentageValue: Number("double"), // required
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* BillingPeriodRange: {
|
|
44
|
+
* InclusiveStartBillingPeriod: "STRING_VALUE", // required
|
|
45
|
+
* ExclusiveEndBillingPeriod: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* };
|
|
31
48
|
* const command = new UpdateCustomLineItemCommand(input);
|
|
32
49
|
* const response = await client.send(command);
|
|
33
50
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface UpdatePricingPlanCommandOutput extends UpdatePricingPlanOutput,
|
|
|
27
27
|
* import { BillingconductorClient, UpdatePricingPlanCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
28
28
|
* // const { BillingconductorClient, UpdatePricingPlanCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
29
29
|
* const client = new BillingconductorClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Arn: "STRING_VALUE", // required
|
|
32
|
+
* Name: "STRING_VALUE",
|
|
33
|
+
* Description: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new UpdatePricingPlanCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -28,6 +28,18 @@ export interface UpdatePricingRuleCommandOutput extends UpdatePricingRuleOutput,
|
|
|
28
28
|
* import { BillingconductorClient, UpdatePricingRuleCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
|
|
29
29
|
* // const { BillingconductorClient, UpdatePricingRuleCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
|
|
30
30
|
* const client = new BillingconductorClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Arn: "STRING_VALUE", // required
|
|
33
|
+
* Name: "STRING_VALUE",
|
|
34
|
+
* Description: "STRING_VALUE",
|
|
35
|
+
* Type: "STRING_VALUE",
|
|
36
|
+
* ModifierPercentage: Number("double"),
|
|
37
|
+
* Tiering: {
|
|
38
|
+
* FreeTier: {
|
|
39
|
+
* Activated: true || false, // required
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
31
43
|
* const command = new UpdatePricingRuleCommand(input);
|
|
32
44
|
* const response = await client.send(command);
|
|
33
45
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-billingconductor",
|
|
3
3
|
"description": "AWS SDK for JavaScript Billingconductor Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|