@aws-sdk/client-billingconductor 3.293.0 → 3.295.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.
Files changed (75) hide show
  1. package/dist-cjs/commands/AssociateAccountsCommand.js +4 -4
  2. package/dist-cjs/commands/AssociatePricingRulesCommand.js +4 -4
  3. package/dist-cjs/commands/BatchAssociateResourcesToCustomLineItemCommand.js +4 -4
  4. package/dist-cjs/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +4 -4
  5. package/dist-cjs/commands/CreateBillingGroupCommand.js +4 -4
  6. package/dist-cjs/commands/CreateCustomLineItemCommand.js +4 -4
  7. package/dist-cjs/commands/CreatePricingPlanCommand.js +4 -4
  8. package/dist-cjs/commands/CreatePricingRuleCommand.js +4 -4
  9. package/dist-cjs/commands/DeleteBillingGroupCommand.js +4 -4
  10. package/dist-cjs/commands/DeleteCustomLineItemCommand.js +4 -4
  11. package/dist-cjs/commands/DeletePricingPlanCommand.js +4 -4
  12. package/dist-cjs/commands/DeletePricingRuleCommand.js +4 -4
  13. package/dist-cjs/commands/DisassociateAccountsCommand.js +4 -4
  14. package/dist-cjs/commands/DisassociatePricingRulesCommand.js +4 -4
  15. package/dist-cjs/commands/ListAccountAssociationsCommand.js +4 -4
  16. package/dist-cjs/commands/ListBillingGroupCostReportsCommand.js +4 -4
  17. package/dist-cjs/commands/ListBillingGroupsCommand.js +4 -4
  18. package/dist-cjs/commands/ListCustomLineItemVersionsCommand.js +4 -4
  19. package/dist-cjs/commands/ListCustomLineItemsCommand.js +4 -4
  20. package/dist-cjs/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +4 -4
  21. package/dist-cjs/commands/ListPricingPlansCommand.js +4 -4
  22. package/dist-cjs/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +4 -4
  23. package/dist-cjs/commands/ListPricingRulesCommand.js +4 -4
  24. package/dist-cjs/commands/ListResourcesAssociatedToCustomLineItemCommand.js +4 -4
  25. package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
  26. package/dist-cjs/commands/TagResourceCommand.js +4 -4
  27. package/dist-cjs/commands/UntagResourceCommand.js +4 -4
  28. package/dist-cjs/commands/UpdateBillingGroupCommand.js +4 -4
  29. package/dist-cjs/commands/UpdateCustomLineItemCommand.js +4 -4
  30. package/dist-cjs/commands/UpdatePricingPlanCommand.js +4 -4
  31. package/dist-cjs/commands/UpdatePricingRuleCommand.js +4 -4
  32. package/dist-cjs/endpoint/ruleset.js +3 -3
  33. package/dist-cjs/models/models_0.js +5 -0
  34. package/dist-cjs/protocols/Aws_restJson1.js +22 -0
  35. package/dist-es/commands/AssociateAccountsCommand.js +4 -4
  36. package/dist-es/commands/AssociatePricingRulesCommand.js +4 -4
  37. package/dist-es/commands/BatchAssociateResourcesToCustomLineItemCommand.js +4 -4
  38. package/dist-es/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +4 -4
  39. package/dist-es/commands/CreateBillingGroupCommand.js +4 -4
  40. package/dist-es/commands/CreateCustomLineItemCommand.js +4 -4
  41. package/dist-es/commands/CreatePricingPlanCommand.js +4 -4
  42. package/dist-es/commands/CreatePricingRuleCommand.js +4 -4
  43. package/dist-es/commands/DeleteBillingGroupCommand.js +4 -4
  44. package/dist-es/commands/DeleteCustomLineItemCommand.js +4 -4
  45. package/dist-es/commands/DeletePricingPlanCommand.js +4 -4
  46. package/dist-es/commands/DeletePricingRuleCommand.js +4 -4
  47. package/dist-es/commands/DisassociateAccountsCommand.js +4 -4
  48. package/dist-es/commands/DisassociatePricingRulesCommand.js +4 -4
  49. package/dist-es/commands/ListAccountAssociationsCommand.js +4 -4
  50. package/dist-es/commands/ListBillingGroupCostReportsCommand.js +4 -4
  51. package/dist-es/commands/ListBillingGroupsCommand.js +4 -4
  52. package/dist-es/commands/ListCustomLineItemVersionsCommand.js +4 -4
  53. package/dist-es/commands/ListCustomLineItemsCommand.js +4 -4
  54. package/dist-es/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +4 -4
  55. package/dist-es/commands/ListPricingPlansCommand.js +4 -4
  56. package/dist-es/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +4 -4
  57. package/dist-es/commands/ListPricingRulesCommand.js +4 -4
  58. package/dist-es/commands/ListResourcesAssociatedToCustomLineItemCommand.js +4 -4
  59. package/dist-es/commands/ListTagsForResourceCommand.js +4 -4
  60. package/dist-es/commands/TagResourceCommand.js +4 -4
  61. package/dist-es/commands/UntagResourceCommand.js +4 -4
  62. package/dist-es/commands/UpdateBillingGroupCommand.js +4 -4
  63. package/dist-es/commands/UpdateCustomLineItemCommand.js +4 -4
  64. package/dist-es/commands/UpdatePricingPlanCommand.js +4 -4
  65. package/dist-es/commands/UpdatePricingRuleCommand.js +4 -4
  66. package/dist-es/endpoint/ruleset.js +3 -3
  67. package/dist-es/models/models_0.js +5 -0
  68. package/dist-es/protocols/Aws_restJson1.js +22 -0
  69. package/dist-types/BillingconductorClient.d.ts +4 -4
  70. package/dist-types/endpoint/EndpointParameters.d.ts +2 -2
  71. package/dist-types/models/models_0.d.ts +49 -5
  72. package/dist-types/ts3.4/BillingconductorClient.d.ts +4 -4
  73. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -5
  74. package/dist-types/ts3.4/models/models_0.d.ts +15 -4
  75. package/package.json +36 -36
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListPricingPlansAssociatedWithPricingRuleInputFilterSensitiveLog, ListPricingPlansAssociatedWithPricingRuleOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListPricingPlansAssociatedWithPricingRuleCommand, serializeAws_restJson1ListPricingPlansAssociatedWithPricingRuleCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListPricingPlansAssociatedWithPricingRuleCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListPricingPlansAssociatedWithPricingRuleCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListPricingPlansAssociatedWithPricingRuleCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListPricingPlansInputFilterSensitiveLog, ListPricingPlansOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListPricingPlansCommand, serializeAws_restJson1ListPricingPlansCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListPricingPlansCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListPricingPlansCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListPricingPlansCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListPricingRulesAssociatedToPricingPlanInputFilterSensitiveLog, ListPricingRulesAssociatedToPricingPlanOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListPricingRulesAssociatedToPricingPlanCommand, serializeAws_restJson1ListPricingRulesAssociatedToPricingPlanCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListPricingRulesAssociatedToPricingPlanCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListPricingRulesAssociatedToPricingPlanCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListPricingRulesAssociatedToPricingPlanCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListPricingRulesInputFilterSensitiveLog, ListPricingRulesOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListPricingRulesCommand, serializeAws_restJson1ListPricingRulesCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListPricingRulesCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListPricingRulesCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListPricingRulesCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListResourcesAssociatedToCustomLineItemInputFilterSensitiveLog, ListResourcesAssociatedToCustomLineItemOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListResourcesAssociatedToCustomLineItemCommand, serializeAws_restJson1ListResourcesAssociatedToCustomLineItemCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListResourcesAssociatedToCustomLineItemCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListResourcesAssociatedToCustomLineItemCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListResourcesAssociatedToCustomLineItemCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListTagsForResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListTagsForResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
6
6
  export class TagResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class TagResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UntagResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UntagResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateBillingGroupInputFilterSensitiveLog, UpdateBillingGroupOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UpdateBillingGroupCommand, serializeAws_restJson1UpdateBillingGroupCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UpdateBillingGroupCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateBillingGroupCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateBillingGroupCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateCustomLineItemInputFilterSensitiveLog, UpdateCustomLineItemOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UpdateCustomLineItemCommand, serializeAws_restJson1UpdateCustomLineItemCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UpdateCustomLineItemCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateCustomLineItemCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateCustomLineItemCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdatePricingPlanInputFilterSensitiveLog, UpdatePricingPlanOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UpdatePricingPlanCommand, serializeAws_restJson1UpdatePricingPlanCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UpdatePricingPlanCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdatePricingPlanCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdatePricingPlanCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdatePricingRuleInputFilterSensitiveLog, UpdatePricingRuleOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UpdatePricingRuleCommand, serializeAws_restJson1UpdatePricingRuleCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UpdatePricingRuleCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdatePricingRuleCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdatePricingRuleCommand.getEndpointParameterInstructions()));
@@ -1,4 +1,4 @@
1
- const y = "type", z = "fn", A = "argv", B = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "stringEquals", i = "getAttr", j = { "required": true, "default": false, [y]: "Boolean" }, k = { [B]: "Region" }, l = { [B]: "Endpoint" }, m = {}, n = { [B]: d }, o = { [f]: "FIPS and DualStack are enabled, but this partition does not support one or both", [y]: f }, p = { [f]: "FIPS is enabled but this partition does not support FIPS", [y]: f }, q = { [f]: "DualStack is enabled but this partition does not support DualStack", [y]: f }, r = { "url": "https://billingconductor.us-east-1.amazonaws.com", "properties": { "authSchemes": [{ "name": "sigv4", "signingRegion": "us-east-1", "signingName": "billingconductor" }] }, "headers": {} }, s = [{ [z]: "booleanEquals", [A]: [{ [B]: "UseFIPS" }, true] }], t = [{ [z]: "booleanEquals", [A]: [{ [B]: "UseDualStack" }, true] }], u = [{ [z]: "booleanEquals", [A]: [{ [B]: "UseFIPS" }, true] }, { [z]: "booleanEquals", [A]: [{ [B]: "UseDualStack" }, true] }], v = [{ [z]: "booleanEquals", [A]: [true, { [z]: i, [A]: [n, "supportsFIPS"] }] }, { [z]: "booleanEquals", [A]: [true, { [z]: i, [A]: [n, "supportsDualStack"] }] }], w = [{ [z]: "booleanEquals", [A]: [true, { [z]: i, [A]: [n, "supportsFIPS"] }] }], x = [{ [z]: "booleanEquals", [A]: [true, { [z]: i, [A]: [n, "supportsDualStack"] }] }];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, [y]: c }, UseDualStack: j, UseFIPS: j, Endpoint: { required: b, [y]: c } }, rules: [{ conditions: [{ [z]: "aws.partition", [A]: [k], assign: d }], [y]: e, rules: [{ conditions: [{ [z]: "isSet", [A]: [l] }], [y]: e, rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [y]: f }, { [y]: e, rules: [{ conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [y]: f }, { endpoint: { url: l, properties: m, headers: m }, [y]: g }] }] }, { conditions: [{ [z]: h, [A]: [{ [z]: i, [A]: [n, "name"] }, "aws"] }], [y]: e, rules: [{ conditions: u, [y]: e, rules: [{ conditions: v, [y]: e, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.api.aws", properties: m, headers: m }, [y]: g }] }, o] }, { conditions: s, [y]: e, rules: [{ conditions: w, [y]: e, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.amazonaws.com", properties: m, headers: m }, [y]: g }] }, p] }, { conditions: t, [y]: e, rules: [{ conditions: x, [y]: e, rules: [{ endpoint: { url: "https://billingconductor.{Region}.api.aws", properties: m, headers: m }, [y]: g }] }, q] }, { endpoint: r, [y]: g }] }, { conditions: u, [y]: e, rules: [{ conditions: v, [y]: e, rules: [{ [y]: e, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, [y]: g }] }] }, o] }, { conditions: s, [y]: e, rules: [{ conditions: w, [y]: e, rules: [{ [y]: e, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, [y]: g }] }] }, p] }, { conditions: t, [y]: e, rules: [{ conditions: x, [y]: e, rules: [{ [y]: e, rules: [{ endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, [y]: g }] }] }, q] }, { [y]: e, rules: [{ conditions: [{ [z]: h, [A]: [k, "aws-global"] }], endpoint: r, [y]: g }, { endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, [y]: g }] }] }] };
1
+ const y = "required", z = "type", A = "fn", B = "argv", C = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = "getAttr", h = { [y]: false, [z]: "String" }, i = { [y]: true, "default": false, [z]: "Boolean" }, j = { [C]: "Endpoint" }, k = {}, l = { [C]: "Region" }, m = { [C]: e }, n = { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [z]: c }, o = { [c]: "FIPS is enabled but this partition does not support FIPS", [z]: c }, p = { [c]: "DualStack is enabled but this partition does not support DualStack", [z]: c }, q = { "url": "https://billingconductor.us-east-1.amazonaws.com", "properties": { "authSchemes": [{ "name": "sigv4", "signingName": "billingconductor", "signingRegion": "us-east-1" }] }, "headers": {} }, r = [{ [A]: "booleanEquals", [B]: [{ [C]: "UseFIPS" }, true] }], s = [{ [A]: "booleanEquals", [B]: [{ [C]: "UseDualStack" }, true] }], t = [l], u = [{ [A]: "booleanEquals", [B]: [{ [C]: "UseFIPS" }, true] }, { [A]: "booleanEquals", [B]: [{ [C]: "UseDualStack" }, true] }], v = [{ [A]: "booleanEquals", [B]: [true, { [A]: g, [B]: [m, "supportsFIPS"] }] }, { [A]: "booleanEquals", [B]: [true, { [A]: g, [B]: [m, "supportsDualStack"] }] }], w = [{ [A]: "booleanEquals", [B]: [true, { [A]: g, [B]: [m, "supportsFIPS"] }] }], x = [{ [A]: "booleanEquals", [B]: [true, { [A]: g, [B]: [m, "supportsDualStack"] }] }];
3
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [A]: a, [B]: [j] }], [z]: b, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [z]: c }, { [z]: b, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [z]: c }, { endpoint: { url: j, properties: k, headers: k }, [z]: d }] }] }, { [z]: b, rules: [{ conditions: [{ [A]: a, [B]: t }], [z]: b, rules: [{ conditions: [{ [A]: "aws.partition", [B]: t, assign: e }], [z]: b, rules: [{ conditions: [{ [A]: f, [B]: [{ [A]: g, [B]: [m, "name"] }, "aws"] }], [z]: b, rules: [{ conditions: u, [z]: b, rules: [{ conditions: v, [z]: b, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.api.aws", properties: k, headers: k }, [z]: d }] }, n] }, { conditions: r, [z]: b, rules: [{ conditions: w, [z]: b, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.amazonaws.com", properties: k, headers: k }, [z]: d }] }, o] }, { conditions: s, [z]: b, rules: [{ conditions: x, [z]: b, rules: [{ endpoint: { url: "https://billingconductor.{Region}.api.aws", properties: k, headers: k }, [z]: d }] }, p] }, { endpoint: q, [z]: d }] }, { conditions: u, [z]: b, rules: [{ conditions: v, [z]: b, rules: [{ [z]: b, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, [z]: d }] }] }, n] }, { conditions: r, [z]: b, rules: [{ conditions: w, [z]: b, rules: [{ [z]: b, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, [z]: d }] }] }, o] }, { conditions: s, [z]: b, rules: [{ conditions: x, [z]: b, rules: [{ [z]: b, rules: [{ endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, [z]: d }] }] }, p] }, { [z]: b, rules: [{ conditions: [{ [A]: f, [B]: [l, "aws-global"] }], endpoint: q, [z]: d }, { endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, [z]: d }] }] }] }, { error: "Invalid Configuration: Missing Region", [z]: c }] }] };
4
4
  export const ruleSet = _data;
@@ -118,6 +118,7 @@ export var ValidationExceptionReason;
118
118
  ValidationExceptionReason["ILLEGAL_ENDED_BILLINGGROUP"] = "ILLEGAL_ENDED_BILLINGGROUP";
119
119
  ValidationExceptionReason["ILLEGAL_EXPRESSION"] = "ILLEGAL_EXPRESSION";
120
120
  ValidationExceptionReason["ILLEGAL_MODIFIER_PERCENTAGE"] = "ILLEGAL_MODIFIER_PERCENTAGE";
121
+ ValidationExceptionReason["ILLEGAL_OPERATION"] = "ILLEGAL_OPERATION";
121
122
  ValidationExceptionReason["ILLEGAL_PRIMARY_ACCOUNT"] = "ILLEGAL_PRIMARY_ACCOUNT";
122
123
  ValidationExceptionReason["ILLEGAL_RESOURCE_ARNS"] = "ILLEGAL_RESOURCE_ARNS";
123
124
  ValidationExceptionReason["ILLEGAL_SCOPE"] = "ILLEGAL_SCOPE";
@@ -125,11 +126,14 @@ export var ValidationExceptionReason;
125
126
  ValidationExceptionReason["ILLEGAL_TIERING_INPUT"] = "ILLEGAL_TIERING_INPUT";
126
127
  ValidationExceptionReason["ILLEGAL_TYPE"] = "ILLEGAL_TYPE";
127
128
  ValidationExceptionReason["ILLEGAL_UPDATE_CHARGE_DETAILS"] = "ILLEGAL_UPDATE_CHARGE_DETAILS";
129
+ ValidationExceptionReason["ILLEGAL_USAGE_TYPE"] = "ILLEGAL_USAGE_TYPE";
128
130
  ValidationExceptionReason["INVALID_ARN"] = "INVALID_ARN";
129
131
  ValidationExceptionReason["INVALID_BILLINGVIEW_ARN"] = "INVALID_BILLINGVIEW_ARN";
130
132
  ValidationExceptionReason["INVALID_BILLING_GROUP"] = "INVALID_BILLING_GROUP";
131
133
  ValidationExceptionReason["INVALID_BILLING_GROUP_STATUS"] = "INVALID_BILLING_GROUP_STATUS";
132
134
  ValidationExceptionReason["INVALID_BILLING_PERIOD_FOR_OPERATION"] = "INVALID_BILLING_PERIOD_FOR_OPERATION";
135
+ ValidationExceptionReason["INVALID_FILTER"] = "INVALID_FILTER";
136
+ ValidationExceptionReason["INVALID_SKU_COMBO"] = "INVALID_SKU_COMBO";
133
137
  ValidationExceptionReason["INVALID_TIME_RANGE"] = "INVALID_TIME_RANGE";
134
138
  ValidationExceptionReason["MISMATCHED_BILLINGGROUP_ARN"] = "MISMATCHED_BILLINGGROUP_ARN";
135
139
  ValidationExceptionReason["MISMATCHED_BILLINGVIEW_ARN"] = "MISMATCHED_BILLINGVIEW_ARN";
@@ -201,6 +205,7 @@ export var PricingRuleScope;
201
205
  PricingRuleScope["BILLING_ENTITY"] = "BILLING_ENTITY";
202
206
  PricingRuleScope["GLOBAL"] = "GLOBAL";
203
207
  PricingRuleScope["SERVICE"] = "SERVICE";
208
+ PricingRuleScope["SKU"] = "SKU";
204
209
  })(PricingRuleScope || (PricingRuleScope = {}));
205
210
  export var PricingRuleType;
206
211
  (function (PricingRuleType) {
@@ -2456,6 +2456,13 @@ const serializeAws_restJson1AccountGrouping = (input, context) => {
2456
2456
  }),
2457
2457
  };
2458
2458
  };
2459
+ const serializeAws_restJson1AccountIdFilterList = (input, context) => {
2460
+ return input
2461
+ .filter((e) => e != null)
2462
+ .map((entry) => {
2463
+ return entry;
2464
+ });
2465
+ };
2459
2466
  const serializeAws_restJson1AccountIdList = (input, context) => {
2460
2467
  return input
2461
2468
  .filter((e) => e != null)
@@ -2470,6 +2477,13 @@ const serializeAws_restJson1BillingGroupArnList = (input, context) => {
2470
2477
  return entry;
2471
2478
  });
2472
2479
  };
2480
+ const serializeAws_restJson1BillingGroupStatusList = (input, context) => {
2481
+ return input
2482
+ .filter((e) => e != null)
2483
+ .map((entry) => {
2484
+ return entry;
2485
+ });
2486
+ };
2473
2487
  const serializeAws_restJson1ComputationPreference = (input, context) => {
2474
2488
  return {
2475
2489
  ...(input.PricingPlanArn != null && { PricingPlanArn: input.PricingPlanArn }),
@@ -2553,6 +2567,9 @@ const serializeAws_restJson1CustomLineItemPercentageChargeDetails = (input, cont
2553
2567
  const serializeAws_restJson1ListAccountAssociationsFilter = (input, context) => {
2554
2568
  return {
2555
2569
  ...(input.AccountId != null && { AccountId: input.AccountId }),
2570
+ ...(input.AccountIds != null && {
2571
+ AccountIds: serializeAws_restJson1AccountIdFilterList(input.AccountIds, context),
2572
+ }),
2556
2573
  ...(input.Association != null && { Association: input.Association }),
2557
2574
  };
2558
2575
  };
@@ -2567,6 +2584,7 @@ const serializeAws_restJson1ListBillingGroupsFilter = (input, context) => {
2567
2584
  return {
2568
2585
  ...(input.Arns != null && { Arns: serializeAws_restJson1BillingGroupArnList(input.Arns, context) }),
2569
2586
  ...(input.PricingPlan != null && { PricingPlan: input.PricingPlan }),
2587
+ ...(input.Statuses != null && { Statuses: serializeAws_restJson1BillingGroupStatusList(input.Statuses, context) }),
2570
2588
  };
2571
2589
  };
2572
2590
  const serializeAws_restJson1ListCustomLineItemsFilter = (input, context) => {
@@ -2808,6 +2826,7 @@ const deserializeAws_restJson1CustomLineItemVersionList = (output, context) => {
2808
2826
  };
2809
2827
  const deserializeAws_restJson1CustomLineItemVersionListElement = (output, context) => {
2810
2828
  return {
2829
+ Arn: __expectString(output.Arn),
2811
2830
  AssociationSize: __expectLong(output.AssociationSize),
2812
2831
  BillingGroupArn: __expectString(output.BillingGroupArn),
2813
2832
  ChargeDetails: output.ChargeDetails != null
@@ -2821,6 +2840,7 @@ const deserializeAws_restJson1CustomLineItemVersionListElement = (output, contex
2821
2840
  Name: __expectString(output.Name),
2822
2841
  ProductCode: __expectString(output.ProductCode),
2823
2842
  StartBillingPeriod: __expectString(output.StartBillingPeriod),
2843
+ StartTime: __expectLong(output.StartTime),
2824
2844
  };
2825
2845
  };
2826
2846
  const deserializeAws_restJson1DisassociateResourceResponseElement = (output, context) => {
@@ -2948,10 +2968,12 @@ const deserializeAws_restJson1PricingRuleListElement = (output, context) => {
2948
2968
  LastModifiedTime: __expectLong(output.LastModifiedTime),
2949
2969
  ModifierPercentage: __limitedParseDouble(output.ModifierPercentage),
2950
2970
  Name: __expectString(output.Name),
2971
+ Operation: __expectString(output.Operation),
2951
2972
  Scope: __expectString(output.Scope),
2952
2973
  Service: __expectString(output.Service),
2953
2974
  Tiering: output.Tiering != null ? deserializeAws_restJson1Tiering(output.Tiering, context) : undefined,
2954
2975
  Type: __expectString(output.Type),
2976
+ UsageType: __expectString(output.UsageType),
2955
2977
  };
2956
2978
  };
2957
2979
  const deserializeAws_restJson1TagMap = (output, context) => {
@@ -39,8 +39,8 @@ import { UpdateCustomLineItemCommandInput, UpdateCustomLineItemCommandOutput } f
39
39
  import { UpdatePricingPlanCommandInput, UpdatePricingPlanCommandOutput } from "./commands/UpdatePricingPlanCommand";
40
40
  import { UpdatePricingRuleCommandInput, UpdatePricingRuleCommandOutput } from "./commands/UpdatePricingRuleCommand";
41
41
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
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;
42
+ export 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 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;
44
44
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
45
45
  /**
46
46
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -141,13 +141,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
141
141
  */
142
142
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
143
143
  }
144
- declare type BillingconductorClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
144
+ type BillingconductorClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
145
145
  /**
146
146
  * The configuration interface of BillingconductorClient class constructor that set the region, credentials and other options.
147
147
  */
148
148
  export interface BillingconductorClientConfig extends BillingconductorClientConfigType {
149
149
  }
150
- declare type BillingconductorClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
150
+ type BillingconductorClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
151
151
  /**
152
152
  * The resolved configuration interface of BillingconductorClient class. This is resolved and normalized from the {@link BillingconductorClientConfig | constructor configuration interface}.
153
153
  */
@@ -5,14 +5,14 @@ export interface ClientInputEndpointParameters {
5
5
  useFipsEndpoint?: boolean | Provider<boolean>;
6
6
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
7
7
  }
8
- export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
8
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
9
  defaultSigningName: string;
10
10
  };
11
11
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -236,6 +236,7 @@ export declare enum ValidationExceptionReason {
236
236
  ILLEGAL_ENDED_BILLINGGROUP = "ILLEGAL_ENDED_BILLINGGROUP",
237
237
  ILLEGAL_EXPRESSION = "ILLEGAL_EXPRESSION",
238
238
  ILLEGAL_MODIFIER_PERCENTAGE = "ILLEGAL_MODIFIER_PERCENTAGE",
239
+ ILLEGAL_OPERATION = "ILLEGAL_OPERATION",
239
240
  ILLEGAL_PRIMARY_ACCOUNT = "ILLEGAL_PRIMARY_ACCOUNT",
240
241
  ILLEGAL_RESOURCE_ARNS = "ILLEGAL_RESOURCE_ARNS",
241
242
  ILLEGAL_SCOPE = "ILLEGAL_SCOPE",
@@ -243,11 +244,14 @@ export declare enum ValidationExceptionReason {
243
244
  ILLEGAL_TIERING_INPUT = "ILLEGAL_TIERING_INPUT",
244
245
  ILLEGAL_TYPE = "ILLEGAL_TYPE",
245
246
  ILLEGAL_UPDATE_CHARGE_DETAILS = "ILLEGAL_UPDATE_CHARGE_DETAILS",
247
+ ILLEGAL_USAGE_TYPE = "ILLEGAL_USAGE_TYPE",
246
248
  INVALID_ARN = "INVALID_ARN",
247
249
  INVALID_BILLINGVIEW_ARN = "INVALID_BILLINGVIEW_ARN",
248
250
  INVALID_BILLING_GROUP = "INVALID_BILLING_GROUP",
249
251
  INVALID_BILLING_GROUP_STATUS = "INVALID_BILLING_GROUP_STATUS",
250
252
  INVALID_BILLING_PERIOD_FOR_OPERATION = "INVALID_BILLING_PERIOD_FOR_OPERATION",
253
+ INVALID_FILTER = "INVALID_FILTER",
254
+ INVALID_SKU_COMBO = "INVALID_SKU_COMBO",
251
255
  INVALID_TIME_RANGE = "INVALID_TIME_RANGE",
252
256
  MISMATCHED_BILLINGGROUP_ARN = "MISMATCHED_BILLINGGROUP_ARN",
253
257
  MISMATCHED_BILLINGVIEW_ARN = "MISMATCHED_BILLINGVIEW_ARN",
@@ -443,6 +447,10 @@ export interface DisassociateAccountsOutput {
443
447
  */
444
448
  Arn?: string;
445
449
  }
450
+ export declare enum BillingGroupStatus {
451
+ ACTIVE = "ACTIVE",
452
+ PRIMARY_ACCOUNT_MISSING = "PRIMARY_ACCOUNT_MISSING"
453
+ }
446
454
  /**
447
455
  * <p>The filter that specifies the billing groups and pricing plans to retrieve billing group information.
448
456
  * </p>
@@ -456,6 +464,12 @@ export interface ListBillingGroupsFilter {
456
464
  * <p>The pricing plan Amazon Resource Names (ARNs) to retrieve information. </p>
457
465
  */
458
466
  PricingPlan?: string;
467
+ /**
468
+ * <p>
469
+ * A list of billing groups to retrieve their current status for a specific time range
470
+ * </p>
471
+ */
472
+ Statuses?: (BillingGroupStatus | string)[];
459
473
  }
460
474
  export interface ListBillingGroupsInput {
461
475
  /**
@@ -479,10 +493,6 @@ export interface ListBillingGroupsInput {
479
493
  */
480
494
  Filters?: ListBillingGroupsFilter;
481
495
  }
482
- export declare enum BillingGroupStatus {
483
- ACTIVE = "ACTIVE",
484
- PRIMARY_ACCOUNT_MISSING = "PRIMARY_ACCOUNT_MISSING"
485
- }
486
496
  /**
487
497
  * <p>A representation of a billing group.
488
498
  * </p>
@@ -1130,6 +1140,18 @@ export interface CustomLineItemVersionListElement {
1130
1140
  * <p>The end billing period of the custom line item version.</p>
1131
1141
  */
1132
1142
  EndBillingPeriod?: string;
1143
+ /**
1144
+ * <p>
1145
+ * A list of custom line item Amazon Resource Names (ARNs) to retrieve information.
1146
+ * </p>
1147
+ */
1148
+ Arn?: string;
1149
+ /**
1150
+ * <p>
1151
+ * The inclusive start time.
1152
+ * </p>
1153
+ */
1154
+ StartTime?: number;
1133
1155
  }
1134
1156
  export interface ListCustomLineItemVersionsOutput {
1135
1157
  /**
@@ -1379,6 +1401,12 @@ export interface ListAccountAssociationsFilter {
1379
1401
  * </p>
1380
1402
  */
1381
1403
  AccountId?: string;
1404
+ /**
1405
+ * <p>
1406
+ * The list of Amazon Web Services IDs to retrieve their associated billing group for a given time range.
1407
+ * </p>
1408
+ */
1409
+ AccountIds?: string[];
1382
1410
  }
1383
1411
  export interface ListAccountAssociationsInput {
1384
1412
  /**
@@ -1757,7 +1785,8 @@ export interface UpdatePricingPlanOutput {
1757
1785
  export declare enum PricingRuleScope {
1758
1786
  BILLING_ENTITY = "BILLING_ENTITY",
1759
1787
  GLOBAL = "GLOBAL",
1760
- SERVICE = "SERVICE"
1788
+ SERVICE = "SERVICE",
1789
+ SKU = "SKU"
1761
1790
  }
1762
1791
  /**
1763
1792
  * <p>
@@ -2017,6 +2046,21 @@ export interface PricingRuleListElement {
2017
2046
  * </p>
2018
2047
  */
2019
2048
  Tiering?: Tiering;
2049
+ /**
2050
+ * <p>
2051
+ * Usage type is the unit that each service uses to measure the usage of a specific type of resource.</p>
2052
+ * <p>If the <code>Scope</code> attribute is set to <code>SKU</code>, this attribute indicates which usage type the <code>PricingRule</code> is modifying. For example, <code>USW2-BoxUsage:m2.2xlarge</code> describes an<code> M2 High Memory Double Extra Large</code> instance in the US West (Oregon) Region.
2053
+ *
2054
+ * </p>
2055
+ */
2056
+ UsageType?: string;
2057
+ /**
2058
+ * <p>
2059
+ * Operation is the specific Amazon Web Services action covered by this line item. This describes the specific usage of the line item.</p>
2060
+ * <p>
2061
+ * If the <code>Scope</code> attribute is set to <code>SKU</code>, this attribute indicates which operation the <code>PricingRule</code> is modifying. For example, a value of <code>RunInstances:0202</code> indicates the operation of running an Amazon EC2 instance.</p>
2062
+ */
2063
+ Operation?: string;
2020
2064
  }
2021
2065
  export interface ListPricingRulesOutput {
2022
2066
  /**
@@ -173,7 +173,7 @@ import {
173
173
  ClientResolvedEndpointParameters,
174
174
  EndpointParameters,
175
175
  } from "./endpoint/EndpointParameters";
176
- export declare type ServiceInputTypes =
176
+ export type ServiceInputTypes =
177
177
  | AssociateAccountsCommandInput
178
178
  | AssociatePricingRulesCommandInput
179
179
  | BatchAssociateResourcesToCustomLineItemCommandInput
@@ -205,7 +205,7 @@ export declare type ServiceInputTypes =
205
205
  | UpdateCustomLineItemCommandInput
206
206
  | UpdatePricingPlanCommandInput
207
207
  | UpdatePricingRuleCommandInput;
208
- export declare type ServiceOutputTypes =
208
+ export type ServiceOutputTypes =
209
209
  | AssociateAccountsCommandOutput
210
210
  | AssociatePricingRulesCommandOutput
211
211
  | BatchAssociateResourcesToCustomLineItemCommandOutput
@@ -261,7 +261,7 @@ export interface ClientDefaults
261
261
  logger?: __Logger;
262
262
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
263
263
  }
264
- declare type BillingconductorClientConfigType = Partial<
264
+ type BillingconductorClientConfigType = Partial<
265
265
  __SmithyConfiguration<__HttpHandlerOptions>
266
266
  > &
267
267
  ClientDefaults &
@@ -274,7 +274,7 @@ declare type BillingconductorClientConfigType = Partial<
274
274
  ClientInputEndpointParameters;
275
275
  export interface BillingconductorClientConfig
276
276
  extends BillingconductorClientConfigType {}
277
- declare type BillingconductorClientResolvedConfigType =
277
+ type BillingconductorClientResolvedConfigType =
278
278
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
279
279
  Required<ClientDefaults> &
280
280
  RegionResolvedConfig &