@aws-sdk/client-billingconductor 3.245.0 → 3.252.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const A = "type", B = "fn", C = "argv", D = "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, [A]: "Boolean" }, k = { [D]: "Region" }, l = { [D]: "Endpoint" }, m = {}, n = { [D]: d }, o = { "authSchemes": [{ "name": "sigv4", "signingRegion": "us-east-1", "signingName": "billingconductor" }] }, p = { [f]: "FIPS and DualStack are enabled, but this partition does not support one or both", [A]: f }, q = { [f]: "FIPS is enabled but this partition does not support FIPS", [A]: f }, r = { [f]: "DualStack is enabled but this partition does not support DualStack", [A]: f }, s = { "url": "https://billingconductor.us-east-1.amazonaws.com", "properties": o, "headers": {} }, t = [l], u = [{ [B]: "booleanEquals", [C]: [{ [D]: "UseFIPS" }, true] }], v = [{ [B]: "booleanEquals", [C]: [{ [D]: "UseDualStack" }, true] }], w = [{ [B]: "booleanEquals", [C]: [{ [D]: "UseFIPS" }, true] }, { [B]: "booleanEquals", [C]: [{ [D]: "UseDualStack" }, true] }], x = [{ [B]: "booleanEquals", [C]: [true, { [B]: i, [C]: [n, "supportsFIPS"] }] }, { [B]: "booleanEquals", [C]: [true, { [B]: i, [C]: [n, "supportsDualStack"] }] }], y = [{ [B]: "booleanEquals", [C]: [true, { [B]: i, [C]: [n, "supportsFIPS"] }] }], z = [{ [B]: "booleanEquals", [C]: [true, { [B]: i, [C]: [n, "supportsDualStack"] }] }];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, [A]: c }, UseDualStack: j, UseFIPS: j, Endpoint: { required: b, [A]: c } }, rules: [{ conditions: [{ [B]: "aws.partition", [C]: [k], assign: d }], [A]: e, rules: [{ conditions: [{ [B]: "isSet", [C]: t }, { [B]: "parseURL", [C]: t, assign: "url" }], [A]: e, rules: [{ conditions: u, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [A]: f }, { [A]: e, rules: [{ conditions: v, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [A]: f }, { endpoint: { url: l, properties: m, headers: m }, [A]: g }] }] }, { conditions: [{ [B]: h, [C]: [{ [B]: i, [C]: [n, "name"] }, "aws"] }], [A]: e, rules: [{ conditions: w, [A]: e, rules: [{ conditions: x, [A]: e, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.api.aws", properties: o, headers: m }, [A]: g }] }, p] }, { conditions: u, [A]: e, rules: [{ conditions: y, [A]: e, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.amazonaws.com", properties: o, headers: m }, [A]: g }] }, q] }, { conditions: v, [A]: e, rules: [{ conditions: z, [A]: e, rules: [{ endpoint: { url: "https://billingconductor.{Region}.api.aws", properties: o, headers: m }, [A]: g }] }, r] }, { endpoint: s, [A]: g }] }, { conditions: w, [A]: e, rules: [{ conditions: x, [A]: e, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, [A]: g }] }, p] }, { conditions: u, [A]: e, rules: [{ conditions: y, [A]: e, rules: [{ [A]: e, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, [A]: g }] }] }, q] }, { conditions: v, [A]: e, rules: [{ conditions: z, [A]: e, rules: [{ endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, [A]: g }] }, r] }, { [A]: e, rules: [{ conditions: [{ [B]: h, [C]: [k, "aws-global"] }], endpoint: s, [A]: g }, { endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, [A]: g }] }] }] };
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 }] }] }] };
7
7
  exports.ruleSet = _data;
@@ -210,11 +210,13 @@ const serializeAws_restJson1CreatePricingRuleCommand = async (input, context) =>
210
210
  ...(input.Description != null && { Description: input.Description }),
211
211
  ...(input.ModifierPercentage != null && { ModifierPercentage: (0, smithy_client_1.serializeFloat)(input.ModifierPercentage) }),
212
212
  ...(input.Name != null && { Name: input.Name }),
213
+ ...(input.Operation != null && { Operation: input.Operation }),
213
214
  ...(input.Scope != null && { Scope: input.Scope }),
214
215
  ...(input.Service != null && { Service: input.Service }),
215
216
  ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
216
217
  ...(input.Tiering != null && { Tiering: serializeAws_restJson1CreateTieringInput(input.Tiering, context) }),
217
218
  ...(input.Type != null && { Type: input.Type }),
219
+ ...(input.UsageType != null && { UsageType: input.UsageType }),
218
220
  });
219
221
  return new protocol_http_1.HttpRequest({
220
222
  protocol,
@@ -2329,6 +2331,9 @@ const deserializeAws_restJson1UpdatePricingRuleCommand = async (output, context)
2329
2331
  if (data.Name != null) {
2330
2332
  contents.Name = (0, smithy_client_1.expectString)(data.Name);
2331
2333
  }
2334
+ if (data.Operation != null) {
2335
+ contents.Operation = (0, smithy_client_1.expectString)(data.Operation);
2336
+ }
2332
2337
  if (data.Scope != null) {
2333
2338
  contents.Scope = (0, smithy_client_1.expectString)(data.Scope);
2334
2339
  }
@@ -2341,6 +2346,9 @@ const deserializeAws_restJson1UpdatePricingRuleCommand = async (output, context)
2341
2346
  if (data.Type != null) {
2342
2347
  contents.Type = (0, smithy_client_1.expectString)(data.Type);
2343
2348
  }
2349
+ if (data.UsageType != null) {
2350
+ contents.UsageType = (0, smithy_client_1.expectString)(data.UsageType);
2351
+ }
2344
2352
  return contents;
2345
2353
  };
2346
2354
  exports.deserializeAws_restJson1UpdatePricingRuleCommand = deserializeAws_restJson1UpdatePricingRuleCommand;
@@ -1,4 +1,4 @@
1
- const A = "type", B = "fn", C = "argv", D = "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, [A]: "Boolean" }, k = { [D]: "Region" }, l = { [D]: "Endpoint" }, m = {}, n = { [D]: d }, o = { "authSchemes": [{ "name": "sigv4", "signingRegion": "us-east-1", "signingName": "billingconductor" }] }, p = { [f]: "FIPS and DualStack are enabled, but this partition does not support one or both", [A]: f }, q = { [f]: "FIPS is enabled but this partition does not support FIPS", [A]: f }, r = { [f]: "DualStack is enabled but this partition does not support DualStack", [A]: f }, s = { "url": "https://billingconductor.us-east-1.amazonaws.com", "properties": o, "headers": {} }, t = [l], u = [{ [B]: "booleanEquals", [C]: [{ [D]: "UseFIPS" }, true] }], v = [{ [B]: "booleanEquals", [C]: [{ [D]: "UseDualStack" }, true] }], w = [{ [B]: "booleanEquals", [C]: [{ [D]: "UseFIPS" }, true] }, { [B]: "booleanEquals", [C]: [{ [D]: "UseDualStack" }, true] }], x = [{ [B]: "booleanEquals", [C]: [true, { [B]: i, [C]: [n, "supportsFIPS"] }] }, { [B]: "booleanEquals", [C]: [true, { [B]: i, [C]: [n, "supportsDualStack"] }] }], y = [{ [B]: "booleanEquals", [C]: [true, { [B]: i, [C]: [n, "supportsFIPS"] }] }], z = [{ [B]: "booleanEquals", [C]: [true, { [B]: i, [C]: [n, "supportsDualStack"] }] }];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, [A]: c }, UseDualStack: j, UseFIPS: j, Endpoint: { required: b, [A]: c } }, rules: [{ conditions: [{ [B]: "aws.partition", [C]: [k], assign: d }], [A]: e, rules: [{ conditions: [{ [B]: "isSet", [C]: t }, { [B]: "parseURL", [C]: t, assign: "url" }], [A]: e, rules: [{ conditions: u, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [A]: f }, { [A]: e, rules: [{ conditions: v, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [A]: f }, { endpoint: { url: l, properties: m, headers: m }, [A]: g }] }] }, { conditions: [{ [B]: h, [C]: [{ [B]: i, [C]: [n, "name"] }, "aws"] }], [A]: e, rules: [{ conditions: w, [A]: e, rules: [{ conditions: x, [A]: e, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.api.aws", properties: o, headers: m }, [A]: g }] }, p] }, { conditions: u, [A]: e, rules: [{ conditions: y, [A]: e, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.amazonaws.com", properties: o, headers: m }, [A]: g }] }, q] }, { conditions: v, [A]: e, rules: [{ conditions: z, [A]: e, rules: [{ endpoint: { url: "https://billingconductor.{Region}.api.aws", properties: o, headers: m }, [A]: g }] }, r] }, { endpoint: s, [A]: g }] }, { conditions: w, [A]: e, rules: [{ conditions: x, [A]: e, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, [A]: g }] }, p] }, { conditions: u, [A]: e, rules: [{ conditions: y, [A]: e, rules: [{ [A]: e, rules: [{ endpoint: { url: "https://billingconductor-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, [A]: g }] }] }, q] }, { conditions: v, [A]: e, rules: [{ conditions: z, [A]: e, rules: [{ endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, [A]: g }] }, r] }, { [A]: e, rules: [{ conditions: [{ [B]: h, [C]: [k, "aws-global"] }], endpoint: s, [A]: g }, { endpoint: { url: "https://billingconductor.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, [A]: g }] }] }] };
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 }] }] }] };
4
4
  export const ruleSet = _data;
@@ -199,11 +199,13 @@ export const serializeAws_restJson1CreatePricingRuleCommand = async (input, cont
199
199
  ...(input.Description != null && { Description: input.Description }),
200
200
  ...(input.ModifierPercentage != null && { ModifierPercentage: __serializeFloat(input.ModifierPercentage) }),
201
201
  ...(input.Name != null && { Name: input.Name }),
202
+ ...(input.Operation != null && { Operation: input.Operation }),
202
203
  ...(input.Scope != null && { Scope: input.Scope }),
203
204
  ...(input.Service != null && { Service: input.Service }),
204
205
  ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
205
206
  ...(input.Tiering != null && { Tiering: serializeAws_restJson1CreateTieringInput(input.Tiering, context) }),
206
207
  ...(input.Type != null && { Type: input.Type }),
208
+ ...(input.UsageType != null && { UsageType: input.UsageType }),
207
209
  });
208
210
  return new __HttpRequest({
209
211
  protocol,
@@ -2264,6 +2266,9 @@ export const deserializeAws_restJson1UpdatePricingRuleCommand = async (output, c
2264
2266
  if (data.Name != null) {
2265
2267
  contents.Name = __expectString(data.Name);
2266
2268
  }
2269
+ if (data.Operation != null) {
2270
+ contents.Operation = __expectString(data.Operation);
2271
+ }
2267
2272
  if (data.Scope != null) {
2268
2273
  contents.Scope = __expectString(data.Scope);
2269
2274
  }
@@ -2276,6 +2281,9 @@ export const deserializeAws_restJson1UpdatePricingRuleCommand = async (output, c
2276
2281
  if (data.Type != null) {
2277
2282
  contents.Type = __expectString(data.Type);
2278
2283
  }
2284
+ if (data.UsageType != null) {
2285
+ contents.UsageType = __expectString(data.UsageType);
2286
+ }
2279
2287
  return contents;
2280
2288
  };
2281
2289
  const deserializeAws_restJson1UpdatePricingRuleCommandError = async (output, context) => {
@@ -1825,7 +1825,7 @@ export interface CreatePricingRuleInput {
1825
1825
  ModifierPercentage?: number;
1826
1826
  /**
1827
1827
  * <p>
1828
- * If the <code>Scope</code> attribute is set to <code>SERVICE</code>, the attribute indicates which service the <code>PricingRule</code> is applicable for.
1828
+ * If the <code>Scope</code> attribute is set to <code>SERVICE</code> or <code>SKU</code>, the attribute indicates which service the <code>PricingRule</code> is applicable for.
1829
1829
  * </p>
1830
1830
  */
1831
1831
  Service?: string;
@@ -1847,6 +1847,21 @@ export interface CreatePricingRuleInput {
1847
1847
  * </p>
1848
1848
  */
1849
1849
  Tiering?: CreateTieringInput;
1850
+ /**
1851
+ * <p>
1852
+ * Usage type is the unit that each service uses to measure the usage of a specific type of resource.</p>
1853
+ * <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.
1854
+ *
1855
+ * </p>
1856
+ */
1857
+ UsageType?: string;
1858
+ /**
1859
+ * <p>
1860
+ * Operation is the specific Amazon Web Services action covered by this line item. This describes the specific usage of the line item.</p>
1861
+ * <p>
1862
+ * 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>
1863
+ */
1864
+ Operation?: string;
1850
1865
  }
1851
1866
  export interface CreatePricingRuleOutput {
1852
1867
  /**
@@ -2197,6 +2212,18 @@ export interface UpdatePricingRuleOutput {
2197
2212
  * </p>
2198
2213
  */
2199
2214
  Tiering?: UpdateTieringInput;
2215
+ /**
2216
+ * <p>Usage type is the unit that each service uses to measure the usage of a specific type of resource.</p>
2217
+ * <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.
2218
+ * </p>
2219
+ */
2220
+ UsageType?: string;
2221
+ /**
2222
+ * <p>Operation refers to the specific Amazon Web Services covered by this line item. This describes the specific usage of the line item.</p>
2223
+ * <p>
2224
+ * 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>
2225
+ */
2226
+ Operation?: string;
2200
2227
  }
2201
2228
  export interface TagResourceRequest {
2202
2229
  /**
@@ -566,6 +566,8 @@ export interface CreatePricingRuleInput {
566
566
  Tags?: Record<string, string>;
567
567
  BillingEntity?: string;
568
568
  Tiering?: CreateTieringInput;
569
+ UsageType?: string;
570
+ Operation?: string;
569
571
  }
570
572
  export interface CreatePricingRuleOutput {
571
573
  Arn?: string;
@@ -648,6 +650,8 @@ export interface UpdatePricingRuleOutput {
648
650
  LastModifiedTime?: number;
649
651
  BillingEntity?: string;
650
652
  Tiering?: UpdateTieringInput;
653
+ UsageType?: string;
654
+ Operation?: string;
651
655
  }
652
656
  export interface TagResourceRequest {
653
657
  ResourceArn: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-billingconductor",
3
3
  "description": "AWS SDK for JavaScript Billingconductor Client for Node.js, Browser and React Native",
4
- "version": "3.245.0",
4
+ "version": "3.252.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -11,7 +11,7 @@
11
11
  "build:types": "tsc -p tsconfig.types.json",
12
12
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
13
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
14
- "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/billingconductor.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo billingconductor"
15
15
  },
16
16
  "main": "./dist-cjs/index.js",
17
17
  "types": "./dist-types/index.d.ts",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "2.0.0",
22
22
  "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.245.0",
23
+ "@aws-sdk/client-sts": "3.252.0",
24
24
  "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.245.0",
25
+ "@aws-sdk/credential-provider-node": "3.252.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.226.0",
27
27
  "@aws-sdk/hash-node": "3.226.0",
28
28
  "@aws-sdk/invalid-dependency": "3.226.0",