@aws-sdk/client-marketplace-metering 3.721.0 → 3.723.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 +135 -107
- package/dist-es/MarketplaceMeteringClient.js +1 -0
- package/dist-es/models/models_0.js +34 -34
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -146,7 +146,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
146
146
|
}, "resolveRuntimeExtensions");
|
|
147
147
|
|
|
148
148
|
// src/MarketplaceMeteringClient.ts
|
|
149
|
-
var
|
|
149
|
+
var MarketplaceMeteringClient = class extends import_smithy_client.Client {
|
|
150
|
+
static {
|
|
151
|
+
__name(this, "MarketplaceMeteringClient");
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* The resolved configuration of MarketplaceMeteringClient class. This is resolved and normalized from the {@link MarketplaceMeteringClientConfig | constructor configuration interface}.
|
|
155
|
+
*/
|
|
156
|
+
config;
|
|
150
157
|
constructor(...[configuration]) {
|
|
151
158
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
152
159
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -156,7 +163,7 @@ var _MarketplaceMeteringClient = class _MarketplaceMeteringClient extends import
|
|
|
156
163
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
157
164
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
158
165
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
159
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
166
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
160
167
|
super(_config_8);
|
|
161
168
|
this.config = _config_8;
|
|
162
169
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -184,8 +191,6 @@ var _MarketplaceMeteringClient = class _MarketplaceMeteringClient extends import
|
|
|
184
191
|
super.destroy();
|
|
185
192
|
}
|
|
186
193
|
};
|
|
187
|
-
__name(_MarketplaceMeteringClient, "MarketplaceMeteringClient");
|
|
188
|
-
var MarketplaceMeteringClient = _MarketplaceMeteringClient;
|
|
189
194
|
|
|
190
195
|
// src/MarketplaceMetering.ts
|
|
191
196
|
|
|
@@ -202,7 +207,10 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
202
207
|
|
|
203
208
|
// src/models/MarketplaceMeteringServiceException.ts
|
|
204
209
|
|
|
205
|
-
var
|
|
210
|
+
var MarketplaceMeteringServiceException = class _MarketplaceMeteringServiceException extends import_smithy_client.ServiceException {
|
|
211
|
+
static {
|
|
212
|
+
__name(this, "MarketplaceMeteringServiceException");
|
|
213
|
+
}
|
|
206
214
|
/**
|
|
207
215
|
* @internal
|
|
208
216
|
*/
|
|
@@ -211,8 +219,6 @@ var _MarketplaceMeteringServiceException = class _MarketplaceMeteringServiceExce
|
|
|
211
219
|
Object.setPrototypeOf(this, _MarketplaceMeteringServiceException.prototype);
|
|
212
220
|
}
|
|
213
221
|
};
|
|
214
|
-
__name(_MarketplaceMeteringServiceException, "MarketplaceMeteringServiceException");
|
|
215
|
-
var MarketplaceMeteringServiceException = _MarketplaceMeteringServiceException;
|
|
216
222
|
|
|
217
223
|
// src/models/models_0.ts
|
|
218
224
|
var UsageRecordResultStatus = {
|
|
@@ -220,7 +226,12 @@ var UsageRecordResultStatus = {
|
|
|
220
226
|
DUPLICATE_RECORD: "DuplicateRecord",
|
|
221
227
|
SUCCESS: "Success"
|
|
222
228
|
};
|
|
223
|
-
var
|
|
229
|
+
var DisabledApiException = class _DisabledApiException extends MarketplaceMeteringServiceException {
|
|
230
|
+
static {
|
|
231
|
+
__name(this, "DisabledApiException");
|
|
232
|
+
}
|
|
233
|
+
name = "DisabledApiException";
|
|
234
|
+
$fault = "client";
|
|
224
235
|
/**
|
|
225
236
|
* @internal
|
|
226
237
|
*/
|
|
@@ -230,14 +241,15 @@ var _DisabledApiException = class _DisabledApiException extends MarketplaceMeter
|
|
|
230
241
|
$fault: "client",
|
|
231
242
|
...opts
|
|
232
243
|
});
|
|
233
|
-
this.name = "DisabledApiException";
|
|
234
|
-
this.$fault = "client";
|
|
235
244
|
Object.setPrototypeOf(this, _DisabledApiException.prototype);
|
|
236
245
|
}
|
|
237
246
|
};
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
247
|
+
var InternalServiceErrorException = class _InternalServiceErrorException extends MarketplaceMeteringServiceException {
|
|
248
|
+
static {
|
|
249
|
+
__name(this, "InternalServiceErrorException");
|
|
250
|
+
}
|
|
251
|
+
name = "InternalServiceErrorException";
|
|
252
|
+
$fault = "server";
|
|
241
253
|
/**
|
|
242
254
|
* @internal
|
|
243
255
|
*/
|
|
@@ -247,14 +259,15 @@ var _InternalServiceErrorException = class _InternalServiceErrorException extend
|
|
|
247
259
|
$fault: "server",
|
|
248
260
|
...opts
|
|
249
261
|
});
|
|
250
|
-
this.name = "InternalServiceErrorException";
|
|
251
|
-
this.$fault = "server";
|
|
252
262
|
Object.setPrototypeOf(this, _InternalServiceErrorException.prototype);
|
|
253
263
|
}
|
|
254
264
|
};
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
265
|
+
var InvalidCustomerIdentifierException = class _InvalidCustomerIdentifierException extends MarketplaceMeteringServiceException {
|
|
266
|
+
static {
|
|
267
|
+
__name(this, "InvalidCustomerIdentifierException");
|
|
268
|
+
}
|
|
269
|
+
name = "InvalidCustomerIdentifierException";
|
|
270
|
+
$fault = "client";
|
|
258
271
|
/**
|
|
259
272
|
* @internal
|
|
260
273
|
*/
|
|
@@ -264,14 +277,15 @@ var _InvalidCustomerIdentifierException = class _InvalidCustomerIdentifierExcept
|
|
|
264
277
|
$fault: "client",
|
|
265
278
|
...opts
|
|
266
279
|
});
|
|
267
|
-
this.name = "InvalidCustomerIdentifierException";
|
|
268
|
-
this.$fault = "client";
|
|
269
280
|
Object.setPrototypeOf(this, _InvalidCustomerIdentifierException.prototype);
|
|
270
281
|
}
|
|
271
282
|
};
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
283
|
+
var InvalidProductCodeException = class _InvalidProductCodeException extends MarketplaceMeteringServiceException {
|
|
284
|
+
static {
|
|
285
|
+
__name(this, "InvalidProductCodeException");
|
|
286
|
+
}
|
|
287
|
+
name = "InvalidProductCodeException";
|
|
288
|
+
$fault = "client";
|
|
275
289
|
/**
|
|
276
290
|
* @internal
|
|
277
291
|
*/
|
|
@@ -281,14 +295,15 @@ var _InvalidProductCodeException = class _InvalidProductCodeException extends Ma
|
|
|
281
295
|
$fault: "client",
|
|
282
296
|
...opts
|
|
283
297
|
});
|
|
284
|
-
this.name = "InvalidProductCodeException";
|
|
285
|
-
this.$fault = "client";
|
|
286
298
|
Object.setPrototypeOf(this, _InvalidProductCodeException.prototype);
|
|
287
299
|
}
|
|
288
300
|
};
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
301
|
+
var InvalidTagException = class _InvalidTagException extends MarketplaceMeteringServiceException {
|
|
302
|
+
static {
|
|
303
|
+
__name(this, "InvalidTagException");
|
|
304
|
+
}
|
|
305
|
+
name = "InvalidTagException";
|
|
306
|
+
$fault = "client";
|
|
292
307
|
/**
|
|
293
308
|
* @internal
|
|
294
309
|
*/
|
|
@@ -298,14 +313,15 @@ var _InvalidTagException = class _InvalidTagException extends MarketplaceMeterin
|
|
|
298
313
|
$fault: "client",
|
|
299
314
|
...opts
|
|
300
315
|
});
|
|
301
|
-
this.name = "InvalidTagException";
|
|
302
|
-
this.$fault = "client";
|
|
303
316
|
Object.setPrototypeOf(this, _InvalidTagException.prototype);
|
|
304
317
|
}
|
|
305
318
|
};
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
319
|
+
var InvalidUsageAllocationsException = class _InvalidUsageAllocationsException extends MarketplaceMeteringServiceException {
|
|
320
|
+
static {
|
|
321
|
+
__name(this, "InvalidUsageAllocationsException");
|
|
322
|
+
}
|
|
323
|
+
name = "InvalidUsageAllocationsException";
|
|
324
|
+
$fault = "client";
|
|
309
325
|
/**
|
|
310
326
|
* @internal
|
|
311
327
|
*/
|
|
@@ -315,14 +331,15 @@ var _InvalidUsageAllocationsException = class _InvalidUsageAllocationsException
|
|
|
315
331
|
$fault: "client",
|
|
316
332
|
...opts
|
|
317
333
|
});
|
|
318
|
-
this.name = "InvalidUsageAllocationsException";
|
|
319
|
-
this.$fault = "client";
|
|
320
334
|
Object.setPrototypeOf(this, _InvalidUsageAllocationsException.prototype);
|
|
321
335
|
}
|
|
322
336
|
};
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
337
|
+
var InvalidUsageDimensionException = class _InvalidUsageDimensionException extends MarketplaceMeteringServiceException {
|
|
338
|
+
static {
|
|
339
|
+
__name(this, "InvalidUsageDimensionException");
|
|
340
|
+
}
|
|
341
|
+
name = "InvalidUsageDimensionException";
|
|
342
|
+
$fault = "client";
|
|
326
343
|
/**
|
|
327
344
|
* @internal
|
|
328
345
|
*/
|
|
@@ -332,14 +349,15 @@ var _InvalidUsageDimensionException = class _InvalidUsageDimensionException exte
|
|
|
332
349
|
$fault: "client",
|
|
333
350
|
...opts
|
|
334
351
|
});
|
|
335
|
-
this.name = "InvalidUsageDimensionException";
|
|
336
|
-
this.$fault = "client";
|
|
337
352
|
Object.setPrototypeOf(this, _InvalidUsageDimensionException.prototype);
|
|
338
353
|
}
|
|
339
354
|
};
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
355
|
+
var ThrottlingException = class _ThrottlingException extends MarketplaceMeteringServiceException {
|
|
356
|
+
static {
|
|
357
|
+
__name(this, "ThrottlingException");
|
|
358
|
+
}
|
|
359
|
+
name = "ThrottlingException";
|
|
360
|
+
$fault = "client";
|
|
343
361
|
/**
|
|
344
362
|
* @internal
|
|
345
363
|
*/
|
|
@@ -349,14 +367,15 @@ var _ThrottlingException = class _ThrottlingException extends MarketplaceMeterin
|
|
|
349
367
|
$fault: "client",
|
|
350
368
|
...opts
|
|
351
369
|
});
|
|
352
|
-
this.name = "ThrottlingException";
|
|
353
|
-
this.$fault = "client";
|
|
354
370
|
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
355
371
|
}
|
|
356
372
|
};
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
373
|
+
var TimestampOutOfBoundsException = class _TimestampOutOfBoundsException extends MarketplaceMeteringServiceException {
|
|
374
|
+
static {
|
|
375
|
+
__name(this, "TimestampOutOfBoundsException");
|
|
376
|
+
}
|
|
377
|
+
name = "TimestampOutOfBoundsException";
|
|
378
|
+
$fault = "client";
|
|
360
379
|
/**
|
|
361
380
|
* @internal
|
|
362
381
|
*/
|
|
@@ -366,14 +385,15 @@ var _TimestampOutOfBoundsException = class _TimestampOutOfBoundsException extend
|
|
|
366
385
|
$fault: "client",
|
|
367
386
|
...opts
|
|
368
387
|
});
|
|
369
|
-
this.name = "TimestampOutOfBoundsException";
|
|
370
|
-
this.$fault = "client";
|
|
371
388
|
Object.setPrototypeOf(this, _TimestampOutOfBoundsException.prototype);
|
|
372
389
|
}
|
|
373
390
|
};
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
391
|
+
var CustomerNotEntitledException = class _CustomerNotEntitledException extends MarketplaceMeteringServiceException {
|
|
392
|
+
static {
|
|
393
|
+
__name(this, "CustomerNotEntitledException");
|
|
394
|
+
}
|
|
395
|
+
name = "CustomerNotEntitledException";
|
|
396
|
+
$fault = "client";
|
|
377
397
|
/**
|
|
378
398
|
* @internal
|
|
379
399
|
*/
|
|
@@ -383,14 +403,15 @@ var _CustomerNotEntitledException = class _CustomerNotEntitledException extends
|
|
|
383
403
|
$fault: "client",
|
|
384
404
|
...opts
|
|
385
405
|
});
|
|
386
|
-
this.name = "CustomerNotEntitledException";
|
|
387
|
-
this.$fault = "client";
|
|
388
406
|
Object.setPrototypeOf(this, _CustomerNotEntitledException.prototype);
|
|
389
407
|
}
|
|
390
408
|
};
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
409
|
+
var DuplicateRequestException = class _DuplicateRequestException extends MarketplaceMeteringServiceException {
|
|
410
|
+
static {
|
|
411
|
+
__name(this, "DuplicateRequestException");
|
|
412
|
+
}
|
|
413
|
+
name = "DuplicateRequestException";
|
|
414
|
+
$fault = "client";
|
|
394
415
|
/**
|
|
395
416
|
* @internal
|
|
396
417
|
*/
|
|
@@ -400,14 +421,15 @@ var _DuplicateRequestException = class _DuplicateRequestException extends Market
|
|
|
400
421
|
$fault: "client",
|
|
401
422
|
...opts
|
|
402
423
|
});
|
|
403
|
-
this.name = "DuplicateRequestException";
|
|
404
|
-
this.$fault = "client";
|
|
405
424
|
Object.setPrototypeOf(this, _DuplicateRequestException.prototype);
|
|
406
425
|
}
|
|
407
426
|
};
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
427
|
+
var InvalidEndpointRegionException = class _InvalidEndpointRegionException extends MarketplaceMeteringServiceException {
|
|
428
|
+
static {
|
|
429
|
+
__name(this, "InvalidEndpointRegionException");
|
|
430
|
+
}
|
|
431
|
+
name = "InvalidEndpointRegionException";
|
|
432
|
+
$fault = "client";
|
|
411
433
|
/**
|
|
412
434
|
* @internal
|
|
413
435
|
*/
|
|
@@ -417,14 +439,15 @@ var _InvalidEndpointRegionException = class _InvalidEndpointRegionException exte
|
|
|
417
439
|
$fault: "client",
|
|
418
440
|
...opts
|
|
419
441
|
});
|
|
420
|
-
this.name = "InvalidEndpointRegionException";
|
|
421
|
-
this.$fault = "client";
|
|
422
442
|
Object.setPrototypeOf(this, _InvalidEndpointRegionException.prototype);
|
|
423
443
|
}
|
|
424
444
|
};
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
445
|
+
var InvalidPublicKeyVersionException = class _InvalidPublicKeyVersionException extends MarketplaceMeteringServiceException {
|
|
446
|
+
static {
|
|
447
|
+
__name(this, "InvalidPublicKeyVersionException");
|
|
448
|
+
}
|
|
449
|
+
name = "InvalidPublicKeyVersionException";
|
|
450
|
+
$fault = "client";
|
|
428
451
|
/**
|
|
429
452
|
* @internal
|
|
430
453
|
*/
|
|
@@ -434,14 +457,15 @@ var _InvalidPublicKeyVersionException = class _InvalidPublicKeyVersionException
|
|
|
434
457
|
$fault: "client",
|
|
435
458
|
...opts
|
|
436
459
|
});
|
|
437
|
-
this.name = "InvalidPublicKeyVersionException";
|
|
438
|
-
this.$fault = "client";
|
|
439
460
|
Object.setPrototypeOf(this, _InvalidPublicKeyVersionException.prototype);
|
|
440
461
|
}
|
|
441
462
|
};
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
463
|
+
var InvalidRegionException = class _InvalidRegionException extends MarketplaceMeteringServiceException {
|
|
464
|
+
static {
|
|
465
|
+
__name(this, "InvalidRegionException");
|
|
466
|
+
}
|
|
467
|
+
name = "InvalidRegionException";
|
|
468
|
+
$fault = "client";
|
|
445
469
|
/**
|
|
446
470
|
* @internal
|
|
447
471
|
*/
|
|
@@ -451,14 +475,15 @@ var _InvalidRegionException = class _InvalidRegionException extends MarketplaceM
|
|
|
451
475
|
$fault: "client",
|
|
452
476
|
...opts
|
|
453
477
|
});
|
|
454
|
-
this.name = "InvalidRegionException";
|
|
455
|
-
this.$fault = "client";
|
|
456
478
|
Object.setPrototypeOf(this, _InvalidRegionException.prototype);
|
|
457
479
|
}
|
|
458
480
|
};
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
481
|
+
var PlatformNotSupportedException = class _PlatformNotSupportedException extends MarketplaceMeteringServiceException {
|
|
482
|
+
static {
|
|
483
|
+
__name(this, "PlatformNotSupportedException");
|
|
484
|
+
}
|
|
485
|
+
name = "PlatformNotSupportedException";
|
|
486
|
+
$fault = "client";
|
|
462
487
|
/**
|
|
463
488
|
* @internal
|
|
464
489
|
*/
|
|
@@ -468,14 +493,15 @@ var _PlatformNotSupportedException = class _PlatformNotSupportedException extend
|
|
|
468
493
|
$fault: "client",
|
|
469
494
|
...opts
|
|
470
495
|
});
|
|
471
|
-
this.name = "PlatformNotSupportedException";
|
|
472
|
-
this.$fault = "client";
|
|
473
496
|
Object.setPrototypeOf(this, _PlatformNotSupportedException.prototype);
|
|
474
497
|
}
|
|
475
498
|
};
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
499
|
+
var ExpiredTokenException = class _ExpiredTokenException extends MarketplaceMeteringServiceException {
|
|
500
|
+
static {
|
|
501
|
+
__name(this, "ExpiredTokenException");
|
|
502
|
+
}
|
|
503
|
+
name = "ExpiredTokenException";
|
|
504
|
+
$fault = "client";
|
|
479
505
|
/**
|
|
480
506
|
* @internal
|
|
481
507
|
*/
|
|
@@ -485,14 +511,15 @@ var _ExpiredTokenException = class _ExpiredTokenException extends MarketplaceMet
|
|
|
485
511
|
$fault: "client",
|
|
486
512
|
...opts
|
|
487
513
|
});
|
|
488
|
-
this.name = "ExpiredTokenException";
|
|
489
|
-
this.$fault = "client";
|
|
490
514
|
Object.setPrototypeOf(this, _ExpiredTokenException.prototype);
|
|
491
515
|
}
|
|
492
516
|
};
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
517
|
+
var InvalidTokenException = class _InvalidTokenException extends MarketplaceMeteringServiceException {
|
|
518
|
+
static {
|
|
519
|
+
__name(this, "InvalidTokenException");
|
|
520
|
+
}
|
|
521
|
+
name = "InvalidTokenException";
|
|
522
|
+
$fault = "client";
|
|
496
523
|
/**
|
|
497
524
|
* @internal
|
|
498
525
|
*/
|
|
@@ -502,13 +529,9 @@ var _InvalidTokenException = class _InvalidTokenException extends MarketplaceMet
|
|
|
502
529
|
$fault: "client",
|
|
503
530
|
...opts
|
|
504
531
|
});
|
|
505
|
-
this.name = "InvalidTokenException";
|
|
506
|
-
this.$fault = "client";
|
|
507
532
|
Object.setPrototypeOf(this, _InvalidTokenException.prototype);
|
|
508
533
|
}
|
|
509
534
|
};
|
|
510
|
-
__name(_InvalidTokenException, "InvalidTokenException");
|
|
511
|
-
var InvalidTokenException = _InvalidTokenException;
|
|
512
535
|
|
|
513
536
|
// src/protocols/Aws_json1_1.ts
|
|
514
537
|
var se_BatchMeterUsageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -911,57 +934,61 @@ function sharedHeaders(operation) {
|
|
|
911
934
|
__name(sharedHeaders, "sharedHeaders");
|
|
912
935
|
|
|
913
936
|
// src/commands/BatchMeterUsageCommand.ts
|
|
914
|
-
var
|
|
937
|
+
var BatchMeterUsageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
915
938
|
return [
|
|
916
939
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
917
940
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
918
941
|
];
|
|
919
942
|
}).s("AWSMPMeteringService", "BatchMeterUsage", {}).n("MarketplaceMeteringClient", "BatchMeterUsageCommand").f(void 0, void 0).ser(se_BatchMeterUsageCommand).de(de_BatchMeterUsageCommand).build() {
|
|
943
|
+
static {
|
|
944
|
+
__name(this, "BatchMeterUsageCommand");
|
|
945
|
+
}
|
|
920
946
|
};
|
|
921
|
-
__name(_BatchMeterUsageCommand, "BatchMeterUsageCommand");
|
|
922
|
-
var BatchMeterUsageCommand = _BatchMeterUsageCommand;
|
|
923
947
|
|
|
924
948
|
// src/commands/MeterUsageCommand.ts
|
|
925
949
|
|
|
926
950
|
|
|
927
951
|
|
|
928
|
-
var
|
|
952
|
+
var MeterUsageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
929
953
|
return [
|
|
930
954
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
931
955
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
932
956
|
];
|
|
933
957
|
}).s("AWSMPMeteringService", "MeterUsage", {}).n("MarketplaceMeteringClient", "MeterUsageCommand").f(void 0, void 0).ser(se_MeterUsageCommand).de(de_MeterUsageCommand).build() {
|
|
958
|
+
static {
|
|
959
|
+
__name(this, "MeterUsageCommand");
|
|
960
|
+
}
|
|
934
961
|
};
|
|
935
|
-
__name(_MeterUsageCommand, "MeterUsageCommand");
|
|
936
|
-
var MeterUsageCommand = _MeterUsageCommand;
|
|
937
962
|
|
|
938
963
|
// src/commands/RegisterUsageCommand.ts
|
|
939
964
|
|
|
940
965
|
|
|
941
966
|
|
|
942
|
-
var
|
|
967
|
+
var RegisterUsageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
943
968
|
return [
|
|
944
969
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
945
970
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
946
971
|
];
|
|
947
972
|
}).s("AWSMPMeteringService", "RegisterUsage", {}).n("MarketplaceMeteringClient", "RegisterUsageCommand").f(void 0, void 0).ser(se_RegisterUsageCommand).de(de_RegisterUsageCommand).build() {
|
|
973
|
+
static {
|
|
974
|
+
__name(this, "RegisterUsageCommand");
|
|
975
|
+
}
|
|
948
976
|
};
|
|
949
|
-
__name(_RegisterUsageCommand, "RegisterUsageCommand");
|
|
950
|
-
var RegisterUsageCommand = _RegisterUsageCommand;
|
|
951
977
|
|
|
952
978
|
// src/commands/ResolveCustomerCommand.ts
|
|
953
979
|
|
|
954
980
|
|
|
955
981
|
|
|
956
|
-
var
|
|
982
|
+
var ResolveCustomerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
957
983
|
return [
|
|
958
984
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
959
985
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
960
986
|
];
|
|
961
987
|
}).s("AWSMPMeteringService", "ResolveCustomer", {}).n("MarketplaceMeteringClient", "ResolveCustomerCommand").f(void 0, void 0).ser(se_ResolveCustomerCommand).de(de_ResolveCustomerCommand).build() {
|
|
988
|
+
static {
|
|
989
|
+
__name(this, "ResolveCustomerCommand");
|
|
990
|
+
}
|
|
962
991
|
};
|
|
963
|
-
__name(_ResolveCustomerCommand, "ResolveCustomerCommand");
|
|
964
|
-
var ResolveCustomerCommand = _ResolveCustomerCommand;
|
|
965
992
|
|
|
966
993
|
// src/MarketplaceMetering.ts
|
|
967
994
|
var commands = {
|
|
@@ -970,10 +997,11 @@ var commands = {
|
|
|
970
997
|
RegisterUsageCommand,
|
|
971
998
|
ResolveCustomerCommand
|
|
972
999
|
};
|
|
973
|
-
var
|
|
1000
|
+
var MarketplaceMetering = class extends MarketplaceMeteringClient {
|
|
1001
|
+
static {
|
|
1002
|
+
__name(this, "MarketplaceMetering");
|
|
1003
|
+
}
|
|
974
1004
|
};
|
|
975
|
-
__name(_MarketplaceMetering, "MarketplaceMetering");
|
|
976
|
-
var MarketplaceMetering = _MarketplaceMetering;
|
|
977
1005
|
(0, import_smithy_client.createAggregatedClient)(commands, MarketplaceMetering);
|
|
978
1006
|
// Annotate the CommonJS export names for ESM import in node:
|
|
979
1007
|
|
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class MarketplaceMeteringClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -5,206 +5,206 @@ export const UsageRecordResultStatus = {
|
|
|
5
5
|
SUCCESS: "Success",
|
|
6
6
|
};
|
|
7
7
|
export class DisabledApiException extends __BaseException {
|
|
8
|
+
name = "DisabledApiException";
|
|
9
|
+
$fault = "client";
|
|
8
10
|
constructor(opts) {
|
|
9
11
|
super({
|
|
10
12
|
name: "DisabledApiException",
|
|
11
13
|
$fault: "client",
|
|
12
14
|
...opts,
|
|
13
15
|
});
|
|
14
|
-
this.name = "DisabledApiException";
|
|
15
|
-
this.$fault = "client";
|
|
16
16
|
Object.setPrototypeOf(this, DisabledApiException.prototype);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
export class InternalServiceErrorException extends __BaseException {
|
|
20
|
+
name = "InternalServiceErrorException";
|
|
21
|
+
$fault = "server";
|
|
20
22
|
constructor(opts) {
|
|
21
23
|
super({
|
|
22
24
|
name: "InternalServiceErrorException",
|
|
23
25
|
$fault: "server",
|
|
24
26
|
...opts,
|
|
25
27
|
});
|
|
26
|
-
this.name = "InternalServiceErrorException";
|
|
27
|
-
this.$fault = "server";
|
|
28
28
|
Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
export class InvalidCustomerIdentifierException extends __BaseException {
|
|
32
|
+
name = "InvalidCustomerIdentifierException";
|
|
33
|
+
$fault = "client";
|
|
32
34
|
constructor(opts) {
|
|
33
35
|
super({
|
|
34
36
|
name: "InvalidCustomerIdentifierException",
|
|
35
37
|
$fault: "client",
|
|
36
38
|
...opts,
|
|
37
39
|
});
|
|
38
|
-
this.name = "InvalidCustomerIdentifierException";
|
|
39
|
-
this.$fault = "client";
|
|
40
40
|
Object.setPrototypeOf(this, InvalidCustomerIdentifierException.prototype);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
export class InvalidProductCodeException extends __BaseException {
|
|
44
|
+
name = "InvalidProductCodeException";
|
|
45
|
+
$fault = "client";
|
|
44
46
|
constructor(opts) {
|
|
45
47
|
super({
|
|
46
48
|
name: "InvalidProductCodeException",
|
|
47
49
|
$fault: "client",
|
|
48
50
|
...opts,
|
|
49
51
|
});
|
|
50
|
-
this.name = "InvalidProductCodeException";
|
|
51
|
-
this.$fault = "client";
|
|
52
52
|
Object.setPrototypeOf(this, InvalidProductCodeException.prototype);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
export class InvalidTagException extends __BaseException {
|
|
56
|
+
name = "InvalidTagException";
|
|
57
|
+
$fault = "client";
|
|
56
58
|
constructor(opts) {
|
|
57
59
|
super({
|
|
58
60
|
name: "InvalidTagException",
|
|
59
61
|
$fault: "client",
|
|
60
62
|
...opts,
|
|
61
63
|
});
|
|
62
|
-
this.name = "InvalidTagException";
|
|
63
|
-
this.$fault = "client";
|
|
64
64
|
Object.setPrototypeOf(this, InvalidTagException.prototype);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
export class InvalidUsageAllocationsException extends __BaseException {
|
|
68
|
+
name = "InvalidUsageAllocationsException";
|
|
69
|
+
$fault = "client";
|
|
68
70
|
constructor(opts) {
|
|
69
71
|
super({
|
|
70
72
|
name: "InvalidUsageAllocationsException",
|
|
71
73
|
$fault: "client",
|
|
72
74
|
...opts,
|
|
73
75
|
});
|
|
74
|
-
this.name = "InvalidUsageAllocationsException";
|
|
75
|
-
this.$fault = "client";
|
|
76
76
|
Object.setPrototypeOf(this, InvalidUsageAllocationsException.prototype);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
export class InvalidUsageDimensionException extends __BaseException {
|
|
80
|
+
name = "InvalidUsageDimensionException";
|
|
81
|
+
$fault = "client";
|
|
80
82
|
constructor(opts) {
|
|
81
83
|
super({
|
|
82
84
|
name: "InvalidUsageDimensionException",
|
|
83
85
|
$fault: "client",
|
|
84
86
|
...opts,
|
|
85
87
|
});
|
|
86
|
-
this.name = "InvalidUsageDimensionException";
|
|
87
|
-
this.$fault = "client";
|
|
88
88
|
Object.setPrototypeOf(this, InvalidUsageDimensionException.prototype);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
export class ThrottlingException extends __BaseException {
|
|
92
|
+
name = "ThrottlingException";
|
|
93
|
+
$fault = "client";
|
|
92
94
|
constructor(opts) {
|
|
93
95
|
super({
|
|
94
96
|
name: "ThrottlingException",
|
|
95
97
|
$fault: "client",
|
|
96
98
|
...opts,
|
|
97
99
|
});
|
|
98
|
-
this.name = "ThrottlingException";
|
|
99
|
-
this.$fault = "client";
|
|
100
100
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
export class TimestampOutOfBoundsException extends __BaseException {
|
|
104
|
+
name = "TimestampOutOfBoundsException";
|
|
105
|
+
$fault = "client";
|
|
104
106
|
constructor(opts) {
|
|
105
107
|
super({
|
|
106
108
|
name: "TimestampOutOfBoundsException",
|
|
107
109
|
$fault: "client",
|
|
108
110
|
...opts,
|
|
109
111
|
});
|
|
110
|
-
this.name = "TimestampOutOfBoundsException";
|
|
111
|
-
this.$fault = "client";
|
|
112
112
|
Object.setPrototypeOf(this, TimestampOutOfBoundsException.prototype);
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
export class CustomerNotEntitledException extends __BaseException {
|
|
116
|
+
name = "CustomerNotEntitledException";
|
|
117
|
+
$fault = "client";
|
|
116
118
|
constructor(opts) {
|
|
117
119
|
super({
|
|
118
120
|
name: "CustomerNotEntitledException",
|
|
119
121
|
$fault: "client",
|
|
120
122
|
...opts,
|
|
121
123
|
});
|
|
122
|
-
this.name = "CustomerNotEntitledException";
|
|
123
|
-
this.$fault = "client";
|
|
124
124
|
Object.setPrototypeOf(this, CustomerNotEntitledException.prototype);
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
export class DuplicateRequestException extends __BaseException {
|
|
128
|
+
name = "DuplicateRequestException";
|
|
129
|
+
$fault = "client";
|
|
128
130
|
constructor(opts) {
|
|
129
131
|
super({
|
|
130
132
|
name: "DuplicateRequestException",
|
|
131
133
|
$fault: "client",
|
|
132
134
|
...opts,
|
|
133
135
|
});
|
|
134
|
-
this.name = "DuplicateRequestException";
|
|
135
|
-
this.$fault = "client";
|
|
136
136
|
Object.setPrototypeOf(this, DuplicateRequestException.prototype);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
export class InvalidEndpointRegionException extends __BaseException {
|
|
140
|
+
name = "InvalidEndpointRegionException";
|
|
141
|
+
$fault = "client";
|
|
140
142
|
constructor(opts) {
|
|
141
143
|
super({
|
|
142
144
|
name: "InvalidEndpointRegionException",
|
|
143
145
|
$fault: "client",
|
|
144
146
|
...opts,
|
|
145
147
|
});
|
|
146
|
-
this.name = "InvalidEndpointRegionException";
|
|
147
|
-
this.$fault = "client";
|
|
148
148
|
Object.setPrototypeOf(this, InvalidEndpointRegionException.prototype);
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
export class InvalidPublicKeyVersionException extends __BaseException {
|
|
152
|
+
name = "InvalidPublicKeyVersionException";
|
|
153
|
+
$fault = "client";
|
|
152
154
|
constructor(opts) {
|
|
153
155
|
super({
|
|
154
156
|
name: "InvalidPublicKeyVersionException",
|
|
155
157
|
$fault: "client",
|
|
156
158
|
...opts,
|
|
157
159
|
});
|
|
158
|
-
this.name = "InvalidPublicKeyVersionException";
|
|
159
|
-
this.$fault = "client";
|
|
160
160
|
Object.setPrototypeOf(this, InvalidPublicKeyVersionException.prototype);
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
export class InvalidRegionException extends __BaseException {
|
|
164
|
+
name = "InvalidRegionException";
|
|
165
|
+
$fault = "client";
|
|
164
166
|
constructor(opts) {
|
|
165
167
|
super({
|
|
166
168
|
name: "InvalidRegionException",
|
|
167
169
|
$fault: "client",
|
|
168
170
|
...opts,
|
|
169
171
|
});
|
|
170
|
-
this.name = "InvalidRegionException";
|
|
171
|
-
this.$fault = "client";
|
|
172
172
|
Object.setPrototypeOf(this, InvalidRegionException.prototype);
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
export class PlatformNotSupportedException extends __BaseException {
|
|
176
|
+
name = "PlatformNotSupportedException";
|
|
177
|
+
$fault = "client";
|
|
176
178
|
constructor(opts) {
|
|
177
179
|
super({
|
|
178
180
|
name: "PlatformNotSupportedException",
|
|
179
181
|
$fault: "client",
|
|
180
182
|
...opts,
|
|
181
183
|
});
|
|
182
|
-
this.name = "PlatformNotSupportedException";
|
|
183
|
-
this.$fault = "client";
|
|
184
184
|
Object.setPrototypeOf(this, PlatformNotSupportedException.prototype);
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
export class ExpiredTokenException extends __BaseException {
|
|
188
|
+
name = "ExpiredTokenException";
|
|
189
|
+
$fault = "client";
|
|
188
190
|
constructor(opts) {
|
|
189
191
|
super({
|
|
190
192
|
name: "ExpiredTokenException",
|
|
191
193
|
$fault: "client",
|
|
192
194
|
...opts,
|
|
193
195
|
});
|
|
194
|
-
this.name = "ExpiredTokenException";
|
|
195
|
-
this.$fault = "client";
|
|
196
196
|
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
export class InvalidTokenException extends __BaseException {
|
|
200
|
+
name = "InvalidTokenException";
|
|
201
|
+
$fault = "client";
|
|
200
202
|
constructor(opts) {
|
|
201
203
|
super({
|
|
202
204
|
name: "InvalidTokenException",
|
|
203
205
|
$fault: "client",
|
|
204
206
|
...opts,
|
|
205
207
|
});
|
|
206
|
-
this.name = "InvalidTokenException";
|
|
207
|
-
this.$fault = "client";
|
|
208
208
|
Object.setPrototypeOf(this, InvalidTokenException.prototype);
|
|
209
209
|
}
|
|
210
210
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MarketplaceMeteringClientConfig)
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MarketplaceMeteringClientConfig)
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: MarketplaceMeteringClientConfig)
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: MarketplaceMeteringClientConfig)
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
input: any
|
|
13
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
_: unknown
|
|
15
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
16
|
defaultUserAgentProvider: (
|
|
15
17
|
config?:
|
|
16
18
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
init?:
|
|
15
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
16
|
+
| undefined
|
|
17
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
18
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
19
|
+
>);
|
|
18
20
|
defaultUserAgentProvider: (
|
|
19
21
|
config?:
|
|
20
22
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
|
|
|
30
30
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
31
31
|
| undefined
|
|
32
32
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
33
|
-
credentialDefaultProvider:
|
|
34
|
-
input: any
|
|
35
|
-
|
|
33
|
+
credentialDefaultProvider:
|
|
34
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
35
|
+
| ((
|
|
36
|
+
_: unknown
|
|
37
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
36
38
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
37
39
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
40
|
logger: import("@smithy/types").Logger;
|
|
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
|
|
|
52
54
|
| import("@smithy/types").RetryStrategyV2
|
|
53
55
|
| undefined;
|
|
54
56
|
endpoint?:
|
|
55
|
-
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
| ((
|
|
58
|
+
| string
|
|
59
|
+
| import("@smithy/types").Endpoint
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
61
|
+
| import("@smithy/types").EndpointV2
|
|
62
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
63
|
+
) &
|
|
64
|
+
(
|
|
65
|
+
| string
|
|
66
|
+
| import("@smithy/types").Provider<string>
|
|
67
|
+
| import("@smithy/types").Endpoint
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
69
|
+
| import("@smithy/types").EndpointV2
|
|
70
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
71
|
+
))
|
|
60
72
|
| undefined;
|
|
61
73
|
endpointProvider: (
|
|
62
74
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
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.
|
|
4
|
+
"version": "3.723.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,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|