@aws-sdk/client-sagemaker-edge 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.
|
@@ -213,13 +213,15 @@ const serializeAws_restJson1DeploymentModels = (input, context) => {
|
|
|
213
213
|
};
|
|
214
214
|
const serializeAws_restJson1DeploymentResult = (input, context) => {
|
|
215
215
|
return {
|
|
216
|
-
...(input.DeploymentEndTime != null && {
|
|
216
|
+
...(input.DeploymentEndTime != null && {
|
|
217
|
+
DeploymentEndTime: Math.round(input.DeploymentEndTime.getTime() / 1000).toString(),
|
|
218
|
+
}),
|
|
217
219
|
...(input.DeploymentModels != null && {
|
|
218
220
|
DeploymentModels: serializeAws_restJson1DeploymentModels(input.DeploymentModels, context),
|
|
219
221
|
}),
|
|
220
222
|
...(input.DeploymentName != null && { DeploymentName: input.DeploymentName }),
|
|
221
223
|
...(input.DeploymentStartTime != null && {
|
|
222
|
-
DeploymentStartTime: Math.round(input.DeploymentStartTime.getTime() / 1000),
|
|
224
|
+
DeploymentStartTime: Math.round(input.DeploymentStartTime.getTime() / 1000).toString(),
|
|
223
225
|
}),
|
|
224
226
|
...(input.DeploymentStatus != null && { DeploymentStatus: input.DeploymentStatus }),
|
|
225
227
|
...(input.DeploymentStatusMessage != null && { DeploymentStatusMessage: input.DeploymentStatusMessage }),
|
|
@@ -229,7 +231,7 @@ const serializeAws_restJson1EdgeMetric = (input, context) => {
|
|
|
229
231
|
return {
|
|
230
232
|
...(input.Dimension != null && { Dimension: input.Dimension }),
|
|
231
233
|
...(input.MetricName != null && { MetricName: input.MetricName }),
|
|
232
|
-
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
|
|
234
|
+
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000).toString() }),
|
|
233
235
|
...(input.Value != null && { Value: (0, smithy_client_1.serializeFloat)(input.Value) }),
|
|
234
236
|
};
|
|
235
237
|
};
|
|
@@ -242,8 +244,12 @@ const serializeAws_restJson1EdgeMetrics = (input, context) => {
|
|
|
242
244
|
};
|
|
243
245
|
const serializeAws_restJson1Model = (input, context) => {
|
|
244
246
|
return {
|
|
245
|
-
...(input.LatestInference != null && {
|
|
246
|
-
|
|
247
|
+
...(input.LatestInference != null && {
|
|
248
|
+
LatestInference: Math.round(input.LatestInference.getTime() / 1000).toString(),
|
|
249
|
+
}),
|
|
250
|
+
...(input.LatestSampleTime != null && {
|
|
251
|
+
LatestSampleTime: Math.round(input.LatestSampleTime.getTime() / 1000).toString(),
|
|
252
|
+
}),
|
|
247
253
|
...(input.ModelMetrics != null && { ModelMetrics: serializeAws_restJson1EdgeMetrics(input.ModelMetrics, context) }),
|
|
248
254
|
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
249
255
|
...(input.ModelVersion != null && { ModelVersion: input.ModelVersion }),
|
|
@@ -204,13 +204,15 @@ const serializeAws_restJson1DeploymentModels = (input, context) => {
|
|
|
204
204
|
};
|
|
205
205
|
const serializeAws_restJson1DeploymentResult = (input, context) => {
|
|
206
206
|
return {
|
|
207
|
-
...(input.DeploymentEndTime != null && {
|
|
207
|
+
...(input.DeploymentEndTime != null && {
|
|
208
|
+
DeploymentEndTime: Math.round(input.DeploymentEndTime.getTime() / 1000).toString(),
|
|
209
|
+
}),
|
|
208
210
|
...(input.DeploymentModels != null && {
|
|
209
211
|
DeploymentModels: serializeAws_restJson1DeploymentModels(input.DeploymentModels, context),
|
|
210
212
|
}),
|
|
211
213
|
...(input.DeploymentName != null && { DeploymentName: input.DeploymentName }),
|
|
212
214
|
...(input.DeploymentStartTime != null && {
|
|
213
|
-
DeploymentStartTime: Math.round(input.DeploymentStartTime.getTime() / 1000),
|
|
215
|
+
DeploymentStartTime: Math.round(input.DeploymentStartTime.getTime() / 1000).toString(),
|
|
214
216
|
}),
|
|
215
217
|
...(input.DeploymentStatus != null && { DeploymentStatus: input.DeploymentStatus }),
|
|
216
218
|
...(input.DeploymentStatusMessage != null && { DeploymentStatusMessage: input.DeploymentStatusMessage }),
|
|
@@ -220,7 +222,7 @@ const serializeAws_restJson1EdgeMetric = (input, context) => {
|
|
|
220
222
|
return {
|
|
221
223
|
...(input.Dimension != null && { Dimension: input.Dimension }),
|
|
222
224
|
...(input.MetricName != null && { MetricName: input.MetricName }),
|
|
223
|
-
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
|
|
225
|
+
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000).toString() }),
|
|
224
226
|
...(input.Value != null && { Value: __serializeFloat(input.Value) }),
|
|
225
227
|
};
|
|
226
228
|
};
|
|
@@ -233,8 +235,12 @@ const serializeAws_restJson1EdgeMetrics = (input, context) => {
|
|
|
233
235
|
};
|
|
234
236
|
const serializeAws_restJson1Model = (input, context) => {
|
|
235
237
|
return {
|
|
236
|
-
...(input.LatestInference != null && {
|
|
237
|
-
|
|
238
|
+
...(input.LatestInference != null && {
|
|
239
|
+
LatestInference: Math.round(input.LatestInference.getTime() / 1000).toString(),
|
|
240
|
+
}),
|
|
241
|
+
...(input.LatestSampleTime != null && {
|
|
242
|
+
LatestSampleTime: Math.round(input.LatestSampleTime.getTime() / 1000).toString(),
|
|
243
|
+
}),
|
|
238
244
|
...(input.ModelMetrics != null && { ModelMetrics: serializeAws_restJson1EdgeMetrics(input.ModelMetrics, context) }),
|
|
239
245
|
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
240
246
|
...(input.ModelVersion != null && { ModelVersion: input.ModelVersion }),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-edge",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemaker Edge 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 sagemaker-edge"
|
|
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",
|
|
@@ -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.
|
|
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",
|