@aws-sdk/client-eventbridge 3.245.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.
|
@@ -3478,7 +3478,7 @@ const serializeAws_json1_1PutEventsRequestEntry = (input, context) => {
|
|
|
3478
3478
|
...(input.EventBusName != null && { EventBusName: input.EventBusName }),
|
|
3479
3479
|
...(input.Resources != null && { Resources: serializeAws_json1_1EventResourceList(input.Resources, context) }),
|
|
3480
3480
|
...(input.Source != null && { Source: input.Source }),
|
|
3481
|
-
...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000) }),
|
|
3481
|
+
...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000).toString() }),
|
|
3482
3482
|
...(input.TraceHeader != null && { TraceHeader: input.TraceHeader }),
|
|
3483
3483
|
};
|
|
3484
3484
|
};
|
|
@@ -3502,7 +3502,7 @@ const serializeAws_json1_1PutPartnerEventsRequestEntry = (input, context) => {
|
|
|
3502
3502
|
...(input.DetailType != null && { DetailType: input.DetailType }),
|
|
3503
3503
|
...(input.Resources != null && { Resources: serializeAws_json1_1EventResourceList(input.Resources, context) }),
|
|
3504
3504
|
...(input.Source != null && { Source: input.Source }),
|
|
3505
|
-
...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000) }),
|
|
3505
|
+
...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000).toString() }),
|
|
3506
3506
|
};
|
|
3507
3507
|
};
|
|
3508
3508
|
const serializeAws_json1_1PutPartnerEventsRequestEntryList = (input, context) => {
|
|
@@ -3671,9 +3671,11 @@ const serializeAws_json1_1StartReplayRequest = (input, context) => {
|
|
|
3671
3671
|
...(input.Destination != null && {
|
|
3672
3672
|
Destination: serializeAws_json1_1ReplayDestination(input.Destination, context),
|
|
3673
3673
|
}),
|
|
3674
|
-
...(input.EventEndTime != null && { EventEndTime: Math.round(input.EventEndTime.getTime() / 1000) }),
|
|
3674
|
+
...(input.EventEndTime != null && { EventEndTime: Math.round(input.EventEndTime.getTime() / 1000).toString() }),
|
|
3675
3675
|
...(input.EventSourceArn != null && { EventSourceArn: input.EventSourceArn }),
|
|
3676
|
-
...(input.EventStartTime != null && {
|
|
3676
|
+
...(input.EventStartTime != null && {
|
|
3677
|
+
EventStartTime: Math.round(input.EventStartTime.getTime() / 1000).toString(),
|
|
3678
|
+
}),
|
|
3677
3679
|
...(input.ReplayName != null && { ReplayName: input.ReplayName }),
|
|
3678
3680
|
};
|
|
3679
3681
|
};
|
|
@@ -3361,7 +3361,7 @@ const serializeAws_json1_1PutEventsRequestEntry = (input, context) => {
|
|
|
3361
3361
|
...(input.EventBusName != null && { EventBusName: input.EventBusName }),
|
|
3362
3362
|
...(input.Resources != null && { Resources: serializeAws_json1_1EventResourceList(input.Resources, context) }),
|
|
3363
3363
|
...(input.Source != null && { Source: input.Source }),
|
|
3364
|
-
...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000) }),
|
|
3364
|
+
...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000).toString() }),
|
|
3365
3365
|
...(input.TraceHeader != null && { TraceHeader: input.TraceHeader }),
|
|
3366
3366
|
};
|
|
3367
3367
|
};
|
|
@@ -3385,7 +3385,7 @@ const serializeAws_json1_1PutPartnerEventsRequestEntry = (input, context) => {
|
|
|
3385
3385
|
...(input.DetailType != null && { DetailType: input.DetailType }),
|
|
3386
3386
|
...(input.Resources != null && { Resources: serializeAws_json1_1EventResourceList(input.Resources, context) }),
|
|
3387
3387
|
...(input.Source != null && { Source: input.Source }),
|
|
3388
|
-
...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000) }),
|
|
3388
|
+
...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000).toString() }),
|
|
3389
3389
|
};
|
|
3390
3390
|
};
|
|
3391
3391
|
const serializeAws_json1_1PutPartnerEventsRequestEntryList = (input, context) => {
|
|
@@ -3554,9 +3554,11 @@ const serializeAws_json1_1StartReplayRequest = (input, context) => {
|
|
|
3554
3554
|
...(input.Destination != null && {
|
|
3555
3555
|
Destination: serializeAws_json1_1ReplayDestination(input.Destination, context),
|
|
3556
3556
|
}),
|
|
3557
|
-
...(input.EventEndTime != null && { EventEndTime: Math.round(input.EventEndTime.getTime() / 1000) }),
|
|
3557
|
+
...(input.EventEndTime != null && { EventEndTime: Math.round(input.EventEndTime.getTime() / 1000).toString() }),
|
|
3558
3558
|
...(input.EventSourceArn != null && { EventSourceArn: input.EventSourceArn }),
|
|
3559
|
-
...(input.EventStartTime != null && {
|
|
3559
|
+
...(input.EventStartTime != null && {
|
|
3560
|
+
EventStartTime: Math.round(input.EventStartTime.getTime() / 1000).toString(),
|
|
3561
|
+
}),
|
|
3560
3562
|
...(input.ReplayName != null && { ReplayName: input.ReplayName }),
|
|
3561
3563
|
};
|
|
3562
3564
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-eventbridge",
|
|
3
3
|
"description": "AWS SDK for JavaScript Eventbridge Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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,9 +11,9 @@
|
|
|
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": "node ../../scripts/generate-clients/single-service --solo eventbridge",
|
|
14
15
|
"test": "yarn test:unit",
|
|
15
|
-
"test:unit": "ts-mocha test/**/*.spec.ts"
|
|
16
|
-
"generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/eventbridge.json --keepFiles)"
|
|
16
|
+
"test:unit": "ts-mocha test/**/*.spec.ts"
|
|
17
17
|
},
|
|
18
18
|
"main": "./dist-cjs/index.js",
|
|
19
19
|
"types": "./dist-types/index.d.ts",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
25
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
+
"@aws-sdk/client-sts": "3.252.0",
|
|
26
26
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.252.0",
|
|
28
28
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
29
29
|
"@aws-sdk/hash-node": "3.226.0",
|
|
30
30
|
"@aws-sdk/invalid-dependency": "3.226.0",
|