@aws-sdk/client-budgets 3.241.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.
@@ -1468,7 +1468,7 @@ const serializeAws_json1_1AutoAdjustData = (input, context) => {
1468
1468
  HistoricalOptions: serializeAws_json1_1HistoricalOptions(input.HistoricalOptions, context),
1469
1469
  }),
1470
1470
  ...(input.LastAutoAdjustTime != null && {
1471
- LastAutoAdjustTime: Math.round(input.LastAutoAdjustTime.getTime() / 1000),
1471
+ LastAutoAdjustTime: Math.round(input.LastAutoAdjustTime.getTime() / 1000).toString(),
1472
1472
  }),
1473
1473
  };
1474
1474
  };
@@ -1485,7 +1485,9 @@ const serializeAws_json1_1Budget = (input, context) => {
1485
1485
  }),
1486
1486
  ...(input.CostFilters != null && { CostFilters: serializeAws_json1_1CostFilters(input.CostFilters, context) }),
1487
1487
  ...(input.CostTypes != null && { CostTypes: serializeAws_json1_1CostTypes(input.CostTypes, context) }),
1488
- ...(input.LastUpdatedTime != null && { LastUpdatedTime: Math.round(input.LastUpdatedTime.getTime() / 1000) }),
1488
+ ...(input.LastUpdatedTime != null && {
1489
+ LastUpdatedTime: Math.round(input.LastUpdatedTime.getTime() / 1000).toString(),
1490
+ }),
1489
1491
  ...(input.PlannedBudgetLimits != null && {
1490
1492
  PlannedBudgetLimits: serializeAws_json1_1PlannedBudgetLimits(input.PlannedBudgetLimits, context),
1491
1493
  }),
@@ -1806,8 +1808,8 @@ const serializeAws_json1_1TargetIds = (input, context) => {
1806
1808
  };
1807
1809
  const serializeAws_json1_1TimePeriod = (input, context) => {
1808
1810
  return {
1809
- ...(input.End != null && { End: Math.round(input.End.getTime() / 1000) }),
1810
- ...(input.Start != null && { Start: Math.round(input.Start.getTime() / 1000) }),
1811
+ ...(input.End != null && { End: Math.round(input.End.getTime() / 1000).toString() }),
1812
+ ...(input.Start != null && { Start: Math.round(input.Start.getTime() / 1000).toString() }),
1811
1813
  };
1812
1814
  };
1813
1815
  const serializeAws_json1_1UpdateBudgetActionRequest = (input, context) => {
@@ -1419,7 +1419,7 @@ const serializeAws_json1_1AutoAdjustData = (input, context) => {
1419
1419
  HistoricalOptions: serializeAws_json1_1HistoricalOptions(input.HistoricalOptions, context),
1420
1420
  }),
1421
1421
  ...(input.LastAutoAdjustTime != null && {
1422
- LastAutoAdjustTime: Math.round(input.LastAutoAdjustTime.getTime() / 1000),
1422
+ LastAutoAdjustTime: Math.round(input.LastAutoAdjustTime.getTime() / 1000).toString(),
1423
1423
  }),
1424
1424
  };
1425
1425
  };
@@ -1436,7 +1436,9 @@ const serializeAws_json1_1Budget = (input, context) => {
1436
1436
  }),
1437
1437
  ...(input.CostFilters != null && { CostFilters: serializeAws_json1_1CostFilters(input.CostFilters, context) }),
1438
1438
  ...(input.CostTypes != null && { CostTypes: serializeAws_json1_1CostTypes(input.CostTypes, context) }),
1439
- ...(input.LastUpdatedTime != null && { LastUpdatedTime: Math.round(input.LastUpdatedTime.getTime() / 1000) }),
1439
+ ...(input.LastUpdatedTime != null && {
1440
+ LastUpdatedTime: Math.round(input.LastUpdatedTime.getTime() / 1000).toString(),
1441
+ }),
1440
1442
  ...(input.PlannedBudgetLimits != null && {
1441
1443
  PlannedBudgetLimits: serializeAws_json1_1PlannedBudgetLimits(input.PlannedBudgetLimits, context),
1442
1444
  }),
@@ -1757,8 +1759,8 @@ const serializeAws_json1_1TargetIds = (input, context) => {
1757
1759
  };
1758
1760
  const serializeAws_json1_1TimePeriod = (input, context) => {
1759
1761
  return {
1760
- ...(input.End != null && { End: Math.round(input.End.getTime() / 1000) }),
1761
- ...(input.Start != null && { Start: Math.round(input.Start.getTime() / 1000) }),
1762
+ ...(input.End != null && { End: Math.round(input.End.getTime() / 1000).toString() }),
1763
+ ...(input.Start != null && { Start: Math.round(input.Start.getTime() / 1000).toString() }),
1762
1764
  };
1763
1765
  };
1764
1766
  const serializeAws_json1_1UpdateBudgetActionRequest = (input, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-budgets",
3
3
  "description": "AWS SDK for JavaScript Budgets Client for Node.js, Browser and React Native",
4
- "version": "3.241.0",
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": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/budgets.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo budgets"
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.241.0",
23
+ "@aws-sdk/client-sts": "3.252.0",
24
24
  "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.241.0",
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",
@@ -47,7 +47,7 @@
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
48
  "@aws-sdk/util-defaults-mode-browser": "3.234.0",
49
49
  "@aws-sdk/util-defaults-mode-node": "3.234.0",
50
- "@aws-sdk/util-endpoints": "3.241.0",
50
+ "@aws-sdk/util-endpoints": "3.245.0",
51
51
  "@aws-sdk/util-retry": "3.229.0",
52
52
  "@aws-sdk/util-user-agent-browser": "3.226.0",
53
53
  "@aws-sdk/util-user-agent-node": "3.226.0",