@aws-sdk/client-marketplace-metering 3.911.0 → 3.914.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.
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const w = "required", x = "fn", y = "argv", z = "ref";
5
- const a = true, b = false, c = "isSet", d = "booleanEquals", e = "error", f = "endpoint", g = "tree", h = "PartitionResult", i = "stringEquals", j = { [w]: true, "default": false, "type": "Boolean" }, k = { [w]: false, "type": "String" }, l = { [z]: "Endpoint" }, m = { [x]: d, [y]: [{ [z]: "UseFIPS" }, true] }, n = { [x]: d, [y]: [{ [z]: "UseDualStack" }, true] }, o = { [z]: "UseDualStack" }, p = {}, q = { [x]: "getAttr", [y]: [{ [z]: h }, "name"] }, r = { [x]: d, [y]: [{ [z]: "UseFIPS" }, false] }, s = { "url": "https://metering-marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, t = { [x]: "getAttr", [y]: [{ [z]: h }, "supportsFIPS"] }, u = { [x]: d, [y]: [true, { [x]: "getAttr", [y]: [{ [z]: h }, "supportsDualStack"] }] }, v = [{ [z]: "Region" }];
5
+ const a = true, b = false, c = "isSet", d = "booleanEquals", e = "error", f = "endpoint", g = "tree", h = "PartitionResult", i = "stringEquals", j = { [w]: true, "default": false, "type": "boolean" }, k = { [w]: false, "type": "string" }, l = { [z]: "Endpoint" }, m = { [x]: d, [y]: [{ [z]: "UseFIPS" }, true] }, n = { [x]: d, [y]: [{ [z]: "UseDualStack" }, true] }, o = { [z]: "UseDualStack" }, p = {}, q = { [x]: "getAttr", [y]: [{ [z]: h }, "name"] }, r = { [x]: d, [y]: [{ [z]: "UseFIPS" }, false] }, s = { "url": "https://metering-marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, t = { [x]: "getAttr", [y]: [{ [z]: h }, "supportsFIPS"] }, u = { [x]: d, [y]: [true, { [x]: "getAttr", [y]: [{ [z]: h }, "supportsDualStack"] }] }, v = [{ [z]: "Region" }];
6
6
  const _data = { version: "1.0", parameters: { UseDualStack: j, UseFIPS: j, Endpoint: k, Region: k }, rules: [{ conditions: [{ [x]: c, [y]: [l] }], rules: [{ conditions: [m], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, { rules: [{ conditions: [n], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: e }, { endpoint: { url: l, properties: p, headers: p }, type: f }], type: g }], type: g }, { rules: [{ conditions: [{ [x]: c, [y]: v }], rules: [{ conditions: [{ [x]: "aws.partition", [y]: v, assign: h }], rules: [{ conditions: [{ [x]: i, [y]: [q, "aws"] }, r, n], endpoint: s, type: f }, { conditions: [{ [x]: i, [y]: [q, "aws-cn"] }, r, n], endpoint: s, type: f }, { conditions: [{ [x]: i, [y]: [q, "aws-us-gov"] }, r, n], endpoint: s, type: f }, { conditions: [m, n], rules: [{ conditions: [{ [x]: d, [y]: [a, t] }, u], rules: [{ endpoint: { url: "https://metering.marketplace-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: f }], type: g }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: e }], type: g }, { conditions: [m, { [x]: d, [y]: [o, b] }], rules: [{ conditions: [{ [x]: d, [y]: [t, a] }], rules: [{ endpoint: { url: "https://metering.marketplace-fips.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: f }], type: g }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }], type: g }, { conditions: [r, n], rules: [{ conditions: [u], rules: [{ endpoint: { url: "https://metering.marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: f }], type: g }, { error: "DualStack is enabled but this partition does not support DualStack", type: e }], type: g }, { endpoint: { url: "https://metering.marketplace.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: f }], type: g }], type: g }, { error: "Invalid Configuration: Missing Region", type: e }], type: g }] };
7
7
  exports.ruleSet = _data;
package/dist-cjs/index.js CHANGED
@@ -16,6 +16,7 @@ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
16
  var protocolHttp = require('@smithy/protocol-http');
17
17
  var middlewareSerde = require('@smithy/middleware-serde');
18
18
  var core$1 = require('@aws-sdk/core');
19
+ var uuid = require('@smithy/uuid');
19
20
 
20
21
  const resolveClientEndpointParameters = (options) => {
21
22
  return Object.assign(options, {
@@ -254,6 +255,18 @@ class DuplicateRequestException extends MarketplaceMeteringServiceException {
254
255
  Object.setPrototypeOf(this, DuplicateRequestException.prototype);
255
256
  }
256
257
  }
258
+ class IdempotencyConflictException extends MarketplaceMeteringServiceException {
259
+ name = "IdempotencyConflictException";
260
+ $fault = "client";
261
+ constructor(opts) {
262
+ super({
263
+ name: "IdempotencyConflictException",
264
+ $fault: "client",
265
+ ...opts,
266
+ });
267
+ Object.setPrototypeOf(this, IdempotencyConflictException.prototype);
268
+ }
269
+ }
257
270
  class InvalidEndpointRegionException extends MarketplaceMeteringServiceException {
258
271
  name = "InvalidEndpointRegionException";
259
272
  $fault = "client";
@@ -443,6 +456,9 @@ const de_CommandError = async (output, context) => {
443
456
  case "DuplicateRequestException":
444
457
  case "com.amazonaws.marketplacemetering#DuplicateRequestException":
445
458
  throw await de_DuplicateRequestExceptionRes(parsedOutput);
459
+ case "IdempotencyConflictException":
460
+ case "com.amazonaws.marketplacemetering#IdempotencyConflictException":
461
+ throw await de_IdempotencyConflictExceptionRes(parsedOutput);
446
462
  case "InvalidEndpointRegionException":
447
463
  case "com.amazonaws.marketplacemetering#InvalidEndpointRegionException":
448
464
  throw await de_InvalidEndpointRegionExceptionRes(parsedOutput);
@@ -506,6 +522,15 @@ const de_ExpiredTokenExceptionRes = async (parsedOutput, context) => {
506
522
  });
507
523
  return smithyClient.decorateServiceException(exception, body);
508
524
  };
525
+ const de_IdempotencyConflictExceptionRes = async (parsedOutput, context) => {
526
+ const body = parsedOutput.body;
527
+ const deserialized = smithyClient._json(body);
528
+ const exception = new IdempotencyConflictException({
529
+ $metadata: deserializeMetadata(parsedOutput),
530
+ ...deserialized,
531
+ });
532
+ return smithyClient.decorateServiceException(exception, body);
533
+ };
509
534
  const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
510
535
  const body = parsedOutput.body;
511
536
  const deserialized = smithyClient._json(body);
@@ -631,6 +656,7 @@ const se_BatchMeterUsageRequest = (input, context) => {
631
656
  };
632
657
  const se_MeterUsageRequest = (input, context) => {
633
658
  return smithyClient.take(input, {
659
+ ClientToken: [true, (_) => _ ?? uuid.v4()],
634
660
  DryRun: [],
635
661
  ProductCode: [],
636
662
  Timestamp: (_) => _.getTime() / 1_000,
@@ -821,6 +847,7 @@ exports.CustomerNotEntitledException = CustomerNotEntitledException;
821
847
  exports.DisabledApiException = DisabledApiException;
822
848
  exports.DuplicateRequestException = DuplicateRequestException;
823
849
  exports.ExpiredTokenException = ExpiredTokenException;
850
+ exports.IdempotencyConflictException = IdempotencyConflictException;
824
851
  exports.InternalServiceErrorException = InternalServiceErrorException;
825
852
  exports.InvalidCustomerIdentifierException = InvalidCustomerIdentifierException;
826
853
  exports.InvalidEndpointRegionException = InvalidEndpointRegionException;
@@ -1,4 +1,4 @@
1
1
  const w = "required", x = "fn", y = "argv", z = "ref";
2
- const a = true, b = false, c = "isSet", d = "booleanEquals", e = "error", f = "endpoint", g = "tree", h = "PartitionResult", i = "stringEquals", j = { [w]: true, "default": false, "type": "Boolean" }, k = { [w]: false, "type": "String" }, l = { [z]: "Endpoint" }, m = { [x]: d, [y]: [{ [z]: "UseFIPS" }, true] }, n = { [x]: d, [y]: [{ [z]: "UseDualStack" }, true] }, o = { [z]: "UseDualStack" }, p = {}, q = { [x]: "getAttr", [y]: [{ [z]: h }, "name"] }, r = { [x]: d, [y]: [{ [z]: "UseFIPS" }, false] }, s = { "url": "https://metering-marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, t = { [x]: "getAttr", [y]: [{ [z]: h }, "supportsFIPS"] }, u = { [x]: d, [y]: [true, { [x]: "getAttr", [y]: [{ [z]: h }, "supportsDualStack"] }] }, v = [{ [z]: "Region" }];
2
+ const a = true, b = false, c = "isSet", d = "booleanEquals", e = "error", f = "endpoint", g = "tree", h = "PartitionResult", i = "stringEquals", j = { [w]: true, "default": false, "type": "boolean" }, k = { [w]: false, "type": "string" }, l = { [z]: "Endpoint" }, m = { [x]: d, [y]: [{ [z]: "UseFIPS" }, true] }, n = { [x]: d, [y]: [{ [z]: "UseDualStack" }, true] }, o = { [z]: "UseDualStack" }, p = {}, q = { [x]: "getAttr", [y]: [{ [z]: h }, "name"] }, r = { [x]: d, [y]: [{ [z]: "UseFIPS" }, false] }, s = { "url": "https://metering-marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, t = { [x]: "getAttr", [y]: [{ [z]: h }, "supportsFIPS"] }, u = { [x]: d, [y]: [true, { [x]: "getAttr", [y]: [{ [z]: h }, "supportsDualStack"] }] }, v = [{ [z]: "Region" }];
3
3
  const _data = { version: "1.0", parameters: { UseDualStack: j, UseFIPS: j, Endpoint: k, Region: k }, rules: [{ conditions: [{ [x]: c, [y]: [l] }], rules: [{ conditions: [m], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, { rules: [{ conditions: [n], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: e }, { endpoint: { url: l, properties: p, headers: p }, type: f }], type: g }], type: g }, { rules: [{ conditions: [{ [x]: c, [y]: v }], rules: [{ conditions: [{ [x]: "aws.partition", [y]: v, assign: h }], rules: [{ conditions: [{ [x]: i, [y]: [q, "aws"] }, r, n], endpoint: s, type: f }, { conditions: [{ [x]: i, [y]: [q, "aws-cn"] }, r, n], endpoint: s, type: f }, { conditions: [{ [x]: i, [y]: [q, "aws-us-gov"] }, r, n], endpoint: s, type: f }, { conditions: [m, n], rules: [{ conditions: [{ [x]: d, [y]: [a, t] }, u], rules: [{ endpoint: { url: "https://metering.marketplace-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: f }], type: g }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: e }], type: g }, { conditions: [m, { [x]: d, [y]: [o, b] }], rules: [{ conditions: [{ [x]: d, [y]: [t, a] }], rules: [{ endpoint: { url: "https://metering.marketplace-fips.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: f }], type: g }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }], type: g }, { conditions: [r, n], rules: [{ conditions: [u], rules: [{ endpoint: { url: "https://metering.marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: f }], type: g }, { error: "DualStack is enabled but this partition does not support DualStack", type: e }], type: g }, { endpoint: { url: "https://metering.marketplace.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: f }], type: g }], type: g }, { error: "Invalid Configuration: Missing Region", type: e }], type: g }] };
4
4
  export const ruleSet = _data;
@@ -136,6 +136,18 @@ export class DuplicateRequestException extends __BaseException {
136
136
  Object.setPrototypeOf(this, DuplicateRequestException.prototype);
137
137
  }
138
138
  }
139
+ export class IdempotencyConflictException extends __BaseException {
140
+ name = "IdempotencyConflictException";
141
+ $fault = "client";
142
+ constructor(opts) {
143
+ super({
144
+ name: "IdempotencyConflictException",
145
+ $fault: "client",
146
+ ...opts,
147
+ });
148
+ Object.setPrototypeOf(this, IdempotencyConflictException.prototype);
149
+ }
150
+ }
139
151
  export class InvalidEndpointRegionException extends __BaseException {
140
152
  name = "InvalidEndpointRegionException";
141
153
  $fault = "client";
@@ -1,8 +1,9 @@
1
1
  import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
2
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
4
+ import { v4 as generateIdempotencyToken } from "@smithy/uuid";
4
5
  import { MarketplaceMeteringServiceException as __BaseException } from "../models/MarketplaceMeteringServiceException";
5
- import { CustomerNotEntitledException, DisabledApiException, DuplicateRequestException, ExpiredTokenException, InternalServiceErrorException, InvalidCustomerIdentifierException, InvalidEndpointRegionException, InvalidProductCodeException, InvalidPublicKeyVersionException, InvalidRegionException, InvalidTagException, InvalidTokenException, InvalidUsageAllocationsException, InvalidUsageDimensionException, PlatformNotSupportedException, ThrottlingException, TimestampOutOfBoundsException, } from "../models/models_0";
6
+ import { CustomerNotEntitledException, DisabledApiException, DuplicateRequestException, ExpiredTokenException, IdempotencyConflictException, InternalServiceErrorException, InvalidCustomerIdentifierException, InvalidEndpointRegionException, InvalidProductCodeException, InvalidPublicKeyVersionException, InvalidRegionException, InvalidTagException, InvalidTokenException, InvalidUsageAllocationsException, InvalidUsageDimensionException, PlatformNotSupportedException, ThrottlingException, TimestampOutOfBoundsException, } from "../models/models_0";
6
7
  export const se_BatchMeterUsageCommand = async (input, context) => {
7
8
  const headers = sharedHeaders("BatchMeterUsage");
8
9
  let body;
@@ -119,6 +120,9 @@ const de_CommandError = async (output, context) => {
119
120
  case "DuplicateRequestException":
120
121
  case "com.amazonaws.marketplacemetering#DuplicateRequestException":
121
122
  throw await de_DuplicateRequestExceptionRes(parsedOutput, context);
123
+ case "IdempotencyConflictException":
124
+ case "com.amazonaws.marketplacemetering#IdempotencyConflictException":
125
+ throw await de_IdempotencyConflictExceptionRes(parsedOutput, context);
122
126
  case "InvalidEndpointRegionException":
123
127
  case "com.amazonaws.marketplacemetering#InvalidEndpointRegionException":
124
128
  throw await de_InvalidEndpointRegionExceptionRes(parsedOutput, context);
@@ -182,6 +186,15 @@ const de_ExpiredTokenExceptionRes = async (parsedOutput, context) => {
182
186
  });
183
187
  return __decorateServiceException(exception, body);
184
188
  };
189
+ const de_IdempotencyConflictExceptionRes = async (parsedOutput, context) => {
190
+ const body = parsedOutput.body;
191
+ const deserialized = _json(body);
192
+ const exception = new IdempotencyConflictException({
193
+ $metadata: deserializeMetadata(parsedOutput),
194
+ ...deserialized,
195
+ });
196
+ return __decorateServiceException(exception, body);
197
+ };
185
198
  const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
186
199
  const body = parsedOutput.body;
187
200
  const deserialized = _json(body);
@@ -307,6 +320,7 @@ const se_BatchMeterUsageRequest = (input, context) => {
307
320
  };
308
321
  const se_MeterUsageRequest = (input, context) => {
309
322
  return take(input, {
323
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
310
324
  DryRun: [],
311
325
  ProductCode: [],
312
326
  Timestamp: (_) => _.getTime() / 1_000,
@@ -29,7 +29,7 @@ declare const BatchMeterUsageCommand_base: {
29
29
  /**
30
30
  * <important>
31
31
  * <p>
32
- * The <code>CustomerIdentifier</code> parameter is scheduled for deprecation. Use <code>CustomerAWSAccountID</code> instead.</p>
32
+ * The <code>CustomerIdentifier</code> parameter is scheduled for deprecation on March 31, 2026. Use <code>CustomerAWSAccountID</code> instead.</p>
33
33
  * <p>These parameters are mutually exclusive. You can't specify both <code>CustomerIdentifier</code> and <code>CustomerAWSAccountID</code> in the same request.
34
34
  * </p>
35
35
  * </important>
@@ -38,8 +38,13 @@ declare const MeterUsageCommand_base: {
38
38
  * <code>MeterUsage</code> can optionally include multiple usage allocations, to provide
39
39
  * customers with usage data split into buckets by tags that you define (or allow the
40
40
  * customer to define).</p>
41
- * <p>Usage records are expected to be submitted as quickly as possible after the event that
42
- * is being recorded, and are not accepted more than 6 hours after the event.</p>
41
+ * <p>Submit usage records to report events from the previous hour. If you submit records that
42
+ * are greater than six hours after events occur, the records won’t be accepted. The timestamp
43
+ * in your request determines when an event is recorded. You can only report usage once per hour
44
+ * for each dimension. For AMI-based products, this is per dimension and per EC2 instance. For
45
+ * container products, this is per dimension and per ECS task or EKS pod. You can’t modify values
46
+ * after they’re recorded. If you report usage before the current hour ends, you will be unable to
47
+ * report additional usage until the next hour begins.</p>
43
48
  * <p>For Amazon Web Services Regions that support <code>MeterUsage</code>, see <a href="https://docs.aws.amazon.com/marketplace/latest/APIReference/metering-regions.html#meterusage-region-support-ec2">MeterUsage Region support for Amazon EC2</a> and <a href="https://docs.aws.amazon.com/marketplace/latest/APIReference/metering-regions.html#meterusage-region-support-ecs-eks">MeterUsage Region support for Amazon ECS and Amazon EKS</a>. </p>
44
49
  * @example
45
50
  * Use a bare-bones client and the command you need to make an API call.
@@ -66,6 +71,7 @@ declare const MeterUsageCommand_base: {
66
71
  * ],
67
72
  * },
68
73
  * ],
74
+ * ClientToken: "STRING_VALUE",
69
75
  * };
70
76
  * const command = new MeterUsageCommand(input);
71
77
  * const response = await client.send(command);
@@ -90,6 +96,9 @@ declare const MeterUsageCommand_base: {
90
96
  * pod for the given {<code>usageDimension</code>, <code>timestamp</code>} with a different
91
97
  * <code>usageQuantity</code>.</p>
92
98
  *
99
+ * @throws {@link IdempotencyConflictException} (client fault)
100
+ * <p>The <code>ClientToken</code> is being used for multiple requests.</p>
101
+ *
93
102
  * @throws {@link InternalServiceErrorException} (server fault)
94
103
  * <p>An internal error has occurred. Retry your request. If the problem persists, post a
95
104
  * message with details on the Amazon Web Services forums.</p>
@@ -48,7 +48,7 @@ export interface UsageAllocation {
48
48
  export interface UsageRecord {
49
49
  /**
50
50
  * <p>Timestamp, in UTC, for which the usage is being reported.</p>
51
- * <p>Your application can meter usage for up to one hour in the past. Make sure the
51
+ * <p>Your application can meter usage for up to six hours in the past. Make sure the
52
52
  * <code>timestamp</code> value is not before the start of the software usage.</p>
53
53
  * @public
54
54
  */
@@ -344,6 +344,18 @@ export declare class DuplicateRequestException extends __BaseException {
344
344
  */
345
345
  constructor(opts: __ExceptionOptionType<DuplicateRequestException, __BaseException>);
346
346
  }
347
+ /**
348
+ * <p>The <code>ClientToken</code> is being used for multiple requests.</p>
349
+ * @public
350
+ */
351
+ export declare class IdempotencyConflictException extends __BaseException {
352
+ readonly name: "IdempotencyConflictException";
353
+ readonly $fault: "client";
354
+ /**
355
+ * @internal
356
+ */
357
+ constructor(opts: __ExceptionOptionType<IdempotencyConflictException, __BaseException>);
358
+ }
347
359
  /**
348
360
  * <p>The endpoint being called is in a Amazon Web Services Region different from your EC2 instance, ECS
349
361
  * task, or EKS pod. The Region of the Metering Service endpoint and the Amazon Web Services Region of
@@ -403,6 +415,20 @@ export interface MeterUsageRequest {
403
415
  * @public
404
416
  */
405
417
  UsageAllocations?: UsageAllocation[] | undefined;
418
+ /**
419
+ * <p>Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency
420
+ * of the request. This lets you safely retry the request without accidentally performing the
421
+ * same operation a second time. Passing the same value to a later call to an operation
422
+ * requires that you also pass the same value for all other parameters. We recommend that you
423
+ * use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of
424
+ * value</a>.</p>
425
+ * <p>If you don't provide this value, then Amazon Web Services generates a random one for
426
+ * you.</p>
427
+ * <p>If you retry the operation with the same <code>ClientToken</code>, but with different
428
+ * parameters, the retry fails with an <code>IdempotencyConflictException</code> error.</p>
429
+ * @public
430
+ */
431
+ ClientToken?: string | undefined;
406
432
  }
407
433
  /**
408
434
  * @public
@@ -119,6 +119,13 @@ export declare class DuplicateRequestException extends __BaseException {
119
119
  opts: __ExceptionOptionType<DuplicateRequestException, __BaseException>
120
120
  );
121
121
  }
122
+ export declare class IdempotencyConflictException extends __BaseException {
123
+ readonly name: "IdempotencyConflictException";
124
+ readonly $fault: "client";
125
+ constructor(
126
+ opts: __ExceptionOptionType<IdempotencyConflictException, __BaseException>
127
+ );
128
+ }
122
129
  export declare class InvalidEndpointRegionException extends __BaseException {
123
130
  readonly name: "InvalidEndpointRegionException";
124
131
  readonly $fault: "client";
@@ -133,6 +140,7 @@ export interface MeterUsageRequest {
133
140
  UsageQuantity?: number | undefined;
134
141
  DryRun?: boolean | undefined;
135
142
  UsageAllocations?: UsageAllocation[] | undefined;
143
+ ClientToken?: string | undefined;
136
144
  }
137
145
  export interface MeterUsageResult {
138
146
  MeteringRecordId?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-marketplace-metering",
3
3
  "description": "AWS SDK for JavaScript Marketplace Metering Client for Node.js, Browser and React Native",
4
- "version": "3.911.0",
4
+ "version": "3.914.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-marketplace-metering",
@@ -20,42 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.911.0",
24
- "@aws-sdk/credential-provider-node": "3.911.0",
25
- "@aws-sdk/middleware-host-header": "3.910.0",
26
- "@aws-sdk/middleware-logger": "3.910.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.910.0",
28
- "@aws-sdk/middleware-user-agent": "3.911.0",
29
- "@aws-sdk/region-config-resolver": "3.910.0",
30
- "@aws-sdk/types": "3.910.0",
31
- "@aws-sdk/util-endpoints": "3.910.0",
32
- "@aws-sdk/util-user-agent-browser": "3.910.0",
33
- "@aws-sdk/util-user-agent-node": "3.911.0",
34
- "@smithy/config-resolver": "^4.3.2",
35
- "@smithy/core": "^3.16.1",
36
- "@smithy/fetch-http-handler": "^5.3.3",
37
- "@smithy/hash-node": "^4.2.2",
38
- "@smithy/invalid-dependency": "^4.2.2",
39
- "@smithy/middleware-content-length": "^4.2.2",
40
- "@smithy/middleware-endpoint": "^4.3.3",
41
- "@smithy/middleware-retry": "^4.4.3",
42
- "@smithy/middleware-serde": "^4.2.2",
43
- "@smithy/middleware-stack": "^4.2.2",
44
- "@smithy/node-config-provider": "^4.3.2",
45
- "@smithy/node-http-handler": "^4.4.1",
46
- "@smithy/protocol-http": "^5.3.2",
47
- "@smithy/smithy-client": "^4.8.1",
48
- "@smithy/types": "^4.7.1",
49
- "@smithy/url-parser": "^4.2.2",
23
+ "@aws-sdk/core": "3.914.0",
24
+ "@aws-sdk/credential-provider-node": "3.914.0",
25
+ "@aws-sdk/middleware-host-header": "3.914.0",
26
+ "@aws-sdk/middleware-logger": "3.914.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.914.0",
28
+ "@aws-sdk/middleware-user-agent": "3.914.0",
29
+ "@aws-sdk/region-config-resolver": "3.914.0",
30
+ "@aws-sdk/types": "3.914.0",
31
+ "@aws-sdk/util-endpoints": "3.914.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.914.0",
33
+ "@aws-sdk/util-user-agent-node": "3.914.0",
34
+ "@smithy/config-resolver": "^4.4.0",
35
+ "@smithy/core": "^3.17.0",
36
+ "@smithy/fetch-http-handler": "^5.3.4",
37
+ "@smithy/hash-node": "^4.2.3",
38
+ "@smithy/invalid-dependency": "^4.2.3",
39
+ "@smithy/middleware-content-length": "^4.2.3",
40
+ "@smithy/middleware-endpoint": "^4.3.4",
41
+ "@smithy/middleware-retry": "^4.4.4",
42
+ "@smithy/middleware-serde": "^4.2.3",
43
+ "@smithy/middleware-stack": "^4.2.3",
44
+ "@smithy/node-config-provider": "^4.3.3",
45
+ "@smithy/node-http-handler": "^4.4.2",
46
+ "@smithy/protocol-http": "^5.3.3",
47
+ "@smithy/smithy-client": "^4.9.0",
48
+ "@smithy/types": "^4.8.0",
49
+ "@smithy/url-parser": "^4.2.3",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.2",
54
- "@smithy/util-defaults-mode-node": "^4.2.3",
55
- "@smithy/util-endpoints": "^3.2.2",
56
- "@smithy/util-middleware": "^4.2.2",
57
- "@smithy/util-retry": "^4.2.2",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.3",
54
+ "@smithy/util-defaults-mode-node": "^4.2.5",
55
+ "@smithy/util-endpoints": "^3.2.3",
56
+ "@smithy/util-middleware": "^4.2.3",
57
+ "@smithy/util-retry": "^4.2.3",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
+ "@smithy/uuid": "^1.1.0",
59
60
  "tslib": "^2.6.2"
60
61
  },
61
62
  "devDependencies": {