@aws-sdk/client-health 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.
@@ -614,8 +614,8 @@ const serializeAws_json1_1awsAccountIdsList = (input, context) => {
614
614
  };
615
615
  const serializeAws_json1_1DateTimeRange = (input, context) => {
616
616
  return {
617
- ...(input.from != null && { from: Math.round(input.from.getTime() / 1000) }),
618
- ...(input.to != null && { to: Math.round(input.to.getTime() / 1000) }),
617
+ ...(input.from != null && { from: Math.round(input.from.getTime() / 1000).toString() }),
618
+ ...(input.to != null && { to: Math.round(input.to.getTime() / 1000).toString() }),
619
619
  };
620
620
  };
621
621
  const serializeAws_json1_1dateTimeRangeList = (input, context) => {
@@ -585,8 +585,8 @@ const serializeAws_json1_1awsAccountIdsList = (input, context) => {
585
585
  };
586
586
  const serializeAws_json1_1DateTimeRange = (input, context) => {
587
587
  return {
588
- ...(input.from != null && { from: Math.round(input.from.getTime() / 1000) }),
589
- ...(input.to != null && { to: Math.round(input.to.getTime() / 1000) }),
588
+ ...(input.from != null && { from: Math.round(input.from.getTime() / 1000).toString() }),
589
+ ...(input.to != null && { to: Math.round(input.to.getTime() / 1000).toString() }),
590
590
  };
591
591
  };
592
592
  const serializeAws_json1_1dateTimeRangeList = (input, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-health",
3
3
  "description": "AWS SDK for JavaScript Health 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/health.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo health"
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",