@aws-sdk/client-sagemaker-metrics 3.758.0 → 3.774.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.
- package/dist-cjs/index.js +10 -10
- package/package.json +7 -7
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
BatchGetMetricsCommand: () => BatchGetMetricsCommand,
|
|
25
25
|
BatchPutMetricsCommand: () => BatchPutMetricsCommand,
|
|
26
26
|
MetricQueryResultStatus: () => MetricQueryResultStatus,
|
|
@@ -33,7 +33,7 @@ __export(src_exports, {
|
|
|
33
33
|
XAxisType: () => XAxisType,
|
|
34
34
|
__Client: () => import_smithy_client.Client
|
|
35
35
|
});
|
|
36
|
-
module.exports = __toCommonJS(
|
|
36
|
+
module.exports = __toCommonJS(index_exports);
|
|
37
37
|
|
|
38
38
|
// src/SageMakerMetricsClient.ts
|
|
39
39
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -160,9 +160,9 @@ var SageMakerMetricsClient = class extends import_smithy_client.Client {
|
|
|
160
160
|
this.middlewareStack.use(
|
|
161
161
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
162
162
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSageMakerMetricsHttpAuthSchemeParametersProvider,
|
|
163
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
163
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
164
164
|
"aws.auth#sigv4": config.credentials
|
|
165
|
-
})
|
|
165
|
+
}), "identityProviderConfigProvider")
|
|
166
166
|
})
|
|
167
167
|
);
|
|
168
168
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -215,7 +215,7 @@ var se_BatchGetMetricsCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
215
215
|
let body;
|
|
216
216
|
body = JSON.stringify(
|
|
217
217
|
(0, import_smithy_client.take)(input, {
|
|
218
|
-
MetricQueries: (_) => (0, import_smithy_client._json)(_)
|
|
218
|
+
MetricQueries: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "MetricQueries")
|
|
219
219
|
})
|
|
220
220
|
);
|
|
221
221
|
b.m("POST").h(headers).b(body);
|
|
@@ -230,7 +230,7 @@ var se_BatchPutMetricsCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
230
230
|
let body;
|
|
231
231
|
body = JSON.stringify(
|
|
232
232
|
(0, import_smithy_client.take)(input, {
|
|
233
|
-
MetricData: (_) => se_RawMetricDataList(_, context),
|
|
233
|
+
MetricData: /* @__PURE__ */ __name((_) => se_RawMetricDataList(_, context), "MetricData"),
|
|
234
234
|
TrialComponentName: []
|
|
235
235
|
})
|
|
236
236
|
);
|
|
@@ -246,7 +246,7 @@ var de_BatchGetMetricsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
246
246
|
});
|
|
247
247
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
248
248
|
const doc = (0, import_smithy_client.take)(data, {
|
|
249
|
-
MetricQueryResults: (_) => de_MetricQueryResultList(_, context)
|
|
249
|
+
MetricQueryResults: /* @__PURE__ */ __name((_) => de_MetricQueryResultList(_, context), "MetricQueryResults")
|
|
250
250
|
});
|
|
251
251
|
Object.assign(contents, doc);
|
|
252
252
|
return contents;
|
|
@@ -283,7 +283,7 @@ var se_RawMetricData = /* @__PURE__ */ __name((input, context) => {
|
|
|
283
283
|
return (0, import_smithy_client.take)(input, {
|
|
284
284
|
MetricName: [],
|
|
285
285
|
Step: [],
|
|
286
|
-
Timestamp: (_) => _.getTime() / 1e3,
|
|
286
|
+
Timestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "Timestamp"),
|
|
287
287
|
Value: import_smithy_client.serializeFloat
|
|
288
288
|
});
|
|
289
289
|
}, "se_RawMetricData");
|
|
@@ -295,7 +295,7 @@ var se_RawMetricDataList = /* @__PURE__ */ __name((input, context) => {
|
|
|
295
295
|
var de_MetricQueryResult = /* @__PURE__ */ __name((output, context) => {
|
|
296
296
|
return (0, import_smithy_client.take)(output, {
|
|
297
297
|
Message: import_smithy_client.expectString,
|
|
298
|
-
MetricValues: (_) => de_MetricValues(_, context),
|
|
298
|
+
MetricValues: /* @__PURE__ */ __name((_) => de_MetricValues(_, context), "MetricValues"),
|
|
299
299
|
Status: import_smithy_client.expectString,
|
|
300
300
|
XAxisValues: import_smithy_client._json
|
|
301
301
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-metrics",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemaker Metrics Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.774.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sagemaker-metrics",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
23
|
+
"@aws-sdk/core": "3.774.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.774.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.774.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.774.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.774.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
35
|
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|