@aws-sdk/client-ssm-incidents 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.
|
@@ -76,7 +76,7 @@ const serializeAws_restJson1CreateTimelineEventCommand = async (input, context)
|
|
|
76
76
|
...(input.eventReferences != null && {
|
|
77
77
|
eventReferences: serializeAws_restJson1EventReferenceList(input.eventReferences, context),
|
|
78
78
|
}),
|
|
79
|
-
...(input.eventTime != null && { eventTime: Math.round(input.eventTime.getTime() / 1000) }),
|
|
79
|
+
...(input.eventTime != null && { eventTime: Math.round(input.eventTime.getTime() / 1000).toString() }),
|
|
80
80
|
...(input.eventType != null && { eventType: input.eventType }),
|
|
81
81
|
...(input.incidentRecordArn != null && { incidentRecordArn: input.incidentRecordArn }),
|
|
82
82
|
});
|
|
@@ -691,7 +691,7 @@ const serializeAws_restJson1UpdateTimelineEventCommand = async (input, context)
|
|
|
691
691
|
...(input.eventReferences != null && {
|
|
692
692
|
eventReferences: serializeAws_restJson1EventReferenceList(input.eventReferences, context),
|
|
693
693
|
}),
|
|
694
|
-
...(input.eventTime != null && { eventTime: Math.round(input.eventTime.getTime() / 1000) }),
|
|
694
|
+
...(input.eventTime != null && { eventTime: Math.round(input.eventTime.getTime() / 1000).toString() }),
|
|
695
695
|
...(input.eventType != null && { eventType: input.eventType }),
|
|
696
696
|
...(input.incidentRecordArn != null && { incidentRecordArn: input.incidentRecordArn }),
|
|
697
697
|
});
|
|
@@ -2215,8 +2215,8 @@ const serializeAws_restJson1ChatChannel = (input, context) => {
|
|
|
2215
2215
|
};
|
|
2216
2216
|
const serializeAws_restJson1Condition = (input, context) => {
|
|
2217
2217
|
return models_0_1.Condition.visit(input, {
|
|
2218
|
-
after: (value) => ({ after: Math.round(value.getTime() / 1000) }),
|
|
2219
|
-
before: (value) => ({ before: Math.round(value.getTime() / 1000) }),
|
|
2218
|
+
after: (value) => ({ after: Math.round(value.getTime() / 1000).toString() }),
|
|
2219
|
+
before: (value) => ({ before: Math.round(value.getTime() / 1000).toString() }),
|
|
2220
2220
|
equals: (value) => ({ equals: serializeAws_restJson1AttributeValueList(value, context) }),
|
|
2221
2221
|
_: (name, value) => ({ name: value }),
|
|
2222
2222
|
});
|
|
@@ -2455,7 +2455,7 @@ const serializeAws_restJson1TriggerDetails = (input, context) => {
|
|
|
2455
2455
|
return {
|
|
2456
2456
|
...(input.rawData != null && { rawData: input.rawData }),
|
|
2457
2457
|
...(input.source != null && { source: input.source }),
|
|
2458
|
-
...(input.timestamp != null && { timestamp: Math.round(input.timestamp.getTime() / 1000) }),
|
|
2458
|
+
...(input.timestamp != null && { timestamp: Math.round(input.timestamp.getTime() / 1000).toString() }),
|
|
2459
2459
|
...(input.triggerArn != null && { triggerArn: input.triggerArn }),
|
|
2460
2460
|
};
|
|
2461
2461
|
};
|
|
@@ -70,7 +70,7 @@ export const serializeAws_restJson1CreateTimelineEventCommand = async (input, co
|
|
|
70
70
|
...(input.eventReferences != null && {
|
|
71
71
|
eventReferences: serializeAws_restJson1EventReferenceList(input.eventReferences, context),
|
|
72
72
|
}),
|
|
73
|
-
...(input.eventTime != null && { eventTime: Math.round(input.eventTime.getTime() / 1000) }),
|
|
73
|
+
...(input.eventTime != null && { eventTime: Math.round(input.eventTime.getTime() / 1000).toString() }),
|
|
74
74
|
...(input.eventType != null && { eventType: input.eventType }),
|
|
75
75
|
...(input.incidentRecordArn != null && { incidentRecordArn: input.incidentRecordArn }),
|
|
76
76
|
});
|
|
@@ -659,7 +659,7 @@ export const serializeAws_restJson1UpdateTimelineEventCommand = async (input, co
|
|
|
659
659
|
...(input.eventReferences != null && {
|
|
660
660
|
eventReferences: serializeAws_restJson1EventReferenceList(input.eventReferences, context),
|
|
661
661
|
}),
|
|
662
|
-
...(input.eventTime != null && { eventTime: Math.round(input.eventTime.getTime() / 1000) }),
|
|
662
|
+
...(input.eventTime != null && { eventTime: Math.round(input.eventTime.getTime() / 1000).toString() }),
|
|
663
663
|
...(input.eventType != null && { eventType: input.eventType }),
|
|
664
664
|
...(input.incidentRecordArn != null && { incidentRecordArn: input.incidentRecordArn }),
|
|
665
665
|
});
|
|
@@ -2153,8 +2153,8 @@ const serializeAws_restJson1ChatChannel = (input, context) => {
|
|
|
2153
2153
|
};
|
|
2154
2154
|
const serializeAws_restJson1Condition = (input, context) => {
|
|
2155
2155
|
return Condition.visit(input, {
|
|
2156
|
-
after: (value) => ({ after: Math.round(value.getTime() / 1000) }),
|
|
2157
|
-
before: (value) => ({ before: Math.round(value.getTime() / 1000) }),
|
|
2156
|
+
after: (value) => ({ after: Math.round(value.getTime() / 1000).toString() }),
|
|
2157
|
+
before: (value) => ({ before: Math.round(value.getTime() / 1000).toString() }),
|
|
2158
2158
|
equals: (value) => ({ equals: serializeAws_restJson1AttributeValueList(value, context) }),
|
|
2159
2159
|
_: (name, value) => ({ name: value }),
|
|
2160
2160
|
});
|
|
@@ -2393,7 +2393,7 @@ const serializeAws_restJson1TriggerDetails = (input, context) => {
|
|
|
2393
2393
|
return {
|
|
2394
2394
|
...(input.rawData != null && { rawData: input.rawData }),
|
|
2395
2395
|
...(input.source != null && { source: input.source }),
|
|
2396
|
-
...(input.timestamp != null && { timestamp: Math.round(input.timestamp.getTime() / 1000) }),
|
|
2396
|
+
...(input.timestamp != null && { timestamp: Math.round(input.timestamp.getTime() / 1000).toString() }),
|
|
2397
2397
|
...(input.triggerArn != null && { triggerArn: input.triggerArn }),
|
|
2398
2398
|
};
|
|
2399
2399
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ssm-incidents",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ssm Incidents 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,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": "
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo ssm-incidents"
|
|
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.
|
|
23
|
+
"@aws-sdk/client-sts": "3.252.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
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",
|