@aws-sdk/client-sagemaker-metrics 3.1137.0 → 3.1138.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
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1137.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -179,7 +179,7 @@ const _XAV = "XAxisValues";
|
|
|
179
179
|
const _h = "http";
|
|
180
180
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakermetrics";
|
|
181
181
|
const n0 = "com.amazonaws.sagemakermetrics";
|
|
182
|
-
const _s_registry = TypeRegistry
|
|
182
|
+
const _s_registry = new TypeRegistry(_s);
|
|
183
183
|
var SageMakerMetricsServiceException$ = [-3, _s, "SageMakerMetricsServiceException", 0, [], []];
|
|
184
184
|
_s_registry.registerError(SageMakerMetricsServiceException$, SageMakerMetricsServiceException);
|
|
185
185
|
const errorTypeRegistries = [
|
|
@@ -38,7 +38,7 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakermetrics";
|
|
|
38
38
|
const n0 = "com.amazonaws.sagemakermetrics";
|
|
39
39
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
40
40
|
import { SageMakerMetricsServiceException } from "../models/SageMakerMetricsServiceException";
|
|
41
|
-
const _s_registry = TypeRegistry
|
|
41
|
+
const _s_registry = new TypeRegistry(_s);
|
|
42
42
|
export var SageMakerMetricsServiceException$ = [-3, _s, "SageMakerMetricsServiceException", 0, [], []];
|
|
43
43
|
_s_registry.registerError(SageMakerMetricsServiceException$, SageMakerMetricsServiceException);
|
|
44
44
|
export const errorTypeRegistries = [
|
|
@@ -1,20 +1,26 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
|
|
2
2
|
import { type BatchGetMetricsCommandInput, type BatchGetMetricsCommandOutput } from "./commands/BatchGetMetricsCommand";
|
|
3
3
|
import { type BatchPutMetricsCommandInput, type BatchPutMetricsCommandOutput } from "./commands/BatchPutMetricsCommand";
|
|
4
4
|
import { SageMakerMetricsClient } from "./SageMakerMetricsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface SageMakerMetricsRequestOptions extends __HttpHandlerOptions {
|
|
9
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
10
|
+
}
|
|
5
11
|
export interface SageMakerMetrics {
|
|
6
12
|
/**
|
|
7
13
|
* @see {@link BatchGetMetricsCommand}
|
|
8
14
|
*/
|
|
9
|
-
batchGetMetrics(args: BatchGetMetricsCommandInput, options?:
|
|
15
|
+
batchGetMetrics(args: BatchGetMetricsCommandInput, options?: SageMakerMetricsRequestOptions): Promise<BatchGetMetricsCommandOutput>;
|
|
10
16
|
batchGetMetrics(args: BatchGetMetricsCommandInput, cb: (err: any, data?: BatchGetMetricsCommandOutput) => void): void;
|
|
11
|
-
batchGetMetrics(args: BatchGetMetricsCommandInput, options:
|
|
17
|
+
batchGetMetrics(args: BatchGetMetricsCommandInput, options: SageMakerMetricsRequestOptions, cb: (err: any, data?: BatchGetMetricsCommandOutput) => void): void;
|
|
12
18
|
/**
|
|
13
19
|
* @see {@link BatchPutMetricsCommand}
|
|
14
20
|
*/
|
|
15
|
-
batchPutMetrics(args: BatchPutMetricsCommandInput, options?:
|
|
21
|
+
batchPutMetrics(args: BatchPutMetricsCommandInput, options?: SageMakerMetricsRequestOptions): Promise<BatchPutMetricsCommandOutput>;
|
|
16
22
|
batchPutMetrics(args: BatchPutMetricsCommandInput, cb: (err: any, data?: BatchPutMetricsCommandOutput) => void): void;
|
|
17
|
-
batchPutMetrics(args: BatchPutMetricsCommandInput, options:
|
|
23
|
+
batchPutMetrics(args: BatchPutMetricsCommandInput, options: SageMakerMetricsRequestOptions, cb: (err: any, data?: BatchPutMetricsCommandOutput) => void): void;
|
|
18
24
|
}
|
|
19
25
|
/**
|
|
20
26
|
* <p>Contains all data plane API operations and data types for Amazon SageMaker Metrics.
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import {
|
|
3
6
|
BatchGetMetricsCommandInput,
|
|
4
7
|
BatchGetMetricsCommandOutput,
|
|
@@ -8,10 +11,13 @@ import {
|
|
|
8
11
|
BatchPutMetricsCommandOutput,
|
|
9
12
|
} from "./commands/BatchPutMetricsCommand";
|
|
10
13
|
import { SageMakerMetricsClient } from "./SageMakerMetricsClient";
|
|
14
|
+
export interface SageMakerMetricsRequestOptions extends __HttpHandlerOptions {
|
|
15
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
16
|
+
}
|
|
11
17
|
export interface SageMakerMetrics {
|
|
12
18
|
batchGetMetrics(
|
|
13
19
|
args: BatchGetMetricsCommandInput,
|
|
14
|
-
options?:
|
|
20
|
+
options?: SageMakerMetricsRequestOptions,
|
|
15
21
|
): Promise<BatchGetMetricsCommandOutput>;
|
|
16
22
|
batchGetMetrics(
|
|
17
23
|
args: BatchGetMetricsCommandInput,
|
|
@@ -19,12 +25,12 @@ export interface SageMakerMetrics {
|
|
|
19
25
|
): void;
|
|
20
26
|
batchGetMetrics(
|
|
21
27
|
args: BatchGetMetricsCommandInput,
|
|
22
|
-
options:
|
|
28
|
+
options: SageMakerMetricsRequestOptions,
|
|
23
29
|
cb: (err: any, data?: BatchGetMetricsCommandOutput) => void,
|
|
24
30
|
): void;
|
|
25
31
|
batchPutMetrics(
|
|
26
32
|
args: BatchPutMetricsCommandInput,
|
|
27
|
-
options?:
|
|
33
|
+
options?: SageMakerMetricsRequestOptions,
|
|
28
34
|
): Promise<BatchPutMetricsCommandOutput>;
|
|
29
35
|
batchPutMetrics(
|
|
30
36
|
args: BatchPutMetricsCommandInput,
|
|
@@ -32,7 +38,7 @@ export interface SageMakerMetrics {
|
|
|
32
38
|
): void;
|
|
33
39
|
batchPutMetrics(
|
|
34
40
|
args: BatchPutMetricsCommandInput,
|
|
35
|
-
options:
|
|
41
|
+
options: SageMakerMetricsRequestOptions,
|
|
36
42
|
cb: (err: any, data?: BatchPutMetricsCommandOutput) => void,
|
|
37
43
|
): void;
|
|
38
44
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-metrics",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Sagemaker Metrics Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sagemaker-metrics",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|