@aws-sdk/client-cloudwatch-events 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.
@@ -3178,7 +3178,7 @@ const serializeAws_json1_1PutEventsRequestEntry = (input, context) => {
3178
3178
  ...(input.EventBusName != null && { EventBusName: input.EventBusName }),
3179
3179
  ...(input.Resources != null && { Resources: serializeAws_json1_1EventResourceList(input.Resources, context) }),
3180
3180
  ...(input.Source != null && { Source: input.Source }),
3181
- ...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000) }),
3181
+ ...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000).toString() }),
3182
3182
  ...(input.TraceHeader != null && { TraceHeader: input.TraceHeader }),
3183
3183
  };
3184
3184
  };
@@ -3202,7 +3202,7 @@ const serializeAws_json1_1PutPartnerEventsRequestEntry = (input, context) => {
3202
3202
  ...(input.DetailType != null && { DetailType: input.DetailType }),
3203
3203
  ...(input.Resources != null && { Resources: serializeAws_json1_1EventResourceList(input.Resources, context) }),
3204
3204
  ...(input.Source != null && { Source: input.Source }),
3205
- ...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000) }),
3205
+ ...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000).toString() }),
3206
3206
  };
3207
3207
  };
3208
3208
  const serializeAws_json1_1PutPartnerEventsRequestEntryList = (input, context) => {
@@ -3354,9 +3354,11 @@ const serializeAws_json1_1StartReplayRequest = (input, context) => {
3354
3354
  ...(input.Destination != null && {
3355
3355
  Destination: serializeAws_json1_1ReplayDestination(input.Destination, context),
3356
3356
  }),
3357
- ...(input.EventEndTime != null && { EventEndTime: Math.round(input.EventEndTime.getTime() / 1000) }),
3357
+ ...(input.EventEndTime != null && { EventEndTime: Math.round(input.EventEndTime.getTime() / 1000).toString() }),
3358
3358
  ...(input.EventSourceArn != null && { EventSourceArn: input.EventSourceArn }),
3359
- ...(input.EventStartTime != null && { EventStartTime: Math.round(input.EventStartTime.getTime() / 1000) }),
3359
+ ...(input.EventStartTime != null && {
3360
+ EventStartTime: Math.round(input.EventStartTime.getTime() / 1000).toString(),
3361
+ }),
3360
3362
  ...(input.ReplayName != null && { ReplayName: input.ReplayName }),
3361
3363
  };
3362
3364
  };
@@ -3071,7 +3071,7 @@ const serializeAws_json1_1PutEventsRequestEntry = (input, context) => {
3071
3071
  ...(input.EventBusName != null && { EventBusName: input.EventBusName }),
3072
3072
  ...(input.Resources != null && { Resources: serializeAws_json1_1EventResourceList(input.Resources, context) }),
3073
3073
  ...(input.Source != null && { Source: input.Source }),
3074
- ...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000) }),
3074
+ ...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000).toString() }),
3075
3075
  ...(input.TraceHeader != null && { TraceHeader: input.TraceHeader }),
3076
3076
  };
3077
3077
  };
@@ -3095,7 +3095,7 @@ const serializeAws_json1_1PutPartnerEventsRequestEntry = (input, context) => {
3095
3095
  ...(input.DetailType != null && { DetailType: input.DetailType }),
3096
3096
  ...(input.Resources != null && { Resources: serializeAws_json1_1EventResourceList(input.Resources, context) }),
3097
3097
  ...(input.Source != null && { Source: input.Source }),
3098
- ...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000) }),
3098
+ ...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000).toString() }),
3099
3099
  };
3100
3100
  };
3101
3101
  const serializeAws_json1_1PutPartnerEventsRequestEntryList = (input, context) => {
@@ -3247,9 +3247,11 @@ const serializeAws_json1_1StartReplayRequest = (input, context) => {
3247
3247
  ...(input.Destination != null && {
3248
3248
  Destination: serializeAws_json1_1ReplayDestination(input.Destination, context),
3249
3249
  }),
3250
- ...(input.EventEndTime != null && { EventEndTime: Math.round(input.EventEndTime.getTime() / 1000) }),
3250
+ ...(input.EventEndTime != null && { EventEndTime: Math.round(input.EventEndTime.getTime() / 1000).toString() }),
3251
3251
  ...(input.EventSourceArn != null && { EventSourceArn: input.EventSourceArn }),
3252
- ...(input.EventStartTime != null && { EventStartTime: Math.round(input.EventStartTime.getTime() / 1000) }),
3252
+ ...(input.EventStartTime != null && {
3253
+ EventStartTime: Math.round(input.EventStartTime.getTime() / 1000).toString(),
3254
+ }),
3253
3255
  ...(input.ReplayName != null && { ReplayName: input.ReplayName }),
3254
3256
  };
3255
3257
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch-events",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Events 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/cloudwatch-events.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo cloudwatch-events"
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",