@aws-sdk/client-marketplace-metering 3.940.0 → 3.946.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 +18 -181
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/MarketplaceMeteringClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +18 -181
- package/dist-types/MarketplaceMetering.d.ts +1 -1
- package/dist-types/MarketplaceMeteringClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/BatchMeterUsageCommand.d.ts +3 -3
- package/dist-types/commands/MeterUsageCommand.d.ts +3 -3
- package/dist-types/commands/RegisterUsageCommand.d.ts +3 -3
- package/dist-types/commands/ResolveCustomerCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/MarketplaceMeteringServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -1
- package/dist-types/ts3.4/MarketplaceMeteringClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/MarketplaceMeteringServiceException.d.ts +1 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -412,171 +412,35 @@ var BatchMeterUsageResult = [
|
|
|
412
412
|
[_R, _URn],
|
|
413
413
|
[() => UsageRecordResultList, () => UsageRecordList],
|
|
414
414
|
];
|
|
415
|
-
var CustomerNotEntitledException = [
|
|
416
|
-
-3,
|
|
417
|
-
n0,
|
|
418
|
-
_CNEE,
|
|
419
|
-
{
|
|
420
|
-
[_e]: _c,
|
|
421
|
-
},
|
|
422
|
-
[_m],
|
|
423
|
-
[0],
|
|
424
|
-
];
|
|
415
|
+
var CustomerNotEntitledException = [-3, n0, _CNEE, { [_e]: _c }, [_m], [0]];
|
|
425
416
|
schema.TypeRegistry.for(n0).registerError(CustomerNotEntitledException, CustomerNotEntitledException$1);
|
|
426
|
-
var DisabledApiException = [
|
|
427
|
-
-3,
|
|
428
|
-
n0,
|
|
429
|
-
_DAE,
|
|
430
|
-
{
|
|
431
|
-
[_e]: _c,
|
|
432
|
-
},
|
|
433
|
-
[_m],
|
|
434
|
-
[0],
|
|
435
|
-
];
|
|
417
|
+
var DisabledApiException = [-3, n0, _DAE, { [_e]: _c }, [_m], [0]];
|
|
436
418
|
schema.TypeRegistry.for(n0).registerError(DisabledApiException, DisabledApiException$1);
|
|
437
|
-
var DuplicateRequestException = [
|
|
438
|
-
-3,
|
|
439
|
-
n0,
|
|
440
|
-
_DRE,
|
|
441
|
-
{
|
|
442
|
-
[_e]: _c,
|
|
443
|
-
},
|
|
444
|
-
[_m],
|
|
445
|
-
[0],
|
|
446
|
-
];
|
|
419
|
+
var DuplicateRequestException = [-3, n0, _DRE, { [_e]: _c }, [_m], [0]];
|
|
447
420
|
schema.TypeRegistry.for(n0).registerError(DuplicateRequestException, DuplicateRequestException$1);
|
|
448
|
-
var ExpiredTokenException = [
|
|
449
|
-
-3,
|
|
450
|
-
n0,
|
|
451
|
-
_ETE,
|
|
452
|
-
{
|
|
453
|
-
[_e]: _c,
|
|
454
|
-
},
|
|
455
|
-
[_m],
|
|
456
|
-
[0],
|
|
457
|
-
];
|
|
421
|
+
var ExpiredTokenException = [-3, n0, _ETE, { [_e]: _c }, [_m], [0]];
|
|
458
422
|
schema.TypeRegistry.for(n0).registerError(ExpiredTokenException, ExpiredTokenException$1);
|
|
459
|
-
var IdempotencyConflictException = [
|
|
460
|
-
-3,
|
|
461
|
-
n0,
|
|
462
|
-
_ICE,
|
|
463
|
-
{
|
|
464
|
-
[_e]: _c,
|
|
465
|
-
[_hE]: 409,
|
|
466
|
-
},
|
|
467
|
-
[_m],
|
|
468
|
-
[0],
|
|
469
|
-
];
|
|
423
|
+
var IdempotencyConflictException = [-3, n0, _ICE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
|
|
470
424
|
schema.TypeRegistry.for(n0).registerError(IdempotencyConflictException, IdempotencyConflictException$1);
|
|
471
|
-
var InternalServiceErrorException = [
|
|
472
|
-
-3,
|
|
473
|
-
n0,
|
|
474
|
-
_ISEE,
|
|
475
|
-
{
|
|
476
|
-
[_e]: _s,
|
|
477
|
-
},
|
|
478
|
-
[_m],
|
|
479
|
-
[0],
|
|
480
|
-
];
|
|
425
|
+
var InternalServiceErrorException = [-3, n0, _ISEE, { [_e]: _s }, [_m], [0]];
|
|
481
426
|
schema.TypeRegistry.for(n0).registerError(InternalServiceErrorException, InternalServiceErrorException$1);
|
|
482
|
-
var InvalidCustomerIdentifierException = [
|
|
483
|
-
-3,
|
|
484
|
-
n0,
|
|
485
|
-
_ICIE,
|
|
486
|
-
{
|
|
487
|
-
[_e]: _c,
|
|
488
|
-
},
|
|
489
|
-
[_m],
|
|
490
|
-
[0],
|
|
491
|
-
];
|
|
427
|
+
var InvalidCustomerIdentifierException = [-3, n0, _ICIE, { [_e]: _c }, [_m], [0]];
|
|
492
428
|
schema.TypeRegistry.for(n0).registerError(InvalidCustomerIdentifierException, InvalidCustomerIdentifierException$1);
|
|
493
|
-
var InvalidEndpointRegionException = [
|
|
494
|
-
-3,
|
|
495
|
-
n0,
|
|
496
|
-
_IERE,
|
|
497
|
-
{
|
|
498
|
-
[_e]: _c,
|
|
499
|
-
},
|
|
500
|
-
[_m],
|
|
501
|
-
[0],
|
|
502
|
-
];
|
|
429
|
+
var InvalidEndpointRegionException = [-3, n0, _IERE, { [_e]: _c }, [_m], [0]];
|
|
503
430
|
schema.TypeRegistry.for(n0).registerError(InvalidEndpointRegionException, InvalidEndpointRegionException$1);
|
|
504
|
-
var InvalidProductCodeException = [
|
|
505
|
-
-3,
|
|
506
|
-
n0,
|
|
507
|
-
_IPCE,
|
|
508
|
-
{
|
|
509
|
-
[_e]: _c,
|
|
510
|
-
},
|
|
511
|
-
[_m],
|
|
512
|
-
[0],
|
|
513
|
-
];
|
|
431
|
+
var InvalidProductCodeException = [-3, n0, _IPCE, { [_e]: _c }, [_m], [0]];
|
|
514
432
|
schema.TypeRegistry.for(n0).registerError(InvalidProductCodeException, InvalidProductCodeException$1);
|
|
515
|
-
var InvalidPublicKeyVersionException = [
|
|
516
|
-
-3,
|
|
517
|
-
n0,
|
|
518
|
-
_IPKVE,
|
|
519
|
-
{
|
|
520
|
-
[_e]: _c,
|
|
521
|
-
},
|
|
522
|
-
[_m],
|
|
523
|
-
[0],
|
|
524
|
-
];
|
|
433
|
+
var InvalidPublicKeyVersionException = [-3, n0, _IPKVE, { [_e]: _c }, [_m], [0]];
|
|
525
434
|
schema.TypeRegistry.for(n0).registerError(InvalidPublicKeyVersionException, InvalidPublicKeyVersionException$1);
|
|
526
|
-
var InvalidRegionException = [
|
|
527
|
-
-3,
|
|
528
|
-
n0,
|
|
529
|
-
_IRE,
|
|
530
|
-
{
|
|
531
|
-
[_e]: _c,
|
|
532
|
-
},
|
|
533
|
-
[_m],
|
|
534
|
-
[0],
|
|
535
|
-
];
|
|
435
|
+
var InvalidRegionException = [-3, n0, _IRE, { [_e]: _c }, [_m], [0]];
|
|
536
436
|
schema.TypeRegistry.for(n0).registerError(InvalidRegionException, InvalidRegionException$1);
|
|
537
|
-
var InvalidTagException = [
|
|
538
|
-
-3,
|
|
539
|
-
n0,
|
|
540
|
-
_ITE,
|
|
541
|
-
{
|
|
542
|
-
[_e]: _c,
|
|
543
|
-
},
|
|
544
|
-
[_m],
|
|
545
|
-
[0],
|
|
546
|
-
];
|
|
437
|
+
var InvalidTagException = [-3, n0, _ITE, { [_e]: _c }, [_m], [0]];
|
|
547
438
|
schema.TypeRegistry.for(n0).registerError(InvalidTagException, InvalidTagException$1);
|
|
548
|
-
var InvalidTokenException = [
|
|
549
|
-
-3,
|
|
550
|
-
n0,
|
|
551
|
-
_ITEn,
|
|
552
|
-
{
|
|
553
|
-
[_e]: _c,
|
|
554
|
-
},
|
|
555
|
-
[_m],
|
|
556
|
-
[0],
|
|
557
|
-
];
|
|
439
|
+
var InvalidTokenException = [-3, n0, _ITEn, { [_e]: _c }, [_m], [0]];
|
|
558
440
|
schema.TypeRegistry.for(n0).registerError(InvalidTokenException, InvalidTokenException$1);
|
|
559
|
-
var InvalidUsageAllocationsException = [
|
|
560
|
-
-3,
|
|
561
|
-
n0,
|
|
562
|
-
_IUAE,
|
|
563
|
-
{
|
|
564
|
-
[_e]: _c,
|
|
565
|
-
},
|
|
566
|
-
[_m],
|
|
567
|
-
[0],
|
|
568
|
-
];
|
|
441
|
+
var InvalidUsageAllocationsException = [-3, n0, _IUAE, { [_e]: _c }, [_m], [0]];
|
|
569
442
|
schema.TypeRegistry.for(n0).registerError(InvalidUsageAllocationsException, InvalidUsageAllocationsException$1);
|
|
570
|
-
var InvalidUsageDimensionException = [
|
|
571
|
-
-3,
|
|
572
|
-
n0,
|
|
573
|
-
_IUDE,
|
|
574
|
-
{
|
|
575
|
-
[_e]: _c,
|
|
576
|
-
},
|
|
577
|
-
[_m],
|
|
578
|
-
[0],
|
|
579
|
-
];
|
|
443
|
+
var InvalidUsageDimensionException = [-3, n0, _IUDE, { [_e]: _c }, [_m], [0]];
|
|
580
444
|
schema.TypeRegistry.for(n0).registerError(InvalidUsageDimensionException, InvalidUsageDimensionException$1);
|
|
581
445
|
var MeterUsageRequest = [
|
|
582
446
|
3,
|
|
@@ -587,43 +451,16 @@ var MeterUsageRequest = [
|
|
|
587
451
|
[0, 4, 0, 1, 2, () => UsageAllocations, [0, 4]],
|
|
588
452
|
];
|
|
589
453
|
var MeterUsageResult = [3, n0, _MURe, 0, [_MRI], [0]];
|
|
590
|
-
var PlatformNotSupportedException = [
|
|
591
|
-
-3,
|
|
592
|
-
n0,
|
|
593
|
-
_PNSE,
|
|
594
|
-
{
|
|
595
|
-
[_e]: _c,
|
|
596
|
-
},
|
|
597
|
-
[_m],
|
|
598
|
-
[0],
|
|
599
|
-
];
|
|
454
|
+
var PlatformNotSupportedException = [-3, n0, _PNSE, { [_e]: _c }, [_m], [0]];
|
|
600
455
|
schema.TypeRegistry.for(n0).registerError(PlatformNotSupportedException, PlatformNotSupportedException$1);
|
|
601
456
|
var RegisterUsageRequest = [3, n0, _RUR, 0, [_PC, _PKV, _N], [0, 1, 0]];
|
|
602
457
|
var RegisterUsageResult = [3, n0, _RURe, 0, [_PKRT, _S], [4, 0]];
|
|
603
458
|
var ResolveCustomerRequest = [3, n0, _RCR, 0, [_RT], [0]];
|
|
604
459
|
var ResolveCustomerResult = [3, n0, _RCRe, 0, [_CI, _PC, _CAWSAI], [0, 0, 0]];
|
|
605
460
|
var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
|
|
606
|
-
var ThrottlingException = [
|
|
607
|
-
-3,
|
|
608
|
-
n0,
|
|
609
|
-
_TE,
|
|
610
|
-
{
|
|
611
|
-
[_e]: _c,
|
|
612
|
-
},
|
|
613
|
-
[_m],
|
|
614
|
-
[0],
|
|
615
|
-
];
|
|
461
|
+
var ThrottlingException = [-3, n0, _TE, { [_e]: _c }, [_m], [0]];
|
|
616
462
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
617
|
-
var TimestampOutOfBoundsException = [
|
|
618
|
-
-3,
|
|
619
|
-
n0,
|
|
620
|
-
_TOOBE,
|
|
621
|
-
{
|
|
622
|
-
[_e]: _c,
|
|
623
|
-
},
|
|
624
|
-
[_m],
|
|
625
|
-
[0],
|
|
626
|
-
];
|
|
463
|
+
var TimestampOutOfBoundsException = [-3, n0, _TOOBE, { [_e]: _c }, [_m], [0]];
|
|
627
464
|
schema.TypeRegistry.for(n0).registerError(TimestampOutOfBoundsException, TimestampOutOfBoundsException$1);
|
|
628
465
|
var UsageAllocation = [3, n0, _UAs, 0, [_AUQ, _Tag], [1, () => TagList]];
|
|
629
466
|
var UsageRecord = [
|
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
11
11
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
12
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
15
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
15
17
|
const util_retry_1 = require("@smithy/util-retry");
|
|
16
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
(0,
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultMarketplaceMeteringHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
|
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
7
8
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
8
10
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
10
11
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
11
13
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
15
|
export const getRuntimeConfig = (config) => {
|
|
17
16
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -79,171 +79,35 @@ export var BatchMeterUsageResult = [
|
|
|
79
79
|
[_R, _URn],
|
|
80
80
|
[() => UsageRecordResultList, () => UsageRecordList],
|
|
81
81
|
];
|
|
82
|
-
export var CustomerNotEntitledException = [
|
|
83
|
-
-3,
|
|
84
|
-
n0,
|
|
85
|
-
_CNEE,
|
|
86
|
-
{
|
|
87
|
-
[_e]: _c,
|
|
88
|
-
},
|
|
89
|
-
[_m],
|
|
90
|
-
[0],
|
|
91
|
-
];
|
|
82
|
+
export var CustomerNotEntitledException = [-3, n0, _CNEE, { [_e]: _c }, [_m], [0]];
|
|
92
83
|
TypeRegistry.for(n0).registerError(CustomerNotEntitledException, __CustomerNotEntitledException);
|
|
93
|
-
export var DisabledApiException = [
|
|
94
|
-
-3,
|
|
95
|
-
n0,
|
|
96
|
-
_DAE,
|
|
97
|
-
{
|
|
98
|
-
[_e]: _c,
|
|
99
|
-
},
|
|
100
|
-
[_m],
|
|
101
|
-
[0],
|
|
102
|
-
];
|
|
84
|
+
export var DisabledApiException = [-3, n0, _DAE, { [_e]: _c }, [_m], [0]];
|
|
103
85
|
TypeRegistry.for(n0).registerError(DisabledApiException, __DisabledApiException);
|
|
104
|
-
export var DuplicateRequestException = [
|
|
105
|
-
-3,
|
|
106
|
-
n0,
|
|
107
|
-
_DRE,
|
|
108
|
-
{
|
|
109
|
-
[_e]: _c,
|
|
110
|
-
},
|
|
111
|
-
[_m],
|
|
112
|
-
[0],
|
|
113
|
-
];
|
|
86
|
+
export var DuplicateRequestException = [-3, n0, _DRE, { [_e]: _c }, [_m], [0]];
|
|
114
87
|
TypeRegistry.for(n0).registerError(DuplicateRequestException, __DuplicateRequestException);
|
|
115
|
-
export var ExpiredTokenException = [
|
|
116
|
-
-3,
|
|
117
|
-
n0,
|
|
118
|
-
_ETE,
|
|
119
|
-
{
|
|
120
|
-
[_e]: _c,
|
|
121
|
-
},
|
|
122
|
-
[_m],
|
|
123
|
-
[0],
|
|
124
|
-
];
|
|
88
|
+
export var ExpiredTokenException = [-3, n0, _ETE, { [_e]: _c }, [_m], [0]];
|
|
125
89
|
TypeRegistry.for(n0).registerError(ExpiredTokenException, __ExpiredTokenException);
|
|
126
|
-
export var IdempotencyConflictException = [
|
|
127
|
-
-3,
|
|
128
|
-
n0,
|
|
129
|
-
_ICE,
|
|
130
|
-
{
|
|
131
|
-
[_e]: _c,
|
|
132
|
-
[_hE]: 409,
|
|
133
|
-
},
|
|
134
|
-
[_m],
|
|
135
|
-
[0],
|
|
136
|
-
];
|
|
90
|
+
export var IdempotencyConflictException = [-3, n0, _ICE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
|
|
137
91
|
TypeRegistry.for(n0).registerError(IdempotencyConflictException, __IdempotencyConflictException);
|
|
138
|
-
export var InternalServiceErrorException = [
|
|
139
|
-
-3,
|
|
140
|
-
n0,
|
|
141
|
-
_ISEE,
|
|
142
|
-
{
|
|
143
|
-
[_e]: _s,
|
|
144
|
-
},
|
|
145
|
-
[_m],
|
|
146
|
-
[0],
|
|
147
|
-
];
|
|
92
|
+
export var InternalServiceErrorException = [-3, n0, _ISEE, { [_e]: _s }, [_m], [0]];
|
|
148
93
|
TypeRegistry.for(n0).registerError(InternalServiceErrorException, __InternalServiceErrorException);
|
|
149
|
-
export var InvalidCustomerIdentifierException = [
|
|
150
|
-
-3,
|
|
151
|
-
n0,
|
|
152
|
-
_ICIE,
|
|
153
|
-
{
|
|
154
|
-
[_e]: _c,
|
|
155
|
-
},
|
|
156
|
-
[_m],
|
|
157
|
-
[0],
|
|
158
|
-
];
|
|
94
|
+
export var InvalidCustomerIdentifierException = [-3, n0, _ICIE, { [_e]: _c }, [_m], [0]];
|
|
159
95
|
TypeRegistry.for(n0).registerError(InvalidCustomerIdentifierException, __InvalidCustomerIdentifierException);
|
|
160
|
-
export var InvalidEndpointRegionException = [
|
|
161
|
-
-3,
|
|
162
|
-
n0,
|
|
163
|
-
_IERE,
|
|
164
|
-
{
|
|
165
|
-
[_e]: _c,
|
|
166
|
-
},
|
|
167
|
-
[_m],
|
|
168
|
-
[0],
|
|
169
|
-
];
|
|
96
|
+
export var InvalidEndpointRegionException = [-3, n0, _IERE, { [_e]: _c }, [_m], [0]];
|
|
170
97
|
TypeRegistry.for(n0).registerError(InvalidEndpointRegionException, __InvalidEndpointRegionException);
|
|
171
|
-
export var InvalidProductCodeException = [
|
|
172
|
-
-3,
|
|
173
|
-
n0,
|
|
174
|
-
_IPCE,
|
|
175
|
-
{
|
|
176
|
-
[_e]: _c,
|
|
177
|
-
},
|
|
178
|
-
[_m],
|
|
179
|
-
[0],
|
|
180
|
-
];
|
|
98
|
+
export var InvalidProductCodeException = [-3, n0, _IPCE, { [_e]: _c }, [_m], [0]];
|
|
181
99
|
TypeRegistry.for(n0).registerError(InvalidProductCodeException, __InvalidProductCodeException);
|
|
182
|
-
export var InvalidPublicKeyVersionException = [
|
|
183
|
-
-3,
|
|
184
|
-
n0,
|
|
185
|
-
_IPKVE,
|
|
186
|
-
{
|
|
187
|
-
[_e]: _c,
|
|
188
|
-
},
|
|
189
|
-
[_m],
|
|
190
|
-
[0],
|
|
191
|
-
];
|
|
100
|
+
export var InvalidPublicKeyVersionException = [-3, n0, _IPKVE, { [_e]: _c }, [_m], [0]];
|
|
192
101
|
TypeRegistry.for(n0).registerError(InvalidPublicKeyVersionException, __InvalidPublicKeyVersionException);
|
|
193
|
-
export var InvalidRegionException = [
|
|
194
|
-
-3,
|
|
195
|
-
n0,
|
|
196
|
-
_IRE,
|
|
197
|
-
{
|
|
198
|
-
[_e]: _c,
|
|
199
|
-
},
|
|
200
|
-
[_m],
|
|
201
|
-
[0],
|
|
202
|
-
];
|
|
102
|
+
export var InvalidRegionException = [-3, n0, _IRE, { [_e]: _c }, [_m], [0]];
|
|
203
103
|
TypeRegistry.for(n0).registerError(InvalidRegionException, __InvalidRegionException);
|
|
204
|
-
export var InvalidTagException = [
|
|
205
|
-
-3,
|
|
206
|
-
n0,
|
|
207
|
-
_ITE,
|
|
208
|
-
{
|
|
209
|
-
[_e]: _c,
|
|
210
|
-
},
|
|
211
|
-
[_m],
|
|
212
|
-
[0],
|
|
213
|
-
];
|
|
104
|
+
export var InvalidTagException = [-3, n0, _ITE, { [_e]: _c }, [_m], [0]];
|
|
214
105
|
TypeRegistry.for(n0).registerError(InvalidTagException, __InvalidTagException);
|
|
215
|
-
export var InvalidTokenException = [
|
|
216
|
-
-3,
|
|
217
|
-
n0,
|
|
218
|
-
_ITEn,
|
|
219
|
-
{
|
|
220
|
-
[_e]: _c,
|
|
221
|
-
},
|
|
222
|
-
[_m],
|
|
223
|
-
[0],
|
|
224
|
-
];
|
|
106
|
+
export var InvalidTokenException = [-3, n0, _ITEn, { [_e]: _c }, [_m], [0]];
|
|
225
107
|
TypeRegistry.for(n0).registerError(InvalidTokenException, __InvalidTokenException);
|
|
226
|
-
export var InvalidUsageAllocationsException = [
|
|
227
|
-
-3,
|
|
228
|
-
n0,
|
|
229
|
-
_IUAE,
|
|
230
|
-
{
|
|
231
|
-
[_e]: _c,
|
|
232
|
-
},
|
|
233
|
-
[_m],
|
|
234
|
-
[0],
|
|
235
|
-
];
|
|
108
|
+
export var InvalidUsageAllocationsException = [-3, n0, _IUAE, { [_e]: _c }, [_m], [0]];
|
|
236
109
|
TypeRegistry.for(n0).registerError(InvalidUsageAllocationsException, __InvalidUsageAllocationsException);
|
|
237
|
-
export var InvalidUsageDimensionException = [
|
|
238
|
-
-3,
|
|
239
|
-
n0,
|
|
240
|
-
_IUDE,
|
|
241
|
-
{
|
|
242
|
-
[_e]: _c,
|
|
243
|
-
},
|
|
244
|
-
[_m],
|
|
245
|
-
[0],
|
|
246
|
-
];
|
|
110
|
+
export var InvalidUsageDimensionException = [-3, n0, _IUDE, { [_e]: _c }, [_m], [0]];
|
|
247
111
|
TypeRegistry.for(n0).registerError(InvalidUsageDimensionException, __InvalidUsageDimensionException);
|
|
248
112
|
export var MeterUsageRequest = [
|
|
249
113
|
3,
|
|
@@ -254,43 +118,16 @@ export var MeterUsageRequest = [
|
|
|
254
118
|
[0, 4, 0, 1, 2, () => UsageAllocations, [0, 4]],
|
|
255
119
|
];
|
|
256
120
|
export var MeterUsageResult = [3, n0, _MURe, 0, [_MRI], [0]];
|
|
257
|
-
export var PlatformNotSupportedException = [
|
|
258
|
-
-3,
|
|
259
|
-
n0,
|
|
260
|
-
_PNSE,
|
|
261
|
-
{
|
|
262
|
-
[_e]: _c,
|
|
263
|
-
},
|
|
264
|
-
[_m],
|
|
265
|
-
[0],
|
|
266
|
-
];
|
|
121
|
+
export var PlatformNotSupportedException = [-3, n0, _PNSE, { [_e]: _c }, [_m], [0]];
|
|
267
122
|
TypeRegistry.for(n0).registerError(PlatformNotSupportedException, __PlatformNotSupportedException);
|
|
268
123
|
export var RegisterUsageRequest = [3, n0, _RUR, 0, [_PC, _PKV, _N], [0, 1, 0]];
|
|
269
124
|
export var RegisterUsageResult = [3, n0, _RURe, 0, [_PKRT, _S], [4, 0]];
|
|
270
125
|
export var ResolveCustomerRequest = [3, n0, _RCR, 0, [_RT], [0]];
|
|
271
126
|
export var ResolveCustomerResult = [3, n0, _RCRe, 0, [_CI, _PC, _CAWSAI], [0, 0, 0]];
|
|
272
127
|
export var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
|
|
273
|
-
export var ThrottlingException = [
|
|
274
|
-
-3,
|
|
275
|
-
n0,
|
|
276
|
-
_TE,
|
|
277
|
-
{
|
|
278
|
-
[_e]: _c,
|
|
279
|
-
},
|
|
280
|
-
[_m],
|
|
281
|
-
[0],
|
|
282
|
-
];
|
|
128
|
+
export var ThrottlingException = [-3, n0, _TE, { [_e]: _c }, [_m], [0]];
|
|
283
129
|
TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
|
|
284
|
-
export var TimestampOutOfBoundsException = [
|
|
285
|
-
-3,
|
|
286
|
-
n0,
|
|
287
|
-
_TOOBE,
|
|
288
|
-
{
|
|
289
|
-
[_e]: _c,
|
|
290
|
-
},
|
|
291
|
-
[_m],
|
|
292
|
-
[0],
|
|
293
|
-
];
|
|
130
|
+
export var TimestampOutOfBoundsException = [-3, n0, _TOOBE, { [_e]: _c }, [_m], [0]];
|
|
294
131
|
TypeRegistry.for(n0).registerError(TimestampOutOfBoundsException, __TimestampOutOfBoundsException);
|
|
295
132
|
export var UsageAllocation = [3, n0, _UAs, 0, [_AUQ, _Tag], [1, () => TagList]];
|
|
296
133
|
export var UsageRecord = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { BatchMeterUsageCommandInput, BatchMeterUsageCommandOutput } from "./commands/BatchMeterUsageCommand";
|
|
3
3
|
import { MeterUsageCommandInput, MeterUsageCommandOutput } from "./commands/MeterUsageCommand";
|
|
4
4
|
import { RegisterUsageCommandInput, RegisterUsageCommandOutput } from "./commands/RegisterUsageCommand";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
-
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
-
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { BatchMeterUsageCommandInput, BatchMeterUsageCommandOutput } from "./commands/BatchMeterUsageCommand";
|
|
11
11
|
import { MeterUsageCommandInput, MeterUsageCommandOutput } from "./commands/MeterUsageCommand";
|
|
12
12
|
import { RegisterUsageCommandInput, RegisterUsageCommandOutput } from "./commands/RegisterUsageCommand";
|
|
13
13
|
import { ResolveCustomerCommandInput, ResolveCustomerCommandOutput } from "./commands/ResolveCustomerCommand";
|
|
14
14
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
15
|
-
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
15
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
16
16
|
export { __Client };
|
|
17
17
|
/**
|
|
18
18
|
* @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AwsCredentialIdentity, AwsCredentialIdentityProvider
|
|
2
|
-
import { MarketplaceMeteringHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
1
|
+
import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { MarketplaceMeteringHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
-
import { MarketplaceMeteringClientResolvedConfig } from "../MarketplaceMeteringClient";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type MarketplaceMeteringClientResolvedConfig } from "../MarketplaceMeteringClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { MarketplaceMeteringClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceMeteringClient";
|
|
4
|
-
import { BatchMeterUsageRequest, BatchMeterUsageResult } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { MarketplaceMeteringClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceMeteringClient";
|
|
4
|
+
import type { BatchMeterUsageRequest, BatchMeterUsageResult } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { MarketplaceMeteringClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceMeteringClient";
|
|
4
|
-
import { MeterUsageRequest, MeterUsageResult } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { MarketplaceMeteringClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceMeteringClient";
|
|
4
|
+
import type { MeterUsageRequest, MeterUsageResult } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { MarketplaceMeteringClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceMeteringClient";
|
|
4
|
-
import { RegisterUsageRequest, RegisterUsageResult } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { MarketplaceMeteringClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceMeteringClient";
|
|
4
|
+
import type { RegisterUsageRequest, RegisterUsageResult } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { MarketplaceMeteringClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceMeteringClient";
|
|
4
|
-
import { ResolveCustomerRequest, ResolveCustomerResult } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { MarketplaceMeteringClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceMeteringClient";
|
|
4
|
+
import type { ResolveCustomerRequest, ResolveCustomerResult } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
9
9
|
region?: string | undefined | Provider<string | undefined>;
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
11
14
|
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
15
|
defaultSigningName: string;
|
|
13
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
14
20
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
15
24
|
export declare const commonParams: {
|
|
16
25
|
readonly UseFIPS: {
|
|
17
26
|
readonly type: "builtInParams";
|
|
@@ -30,6 +39,9 @@ export declare const commonParams: {
|
|
|
30
39
|
readonly name: "useDualstackEndpoint";
|
|
31
40
|
};
|
|
32
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
33
45
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
46
|
UseDualStack?: boolean | undefined;
|
|
35
47
|
UseFIPS?: boolean | undefined;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
-
import { EndpointParameters } from "./EndpointParameters";
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
4
7
|
logger?: Logger;
|
|
5
8
|
}) => EndpointV2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
-
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
-
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { MarketplaceMeteringServiceException as __BaseException } from "./MarketplaceMeteringServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>The API is disabled in the Region.</p>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
-
import { MarketplaceMeteringClientConfig } from "./MarketplaceMeteringClient";
|
|
2
|
+
import type { MarketplaceMeteringClientConfig } from "./MarketplaceMeteringClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
-
import { MarketplaceMeteringClientConfig } from "./MarketplaceMeteringClient";
|
|
2
|
+
import type { MarketplaceMeteringClientConfig } from "./MarketplaceMeteringClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
1
|
+
import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
2
|
export declare var BatchMeterUsageRequest: StaticStructureSchema;
|
|
3
3
|
export declare var BatchMeterUsageResult: StaticStructureSchema;
|
|
4
4
|
export declare var CustomerNotEntitledException: StaticErrorSchema;
|
|
@@ -20,13 +20,12 @@ import {
|
|
|
20
20
|
} from "@smithy/middleware-retry";
|
|
21
21
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
22
|
import {
|
|
23
|
-
Client as __Client,
|
|
24
23
|
DefaultsMode as __DefaultsMode,
|
|
25
24
|
SmithyConfiguration as __SmithyConfiguration,
|
|
26
25
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
|
+
Client as __Client,
|
|
27
27
|
} from "@smithy/smithy-client";
|
|
28
28
|
import {
|
|
29
|
-
AwsCredentialIdentityProvider,
|
|
30
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -39,9 +38,10 @@ import {
|
|
|
39
38
|
HttpResponse,
|
|
40
39
|
Logger as __Logger,
|
|
41
40
|
Provider as __Provider,
|
|
42
|
-
Provider,
|
|
43
41
|
StreamCollector as __StreamCollector,
|
|
44
42
|
UrlParser as __UrlParser,
|
|
43
|
+
AwsCredentialIdentityProvider,
|
|
44
|
+
Provider,
|
|
45
45
|
UserAgent as __UserAgent,
|
|
46
46
|
} from "@smithy/types";
|
|
47
47
|
import {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
+
HttpAuthScheme,
|
|
2
3
|
AwsCredentialIdentity,
|
|
3
4
|
AwsCredentialIdentityProvider,
|
|
4
|
-
HttpAuthScheme,
|
|
5
5
|
} from "@smithy/types";
|
|
6
6
|
import { MarketplaceMeteringHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
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.946.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",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service --solo marketplace-metering"
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo marketplace-metering",
|
|
15
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,38 +21,38 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.946.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.946.0",
|
|
25
26
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
27
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
28
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.946.0",
|
|
29
30
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
31
|
"@aws-sdk/types": "3.936.0",
|
|
31
32
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
33
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.946.0",
|
|
34
35
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
36
|
+
"@smithy/core": "^3.18.7",
|
|
36
37
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
38
|
"@smithy/hash-node": "^4.2.5",
|
|
38
39
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
40
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.3.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.14",
|
|
42
43
|
"@smithy/middleware-serde": "^4.2.6",
|
|
43
44
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
45
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
46
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
47
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
+
"@smithy/smithy-client": "^4.9.10",
|
|
48
49
|
"@smithy/types": "^4.9.0",
|
|
49
50
|
"@smithy/url-parser": "^4.2.5",
|
|
50
51
|
"@smithy/util-base64": "^4.3.0",
|
|
51
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.13",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.16",
|
|
55
56
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
57
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
58
|
"@smithy/util-retry": "^4.2.5",
|