@aws-sdk/client-auto-scaling-plans 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.
@@ -442,14 +442,14 @@ const serializeAws_json1_1DescribeScalingPlansRequest = (input, context) => {
442
442
  };
443
443
  const serializeAws_json1_1GetScalingPlanResourceForecastDataRequest = (input, context) => {
444
444
  return {
445
- ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
445
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
446
446
  ...(input.ForecastDataType != null && { ForecastDataType: input.ForecastDataType }),
447
447
  ...(input.ResourceId != null && { ResourceId: input.ResourceId }),
448
448
  ...(input.ScalableDimension != null && { ScalableDimension: input.ScalableDimension }),
449
449
  ...(input.ScalingPlanName != null && { ScalingPlanName: input.ScalingPlanName }),
450
450
  ...(input.ScalingPlanVersion != null && { ScalingPlanVersion: input.ScalingPlanVersion }),
451
451
  ...(input.ServiceNamespace != null && { ServiceNamespace: input.ServiceNamespace }),
452
- ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
452
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
453
453
  };
454
454
  };
455
455
  const serializeAws_json1_1MetricDimension = (input, context) => {
@@ -427,14 +427,14 @@ const serializeAws_json1_1DescribeScalingPlansRequest = (input, context) => {
427
427
  };
428
428
  const serializeAws_json1_1GetScalingPlanResourceForecastDataRequest = (input, context) => {
429
429
  return {
430
- ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
430
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
431
431
  ...(input.ForecastDataType != null && { ForecastDataType: input.ForecastDataType }),
432
432
  ...(input.ResourceId != null && { ResourceId: input.ResourceId }),
433
433
  ...(input.ScalableDimension != null && { ScalableDimension: input.ScalableDimension }),
434
434
  ...(input.ScalingPlanName != null && { ScalingPlanName: input.ScalingPlanName }),
435
435
  ...(input.ScalingPlanVersion != null && { ScalingPlanVersion: input.ScalingPlanVersion }),
436
436
  ...(input.ServiceNamespace != null && { ServiceNamespace: input.ServiceNamespace }),
437
- ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
437
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
438
438
  };
439
439
  };
440
440
  const serializeAws_json1_1MetricDimension = (input, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-auto-scaling-plans",
3
3
  "description": "AWS SDK for JavaScript Auto Scaling Plans 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/auto-scaling-plans.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo auto-scaling-plans"
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",