@aws-sdk/client-wafv2 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.
@@ -3928,8 +3928,8 @@ const serializeAws_json1_1TextTransformations = (input, context) => {
3928
3928
  };
3929
3929
  const serializeAws_json1_1TimeWindow = (input, context) => {
3930
3930
  return {
3931
- ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
3932
- ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
3931
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
3932
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
3933
3933
  };
3934
3934
  };
3935
3935
  const serializeAws_json1_1TokenDomains = (input, context) => {
@@ -3957,7 +3957,9 @@ const serializeAws_json1_1UpdateIPSetRequest = (input, context) => {
3957
3957
  };
3958
3958
  const serializeAws_json1_1UpdateManagedRuleSetVersionExpiryDateRequest = (input, context) => {
3959
3959
  return {
3960
- ...(input.ExpiryTimestamp != null && { ExpiryTimestamp: Math.round(input.ExpiryTimestamp.getTime() / 1000) }),
3960
+ ...(input.ExpiryTimestamp != null && {
3961
+ ExpiryTimestamp: Math.round(input.ExpiryTimestamp.getTime() / 1000).toString(),
3962
+ }),
3961
3963
  ...(input.Id != null && { Id: input.Id }),
3962
3964
  ...(input.LockToken != null && { LockToken: input.LockToken }),
3963
3965
  ...(input.Name != null && { Name: input.Name }),
@@ -3828,8 +3828,8 @@ const serializeAws_json1_1TextTransformations = (input, context) => {
3828
3828
  };
3829
3829
  const serializeAws_json1_1TimeWindow = (input, context) => {
3830
3830
  return {
3831
- ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
3832
- ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
3831
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
3832
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
3833
3833
  };
3834
3834
  };
3835
3835
  const serializeAws_json1_1TokenDomains = (input, context) => {
@@ -3857,7 +3857,9 @@ const serializeAws_json1_1UpdateIPSetRequest = (input, context) => {
3857
3857
  };
3858
3858
  const serializeAws_json1_1UpdateManagedRuleSetVersionExpiryDateRequest = (input, context) => {
3859
3859
  return {
3860
- ...(input.ExpiryTimestamp != null && { ExpiryTimestamp: Math.round(input.ExpiryTimestamp.getTime() / 1000) }),
3860
+ ...(input.ExpiryTimestamp != null && {
3861
+ ExpiryTimestamp: Math.round(input.ExpiryTimestamp.getTime() / 1000).toString(),
3862
+ }),
3861
3863
  ...(input.Id != null && { Id: input.Id }),
3862
3864
  ...(input.LockToken != null && { LockToken: input.LockToken }),
3863
3865
  ...(input.Name != null && { Name: input.Name }),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-wafv2",
3
3
  "description": "AWS SDK for JavaScript Wafv2 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/wafv2.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo wafv2"
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",