@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
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class UpdateCustomLineItemCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class UpdateCustomLineItemCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateCustomLineItemCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class UpdatePricingPlanCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class UpdatePricingPlanCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdatePricingPlanCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class UpdatePricingRuleCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class UpdatePricingRuleCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdatePricingRuleCommand.getEndpointParameterInstructions()));
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const y = "type", z = "fn", A = "argv", B = "ref";
5
- 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"] }] }];
6
- 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 }] }] }] };
4
+ const y = "required", z = "type", A = "fn", B = "argv", C = "ref";
5
+ 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"] }] }];
6
+ 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 }] }] };
7
7
  exports.ruleSet = _data;
@@ -129,6 +129,7 @@ var ValidationExceptionReason;
129
129
  ValidationExceptionReason["ILLEGAL_ENDED_BILLINGGROUP"] = "ILLEGAL_ENDED_BILLINGGROUP";
130
130
  ValidationExceptionReason["ILLEGAL_EXPRESSION"] = "ILLEGAL_EXPRESSION";
131
131
  ValidationExceptionReason["ILLEGAL_MODIFIER_PERCENTAGE"] = "ILLEGAL_MODIFIER_PERCENTAGE";
132
+ ValidationExceptionReason["ILLEGAL_OPERATION"] = "ILLEGAL_OPERATION";
132
133
  ValidationExceptionReason["ILLEGAL_PRIMARY_ACCOUNT"] = "ILLEGAL_PRIMARY_ACCOUNT";
133
134
  ValidationExceptionReason["ILLEGAL_RESOURCE_ARNS"] = "ILLEGAL_RESOURCE_ARNS";
134
135
  ValidationExceptionReason["ILLEGAL_SCOPE"] = "ILLEGAL_SCOPE";
@@ -136,11 +137,14 @@ var ValidationExceptionReason;
136
137
  ValidationExceptionReason["ILLEGAL_TIERING_INPUT"] = "ILLEGAL_TIERING_INPUT";
137
138
  ValidationExceptionReason["ILLEGAL_TYPE"] = "ILLEGAL_TYPE";
138
139
  ValidationExceptionReason["ILLEGAL_UPDATE_CHARGE_DETAILS"] = "ILLEGAL_UPDATE_CHARGE_DETAILS";
140
+ ValidationExceptionReason["ILLEGAL_USAGE_TYPE"] = "ILLEGAL_USAGE_TYPE";
139
141
  ValidationExceptionReason["INVALID_ARN"] = "INVALID_ARN";
140
142
  ValidationExceptionReason["INVALID_BILLINGVIEW_ARN"] = "INVALID_BILLINGVIEW_ARN";
141
143
  ValidationExceptionReason["INVALID_BILLING_GROUP"] = "INVALID_BILLING_GROUP";
142
144
  ValidationExceptionReason["INVALID_BILLING_GROUP_STATUS"] = "INVALID_BILLING_GROUP_STATUS";
143
145
  ValidationExceptionReason["INVALID_BILLING_PERIOD_FOR_OPERATION"] = "INVALID_BILLING_PERIOD_FOR_OPERATION";
146
+ ValidationExceptionReason["INVALID_FILTER"] = "INVALID_FILTER";
147
+ ValidationExceptionReason["INVALID_SKU_COMBO"] = "INVALID_SKU_COMBO";
144
148
  ValidationExceptionReason["INVALID_TIME_RANGE"] = "INVALID_TIME_RANGE";
145
149
  ValidationExceptionReason["MISMATCHED_BILLINGGROUP_ARN"] = "MISMATCHED_BILLINGGROUP_ARN";
146
150
  ValidationExceptionReason["MISMATCHED_BILLINGVIEW_ARN"] = "MISMATCHED_BILLINGVIEW_ARN";
@@ -213,6 +217,7 @@ var PricingRuleScope;
213
217
  PricingRuleScope["BILLING_ENTITY"] = "BILLING_ENTITY";
214
218
  PricingRuleScope["GLOBAL"] = "GLOBAL";
215
219
  PricingRuleScope["SERVICE"] = "SERVICE";
220
+ PricingRuleScope["SKU"] = "SKU";
216
221
  })(PricingRuleScope = exports.PricingRuleScope || (exports.PricingRuleScope = {}));
217
222
  var PricingRuleType;
218
223
  (function (PricingRuleType) {
@@ -2522,6 +2522,13 @@ const serializeAws_restJson1AccountGrouping = (input, context) => {
2522
2522
  }),
2523
2523
  };
2524
2524
  };
2525
+ const serializeAws_restJson1AccountIdFilterList = (input, context) => {
2526
+ return input
2527
+ .filter((e) => e != null)
2528
+ .map((entry) => {
2529
+ return entry;
2530
+ });
2531
+ };
2525
2532
  const serializeAws_restJson1AccountIdList = (input, context) => {
2526
2533
  return input
2527
2534
  .filter((e) => e != null)
@@ -2536,6 +2543,13 @@ const serializeAws_restJson1BillingGroupArnList = (input, context) => {
2536
2543
  return entry;
2537
2544
  });
2538
2545
  };
2546
+ const serializeAws_restJson1BillingGroupStatusList = (input, context) => {
2547
+ return input
2548
+ .filter((e) => e != null)
2549
+ .map((entry) => {
2550
+ return entry;
2551
+ });
2552
+ };
2539
2553
  const serializeAws_restJson1ComputationPreference = (input, context) => {
2540
2554
  return {
2541
2555
  ...(input.PricingPlanArn != null && { PricingPlanArn: input.PricingPlanArn }),
@@ -2619,6 +2633,9 @@ const serializeAws_restJson1CustomLineItemPercentageChargeDetails = (input, cont
2619
2633
  const serializeAws_restJson1ListAccountAssociationsFilter = (input, context) => {
2620
2634
  return {
2621
2635
  ...(input.AccountId != null && { AccountId: input.AccountId }),
2636
+ ...(input.AccountIds != null && {
2637
+ AccountIds: serializeAws_restJson1AccountIdFilterList(input.AccountIds, context),
2638
+ }),
2622
2639
  ...(input.Association != null && { Association: input.Association }),
2623
2640
  };
2624
2641
  };
@@ -2633,6 +2650,7 @@ const serializeAws_restJson1ListBillingGroupsFilter = (input, context) => {
2633
2650
  return {
2634
2651
  ...(input.Arns != null && { Arns: serializeAws_restJson1BillingGroupArnList(input.Arns, context) }),
2635
2652
  ...(input.PricingPlan != null && { PricingPlan: input.PricingPlan }),
2653
+ ...(input.Statuses != null && { Statuses: serializeAws_restJson1BillingGroupStatusList(input.Statuses, context) }),
2636
2654
  };
2637
2655
  };
2638
2656
  const serializeAws_restJson1ListCustomLineItemsFilter = (input, context) => {
@@ -2874,6 +2892,7 @@ const deserializeAws_restJson1CustomLineItemVersionList = (output, context) => {
2874
2892
  };
2875
2893
  const deserializeAws_restJson1CustomLineItemVersionListElement = (output, context) => {
2876
2894
  return {
2895
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2877
2896
  AssociationSize: (0, smithy_client_1.expectLong)(output.AssociationSize),
2878
2897
  BillingGroupArn: (0, smithy_client_1.expectString)(output.BillingGroupArn),
2879
2898
  ChargeDetails: output.ChargeDetails != null
@@ -2887,6 +2906,7 @@ const deserializeAws_restJson1CustomLineItemVersionListElement = (output, contex
2887
2906
  Name: (0, smithy_client_1.expectString)(output.Name),
2888
2907
  ProductCode: (0, smithy_client_1.expectString)(output.ProductCode),
2889
2908
  StartBillingPeriod: (0, smithy_client_1.expectString)(output.StartBillingPeriod),
2909
+ StartTime: (0, smithy_client_1.expectLong)(output.StartTime),
2890
2910
  };
2891
2911
  };
2892
2912
  const deserializeAws_restJson1DisassociateResourceResponseElement = (output, context) => {
@@ -3014,10 +3034,12 @@ const deserializeAws_restJson1PricingRuleListElement = (output, context) => {
3014
3034
  LastModifiedTime: (0, smithy_client_1.expectLong)(output.LastModifiedTime),
3015
3035
  ModifierPercentage: (0, smithy_client_1.limitedParseDouble)(output.ModifierPercentage),
3016
3036
  Name: (0, smithy_client_1.expectString)(output.Name),
3037
+ Operation: (0, smithy_client_1.expectString)(output.Operation),
3017
3038
  Scope: (0, smithy_client_1.expectString)(output.Scope),
3018
3039
  Service: (0, smithy_client_1.expectString)(output.Service),
3019
3040
  Tiering: output.Tiering != null ? deserializeAws_restJson1Tiering(output.Tiering, context) : undefined,
3020
3041
  Type: (0, smithy_client_1.expectString)(output.Type),
3042
+ UsageType: (0, smithy_client_1.expectString)(output.UsageType),
3021
3043
  };
3022
3044
  };
3023
3045
  const deserializeAws_restJson1TagMap = (output, context) => {
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { AssociateAccountsInputFilterSensitiveLog, AssociateAccountsOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1AssociateAccountsCommand, serializeAws_restJson1AssociateAccountsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class AssociateAccountsCommand 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 AssociateAccountsCommand 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, AssociateAccountsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { AssociatePricingRulesInputFilterSensitiveLog, AssociatePricingRulesOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1AssociatePricingRulesCommand, serializeAws_restJson1AssociatePricingRulesCommand, } from "../protocols/Aws_restJson1";
6
6
  export class AssociatePricingRulesCommand 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 AssociatePricingRulesCommand 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, AssociatePricingRulesCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { BatchAssociateResourcesToCustomLineItemInputFilterSensitiveLog, BatchAssociateResourcesToCustomLineItemOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1BatchAssociateResourcesToCustomLineItemCommand, serializeAws_restJson1BatchAssociateResourcesToCustomLineItemCommand, } from "../protocols/Aws_restJson1";
6
6
  export class BatchAssociateResourcesToCustomLineItemCommand 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 BatchAssociateResourcesToCustomLineItemCommand 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, BatchAssociateResourcesToCustomLineItemCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { BatchDisassociateResourcesFromCustomLineItemInputFilterSensitiveLog, BatchDisassociateResourcesFromCustomLineItemOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1BatchDisassociateResourcesFromCustomLineItemCommand, serializeAws_restJson1BatchDisassociateResourcesFromCustomLineItemCommand, } from "../protocols/Aws_restJson1";
6
6
  export class BatchDisassociateResourcesFromCustomLineItemCommand 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 BatchDisassociateResourcesFromCustomLineItemCommand extends $Comman
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, BatchDisassociateResourcesFromCustomLineItemCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { CreateBillingGroupInputFilterSensitiveLog, CreateBillingGroupOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreateBillingGroupCommand, serializeAws_restJson1CreateBillingGroupCommand, } from "../protocols/Aws_restJson1";
6
6
  export class CreateBillingGroupCommand 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 CreateBillingGroupCommand 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, CreateBillingGroupCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { CreateCustomLineItemInputFilterSensitiveLog, CreateCustomLineItemOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreateCustomLineItemCommand, serializeAws_restJson1CreateCustomLineItemCommand, } from "../protocols/Aws_restJson1";
6
6
  export class CreateCustomLineItemCommand 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 CreateCustomLineItemCommand 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, CreateCustomLineItemCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { CreatePricingPlanInputFilterSensitiveLog, CreatePricingPlanOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreatePricingPlanCommand, serializeAws_restJson1CreatePricingPlanCommand, } from "../protocols/Aws_restJson1";
6
6
  export class CreatePricingPlanCommand 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 CreatePricingPlanCommand 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, CreatePricingPlanCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { CreatePricingRuleInputFilterSensitiveLog, CreatePricingRuleOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreatePricingRuleCommand, serializeAws_restJson1CreatePricingRuleCommand, } from "../protocols/Aws_restJson1";
6
6
  export class CreatePricingRuleCommand 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 CreatePricingRuleCommand 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, CreatePricingRuleCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { DeleteBillingGroupInputFilterSensitiveLog, DeleteBillingGroupOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DeleteBillingGroupCommand, serializeAws_restJson1DeleteBillingGroupCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DeleteBillingGroupCommand 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 DeleteBillingGroupCommand 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, DeleteBillingGroupCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { DeleteCustomLineItemInputFilterSensitiveLog, DeleteCustomLineItemOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DeleteCustomLineItemCommand, serializeAws_restJson1DeleteCustomLineItemCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DeleteCustomLineItemCommand 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 DeleteCustomLineItemCommand 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, DeleteCustomLineItemCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { DeletePricingPlanInputFilterSensitiveLog, DeletePricingPlanOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DeletePricingPlanCommand, serializeAws_restJson1DeletePricingPlanCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DeletePricingPlanCommand 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 DeletePricingPlanCommand 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, DeletePricingPlanCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { DeletePricingRuleInputFilterSensitiveLog, DeletePricingRuleOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DeletePricingRuleCommand, serializeAws_restJson1DeletePricingRuleCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DeletePricingRuleCommand 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 DeletePricingRuleCommand 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, DeletePricingRuleCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { DisassociateAccountsInputFilterSensitiveLog, DisassociateAccountsOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DisassociateAccountsCommand, serializeAws_restJson1DisassociateAccountsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DisassociateAccountsCommand 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 DisassociateAccountsCommand 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, DisassociateAccountsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { DisassociatePricingRulesInputFilterSensitiveLog, DisassociatePricingRulesOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DisassociatePricingRulesCommand, serializeAws_restJson1DisassociatePricingRulesCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DisassociatePricingRulesCommand 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 DisassociatePricingRulesCommand 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, DisassociatePricingRulesCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListAccountAssociationsInputFilterSensitiveLog, ListAccountAssociationsOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListAccountAssociationsCommand, serializeAws_restJson1ListAccountAssociationsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListAccountAssociationsCommand 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 ListAccountAssociationsCommand 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, ListAccountAssociationsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListBillingGroupCostReportsInputFilterSensitiveLog, ListBillingGroupCostReportsOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListBillingGroupCostReportsCommand, serializeAws_restJson1ListBillingGroupCostReportsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListBillingGroupCostReportsCommand 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 ListBillingGroupCostReportsCommand 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, ListBillingGroupCostReportsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListBillingGroupsInputFilterSensitiveLog, ListBillingGroupsOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListBillingGroupsCommand, serializeAws_restJson1ListBillingGroupsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListBillingGroupsCommand 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 ListBillingGroupsCommand 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, ListBillingGroupsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListCustomLineItemVersionsInputFilterSensitiveLog, ListCustomLineItemVersionsOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListCustomLineItemVersionsCommand, serializeAws_restJson1ListCustomLineItemVersionsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListCustomLineItemVersionsCommand 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 ListCustomLineItemVersionsCommand 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, ListCustomLineItemVersionsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListCustomLineItemsInputFilterSensitiveLog, ListCustomLineItemsOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListCustomLineItemsCommand, serializeAws_restJson1ListCustomLineItemsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListCustomLineItemsCommand 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 ListCustomLineItemsCommand 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, ListCustomLineItemsCommand.getEndpointParameterInstructions()));