@aws-sdk/client-billingconductor 3.370.0 → 3.377.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 (40) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-cjs/models/models_0.js +2 -0
  3. package/dist-cjs/protocols/Aws_restJson1.js +2 -0
  4. package/dist-es/endpoint/ruleset.js +3 -3
  5. package/dist-es/models/models_0.js +2 -0
  6. package/dist-es/protocols/Aws_restJson1.js +2 -0
  7. package/dist-types/commands/AssociateAccountsCommand.d.ts +1 -1
  8. package/dist-types/commands/AssociatePricingRulesCommand.d.ts +1 -1
  9. package/dist-types/commands/BatchAssociateResourcesToCustomLineItemCommand.d.ts +1 -1
  10. package/dist-types/commands/BatchDisassociateResourcesFromCustomLineItemCommand.d.ts +1 -1
  11. package/dist-types/commands/CreateBillingGroupCommand.d.ts +2 -1
  12. package/dist-types/commands/CreateCustomLineItemCommand.d.ts +1 -1
  13. package/dist-types/commands/CreatePricingPlanCommand.d.ts +1 -1
  14. package/dist-types/commands/CreatePricingRuleCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteBillingGroupCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteCustomLineItemCommand.d.ts +1 -1
  17. package/dist-types/commands/DeletePricingPlanCommand.d.ts +1 -1
  18. package/dist-types/commands/DeletePricingRuleCommand.d.ts +1 -1
  19. package/dist-types/commands/DisassociateAccountsCommand.d.ts +1 -1
  20. package/dist-types/commands/DisassociatePricingRulesCommand.d.ts +1 -1
  21. package/dist-types/commands/ListAccountAssociationsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListBillingGroupCostReportsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListBillingGroupsCommand.d.ts +5 -1
  24. package/dist-types/commands/ListCustomLineItemVersionsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListCustomLineItemsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListPricingPlansAssociatedWithPricingRuleCommand.d.ts +1 -1
  27. package/dist-types/commands/ListPricingPlansCommand.d.ts +1 -1
  28. package/dist-types/commands/ListPricingRulesAssociatedToPricingPlanCommand.d.ts +1 -1
  29. package/dist-types/commands/ListPricingRulesCommand.d.ts +1 -1
  30. package/dist-types/commands/ListResourcesAssociatedToCustomLineItemCommand.d.ts +1 -1
  31. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  32. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  33. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateBillingGroupCommand.d.ts +7 -1
  35. package/dist-types/commands/UpdateCustomLineItemCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdatePricingPlanCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdatePricingRuleCommand.d.ts +1 -1
  38. package/dist-types/models/models_0.d.ts +155 -237
  39. package/dist-types/ts3.4/models/models_0.d.ts +13 -0
  40. package/package.json +2 -2
@@ -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 = "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 }] }] };
4
+ const w = "required", x = "fn", y = "argv", z = "ref";
5
+ const a = false, b = "isSet", c = "tree", d = "booleanEquals", e = "error", f = "endpoint", g = "PartitionResult", h = "getAttr", i = { [w]: false, "type": "String" }, j = { [w]: true, "default": false, "type": "Boolean" }, k = { [z]: "Endpoint" }, l = { [x]: d, [y]: [{ [z]: "UseFIPS" }, true] }, m = { [z]: "UseFIPS" }, n = { [x]: d, [y]: [{ [z]: "UseDualStack" }, true] }, o = { [z]: "UseDualStack" }, p = {}, q = { [z]: g }, r = { [x]: d, [y]: [true, { [x]: h, [y]: [q, "supportsFIPS"] }] }, s = { [x]: d, [y]: [true, { [x]: h, [y]: [q, "supportsDualStack"] }] }, t = [l], u = [n], v = [{ [z]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [x]: b, [y]: [k] }], type: c, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, { type: c, rules: [{ conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: e }, { endpoint: { url: k, properties: p, headers: p }, type: f }] }] }, { type: c, rules: [{ conditions: [{ [x]: b, [y]: v }], type: c, rules: [{ conditions: [{ [x]: "aws.partition", [y]: v, assign: g }], type: c, rules: [{ conditions: [{ [x]: "stringEquals", [y]: [{ [x]: h, [y]: [q, "name"] }, "aws"] }, { [x]: d, [y]: [m, a] }, { [x]: d, [y]: [o, a] }], endpoint: { url: "https://billingconductor.us-east-1.amazonaws.com", properties: { authSchemes: [{ name: "sigv4", signingName: "billingconductor", signingRegion: "us-east-1" }] }, headers: p }, type: f }, { conditions: [l, n], type: c, rules: [{ conditions: [r, s], type: c, rules: [{ type: c, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: f }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: e }] }, { conditions: t, type: c, rules: [{ conditions: [r], type: c, rules: [{ type: c, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: f }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }] }, { conditions: u, type: c, rules: [{ conditions: [s], type: c, rules: [{ type: c, rules: [{ endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: f }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: e }] }, { type: c, rules: [{ endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: f }] }] }] }, { error: "Invalid Configuration: Missing Region", type: e }] }] };
7
7
  exports.ruleSet = _data;
@@ -108,6 +108,7 @@ exports.ThrottlingException = ThrottlingException;
108
108
  exports.ValidationExceptionReason = {
109
109
  ACCOUNTS_ALREADY_ASSOCIATED: "ACCOUNTS_ALREADY_ASSOCIATED",
110
110
  ACCOUNTS_NOT_ASSOCIATED: "ACCOUNTS_NOT_ASSOCIATED",
111
+ CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP: "CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP",
111
112
  CANNOT_PARSE: "CANNOT_PARSE",
112
113
  CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS: "CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS",
113
114
  DUPLICATE_ACCOUNT: "DUPLICATE_ACCOUNT",
@@ -161,6 +162,7 @@ exports.ValidationExceptionReason = {
161
162
  PRIMARY_CANNOT_DISASSOCIATE: "PRIMARY_CANNOT_DISASSOCIATE",
162
163
  PRIMARY_NOT_ASSOCIATED: "PRIMARY_NOT_ASSOCIATED",
163
164
  TOO_MANY_ACCOUNTS_IN_REQUEST: "TOO_MANY_ACCOUNTS_IN_REQUEST",
165
+ TOO_MANY_AUTO_ASSOCIATE_BILLING_GROUPS: "TOO_MANY_AUTO_ASSOCIATE_BILLING_GROUPS",
164
166
  TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST: "TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST",
165
167
  UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
166
168
  };
@@ -652,6 +652,7 @@ const se_UpdateBillingGroupCommand = async (input, context) => {
652
652
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/update-billing-group";
653
653
  let body;
654
654
  body = JSON.stringify((0, smithy_client_1.take)(input, {
655
+ AccountGrouping: (_) => (0, smithy_client_1._json)(_),
655
656
  Arn: [],
656
657
  ComputationPreference: (_) => (0, smithy_client_1._json)(_),
657
658
  Description: [],
@@ -2035,6 +2036,7 @@ const de_UpdateBillingGroupCommand = async (output, context) => {
2035
2036
  });
2036
2037
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2037
2038
  const doc = (0, smithy_client_1.take)(data, {
2039
+ AccountGrouping: smithy_client_1._json,
2038
2040
  Arn: smithy_client_1.expectString,
2039
2041
  Description: smithy_client_1.expectString,
2040
2042
  LastModifiedTime: smithy_client_1.expectLong,
@@ -1,4 +1,4 @@
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 }] }] };
1
+ const w = "required", x = "fn", y = "argv", z = "ref";
2
+ const a = false, b = "isSet", c = "tree", d = "booleanEquals", e = "error", f = "endpoint", g = "PartitionResult", h = "getAttr", i = { [w]: false, "type": "String" }, j = { [w]: true, "default": false, "type": "Boolean" }, k = { [z]: "Endpoint" }, l = { [x]: d, [y]: [{ [z]: "UseFIPS" }, true] }, m = { [z]: "UseFIPS" }, n = { [x]: d, [y]: [{ [z]: "UseDualStack" }, true] }, o = { [z]: "UseDualStack" }, p = {}, q = { [z]: g }, r = { [x]: d, [y]: [true, { [x]: h, [y]: [q, "supportsFIPS"] }] }, s = { [x]: d, [y]: [true, { [x]: h, [y]: [q, "supportsDualStack"] }] }, t = [l], u = [n], v = [{ [z]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [x]: b, [y]: [k] }], type: c, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, { type: c, rules: [{ conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: e }, { endpoint: { url: k, properties: p, headers: p }, type: f }] }] }, { type: c, rules: [{ conditions: [{ [x]: b, [y]: v }], type: c, rules: [{ conditions: [{ [x]: "aws.partition", [y]: v, assign: g }], type: c, rules: [{ conditions: [{ [x]: "stringEquals", [y]: [{ [x]: h, [y]: [q, "name"] }, "aws"] }, { [x]: d, [y]: [m, a] }, { [x]: d, [y]: [o, a] }], endpoint: { url: "https://billingconductor.us-east-1.amazonaws.com", properties: { authSchemes: [{ name: "sigv4", signingName: "billingconductor", signingRegion: "us-east-1" }] }, headers: p }, type: f }, { conditions: [l, n], type: c, rules: [{ conditions: [r, s], type: c, rules: [{ type: c, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: f }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: e }] }, { conditions: t, type: c, rules: [{ conditions: [r], type: c, rules: [{ type: c, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: f }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }] }, { conditions: u, type: c, rules: [{ conditions: [s], type: c, rules: [{ type: c, rules: [{ endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: f }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: e }] }, { type: c, rules: [{ endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: f }] }] }] }, { error: "Invalid Configuration: Missing Region", type: e }] }] };
4
4
  export const ruleSet = _data;
@@ -99,6 +99,7 @@ export class ThrottlingException extends __BaseException {
99
99
  export const ValidationExceptionReason = {
100
100
  ACCOUNTS_ALREADY_ASSOCIATED: "ACCOUNTS_ALREADY_ASSOCIATED",
101
101
  ACCOUNTS_NOT_ASSOCIATED: "ACCOUNTS_NOT_ASSOCIATED",
102
+ CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP: "CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP",
102
103
  CANNOT_PARSE: "CANNOT_PARSE",
103
104
  CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS: "CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS",
104
105
  DUPLICATE_ACCOUNT: "DUPLICATE_ACCOUNT",
@@ -152,6 +153,7 @@ export const ValidationExceptionReason = {
152
153
  PRIMARY_CANNOT_DISASSOCIATE: "PRIMARY_CANNOT_DISASSOCIATE",
153
154
  PRIMARY_NOT_ASSOCIATED: "PRIMARY_NOT_ASSOCIATED",
154
155
  TOO_MANY_ACCOUNTS_IN_REQUEST: "TOO_MANY_ACCOUNTS_IN_REQUEST",
156
+ TOO_MANY_AUTO_ASSOCIATE_BILLING_GROUPS: "TOO_MANY_AUTO_ASSOCIATE_BILLING_GROUPS",
155
157
  TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST: "TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST",
156
158
  UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
157
159
  };
@@ -621,6 +621,7 @@ export const se_UpdateBillingGroupCommand = async (input, context) => {
621
621
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/update-billing-group";
622
622
  let body;
623
623
  body = JSON.stringify(take(input, {
624
+ AccountGrouping: (_) => _json(_),
624
625
  Arn: [],
625
626
  ComputationPreference: (_) => _json(_),
626
627
  Description: [],
@@ -1973,6 +1974,7 @@ export const de_UpdateBillingGroupCommand = async (output, context) => {
1973
1974
  });
1974
1975
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1975
1976
  const doc = take(data, {
1977
+ AccountGrouping: _json,
1976
1978
  Arn: __expectString,
1977
1979
  Description: __expectString,
1978
1980
  LastModifiedTime: __expectLong,
@@ -78,7 +78,7 @@ export interface AssociateAccountsCommandOutput extends AssociateAccountsOutput,
78
78
  * </p>
79
79
  *
80
80
  * @throws {@link ValidationException} (client fault)
81
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
81
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
82
82
  *
83
83
  * @throws {@link BillingconductorServiceException}
84
84
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -76,7 +76,7 @@ export interface AssociatePricingRulesCommandOutput extends AssociatePricingRule
76
76
  * </p>
77
77
  *
78
78
  * @throws {@link ValidationException} (client fault)
79
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
79
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
80
80
  *
81
81
  * @throws {@link BillingconductorServiceException}
82
82
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -98,7 +98,7 @@ export interface BatchAssociateResourcesToCustomLineItemCommandOutput extends Ba
98
98
  * </p>
99
99
  *
100
100
  * @throws {@link ValidationException} (client fault)
101
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
101
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
102
102
  *
103
103
  * @throws {@link BillingconductorServiceException}
104
104
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -94,7 +94,7 @@ export interface BatchDisassociateResourcesFromCustomLineItemCommandOutput exten
94
94
  * </p>
95
95
  *
96
96
  * @throws {@link ValidationException} (client fault)
97
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
97
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
98
98
  *
99
99
  * @throws {@link BillingconductorServiceException}
100
100
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -39,6 +39,7 @@ export interface CreateBillingGroupCommandOutput extends CreateBillingGroupOutpu
39
39
  * LinkedAccountIds: [ // AccountIdList // required
40
40
  * "STRING_VALUE",
41
41
  * ],
42
+ * AutoAssociate: true || false,
42
43
  * },
43
44
  * ComputationPreference: { // ComputationPreference
44
45
  * PricingPlanArn: "STRING_VALUE", // required
@@ -84,7 +85,7 @@ export interface CreateBillingGroupCommandOutput extends CreateBillingGroupOutpu
84
85
  * </p>
85
86
  *
86
87
  * @throws {@link ValidationException} (client fault)
87
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
88
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
88
89
  *
89
90
  * @throws {@link BillingconductorServiceException}
90
91
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -92,7 +92,7 @@ export interface CreateCustomLineItemCommandOutput extends CreateCustomLineItemO
92
92
  * </p>
93
93
  *
94
94
  * @throws {@link ValidationException} (client fault)
95
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
95
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
96
96
  *
97
97
  * @throws {@link BillingconductorServiceException}
98
98
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -81,7 +81,7 @@ export interface CreatePricingPlanCommandOutput extends CreatePricingPlanOutput,
81
81
  * </p>
82
82
  *
83
83
  * @throws {@link ValidationException} (client fault)
84
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
84
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
85
85
  *
86
86
  * @throws {@link BillingconductorServiceException}
87
87
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -87,7 +87,7 @@ export interface CreatePricingRuleCommandOutput extends CreatePricingRuleOutput,
87
87
  * </p>
88
88
  *
89
89
  * @throws {@link ValidationException} (client fault)
90
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
90
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
91
91
  *
92
92
  * @throws {@link BillingconductorServiceException}
93
93
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -62,7 +62,7 @@ export interface DeleteBillingGroupCommandOutput extends DeleteBillingGroupOutpu
62
62
  * </p>
63
63
  *
64
64
  * @throws {@link ValidationException} (client fault)
65
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
65
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
66
66
  *
67
67
  * @throws {@link BillingconductorServiceException}
68
68
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -70,7 +70,7 @@ export interface DeleteCustomLineItemCommandOutput extends DeleteCustomLineItemO
70
70
  * </p>
71
71
  *
72
72
  * @throws {@link ValidationException} (client fault)
73
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
73
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
74
74
  *
75
75
  * @throws {@link BillingconductorServiceException}
76
76
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -65,7 +65,7 @@ export interface DeletePricingPlanCommandOutput extends DeletePricingPlanOutput,
65
65
  * </p>
66
66
  *
67
67
  * @throws {@link ValidationException} (client fault)
68
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
68
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
69
69
  *
70
70
  * @throws {@link BillingconductorServiceException}
71
71
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -64,7 +64,7 @@ export interface DeletePricingRuleCommandOutput extends DeletePricingRuleOutput,
64
64
  * </p>
65
65
  *
66
66
  * @throws {@link ValidationException} (client fault)
67
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
67
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
68
68
  *
69
69
  * @throws {@link BillingconductorServiceException}
70
70
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -71,7 +71,7 @@ export interface DisassociateAccountsCommandOutput extends DisassociateAccountsO
71
71
  * </p>
72
72
  *
73
73
  * @throws {@link ValidationException} (client fault)
74
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
74
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
75
75
  *
76
76
  * @throws {@link BillingconductorServiceException}
77
77
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -73,7 +73,7 @@ export interface DisassociatePricingRulesCommandOutput extends DisassociatePrici
73
73
  * </p>
74
74
  *
75
75
  * @throws {@link ValidationException} (client fault)
76
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
76
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
77
77
  *
78
78
  * @throws {@link BillingconductorServiceException}
79
79
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -83,7 +83,7 @@ export interface ListAccountAssociationsCommandOutput extends ListAccountAssocia
83
83
  * </p>
84
84
  *
85
85
  * @throws {@link ValidationException} (client fault)
86
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
86
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
87
87
  *
88
88
  * @throws {@link BillingconductorServiceException}
89
89
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -82,7 +82,7 @@ export interface ListBillingGroupCostReportsCommandOutput extends ListBillingGro
82
82
  * </p>
83
83
  *
84
84
  * @throws {@link ValidationException} (client fault)
85
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
85
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
86
86
  *
87
87
  * @throws {@link BillingconductorServiceException}
88
88
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -42,6 +42,7 @@ export interface ListBillingGroupsCommandOutput extends ListBillingGroupsOutput,
42
42
  * Statuses: [ // BillingGroupStatusList
43
43
  * "STRING_VALUE",
44
44
  * ],
45
+ * AutoAssociate: true || false,
45
46
  * },
46
47
  * };
47
48
  * const command = new ListBillingGroupsCommand(input);
@@ -61,6 +62,9 @@ export interface ListBillingGroupsCommandOutput extends ListBillingGroupsOutput,
61
62
  * // LastModifiedTime: Number("long"),
62
63
  * // Status: "STRING_VALUE",
63
64
  * // StatusReason: "STRING_VALUE",
65
+ * // AccountGrouping: { // ListBillingGroupAccountGrouping
66
+ * // AutoAssociate: true || false,
67
+ * // },
64
68
  * // },
65
69
  * // ],
66
70
  * // NextToken: "STRING_VALUE",
@@ -91,7 +95,7 @@ export interface ListBillingGroupsCommandOutput extends ListBillingGroupsOutput,
91
95
  * </p>
92
96
  *
93
97
  * @throws {@link ValidationException} (client fault)
94
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
98
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
95
99
  *
96
100
  * @throws {@link BillingconductorServiceException}
97
101
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -93,7 +93,7 @@ export interface ListCustomLineItemVersionsCommandOutput extends ListCustomLineI
93
93
  * </p>
94
94
  *
95
95
  * @throws {@link ValidationException} (client fault)
96
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
96
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
97
97
  *
98
98
  * @throws {@link BillingconductorServiceException}
99
99
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -101,7 +101,7 @@ export interface ListCustomLineItemsCommandOutput extends ListCustomLineItemsOut
101
101
  * </p>
102
102
  *
103
103
  * @throws {@link ValidationException} (client fault)
104
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
104
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
105
105
  *
106
106
  * @throws {@link BillingconductorServiceException}
107
107
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -74,7 +74,7 @@ export interface ListPricingPlansAssociatedWithPricingRuleCommandOutput extends
74
74
  * </p>
75
75
  *
76
76
  * @throws {@link ValidationException} (client fault)
77
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
77
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
78
78
  *
79
79
  * @throws {@link BillingconductorServiceException}
80
80
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -79,7 +79,7 @@ export interface ListPricingPlansCommandOutput extends ListPricingPlansOutput, _
79
79
  * </p>
80
80
  *
81
81
  * @throws {@link ValidationException} (client fault)
82
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
82
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
83
83
  *
84
84
  * @throws {@link BillingconductorServiceException}
85
85
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -74,7 +74,7 @@ export interface ListPricingRulesAssociatedToPricingPlanCommandOutput extends Li
74
74
  * </p>
75
75
  *
76
76
  * @throws {@link ValidationException} (client fault)
77
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
77
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
78
78
  *
79
79
  * @throws {@link BillingconductorServiceException}
80
80
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -92,7 +92,7 @@ export interface ListPricingRulesCommandOutput extends ListPricingRulesOutput, _
92
92
  * </p>
93
93
  *
94
94
  * @throws {@link ValidationException} (client fault)
95
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
95
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
96
96
  *
97
97
  * @throws {@link BillingconductorServiceException}
98
98
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -80,7 +80,7 @@ export interface ListResourcesAssociatedToCustomLineItemCommandOutput extends Li
80
80
  * </p>
81
81
  *
82
82
  * @throws {@link ValidationException} (client fault)
83
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
83
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
84
84
  *
85
85
  * @throws {@link BillingconductorServiceException}
86
86
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -68,7 +68,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
68
68
  * </p>
69
69
  *
70
70
  * @throws {@link ValidationException} (client fault)
71
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
71
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
72
72
  *
73
73
  * @throws {@link BillingconductorServiceException}
74
74
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -67,7 +67,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
67
67
  * </p>
68
68
  *
69
69
  * @throws {@link ValidationException} (client fault)
70
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
70
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
71
71
  *
72
72
  * @throws {@link BillingconductorServiceException}
73
73
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -67,7 +67,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
67
67
  * </p>
68
68
  *
69
69
  * @throws {@link ValidationException} (client fault)
70
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
70
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
71
71
  *
72
72
  * @throws {@link BillingconductorServiceException}
73
73
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -39,6 +39,9 @@ export interface UpdateBillingGroupCommandOutput extends UpdateBillingGroupOutpu
39
39
  * PricingPlanArn: "STRING_VALUE", // required
40
40
  * },
41
41
  * Description: "STRING_VALUE",
42
+ * AccountGrouping: { // UpdateBillingGroupAccountGrouping
43
+ * AutoAssociate: true || false,
44
+ * },
42
45
  * };
43
46
  * const command = new UpdateBillingGroupCommand(input);
44
47
  * const response = await client.send(command);
@@ -52,6 +55,9 @@ export interface UpdateBillingGroupCommandOutput extends UpdateBillingGroupOutpu
52
55
  * // LastModifiedTime: Number("long"),
53
56
  * // Status: "STRING_VALUE",
54
57
  * // StatusReason: "STRING_VALUE",
58
+ * // AccountGrouping: { // UpdateBillingGroupAccountGrouping
59
+ * // AutoAssociate: true || false,
60
+ * // },
55
61
  * // };
56
62
  *
57
63
  * ```
@@ -83,7 +89,7 @@ export interface UpdateBillingGroupCommandOutput extends UpdateBillingGroupOutpu
83
89
  * </p>
84
90
  *
85
91
  * @throws {@link ValidationException} (client fault)
86
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
92
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
87
93
  *
88
94
  * @throws {@link BillingconductorServiceException}
89
95
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -94,7 +94,7 @@ export interface UpdateCustomLineItemCommandOutput extends UpdateCustomLineItemO
94
94
  * </p>
95
95
  *
96
96
  * @throws {@link ValidationException} (client fault)
97
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
97
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
98
98
  *
99
99
  * @throws {@link BillingconductorServiceException}
100
100
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -75,7 +75,7 @@ export interface UpdatePricingPlanCommandOutput extends UpdatePricingPlanOutput,
75
75
  * </p>
76
76
  *
77
77
  * @throws {@link ValidationException} (client fault)
78
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
78
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
79
79
  *
80
80
  * @throws {@link BillingconductorServiceException}
81
81
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>
@@ -95,7 +95,7 @@ export interface UpdatePricingRuleCommandOutput extends UpdatePricingRuleOutput,
95
95
  * </p>
96
96
  *
97
97
  * @throws {@link ValidationException} (client fault)
98
- * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
98
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services.</p>
99
99
  *
100
100
  * @throws {@link BillingconductorServiceException}
101
101
  * <p>Base exception class for all service exceptions from Billingconductor service.</p>