@aws-sdk/client-marketplace-metering 3.952.0 → 3.953.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.
package/dist-cjs/index.js CHANGED
@@ -110,14 +110,14 @@ class MarketplaceMeteringClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- let MarketplaceMeteringServiceException$1 = class MarketplaceMeteringServiceException extends smithyClient.ServiceException {
113
+ class MarketplaceMeteringServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, MarketplaceMeteringServiceException.prototype);
117
117
  }
118
- };
118
+ }
119
119
 
120
- let DisabledApiException$1 = class DisabledApiException extends MarketplaceMeteringServiceException$1 {
120
+ class DisabledApiException extends MarketplaceMeteringServiceException {
121
121
  name = "DisabledApiException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,8 +128,8 @@ let DisabledApiException$1 = class DisabledApiException extends MarketplaceMeter
128
128
  });
129
129
  Object.setPrototypeOf(this, DisabledApiException.prototype);
130
130
  }
131
- };
132
- let InternalServiceErrorException$1 = class InternalServiceErrorException extends MarketplaceMeteringServiceException$1 {
131
+ }
132
+ class InternalServiceErrorException extends MarketplaceMeteringServiceException {
133
133
  name = "InternalServiceErrorException";
134
134
  $fault = "server";
135
135
  constructor(opts) {
@@ -140,8 +140,8 @@ let InternalServiceErrorException$1 = class InternalServiceErrorException extend
140
140
  });
141
141
  Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
142
142
  }
143
- };
144
- let InvalidCustomerIdentifierException$1 = class InvalidCustomerIdentifierException extends MarketplaceMeteringServiceException$1 {
143
+ }
144
+ class InvalidCustomerIdentifierException extends MarketplaceMeteringServiceException {
145
145
  name = "InvalidCustomerIdentifierException";
146
146
  $fault = "client";
147
147
  constructor(opts) {
@@ -152,8 +152,8 @@ let InvalidCustomerIdentifierException$1 = class InvalidCustomerIdentifierExcept
152
152
  });
153
153
  Object.setPrototypeOf(this, InvalidCustomerIdentifierException.prototype);
154
154
  }
155
- };
156
- let InvalidProductCodeException$1 = class InvalidProductCodeException extends MarketplaceMeteringServiceException$1 {
155
+ }
156
+ class InvalidProductCodeException extends MarketplaceMeteringServiceException {
157
157
  name = "InvalidProductCodeException";
158
158
  $fault = "client";
159
159
  constructor(opts) {
@@ -164,8 +164,8 @@ let InvalidProductCodeException$1 = class InvalidProductCodeException extends Ma
164
164
  });
165
165
  Object.setPrototypeOf(this, InvalidProductCodeException.prototype);
166
166
  }
167
- };
168
- let InvalidTagException$1 = class InvalidTagException extends MarketplaceMeteringServiceException$1 {
167
+ }
168
+ class InvalidTagException extends MarketplaceMeteringServiceException {
169
169
  name = "InvalidTagException";
170
170
  $fault = "client";
171
171
  constructor(opts) {
@@ -176,8 +176,8 @@ let InvalidTagException$1 = class InvalidTagException extends MarketplaceMeterin
176
176
  });
177
177
  Object.setPrototypeOf(this, InvalidTagException.prototype);
178
178
  }
179
- };
180
- let InvalidUsageAllocationsException$1 = class InvalidUsageAllocationsException extends MarketplaceMeteringServiceException$1 {
179
+ }
180
+ class InvalidUsageAllocationsException extends MarketplaceMeteringServiceException {
181
181
  name = "InvalidUsageAllocationsException";
182
182
  $fault = "client";
183
183
  constructor(opts) {
@@ -188,8 +188,8 @@ let InvalidUsageAllocationsException$1 = class InvalidUsageAllocationsException
188
188
  });
189
189
  Object.setPrototypeOf(this, InvalidUsageAllocationsException.prototype);
190
190
  }
191
- };
192
- let InvalidUsageDimensionException$1 = class InvalidUsageDimensionException extends MarketplaceMeteringServiceException$1 {
191
+ }
192
+ class InvalidUsageDimensionException extends MarketplaceMeteringServiceException {
193
193
  name = "InvalidUsageDimensionException";
194
194
  $fault = "client";
195
195
  constructor(opts) {
@@ -200,8 +200,8 @@ let InvalidUsageDimensionException$1 = class InvalidUsageDimensionException exte
200
200
  });
201
201
  Object.setPrototypeOf(this, InvalidUsageDimensionException.prototype);
202
202
  }
203
- };
204
- let ThrottlingException$1 = class ThrottlingException extends MarketplaceMeteringServiceException$1 {
203
+ }
204
+ class ThrottlingException extends MarketplaceMeteringServiceException {
205
205
  name = "ThrottlingException";
206
206
  $fault = "client";
207
207
  constructor(opts) {
@@ -212,8 +212,8 @@ let ThrottlingException$1 = class ThrottlingException extends MarketplaceMeterin
212
212
  });
213
213
  Object.setPrototypeOf(this, ThrottlingException.prototype);
214
214
  }
215
- };
216
- let TimestampOutOfBoundsException$1 = class TimestampOutOfBoundsException extends MarketplaceMeteringServiceException$1 {
215
+ }
216
+ class TimestampOutOfBoundsException extends MarketplaceMeteringServiceException {
217
217
  name = "TimestampOutOfBoundsException";
218
218
  $fault = "client";
219
219
  constructor(opts) {
@@ -224,8 +224,8 @@ let TimestampOutOfBoundsException$1 = class TimestampOutOfBoundsException extend
224
224
  });
225
225
  Object.setPrototypeOf(this, TimestampOutOfBoundsException.prototype);
226
226
  }
227
- };
228
- let CustomerNotEntitledException$1 = class CustomerNotEntitledException extends MarketplaceMeteringServiceException$1 {
227
+ }
228
+ class CustomerNotEntitledException extends MarketplaceMeteringServiceException {
229
229
  name = "CustomerNotEntitledException";
230
230
  $fault = "client";
231
231
  constructor(opts) {
@@ -236,8 +236,8 @@ let CustomerNotEntitledException$1 = class CustomerNotEntitledException extends
236
236
  });
237
237
  Object.setPrototypeOf(this, CustomerNotEntitledException.prototype);
238
238
  }
239
- };
240
- let DuplicateRequestException$1 = class DuplicateRequestException extends MarketplaceMeteringServiceException$1 {
239
+ }
240
+ class DuplicateRequestException extends MarketplaceMeteringServiceException {
241
241
  name = "DuplicateRequestException";
242
242
  $fault = "client";
243
243
  constructor(opts) {
@@ -248,8 +248,8 @@ let DuplicateRequestException$1 = class DuplicateRequestException extends Market
248
248
  });
249
249
  Object.setPrototypeOf(this, DuplicateRequestException.prototype);
250
250
  }
251
- };
252
- let IdempotencyConflictException$1 = class IdempotencyConflictException extends MarketplaceMeteringServiceException$1 {
251
+ }
252
+ class IdempotencyConflictException extends MarketplaceMeteringServiceException {
253
253
  name = "IdempotencyConflictException";
254
254
  $fault = "client";
255
255
  constructor(opts) {
@@ -260,8 +260,8 @@ let IdempotencyConflictException$1 = class IdempotencyConflictException extends
260
260
  });
261
261
  Object.setPrototypeOf(this, IdempotencyConflictException.prototype);
262
262
  }
263
- };
264
- let InvalidEndpointRegionException$1 = class InvalidEndpointRegionException extends MarketplaceMeteringServiceException$1 {
263
+ }
264
+ class InvalidEndpointRegionException extends MarketplaceMeteringServiceException {
265
265
  name = "InvalidEndpointRegionException";
266
266
  $fault = "client";
267
267
  constructor(opts) {
@@ -272,8 +272,8 @@ let InvalidEndpointRegionException$1 = class InvalidEndpointRegionException exte
272
272
  });
273
273
  Object.setPrototypeOf(this, InvalidEndpointRegionException.prototype);
274
274
  }
275
- };
276
- let InvalidPublicKeyVersionException$1 = class InvalidPublicKeyVersionException extends MarketplaceMeteringServiceException$1 {
275
+ }
276
+ class InvalidPublicKeyVersionException extends MarketplaceMeteringServiceException {
277
277
  name = "InvalidPublicKeyVersionException";
278
278
  $fault = "client";
279
279
  constructor(opts) {
@@ -284,8 +284,8 @@ let InvalidPublicKeyVersionException$1 = class InvalidPublicKeyVersionException
284
284
  });
285
285
  Object.setPrototypeOf(this, InvalidPublicKeyVersionException.prototype);
286
286
  }
287
- };
288
- let InvalidRegionException$1 = class InvalidRegionException extends MarketplaceMeteringServiceException$1 {
287
+ }
288
+ class InvalidRegionException extends MarketplaceMeteringServiceException {
289
289
  name = "InvalidRegionException";
290
290
  $fault = "client";
291
291
  constructor(opts) {
@@ -296,8 +296,8 @@ let InvalidRegionException$1 = class InvalidRegionException extends MarketplaceM
296
296
  });
297
297
  Object.setPrototypeOf(this, InvalidRegionException.prototype);
298
298
  }
299
- };
300
- let PlatformNotSupportedException$1 = class PlatformNotSupportedException extends MarketplaceMeteringServiceException$1 {
299
+ }
300
+ class PlatformNotSupportedException extends MarketplaceMeteringServiceException {
301
301
  name = "PlatformNotSupportedException";
302
302
  $fault = "client";
303
303
  constructor(opts) {
@@ -308,8 +308,8 @@ let PlatformNotSupportedException$1 = class PlatformNotSupportedException extend
308
308
  });
309
309
  Object.setPrototypeOf(this, PlatformNotSupportedException.prototype);
310
310
  }
311
- };
312
- let ExpiredTokenException$1 = class ExpiredTokenException extends MarketplaceMeteringServiceException$1 {
311
+ }
312
+ class ExpiredTokenException extends MarketplaceMeteringServiceException {
313
313
  name = "ExpiredTokenException";
314
314
  $fault = "client";
315
315
  constructor(opts) {
@@ -320,8 +320,8 @@ let ExpiredTokenException$1 = class ExpiredTokenException extends MarketplaceMet
320
320
  });
321
321
  Object.setPrototypeOf(this, ExpiredTokenException.prototype);
322
322
  }
323
- };
324
- let InvalidTokenException$1 = class InvalidTokenException extends MarketplaceMeteringServiceException$1 {
323
+ }
324
+ class InvalidTokenException extends MarketplaceMeteringServiceException {
325
325
  name = "InvalidTokenException";
326
326
  $fault = "client";
327
327
  constructor(opts) {
@@ -332,7 +332,7 @@ let InvalidTokenException$1 = class InvalidTokenException extends MarketplaceMet
332
332
  });
333
333
  Object.setPrototypeOf(this, InvalidTokenException.prototype);
334
334
  }
335
- };
335
+ }
336
336
 
337
337
  const _AUQ = "AllocatedUsageQuantity";
338
338
  const _BMU = "BatchMeterUsage";
@@ -403,8 +403,8 @@ const _m = "message";
403
403
  const _s = "server";
404
404
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.marketplacemetering";
405
405
  const n0 = "com.amazonaws.marketplacemetering";
406
- var BatchMeterUsageRequest = [3, n0, _BMUR, 0, [_UR, _PC], [() => UsageRecordList, 0]];
407
- var BatchMeterUsageResult = [
406
+ var BatchMeterUsageRequest$ = [3, n0, _BMUR, 0, [_UR, _PC], [() => UsageRecordList, 0]];
407
+ var BatchMeterUsageResult$ = [
408
408
  3,
409
409
  n0,
410
410
  _BMURa,
@@ -412,37 +412,37 @@ var BatchMeterUsageResult = [
412
412
  [_R, _URn],
413
413
  [() => UsageRecordResultList, () => UsageRecordList],
414
414
  ];
415
- var CustomerNotEntitledException = [-3, n0, _CNEE, { [_e]: _c }, [_m], [0]];
416
- schema.TypeRegistry.for(n0).registerError(CustomerNotEntitledException, CustomerNotEntitledException$1);
417
- var DisabledApiException = [-3, n0, _DAE, { [_e]: _c }, [_m], [0]];
418
- schema.TypeRegistry.for(n0).registerError(DisabledApiException, DisabledApiException$1);
419
- var DuplicateRequestException = [-3, n0, _DRE, { [_e]: _c }, [_m], [0]];
420
- schema.TypeRegistry.for(n0).registerError(DuplicateRequestException, DuplicateRequestException$1);
421
- var ExpiredTokenException = [-3, n0, _ETE, { [_e]: _c }, [_m], [0]];
422
- schema.TypeRegistry.for(n0).registerError(ExpiredTokenException, ExpiredTokenException$1);
423
- var IdempotencyConflictException = [-3, n0, _ICE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
424
- schema.TypeRegistry.for(n0).registerError(IdempotencyConflictException, IdempotencyConflictException$1);
425
- var InternalServiceErrorException = [-3, n0, _ISEE, { [_e]: _s }, [_m], [0]];
426
- schema.TypeRegistry.for(n0).registerError(InternalServiceErrorException, InternalServiceErrorException$1);
427
- var InvalidCustomerIdentifierException = [-3, n0, _ICIE, { [_e]: _c }, [_m], [0]];
428
- schema.TypeRegistry.for(n0).registerError(InvalidCustomerIdentifierException, InvalidCustomerIdentifierException$1);
429
- var InvalidEndpointRegionException = [-3, n0, _IERE, { [_e]: _c }, [_m], [0]];
430
- schema.TypeRegistry.for(n0).registerError(InvalidEndpointRegionException, InvalidEndpointRegionException$1);
431
- var InvalidProductCodeException = [-3, n0, _IPCE, { [_e]: _c }, [_m], [0]];
432
- schema.TypeRegistry.for(n0).registerError(InvalidProductCodeException, InvalidProductCodeException$1);
433
- var InvalidPublicKeyVersionException = [-3, n0, _IPKVE, { [_e]: _c }, [_m], [0]];
434
- schema.TypeRegistry.for(n0).registerError(InvalidPublicKeyVersionException, InvalidPublicKeyVersionException$1);
435
- var InvalidRegionException = [-3, n0, _IRE, { [_e]: _c }, [_m], [0]];
436
- schema.TypeRegistry.for(n0).registerError(InvalidRegionException, InvalidRegionException$1);
437
- var InvalidTagException = [-3, n0, _ITE, { [_e]: _c }, [_m], [0]];
438
- schema.TypeRegistry.for(n0).registerError(InvalidTagException, InvalidTagException$1);
439
- var InvalidTokenException = [-3, n0, _ITEn, { [_e]: _c }, [_m], [0]];
440
- schema.TypeRegistry.for(n0).registerError(InvalidTokenException, InvalidTokenException$1);
441
- var InvalidUsageAllocationsException = [-3, n0, _IUAE, { [_e]: _c }, [_m], [0]];
442
- schema.TypeRegistry.for(n0).registerError(InvalidUsageAllocationsException, InvalidUsageAllocationsException$1);
443
- var InvalidUsageDimensionException = [-3, n0, _IUDE, { [_e]: _c }, [_m], [0]];
444
- schema.TypeRegistry.for(n0).registerError(InvalidUsageDimensionException, InvalidUsageDimensionException$1);
445
- var MeterUsageRequest = [
415
+ var CustomerNotEntitledException$ = [-3, n0, _CNEE, { [_e]: _c }, [_m], [0]];
416
+ schema.TypeRegistry.for(n0).registerError(CustomerNotEntitledException$, CustomerNotEntitledException);
417
+ var DisabledApiException$ = [-3, n0, _DAE, { [_e]: _c }, [_m], [0]];
418
+ schema.TypeRegistry.for(n0).registerError(DisabledApiException$, DisabledApiException);
419
+ var DuplicateRequestException$ = [-3, n0, _DRE, { [_e]: _c }, [_m], [0]];
420
+ schema.TypeRegistry.for(n0).registerError(DuplicateRequestException$, DuplicateRequestException);
421
+ var ExpiredTokenException$ = [-3, n0, _ETE, { [_e]: _c }, [_m], [0]];
422
+ schema.TypeRegistry.for(n0).registerError(ExpiredTokenException$, ExpiredTokenException);
423
+ var IdempotencyConflictException$ = [-3, n0, _ICE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
424
+ schema.TypeRegistry.for(n0).registerError(IdempotencyConflictException$, IdempotencyConflictException);
425
+ var InternalServiceErrorException$ = [-3, n0, _ISEE, { [_e]: _s }, [_m], [0]];
426
+ schema.TypeRegistry.for(n0).registerError(InternalServiceErrorException$, InternalServiceErrorException);
427
+ var InvalidCustomerIdentifierException$ = [-3, n0, _ICIE, { [_e]: _c }, [_m], [0]];
428
+ schema.TypeRegistry.for(n0).registerError(InvalidCustomerIdentifierException$, InvalidCustomerIdentifierException);
429
+ var InvalidEndpointRegionException$ = [-3, n0, _IERE, { [_e]: _c }, [_m], [0]];
430
+ schema.TypeRegistry.for(n0).registerError(InvalidEndpointRegionException$, InvalidEndpointRegionException);
431
+ var InvalidProductCodeException$ = [-3, n0, _IPCE, { [_e]: _c }, [_m], [0]];
432
+ schema.TypeRegistry.for(n0).registerError(InvalidProductCodeException$, InvalidProductCodeException);
433
+ var InvalidPublicKeyVersionException$ = [-3, n0, _IPKVE, { [_e]: _c }, [_m], [0]];
434
+ schema.TypeRegistry.for(n0).registerError(InvalidPublicKeyVersionException$, InvalidPublicKeyVersionException);
435
+ var InvalidRegionException$ = [-3, n0, _IRE, { [_e]: _c }, [_m], [0]];
436
+ schema.TypeRegistry.for(n0).registerError(InvalidRegionException$, InvalidRegionException);
437
+ var InvalidTagException$ = [-3, n0, _ITE, { [_e]: _c }, [_m], [0]];
438
+ schema.TypeRegistry.for(n0).registerError(InvalidTagException$, InvalidTagException);
439
+ var InvalidTokenException$ = [-3, n0, _ITEn, { [_e]: _c }, [_m], [0]];
440
+ schema.TypeRegistry.for(n0).registerError(InvalidTokenException$, InvalidTokenException);
441
+ var InvalidUsageAllocationsException$ = [-3, n0, _IUAE, { [_e]: _c }, [_m], [0]];
442
+ schema.TypeRegistry.for(n0).registerError(InvalidUsageAllocationsException$, InvalidUsageAllocationsException);
443
+ var InvalidUsageDimensionException$ = [-3, n0, _IUDE, { [_e]: _c }, [_m], [0]];
444
+ schema.TypeRegistry.for(n0).registerError(InvalidUsageDimensionException$, InvalidUsageDimensionException);
445
+ var MeterUsageRequest$ = [
446
446
  3,
447
447
  n0,
448
448
  _MUR,
@@ -450,20 +450,20 @@ var MeterUsageRequest = [
450
450
  [_PC, _T, _UD, _UQ, _DR, _UA, _CT],
451
451
  [0, 4, 0, 1, 2, () => UsageAllocations, [0, 4]],
452
452
  ];
453
- var MeterUsageResult = [3, n0, _MURe, 0, [_MRI], [0]];
454
- var PlatformNotSupportedException = [-3, n0, _PNSE, { [_e]: _c }, [_m], [0]];
455
- schema.TypeRegistry.for(n0).registerError(PlatformNotSupportedException, PlatformNotSupportedException$1);
456
- var RegisterUsageRequest = [3, n0, _RUR, 0, [_PC, _PKV, _N], [0, 1, 0]];
457
- var RegisterUsageResult = [3, n0, _RURe, 0, [_PKRT, _S], [4, 0]];
458
- var ResolveCustomerRequest = [3, n0, _RCR, 0, [_RT], [0]];
459
- var ResolveCustomerResult = [3, n0, _RCRe, 0, [_CI, _PC, _CAWSAI], [0, 0, 0]];
460
- var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
461
- var ThrottlingException = [-3, n0, _TE, { [_e]: _c }, [_m], [0]];
462
- schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
463
- var TimestampOutOfBoundsException = [-3, n0, _TOOBE, { [_e]: _c }, [_m], [0]];
464
- schema.TypeRegistry.for(n0).registerError(TimestampOutOfBoundsException, TimestampOutOfBoundsException$1);
465
- var UsageAllocation = [3, n0, _UAs, 0, [_AUQ, _Tag], [1, () => TagList]];
466
- var UsageRecord = [
453
+ var MeterUsageResult$ = [3, n0, _MURe, 0, [_MRI], [0]];
454
+ var PlatformNotSupportedException$ = [-3, n0, _PNSE, { [_e]: _c }, [_m], [0]];
455
+ schema.TypeRegistry.for(n0).registerError(PlatformNotSupportedException$, PlatformNotSupportedException);
456
+ var RegisterUsageRequest$ = [3, n0, _RUR, 0, [_PC, _PKV, _N], [0, 1, 0]];
457
+ var RegisterUsageResult$ = [3, n0, _RURe, 0, [_PKRT, _S], [4, 0]];
458
+ var ResolveCustomerRequest$ = [3, n0, _RCR, 0, [_RT], [0]];
459
+ var ResolveCustomerResult$ = [3, n0, _RCRe, 0, [_CI, _PC, _CAWSAI], [0, 0, 0]];
460
+ var Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
461
+ var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c }, [_m], [0]];
462
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
463
+ var TimestampOutOfBoundsException$ = [-3, n0, _TOOBE, { [_e]: _c }, [_m], [0]];
464
+ schema.TypeRegistry.for(n0).registerError(TimestampOutOfBoundsException$, TimestampOutOfBoundsException);
465
+ var UsageAllocation$ = [3, n0, _UAs, 0, [_AUQ, _Tag], [1, () => TagList]];
466
+ var UsageRecord$ = [
467
467
  3,
468
468
  n0,
469
469
  _URs,
@@ -471,8 +471,8 @@ var UsageRecord = [
471
471
  [_T, _CI, _D, _Q, _UA, _CAWSAI],
472
472
  [4, 0, 0, 1, () => UsageAllocations, 0],
473
473
  ];
474
- var UsageRecordResult = [3, n0, _URR, 0, [_URs, _MRI, _St], [() => UsageRecord, 0, 0]];
475
- var MarketplaceMeteringServiceException = [
474
+ var UsageRecordResult$ = [3, n0, _URR, 0, [_URs, _MRI, _St], [() => UsageRecord$, 0, 0]];
475
+ var MarketplaceMeteringServiceException$ = [
476
476
  -3,
477
477
  _sm,
478
478
  "MarketplaceMeteringServiceException",
@@ -480,35 +480,35 @@ var MarketplaceMeteringServiceException = [
480
480
  [],
481
481
  [],
482
482
  ];
483
- schema.TypeRegistry.for(_sm).registerError(MarketplaceMeteringServiceException, MarketplaceMeteringServiceException$1);
484
- var TagList = [1, n0, _TL, 0, () => Tag];
485
- var UsageAllocations = [1, n0, _UA, 0, () => UsageAllocation];
486
- var UsageRecordList = [1, n0, _URL, 0, () => UsageRecord];
487
- var UsageRecordResultList = [1, n0, _URRL, 0, () => UsageRecordResult];
488
- var BatchMeterUsage = [
483
+ schema.TypeRegistry.for(_sm).registerError(MarketplaceMeteringServiceException$, MarketplaceMeteringServiceException);
484
+ var TagList = [1, n0, _TL, 0, () => Tag$];
485
+ var UsageAllocations = [1, n0, _UA, 0, () => UsageAllocation$];
486
+ var UsageRecordList = [1, n0, _URL, 0, () => UsageRecord$];
487
+ var UsageRecordResultList = [1, n0, _URRL, 0, () => UsageRecordResult$];
488
+ var BatchMeterUsage$ = [
489
489
  9,
490
490
  n0,
491
491
  _BMU,
492
492
  0,
493
- () => BatchMeterUsageRequest,
494
- () => BatchMeterUsageResult,
493
+ () => BatchMeterUsageRequest$,
494
+ () => BatchMeterUsageResult$,
495
495
  ];
496
- var MeterUsage = [9, n0, _MU, 0, () => MeterUsageRequest, () => MeterUsageResult];
497
- var RegisterUsage = [
496
+ var MeterUsage$ = [9, n0, _MU, 0, () => MeterUsageRequest$, () => MeterUsageResult$];
497
+ var RegisterUsage$ = [
498
498
  9,
499
499
  n0,
500
500
  _RU,
501
501
  0,
502
- () => RegisterUsageRequest,
503
- () => RegisterUsageResult,
502
+ () => RegisterUsageRequest$,
503
+ () => RegisterUsageResult$,
504
504
  ];
505
- var ResolveCustomer = [
505
+ var ResolveCustomer$ = [
506
506
  9,
507
507
  n0,
508
508
  _RC,
509
509
  0,
510
- () => ResolveCustomerRequest,
511
- () => ResolveCustomerResult,
510
+ () => ResolveCustomerRequest$,
511
+ () => ResolveCustomerResult$,
512
512
  ];
513
513
 
514
514
  class BatchMeterUsageCommand extends smithyClient.Command
@@ -519,7 +519,7 @@ class BatchMeterUsageCommand extends smithyClient.Command
519
519
  })
520
520
  .s("AWSMPMeteringService", "BatchMeterUsage", {})
521
521
  .n("MarketplaceMeteringClient", "BatchMeterUsageCommand")
522
- .sc(BatchMeterUsage)
522
+ .sc(BatchMeterUsage$)
523
523
  .build() {
524
524
  }
525
525
 
@@ -531,7 +531,7 @@ class MeterUsageCommand extends smithyClient.Command
531
531
  })
532
532
  .s("AWSMPMeteringService", "MeterUsage", {})
533
533
  .n("MarketplaceMeteringClient", "MeterUsageCommand")
534
- .sc(MeterUsage)
534
+ .sc(MeterUsage$)
535
535
  .build() {
536
536
  }
537
537
 
@@ -543,7 +543,7 @@ class RegisterUsageCommand extends smithyClient.Command
543
543
  })
544
544
  .s("AWSMPMeteringService", "RegisterUsage", {})
545
545
  .n("MarketplaceMeteringClient", "RegisterUsageCommand")
546
- .sc(RegisterUsage)
546
+ .sc(RegisterUsage$)
547
547
  .build() {
548
548
  }
549
549
 
@@ -555,7 +555,7 @@ class ResolveCustomerCommand extends smithyClient.Command
555
555
  })
556
556
  .s("AWSMPMeteringService", "ResolveCustomer", {})
557
557
  .n("MarketplaceMeteringClient", "ResolveCustomerCommand")
558
- .sc(ResolveCustomer)
558
+ .sc(ResolveCustomer$)
559
559
  .build() {
560
560
  }
561
561
 
@@ -583,29 +583,64 @@ Object.defineProperty(exports, "__Client", {
583
583
  enumerable: true,
584
584
  get: function () { return smithyClient.Client; }
585
585
  });
586
+ exports.BatchMeterUsage$ = BatchMeterUsage$;
586
587
  exports.BatchMeterUsageCommand = BatchMeterUsageCommand;
587
- exports.CustomerNotEntitledException = CustomerNotEntitledException$1;
588
- exports.DisabledApiException = DisabledApiException$1;
589
- exports.DuplicateRequestException = DuplicateRequestException$1;
590
- exports.ExpiredTokenException = ExpiredTokenException$1;
591
- exports.IdempotencyConflictException = IdempotencyConflictException$1;
592
- exports.InternalServiceErrorException = InternalServiceErrorException$1;
593
- exports.InvalidCustomerIdentifierException = InvalidCustomerIdentifierException$1;
594
- exports.InvalidEndpointRegionException = InvalidEndpointRegionException$1;
595
- exports.InvalidProductCodeException = InvalidProductCodeException$1;
596
- exports.InvalidPublicKeyVersionException = InvalidPublicKeyVersionException$1;
597
- exports.InvalidRegionException = InvalidRegionException$1;
598
- exports.InvalidTagException = InvalidTagException$1;
599
- exports.InvalidTokenException = InvalidTokenException$1;
600
- exports.InvalidUsageAllocationsException = InvalidUsageAllocationsException$1;
601
- exports.InvalidUsageDimensionException = InvalidUsageDimensionException$1;
588
+ exports.BatchMeterUsageRequest$ = BatchMeterUsageRequest$;
589
+ exports.BatchMeterUsageResult$ = BatchMeterUsageResult$;
590
+ exports.CustomerNotEntitledException = CustomerNotEntitledException;
591
+ exports.CustomerNotEntitledException$ = CustomerNotEntitledException$;
592
+ exports.DisabledApiException = DisabledApiException;
593
+ exports.DisabledApiException$ = DisabledApiException$;
594
+ exports.DuplicateRequestException = DuplicateRequestException;
595
+ exports.DuplicateRequestException$ = DuplicateRequestException$;
596
+ exports.ExpiredTokenException = ExpiredTokenException;
597
+ exports.ExpiredTokenException$ = ExpiredTokenException$;
598
+ exports.IdempotencyConflictException = IdempotencyConflictException;
599
+ exports.IdempotencyConflictException$ = IdempotencyConflictException$;
600
+ exports.InternalServiceErrorException = InternalServiceErrorException;
601
+ exports.InternalServiceErrorException$ = InternalServiceErrorException$;
602
+ exports.InvalidCustomerIdentifierException = InvalidCustomerIdentifierException;
603
+ exports.InvalidCustomerIdentifierException$ = InvalidCustomerIdentifierException$;
604
+ exports.InvalidEndpointRegionException = InvalidEndpointRegionException;
605
+ exports.InvalidEndpointRegionException$ = InvalidEndpointRegionException$;
606
+ exports.InvalidProductCodeException = InvalidProductCodeException;
607
+ exports.InvalidProductCodeException$ = InvalidProductCodeException$;
608
+ exports.InvalidPublicKeyVersionException = InvalidPublicKeyVersionException;
609
+ exports.InvalidPublicKeyVersionException$ = InvalidPublicKeyVersionException$;
610
+ exports.InvalidRegionException = InvalidRegionException;
611
+ exports.InvalidRegionException$ = InvalidRegionException$;
612
+ exports.InvalidTagException = InvalidTagException;
613
+ exports.InvalidTagException$ = InvalidTagException$;
614
+ exports.InvalidTokenException = InvalidTokenException;
615
+ exports.InvalidTokenException$ = InvalidTokenException$;
616
+ exports.InvalidUsageAllocationsException = InvalidUsageAllocationsException;
617
+ exports.InvalidUsageAllocationsException$ = InvalidUsageAllocationsException$;
618
+ exports.InvalidUsageDimensionException = InvalidUsageDimensionException;
619
+ exports.InvalidUsageDimensionException$ = InvalidUsageDimensionException$;
602
620
  exports.MarketplaceMetering = MarketplaceMetering;
603
621
  exports.MarketplaceMeteringClient = MarketplaceMeteringClient;
604
- exports.MarketplaceMeteringServiceException = MarketplaceMeteringServiceException$1;
622
+ exports.MarketplaceMeteringServiceException = MarketplaceMeteringServiceException;
623
+ exports.MarketplaceMeteringServiceException$ = MarketplaceMeteringServiceException$;
624
+ exports.MeterUsage$ = MeterUsage$;
605
625
  exports.MeterUsageCommand = MeterUsageCommand;
606
- exports.PlatformNotSupportedException = PlatformNotSupportedException$1;
626
+ exports.MeterUsageRequest$ = MeterUsageRequest$;
627
+ exports.MeterUsageResult$ = MeterUsageResult$;
628
+ exports.PlatformNotSupportedException = PlatformNotSupportedException;
629
+ exports.PlatformNotSupportedException$ = PlatformNotSupportedException$;
630
+ exports.RegisterUsage$ = RegisterUsage$;
607
631
  exports.RegisterUsageCommand = RegisterUsageCommand;
632
+ exports.RegisterUsageRequest$ = RegisterUsageRequest$;
633
+ exports.RegisterUsageResult$ = RegisterUsageResult$;
634
+ exports.ResolveCustomer$ = ResolveCustomer$;
608
635
  exports.ResolveCustomerCommand = ResolveCustomerCommand;
609
- exports.ThrottlingException = ThrottlingException$1;
610
- exports.TimestampOutOfBoundsException = TimestampOutOfBoundsException$1;
636
+ exports.ResolveCustomerRequest$ = ResolveCustomerRequest$;
637
+ exports.ResolveCustomerResult$ = ResolveCustomerResult$;
638
+ exports.Tag$ = Tag$;
639
+ exports.ThrottlingException = ThrottlingException;
640
+ exports.ThrottlingException$ = ThrottlingException$;
641
+ exports.TimestampOutOfBoundsException = TimestampOutOfBoundsException;
642
+ exports.TimestampOutOfBoundsException$ = TimestampOutOfBoundsException$;
643
+ exports.UsageAllocation$ = UsageAllocation$;
644
+ exports.UsageRecord$ = UsageRecord$;
645
+ exports.UsageRecordResult$ = UsageRecordResult$;
611
646
  exports.UsageRecordResultStatus = UsageRecordResultStatus;
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_1Protocol({
31
- defaultNamespace: "com.amazonaws.marketplacemetering",
32
- serviceTarget: "AWSMPMeteringService",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.marketplacemetering",
32
+ version: "2016-01-14",
33
+ serviceTarget: "AWSMPMeteringService",
34
+ },
35
35
  serviceId: config?.serviceId ?? "Marketplace Metering",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchMeterUsage } from "../schemas/schemas_0";
4
+ import { BatchMeterUsage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchMeterUsageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchMeterUsageCommand extends $Command
11
11
  })
12
12
  .s("AWSMPMeteringService", "BatchMeterUsage", {})
13
13
  .n("MarketplaceMeteringClient", "BatchMeterUsageCommand")
14
- .sc(BatchMeterUsage)
14
+ .sc(BatchMeterUsage$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { MeterUsage } from "../schemas/schemas_0";
4
+ import { MeterUsage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class MeterUsageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class MeterUsageCommand extends $Command
11
11
  })
12
12
  .s("AWSMPMeteringService", "MeterUsage", {})
13
13
  .n("MarketplaceMeteringClient", "MeterUsageCommand")
14
- .sc(MeterUsage)
14
+ .sc(MeterUsage$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { RegisterUsage } from "../schemas/schemas_0";
4
+ import { RegisterUsage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RegisterUsageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RegisterUsageCommand extends $Command
11
11
  })
12
12
  .s("AWSMPMeteringService", "RegisterUsage", {})
13
13
  .n("MarketplaceMeteringClient", "RegisterUsageCommand")
14
- .sc(RegisterUsage)
14
+ .sc(RegisterUsage$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ResolveCustomer } from "../schemas/schemas_0";
4
+ import { ResolveCustomer$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ResolveCustomerCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ResolveCustomerCommand extends $Command
11
11
  })
12
12
  .s("AWSMPMeteringService", "ResolveCustomer", {})
13
13
  .n("MarketplaceMeteringClient", "ResolveCustomerCommand")
14
- .sc(ResolveCustomer)
14
+ .sc(ResolveCustomer$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./MarketplaceMeteringClient";
2
2
  export * from "./MarketplaceMetering";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { MarketplaceMeteringServiceException } from "./models/MarketplaceMeteringServiceException";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_1Protocol({
28
- defaultNamespace: "com.amazonaws.marketplacemetering",
29
- serviceTarget: "AWSMPMeteringService",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.marketplacemetering",
29
+ version: "2016-01-14",
30
+ serviceTarget: "AWSMPMeteringService",
31
+ },
32
32
  serviceId: config?.serviceId ?? "Marketplace Metering",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,