@aws-sdk/client-sagemaker-metrics 3.474.0 → 3.477.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/protocols/Aws_restJson1.js +5 -12
- package/dist-es/protocols/Aws_restJson1.js +5 -12
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/package.json +5 -4
|
@@ -1,29 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_BatchPutMetricsCommand = exports.se_BatchPutMetricsCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const SageMakerMetricsServiceException_1 = require("../models/SageMakerMetricsServiceException");
|
|
7
7
|
const se_BatchPutMetricsCommand = async (input, context) => {
|
|
8
|
-
const
|
|
8
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
9
9
|
const headers = {
|
|
10
10
|
"content-type": "application/json",
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
b.bp("/BatchPutMetrics");
|
|
13
13
|
let body;
|
|
14
14
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
15
15
|
MetricData: (_) => se_RawMetricDataList(_, context),
|
|
16
16
|
TrialComponentName: [],
|
|
17
17
|
}));
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
hostname,
|
|
21
|
-
port,
|
|
22
|
-
method: "PUT",
|
|
23
|
-
headers,
|
|
24
|
-
path: resolvedPath,
|
|
25
|
-
body,
|
|
26
|
-
});
|
|
18
|
+
b.m("PUT").h(headers).b(body);
|
|
19
|
+
return b.build();
|
|
27
20
|
};
|
|
28
21
|
exports.se_BatchPutMetricsCommand = se_BatchPutMetricsCommand;
|
|
29
22
|
const de_BatchPutMetricsCommand = async (output, context) => {
|
|
@@ -1,26 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { requestBuilder as rb } from "@smithy/core";
|
|
2
2
|
import { _json, collectBody, expectNonNull as __expectNonNull, expectObject as __expectObject, map, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { SageMakerMetricsServiceException as __BaseException } from "../models/SageMakerMetricsServiceException";
|
|
4
4
|
export const se_BatchPutMetricsCommand = async (input, context) => {
|
|
5
|
-
const
|
|
5
|
+
const b = rb(input, context);
|
|
6
6
|
const headers = {
|
|
7
7
|
"content-type": "application/json",
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
b.bp("/BatchPutMetrics");
|
|
10
10
|
let body;
|
|
11
11
|
body = JSON.stringify(take(input, {
|
|
12
12
|
MetricData: (_) => se_RawMetricDataList(_, context),
|
|
13
13
|
TrialComponentName: [],
|
|
14
14
|
}));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
hostname,
|
|
18
|
-
port,
|
|
19
|
-
method: "PUT",
|
|
20
|
-
headers,
|
|
21
|
-
path: resolvedPath,
|
|
22
|
-
body,
|
|
23
|
-
});
|
|
15
|
+
b.m("PUT").h(headers).b(body);
|
|
16
|
+
return b.build();
|
|
24
17
|
};
|
|
25
18
|
export const de_BatchPutMetricsCommand = async (output, context) => {
|
|
26
19
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -30,7 +30,7 @@ export declare const getRuntimeConfig: (config: SageMakerMetricsClientConfig) =>
|
|
|
30
30
|
serviceId: string;
|
|
31
31
|
logger: import("@smithy/types").Logger;
|
|
32
32
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
33
|
-
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").
|
|
33
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
34
34
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
35
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
36
36
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -30,7 +30,7 @@ export declare const getRuntimeConfig: (config: SageMakerMetricsClientConfig) =>
|
|
|
30
30
|
serviceId: string;
|
|
31
31
|
logger: import("@smithy/types").Logger;
|
|
32
32
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
33
|
-
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").
|
|
33
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
34
34
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
35
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
36
36
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -56,9 +56,9 @@ export declare const getRuntimeConfig: (
|
|
|
56
56
|
) &
|
|
57
57
|
(
|
|
58
58
|
| string
|
|
59
|
+
| import("@smithy/types").Provider<string>
|
|
59
60
|
| import("@smithy/types").Endpoint
|
|
60
61
|
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
61
|
-
| import("@smithy/types").Provider<string>
|
|
62
62
|
| import("@smithy/types").EndpointV2
|
|
63
63
|
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
64
64
|
))
|
|
@@ -56,9 +56,9 @@ export declare const getRuntimeConfig: (
|
|
|
56
56
|
) &
|
|
57
57
|
(
|
|
58
58
|
| string
|
|
59
|
+
| import("@smithy/types").Provider<string>
|
|
59
60
|
| import("@smithy/types").Endpoint
|
|
60
61
|
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
61
|
-
| import("@smithy/types").Provider<string>
|
|
62
62
|
| import("@smithy/types").EndpointV2
|
|
63
63
|
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
64
64
|
))
|
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.477.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",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.477.0",
|
|
24
|
+
"@aws-sdk/core": "3.477.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.477.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|
|
37
|
+
"@smithy/core": "^1.2.0",
|
|
37
38
|
"@smithy/fetch-http-handler": "^2.3.1",
|
|
38
39
|
"@smithy/hash-node": "^2.0.17",
|
|
39
40
|
"@smithy/invalid-dependency": "^2.0.15",
|