@aws-sdk/client-marketplace-metering 3.245.0 → 3.252.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.
|
@@ -430,7 +430,7 @@ const serializeAws_json1_1MeterUsageRequest = (input, context) => {
|
|
|
430
430
|
return {
|
|
431
431
|
...(input.DryRun != null && { DryRun: input.DryRun }),
|
|
432
432
|
...(input.ProductCode != null && { ProductCode: input.ProductCode }),
|
|
433
|
-
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
|
|
433
|
+
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000).toString() }),
|
|
434
434
|
...(input.UsageAllocations != null && {
|
|
435
435
|
UsageAllocations: serializeAws_json1_1UsageAllocations(input.UsageAllocations, context),
|
|
436
436
|
}),
|
|
@@ -481,7 +481,7 @@ const serializeAws_json1_1UsageRecord = (input, context) => {
|
|
|
481
481
|
...(input.CustomerIdentifier != null && { CustomerIdentifier: input.CustomerIdentifier }),
|
|
482
482
|
...(input.Dimension != null && { Dimension: input.Dimension }),
|
|
483
483
|
...(input.Quantity != null && { Quantity: input.Quantity }),
|
|
484
|
-
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
|
|
484
|
+
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000).toString() }),
|
|
485
485
|
...(input.UsageAllocations != null && {
|
|
486
486
|
UsageAllocations: serializeAws_json1_1UsageAllocations(input.UsageAllocations, context),
|
|
487
487
|
}),
|
|
@@ -419,7 +419,7 @@ const serializeAws_json1_1MeterUsageRequest = (input, context) => {
|
|
|
419
419
|
return {
|
|
420
420
|
...(input.DryRun != null && { DryRun: input.DryRun }),
|
|
421
421
|
...(input.ProductCode != null && { ProductCode: input.ProductCode }),
|
|
422
|
-
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
|
|
422
|
+
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000).toString() }),
|
|
423
423
|
...(input.UsageAllocations != null && {
|
|
424
424
|
UsageAllocations: serializeAws_json1_1UsageAllocations(input.UsageAllocations, context),
|
|
425
425
|
}),
|
|
@@ -470,7 +470,7 @@ const serializeAws_json1_1UsageRecord = (input, context) => {
|
|
|
470
470
|
...(input.CustomerIdentifier != null && { CustomerIdentifier: input.CustomerIdentifier }),
|
|
471
471
|
...(input.Dimension != null && { Dimension: input.Dimension }),
|
|
472
472
|
...(input.Quantity != null && { Quantity: input.Quantity }),
|
|
473
|
-
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
|
|
473
|
+
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000).toString() }),
|
|
474
474
|
...(input.UsageAllocations != null && {
|
|
475
475
|
UsageAllocations: serializeAws_json1_1UsageAllocations(input.UsageAllocations, context),
|
|
476
476
|
}),
|
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.252.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
-
"generate:client": "
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo marketplace-metering"
|
|
15
15
|
},
|
|
16
16
|
"main": "./dist-cjs/index.js",
|
|
17
17
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.252.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.252.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.226.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.226.0",
|