@aws-sdk/client-marketplace-metering 3.758.0 → 3.774.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
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
BatchMeterUsageCommand: () => BatchMeterUsageCommand,
|
|
25
25
|
CustomerNotEntitledException: () => CustomerNotEntitledException,
|
|
26
26
|
DisabledApiException: () => DisabledApiException,
|
|
@@ -48,7 +48,7 @@ __export(src_exports, {
|
|
|
48
48
|
UsageRecordResultStatus: () => UsageRecordResultStatus,
|
|
49
49
|
__Client: () => import_smithy_client.Client
|
|
50
50
|
});
|
|
51
|
-
module.exports = __toCommonJS(
|
|
51
|
+
module.exports = __toCommonJS(index_exports);
|
|
52
52
|
|
|
53
53
|
// src/MarketplaceMeteringClient.ts
|
|
54
54
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -175,9 +175,9 @@ var MarketplaceMeteringClient = class extends import_smithy_client.Client {
|
|
|
175
175
|
this.middlewareStack.use(
|
|
176
176
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
177
177
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultMarketplaceMeteringHttpAuthSchemeParametersProvider,
|
|
178
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
178
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
179
179
|
"aws.auth#sigv4": config.credentials
|
|
180
|
-
})
|
|
180
|
+
}), "identityProviderConfigProvider")
|
|
181
181
|
})
|
|
182
182
|
);
|
|
183
183
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -833,14 +833,14 @@ var de_TimestampOutOfBoundsExceptionRes = /* @__PURE__ */ __name(async (parsedOu
|
|
|
833
833
|
var se_BatchMeterUsageRequest = /* @__PURE__ */ __name((input, context) => {
|
|
834
834
|
return (0, import_smithy_client.take)(input, {
|
|
835
835
|
ProductCode: [],
|
|
836
|
-
UsageRecords: (_) => se_UsageRecordList(_, context)
|
|
836
|
+
UsageRecords: /* @__PURE__ */ __name((_) => se_UsageRecordList(_, context), "UsageRecords")
|
|
837
837
|
});
|
|
838
838
|
}, "se_BatchMeterUsageRequest");
|
|
839
839
|
var se_MeterUsageRequest = /* @__PURE__ */ __name((input, context) => {
|
|
840
840
|
return (0, import_smithy_client.take)(input, {
|
|
841
841
|
DryRun: [],
|
|
842
842
|
ProductCode: [],
|
|
843
|
-
Timestamp: (_) => _.getTime() / 1e3,
|
|
843
|
+
Timestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "Timestamp"),
|
|
844
844
|
UsageAllocations: import_smithy_client._json,
|
|
845
845
|
UsageDimension: [],
|
|
846
846
|
UsageQuantity: []
|
|
@@ -851,7 +851,7 @@ var se_UsageRecord = /* @__PURE__ */ __name((input, context) => {
|
|
|
851
851
|
CustomerIdentifier: [],
|
|
852
852
|
Dimension: [],
|
|
853
853
|
Quantity: [],
|
|
854
|
-
Timestamp: (_) => _.getTime() / 1e3,
|
|
854
|
+
Timestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "Timestamp"),
|
|
855
855
|
UsageAllocations: import_smithy_client._json
|
|
856
856
|
});
|
|
857
857
|
}, "se_UsageRecord");
|
|
@@ -862,13 +862,13 @@ var se_UsageRecordList = /* @__PURE__ */ __name((input, context) => {
|
|
|
862
862
|
}, "se_UsageRecordList");
|
|
863
863
|
var de_BatchMeterUsageResult = /* @__PURE__ */ __name((output, context) => {
|
|
864
864
|
return (0, import_smithy_client.take)(output, {
|
|
865
|
-
Results: (_) => de_UsageRecordResultList(_, context),
|
|
866
|
-
UnprocessedRecords: (_) => de_UsageRecordList(_, context)
|
|
865
|
+
Results: /* @__PURE__ */ __name((_) => de_UsageRecordResultList(_, context), "Results"),
|
|
866
|
+
UnprocessedRecords: /* @__PURE__ */ __name((_) => de_UsageRecordList(_, context), "UnprocessedRecords")
|
|
867
867
|
});
|
|
868
868
|
}, "de_BatchMeterUsageResult");
|
|
869
869
|
var de_RegisterUsageResult = /* @__PURE__ */ __name((output, context) => {
|
|
870
870
|
return (0, import_smithy_client.take)(output, {
|
|
871
|
-
PublicKeyRotationTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
871
|
+
PublicKeyRotationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "PublicKeyRotationTimestamp"),
|
|
872
872
|
Signature: import_smithy_client.expectString
|
|
873
873
|
});
|
|
874
874
|
}, "de_RegisterUsageResult");
|
|
@@ -877,7 +877,7 @@ var de_UsageRecord = /* @__PURE__ */ __name((output, context) => {
|
|
|
877
877
|
CustomerIdentifier: import_smithy_client.expectString,
|
|
878
878
|
Dimension: import_smithy_client.expectString,
|
|
879
879
|
Quantity: import_smithy_client.expectInt32,
|
|
880
|
-
Timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
880
|
+
Timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Timestamp"),
|
|
881
881
|
UsageAllocations: import_smithy_client._json
|
|
882
882
|
});
|
|
883
883
|
}, "de_UsageRecord");
|
|
@@ -891,7 +891,7 @@ var de_UsageRecordResult = /* @__PURE__ */ __name((output, context) => {
|
|
|
891
891
|
return (0, import_smithy_client.take)(output, {
|
|
892
892
|
MeteringRecordId: import_smithy_client.expectString,
|
|
893
893
|
Status: import_smithy_client.expectString,
|
|
894
|
-
UsageRecord: (_) => de_UsageRecord(_, context)
|
|
894
|
+
UsageRecord: /* @__PURE__ */ __name((_) => de_UsageRecord(_, context), "UsageRecord")
|
|
895
895
|
});
|
|
896
896
|
}, "de_UsageRecordResult");
|
|
897
897
|
var de_UsageRecordResultList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -45,8 +45,5 @@ export declare const getRuntimeConfig: (config: MarketplaceMeteringClientConfig)
|
|
|
45
45
|
signingEscapePath?: boolean | undefined;
|
|
46
46
|
systemClockOffset?: number | undefined;
|
|
47
47
|
signingRegion?: string | undefined;
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
48
|
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
52
49
|
};
|
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.774.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,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
23
|
+
"@aws-sdk/core": "3.774.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.774.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.774.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.774.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.774.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
35
|
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|